Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Vu

6 ;i=i+32|0;if((i|0)>=(j|0))ba();z=A;y=d+8|0;v=c[y>>2]|0;w=c[d>>2]|0;if(((a[d+450>>0]|0)==0?(k=d+16|0,!((a[k>>0]|0)!=0|(v|0)==0)):0)?(a[w+65>>0]|0)==0:0){a[k>>0]=1;k=c[w+24>>2]|0;u=(k&32|0)==0;eq(v,c[f>>2]|0);h=c[f>>2]|0;if((h|0)>0){t=f+4|0;s=(e|0)==0;p=(k&96|0)==0;q=(e|0)!=0;r=0;do{o=c[t>>2]|0;h=c[o+(r*20|0)>>2]|0;do if(h){k=c[o+(r*20|0)+4>>2]|0;if(k){fq(v,r,0,k,-1);break}k=a[h>>0]|0;if(k<<24>>24==-102){if(s)x=25}else if(!(k<<24>>24==-100&q))x=25;if((x|0)==25){x=0;k=c[o+(r*20|0)+8>>2]|0;if(!k){c[z>>2]=r+1;k=qh(w,34880,z)|0}else k=gh(w,k)|0;fq(v,r,0,k,75);break}n=b[h+32>>1]|0;k=n<<16>>16;m=c[e>>2]|0;a:do if((m|0)>0){g=c[h+28>>2]|0;l=0;while(1){h=l+1|0;if((c[e+(l*72|0)+48>>2]|0)==(g|0)){h=l;break a}if((h|0)<(m|0))l=h;else break}}else h=0;while(0);h=c[e+(h*72|0)+24>>2]|0;if(n<<16>>16<0)k=b[h+36>>1]|0;if((k|0)<0)k=20456;else k=c[(c[h+4>>2]|0)+(k*24|0)>>2]|0;if(p){fq(v,r,0,gh(w,c[o+(r*20|0)+8>>2]|0)|0,75);break}if(u){fq(v,r,0,k,-1);break}else{c[z>>2]=c[h>>2];c[z+4>>2]=k;fq(v,r,0,qh(w,27824,z)|0,75);break}}while(0);r=r+1|0;h=c[f>>2]|0}while((r|0)<(h|0))}k=c[y>>2]|0;c[z+4>>2]=e;c[z>>2]=d;if((h|0)>0){g=f+4|0;h=0;do{fq(k,h,1,uu(z,c[(c[g>>2]|0)+(h*20|0)>>2]|0,0)|0,-1);h=h+1|0}while((h|0)<(c[f>>2]|0))}}i=A;return}function Ks(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();f=o;h=b+8|0;if((c[h>>2]|0)==0?(Ys(a),g=b+60|0,(c[g>>2]|0)!=0):0){l=a+72|0;m=(c[l>>2]|0)+1|0;c[l>>2]=m;c[h>>2]=m;n=Kq(a)|0;do if(Is(c[g>>2]|0,f)|0){f=c[f>>2]|0;sh(n,25,f,m,0)|0;if(!f){sh(n,16,0,d,0)|0;break}if((f|0)>-1?(e=b+24|0,d=e,h=c[d+4>>2]|0,k=((f|0)<0)<<31>>31,h>>>0>k>>>0|((h|0)==(k|0)?(c[d>>2]|0)>>>0>f>>>0:0)):0){d=e;c[d>>2]=f;c[d+4>>2]=k}}else{Nq(a,c[g>>2]|0,m);sh(n,38,m,0,0)|0;sh(n,46,m,d,0)|0}while(0);f=c[b+64>>2]|0;if(f){k=c[l>>2]|0;d=k+1|0;c[b+12>>2]=d;c[l>>2]=k+2;Nq(a,f,d);sh(n,38,d,0,0)|0;f=sh(n,137,d,0,0)|0;sh(n,25,0,d,0)|0;g=n+32|0;e=c[g>>2]|0;if(e>>>0>f>>>0)c[(c[n+4>>2]|0)+(f*20|0)+8>>2]=e;h=n+24|0;c[(c[h>>2]|0)+88>>2]=e+-1;e=k+2|0;sh(n,89,m,d,e)|0;f=sh(n,137,m,0,0)|0;sh(n,25,-1,e,0)|0;e=c[g>>2]|0;if(e>>>0>f>>>0)c[(c[n+4>>2]|0)+(f*20|0)+8>>2]=e;c[(c[h>>2]|0)+88>>2]=e+-1}}i=o;return}function Ls(b,f,g,h,i,j,k,l,m){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var 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;F=c[b+8>>2]|0;A=a[k>>0]|0;u=A&255;w=k+4|0;D=c[w>>2]|0;if(!j)n=0;else n=d[j+1>>0]|0;if(!i)E=0;else E=(c[i>>2]|0)==0?0:i;z=(E|0)!=0;v=(n|0)!=0;if(!(z|v))et(F,c[f+12>>2]|0,l);B=c[g>>2]|0;q=k+8|0;i=c[q>>2]|0;if(i){p=b+72|0;o=c[p>>2]|0;if((i+B|0)>(o|0)){c[p>>2]=o+B;C=i;x=0}else{C=i;x=0}}else{if(z){o=((a[E+24>>0]&1^1)&255)+(c[c[E>>2]>>2]|0)|0;C=b+72|0;p=o+(c[C>>2]|0)|0;c[C>>2]=p}else{p=c[b+72>>2]|0;o=0}C=p+1|0;c[q>>2]=C;c[b+72>>2]=p+B;x=o}c[k+12>>2]=B;do if((h|0)>-1){if((B|0)>0){p=0;do{sh(F,47,h,p,p+C|0)|0;p=p+1|0}while((p|0)!=(B|0))}}else{if(A<<24>>24==3)break;else if(A<<24>>24==9)o=1;else o=A<<24>>24==13&1;Zs(b,g,C,o)}while(0);if(v){o=d[j+1>>0]|0;if((o|0)==2){o=b+72|0;h=c[o>>2]|0;t=h+1|0;c[o>>2]=h+B;o=j+8|0;vh(F,c[o>>2]|0);o=c[o>>2]|0;if((o|0)<0)o=(c[F+32>>2]|0)+-1|0;if(!(a[(c[F>>2]|0)+65>>0]|0))o=(c[F+4>>2]|0)+(o*20|0)|0;else o=29120;a[o>>0]=28;c[o+4>>2]=1;c[o+8>>2]=t;h=F+32|0;i=(c[h>>2]|0)+B|0;if((B|0)>0){p=g+4|0;o=B+-1|0;q=F+4|0;s=0;do{v=_t(b,c[(c[p>>2]|0)+(s*20|0)>>2]|0)|0;j=s+C|0;n=s+t|0;if((s|0)<(o|0))sh(F,78,j,i,n)|0;else sh(F,79,j,l,n)|0;th(F,-1,v,-4);r=c[q>>2]|0;if(r)a[r+(((c[h>>2]|0)+-1|0)*20|0)+3>>0]=-128;s=s+1|0}while((s|0)!=(B|0))}else o=B+-1|0;sh(F,33,C,t,o)|0}else if((o|0)==1)vh(F,c[j+8>>2]|0);else vu0)==(o|0)?(c[l+8>>2]|0)==(b[m>>1]|0):0)break b;e=e+1|0;if((e|0)<(h|0))l=l+24|0;else break}}else e=0;while(0);c:do if((e|0)>=(h|0)){h=Dt(c[s>>2]|0,c[n>>2]|0,24,k,r)|0;c[n>>2]=h;e=c[r>>2]|0;if((e|0)>-1){c[h+(e*24|0)>>2]=c[f+44>>2];k=c[p>>2]|0;c[h+(e*24|0)+4>>2]=k;l=b[f+32>>1]|0;c[h+(e*24|0)+8>>2]=l<<16>>16;p=s+72|0;m=(c[p>>2]|0)+1|0;c[p>>2]=m;c[h+(e*24|0)+16>>2]=m;m=h+(e*24|0)+12|0;c[m>>2]=-1;c[h+(e*24|0)+20>>2]=f;h=c[t+24>>2]|0;d:do if((h|0)!=0?(q=c[h>>2]|0,(q|0)>0):0){g=0;h=c[h+4>>2]|0;while(1){p=c[h>>2]|0;if(((a[p>>0]|0)==-102?(c[p+28>>2]|0)==(k|0):0)?(b[p+32>>1]|0)==l<<16>>16:0)break;g=g+1|0;if((g|0)>=(q|0))break d;else h=h+20|0}c[m>>2]=g;if((g|0)>=0)break c}while(0);p=t+12|0;q=c[p>>2]|0;c[p>>2]=q+1;c[m>>2]=q}}while(0);c[f+40>>2]=t;a[f>>0]=-100;b[f+34>>1]=e;e=1}else e=1;else if(((g|0)==155?(b[h+28>>1]&8)==0:0)?(c[e+16>>2]|0)==(d[f+38>>0]|0):0){l=t+40|0;m=t+44|0;g=c[m>>2]|0;e:do if((g|0)>0){e=0;h=c[l>>2]|0;while(1){if(!(yu(c[h>>2]|0,f,-1)|0))break e;e=e+1|0;if((e|0)<(g|0))h=h+16|0;else break}}else e=0;while(0);do if((e|0)>=(g|0)){k=c[s>>2]|0;n=a[k+62>>0]|0;k=Dt(k,c[l>>2]|0,16,m,r)|0;c[l>>2]=k;e=c[r>>2]|0;if((e|0)>-1){c[k+(e<<4)>>2]=f;l=s+72|0;m=(c[l>>2]|0)+1|0;c[l>>2]=m;c[k+(e<<4)+8>>2]=m;m=c[s>>2]|0;l=c[f+8>>2]|0;if(!l)g=0;else{h=l;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;g=h-l&1073741823}h=c[f+20>>2]|0;if(!h)h=0;else h=c[h>>2]|0;c[k+(e<<4)+4>>2]=Oh(m,l,g,h,n,0)|0;if(!(c[f+4>>2]&16)){c[k+(e<<4)+12>>2]=-1;break}else{p=s+68|0;q=c[p>>2]|0;c[p>>2]=q+1;c[k+(e<<4)+12>>2]=q;break}}}while(0);b[f+34>>1]=e;c[f+40>>2]=t;e=1}else e=0;while(0);i=u;return e|0}function Ws(a,b){a=a|0;b=b|0;return 0}function Xs(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;if((a[b+450>>0]|0)==2){g=c[b+8>>2]|0;h=c[b>>2]|0;c[e>>2]=d;e=qh(h,35e3,e)|0;th(g,sh(g,157,c[b+464>>2]|0,0,0)|0,e,-1)}i=f;return}function Ys(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=b+19|0;i=0;j=b+116|0;while(1){e=j+12|0;f=c[e>>2]|0;if(f){g=j+6|0;if(a[g>>0]|0){h=a[d>>0]|0;if((h&255)<8){a[d>>0]=h+1<<24>>24;c[b+((h&255)<<2)+24>>2]=f}a[g>>0]=0}c[e>>2]=0}i=i+1|0;if((i|0)==10)break;else j=j+20|0}return}function Zs(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=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;z=i;i=i+32|0;if((i|0)>=(j|0))ba();x=z;g=f&255;q=34-(g&1)|0;t=c[d>>2]|0;if(!(a[b+23>>0]|0))f=g&253;if((t|0)>0){h=(f&2)==0;k=b+8|0;l=(q|0)==33;m=x+20|0;n=x+4|0;o=x+24|0;p=0;d=c[d+4>>2]|0;while(1){g=c[d>>2]|0;if(!h?(c[x+0>>2]=0,c[x+4>>2]=0,c[x+8>>2]=0,c[x+12>>2]=0,c[x+16>>2]=0,c[x+20>>2]=0,a[m>>0]=1,c[x>>2]=78,c[n>>2]=79,c[o>>2]=0,ns(x,g)|0,(a[m>>0]|0)!=0):0)Ct(b,g,p+e|0,0);else y=8;do if((y|0)==8?(y=0,r=p+e|0,s=es(b,g,r)|0,(s|0)!=(r|0)):0){f=c[k>>2]|0;if(l){if(!(a[(c[f>>2]|0)+65>>0]|0))g=(c[f+4>>2]|0)+(((c[f+32>>2]|0)+-1|0)*20|0)|0;else g=29120;if(((a[g>>0]|0)==33?(u=g+12|0,v=c[u>>2]|0,((c[g+4>>2]|0)+1+v|0)==(s|0)):0)?(w=v+1|0,(w+(c[g+8>>2]|0)|0)==(r|0)):0){c[u>>2]=w;break}}sh(f,q,s,r,0)|0}while(0);p=p+1|0;if((p|0)==(t|0))break;else d=d+20|0}}i=z;return}function _s(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0;n=c[d+8>>2]|0;j=d+116|0;m=0;k=j;while(1){l=c[k+12>>2]|0;if(((l|0)>0?(c[k>>2]|0)==(g|0):0)?(b[k+4>>1]|0)==(f|0):0){h=l;m=5;break}m=m+1|0;if((m|0)>=10){m=10;break}else k=k+20|0}do if((m|0)==5){n=d+104|0;i=c[n>>2]|0;c[n>>2]=i+1;c[k+16>>2]=i;k=0;while(1){if((c[j+12>>2]|0)==(h|0))a[j+6>>0]=0;k=k+1|0;if((k|0)==10)break;else j=j+20|0}}else if((m|0)==10){jt(n,e,g,f,h);if(!(i<<24>>24)){Ou(d,g,f,h);break}j=c[n+4>>2]|0;if(j)a[j+(((c[n+32>>2]|0)+-1|0)*20|0)+3>>0]=i}while(0);return h|0}function $s(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=d+-1+e|0;g=b+19|0;k=0;l=b+116|0;while(1){h=l+12|0;i=c[h>>2]|0;if(!((i|0)<(d|0)|(i|0)>(e|0))){j=l+6|0;if(a[j>>0]|0){f=a[g>>0]|0;if((f&255)<8){a[g>>0]=f+1<<24>>24;c[b+((f&255)<<2)+24>>2]=i}a[j>>0]=0}c[h>>2]=0}k=k+1|0;if((k|0)==10)break;else l=l+20|0}return}function at(d,e){d=d|0;e=e|0;var 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,A=0;A=c[d+8>>2]|0;a[e>>0]=1;s=e+44|0;if((c[s>>2]|0)>0){t=A+4|0;v=d+56|0;w=d+60|0;o=A+24|0;p=A+32|0;q=e+36|0;r=d+72|0;x=0;y=c[e+40>>2]|0;f=0;while(1){k=c[(c[y>>2]|0)+20>>2]|0;if(!k){g=0;i=0}else{g=c[k>>2]|0;i=c[w>>2]|0;h=c[v>>2]|0;if((h|0)<(g|0)){i=c[r>>2]|0;c[r>>2]=i+g;i=i+1|0}else{c[w>>2]=i+g;c[v>>2]=h-g}Zs(d,k,i,1)}h=y+12|0;if((c[h>>2]|0)>-1){n=ts(A)|0;vuVu(b,c[e+12>>2]|0,l,g^16);h=b+100|0;c[h>>2]=(c[h>>2]|0)+1;ct(b,c[e+16>>2]|0,f,g);f=c[m+24>>2]|0;h=~l;if((l|0)<0?(k=c[f+112>>2]|0,(k|0)!=0):0)c[k+(h<<2)>>2]=c[m+32>>2];c[f+88>>2]=(c[m+32>>2]|0)+-1;Zt(b);break}case 74:{Wu(b,e,f,0,g);break}case 19:{Vu(b,c[e+12>>2]|0,f,g);break}case 72:{ct(b,c[e+12>>2]|0,f,g);m=b+100|0;c[m>>2]=(c[m>>2]|0)+1;ct(b,c[e+16>>2]|0,f,g);Zt(b);break}case 77:case 76:{sh(m,h,Xt(b,c[e+12>>2]|0,n)|0,f,0)|0;break}case 79:case 78:case 83:case 80:case 81:case 82:{q=e+12|0;l=Xt(b,c[q>>2]|0,n)|0;k=e+16|0;m=Xt(b,c[k>>2]|0,o)|0;Yt(b,c[q>>2]|0,c[k>>2]|0,h,l,m,f,g);break}case 148:case 73:{g=e+12|0;l=Xt(b,c[g>>2]|0,n)|0;k=e+16|0;m=Xt(b,c[k>>2]|0,o)|0;Yt(b,c[g>>2]|0,c[k>>2]|0,(a[e>>0]|0)==73?78:79,l,m,f,128);break}case 75:{if(g){bu(b,e,f,f);break a}k=ts(m)|0;bu(b,e,f,k);h=c[m+24>>2]|0;f=~k;if((k|0)<0?(l=c[h+112>>2]|0,(l|0)!=0):0)c[l+(f<<2)>>2]=c[m+32>>2];c[h+88>>2]=(c[m+32>>2]|0)+-1;break}default:{if(iu(e)|0){sh(m,16,0,f,0)|0;break a}if(!(Xu(e)|0))sh(m,46,Xt(b,e,n)|0,f,(g|0)!=0&1)|0}}while(0);Wr(b,c[n>>2]|0);Wr(b,c[o>>2]|0)}i=p;return}function dt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=c[a+8>>2]|0;g=b+44|0;if((c[g>>2]|0)!=(0-(c[b+32>>2]|0)|0)?(sh(f,28,0,c[b+16>>2]|0,c[b+20>>2]|0)|0,(c[g>>2]|0)>0):0){h=0;e=c[b+40>>2]|0;while(1){b=e+12|0;do if((c[b>>2]|0)>-1){d=c[(c[e>>2]|0)+20>>2]|0;if((d|0)!=0?(c[d>>2]|0)==1:0){d=Qs(a,d,0,0)|0;th(f,sh(f,57,c[b>>2]|0,0,0)|0,d,-6);break}ph(a,34944,k);c[b>>2]=-1}while(0);h=h+1|0;if((h|0)>=(c[g>>2]|0))break;else e=e+16|0}}i=l;return}function et(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)>0){e=sh(a,138,b,0,-1)|0;sh(a,16,0,d,0)|0;b=c[a+32>>2]|0;if(b>>>0>e>>>0)c[(c[a+4>>2]|0)+(e*20|0)+8>>2]=b;c[(c[a+24>>2]|0)+88>>2]=b+-1}return}function ft(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0;if((c[(c[a>>2]|0)+24>>2]&8388608|0)!=0?(h=ws(a,b)|0,(h|0)!=0):0){a=0;b=h;do{if((d[b+8>>0]|0|0)==(e|0)?(Yu(c[b+16>>2]|0,f)|0)!=0:0)a=d[b+9>>0]|0|a;b=c[b+32>>2]|0}while((b|0)!=0)}else{a=0;h=0}if(g)c[g>>2]=a;return ((a|0)!=0?h:0)|0}function gt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=a[d+44>>0]|0;if(h&16){g=c[b>>2]|0;f=d+60|0;while(1){f=c[f>>2]|0;if((c[f>>2]|0)==(g|0))break;else f=f+24|0}if(!(c[(c[c[f+4>>2]>>2]|0)+52>>2]|0))g=8;else g=5}else g=5;do if((g|0)==5){if(((h&1)!=0?(c[(c[b>>2]|0)+24>>2]&2048|0)==0:0)?(a[b+18>>0]|0)==0:0){g=8;break}if((e|0)==0?(c[d+12>>2]|0)!=0:0){c[k>>2]=c[d>>2];ph(b,34456,k);f=1}else f=0}while(0);if((g|0)==8){c[k>>2]=c[d>>2];ph(b,34424,k);f=1}i=l;return f|0}function ht(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;n=c[b>>2]|0;h=c[d+68>>2]|0;a:do if(h){g=c[n+20>>2]|0;if((g|0)>0){l=c[n+16>>2]|0;m=0;while(1){k=m+1|0;if((c[l+(m<<4)+12>>2]|0)==(h|0)){k=m;break a}if((k|0)<(g|0))m=k;else break}}else k=0}else k=-1e6;while(0);g=Ir(n,e,0,0)|0;h=lr(n,0,0,0)|0;if(h){c[h+16>>2]=gh(n,c[d>>2]|0)|0;c[h+12>>2]=gh(n,c[(c[n+16>>2]|0)+(k<<4)>>2]|0)|0}e=gr(b,0,h,g,0,0,0,0,0,0)|0;a[o>>0]=12;c[o+4>>2]=f;a[o+1>>0]=0;c[o+8>>2]=0;c[o+12>>2]=0;er(b,e,o)|0;Ik(n,e,1);i=p;return}function it(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p+4|0;h=p;a:do if(c[(c[a>>2]|0)+24>>2]&524288){if(!e){f=Zm((c[d+68>>2]|0)+56|0,c[d>>2]|0,h)|0;if((f|0)!=0?(c[f+8>>2]|0)!=0:0)g=1;else g=(c[d+16>>2]|0)!=0;g=g&1;break}a=c[d+16>>2]|0;if(a){m=d+36|0;n=(f|0)!=0;do{h=c[a+20>>2]|0;if((h|0)>0){l=0;do{k=c[a+(l<<3)+36>>2]|0;if((c[e+(k<<2)>>2]|0)>-1){g=1;break a}l=l+1|0;if((k|0)==(b[m>>1]|0)&n){g=1;break a}}while((l|0)<(h|0))}a=c[a+4>>2]|0}while((a|0)!=0)}h=Zm((c[d+68>>2]|0)+56|0,c[d>>2]|0,o)|0;if((h|0)!=0?(g=c[h+8>>2]|0,(g|0)!=0):0)while(1){if(Zu(d,g,e,f)|0){g=1;break a}g=c[g+12>>2]|0;if(!g){g=0;break}}else g=0}else g=0;while(0);i=p;return g|0}function jt(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0;if((h|0)>=0?(b[f+36>>1]|0)!=(h|0):0){j=d[f+44>>0]|0;n=(j&16|0)!=0?150:47;if(!(j&32))j=h;else{j=c[f+8>>2]|0;a:do if(!j)j=0;else while(1){if((a[j+51>>0]&3)==2)break a;j=c[j+20>>2]|0;if(!j){j=0;break}}while(0);m=h&65535;k=b[j+48>>1]|0;b:do if(!(k<<16>>16))j=-1;else{l=c[j+4>>2]|0;k=k&65535;j=0;while(1){if((b[l+(j<<1)>>1]|0)==m<<16>>16)break b;j=j+1|0;if((j|0)>=(k|0)){j=-1;break}}}while(0);j=j<<16>>16}sh(e,n,g,j,i)|0}else sh(e,103,g,i,0)|0;if((h|0)>-1)Jt(e,f,h,i);return}function kt(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0;j=f+16|0;g=c[j>>2]|0;do if(!g){h=c[f+12>>2]|0;g=c[d>>2]|0;i=f+48|0;d=mg((e[i>>1]|0)+1|0,0)|0;c[j>>2]=d;if(!d){a[g+65>>0]=1;g=0;break}if(!(b[i>>1]|0))g=0;else{f=f+4|0;h=h+4|0;g=0;do{d=b[(c[f>>2]|0)+(g<<1)>>1]|0;if(d<<16>>16<0)d=68;else d=a[(c[h>>2]|0)+((d<<16>>16)*24|0)+21>>0]|0;a[(c[j>>2]|0)+g>>0]=d;g=g+1|0}while((g|0)<(e[i>>1]|0));d=c[j>>2]|0}a[d+g>>0]=0;g=c[j>>2]|0}while(0);return g|0}function lt(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=d+44|0;if(!(a[r>>0]&16)){k=c[b>>2]|0;m=c[d+68>>2]|0;a:do if(m){n=c[k+20>>2]|0;if((n|0)>0){k=c[k+16>>2]|0;l=0;while(1){j=l+1|0;if((c[k+(l<<4)+12>>2]|0)==(m|0))break a;if((j|0)<(n|0))l=j;else{l=j;break}}}else l=0}else l=-1e6;while(0);q=Kq(b)|0;if((f|0)<0)f=c[b+68>>2]|0;k=f+1|0;p=(h|0)!=0;if(p)c[h>>2]=f;do if(!(a[r>>0]&32)){if((g|0)!=0?(a[g>>0]|0)==0:0){o=15;break}Mq(b,f,l,d,e)}else o=15;while(0);if((o|0)==15)cs(b,l,c[d+32>>2]|0,(e|0)==55&1,c[d>>2]|0);if(i)c[i>>2]=k;f=c[d+8>>2]|0;if(!f)j=0;else{m=(g|0)==0;d=b+8|0;n=k;j=0;while(1){k=n+1|0;if((a[f+51>>0]&3)==2?(a[r>>0]&32)!=0&p:0)c[h>>2]=n;j=j+1|0;if(!(!m?(a[g+j>>0]|0)==0:0)){sh(q,e,n,c[f+40>>2]|0,l)|0;o=c[d>>2]|0;th(o,-1,ds(b,f)|0,-6)}f=c[f+20>>2]|0;if(!f)break;else n=k}}f=b+68|0;if((k|0)>(c[f>>2]|0))c[f>>2]=k}else j=0;return j|0}function mt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=c[b+408>>2]|0;h=(h|0)==0?b:h;g=h+452|0;b=c[g>>2]|0;e=c[h+520>>2]|0;a:do if((b|0)>0){f=0;while(1){if((c[e+(f<<2)>>2]|0)==(d|0))break a;f=f+1|0;if((f|0)>=(b|0)){i=4;break}}}else i=4;while(0);do if((i|0)==4){b=Tc(e,(b<<2)+4|0)|0;if(!b){a[(c[h>>2]|0)+65>>0]=1;break}else{c[h+520>>2]=b;e=c[g>>2]|0;c[g>>2]=e+1;c[b+(e<<2)>>2]=d;break}}while(0);return}function nt(d,e,f,g,h,i,j,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;w=c[d+8>>2]|0;x=ts(w)|0;u=(a[e+44>>0]&32)>>>4^70;if(!(m<<24>>24))th(w,sh(w,u,g,x,i)|0,j<<16>>16,-14);if((it(d,e,0,0)|0)!=0|(f|0)!=0){q=l&255;r=rt(d,f,0,0,3,e,q)|0;r=qt(d,e)|0|r;o=d+72|0;n=c[o>>2]|0;m=n+1|0;s=e+38|0;c[o>>2]=m+(b[s>>1]|0);sh(w,33,i,m,0)|0;o=b[s>>1]|0;if(o<<16>>16>0){t=(r|0)==-1;p=n+2|0;n=0;do{if(!t){if((n|0)<32?(1<<n&r|0)!=0:0)v=9}else v=9;if((v|0)==9){v=0;jt(w,e,g,n,p+n|0);o=b[s>>1]|0}n=n+1|0}while((n|0)<(o<<16>>16|0))}t=w+32|0;s=c[t>>2]|0;tt(d,f,109,0,1,e,m,q,x);if((s|0)<(c[t>>2]|0))th(w,sh(w,u,g,x,i)|0,j<<16>>16,-14);vt(d,e,m,0,0,0)}else m=0;if((c[e+12>>2]|0)==0?(wt(d,e,g,h,0),sh(w,95,g,k<<24>>24!=0&1,0)|0,k<<24>>24!=0):0)th(w,-1,c[e>>2]|0,0);yt(d,e,0,m,0,0);tt(d,f,109,0,2,e,m,l&255,x);n=c[w+24>>2]|0;m=~x;if((x|0)<0?(y=c[n+112>>2]|0,(y|0)!=0):0)c[y+(m<<2)>>2]=c[w+32>>2];c[n+88>>2]=(c[w+32>>2]|0)+-1;return}function ot(b){b=b|0;var 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;j=c[b+8>>2]|0;d=c[b+404>>2]|0;if(d){l=(c[b>>2]|0)+16|0;m=b+19|0;n=b+72|0;o=j+32|0;p=j+4|0;k=j+24|0;do{f=c[d+8>>2]|0;g=c[l>>2]|0;i=c[d+12>>2]|0;e=a[m>>0]|0;if(!(e<<24>>24)){h=(c[n>>2]|0)+1|0;c[n>>2]=h}else{h=e+-1<<24>>24;a[m>>0]=h;h=c[b+((h&255)<<2)+24>>2]|0}Mq(b,0,f,c[(c[g+(f<<4)+12>>2]|0)+72>>2]|0,55);g=i+1|0;f=sh(j,77,g,0,0)|0;sh(j,74,0,g,0)|0;e=c[o>>2]|0;if(e>>>0>f>>>0)c[(c[p>>2]|0)+(f*20|0)+8>>2]=e;c[(c[k>>2]|0)+88>>2]=e+-1;sh(j,49,i+-1|0,2,h)|0;sh(j,75,0,h,g)|0;e=c[p>>2]|0;if(e)a[e+(((c[o>>2]|0)+-1|0)*20|0)+3>>0]=8;sh(j,61,0,0,0)|0;Wr(b,h);d=c[d>>2]|0}while((d|0)!=0)}return}function pt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;c[g>>2]=e;if(!e)f=0;else{f=e;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;f=f-e&1073741823}c[g+4>>2]=f;f=jr(b,d,g,0)|0;i=h;return f|0}function qt(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o+4|0;n=o;if(c[(c[a>>2]|0)+24>>2]&524288){f=c[d+16>>2]|0;if(!f)e=0;else{e=0;do{g=c[f+20>>2]|0;if((g|0)>0){h=0;do{p=c[f+(h<<3)+36>>2]|0;e=((p|0)>31?-1:1<<p)|e;h=h+1|0}while((h|0)<(g|0))}f=c[f+4>>2]|0}while((f|0)!=0)}f=Zm((c[d+68>>2]|0)+56|0,c[d>>2]|0,k)|0;if((f|0)!=0?(l=c[f+8>>2]|0,(l|0)!=0):0)do{c[n>>2]=0;It(a,d,l,n,0)|0;f=c[n>>2]|0;if((f|0)!=0?(m=b[f+46>>1]|0,m<<16>>16!=0):0){k=m&65535;h=c[f+4>>2]|0;g=0;do{f=b[h+(g<<1)>>1]|0;if(f<<16>>16>31)f=-1;else f=1<<(f<<16>>16);e=f|e;g=g+1|0}while((g|0)<(k|0))}l=c[l+12>>2]|0}while((l|0)!=0)}else e=0;i=o;return e|0}function rt(a,b,e,f,g,h,i){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;k=(e|0)!=0?110:109;if(!b)j=0;else{j=0;do{if((((d[b+8>>0]|0|0)==(k|0)?((d[b+9>>0]|0)&g|0)!=0:0)?(Yu(c[b+16>>2]|0,e)|0)!=0:0)?(l=_u(a,b,h,i)|0,(l|0)!=0):0)j=c[l+(f<<2)+16>>2]|j;b=c[b+32>>2]|0}while((b|0)!=0)}return j|0}function st(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=e+20|0;g=c[l>>2]|0;do if(!g){i=c[d>>2]|0;k=e+38|0;h=(b[k>>1]|0)+1|0;h=mg(h,((h|0)<0)<<31>>31)|0;if(!h){a[i+65>>0]=1;break}if((b[k>>1]|0)>0){i=e+4|0;g=0;do{a[h+g>>0]=a[(c[i>>2]|0)+(g*24|0)+21>>0]|0;g=g+1|0}while((g|0)<(b[k>>1]|0))}else g=0;do{a[h+g>>0]=0;if((g|0)<=0)break;g=g+-1|0}while((a[h+g>>0]|0)==65);c[l>>2]=h;j=10}else{h=g;j=10}while(0);do if((j|0)==10){g=h;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-h&1073741823;if(g)if(!f){th(d,-1,h,g);break}else{th(d,sh(d,48,f,g,0)|0,h,g);break}}while(0);return}function tt(a,b,e,f,g,h,i,j,k){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;if(b)do{if(((d[b+8>>0]|0|0)==(e|0)?(d[b+9>>0]|0|0)==(g|0):0)?(Yu(c[b+16>>2]|0,f)|0)!=0:0)$u(a,b,h,i,j,k);b=c[b+32>>2]|0}while((b|0)!=0);return}function ut(d,f,g,h,k,l,m,n,o,p,q){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var 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,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0;la=i;i=i+16|0;if((i|0)>=(j|0))ba();I=la;fa=(m|0)!=0;N=c[d>>2]|0;ka=Kq(d)|0;A=b[f+38>>1]|0;ia=f+44|0;if(!(a[ia>>0]&32)){ea=1;da=0}else{u=f+8|0;while(1){u=c[u>>2]|0;if((a[u+51>>0]&3)==2)break;else u=u+20|0}ea=e[u+46>>1]|0;da=u}if(A<<16>>16>0){w=f+36|0;v=f+4|0;u=o<<24>>24==10;t=d+408|0;s=l+1|0;B=ka+4|0;C=ka+32|0;D=ka+24|0;E=o&255;y=A<<16>>16;x=0;do{a:do if((x|0)!=(b[w>>1]|0)?(F=c[v>>2]|0,G=a[F+(x*24|0)+20>>0]|0,H=G&255,G<<24>>24!=0):0){if(u)if(G<<24>>24==10)ja=14;else{A=H;ja=11}else{A=E;ja=11}do if((ja|0)==11){ja=0;if((A|0)==5)A=(c[F+(x*24|0)+4>>2]|0)==0?2:5;if((A|0)==4){sh(ka,76,s+x|0,p,0)|0;break a}else if((A|0)==3|(A|0)==1)break;else if((A|0)==2){ja=14;break}z=s+x|0;A=sh(ka,77,z,0,0)|0;Nq(d,c[(c[v>>2]|0)+(x*24|0)+4>>2]|0,z);z=c[C>>2]|0;if(z>>>0>A>>>0)c[(c[B>>2]|0)+(A*20|0)+8>>2]=z;c[(c[D>>2]|0)+88>>2]=z+-1;break a}while(0);if((ja|0)==14){ja=0;A=c[t>>2]|0;a[((A|0)==0?d:A)+21>>0]=1;A=2}ca=c[F+(x*24|0)>>2]|0;c[I>>2]=c[f>>2];c[I+4>>2]=ca;ca=qh(N,27824,I)|0;th(ka,sh(ka,23,1299,A,s+x|0)|0,ca,-1);A=c[B>>2]|0;if(A)a[A+(((c[C>>2]|0)+-1|0)*20|0)+3>>0]=1}while(0);x=x+1|0}while((x|0)!=(y|0))}x=c[f+24>>2]|0;if(((x|0)!=0?(c[N+24>>2]&8192|0)==0:0)?(c[d+92>>2]=l+1,(c[x>>2]|0)>0):0){w=x+4|0;s=ka+24|0;y=ka+32|0;A=0;u=o<<24>>24==10?2:o&255;while(1){z=ts(ka)|0;Vu0)>=(j|0))ba();h=k;if(!(c[d+12>>2]|0)){c[h>>2]=0;l=c[b>>2]|0;g=d+4|0;d=c[g>>2]|0;Vr(l,c[d+(e*24|0)+4>>2]|0,a[l+62>>0]|0,a[d+(e*24|0)+21>>0]|0,h)|0;d=c[h>>2]|0;if(d)th(b,-1,d,-8);if((a[(c[g>>2]|0)+(e*24|0)+21>>0]|0)==69)sh(b,39,f,0,0)|0}i=k;return}function Kt(c,d,f){c=c|0;d=d|0;f=f|0;var g=0;if(!d)g=0;else{g=d;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-d&1073741823}g=Oh(c,d,g,2,1,0)|0;if(g){g=g+2|0;b[g>>1]=e[g>>1]|f&255}return}function Lt(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[d+8>>2]|0;r=c[e+12>>2]|0;do if(i){l=e+36|0;if(!(c[l>>2]|0)){c[i>>2]=0;break}else{c[i>>2]=ts(q)|0;c[d+96>>2]=f;p=d+100|0;c[p>>2]=(c[p>>2]|0)+1;ct(d,c[l>>2]|0,c[i>>2]|0,16);break}}while(0);if((h|0)!=0?(a[e+51>>0]&8)!=0:0)l=e+46|0;else l=e+48|0;l=b[l>>1]|0;n=l&65535;o=d+60|0;h=c[o>>2]|0;p=d+56|0;i=c[p>>2]|0;if((i|0)<(n|0)){h=d+72|0;m=c[h>>2]|0;c[h>>2]=m+n;m=m+1|0}else{c[o>>2]=h+n;c[p>>2]=i-n;m=h}do if(!j)h=0;else{if((m|0)==(k|0)?(c[j+36>>2]|0)==0:0){h=j;break}h=0}while(0);if(l<<16>>16){j=(h|0)==0;k=e+4|0;i=h+4|0;l=0;do{if(!j){h=b[(c[k>>2]|0)+(l<<1)>>1]|0;if((b[(c[i>>2]|0)+(l<<1)>>1]|0)!=h<<16>>16)s=21}else{h=b[(c[k>>2]|0)+(l<<1)>>1]|0;s=21}if((s|0)==21){s=0;jt(q,r,f,h<<16>>16,l+m|0);Lq(q,39)|0}l=l+1|0}while((l|0)<(n|0))}if(g)sh(q,49,m,n,g)|0;$s(d,m,n);if((c[p>>2]|0)<(n|0)){c[p>>2]=n;c[o>>2]=m}return m|0}function Mt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(b){d=c[a+8>>2]|0;e=c[d+24>>2]|0;f=~b;if((b|0)<0?(g=c[e+112>>2]|0,(g|0)!=0):0)c[g+(f<<2)>>2]=c[d+32>>2];c[e+88>>2]=(c[d+32>>2]|0)+-1;Zt(a)}return}function Nt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;e=c[d+16>>2]|0;a:do if((e|0)!=0?(f=c[d+64>>2]|0,(f|0)!=0):0){e=c[e+8>>2]|0;b:do if(e){while(1){if(!($c(c[e>>2]|0,f)|0))break;e=c[e+20>>2]|0;if(!e)break b}c[d+68>>2]=e;e=0;break a}while(0);c[g>>2]=f;c[g+4>>2]=0;ph(b,28104,g);a[b+17>>0]=1;e=1}else e=0;while(0);i=h;return e|0}function Ot(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=Pt(a,b)|0;if(b&1){e=Ot(c[a+12>>2]|0,b)|0;return e+d+(Ot(c[a+16>>2]|0,b)|0)|0}}else d=0;return d|0}
7 vu>>2]|0;i=j+36|0;if(((c[i>>2]&1024|0)==0?(k=c[j+28>>2]|0,(k|0)!=0):0)?(a[(c[k+28>>2]|0)+f>>0]|0)!=0:0)g=(g|0)==0&1;m=iv(b,l,4,0)|0;if((m|0)==4)g=(g|0)==0&1;l=c[l+28>>2]|0;f=(g|0)!=0;sh(n,f?105:108,l,0,0)|0;c[i>>2]=c[i>>2]|2048;k=e+56|0;i=c[k>>2]|0;if(!i){c[e+16>>2]=ts(n)|0;i=c[k>>2]|0}j=i+1|0;c[k>>2]=j;i=e+60|0;j=Sl(c[b>>2]|0,c[i>>2]|0,j*12|0,0)|0;c[i>>2]=j;if(!j){c[k>>2]=0;break}i=(c[k>>2]|0)+-1|0;c[j+(i*12|0)>>2]=l;if((m|0)==1)g=sh(n,103,l,h,0)|0;else g=sh(n,47,l,0,h)|0;c[j+(i*12|0)+4>>2]=g;a[j+(i*12|0)+8>>0]=f?6:7;sh(n,76,h,0,0)|0}while(0);Nu(e,d);return h|0}function Nu(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;a:do if(e){i=d+72|0;h=0;while(1){f=e+20|0;g=b[f>>1]|0;if(g&4)break a;if((c[d>>2]|0)!=0?(c[(c[e>>2]|0)+4>>2]&1|0)==0:0)break a;j=i;k=e+40|0;if(!((c[k>>2]&c[j>>2]|0)==0?(c[k+4>>2]&c[j+4>>2]|0)==0:0))break a;g=g&65535;b[f>>1]=g|((h|0)==0|(g&1024|0)==0?4:512);g=c[e+4>>2]|0;if((g|0)<0)break a;e=c[(c[e+24>>2]|0)+20>>2]|0;j=e+(g*48|0)+22|0;f=(a[j>>0]|0)+-1<<24>>24;a[j>>0]=f;if(f<<24>>24)break a;e=e+(g*48|0)|0;if(!e)break;else h=h+1|0}}while(0);return}function Ou(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;do if(!(b[(c[d>>2]|0)+60>>1]&2)){k=d+116|0;j=0;h=k;while(1){i=h+12|0;if(!(c[i>>2]|0)){n=4;break}j=j+1|0;if((j|0)>=10){l=0;h=-1;m=2147483647;break}else h=h+20|0}if((n|0)==4){c[h+8>>2]=c[d+100>>2];c[h>>2]=e;b[h+4>>1]=f;c[i>>2]=g;a[h+6>>0]=0;g=d+104|0;e=c[g>>2]|0;c[g>>2]=e+1;c[h+16>>2]=e;break}while(1){j=c[k+16>>2]|0;i=(j|0)<(m|0);h=i?l:h;l=l+1|0;if((l|0)==10)break;else{m=i?j:m;k=k+20|0}}if((h|0)>-1){c[d+(h*20|0)+124>>2]=c[d+100>>2];c[d+(h*20|0)+116>>2]=e;b[d+(h*20|0)+120>>1]=f;c[d+(h*20|0)+128>>2]=g;a[d+(h*20|0)+122>>0]=0;g=d+104|0;e=c[g>>2]|0;c[g>>2]=e+1;c[d+(h*20|0)+132>>2]=e}}while(0);return}function Pu(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=c[d+8>>2]|0;m=c[e+64>>2]|0;n=b[m+24>>1]|0;p=b[m+42>>1]|0;t=c[m+28>>2]|0;q=d+72|0;l=c[q>>2]|0;i=l+1|0;s=n&65535;o=s+g|0;c[q>>2]=l+o;q=c[d>>2]|0;t=gh(q,kt(r,t)|0)|0;q=(t|0)!=0;if(!q)a[(c[d>>2]|0)+65>>0]=1;if(p<<16>>16){g=c[e+8>>2]|0;j=(f|0)!=0;sh(r,j?105:108,g,0,0)|0;k=sh(r,16,0,0,0)|0;l=p&65535;j=sh(r,j?62:65,g,0,i)|0;th(r,j,l,-14);c[e+20>>2]=j;j=c[r+32>>2]|0;if(j>>>0>k>>>0)c[(c[r+4>>2]|0)+(k*20|0)+8>>2]=j;c[(c[r+24>>2]|0)+88>>2]=j+-1;k=0;do{sh(r,47,g,k,k+i|0)|0;k=k+1|0}while((k|0)<(l|0))}if((p&65535)<(n&65535)){m=m+48|0;l=e+12|0;n=(o|0)==1;o=p&65535;k=i;while(1){j=c[(c[m>>2]|0)+(o<<2)>>2]|0;g=o+k|0;i=Mu(d,j,e,o,f,g)|0;do if((i|0)!=(g|0))if(n){Wr(d,k);break}else{sh(r,34,i,g,0)|0;i=k;break}else i=k;while(0);if(!(b[j+18>>1]&129)){g=c[(c[j>>2]|0)+16>>2]|0;if(Qu(g)|0)sh(r,76,i+o|0,c[l>>2]|0,0)|0;if(q){j=t+o|0;if((xu(g,a[j>>0]|0)|0)<<24>>24==65){a[j>>0]=65;k=65}else k=a[j>>0]|0;if(Ru(g,k)|0)a[j>>0]=65}}o=o+1|0;if((o|0)>=(s|0))break;else k=i}}c[h>>2]=t;return i|0}function Qu(d){d=d|0;var e=0;e=a[d>>0]|0;if((e+99&255)<2)do{d=c[d+12>>2]|0;e=a[d>>0]|0}while((e+99&255)<2);if(e<<24>>24==-97)e=a[d+38>>0]|0;switch(e&255|0){case 134:case 133:case 97:case 132:{d=0;break}case 154:{if(!(c[d+4>>2]&1048576)){e=b[d+32>>1]|0;if(e<<16>>16>-1)d=(a[(c[(c[d+44>>2]|0)+4>>2]|0)+((e<<16>>16)*24|0)+20>>0]|0)==0;else d=0}else d=1;d=d&1;break}default:d=1}return d|0}function Ru(d,e){d=d|0;e=e|0;var f=0;a:do if(e<<24>>24==65)d=1;else{f=a[d>>0]|0;if((f+99&255)<2)do{d=c[d+12>>2]|0;f=a[d>>0]|0}while((f+99&255)<2);if(f<<24>>24==-97)f=a[d+38>>0]|0;switch(f&255|0){case 154:{if((b[d+32>>1]|0)<0)d=(e+-67&255)<2;else d=0;d=d&1;break a}case 97:{d=e<<24>>24==66&1;break a}case 132:{d=(e+-67&255)<2&1;break a}case 134:{d=1;break a}case 133:{d=(e<<24>>24==69|e<<24>>24==67)&1;break a}default:{d=0;break a}}}while(0);return d|0}function Su(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[b+8>>2]|0;do if(f){a:do if((e|0)>0)while(1){if((a[f>>0]|0)!=65){g=f;break a}e=e+-1|0;d=d+1|0;f=f+1|0;if((e|0)<=0){g=f;break}}else g=f;while(0);while(1){if((e|0)<=1){i=8;break}f=e+-1|0;if((a[g+f>>0]|0)==65)e=f;else break}if((i|0)==8)if((e|0)<=0)break;sh(h,48,d,e,0)|0;th(h,-1,g,e);$s(b,d,e)}while(0);return}function Tu(a,b){a=a|0;b=b|0;var d=0,e=0;if(b){Kv(b+328|0);e=b+16|0;d=c[e>>2]|0;if(d)do{c[e>>2]=c[d+52>>2];Fu(a,d);ig(a,d);d=c[e>>2]|0}while((d|0)!=0);ig(a,b)}return}function Uu(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+32|0;if((i|0)>=(j|0))ba();e=d;c[e+0>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e>>2]=80;c[e+4>>2]=81;c[e+24>>2]=a;ns(e,b)|0;i=d;return}function Vu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p+4|0;o=p;m=c[b+8>>2]|0;c[n>>2]=0;c[o>>2]=0;if(!((m|0)==0|(d|0)==0)){h=a[d>>0]|0;g=h&255;a:do switch(g|0){case 72:{l=ts(m)|0;ct(b,c[d+12>>2]|0,l,f^16);g=b+100|0;c[g>>2]=(c[g>>2]|0)+1;Vu(b,c[d+16>>2]|0,e,f);g=c[m+24>>2]|0;h=~l;if((l|0)<0?(k=c[g+112>>2]|0,(k|0)!=0):0)c[k+(h<<2)>>2]=c[m+32>>2];c[g+88>>2]=(c[m+32>>2]|0)+-1;Zt(b);break}case 71:{Vu(b,c[d+12>>2]|0,e,f);m=b+100|0;c[m>>2]=(c[m>>2]|0)+1;Vu(b,c[d+16>>2]|0,e,f);Zt(b);break}case 19:{ct(b,c[d+12>>2]|0,e,f);break}case 148:case 73:{f=d+12|0;l=Xt(b,c[f>>2]|0,n)|0;k=d+16|0;m=Xt(b,c[k>>2]|0,o)|0;Yt(b,c[f>>2]|0,c[k>>2]|0,h<<24>>24==73?79:78,l,m,e,128);break}case 75:{k=ts(m)|0;bu(b,d,k,(f|0)!=0?e:k);sh(m,16,0,e,0)|0;h=c[m+24>>2]|0;g=~k;if((k|0)<0?(l=c[h+112>>2]|0,(l|0)!=0):0)c[l+(g<<2)>>2]=c[m+32>>2];c[h+88>>2]=(c[m+32>>2]|0)+-1;break}case 79:case 78:case 83:case 80:case 81:case 82:{h=d+12|0;l=Xt(b,c[h>>2]|0,n)|0;k=d+16|0;m=Xt(b,c[k>>2]|0,o)|0;Yt(b,c[h>>2]|0,c[k>>2]|0,g,l,m,e,f);break}case 77:case 76:{sh(m,g,Xt(b,c[d+12>>2]|0,n)|0,e,0)|0;break}case 74:{Wu(b,d,e,1,f);break}default:{if(Xu(d)|0){sh(m,16,0,e,0)|0;break a}if(!(iu(d)|0))sh(m,45,Xt(b,d,n)|0,e,(f|0)!=0&1)|0}}while(0);Wr(b,c[n>>2]|0);Wr(b,c[o>>2]|0)}i=p;return}function Wu(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=i;i=i+208|0;if((i|0)>=(j|0))ba();l=p+152|0;h=p+104|0;k=p+56|0;m=p+8|0;n=p;c[n>>2]=0;o=m+0|0;q=(c[d+12>>2]|0)+0|0;r=o+48|0;do{c[o>>2]=c[q>>2];o=o+4|0;q=q+4|0}while((o|0)<(r|0));a[l>>0]=72;c[l+12>>2]=h;c[l+16>>2]=k;a[h>>0]=83;c[h+12>>2]=m;d=c[(c[d+20>>2]|0)+4>>2]|0;c[h+16>>2]=c[d>>2];a[k>>0]=81;c[k+12>>2]=m;c[k+16>>2]=c[d+20>>2];d=Xt(b,m,n)|0;a[m+38>>0]=a[m>>0]|0;a[m>>0]=-97;c[m+28>>2]=d;d=m+4|0;c[d>>2]=c[d>>2]&-4097;if(!f)ct(b,l,e,g);else Vu