Home | History | Annotate | Download | only in poppler

Lines Matching refs:Kn

7313 kn0)==-1){a[j]=1;k=-1;i=e;return k|0}do{if((k|0)<128){j=k+1|0;if((k|0)>-1){k=0}else{break}while(1){l=c[h>>2]|0;a[b+12+k|0]=jd[c[(c[l>>2]|0)+20>>2]&511](l)|0;k=k+1|0;if((k|0)<(j|0)){}else{break}}}else{j=257-k|0;h=c[h>>2]|0;h=jd[c[(c[h>>2]|0)+20>>2]&511](h)|0;if((j|0)<=0){break}bX(b+12|0,h&255|0,j|0)|0}}while(0);h=b+12|0;c[f>>2]=h;c[g>>2]=b+12+j}l=d[h]|0;i=e;return l|0}function Lm(a){a=a|0;i=i;return 7}function Mm(a){a=a|0;i=i;return 8}function Nm(a){a=a|0;i=i;return-1}function Om(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+8>>2]&511](a)|0;i=b;return a|0}function Pm(a){a=a|0;i=i;return}function Qm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+36>>2]&511](a)|0;i=b;return a|0}function Rm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;fd[c[(c[a>>2]|0)+40>>2]&511](a);i=b;return}function Sm(a){a=a|0;var b=0;b=i;a=c[a+32>>2]|0;a=jd[c[(c[a>>2]|0)+48>>2]&511](a)|0;i=b;return a|0}function Tm(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0;h=i;j=FW(32)|0;fe(j,d);c[b>>2]=j;a[b+8|0]=e&1;c[b+4>>2]=1;c[b+12>>2]=f;c[b+16>>2]=g;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=1;ad(b+32|0,0)|0;i=h;return}function Um(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=i;h=FW(32)|0;fe(h,d);c[b>>2]=h;a[b+8|0]=e&1;c[b+4>>2]=2;c[b+12>>2]=f;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=1;ad(b+32|0,0)|0;i=g;return}function Vm(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){ke(d);HW(d)}do{if((c[a+4>>2]|0)==0){d=c[a+12>>2]|0;if((d|0)==0){break}Fe(d)}}while(0);d=c[a+20>>2]|0;if((d|0)==0){d=a+32|0;kc(d|0)|0;i=b;return}Fe(d);d=a+32|0;kc(d|0)|0;i=b;return}function Wm(a){a=a|0;var b=0,d=0,e=0,f=0;b=i;d=a+32|0;Ub(d|0)|0;f=a+28|0;e=(c[f>>2]|0)+ -1|0;c[f>>2]=e;Mc(d|0)|0;if((e|0)!=0|(a|0)==0){i=b;return}e=c[a>>2]|0;if((e|0)!=0){ke(e);HW(e)}do{if((c[a+4>>2]|0)==0){e=c[a+12>>2]|0;if((e|0)==0){break}Fe(e)}}while(0);e=c[a+20>>2]|0;if((e|0)!=0){Fe(e)}kc(d|0)|0;HW(a);i=b;return}function Xm(a){a=a|0;var b=0;b=i;bX(a|0,0,16)|0;i=b;return}function Ym(a){a=a|0;var b=0,d=0;b=i;d=c[a>>2]|0;if((d|0)!=0){Wm(d)}d=c[a+4>>2]|0;if((d|0)!=0){Wm(d)}d=c[a+8>>2]|0;if((d|0)!=0){Wm(d)}a=c[a+12>>2]|0;if((a|0)==0){i=b;return}Wm(a);i=b;return}function Zm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;g=i;h=i;i=i+8|0;j=h;s=i;i=i+8|0;t=s;v=i;i=i+8|0;w=v;A=i;i=i+8|0;B=A;C=i;i=i+8|0;D=C;E=i;i=i+8|0;F=i;i=i+8|0;G=F;I=i;i=i+8|0;H=I;J=i;i=i+8|0;K=J;L=i;i=i+8|0;M=L;p=i;i=i+16|0;r=p;o=i;i=i+16|0;n=o;y=i;i=i+16|0;u=y;c[p>>2]=13;l=r+8|0;c[l>>2]=0;c[l+4>>2]=0;c[o>>2]=13;m=n+8|0;c[m>>2]=0;f=m+4|0;c[f>>2]=0;c[y>>2]=13;x=u+8|0;c[x>>2]=0;c[x+4>>2]=0;c[b>>2]=e;q=b+4|0;k=b+8|0;z=b+12|0;b=b+16|0;bX(q|0,0,13)|0;if((c[(_m(d,e,0,r,0)|0)>>2]|0)!=8){Of(r);i=g;return}e=c[p>>2]|0;if((e|0)!=8){c[L>>2]=e;c[M+4>>2]=8;Qe(0,49608,M);tc()}e=c[l>>2]|0;if((c[(Yu(jd[c[(c[e>>2]|0)+72>>2]&511](e)|0,48768,n,0)|0)>>2]|0)!=1){Of(n);Of(r);i=g;return}L=c[o>>2]|0;if((L|0)!=1){c[J>>2]=L;c[K+4>>2]=1;Qe(0,49608,K);tc()}c[q>>2]=c[m>>2];Of(n);if((c[q>>2]|0)<1){Of(r);i=g;return}J=c[p>>2]|0;if((J|0)!=8){c[I>>2]=J;c[H+4>>2]=8;Qe(0,49608,H);tc()}e=c[l>>2]|0;if((c[(Yu(jd[c[(c[e>>2]|0)+72>>2]&511](e)|0,48776,n,0)|0)>>2]|0)!=1){Of(n);Of(r);i=g;return}H=c[o>>2]|0;if((H|0)!=1){c[F>>2]=H;c[G+4>>2]=1;Qe(0,49608,G);tc()}F=c[m>>2]|0;Of(n);if((F|0)<0){Of(r);i=g;return}G=c[q>>2]|0;if((G|0)>1e6){Qe(-1,48784,E);Of(r);i=g;return}E=GW(G>>>0>268435455?-1:G<<4)|0;if((G|0)==0){G=0}else{G=E+(G<<4)|0;H=E;do{c[H>>2]=13;e=H+8|0;c[e>>2]=0;c[e+4>>2]=0;H=H+16|0;}while((H|0)!=(G|0));G=c[q>>2]|0}c[k>>2]=E;c[z>>2]=ye(G,4)|0;E=ye(c[q>>2]|0,4)|0;G=c[p>>2]|0;if((G|0)!=8){c[C>>2]=G;c[D+4>>2]=8;Qe(0,49608,D);tc()}C=c[l>>2]|0;fd[c[(c[C>>2]|0)+12>>2]&511](C);c[m>>2]=0;c[f>>2]=0;c[o>>2]=5;C=FW(40)|0;D=c[p>>2]|0;if((D|0)!=8){c[A>>2]=D;c[B+4>>2]=8;Qe(0,49608,B);tc()}$j(C,c[l>>2]|0,n,1,F);A=FW(56)|0;e=FW(168)|0;bE(e,d,C);aG(A,d,e,0);a:do{if((c[q>>2]|0)>0){B=0;while(1){cG(A,n,0,0,0,0,0)|0;cG(A,u,0,0,0,0,0)|0;if((c[o>>2]|0)!=1){x=31;break}if((c[y>>2]|0)!=1){x=31;break}c[(c[z>>2]|0)+(B<<2)>>2]=c[m>>2];D=c[y>>2]|0;if((D|0)!=1){x=35;break}D=E+(B<<2)|0;c[D>>2]=c[x>>2];Of(n);Of(u);if((c[(c[z>>2]|0)+(B<<2)>>2]|0)<0){x=40;break}D=c[D>>2]|0;if((D|0)<0){x=40;break}if((B|0)>0){if((D|0)<(c[E+(B+ -1<<2)>>2]|0)){x=40;break}}B=B+1|0;if((B|0)>=(c[q>>2]|0)){break a}}if((x|0)==31){Of(n);Of(u);if((A|0)!=0){bG(A);HW(A)}Fe(E);Of(r);i=g;return}else if((x|0)==35){c[v>>2]=D;c[w+4>>2]=1;Qe(0,49608,w);tc()}else if((x|0)==40){if((A|0)!=0){bG(A);HW(A)}Fe(E);Of(r);i=g;return}}}while(0);do{}while((jd[c[(c[C>>2]|0)+20>>2]&511](C)|0)!=-1);if((A|0)!=0){bG(A);HW(A)}b:do{if((F|0)<(c[E>>2]|0)){while(1){u=c[p>>2]|0;if((u|0)!=8){break}e=c[l>>2]|0;jd[c[(c[e>>2]|0)+20>>2]&511](e)|0;F=F+1|0;if((F|0)>=(c[E>>2]|0)){break b}}c[s>>2]=u;c[t+4>>2]=8;Qe(0,49608,t);tc()}}while(0);u=c[q>>2]|0;c:do{if((u|0)>0){s=0;while(1){c[m>>2]=0;c[f>>2]=0;c[o>>2]=5;t=FW(40)|0;v=c[p>>2]|0;if((v|0)!=8){break}v=c[l>>2]|0;if((s|0)==(u+ -1|0)){$j(t,v,n,0,0)}else{$j(t,v,n,1,(c[E+(s+1<<2)>>2]|0)-(c[E+(s<<2)>>2]|0)|0)}u=FW(56)|0;e=FW(168)|0;bE(e,d,t);aG(u,d,e,0);cG(u,(c[k>>2]|0)+(s<<4)|0,0,0,0,0,0)|0;do{}while((jd[c[(c[t>>2]|0)+20>>2]&511](t)|0)!=-1);if((u|0)!=0){bG(u);HW(u)}s=s+1|0;u=c[q>>2]|0;if((s|0)>=(u|0)){break c}}c[h>>2]=v;c[j+4>>2]=8;Qe(0,49608,j);tc()}}while(0);Fe(E);a[b]=1;Of(r);i=g;return}function _m(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;h=i;p=i;i=i+8|0;n=p;D=i;i=i+8|0;E=D;l=i;i=i+8|0;j=l;y=i;i=i+16|0;r=y;u=i;i=i+16|0;s=u;w=i;i=i+16|0;o=w;q=i;i=i+8|0;t=q;B=i;i=i+8|0;z=B;c[l>>2]=d;c[y>>2]=13;A=r+8|0;c[A>>2]=0;C=A+4|0;c[C>>2]=0;c[u>>2]=13;v=s+8|0;c[v>>2]=0;c[v+4>>2]=0;c[w>>2]=13;x=o+8|0;c[x>>2]=0;c[x+4>>2]=0;a:do{if((d|0)>=0){if((c[b+16>>2]|0)<=(d|0)){break}m=(g|0)==0;do{if(!m){F=g+4|0;I=c[F>>2]|0;if((I|0)==0){break}else{G=F}b:while(1){H=I;while(1){if((c[H+16>>2]|0)>=(d|0)){break}H=c[H+4>>2]|0;if((H|0)==0){break b}}I=c[H>>2]|0;if((I|0)==0){G=H;break}else{G=H}}if((G|0)==(F|0)){break}if((c[G+16>>2]|0)<=(d|0)){break a}}}while(0);F=kng=g|0;h=h|0;j=j|0;k=k|0;var l=0,m=0;l=i;a[b+68|0]=1;c[b+88>>2]=d;a[b+108|0]=e&1;e=b+84|0;if((g|0)<17){c[e>>2]=g;if((g|0)>0){g=0;m=4}}else{c[e>>2]=16;g=0;m=4}if((m|0)==4){while(1){a[b+92+g|0]=a[f+g|0]|0;g=g+1|0;if((g|0)<(c[e>>2]|0)){m=4}else{break}}}c[b+76>>2]=h;c[b+72>>2]=j;c[b+80>>2]=k;i=l;return}function kn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=i;f=i;i=i+8|0;k=i;i=i+8|0;q=i;i=i+8|0;r=q;h=i;i=i+16|0;j=h;m=i;i=i+8|0;n=m;g=b+8|0;A=c[g>>2]|0;s=A+(d<<5)|0;if((c[A+(d<<5)+8>>2]|0)!=3){z=g;z=c[z>>2]|0;A=d<<5;A=z+A|0;i=e;return A|0}do{if((a[b+120|0]&1)==0){l=c[b+116>>2]|0;if((l|0)==0){break}if(rn(b,l+(d*20|0)|0,s)|0){z=g;z=c[z>>2]|0;A=d<<5;A=z+A|0;i=e;return A|0}c[q>>2]=d;Qe(-1,49376,r);z=g;z=c[z>>2]|0;A=d<<5;A=z+A|0;i=e;return A|0}}while(0);s=b+112|0;u=c[s>>2]|0;a:do{if((u|0)==0){p=0}else{l=j+4|0;r=j+8|0;q=b+28|0;w=1;t=0;y=0;x=0;b:while(1){if(!w){p=t;break a}v=x-t|0;w=v>>2;if((w|0)!=0){z=0;while(1){A=z+1|0;if((c[t+(z<<2)>>2]|0)==(u|0)){o=12;break b}if(A>>>0<w>>>0){z=A}else{break}}}do{if((x|0)==(y|0)){x=w+1|0;if(x>>>0>1073741823){o=19;break b}if(w>>>0>536870910){z=1073741823;o=22}else{y=v>>1;z=y>>>0<x>>>0?x:y;if((z|0)==0){y=0;z=0}else{o=22}}if((o|0)==22){o=0;y=FW(z<<2)|0}w=y+(w<<2)|0;z=y+(z<<2)|0;if((w|0)!=0){c[w>>2]=u}x=y+(x<<2)|0;$W(y|0,t|0,v|0)|0;if((t|0)==0){v=z;t=y;break}HW(t);v=z;t=y}else{if((x|0)!=0){c[x>>2]=u}v=y;x=x+4|0}}while(0);c[h>>2]=0;c[l>>2]=0;c[r>>2]=0;if(!(cn(b,s,j)|0)){c[s>>2]=0}if((a[q]&1)==0){o=30;break}u=c[h>>2]|0;if((u|0)!=0){w=c[l>>2]|0;if((u|0)!=(w|0)){c[l>>2]=w+(~((w+ -4+(0-u)|0)>>>2)<<2)}HW(u)}u=c[s>>2]|0;if((u|0)==0){p=t;break a}w=(c[(c[g>>2]|0)+(d<<5)+8>>2]|0)==3;y=v}if((o|0)==12){Qe(-1,49416,k);A=bn(b,0)|0;a[q]=A&1;if(A){p=t;break}c[b+32>>2]=3;p=t;break}else if((o|0)==19){wn(0)}else if((o|0)==30){a[m]=0;A=bn(b,n)|0;a[q]=A&1;if(A){h=c[h>>2]|0;if((h|0)==0){p=t;break}j=c[l>>2]|0;if((h|0)!=(j|0)){c[l>>2]=j+(~((j+ -4+(0-h)|0)>>>2)<<2)}HW(h);p=t;break}else{c[b+32>>2]=3;h=c[h>>2]|0;if((h|0)==0){p=t;break}j=c[l>>2]|0;if((h|0)!=(j|0)){c[l>>2]=j+(~((j+ -4+(0-h)|0)>>>2)<<2)}HW(h);p=t;break}}}}while(0);if((c[(c[g>>2]|0)+(d<<5)+8>>2]|0)==3){Qe(-1,49432,f);c[(c[g>>2]|0)+(d<<5)+8>>2]=0}if((p|0)==0){z=g;z=c[z>>2]|0;A=d<<5;A=z+A|0;i=e;return A|0}HW(p);z=g;z=c[z>>2]|0;A=d<<5;A=z+A|0;i=e;return A|0}function ln(a){a=a|0;i=i;return}function mn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,j=0;e=i;f=c[a+60>>2]|0;if((f|0)==0){j=0;i=e;return j|0}g=f+ -1|0;a=c[a+56>>2]|0;h=c[a+(g<<2)>>2]|0;if(h>>>0<b>>>0){j=0;i=e;return j|0}if((f|0)>1){f=-1;do{h=(g+f|0)/2|0;j=(c[a+(h<<2)>>2]|0)>>>0<b>>>0;f=j?h:f;g=j?g:h;}while((g-f|0)>1);h=c[a+(g<<2)>>2]|0}c[d>>2]=h;j=1;i=e;return j|0}function nn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,j=0,k=0;d=i;e=a+16|0;if((c[e>>2]|0)<=0){k=-1;i=d;return k|0}f=kn(a,0)|0;if((c[e>>2]|0)<=1){k=0;i=d;return k|0}h=1;g=c[f>>2]|0;k=0;while(1){j=c[(kn(a,h)|0)>>2]|0;f=j>>>0>=b>>>0|j>>>0<g>>>0;k=f?k:h;h=h+1|0;if((h|0)<(c[e>>2]|0)){g=f?g:j}else{break}}i=d;return k|0}function on(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,j=0,k=0,l=0,m=0,n=0,o=0;h=i;j=b+16|0;m=c[j>>2]|0;if((m|0)<=(d|0)){k=b+12|0;if((c[k>>2]|0)>(d|0)){k=d+1|0}else{m=b+8|0;l=d+1|0;c[m>>2]=Ce(c[m>>2]|0,l,32)|0;c[k>>2]=l;m=c[j>>2]|0;k=l}if((m|0)<(k|0)){l=b+8|0;do{c[(c[l>>2]|0)+(m<<5)>>2]=-1;c[(c[l>>2]|0)+(m<<5)+8>>2]=0;n=c[l>>2]|0;o=n+(m<<5)+24|0;c[o>>2]=0;c[o+4>>2]=0;c[n+(m<<5)+16>>2]=5;a[(c[l>>2]|0)+(m<<5)+12|0]=0;c[(c[l>>2]|0)+(m<<5)+4>>2]=0;m=m+1|0;}while((m|0)<(k|0))}c[j>>2]=k}d=kn(b,d)|0;c[d+4>>2]=e;e=d+24|0;c[e>>2]=0;c[e+4>>2]=0;c[d+16>>2]=5;a[d+12|0]=0;e=d+8|0;if(g){c[e>>2]=1;c[d>>2]=f;i=h;return}else{c[e>>2]=0;c[d>>2]=0;i=h;return}}function pn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=i;g=i;i=i+8|0;h=g;f=c[e>>2]|0;do{if((f|0)>=0){if((f|0)>=(c[b+16>>2]|0)){break}b=kn(b,f)|0;h=b+16|0;Of(h);Mf(d,h)|0;a[b+12|0]=1;i=j;return}}while(0);d=c[e+4>>2]|0;c[g>>2]=f;c[h+4>>2]=d;Qe(-1,49328,h);i=j;return}function qn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;f=i;g=d+16|0;h=1;while(1){j=c[g>>2]|0;if((h|0)>=(j|0)){g=4;break}j=(c[(kn(d,h)|0)+8>>2]|0)==0;j=j?h:-1;if((j|0)==-1){h=h+1|0}else{g=5;break}}if((g|0)==4){on(d,j,0,0,0);d=kn(d,j)|0;h=j}else if((g|0)==5){d=knKn
7321 238;break a}}H=(c[L>>2]|0)+H|0;G=(c[K+(1-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(2-N<<2)>>2]|0)+H|0;G=(c[K+(3-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(4-N<<2)>>2]|0)+H|0;G=(c[K+(5-N<<2)>>2]|0)+G|0;K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L;break};case 3:{o=124;break a};case 4:{c[n>>2]=1;c[v>>2]=(c[v>>2]|0)+(c[L>>2]|0);G=K+(1-N<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[G>>2]|0);c[x>>2]=c[K+(2-N<<2)>>2];c[u>>2]=c[K+(3-N<<2)>>2];if((a[w]|0)==0){K=L;H=(c[L>>2]|0)+(c[q>>2]|0)|0;G=(c[G>>2]|0)+(c[r>>2]|0)|0}else{M=0;o=238;break a}break};case 2:{c[n>>2]=1;c[v>>2]=(c[v>>2]|0)+(c[L>>2]|0);c[x>>2]=c[K+(1-N<<2)>>2];c[u>>2]=0;G=(c[L>>2]|0)+(c[q>>2]|0)|0;if((a[w]|0)==0){C=G;K=L;H=G;G=c[r>>2]|0}else{M=0;o=238;break a}break};case 1:{o=119;break a};case 25:{H=c[L>>2]|0;G=c[K+(1-N<<2)>>2]|0;c[M+1400>>2]=0;K=L;break};case 26:case 15:{K=L;break};case 20:{K=K+(1-N<<2)|0;c[L>>2]=bJ(c[L>>2]|0,c[K>>2]|0)|0;F=0;break};case 22:{E=c[L>>2]>>16;if((E|0)<0){M=160;o=238;break a}if((E|0)>=(c[M+1364>>2]|0)){M=160;o=238;break a}if((D-(M+1140)|0)>180){M=160;o=238;break a}c[D>>2]=g;M=D+12|0;K=c[(c[(c[l>>2]|0)+1368>>2]|0)+(E<<2)>>2]|0;g=D+16|0;c[g>>2]=K;N=c[l>>2]|0;O=c[N+1372>>2]|0;if((O|0)==0){N=c[N+1360>>2]|0;K=K+((N|0)<0?0:N)|0;c[g>>2]=K;c[D+20>>2]=c[(c[(c[l>>2]|0)+1368>>2]|0)+(E+1<<2)>>2]}else{c[D+20>>2]=K+(c[O+(E<<2)>>2]|0)}c[M>>2]=K;if((K|0)==0){M=160;o=238;break a}c[(c[l>>2]|0)+1344>>2]=M;g=c[g>>2]|0;E=c[D+20>>2]|0;K=L;D=M;break};case 7:{H=(c[L>>2]|0)+H|0;if((c[M+1400>>2]|0)!=0){K=L;break e}if((c[n>>2]|0)==0){M=160;o=238;break a}c[n>>2]=2;K=L;break};case 8:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}M=c[B>>2]|0;if(((b[M+22>>1]|0)+3+(b[M+58>>1]|0)|0)>>>0>(c[M+4>>2]|0)>>>0){M=pJ(M,3,0)|0;if((M|0)!=0){o=238;break a}}H=(c[L>>2]|0)+H|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;H=(c[K+(1-N<<2)>>2]|0)+H|0;G=(c[K+(2-N<<2)>>2]|0)+G|0;M=c[y>>2]|0;if((a[z]|0)==0){M=M+2|0}else{P=c[M+4>>2]|0;R=M+2|0;Q=b[R>>1]|0;M=(c[M+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[M]=2;M=R}b[M>>1]=(b[M>>1]|0)+1<<16>>16;G=(c[K+(3-N<<2)>>2]|0)+G|0;K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L;break};case 5:{if(((c[n>>2]|0)+ -2|0)>>>0<2){SM(f)}c[n>>2]=1;K=L;break};case 9:{M=RM(f,H,G)|0;if((M|0)!=0){o=238;break a}H=(c[L>>2]|0)+H|0;G=(c[K+(1-N<<2)>>2]|0)+G|0;o=173;break};default:{M=160;o=238;break a}}}while(0);if((o|0)==173){o=0;K=c[B>>2]|0;if(((b[K+22>>1]|0)+1+(b[K+58>>1]|0)|0)>>>0>(c[K+4>>2]|0)>>>0){M=pJ(K,1,0)|0;if((M|0)!=0){o=238;break}}K=c[y>>2]|0;if((a[z]|0)==0){K=K+2|0}else{P=c[K+4>>2]|0;R=K+2|0;Q=b[R>>1]|0;K=(c[K+8>>2]|0)+Q|0;c[P+(Q<<3)>>2]=(ZI(H)|0)>>16;c[P+(Q<<3)+4>>2]=(ZI(G)|0)>>16;a[K]=1;K=R}b[K>>1]=(b[K>>1]|0)+1<<16>>16;K=L}c[(c[l>>2]|0)+1136>>2]=K;if(g>>>0>=E>>>0){M=0;o=238;break}}if((o|0)==119){SM(f);do{if(p){if((Bd[c[m+8>>2]&255](c[m>>2]|0,b[(c[y>>2]|0)+2>>1]|0)|0)==0){pd[c[m+24>>2]&63](c[m>>2]|0,c[y>>2]|0,c[f+76>>2]|0,c[(c[l>>2]|0)+1468>>2]|0)|0;break}else{R=160;i=j;return R|0}}}while(0);sJ(c[B>>2]|0);R=0;i=j;return R|0}else if((o|0)==124){k=c[L>>2]|0;f=c[K+(2-N<<2)>>2]|0;r=c[K+(3-N<<2)>>2]>>16;o=c[K+(4-N<<2)>>2]>>16;l=M+1496|0;if((a[l]|0)!=0){R=160;i=j;return R|0}m=M+32|0;n=(c[m>>2]|0)+(c[K+(1-N<<2)>>2]|0)|0;p=M+1356|0;q=(c[(c[(c[M+4>>2]|0)+128>>2]|0)+52>>2]|0)==0;f:do{if((c[p>>2]|0)==0){if(q){M=160}else{break}i=j;return M|0}else{if(!q){break}q=M+1348|0;h=c[q>>2]|0;g:do{if(r>>>0>255){r=-1}else{s=jd[c[h+20>>2]&511](e[(c[h+24>>2]|0)+(r<<1)>>1]|0)|0;h=c[M+1352>>2]|0;if((h|0)==0){r=-1;break}t=c[p>>2]|0;r=0;while(1){u=c[t+(r<<2)>>2]|0;do{if((u|0)!=0){if((a[u]|0)!=(a[s]|0)){break}if((Qc(u|0,s|0)|0)==0){break g}}}while(0);r=r+1|0;if(r>>>0>=h>>>0){r=-1;break}}}}while(0);q=c[q>>2]|0;if(o>>>0>255){R=160;i=j;return R|0}q=jd[c[q+20>>2]&511](e[(c[q+24>>2]|0)+(o<<1)>>1]|0)|0;h=c[M+1352>>2]|0;if((h|0)==0){R=160;i=j;return R|0}p=c[p>>2]|0;o=0;while(1){s=c[p+(o<<2)>>2]|0;do{if((s|0)!=0){if((a[s]|0)!=(a[q]|0)){break}if((Qc(s|0,q|0)|0)==0){break f}}}while(0);o=o+1|0;if(o>>>0>=h>>>0){M=160;break}}i=j;return M|0}}while(0);if((r|o|0)<0){R=160;i=j;return R|0}if((a[M+69|0]|0)!=0){l=c[M+8>>2]|0;m=c[c[l+156>>2]>>2]|0;p=qJ(m,2)|0;if((p|0)!=0){R=p;i=j;return R|0}R=c[m+88>>2]|0;c[R>>2]=r;b[R+4>>1]=514;c[R+8>>2]=0;c[R+12>>2]=0;c[R+32>>2]=o;b[R+36>>1]=2;c[R+40>>2]=(ZI(n-k|0)|0)>>16;c[R+44>>2]=(ZI(f)|0)>>16;c[l+128>>2]=2;c[l+132>>2]=c[m+52>>2];c[l+72>>2]=1668246896;c[m+84>>2]=2;R=0;i=j;return R|0}rJ(c[M+12>>2]|0);a[l]=1;p=M+1472|0;q=Bd[c[p>>2]&255](M,r)|0;a[l]=0;if((q|0)!=0){R=q;i=j;return R|0}h=m;t=c[h>>2]|0;h=c[h+4>>2]|0;q=M+40|0;r=q;s=c[r>>2]|0;r=c[r+4>>2]|0;c[m>>2]=0;c[M+36>>2]=0;u=M+24|0;c[u>>2]=n-k;k=M+28|0;c[k>>2]=f;a[l]=1;f=Bd[c[p>>2]&255](M,o)|0;a[l]=0;if((f|0)!=0){R=f;i=j;return R|0}R=m;c[R>>2]=t;c[R+4>>2]=h;R=q;c[R>>2]=s;c[R+4>>2]=r;c[u>>2]=0;c[k>>2]=0;R=0;i=j;return R|0}else if((o|0)==238){i=j;return M|0}return 0}function WM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;g=i;i=i+8|0;h=jJ(b,16,g)|0;g=c[g>>2]|0;if((g|0)!=0){a=g;i=f;return a|0}c[h+4>>2]=d;c[h>>2]=d;c[h+8>>2]=e;c[h+12>>2]=2;c[a>>2]=b;c[a+4>>2]=h;c[a+8>>2]=0;c[a+12>>2]=0;a=0;i=f;return a|0}function XM(a){a=a|0;var b=0,d=0;b=i;d=a+4|0;lJ(c[a>>2]|0,c[d>>2]|0);c[d>>2]=0;i=b;return}function YM(b){b=b|0;var e=0,f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0;J=i;ha=i;i=i+8|0;ca=ha;S=i;i=i+8|0;T=S;n=i;i=i+8|0;h=n;q=i;i=i+8|0;p=q;r=i;i=i+40|0;j=r;o=i;i=i+8|0;k=o;t=i;i=i+8|0;s=t;u=i;i=i+32|0;l=u;Q=i;i=i+32|0;R=Q;g=c[b>>2]|0;m=b+8|0;x=c[m>>2]|0;if((x|0)==0){Ha=6;i=J;return Ha|0}N=b+4|0;ma=c[N>>2]|0;la=ma+12|0;ta=c[la>>2]|0;a:do{if((ta|0)>1){ra=c[ma+8>>2]|0;sa=c[ma>>2]|0}else{ua=c[ma>>2]|0;ra=c[ma+8>>2]|0;b:do{if((ta|0)>0){sa=ua}else{c:do{if(ua>>>0<ra>>>0){d:while(1){ta=ua+1|0;c[ma>>2]=ta;switch(d[ua]|0){case 9:case 32:{break};case 59:{K=9;break d};case 10:case 13:{K=8;break d};case 26:{sa=ta;break c};default:{sa=ta;break b}}if(ta>>>0<ra>>>0){ua=ta}else{sa=ta;break c}}if((K|0)==8){c[la>>2]=2;sa=ta;break a}else if((K|0)==9){c[la>>2]=1;sa=ta;break b}}else{sa=ua}}while(0);c[la>>2]=3;break a}}while(0);while(1){if(sa>>>0>=ra>>>0){ta=3;break}ta=sa+1|0;c[ma>>2]=ta;sa=a[sa]|0;Ha=sa&255;if((Ha|0)==10|(Ha|0)==13){sa=ta;ta=2;break}if(sa<<24>>24==26){sa=ta;ta=3;break}else{sa=ta}}c[la>>2]=ta}}while(0);c[la>>2]=0;e:do{if(sa>>>0<ra>>>0){f:while(1){ta=sa+1|0;c[ma>>2]=ta;switch(d[sa]|0){case 59:{K=20;break f};case 26:{break e};case 10:case 13:{c[la>>2]=2;sa=ta;break};case 9:case 32:{if(ta>>>0<ra>>>0){sa=ta;continue f}else{break e}break};default:{g:while(1){if(ta>>>0>=ra>>>0){oa=ta;K=26;break}pa=ta+1|0;c[ma>>2]=pa;switch(d[ta]|0){case 9:case 32:{qa=pa;na=0;break g};case 10:case 13:{K=24;break g};case 59:{K=25;break g};case 26:{oa=pa;K=26;break g};default:{ta=pa}}}if((K|0)==24){K=0;c[la>>2]=2;qa=pa;na=2}else if((K|0)==25){K=0;c[la>>2]=1;qa=pa;na=1}else if((K|0)==26){K=0;c[la>>2]=3;qa=oa;na=3}if((sa|0)!=0){K=30;break f}if((na|0)==2){sa=qa}else{L=2;K=273;break f}}}c[la>>2]=0;if(sa>>>0>=ra>>>0){break e}}if((K|0)==20){c[la>>2]=1;Ha=2;i=J;return Ha|0}else if((K|0)==30){if((qa+~sa|0)!=16){Ha=2;i=J;return Ha|0}if((vc(sa|0,208152,16)|0)!=0){Ha=2;i=J;return Ha|0}qa=T+4|0;pa=R+4|0;la=R+8|0;ma=R+16|0;na=R+24|0;sa=x+4|0;ta=R+12|0;ua=x+8|0;va=R+20|0;wa=x+12|0;xa=R+28|0;ya=x+16|0;ra=x+20|0;za=x+24|0;oa=ca+4|0;Ba=160;h:while(1){Ca=c[N>>2]|0;Aa=Ca+12|0;Fa=c[Aa>>2]|0;i:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;j:do{if((Fa|0)<=0){k:do{if(Da>>>0<Ea>>>0){Fa=Da;l:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 26:{X=Da;break k};case 59:{K=40;break l};case 9:case 32:{break};case 10:case 13:{K=39;break l};default:{break j}}if(Da>>>0<Ea>>>0){Fa=Da}else{X=Da;break k}}if((K|0)==39){K=0;c[Aa>>2]=2;break i}else if((K|0)==40){K=0;c[Aa>>2]=1;break j}}else{X=Da}}while(0);c[Aa>>2]=3;Da=X;break i}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[Aa>>2]=Fa}}while(0);c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break}m:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue m}else{K=52;break h}break};case 26:{K=52;break h};case 59:{K=51;break h};case 10:case 13:{c[Aa>>2]=2;Da=Fa;break};default:{n:while(1){if(Fa>>>0>=Ea>>>0){U=Fa;K=57;break}Y=Fa+1|0;c[Ca>>2]=Y;switch(d[Fa]|0){case 9:case 32:{V=Y;W=0;break n};case 10:case 13:{K=55;break n};case 59:{K=56;break n};case 26:{U=Y;K=57;break n};default:{Fa=Y}}}if((K|0)==55){K=0;c[Aa>>2]=2;V=Y;W=2}else if((K|0)==56){K=0;c[Aa>>2]=1;V=Y;W=1}else if((K|0)==57){K=0;c[Aa>>2]=3;V=U;W=3}if((Da|0)!=0){break m}if((W|0)==2){Da=V}else{M=Ba;break h}}}c[Aa>>2]=0;if(Da>>>0>=Ea>>>0){K=52;break h}}Ea=V+~Da|0;Ca=a[Da]|0;Fa=0;o:while(1){Ga=c[208312+(Fa<<2)>>2]|0;p:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break o}if((Fa|0)>=74){break p}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{Ha=Ba;Ba=Ha;continue h}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){Ha=Ba;Ba=Ha;continue h}}switch(Ha|0){case 20:{L=0;K=273;break h};case 45:{c[ha>>2]=3;if((kN(b,ca,1)|0)!=1){M=Ba;break h}Ca=c[oa>>2]|0;if((Ca|0)!=0){while(1){Ca=Ca+ -1|0;Da=c[N>>2]|0;ja=Da+12|0;Ga=c[ja>>2]|0;q:do{if((Ga|0)>1){Ea=c[Da+8>>2]|0;Fa=c[Da>>2]|0}else{Fa=c[Da>>2]|0;Ea=c[Da+8>>2]|0;r:do{if((Ga|0)<=0){s:do{if(Fa>>>0<Ea>>>0){Ga=Fa;t:while(1){Fa=Ga+1|0;c[Da>>2]=Fa;switch(d[Ga]|0){case 59:{K=88;break t};case 10:case 13:{K=87;break t};case 26:{Z=Fa;break s};case 9:case 32:{break};default:{break r}}if(Fa>>>0<Ea>>>0){Ga=Fa}else{Z=Fa;break s}}if((K|0)==87){K=0;c[ja>>2]=2;break q}else if((K|0)==88){K=0;c[ja>>2]=1;break r}}else{Z=Fa}}while(0);c[ja>>2]=3;Fa=Z;break q}}while(0);while(1){if(Fa>>>0>=Ea>>>0){Ga=3;break}Ga=Fa+1|0;c[Da>>2]=Ga;Fa=a[Fa]|0;Ha=Fa&255;if((Ha|0)==10|(Ha|0)==13){Fa=Ga;Ga=2;break}if(Fa<<24>>24==26){Fa=Ga;Ga=3;break}else{Fa=Ga}}c[ja>>2]=Ga}}while(0);c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}u:while(1){Ga=Fa+1|0;c[Da>>2]=Ga;switch(d[Fa]|0){case 59:{K=98;break h};case 9:case 32:{if(Ga>>>0<Ea>>>0){Fa=Ga;continue u}else{K=99;break h}break};case 10:case 13:{c[ja>>2]=2;Fa=Ga;break};case 26:{K=99;break h};default:{v:while(1){if(Ga>>>0>=Ea>>>0){$=Ga;K=104;break}_=Ga+1|0;c[Da>>2]=_;switch(d[Ga]|0){case 10:case 13:{K=102;break v};case 26:{$=_;K=104;break v};case 9:case 32:{ba=_;aa=0;break v};case 59:{K=103;break v};default:{Ga=_}}}if((K|0)==102){K=0;c[ja>>2]=2;ba=_;aa=2}else if((K|0)==103){K=0;c[ja>>2]=1;ba=_;aa=1}else if((K|0)==104){K=0;c[ja>>2]=3;ba=$;aa=3}if((Fa|0)!=0){break u}if((aa|0)==2){Fa=ba}else{L=160;K=273;break h}}}c[ja>>2]=0;if(Fa>>>0>=Ea>>>0){K=99;break h}}if((Ca|0)==0){break}}}w:while(1){Ca=c[N>>2]|0;ka=Ca+12|0;Fa=c[ka>>2]|0;x:do{if((Fa|0)>1){Ea=c[Ca+8>>2]|0;Da=c[Ca>>2]|0}else{Da=c[Ca>>2]|0;Ea=c[Ca+8>>2]|0;y:do{if((Fa|0)<=0){z:do{if(Da>>>0<Ea>>>0){Fa=Da;A:while(1){Da=Fa+1|0;c[Ca>>2]=Da;switch(d[Fa]|0){case 10:case 13:{K=114;break A};case 59:{K=115;break A};case 26:{da=Da;break z};case 9:case 32:{break};default:{break y}}if(Da>>>0<Ea>>>0){Fa=Da}else{da=Da;break z}}if((K|0)==114){K=0;c[ka>>2]=2;break x}else if((K|0)==115){K=0;c[ka>>2]=1;break y}}else{da=Da}}while(0);c[ka>>2]=3;Da=da;break x}}while(0);while(1){if(Da>>>0>=Ea>>>0){Fa=3;break}Fa=Da+1|0;c[Ca>>2]=Fa;Da=a[Da]|0;Ha=Da&255;if((Ha|0)==10|(Ha|0)==13){Da=Fa;Fa=2;break}if(Da<<24>>24==26){Da=Fa;Fa=3;break}else{Da=Fa}}c[ka>>2]=Fa}}while(0);c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}B:while(1){Fa=Da+1|0;c[Ca>>2]=Fa;switch(d[Da]|0){case 9:case 32:{if(Fa>>>0<Ea>>>0){Da=Fa;continue B}else{K=126;break h}break};case 26:{K=126;break h};case 59:{K=125;break h};case 10:case 13:{c[ka>>2]=2;Da=Fa;break};default:{C:while(1){if(Fa>>>0>=Ea>>>0){fa=Fa;K=131;break}ea=Fa+1|0;c[Ca>>2]=ea;switch(d[Fa]|0){case 10:case 13:{K=129;break C};case 26:{fa=ea;K=131;break C};case 59:{K=130;break C};case 9:case 32:{ga=ea;ia=0;break C};default:{Fa=ea}}}if((K|0)==129){K=0;c[ka>>2]=2;ga=ea;ia=2}else if((K|0)==130){K=0;c[ka>>2]=1;ga=ea;ia=1}else if((K|0)==131){K=0;c[ka>>2]=3;ga=fa;ia=3}if((Da|0)!=0){break B}if((ia|0)==2){Da=ga}else{L=160;K=273;break h}}}c[ka>>2]=0;if(Da>>>0>=Ea>>>0){K=126;break h}}Ea=ga+~Da|0;Ca=a[Da]|0;Fa=0;D:while(1){Ga=c[208312+(Fa<<2)>>2]|0;E:do{if((a[Ga]|0)==Ca<<24>>24&(Fa|0)<74){Ha=Fa;while(1){Fa=Ha+1|0;if((vc(Ga|0,Da|0,Ea|0)|0)==0){break D}if((Fa|0)>=74){break E}Ga=c[208312+(Fa<<2)>>2]|0;if((a[Ga]|0)==Ca<<24>>24){Ha=Fa}else{continue w}}}}while(0);Fa=Fa+1|0;if((Fa|0)>=74){continue w}}if((Ha|0)==17|(Ha|0)==20){Ba=0;continue h}}break};case 30:{c[Q>>2]=4;if((kN(b,R,1)|0)!=1){M=Ba;break h}a[x]=a[pa]|0;Ha=Ba;Ba=Ha;continue h};case 40:{c[S>>2]=3;if((kN(b,T,1)|0)!=1){M=Ba;break h}Ha=c[qa>>2]|0;if((Ha|0)==0|(Ha|0)==2){Ha=Ba;Ba=Ha;continue h}else{M=7;break h}break};case 49:{K=142;break h};case 0:{c[Q>>2]=2;if((kN(b,R,1)|0)!=1){M=Ba;break h}c[ra>>2]=c[pa>>2];Ha=Ba;Ba=Ha;continue h};case 26:{c[Q>>2]=2;c[la>>2]=2;c[ma>>2]=2;c[na>>2]=2;if((kN(b,R,4)|0)!=4){M=Ba;break h}c[sa>>2]=c[pa>>2];c[ua>>2]=c[ta>>2];c[wa>>2]=c[va>>2];c[ya>>2]=c[xa>>2];Ha=Ba;Ba=Ha;continue h};case 14:{c[Q>>2]=2;if((kNkN(b,h,1)|0)!=1){M=160;break F}P=c[R>>2]|0;c[ha>>2]=P;if((P|0)==0){ja=ia+28|0}else{ja=ia+28|0;c[ja>>2]=oJ(c[b>>2]|0,20,0,P,0,p)|0;P=c[q>>2]|0;if((P|0)!=0){M=P;break F}}ia=0;P:while(1){Q:while(1){ka=c[N>>2]|0;P=ka+12|0;na=c[P>>2]|0;R:do{if((na|0)>1){ma=c[ka+8>>2]|0;la=c[ka>>2]|0}else{la=c[ka>>2]|0;ma=c[ka+8>>2]|0;S:do{if((na|0)<=0){T:do{if(la>>>0<ma>>>0){na=la;U:while(1){la=na+1|0;c[ka>>2]=la;switch(d[na]|0){case 59:{K=189;break U};case 26:{A=la;break T};case 9:case 32:{break};case 10:case 13:{K=188;break U};default:{break S}}if(la>>>0<ma>>>0){na=la}else{A=la;break T}}if((K|0)==188){K=0;c[P>>2]=2;break R}else if((K|0)==189){K=0;c[P>>2]=1;break S}}else{A=la}}while(0);c[P>>2]=3;la=A;break R}}while(0);while(1){if(la>>>0>=ma>>>0){na=3;break}na=la+1|0;c[ka>>2]=na;la=a[la]|0;Ha=la&255;if((Ha|0)==10|(Ha|0)==13){la=na;na=2;break}if(la<<24>>24==26){la=na;na=3;break}else{la=na}}c[P>>2]=na}}while(0);c[P>>2]=0;if(la>>>0>=ma>>>0){K=200;break G}V:while(1){na=la+1|0;c[ka>>2]=na;switch(d[la]|0){case 10:case 13:{c[P>>2]=2;la=na;break};case 59:{K=199;break G};case 9:case 32:{if(na>>>0<ma>>>0){la=na;continue V}else{K=200;break G}break};case 26:{K=200;break G};default:{W:while(1){if(na>>>0>=ma>>>0){C=na;K=205;break}B=na+1|0;c[ka>>2]=B;switch(d[na]|0){case 59:{K=204;break W};case 26:{C=B;K=205;break W};case 9:case 32:{D=B;E=0;break W};case 10:case 13:{K=203;break W};default:{na=B}}}if((K|0)==203){K=0;c[P>>2]=2;D=B;E=2}else if((K|0)==204){K=0;c[P>>2]=1;D=B;E=1}else if((K|0)==205){K=0;c[P>>2]=3;D=C;E=3}if((la|0)!=0){break V}if((E|0)==2){la=D}else{M=160;break F}}}c[P>>2]=0;if(la>>>0>=ma>>>0){K=200;break G}}ma=D+~la|0;ka=a[la]|0;oa=0;X:while(1){na=c[208312+(oa<<2)>>2]|0;Y:do{if((a[na]|0)==ka<<24>>24&(oa|0)<74){pa=oa;while(1){oa=pa+1|0;if((vc(na|0,la|0,ma|0)|0)==0){break X}if((oa|0)>=74){break Y}na=c[208312+(oa<<2)>>2]|0;if((a[na]|0)==ka<<24>>24){pa=oa}else{continue Q}}}}while(0);oa=oa+1|0;if((oa|0)>=74){continue Q}}switch(pa|0){case 56:{break Q};case 75:{break};case 20:case 21:case 23:{break P};default:{M=160;break F}}}if((ia|0)>=(c[ha>>2]|0)){M=160;break F}ka=c[ja>>2]|0;c[r>>2]=3;c[Z>>2]=2;c[S>>2]=2;c[T>>2]=2;c[U>>2]=2;if((kN(b,j,5)|0)!=5){M=160;break F}Ha=c[fa>>2]|0;c[ka+(ia*20|0)>>2]=Ha;c[ka+(ia*20|0)+4>>2]=c[ga>>2];la=c[ea>>2]|0;P=ka+(ia*20|0)+8|0;c[P>>2]=la;c[ka+(ia*20|0)+12>>2]=c[da>>2];c[ka+(ia*20|0)+16>>2]=c[ca>>2];if((Ha|0)<0&(la|0)>0){c[P>>2]=0-la}ia=ia+1|0}c[ha>>2]=ia;continue G};case 51:case 50:{break};default:{M=160;break F}}ia=c[m>>2]|0;ha=ia+40|0;c[o>>2]=3;if((kN(b,k,1)|0)!=1){M=160;break F}O=c[ba>>2]|0;c[ha>>2]=O;if((O|0)==0){ja=ia+36|0}else{ja=ia+36|0;c[ja>>2]=oJ(c[b>>2]|0,16,0,O,0,s)|0;O=c[t>>2]|0;if((O|0)!=0){M=O;break F}}ia=0;Z:while(1){_:while(1){ka=c[N>>2]|0;O=ka+12|0;na=c[O>>2]|0;$:do{if((na|0)>1){ma=c[ka+8>>2]|0;la=c[ka>>2]|0}else{la=c[ka>>2]|0;ma=c[ka+8>>2]|0;aa:do{if((na|0)<=0){ba:do{if(la>>>0<ma>>>0){na=la;ca:while(1){la=na+1|0;c[ka>>2]=la;switch(d[na]|0){case 26:{F=la;break ba};case 9:case 32:{break};case 10:case 13:{K=234;break ca};case 59:{K=235;break ca};default:{break aa}}if(la>>>0<ma>>>0){na=la}else{F=la;break ba}}if((K|0)==234){K=0;c[O>>2]=2;break $}else if((K|0)==235){K=0;c[O>>2]=1;break aa}}else{F=la}}while(0);c[O>>2]=3;la=F;break $}}while(0);while(1){if(la>>>0>=ma>>>0){na=3;break}na=la+1|0;c[ka>>2]=na;la=a[la]|0;Ha=la&255;if((Ha|0)==10|(Ha|0)==13){la=na;na=2;break}if(la<<24>>24==26){la=na;na=3;break}else{la=na}}c[O>>2]=na}}while(0);c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}da:while(1){na=la+1|0;c[ka>>2]=na;switch(d[la]|0){case 26:{K=246;break G};case 9:case 32:{if(na>>>0<ma>>>0){la=na;continue da}else{K=246;break G}break};case 10:case 13:{c[O>>2]=2;la=na;break};case 59:{K=245;break G};default:{ea:while(1){if(na>>>0>=ma>>>0){H=na;K=251;break}G=na+1|0;c[ka>>2]=G;switch(d[na]|0){case 10:case 13:{K=249;break ea};case 59:{K=250;break ea};case 26:{H=G;K=251;break ea};case 9:case 32:{I=G;f=0;break ea};default:{na=G}}}if((K|0)==249){K=0;c[O>>2]=2;I=G;f=2}else if((K|0)==250){K=0;c[O>>2]=1;I=G;f=1}else if((K|0)==251){K=0;c[O>>2]=3;I=H;f=3}if((la|0)!=0){break da}if((f|0)==2){la=I}else{M=160;break F}}}c[O>>2]=0;if(la>>>0>=ma>>>0){K=246;break G}}ka=I+~la|0;ma=a[la]|0;na=0;fa:while(1){pa=c[208312+(na<<2)>>2]|0;ga:do{if((a[pa]|0)==ma<<24>>24&(na|0)<74){while(1){oa=na+1|0;if((vc(pa|0,la|0,ka|0)|0)==0){break fa}if((oa|0)>=74){na=oa;break ga}pa=c[208312+(oa<<2)>>2]|0;if((a[pa]|0)==ma<<24>>24){na=oa}else{continue _}}}}while(0);na=na+1|0;if((na|0)>=74){continue _}}switch(na|0){case 20:case 21:case 22:{break Z};case 37:case 36:case 34:{break _};case 75:{break};default:{M=160;break F}}}if((ia|0)>=(c[ha>>2]|0)){M=160;break F}O=c[ja>>2]|0;c[u>>2]=5;c[aa>>2]=5;c[$>>2]=3;c[_>>2]=3;ka=kN(b,l,4)|0;if((ka|0)<3){M=160;break F}c[O+(ia<<4)>>2]=c[Q>>2];c[O+(ia<<4)+4>>2]=c[Y>>2];if((na|0)==37){c[O+(ia<<4)+8>>2]=0;c[O+(ia<<4)+12>>2]=c[X>>2]}else{c[O+(ia<<4)+8>>2]=c[X>>2];if((na|0)==34&(ka|0)==4){ka=c[W>>2]|0}else{ka=0}c[O+(ia<<4)+12>>2]=ka}ia=ia+1|0}c[ha>>2]=ia;pb(c[ja>>2]|0,ia|0,16,191)}if((K|0)==160){c[V>>2]=1;M=160;break}else if((K|0)==161){c[V>>2]=3;M=160;break}else if((K|0)==199){c[P>>2]=1;M=160;break}else if((K|0)==200){c[P>>2]=3;M=160;break}else if((K|0)==245){c[O>>2]=1;M=160;break}else if((K|0)==246){c[O>>2]=3;M=160;break}else if((K|0)==273){i=J;return L|0}}else if((K|0)==273){i=J;return L|0}}while(0);Ha=x+28|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+32>>2]=0;Ha=x+36|0;lJ(g,c[Ha>>2]|0);c[Ha>>2]=0;c[x+40>>2]=0;a[x]=0;Ha=M;i=J;return Ha|0}else if((K|0)==273){i=J;return L|0}}}while(0);c[la>>2]=3;Ha=2;i=J;return Ha|0}function ZM(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+24>>2];i=i;return 0}function _M(a){a=a|0;var b=0;b=i;bX(a+16|0,0,16)|0;i=b;return}function $M(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0;f=i;if(d>>>0>=256){j=0;i=f;return j|0}g=jd[c[b+20>>2]&511](e[(c[b+16>>2]|0)+(d<<1)>>1]|0)|0;d=c[b+24>>2]|0;if((d|0)==0){j=0;i=f;return j|0}b=c[b+28>>2]|0;h=0;a:while(1){j=c[b+(h<<2)>>2]|0;do{if((j|0)!=0){if((a[j]|0)!=(a[g]|0)){break}if((Qc(j|0,g|0)|0)==0){d=8;break a}}}while(0);h=h+1|0;if(h>>>0>=d>>>0){h=0;d=8;break}}if((d|0)==8){i=f;return h|0}return 0}function aN(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=i;m=(c[d>>2]|0)+1|0;if(m>>>0>=256){n=0;p=0;o=d;c[o>>2]=n;i=f;return p|0}h=b+16|0;g=b+20|0;j=b+24|0;b=b+28|0;a:while(1){o=jd[c[g>>2]&511](e[(c[h>>2]|0)+(m<<1)>>1]|0)|0;n=c[j>>2]|0;b:do{if((n|0)!=0){l=c[b>>2]|0;k=0;c:while(1){p=c[l+(k<<2)>>2]|0;do{if((p|0)!=0){if((a[p]|0)!=(a[o]|0)){break}if((Qc(p|0,o|0)|0)==0){break c}}}while(0);k=k+1|0;if(k>>>0>=n>>>0){break b}}if((k|0)!=0){g=11;break a}}}while(0);m=m+1|0;if(m>>>0>=256){m=0;k=0;g=11;break}}if((g|0)==11){p=d;c[p>>2]=m;i=f;return k|0}return 0}function bN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=c[d+484>>2]|0;c[a+24>>2]=c[d+416>>2];c[a+28>>2]=c[d+420>>2];c[a+20>>2]=c[b+20>>2];c[a+16>>2]=c[b+28>>2];i=i;return 0}function cN(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;b=d+372|0;d=c[d+376>>2]|0;c[a+16>>2]=d;c[a+20>>2]=(c[b+8>>2]|0)-d;c[a+24>>2]=c[b+12>>2];i=i;return 0}function dN(a){a=a|0;c[a+24>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;i=i;return}function eN(a,b){a=a|0;b=b|0;var d=0,f=0;d=i;f=c[a+16>>2]|0;if(f>>>0>b>>>0){b=0;i=d;return b|0}if(((c[a+20>>2]|0)+f|0)>>>0<=b>>>0){b=0;i=d;return b|0}b=e[(c[a+24>>2]|0)+(b<<1)>>1]|0;i=d;return b|0}function fN(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,k=0;e=i;g=(c[d>>2]|0)+1|0;f=c[a+16>>2]|0;j=g>>>0<f>>>0?f:g;f=(c[a+20>>2]|0)+f|0;a:do{if(j>>>0<f>>>0){g=c[a+24>>2]|0;while(1){k=b[g+(j<<1)>>1]|0;a=k&65535;h=j+1|0;if(k<<16>>16!=0){break a}if(h>>>0<f>>>0){j=h}else{j=0;break}}}else{j=0;a=0}}while(0);c[d>>2]=j;i=e;return a|0}function gN(a,b){a=a|0;b=b|0;var d=0;d=i;b=c[a>>2]|0;b=id[c[(c[b+484>>2]|0)+4>>2]&3](c[b+100>>2]|0,a,c[b+416>>2]|0,192,0,b)|0;i=d;return b|0}function hN(a){a=a|0;var b=0,d=0;b=i;d=a+20|0;lJ(c[(c[a>>2]|0)+100>>2]|0,c[d>>2]|0);c[d>>2]=0;c[a+16>>2]=0;i=b;return}function iN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+8>>2]&255](a,b)|0;i=d;return a|0}function jN(a,b){a=a|0;b=b|0;var d=0;d=i;a=Bd[c[(c[(c[a>>2]|0)+484>>2]|0)+12>>2]&255](a,b)|0;i=d;return a|0}function kNKN(0,b,d,a,h);KN(1,e,f,a,h);b=c[a>>2]|0;e=c[h>>2]|0;if((b|0)>0){d=b;f=a+4|0;while(1){do{if(d>>>0>1){k=c[f>>2]|0;m=(c[f+32>>2]|0)-k|0;n=f+4|0;l=c[n>>2]|0;if((l|0)<=(m|0)){break}c[n>>2]=m;l=m}else{l=c[f+4>>2]|0;k=c[f>>2]|0}}while(0);c[f+12>>2]=k;c[f+8>>2]=k+l;d=d+ -1|0;if((d|0)==0){break}else{f=f+32|0}}}if((e|0)>0){k=e;f=h+4|0;while(1){d=c[f>>2]|0;do{if(k>>>0>1){n=d-(c[f+32>>2]|0)|0;l=f+4|0;m=c[l>>2]|0;if((m|0)>=(n|0)){break}c[l>>2]=n;m=n}else{m=c[f+4>>2]|0}}while(0);c[f+8>>2]=d;c[f+12>>2]=d+m;k=k+ -1|0;if((k|0)==0){break}else{f=f+32|0}}}f=g<<1;d=a+4|0;if((b|0)!=0){l=a+16|0;c[l>>2]=(c[l>>2]|0)-g;l=b+ -1|0;k=c[a+12>>2]|0;if((l|0)==0){a=d}else{a=a+ -28+(b<<3<<2)|0;b=l;while(1){n=d+44|0;l=c[n>>2]|0;m=l-k|0;if((m|0)<(f|0)){m=((m|0)/2|0)+k|0;c[n>>2]=m;c[d+8>>2]=m}else{c[d+8>>2]=k+g;c[n>>2]=l-g}b=b+ -1|0;k=c[d+40>>2]|0;if((b|0)==0){break}else{d=d+32|0}}}c[a+8>>2]=k+g}a=h+4|0;if((e|0)==0){i=j;return}d=h+16|0;c[d>>2]=(c[d>>2]|0)-g;d=e+ -1|0;b=c[h+12>>2]|0;if((d|0)==0){h=a}else{h=h+ -28+(e<<3<<2)|0;e=d;while(1){l=a+44|0;k=c[l>>2]|0;d=k-b|0;if((d|0)<(f|0)){n=((d|0)/2|0)+b|0;c[l>>2]=n;c[a+8>>2]=n}else{c[a+8>>2]=b+g;c[l>>2]=k-g}e=e+ -1|0;b=c[a+40>>2]|0;if((e|0)==0){break}else{a=a+32|0}}}c[h+8>>2]=b+g;i=j;return}function KN
7329 Kn(e,l,o)|0}}while(0);do{if((k|0)==25){k=0;if((wu(c[m>>2]|0,n,j)|0)<=0){break}b[g+(n<<1)>>1]=Kn(e,l,c[c[h>>2]>>2]|0)|0}}while(0);n=n+1|0;if((n|0)>=256){h=0;break a}}}}while(0);h=0;while(1){j=c[d+176+(h<<2)>>2]|0;do{if((j|0)!=0){j=bf(c[834]|0,j)|0;if((j|0)==0){break}b[g+(h<<1)>>1]=Kn(e,m,j)|0}}while(0);h=h+1|0;if((h|0)>=256){h=0;break}}}}while(0);if((k|0)==15){j=0;while(1){q=Kn(e,m,j)|0;h=g+(j<<1)|0;b[h>>1]=q;if(q<<16>>16==0){b[h>>1]=Knse{break}}}else{s=0}if(f>>>0>(c[b+(s<<5)+4>>2]|0)>>>0){x=u;u=0.0;break}x=+h[b+(s<<5)+8>>3];t=+h[b+(s<<5)+16>>3];r=+h[b+(s<<5)+24>>3];u=0.0}}while(0);h[l>>3]=u;h[m>>3]=x;h[n>>3]=t;h[o>>3]=r;y=c[q>>2]|0;i=p;return y|0}function qy(a){a=a|0;var b=0;b=i;a=c[a+176>>2]|0;if((a|0)==0){a=0;i=b;return a|0}a=c[a+8>>2]|0;i=b;return a|0}function ry(a){a=a|0;var b=0,d=0;b=i;d=a+180|0;a=c[d>>2]|0;if((a|0)==0){d=0;i=b;return d|0}tu(a);d=c[d>>2]|0;i=b;return d|0}function sy(a){a=a|0;var b=0;b=i;a=c[a+176>>2]|0;if((a|0)==0){a=0;i=b;return a|0}a=c[a>>2]|0;i=b;return a|0}function ty(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=i;t=i;i=i+8|0;u=t;l=i;i=i+32|0;s=i;i=i+8|0;r=s;m=i;i=i+32|0;o=i;i=i+8|0;q=o;c[e>>2]=0;n=a+180|0;if((c[n>>2]|0)==0){x=0;i=f;return x|0}k=a+176|0;g=c[k>>2]|0;if((g|0)==0){g=0}else{g=c[g>>2]|0}if((te(g,164792)|0)==0){x=0;i=f;return x|0}if((c[a+52>>2]|0)>-1){c[e>>2]=c[a+228>>2];x=c[a+224>>2]|0;i=f;return x|0}if((Hn(d)|0)>0){h=-1;g=0}else{x=0;i=f;return x|0}while(1){p=In(d,g)|0;v=Jn(d,g)|0;j=(p|0)==3;if(j&(v|0)==10){break}if(j&(v|0)==1){h=g}else{h=(p|0)==0&(h|0)<0?g:h}g=g+1|0;if((g|0)>=(Hn(d)|0)){g=h;break}}if((g|0)<0){x=0;i=f;return x|0}p=jd[c[(c[a>>2]|0)+8>>2]&511](a)|0;w=c[k>>2]|0;h=c[(c[w>>2]|0)+28>>2]|0;x=164848;v=165816;while(1){j=v+16|0;if((Qc(x|0,h|0)|0)==0){break}x=c[j>>2]|0;if((x|0)==0){v=j;break}else{v=j}}h=GW(262144)|0;j=GW(524288)|0;bX(j|0,0,524288)|0;do{if((c[v>>2]|0)==0){c[t>>2]=c[(c[w>>2]|0)+28>>2];Qe(-1,166024,u);k=jd[c[(c[a>>2]|0)+4>>2]&511](a)|0;c[n>>2]=k;if((k|0)==0){o=0;break}else{l=0}do{if((wu(k,l,q)|0)==0){c[j+(l<<1<<2)>>2]=0}else{c[j+(l<<1<<2)>>2]=c[c[o>>2]>>2]}c[j+((l<<1|1)<<2)>>2]=0;l=l+1|0;k=c[n>>2]|0}while(l>>>0<65536);uu(k);o=0}else{fe(l,c[v+8>>2]|0);o=ou(l,16)|0;if((o|0)!=0){n=0;do{if((wu(o,n,r)|0)==1){c[h+(n<<2)>>2]=c[c[s>>2]>>2]}else{c[h+(n<<2)>>2]=0}n=n+1|0;}while(n>>>0<65536);su(o);HW(o)}o=GW(262144)|0;bX(o|0,0,262144)|0;n=c[v+12>>2]|0;q=c[n>>2]|0;if((q|0)!=0){do{fe(m,q);q=c[k>>2]|0;if((q|0)==0){q=0}else{q=c[q>>2]|0}q=zf(c[834]|0,q,m,0)|0;if((q|0)!=0){if((c[q+8>>2]|0)==0){Kt(q,j,65536,2)}else{Kt(q,o,65536,1)}Gt(q)}ke(m);n=n+4|0;q=c[n>>2]|0;}while((q|0)!=0)}On(d,c[v+4>>2]|0)|0;ke(l)}}while(0);l=ye(65536,2)|0;k=(j|0)!=0;m=(o|0)==0;n=(h|0)==0;p=(p|0)==0;q=0;do{a:do{if(k){s=q<<1;t=0;u=0;do{r=c[j+(u+s<<2)>>2]|0;if((r|0)==0){r=0;break a}x=Kn(d,g,r)|0;t=x&65535;u=u+1|0;}while((u|0)<2&x<<16>>16==0)}else{t=0;r=0}}while(0);do{if(!((t|0)!=0|m)){r=c[o+(q<<2)>>2]|0;if((r|0)==0){t=0;r=0;break}t=Kn(d,g,r)|0;s=Qn(d,t&65535)|0;x=(s&65535|0)==0?t:s&65535;t=x&65535;if(x<<16>>16!=0|n){break}r=c[h+(q<<2)>>2]|0;if((r|0)==0){r=0;break}s=Kn(d,g,r)|0;t=Qn(d,s&65535)|0;t=((t&65535|0)==0?s:t&65535)&65535}}while(0);do{if((t|0)!=0|n){u=r;s=52}else{u=c[h+(q<<2)>>2]|0;if((u|0)==0){r=0;u=0;s=53;break}t=(Kn(d,g,u)|0)&65535;s=52}}while(0);if((s|0)==52){s=0;r=t&65535;if((t|0)==0){s=53}}b:do{if((s|0)==53){if(k){s=c[j+(q<<2)>>2]|0}else{s=u}if((s|0)==0){break}else{t=8192;u=165304}while(1){u=u+4|0;if((t|0)==(s|0)){break}t=c[u>>2]|0;if((t|0)==0){break b}else{}}r=Knkn