Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Ar

6 function cs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,q=0,t=0,u=0,v=0,w=0,x=0;x=r;r=r+16|0;if((r|0)>=(s|0))ka();u=x;v=x+8|0;k[v>>2]=0;a:do if(!b){k[e>>2]=0;f=0}else{g=i[b>>0]|0;if(g<<24>>24==-98)do{b=k[b+12>>2]|0;g=i[b>>0]|0}while(g<<24>>24==-98);if(g<<24>>24==-97)n=l[b+38>>0]|0;else n=g&255;if((n|0)==157){b=k[b+12>>2]|0;n=i[b>>0]|0;if((n&-2)<<24>>24==-124){h=-1;g=-1;t=n&255;n=26016;w=12}else w=30}else if((n|0)==38){h=arar
7 >>1]=p}f=xs(A,f,cr(a,79,o,d,0)|0)|0;w=w+1|0}while((w|0)<(m[x>>1]|0))}f=cr(a,19,f,0,0)|0}n=xs(A,n,f)|0};k[z+0>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;k[z+12>>2]=0;k[z+16>>2]=0;k[z+20>>2]=0;k[z+24>>2]=0;k[z+28>>2]=0;k[z+4>>2]=b;k[z>>2]=a;qs(z,n)|0;f=_s(a,b,n,0,0,0,0)|0;Bh(B,134,l[e+24>>0]|0,h,0)|0;if(f)at(f);Lk(A,n);if(C){f=k[B+32>>2]|0;if(f>>>0>C>>>0)k[(k[B+4>>2]|0)+(C*20|0)+8>>2]=f;k[(k[B+24>>2]|0)+88>>2]=f+-1}r=D;return}function mv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+32|0;if((r|0)>=(s|0))ka();p=u;n=u+16|0;t=u+28|0;g=k[a>>2]|0;q=Tq(a)|0;if(q){j=(k[g+16>>2]|0)+(b<<4)|0;l=a+388|0;m=(d|0)==0;o=0;a:while(1){h=k[28744+(o<<3)>>2]|0;f=di(g,h,k[j>>2]|0)|0;do if(!f){if(!o){k[p>>2]=k[j>>2];k[p+4>>2]=h;k[p+8>>2]=28768;Gr(a,28816,p);k[n>>2]=k[l>>2];i[t>>0]=4;o=o+1|0;continue a}}else{f=k[f+32>>2]|0;k[n+(o<<2)>>2]=f;i[t+o>>0]=0;ls(a,b,f,1,h);if(m){Bh(q,118,f,b,0)|0;break}else{k[p>>2]=k[j>>2];k[p+4>>2]=h;k[p+8>>2]=e;k[p+12>>2]=d;Gr(a,28840,p);break}}while(0);o=o+1|0;if((o|0)==3)break}Ch(q,Bh(q,55,c,k[n>>2]|0,b)|0,3,-14);f=k[q+4>>2]|0;if(f)i[f+(((k[q+32>>2]|0)+-1|0)*20|0)+3>>0]=i[t>>0]|0}r=u;return}function nv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=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;D=k[a>>2]|0;E=e+1|0;F=e+2|0;J=e+3|0;K=e+4|0;L=e+5|0;I=e+6|0;G=e+7|0;H=a+72|0;M=k[H>>2]|0;k[H>>2]=(M|0)>(G|0)?M:G;M=Tq(a)|0;if((!((M|0)==0|(b|0)==0)?(p=b+32|0,(k[p>>2]|0)!=0):0)?(q=k[b>>2]|0,(Kc(q,25568,7)|0)!=0):0){l=k[b+68>>2]|0;a:do if(l){h=k[D+20>>2]|0;if((h|0)>0){g=k[D+16>>2]|0;o=0;while(1){n=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(l|0)){n=o;break a}if((n|0)<(h|0))o=n;else break}}else n=0}else n=-1e6;while(0);if(!(Xq(a,28,q,0,k[(k[D+16>>2]|0)+(n<<4)>>2]|0)|0)){ls(a,n,k[p>>2]|0,0,k[b>>2]|0);w=f+1|0;C=f+2|0;q=a+68|0;B=k[q>>2]|0;k[q>>2]=(B|0)>(C|0)?B:C;Vq(a,f,n,b,54);q=k[b>>2]|0;Ch(M,Bh(M,97,0,K,0)|0,q,0);q=k[b+8>>2]|0;C=(c|0)==0;if(!q)l=1;else{x=b+44|0;y=a+8|0;z=M+4|0;A=M+32|0;B=M+24|0;l=1;do{do if(C|(q|0)==(c|0)){l=(k[q+36>>2]|0)==0?0:l;p=i[q+51>>0]|0;if(!((i[x>>0]&32)!=0&(p&3)==2)){g=m[q+48>>1]|0;o=k[q>>2]|0;h=q+46|0;if(!(p&8)){s=h;r=g;p=g}else{s=h;r=g;p=m[h>>1]|0}}else{s=q+46|0;p=m[s>>1]|0;r=p;o=k[b>>2]|0}u=p+-1|0;Ch(M,Bh(M,97,0,L,0)|0,o,0);v=k[H>>2]|0;p=u+G|0;k[H>>2]=(v|0)>(p|0)?v:p;Bh(M,54,w,k[q+40>>2]|0,n)|0;p=k[y>>2]|0;Ch(p,-1,ms(a,q)|0,-6);Bh(M,25,r,F,0)|0;Bh(M,25,m[s>>1]|0,J,0)|0;Bh(M,1,0,F,E)|0;Ch(M,-1,28552,-5);p=k[z>>2]|0;if(p)i[p+(((k[A>>2]|0)+-1|0)*20|0)+3>>0]=2;v=Bh(M,108,w,0,0)|0;Bh(M,25,0,F,0)|0;o=k[A>>2]|0;if((u|0)>0){r=Cs(M)|0;t=rh(D,u<<2,0)|0;if(!t)break;Bh(M,16,0,0,0)|0;o=k[A>>2]|0;if(((u|0)==1?(j[s>>1]|0)==1:0)?(i[q+50>>0]|0)!=0:0)Bh(M,77,G,r,0)|0;p=q+32|0;g=0;do{s=hr(a,k[(k[p>>2]|0)+(g<<2)>>2]|0)|0;Bh(M,25,g,F,0)|0;Bh(M,47,w,g,J)|0;h=Bh(M,78,J,0,g+G|0)|0;Ch(M,h,s,-4);k[t+(g<<2)>>2]=h;h=k[z>>2]|0;if(h)i[h+(((k[A>>2]|0)+-1|0)*20|0)+3>>0]=-128;g=g+1|0}while((g|0)!=(u|0));Bh(M,25,u,F,0)|0;Bh(M,16,0,r,0)|0;p=o+-1|0;h=k[A>>2]|0;if(h>>>0>p>>>0)k[(k[z>>2]|0)+(p*20|0)+8>>2]=h;k[(k[B>>2]|0)+88>>2]=h+-1;p=0;while(1){g=k[t+(p<<2)>>2]|0;if(h>>>0>g>>>0)k[(k[z>>2]|0)+(g*20|0)+8>>2]=h;k[(k[B>>2]|0)+88>>2]=h+-1;Bh(M,47,w,p,p+G|0)|0;p=p+1|0;if((p|0)==(u|0))break;h=k[A>>2]|0}h=k[B>>2]|0;g=~r;do if((r|0)<0){p=k[h+112>>2]|0;if(!p)break;k[p+(g<<2)>>2]=k[A>>2]}while(0);k[h+88>>2]=(k[A>>2]|0)+-1;rg(D,t)}Bh(M,1,1,E,J)|0;Ch(M,-1,28592,-5);p=k[z>>2]|0;if(p)i[p+(((k[A>>2]|0)+-1|0)*20|0)+3>>0]=2;Bh(M,9,w,o,0)|0;Bh(M,1,0,E,I)|0;Ch(M,-1,28640,-5);p=k[z>>2]|0;if(p)i[p+(((k[A>>2]|0)+-1|0)*20|0)+3>>0]=1;Ch(M,Bh(M,49,K,3,J)|0,28632,0);Bh(M,74,d,e,0)|0;Bh(M,75,d,J,e)|0;o=k[z>>2]|0;p=k[A>>2]|0;if(o)i[o+((p+-1|0)*20|0)+3>>0]=8;if(p>>>0>v>>>0)k[o+(v*20|0)+8>>2]=p;k[(k[B>>2]|0)+88>>2]=p+-1}while(0);q=k[q+20>>2]|0}while((q|0)!=0)}if(!(l<<24>>24==0|C^1)){Bh(M,50,f,I,0)|0;l=Bh(M,46,I,0,0)|0;Bh(M,28,0,L,0)|0;Ch(M,Bh(M,49,K,3,J)|0,28632,0);Bh(M,74,d,e,0)|0;Bh(M,75,d,J,e)|0;h=k[M+4>>2]|0;g=k[M+32>>2]|0;if(h)i[h+((g+-1|0)*20|0)+3>>0]=8;if(g>>>0>l>>>0)k[h+(l*20|0)+8>>2]=g;k[(k[M+24>>2]|0)+88>>2]=g+-1}}}return}function ov(a,b){a=a|0;b=b|0;a=Tq(a)|0;if(a)Bh(a,123,b,0,0)|0;return}function pv(a){a=a|0;var b=0,c=0,d=0;a:while(1){b=k[a+4>>2]|0;do if(b&4096)if(!(b&262144)){a=a+12|0;break}else{a=k[(k[a+20>>2]|0)+4>>2]|0;break}else{if(b&512){a=0;break a}switch(i[a>>0]|0){case -102:case -100:case -97:{d=11;break a}case 38:{d=10;break a}case 119:break;default:{d=14;break a}}a=k[(k[k[a+20>>2]>>2]|0)+4>>2]|0}while(0);a=k[a>>2]|0}if((d|0)==10)a=ar(k[a+8>>2]|0,0)|0;else if((d|0)==11){c=k[a+44>>2]|0;if(c){b=j[a+32>>1]|0;if(b<<16>>16<0)a=68;else a=i[(k[c+4>>2]|0)+((b<<16>>16)*24|0)+21>>0]|0}else d=14}if((d|0)==14)a=i[a+1>>0]|0;return a|0}function qv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Bh(a,25,0,c,0)|0;d=Bh(a,108,b,0,0)|0;Bh(a,47,b,0,c)|0;b=k[a+4>>2]|0;c=k[a+32>>2]|0;if(b)i[b+((c+-1|0)*20|0)+3>>0]=-128;if(c>>>0>d>>>0)k[b+(d*20|0)+8>>2]=c;k[(k[a+24>>2]|0)+88>>2]=c+-1;return}function rv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=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;E=r;r=r+32|0;if((r|0)>=(s|0))ka();z=E;C=a+68|0;D=k[C>>2]|0;k[C>>2]=D+1;C=Tq(a)|0;A=(c&4|0)!=0;B=b+4|0;a:do if((((((((((((k[B>>2]&2048|0)!=0?(h=k[b+20>>2]|0,!((k[a+64>>2]|0)!=0|(h|0)==0)):0)?(k[h+52>>2]|0)==0:0)?(j[h+6>>1]&5)==0:0)?(k[h+60>>2]|0)==0:0)?(k[h+36>>2]|0)==0:0)?(g=k[h+32>>2]|0,(k[g>>2]|0)==1):0)?(k[g+28>>2]|0)==0:0)?(t=k[g+24>>2]|0,(t|0)!=0):0)?(i[t+44>>0]&16)==0:0)?(f=k[h>>2]|0,(k[f>>2]|0)==1):0)?(n=k[k[f+4>>2]>>2]|0,(i[n>>0]|0)==-102):0){x=k[a>>2]|0;y=j[n+32>>1]|0;m=k[t+68>>2]|0;b:do if(m){g=k[x+20>>2]|0;if((g|0)>0){f=k[x+16>>2]|0;e=0;while(1){h=e+1|0;if((k[f+(e<<4)+12>>2]|0)==(m|0)){h=e;break b}if((h|0)<(g|0))e=h;else break}}else h=0}else h=-1e6;while(0);v=h<<16>>16;Fr(a,v);ls(a,v,k[t+32>>2]|0,0,k[t>>2]|0);w=y<<16>>16;if(y<<16>>16<0){e=Tq(a)|0;d=a+80|0;f=k[d>>2]|0;k[d>>2]=f+1;f=Bh(e,44,f,0,0)|0;Vq(a,D,v,t,54);e=k[C+32>>2]|0;if(e>>>0>f>>>0)k[(k[C+4>>2]|0)+(f*20|0)+8>>2]=e;k[(k[C+24>>2]|0)+88>>2]=e+-1;e=1;m=49;break}e=Tu(a,k[b+12>>2]|0,n)|0;u=t+4|0;m=i[(k[u>>2]|0)+(w*24|0)+21>>0]|0;h=(sv(b)|0)<<24>>24;if((h|0)==65)h=1;else if((h|0)==66)h=m<<24>>24==66&1;else h=m<<24>>24>66&1;m=k[t+8>>2]|0;if((m|0)!=0&(h|0)!=0){n=x+62|0;h=a+80|0;g=a+8|0;f=(d|0)==0;o=C+32|0;q=C+4|0;t=C+24|0;p=a+72|0;c:while(1){do if((j[k[m+4>>2]>>1]|0)==y<<16>>16?(bo(x,i[n>>0]|0,k[k[m+32>>2]>>2]|0,0)|0)==(e|0):0){if(!A)break c;if((j[m+46>>1]|0)!=1)break;if(i[m+50>>0]|0)break c}while(0);m=k[m+20>>2]|0;if(!m){m=38;break a}}B=Tq(a)|0;e=k[h>>2]|0;k[h>>2]=e+1;h=Bh(B,44,e,0,0)|0;Bh(C,54,D,k[m+40>>2]|0,v)|0;e=k[g>>2]|0;Ch(e,-1,ms(a,m)|0,-6);e=(l[k[m+28>>2]>>0]|0)+3|0;if(!f?(i[(k[u>>2]|0)+(w*24|0)+20>>0]|0)==0:0){B=(k[p>>2]|0)+1|0;k[p>>2]=B;k[d>>2]=B;qv(C,D,B)}f=k[o>>2]|0;if(f>>>0>h>>>0)k[(k[q>>2]|0)+(h*20|0)+8>>2]=f;k[(k[t>>2]|0)+88>>2]=f+-1;m=49}else m=38}else m=38;while(0);do if((m|0)==38){if((c&1|0)!=0?(k[B>>2]&2048|0)==0:0){c=b+12|0;y=k[c>>2]|0;k[c>>2]=0;k[z+0>>2]=0;k[z+4>>2]=0;k[z+8>>2]=0;k[z+12>>2]=0;k[z+16>>2]=0;k[z+20>>2]=0;C=z+20|0;i[C>>0]=1;k[z>>2]=78;k[z+4>>2]=79;k[z+24>>2]=0;ws(z,b)|0;C=i[C>>0]|0;k[c>>2]=y;if(!(C<<24>>24)){e=5;m=49;break}if((k[k[b+20>>2]>>2]|0)<3){e=5;m=49;break}}g=a+424|0;h=k[g>>2]|0;if(A){k[g>>2]=0;if((j[(k[b+12>>2]|0)+32>>1]|0)<0){e=((k[B>>2]|0)>>>11&1)+1|0;f=0}else{e=2;f=0}}else if(!d){e=2;f=0}else{e=a+72|0;f=(k[e>>2]|0)+1|0;k[e>>2]=f;k[d>>2]=f;e=2}ju(a,b,f,(e|0)==1&1)|0;k[g>>2]=h}while(0);if((m|0)==49)k[b+28>>2]=D;r=E;return e|0}function sv(a){a=a|0;var b=0,c=0;b=pv(k[a+12>>2]|0)|0;c=k[a+16>>2]|0;do if(!c)if(!(k[a+4>>2]&2048))return (b<<24>>24==0?65:b)|0;else{b=Gu(k[k[(k[k[a+20>>2]>>2]|0)+4>>2]>>2]|0,b)|0;break}else b=Gu(c,b)|0;while(0);return b|0}function tv(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=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,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;Z=r;r=r+16|0;if((r|0)>=(s|0))ka();W=Z;U=k[a>>2]|0;X=f+28|0;k[X>>2]=-1;T=f+44|0;k[T>>2]=0;a:do if((b|0)!=0?(j[e+28>>1]&20)==0:0){o=k[U+20>>2]|0;if((o|0)>0){m=k[U+16>>2]|0;n=0;while(1){if(!(id(k[m+(n<<4)>>2]|0,b)|0))break;n=n+1|0;if((n|0)>=(o|0)){S=b;b=0;break a}}S=b;b=k[m+(n<<4)+12>>2]|0}else{S=b;b=0}}else{S=0;b=0}while(0);Q=(S|0)==0;N=Q&(c|0)!=0;h=a+412|0;I=a+436|0;J=f+1|0;Y=f+32|0;K=a+428|0;M=a+432|0;R=(c|0)==0;P=f+4|0;g=e;p=0;l=0;o=0;n=0;b:while(1){H=(g|0)!=0;m=g+4|0;G=g+8|0;q=0;t=p;while(1){p=(q|0)==0;if(!(H&p)){V=82;break b}q=k[m>>2]|0;if(q){F=k[q>>2]|0;if((F|0)>0){p=0;E=0;D=q+8|0;while(1){C=k[D+16>>2]|0;u=k[D+20>>2]|0;if((u|0)!=0?(j[u+6>>1]&512)!=0:0){u=k[u>>2]|0;A=k[u>>2]|0;if((A|0)>0){B=k[u+4>>2]|0;u=0;w=0;do{if(Av(k[B+(w*20|0)+8>>2]|0,d,c,S)|0){j[Y>>1]=w;p=p+1|0;t=2;u=1;n=D}w=w+1|0}while((w|0)<(A|0))}else u=0;if(!((u|0)!=0|R)){v=t;V=21}}else{v=t;V=21}c:do if((V|0)==21){V=0;if(!Q?(k[C+68>>2]|0)!=(b|0):0){t=v;break}if(!R){u=k[D+12>>2]|0;if(!u)u=k[C>>2]|0;if(id(u,c)|0){t=v;break}}t=v+1|0;n=(v|0)==0?D:n;u=j[C+38>>1]|0;if(u<<16>>16>0){q=(p|0)==1;x=D+36|0;y=D+48|0;A=0;B=k[C+4>>2]|0;d:while(1){e:do if(!(id(k[B>>2]|0,d)|0)){if(!q){n=A;break d}if(!(i[x>>0]&4)){w=k[y>>2]|0;if(!w){n=A;break d}z=k[w+4>>2]|0;if((z|0)<=0){n=A;break d}w=k[w>>2]|0;v=0;while(1){if(!(id(k[w+(v<<3)>>2]|0,d)|0))break e;v=v+1|0;if((v|0)>=(z|0)){n=A;break d}}}}while(0);A=A+1|0;if((A|0)>=(u<<16>>16|0))break c;else B=B+24|0}j[Y>>1]=(n|0)==(j[C+36>>1]|0)?-1:n&65535;p=p+1|0;n=D}}while(0);E=E+1|0;if((E|0)>=(F|0))break;else D=D+72|0}}else p=0;if(!n)B=0;else{k[X>>2]=k[n+40>>2];q=k[n+16>>2]|0;k[T>>2]=q;if(i[n+36>>0]&8)k[P>>2]=k[P>>2]|1048576;B=n;b=k[q+68>>2]|0}}else{p=0;B=n}do if(N&(t|0)==0)if(k[h>>2]|0){q=i[I>>0]|0;if(q<<24>>24!=109)if(id(27560,c)|0)if(q<<24>>24==108){v=p;t=0;w=l;break}else V=49;else w=1;else V=49;if((V|0)==49){V=0;if(!(id(27568,c)|0))w=0;else{v=p;t=0;w=l;break}}k[X>>2]=w;v=k[h>>2]|0;if(v){b=k[v+68>>2]|0;u=j[v+38>>1]|0;f:do if(u<<16>>16>0){q=0;t=k[v+4>>2]|0;while(1){if(!(id(k[t>>2]|0,d)|0))break;q=q+1|0;if((q|0)<(u<<16>>16|0))t=t+24|0;else break f}q=(q|0)==(j[v+36>>1]|0)?-1:q}else q=0;while(0);n=u<<16>>16;if((q|0)>=(n|0)?(ei(d)|0)!=0:0)t=(i[v+44>>0]&32)==0?-1:q;else t=q;if((t|0)<(n|0)){p=p+1|0;do if((t|0)>=0){q=(t|0)>31?-1:1<<t;if(!w){k[K>>2]=k[K>>2]|q;break}else{k[M>>2]=k[M>>2]|q;break}}else i[J>>0]=68;while(0);j[Y>>1]=t;k[T>>2]=v;t=1;l=1;V=66}else{t=1;V=66}}else{v=p;t=0;w=l}}else{v=p;t=0;w=l}else V=66;while(0);if((V|0)==66){V=0;if((p|0)==0&(t|0)==1&(B|0)!=0)if((ei(d)|0)!=0?(i[(k[B+16>>2]|0)+44>>0]&32)==0:0){j[Y>>1]=-1;i[J>>0]=68;q=1;n=B;continue}else{v=0;w=l}else{v=p;w=l}}p=k[G>>2]|0;u=(v|0)==0;if((p|0)!=0&R&u?(O=k[p>>2]|0,(O|0)>0):0){l=k[p+4>>2]|0;n=0;do{q=k[l+(n*20|0)+4>>2]|0;if((q|0)!=0?(id(q,d)|0)==0:0){V=75;break b}n=n+1|0}while((n|0)<(O|0))}if(u){q=t;l=w;n=B;break}else{q=v;l=w;n=B}}g=k[g+16>>2]|0;p=q;o=o+1|0}do if((V|0)==75){if((j[g+28>>1]&1)==0?(k[(k[l+(n*20|0)>>2]|0)+4>>2]&2|0)!=0:0){k[W>>2]=q;yh(a,27576,W);e=2;break}Dv(a,p,n,f,10360,o);if((i[f>>0]|0)==24)V=115;else V=96}else if((V|0)==82){if(p&R?(k[P>>2]&64|0)!=0:0){i[f>>0]=97;k[T>>2]=0;e=1;break}q=(q|0)==1;if(!q){p=p?27608:27624;do if(Q)if(R){k[W>>2]=p;k[W+4>>2]=d;yh(a,27680,W);break}else{k[W>>2]=p;k[W+4>>2]=c;k[W+8>>2]=d;yh(a,27664,W);break}else{k[W>>2]=p;k[W+4>>2]=S;k[W+8>>2]=c;k[W+12>>2]=d;yh(a,27648,W)}while(0);i[a+17>>0]=1;E=e+24|0;k[E>>2]=(k[E>>2]|0)+1}o=j[Y>>1]|0;if(o<<16>>16>-1&(n|0)!=0){B=o<<16>>16>63;C=nw(1,0,o<<16>>16|0)|0;E=n+56|0;A=E;D=k[A+4>>2]|(B?-2147483648:L);k[E>>2]=k[A>>2]|(B?0:C);k[E+4>>2]=D}E=f+12|0;Lk(U,k[E>>2]|0);k[E>>2]=0;E=f+16|0;Lk(U,k[E>>2]|0);k[E>>2]=0;i[f>>0]=(l|0)!=0?62:-102;if(q)V=96;else e=2}while(0);g:do if((V|0)==96){p=k[m>>2]|0;l=k[a>>2]|0;if(!((k[l+284>>2]|0)==0|(b|0)==0)){o=k[l+20>>2]|0;if((o|0)>0){m=k[l+16>>2]|0;n=0;while(1){l=n+1|0;if((k[m+(n<<4)+12>>2]|0)==(b|0)){l=n;break}if((l|0)<(o|0))n=l;else break}if((l|0)<0){V=115;break}else b=l}else b=0;if((i[f>>0]|0)!=62){m=k[p>>2]|0;if((m|0)<=0){V=115;break}h=k[X>>2]|0;l=0;while(1){if((h|0)==(k[p+(l*72|0)+48>>2]|0))break;l=l+1|0;if((l|0)>=(m|0)){V=115;break g}}h=p+(l*72|0)+24|0}m=k[h>>2]|0;h=j[Y>>1]|0;l=h<<16>>16;if(m){if(h<<16>>16<=-1){h=j[m+36>>1]|0;if(h<<16>>16>-1)h=k[(k[m+4>>2]|0)+((h<<16>>16)*24|0)>>2]|0;else h=12944}else h=k[(k[m+4>>2]|0)+(l*24|0)>>2]|0;if((jv(a,k[m>>2]|0,h,b)|0)==2){i[f>>0]=101;V=115}else V=115}else V=115}else V=115}while(0);if((V|0)==115){E=e+20|0;k[E>>2]=(k[E>>2]|0)+1;if((g|0)==(e|0))e=1;else{do{e=k[e+16>>2]|0;E=e+20|0;k[E>>2]=(k[E>>2]|0)+1}while((e|0)!=(g|0));e=1}}r=Z;return e|0}function uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i[b>>0]|0;a:do if(c<<24>>24==-100|c<<24>>24==-102){c=k[a+24>>2]|0;d=k[c>>2]|0;b:do if((d|0)!=0?(e=k[d>>2]|0,(e|0)>0):0){a=k[b+28>>2]|0;b=0;while(1){if((a|0)==(k[d+(b*72|0)+48>>2]|0))break;b=b+1|0;if((b|0)>=(e|0))break b}a=c+4|0;k[a>>2]=(k[a>>2]|0)+1;break a}while(0);a=c+8|0;k[a>>2]=(k[a>>2]|0)+1}while(0);return 0}function vv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();v=w;o=w+12|0;a:do if(!c)e=0;else{t=k[k[b>>2]>>2]|0;u=k[a>>2]|0;b:do if((k[c>>2]|0)>0){e=0;p=k[c+4>>2]|0;c:while(1){m=k[p>>2]|0;d:do if(!m)f=0;else{f=m;while(1){g=k[f+4>>2]|0;if(!(g&4096))break d;if(!(g&262144))f=f+12|0;else f=k[(k[f+20>>2]|0)+4>>2]|0;f=k[f>>2]|0;if(!f){f=0;break}}}while(0);if((i[d>>0]|0)!=71?(n=wv(k[b>>2]|0,f)|0,k[o>>2]=n,(n|0)>0):0)j[p+16>>1]=n;else q=13;do if((q|0)==13){q=0;if(Rs(f,o)|0){f=k[o>>2]|0;if((f+-1|0)>>>0>65534)break c;j[p+16>>1]=f;break}h=p+16|0;j[h>>1]=0;if(qs(a,m)|0){e=1;break a}g=k[b>>2]|0;l=k[g>>2]|0;if((l|0)>0){g=k[g+4>>2]|0;f=0;do{x=f;f=f+1|0;if(!(Hu(m,k[g+(x*20|0)>>2]|0,-1)|0))j[h>>1]=f}while((f|0)<(l|0))}}while(0);e=e+1|0;if((e|0)>=(k[c>>2]|0))break b;else p=p+20|0}k[v>>2]=e+1;k[v+4>>2]=d;k[v+8>>2]=t;yh(u,27064,v);e=1;break a}while(0);e=Bu(u,b,c,d)|0}while(0);r=w;return e|0}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:do if((i[b>>0]|0)==27?(d=k[b+8>>2]|0,e=k[a>>2]|0,(e|0)>0):0){a=k[a+4>>2]|0;b=0;while(1){c=k[a+(b*20|0)+4>>2]|0;if((c|0)!=0?(id(c,d)|0)==0:0)break;b=b+1|0;if((b|0)>=(e|0)){b=0;break a}}b=b+1|0}else b=0;while(0);return b|0}function xv(a,b){a=a|0;b=b|0;var c=0,d=0;c=j[a+38>>1]|0;a:do if(c<<16>>16>0){d=k[a+4>>2]|0;c=c<<16>>16;a=0;while(1){if(!(id(k[d+(a*24|0)>>2]|0,b)|0))break a;a=a+1|0;if((a|0)>=(c|0)){a=-1;break}}}else a=-1;while(0);return a|0}function yv(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=k[a>>2]|0;c=Wv(i,b,c,d)|0;d=Wv(i,b,e,f)|0;f=cr(a,79,c,d,0)|0;if((f|0)!=0&(g|0)!=0){c=f+4|0;k[c>>2]=k[c>>2]|1;j[f+36>>1]=k[d+28>>2]}f=xs(i,k[h>>2]|0,f)|0;k[h>>2]=f;return}function zv(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){c=b&65535;do{d=a+4|0;k[d>>2]=k[d>>2]|1;j[a+36>>1]=c;zv(k[a+12>>2]|0,b);a=k[a+16>>2]|0}while((a|0)!=0)}return}function Av(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=0;while(1){f=i[a+e>>0]|0;if(f<<24>>24==46|f<<24>>24==0)break;e=e+1|0}if(d)if((Kc(a,d,e)|0)==0?(i[d+e>>0]|0)==0:0)g=7;else e=0;else g=7;do if((g|0)==7){d=e+1|0;g=a+d|0;f=0;while(1){h=i[a+(f+d)>>0]|0;if(h<<24>>24==46|h<<24>>24==0)break;f=f+1|0}if(c){if(Kc(g,c,f)|0){e=0;break}if(i[c+f>>0]|0){e=0;break}}if((b|0)!=0?(id(a+(e+2+f)|0,b)|0)!=0:0){e=0;break}e=1}while(0);return e|0}function Bv(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(d=k[a+4>>2]|0,(d|0)>0):0){c=k[a>>2]|0;a=0;while(1){if(!(id(k[c+(a<<3)>>2]|0,b)|0))break a;a=a+1|0;if((a|0)>=(d|0)){a=-1;break}}}else a=-1;while(0);return a|0}function Cv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;k[e>>2]=c;if(!c)d=0;else{d=c;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-c&1073741823}k[e+4>>2]=d;d=Ar
11 function rq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=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,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;da=r;r=r+192|0;if((r|0)>=(s|0))ka();_=da+48|0;Y=da+24|0;X=da+160|0;E=da+156|0;P=da+152|0;H=da+148|0;S=da+144|0;K=da+140|0;D=da+16|0;ba=da;v=da+128|0;u=da+116|0;w=da+96|0;e=da+88|0;ca=a+8|0;$=k[ca>>2]|0;aa=k[a>>2]|0;k[ba+0>>2]=k[9286];k[ba+4>>2]=k[9287];k[ba+8>>2]=k[9288];a:do switch(b|0){case 8:{v=k[$>>2]|0;z=v+65|0;if(((i[z>>0]|0)==0?(i[$+18>>0]|0)==0:0)?(V=$+64|0,(k[V>>2]|0)==0):0){y=Tq($)|0;if(y){do{}while((Uq(y,61)|0)!=0);Bh(y,24,0,0,0)|0;do if(!(i[z>>0]|0)){h=$+332|0;q=k[h>>2]|0;if((q|0)==0?(k[$+316>>2]|0)==0:0)break;n=y+32|0;o=k[n>>2]|0;if(o)k[(k[y+4>>2]|0)+8>>2]=o;k[(k[y+24>>2]|0)+88>>2]=o+-1;t=v+20|0;b:do if((k[t>>2]|0)>0){c=y+96|0;d=$+328|0;e=v+16|0;f=v+145|0;g=y+4|0;p=0;while(1){u=1<<p;if(((u&q|0)!=0?(k[c>>2]=k[c>>2]|u,_=k[(k[(k[e>>2]|0)+(p<<4)+12>>2]|0)+4>>2]|0,Ch(y,Bh(y,4,p,(k[d>>2]&u|0)!=0&1,k[$+(p<<2)+336>>2]|0)|0,_,-14),(i[f>>0]|0)==0):0)?(J=k[g>>2]|0,(J|0)!=0):0)i[J+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=1;p=p+1|0;if((p|0)>=(k[t>>2]|0))break b;q=k[h>>2]|0}}while(0);n=$+452|0;if((k[n>>2]|0)>0){h=$+520|0;g=0;do{o=k[(k[(k[h>>2]|0)+(g<<2)>>2]|0)+60>>2]|0;c:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break c;o=k[o+24>>2]|0;if(!o){o=0;break}}while(0);Ch(y,Bh(y,146,0,0,0)|0,o,-10);g=g+1|0}while((g|0)<(k[n>>2]|0))}k[n>>2]=0;n=Tq($)|0;h=$+396|0;if((k[h>>2]|0)>0){g=$+400|0;f=0;do{Y=k[g>>2]|0;_=k[Y+(f<<4)+12>>2]|0;Ch(n,Bh(n,145,k[Y+(f<<4)>>2]|0,k[Y+(f<<4)+4>>2]|0,l[Y+(f<<4)+8>>0]|0)|0,_,-2);f=f+1|0}while((f|0)<(k[h>>2]|0))}d=k[$+8>>2]|0;o=k[$+404>>2]|0;if(o){c=(k[$>>2]|0)+16|0;p=d+32|0;q=d+4|0;do{h=k[o+8>>2]|0;n=k[o+12>>2]|0;Vq($,0,h,k[(k[(k[c>>2]|0)+(h<<4)+12>>2]|0)+72>>2]|0,54);h=n+1|0;Bh(d,28,0,n,h)|0;g=k[p>>2]|0;e=n+-1|0;f=k[k[o+4>>2]>>2]|0;Ch(d,Bh(d,97,0,e,0)|0,f,0);f=g+9|0;Bh(d,108,0,f,0)|0;Bh(d,47,0,0,n)|0;Bh(d,78,e,g+7|0,n)|0;e=k[q>>2]|0;if(e)i[e+(((k[p>>2]|0)+-1|0)*20|0)+3>>0]=16;Bh(d,103,0,h,0)|0;Bh(d,47,0,1,n)|0;Bh(d,16,0,f,0)|0;Bh(d,9,0,g+2|0,0)|0;Bh(d,25,0,n,0)|0;Bh(d,61,0,0,0)|0;o=k[o>>2]|0}while((o|0)!=0)}n=k[$+316>>2]|0;if((n|0)!=0?(i[$+23>>0]=0,(k[n>>2]|0)>0):0){h=n+4|0;g=0;do{_=k[h>>2]|0;Wq($,k[_+(g*20|0)>>2]|0,k[_+(g*20|0)+16>>2]|0);g=g+1|0}while((g|0)<(k[n>>2]|0))}Bh(y,16,0,1,0)|0}while(0);if((k[V>>2]|0)==0?(i[z>>0]|0)==0:0){if((k[$+404>>2]|0)!=0?(W=$+68|0,(k[W>>2]|0)==0):0)k[W>>2]=1;Fh(y,$);k[$+12>>2]=101;i[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)k[$+12>>2]=1;k[$+68>>2]=0;k[$+72>>2]=0;k[$+76>>2]=0;k[$+440>>2]=0;k[$+332>>2]=0}break}case 33:{_=a+(aa<<4)+16|0;_q($,0,0,0,k[_>>2]|0);Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 35:{e=k[a+(aa<<4)+20>>2]|0;d=k[a+(aa<<4)+16>>2]|0;if((e|0)==5?(Kc(d,20456,5)|0)==0:0){i[ba>>0]=32;break a}i[ba>>0]=0;k[_>>2]=e;k[_+4>>2]=d;yh($,20464,_);break}case 26:{Zq($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,0,0,k[a+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{k[ba>>2]=0;break}case 27:{i[(k[$>>2]|0)+250>>0]=0;Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{k[ba>>2]=1;break}case 32:{_q($,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0,i[a+(aa<<4)+16>>0]|0,0);break}case 34:{i[ba>>0]=0;break}case 62:{dr($,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);break}case 63:{er($,0,0,0,0,k[a+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 70:{k[ba>>2]=0;break}case 71:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2]&~k[a+(aa<<4)+20>>2]|k[a+(aa<<4)+16>>2];break}case 73:case 72:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 74:{k[ba>>2]=k[a+(aa<<4)+16>>2];k[ba+4>>2]=255;break}case 76:{k[ba>>2]=7;break}case 75:{k[ba>>2]=k[a+(aa<<4)+16>>2]<<8;k[ba+4>>2]=65280;break}case 6:{i[$+450>>0]=1;k[$+440>>2]=0;break}case 5:{i[$+450>>0]=0;k[$+440>>2]=0;break}case 9:{e=k[a+(aa+-1<<4)+16>>2]|0;d=k[$>>2]|0;if((Xq($,22,37104,0,0)|0)==0?(B=Tq($)|0,(B|0)!=0):0){if((e|0)!=7?(C=d+20|0,(k[C>>2]|0)>0):0){e=(e|0)==9?2:1;d=B+96|0;g=0;do{Bh(B,4,g,e,0)|0;k[d>>2]=k[d>>2]|1<<g;g=g+1|0}while((g|0)<(k[C>>2]|0))}Bh(B,3,0,0,0)|0}break}case 46:{$=k[a+(aa+-3<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 44:{e=a+(aa<<4)+16|0;d=k[$+484>>2]|0;if((d|0)!=0?(F=j[d+38>>1]|0,F<<16>>16>=1):0){_=(F<<16>>16)+-1|0;Z=k[d+4>>2]|0;$=$q(k[$>>2]|0,e)|0;k[Z+(_*24|0)+12>>2]=$;$=ar($,Z+(_*24|0)+22|0)|0;i[Z+(_*24|0)+21>>0]=$}break}case 58:{_=cr($,157,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[v>>2]=_;k[v+4>>2]=k[a+(aa+-1<<4)+16>>2];k[v+8>>2]=k[a+(aa<<4)+24>>2];br($,v);break}case 59:{_=a+(aa<<4)+16|0;Z=cr($,97,0,0,_)|0;k[u>>2]=Z;_=k[_>>2]|0;k[u+4>>2]=_;k[u+8>>2]=_+(k[a+(aa<<4)+20>>2]|0);br($,u);break}case 61:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(q=j[e+38>>1]|0,q<<16>>16>=1):0)i[(k[e+4>>2]|0)+(((q<<16>>16)+-1|0)*24|0)+20>>0]=d;break}case 7:{i[$+450>>0]=2;k[$+440>>2]=0;break}case 13:{k[ba>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{k[ba>>2]=l[a+(aa<<4)+14>>0];break}case 18:case 17:{if((Xq($,22,37136,0,0)|0)==0?(y=Tq($)|0,(y|0)!=0):0)Bh(y,3,1,0,0)|0;break}case 38:{_=k[a+(aa+-2<<4)+16>>2]|0;k[ba>>2]=_;k[ba+4>>2]=(k[$+504>>2]|0)-_+(k[$+508>>2]|0);break}case 39:{u=a+(aa<<4)+16|0;q=k[$>>2]|0;d=k[$+484>>2]|0;d:do if(d){t=d+38|0;if((j[t>>1]|0)>=(k[q+96>>2]|0)){k[_>>2]=k[d>>2];yh($,36528,_);break}p=$q(q,u)|0;if(p){n=j[t>>1]|0;c=n<<16>>16;e:do if(n<<16>>16>0){o=i[9328+(l[p>>0]|0)>>0]|0;g=k[d+4>>2]|0;h=p+1|0;e=0;while(1){f=k[g+(e*24|0)>>2]|0;if(o<<24>>24==(i[9328+(l[f>>0]|0)>>0]|0)?(id(h,f+1|0)|0)==0:0)break;e=e+1|0;if((e|0)>=(c|0))break e}k[_>>2]=p;yh($,36552,_);rg(q,p);break d}else g=k[d+4>>2]|0;while(0);h=d+4|0;do if(!(c&7)){g=wo(q,g,(c*24|0)+192|0,0)|0;if(!g){rg(q,p);break d}else{k[h>>2]=g;n=j[t>>1]|0;break}}while(0);_=n<<16>>16;Z=g+(_*24|0)|0;k[Z+0>>2]=0;k[Z+4>>2]=0;k[Z+8>>2]=0;k[Z+12>>2]=0;k[Z+16>>2]=0;k[Z+20>>2]=0;k[Z>>2]=p;i[g+(_*24|0)+21>>0]=65;i[g+(_*24|0)+22>>0]=1;j[t>>1]=(j[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=k[Y+4>>2]|0;_=ba;k[_>>2]=k[Y>>2];k[_+4>>2]=Z;k[$+324>>2]=0;break}case 47:{$=k[a+(aa+-5<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 49:{$=k[a+(aa+-1<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=$+320|0;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 57:case 55:{br($,a+(aa<<4)+16|0);break}case 64:{fr($,k[a+(aa+-1<<4)+16>>2]|0);break}case 65:{gr($,0,a+(aa+-2<<4)+16|0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 66:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(p=k[e+16>>2]|0,(p|0)!=0):0)i[p+24>>0]=d;break}case 67:{g=k[$+484>>2]|0;if((g|0)!=0?(A=(j[g+38>>1]|0)+-1|0,h=k[$>>2]|0,f=$q(h,a+(aa<<4)+16|0)|0,(f|0)!=0):0){if(!(hr($,f)|0)){rg(h,f);break a}n=g+4|0;rg(h,k[(k[n>>2]|0)+(A*24|0)+16>>2]|0);k[(k[n>>2]|0)+(A*24|0)+16>>2]=f;e=k[g+8>>2]|0;if(e)do{if((j[k[e+4>>2]>>1]|0)==(A|0))k[k[e+32>>2]>>2]=k[(k[n>>2]|0)+(A*24|0)+16>>2];e=k[e+20>>2]|0}while((e|0)!=0)}break}case 56:{br($,a+(aa+-1<<4)+16|0);break}case 226:{e=aa+-1|0;d=a+(e<<4)+16|0;h=a+(aa<<4)+16|0;g=ur(k[$>>2]|0,0,d,h)|0;n=aa+-3|0;f=cr($,75,k[a+(n<<4)+16>>2]|0,0,0)|0;k[ba>>2]=f;if(!f){Io(k[$>>2]|0,g);g=0}else{g=pr($,0,g,0,0,0,0,0,0,0)|0;k[f+20>>2]=g;g=k[ba>>2]|0;_=g+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,g)}if(k[a+(aa+-2<<4)+16>>2]|0){$=cr($,19,g,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(n<<4)+20>>2];c=k[h>>2]|0;if(!c)c=(k[d>>2]|0)+(k[a+(e<<4)+20>>2]|0)|0;else c=c+(k[a+(aa<<4)+20>>2]|0)|0;k[ba+8>>2]=c;break}case 225:{e=aa+-4|0;c=cr($,75,k[a+(e<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c){Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);c=0}else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];c=k[ba>>2]|0;_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,c,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 227:{c=cr($,20,0,0,0)|0;k[ba>>2]=c;if(!c)Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}k[ba+4>>2]=k[a+(aa+-3<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 228:{d=cr($,136,k[a+(aa+-3<<4)+16>>2]|0,0,0)|0;k[ba>>2]=d;if(!d){Sk(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);Lk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)}else{e=k[a+(aa+-1<<4)+16>>2]|0;c=k[a+(aa+-2<<4)+16>>2]|0;if(e)c=qr($,c,e)|0;k[d+20>>2]=c;Dr($,k[ba>>2]|0)}k[ba+4>>2]=k[a+(aa+-4<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 291:case 240:{k[ba>>2]=2;break}case 241:{k[ba>>2]=0;break}case 239:{er($,a+(aa+-7<<4)+16|0,a+(aa+-6<<4)+16|0,ur(k[$>>2]|0,0,a+(aa+-4<<4)+16|0,0)|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-10<<4)+16>>2]|0,a+(aa+-11<<4)+16|0,k[a+(aa<<4)+16>>2]|0,0,k[a+(aa+-8<<4)+16>>2]|0)|0;break}case 229:{$=qr($,qr($,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 230:{$=qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 237:{$=qr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 238:{$=qr($,0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 245:{c=qr($,0,Ar($,0,a+(aa+-1<<4)+16|0,1)|0)|0;k[ba>>2]=c;rr($,c,a+(aa+-2<<4)+16|0,1);if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20632;yh($,34544,_)}i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2]}break}case 244:{c=ArAr){k[h>>2]=0;In(a+3|0,h)|0;e=k[h>>2]|0;e=ks(e,((e|0)<0)<<31>>31)|0;j[c>>1]=e;break}if(Lh(13480,a,10352,0)|0)i[g>>0]=i[g>>0]|64}else i[g>>0]=i[g>>0]|4;while(0);while(1){e=i[a>>0]|0;if(e<<24>>24==32|e<<24>>24==0)break;a=a+1|0}while(1){f=a+1|0;if(!(e<<24>>24))break a;else if(e<<24>>24!=32)continue b;e=i[f>>0]|0;a=f}}}while(0);r=l;return}function Tq(a){a=a|0;var b=0,c=0;c=a+8|0;b=k[c>>2]|0;if(!b){b=Ah(a)|0;k[c>>2]=b;if(b)Bh(b,155,0,0,0)|0;if((k[a+408>>2]|0)==0?(j[(k[a>>2]|0)+60>>1]&8)==0:0)i[a+23>>0]=1}return b|0}function Uq(a,b){a=a|0;b=b|0;var c=0;c=(k[a+32>>2]|0)+-1|0;if((c|0)>(k[(k[a+24>>2]|0)+88>>2]|0)?(i[(k[a+4>>2]|0)+(c*20|0)>>0]|0)==b<<24>>24:0){Eh(a,c);c=1}else c=0;return c|0}function Vq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=Tq(a)|0;f=d+32|0;ls(a,c,k[f>>2]|0,(e|0)==55&1,k[d>>2]|0);if(!(i[d+44>>0]&32)){d=j[d+38>>1]|0;Ch(g,Bh(g,e,b,k[f>>2]|0,c)|0,d,-14)}else{f=k[d+8>>2]|0;a:do if(!f)f=0;else while(1){if((i[f+51>>0]&3)==2)break a;f=k[f+20>>2]|0;if(!f){f=0;break}}while(0);Bh(g,e,b,k[f+40>>2]|0,c)|0;d=k[a+8>>2]|0;Ch(d,-1,ms(a,f)|0,-6)}return}function Wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)!=0?(i[b>>0]|0)==-97:0)Bh(k[a+8>>2]|0,33,k[b+28>>2]|0,c,0)|0;else f=4;if(((f|0)==4?(e=ns(a,b,c)|0,(e|0)!=(c|0)):0)?(d=k[a+8>>2]|0,(d|0)!=0):0)Bh(d,34,e,c,0)|0;return}function Xq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;f=k[a>>2]|0;do if(((i[f+145>>0]|0)==0?(i[a+451>>0]|0)==0:0)?(g=k[f+284>>2]|0,(g|0)!=0):0){f=pc[g&7](k[f+288>>2]|0,b,c,d,e,k[a+492>>2]|0)|0;if((f|0)==0|(f|0)==2)break;else if((f|0)==1){yh(a,25216,h);k[a+12>>2]=23;f=1;break}else{yh(a,25232,h);k[a+12>>2]=1;f=1;break}}else f=0;while(0);r=j;return f|0}function Yq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=$q(k[a>>2]|0,c)|0;do if(c){d=Tq(a)|0;if((d|0)!=0?(Xq(a,32,k[37088+(b<<2)>>2]|0,c,0)|0)==0:0){Ch(d,Bh(d,2,b,0,0)|0,c,-1);break}rg(k[a>>2]|0,c)}while(0);return}function Zq(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();p=v;n=v+4|0;u=k[a>>2]|0;b=jr(a,b,c,n)|0;a:do if((b|0)>=0){o=(d|0)!=0;if(o?(k[c+4>>2]|0)!=0&(b|0)!=1:0){yh(a,36976,p);break}t=o?1:b;c=k[n>>2]|0;o=c;b=k[o+4>>2]|0;n=a+496|0;k[n>>2]=k[o>>2];k[n+4>>2]=b;n=$q(u,c)|0;if(n){b:do if((Qr(a,n)|0)==0?(m=(i[u+144>>0]|0)==1?1:d,q=u+16|0,h=k[(k[q>>2]|0)+(t<<4)>>2]|0,(Xq(a,18,(m|0)==1?13184:13208,0,h)|0)==0):0){d=(m|0)!=0;if(!e)b=d?4:2;else b=d?6:8;o=(f|0)!=0;if(!o?(Xq(a,b,n,0,h)|0)!=0:0)break;do if(!(i[a+451>>0]|0)){d=k[(k[q>>2]|0)+(t<<4)>>2]|0;if(Ln(a)|0)break b;if(!(di(u,n,d)|0)){if(!(gq(u,n,d)|0))break;k[p>>2]=n;yh(a,37048,p);break b}if(!g){k[p>>2]=c;yh(a,37024,p);break b}else{Fr(a,t);break b}}while(0);m=rh(u,76,0)|0;if(!m){i[u+65>>0]=1;k[a+12>>2]=7;q=a+64|0;k[q>>2]=(k[q>>2]|0)+1;break}h=m+0|0;d=h+76|0;do{i[h>>0]=0;h=h+1|0}while((h|0)<(d|0));k[m>>2]=n;j[m+36>>1]=-1;h=k[(k[q>>2]|0)+(t<<4)+12>>2]|0;k[m+68>>2]=h;j[m+40>>1]=1;j[m+28>>1]=200;k[a+484>>2]=m;if((i[a+18>>0]|0)==0?(dw(n,26576)|0)==0:0)k[h+72>>2]=m;if(i[u+145>>0]|0)break a;c=Tq(a)|0;if(!c)break a;q=k[a+408>>2]|0;Fr(a,t);h=1<<t;q=((q|0)==0?a:q)+328|0;k[q>>2]=k[q>>2]|h;if(o)Bh(c,146,0,0,0)|0;m=a+72|0;b=k[m>>2]|0;n=b+1|0;k[a+384>>2]=n;o=b+2|0;k[a+388>>2]=o;b=b+3|0;k[m>>2]=b;Bh(c,51,t,b,2)|0;m=c+96|0;k[m>>2]=k[m>>2]|h;m=Bh(c,45,b,0,0)|0;Bh(c,25,(k[u+24>>2]&32768|0)!=0?1:4,b,0)|0;Bh(c,52,t,2,b)|0;Bh(c,25,l[u+62>>0]|0,b,0)|0;Bh(c,52,t,5,b)|0;d=c+32|0;h=k[d>>2]|0;if(h>>>0>m>>>0)k[(k[c+4>>2]|0)+(m*20|0)+8>>2]=h;k[(k[c+24>>2]|0)+88>>2]=h+-1;if(!(f|e)){q=Bh(c,121,t,o,0)|0;k[a+416>>2]=q}else Bh(c,25,0,o,0)|0;os(a,t);Bh(c,74,0,n,0)|0;Bh(c,28,0,b,0)|0;Bh(c,75,0,b,n)|0;h=k[c+4>>2]|0;if(h)i[h+(((k[d>>2]|0)+-1|0)*20|0)+3>>0]=8;Bh(c,61,0,0,0)|0;break a}while(0);rg(u,n)}}while(0);r=v;return}function _q(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,n=0,o=0,p=0,q=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;O=r;r=r+176|0;if((r|0)>=(s|0))ka();J=O+80|0;G=O+168|0;D=O;E=O+136|0;F=O+112|0;K=k[a>>2]|0;a:do if((!((c|0)==0&(e|0)==0)?(L=K+65|0,(i[L>>0]|0)==0):0)?(M=a+484|0,N=k[M>>2]|0,(N|0)!=0):0){I=K+145|0;if(i[I>>0]|0)k[N+32>>2]=k[K+140>>2];b:do if(d&32){n=N+44|0;h=l[n>>0]|0;if(h&8){yh(a,36584,J);break a}if(!(h&4)){k[J>>2]=k[N>>2];yh(a,36640,J);break}i[n>>0]=h|32;o=k[a+8>>2]|0;n=k[a+416>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))n=(k[o+4>>2]|0)+(n*20|0)|0;else n=29120;i[n>>0]=120}n=k[a+420>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))h=(k[o+4>>2]|0)+(n*20|0)|0;else h=29120;i[h>>0]=16}h=N+36|0;if((j[h>>1]|0)>-1){n=qr(a,0,0)|0;if(!n)break;z=ph(k[a>>2]|0,k[(k[N+4>>2]|0)+((j[h>>1]|0)*24|0)>>2]|0)|0;A=k[n+4>>2]|0;k[A+4>>2]=z;i[A+12>>0]=i[a+448>>0]|0;n=er(a,0,0,0,n,l[N+45>>0]|0,0,0,0,0)|0;if(!n)break;u=n+51|0;i[u>>0]=i[u>>0]&-4|2;j[h>>1]=-1;u=j[n+46>>1]|0}else{n=k[N+8>>2]|0;c:do if(!n)n=0;else while(1){if((i[n+51>>0]&3)==2)break c;n=k[n+20>>2]|0;if(!n){n=0;break}}while(0);v=n+46|0;o=j[v>>1]|0;if((o&65535)>1){t=k[n+4>>2]|0;q=n+48|0;u=1;h=1;do{f=j[t+(u<<1)>>1]|0;p=h;g=t;while(1){if((p|0)<=0){C=36;break}if((j[g>>1]|0)==f<<16>>16){C=35;break}else{p=p+-1|0;g=g+2|0}}if((C|0)==35){C=0;j[q>>1]=(j[q>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;j[t+(h<<1)>>1]=f;o=j[v>>1]|0;h=h+1|0}u=u+1|0}while((u|0)<(o&65535|0))}else h=1;u=h&65535;j[v>>1]=u}p=n+51|0;o=i[p>>0]|32;i[p>>0]=o;A=u&65535;if(!(i[K+147>>0]|0)){if(u<<16>>16){o=k[n+4>>2]|0;h=k[N+4>>2]|0;g=0;do{i[h+((j[o+(g<<1)>>1]|0)*24|0)+20>>0]=1;g=g+1|0}while((g|0)<(A|0));o=i[p>>0]|0}i[p>>0]=o|8}k[n+40>>2]=k[N+32>>2];p=k[N+8>>2]|0;if(p){x=u<<16>>16==0;y=n+4|0;z=n+32|0;do{d:do if((i[p+51>>0]&3)!=2){do if(x)o=j[p+46>>1]|0;else{q=k[p+4>>2]|0;o=j[p+46>>1]|0;g=o&65535;f=k[y>>2]|0;w=0;h=0;do{t=j[f+(w<<1)>>1]|0;v=g;u=q;while(1){if((v|0)<=0){u=1;break}if((j[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}h=u+h|0;w=w+1|0}while((w|0)<(A|0));g=p+46|0;if(!h)break;if(ps(K,p,(o&65535)+h|0)|0)break b;if(x)break d;t=j[g>>1]|0;w=p+4|0;f=p+32|0;v=t;u=0;t=t&65535;while(1){o=k[w>>2]|0;h=j[(k[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;q=o;while(1){if((v|0)<=0){C=63;break}if((j[q>>1]|0)==h<<16>>16)break;else{v=v+-1|0;q=q+2|0}}if((C|0)==63){C=0;j[o+(t<<1)>>1]=h;k[(k[f>>2]|0)+(t<<2)>>2]=k[(k[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=j[g>>1]|0}}while(0);j[p+48>>1]=o}while(0);p=k[p+20>>2]|0}while((p|0)!=0)}v=N+38|0;o=j[v>>1]|0;h=o<<16>>16;if((A|0)>=(h|0)){j[n+48>>1]=o;break}if((ps(K,n,h)|0)==0?(B=j[v>>1]|0,B<<16>>16>0):0){q=n+4|0;u=n+32|0;o=B;t=0;n=A;do{g=k[q>>2]|0;p=n;h=g;while(1){if((p|0)<=0){C=74;break}if((j[h>>1]|0)==(t|0))break;else{p=p+-1|0;h=h+2|0}}if((C|0)==74){C=0;j[g+(n<<1)>>1]=t;k[(k[u>>2]|0)+(n<<2)>>2]=11152;o=j[v>>1]|0;n=n+1|0}t=t+1|0}while((t|0)<(o<<16>>16|0))}}while(0);C=N+68|0;n=k[C>>2]|0;e:do if(n){h=k[K+20>>2]|0;if((h|0)>0){g=k[K+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0))break e;if((f|0)<(h|0))o=f;else{o=f;break}}}else o=0}else o=-1e6;while(0);g=k[N+24>>2]|0;f:do if(g){k[E+0>>2]=0;k[E+4>>2]=0;k[E+8>>2]=0;k[E+12>>2]=0;k[E+16>>2]=0;k[E+20>>2]=0;k[E+24>>2]=0;k[E+28>>2]=0;n=D+0|0;h=n+80|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(h|0));k[D>>2]=1;k[D+16>>2]=k[N>>2];k[D+24>>2]=N;k[D+48>>2]=-1;k[E>>2]=a;k[E+4>>2]=D;j[E+28>>1]=4;n=g+4|0;if((k[g>>2]|0)>0){h=0;do{if(qs(E,k[(k[n>>2]|0)+(h*20|0)>>2]|0)|0)break f;h=h+1|0}while((h|0)<(k[g>>2]|0))}}while(0);A=N+38|0;f=j[A>>1]|0;if(f<<16>>16>0){n=f<<16>>16;h=k[N+4>>2]|0;g=0;while(1){g=(l[h+22>>0]|0)+g|0;n=n+-1|0;if((n|0)<=0)break;else h=h+24|0}}else g=0;g=ks(((m[N+36>>1]|0)>>>15&65535)+g<<2,0)|0;j[N+42>>1]=g;g=k[N+8>>2]|0;if(g)do{rs(g);g=k[g+20>>2]|0}while((g|0)!=0);if(!(i[I>>0]|0)){B=Tq(a)|0;if(!B)break;Bh(B,61,0,0,0)|0;y=(k[N+12>>2]|0)==0;h=y?36672:36680;y=y?31232:35480;do if(!e){g=d<<24>>24==0?c:a+504|0;e=k[g>>2]|0;n=k[a+496>>2]|0;f=e-n|0;if((i[e>>0]|0)!=59)f=(k[g+4>>2]|0)+f|0;k[J>>2]=h;k[J+4>>2]=f;k[J+8>>2]=n;n=a+388|0;f=N;h=zh(K,36688,J)|0}else{n=a+388|0;Bh(B,55,1,k[n>>2]|0,o)|0;h=k[B+4>>2]|0;if(h)i[h+(((k[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;k[a+68>>2]=2;i[F>>0]=14;k[F+4>>2]=1;i[F+1>>0]=0;k[F+8>>2]=0;k[F+12>>2]=0;nr(a,e,F)|0;Bh(B,61,1,0,0)|0;if(!(k[a+64>>2]|0)){f=ss(a,e)|0;if(!f)break a;F=f+38|0;j[A>>1]=j[F>>1]|0;e=f+4|0;k[N+4>>2]=k[e>>2];j[F>>1]=0;k[e>>2]=0;pg(K,f)}z=N+4|0;w=j[A>>1]|0;if(w<<16>>16>0){q=w<<16>>16;t=0;h=0;u=k[z>>2]|0;while(1){f=k[u>>2]|0;g=0;while(1){p=i[f>>0]|0;if(p<<24>>24==34)g=g+1|0;else if(!(p<<24>>24))break;f=f+1|0;g=g+1|0}h=h+7+g|0;t=t+1|0;if((t|0)==(q|0))break;else u=u+24|0}p=h+2|0}else p=2;f=k[N>>2]|0;h=0;while(1){g=i[f>>0]|0;if(!(g<<24>>24))break;else if(g<<24>>24==34)h=h+1|0;f=f+1|0;h=h+1|0}u=h+p|0;x=(u|0)<50;p=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;h=vg(u,((u|0)<0)<<31>>31)|0;if(!h){i[L>>0]=1;f=N;h=0;break}fd(u,h,36904,J)|0;g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;k[G>>2]=g-h&1073741823;ts(h,G,k[N>>2]|0);f=k[G>>2]|0;q=f+1|0;k[G>>2]=q;i[h+f>>0]=40;f=u-q|0;g=h+q|0;if((j[A>>1]|0)>0){w=0;t=k[z>>2]|0;while(1){fd(f,g,p,J)|0;g=h+q|0;if(!g)g=0;else{p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;g=p-g&1073741823}k[G>>2]=g+q;ts(h,G,k[t>>2]|0);g=k[36920+((i[t+21>>0]|0)+-65<<2)>>2]|0;p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;q=p-g&1073741823;p=k[G>>2]|0;pw(h+p|0,g|0,q|0)|0;q=p+q|0;k[G>>2]=q;p=w+1|0;f=u-q|0;g=h+q|0;if((p|0)<(j[A>>1]|0)){w=p;t=t+24|0;p=v}else break}}k[J>>2]=x;fd(f,g,10344,J)|0;f=N}while(0);g=K+16|0;d=k[f>>2]|0;F=k[n>>2]|0;e=k[a+384>>2]|0;k[J>>2]=k[(k[g>>2]|0)+(o<<4)>>2];k[J+4>>2]=(o|0)==1?13184:13208;k[J+8>>2]=y;k[J+12>>2]=d;k[J+16>>2]=d;k[J+20>>2]=F;k[J+24>>2]=h;k[J+28>>2]=e;Gr(a,36704,J);rg(K,h);Ir(a,o);if((i[N+44>>0]&8)!=0?(H=k[g>>2]|0,(k[(k[H+(o<<4)+12>>2]|0)+72>>2]|0)==0):0){k[J>>2]=k[H+(o<<4)>>2];Gr(a,36792,J)}k[J>>2]=k[f>>2];Nr(B,o,zh(K,36840,J)|0);if(!(i[I>>0]|0))break}else f=N;if(Nk((k[C>>2]|0)+8|0,k[f>>2]|0,N)|0){i[L>>0]=1;break}k[M>>2]=0;e=K+24|0;k[e>>2]=k[e>>2]|2;if(!(k[N+12>>2]|0)){e=k[a+496>>2]|0;e=(Sn(e,(k[((k[b>>2]|0)==0?c:b)>>2]|0)-e|0)|0)+13|0;k[N+48>>2]=e}}while(0);r=O;return}function $q(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)c=0;else{d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)!=0?(c=ow(b|0,0,1,0)|0,c=rh(a,c,L)|0,(c|0)!=0):0){pw(c|0,d|0,b|0)|0;i[c+b>>0]=0}else c=0;qo(c)}return c|0}function ar
12 q=j[U>>1]|0}Ct(a,ba,108,0,1,ga,F+-1-(q<<16>>16)|0,e,G);q=(j[U>>1]|0)+1|0;it(a,F,q);if((k[D>>2]|0)>=(q|0))break;k[D>>2]=q;k[E>>2]=F}while(0);do if(!da){if(i[ca>>0]&16)Bh(ia,28,0,T,0)|0;k:do if((M|0)<=-1)if(!((i[ca>>0]&16|W)<<24>>24)){Bh(ia,74,k[fa>>2]|0,S,P)|0;F=1;break}else{Bh(ia,28,0,S,0)|0;F=0;break}else{do if(J)Bh(ia,47,N,M,S)|0;else{if(aa){Bh(ia,33,M+L|0,S,0)|0;break}Wq(a,k[(k[f+4>>2]|0)+(M*20|0)>>2]|0,S);if(!(i[(k[ia>>2]|0)+65>>0]|0)){p=(k[ia+4>>2]|0)+(((k[ia+32>>2]|0)+-1|0)*20|0)|0;if(!p)break}else p=29120;if((i[p>>0]|0)!=28)break;if(i[ca>>0]&16)break;i[p>>0]=74;k[p+4>>2]=k[fa>>2];k[p+8>>2]=S;k[p+12>>2]=P;F=1;break k}while(0);if(!(i[ca>>0]&16)){p=Bh(ia,77,S,0,0)|0;Bh(ia,74,k[fa>>2]|0,S,P)|0;o=k[ia+32>>2]|0;if(o>>>0>p>>>0)k[(k[ia+4>>2]|0)+(p*20|0)+8>>2]=o;k[(k[ia+24>>2]|0)+88>>2]=o+-1}else Bh(ia,76,S,(k[ia+32>>2]|0)+2|0,0)|0;Bh(ia,38,S,0,0)|0;F=0}while(0);if((P|0)>0)Bh(k[a+8>>2]|0,136,P,S,0)|0;if((j[U>>1]|0)>0){D=ga+36|0;E=ga+4|0;z=(n|0)==0;y=d+4|0;x=(L|0)==(Q|0);n=f+4|0;o=a+23|0;p=$+20|0;q=$+4|0;B=$+24|0;C=0;t=0;do{A=C+Q|0;l:do if((C|0)==(j[D>>1]|0))Bh(ia,29,A,0,0)|0;else{m:do if(Y)if(!(i[(k[E>>2]|0)+(C*24|0)+23>>0]&2)){w=C-t|0;X=258;break}else{t=t+1|0;break}else{v=k[y>>2]|0;if((v|0)<=0){w=0;X=258;break}u=k[d>>2]|0;m=0;while(1){w=m+1|0;if((k[u+(m<<3)+4>>2]|0)==(C|0)){w=m;X=258;break m}if((w|0)<(v|0))m=w;else{X=258;break}}}while(0);do if((X|0)==258){X=0;if((w|0)<0|z)break;if(R?(w|0)>=(k[y>>2]|0):0)break;if(J){Bh(ia,47,N,w,A)|0;break l}if(!aa){Wq(a,k[(k[n>>2]|0)+(w*20|0)>>2]|0,A);break l}if(x)break l;Bh(ia,34,w+L|0,A,0)|0;break l}while(0);w=k[(k[E>>2]|0)+(C*24|0)+4>>2]|0;do if(i[o>>0]|0){k[$+0>>2]=0;k[$+4>>2]=0;k[$+8>>2]=0;k[$+12>>2]=0;k[$+16>>2]=0;k[$+20>>2]=0;i[p>>0]=1;k[$>>2]=78;k[q>>2]=79;k[B>>2]=0;ws($,w)|0;if(!(i[p>>0]|0))break;Lt(a,w,A,0);break l}while(0);Wq(a,w,A)}while(0);C=C+1|0}while((C|0)<(j[U>>1]|0))}if(!(i[ca>>0]&16)){Dt(a,ga,g,k[fa>>2]|0,k[ha>>2]|0,T,0,M>>>31&255^1,e&255,G,_);Et(a,ga,0,T,0,0);Gt(a,ga,k[fa>>2]|0,k[ha>>2]|0,T,g,0,F,(k[_>>2]|0)==0&1);break}p=k[ga+60>>2]|0;n:do if(!p)p=0;else while(1){if((k[p>>2]|0)==(ja|0))break n;p=k[p+24>>2]|0;if(!p){p=0;break}}while(0);vt(a,ga);Ch(ia,Bh(ia,15,1,(j[U>>1]|0)+2|0,T)|0,p,-10);o=k[ia+4>>2]|0;if(o)i[o+(((k[ia+32>>2]|0)+-1|0)*20|0)+3>>0]=(e|0)==10?2:e&255;$=k[Z>>2]|0;i[(($|0)==0?a:$)+21>>0]=1}while(0);if(k[H>>2]&128)Bh(ia,37,h,1,0)|0;if(ba)Ct(a,ba,108,0,2,ga,S+-1-(j[U>>1]|0)|0,e,G);p=ia+24|0;o=k[p>>2]|0;m=~G;do if((G|0)<0){n=k[o+112>>2]|0;if(!n)break;k[n+(m<<2)>>2]=k[ia+32>>2]}while(0);n=ia+32|0;k[o+88>>2]=(k[n>>2]|0)+-1;do if(J){Bh(ia,9,N,I,0)|0;n=k[n>>2]|0;if(n>>>0>K>>>0)k[(k[ia+4>>2]|0)+(K*20|0)+8>>2]=n;k[(k[p>>2]|0)+88>>2]=n+-1;Bh(ia,61,N,0,0)|0}else{if(!aa)break;Bh(ia,16,0,I,0)|0;n=k[n>>2]|0;if(n>>>0>K>>>0)k[(k[ia+4>>2]|0)+(K*20|0)+8>>2]=n;k[(k[p>>2]|0)+88>>2]=n+-1}while(0);if((i[ca>>0]&16)!=0|da)break;m=k[fa>>2]|0;if((m|0)<(k[ha>>2]|0))Bh(ia,61,m,0,0)|0;m=k[ga+8>>2]|0;if(!m)break;else n=0;while(1){Bh(ia,61,(k[ha>>2]|0)+n|0,0,0)|0;m=k[m+20>>2]|0;if(!m)break;else n=n+1|0}}while(0);if((i[ea>>0]|0)==0?(k[a+412>>2]|0)==0:0)xt(a);if((((k[ja+24>>2]&128|0)!=0?(i[ea>>0]|0)==0:0)?(k[a+412>>2]|0)==0:0)?(Bh(ia,35,h,1,0)|0,nq(ia,1),(i[(k[ia>>2]|0)+65>>0]|0)==0):0)ah(k[ia+16>>2]|0,33488,-1,1,0)|0}else g=0}else g=0}else{g=0;f=0}while(0);Io(ja,b);Sk(ja,f);Rk(ja,c,1);Mk(ja,d);rg(ja,g);r=la;return}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f;if(!b){b=rh(a,8,0)|0;if(!b)b=0;else{e=b;g=e;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;e=e+4|0;i[e>>0]=0;i[e+1>>0]=0;i[e+2>>0]=0;i[e+3>>0]=0;e=4}}else e=4;do if((e|0)==4){e=Mt(a,k[b>>2]|0,8,b+4|0,d)|0;k[b>>2]=e;d=k[d>>2]|0;if((d|0)<0){Mk(a,b);b=0;break}else{a=$q(a,c)|0;k[(k[b>>2]|0)+(d<<3)>>2]=a;break}}while(0);r=f;return b|0}function Ar8>>2]|0,k[d>>2]|0)|0}function _r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if(b){c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;if((c-b&1073741823)>>>0>6?(Kc(b,25568,7)|0)==0:0){k[d>>2]=b;yh(a,25576,d);c=1}else c=0}else c=0;r=e;return c|0}function $r(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if(!b){k[d>>2]=c;a=zh(a,25992,d)|0}else{k[d>>2]=b;k[d+4>>2]=c;d=zh(a,26e3,d)|0;rg(a,b);a=d}r=e;return a|0}function as(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;d=k[a>>2]|0;e=k[(k[d+16>>2]|0)+28>>2]|0;if((k[b+68>>2]|0)!=(e|0)?(c=Fs(a,b)|0,(c|0)!=0):0){b=c;c=0;do{if((k[b+20>>2]|0)==(e|0))c=$r(d,c,k[b>>2]|0)|0;b=k[b+32>>2]|0}while((b|0)!=0);if(c){b=k[a>>2]|0;k[f>>2]=c;b=zh(b,25968,f)|0;rg(k[a>>2]|0,c);c=b}else c=0}else c=0;r=g;return c|0}function bs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();l=o;m=Tq(a)|0;if(m){d=k[a>>2]|0;g=k[b+68>>2]|0;a:do if(g){h=k[d+20>>2]|0;if((h|0)>0){e=k[d+16>>2]|0;f=0;while(1){d=f+1|0;if((k[e+(f<<4)+12>>2]|0)==(g|0))break a;if((d|0)<(h|0))f=d;else{f=d;break}}}else f=0}else f=-1e6;while(0);d=Fs(a,b)|0;if(d)do{e=k[a>>2]|0;i=k[d+20>>2]|0;b:do if(i){j=k[e+20>>2]|0;if((j|0)>0){h=k[e+16>>2]|0;g=0;while(1){e=g+1|0;if((k[h+(g<<4)+12>>2]|0)==(i|0)){e=g;break b}if((e|0)<(j|0))g=e;else break}}else e=0}else e=-1e6;while(0);j=k[d>>2]|0;Ch(m,Bh(m,126,e,0,0)|0,j,0);d=k[d+32>>2]|0}while((d|0)!=0);d=k[b>>2]|0;Ch(m,Bh(m,124,f,0,0)|0,d,0);d=k[a>>2]|0;k[l>>2]=c;d=zh(d,25952,l)|0;if((d|0)!=0?(Nr(m,f,d),n=as(a,b)|0,(n|0)!=0):0)Nr(m,1,n)}r=o;return}