Lines Matching refs:Xq
8 e{f=d+43|0;g=(a[f>>0]|0)==0;if((e|0)<=0){f=g&1;break}if(g){g=c[d+4>>2]|0;lc[c[(c[g>>2]|0)+56>>2]&31](g,(b[d+40>>1]|0)+3|0,1,5)|0}a[f>>0]=1;f=1}while(0);return f|0}function bp(b){b=b|0;var e=0,f=0,g=0,h=0;f=b+73|0;if((a[f>>0]|0)==2)a[f>>0]=1;else c[b+68>>2]=0;e=b+48|0;gm(b,e);do if(!(a[(c[b+120>>2]|0)+2>>0]|0)){g=e;g=mg(c[g>>2]|0,c[g+4>>2]|0)|0;if(g){e=Hm(b,0,c[e>>2]|0,g,0)|0;if(!e){c[b+56>>2]=g;h=9;break}else{Sc(g);break}}else e=7}else h=9;while(0);if((h|0)==9){cp(b);a[f>>0]=3;e=0}f=b+72|0;a[f>>0]=d[f>>0]&251;return e|0}function cp(a){a=a|0;var d=0,e=0,f=0,g=0;d=a+76|0;if((b[d>>1]|0)>=0){g=0;while(1){e=a+(g<<2)+120|0;f=c[e>>2]|0;if(f)xg(c[f+68>>2]|0);c[e>>2]=0;if((g|0)<(b[d>>1]|0))g=g+1|0;else break}}b[d>>1]=-1;return}function dp(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;k=o+8|0;if(e>>>0<2)m=0;else{m=e+-2|0;m=m-((m>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;m=((m+1|0)==(((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0|0)?3:2)+m|0}h=vg(c[b>>2]|0,m,k,0)|0;do if(!h){k=c[k>>2]|0;l=c[k+4>>2]|0;h=(e-m|0)*5|0;b=h+-5|0;if((b|0)<0){if(k)xg(k);c[n>>2]=53912;c[n+4>>2]=10788;Zc(11,13600,n);h=11;break}a[f>>0]=a[l+b>>0]|0;if(g)c[g>>2]=(d[l+(h+-3)>>0]|0)<<16|(d[l+(h+-4)>>0]|0)<<24|(d[l+(h+-2)>>0]|0)<<8|(d[l+(h+-1)>>0]|0);if(k)xg(k);if(((a[f>>0]|0)+-1&255)>4){c[n>>2]=53920;c[n+4>>2]=10788;Zc(11,13600,n);h=11}else h=0}while(0);i=o;return h|0}function ep(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var 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;K=i;i=i+32|0;if((i|0)>=(j|0))ba();J=K;I=K+16|0;p=K+20|0;H=K+12|0;q=K+8|0;c[I>>2]=0;s=e+12|0;o=c[s>>2]|0;r=e+44|0;F=c[r>>2]|0;G=o+56|0;n=c[G>>2]|0;n=d[n+37>>0]<<16|d[n+36>>0]<<24|d[n+38>>0]<<8|d[n+39>>0];do if(n>>>0<F>>>0){if(!n){k=(a[e+19>>0]|0)==0&1;o=Cg(c[o+68>>2]|0)|0;if(o){l=o;break}p=c[r>>2]|0;n=p+1|0;c[r>>2]=n;m=e+32|0;o=c[m>>2]|0;if((p|0)==(((c[2514]|0)>>>0)/(o>>>0)|0|0)){n=p+2|0;c[r>>2]=n}if(a[e+17>>0]|0){if(n>>>0<2)p=0;else{p=n+-2|0;p=p-((p>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;p=((p+1|0)==(((c[2514]|0)>>>0)/(o>>>0)|0|0)?3:2)+p|0}if((p|0)==(n|0)){c[q>>2]=0;p=$k(e,n,q,k)|0;if(p){l=p;break}F=c[q>>2]|0;p=F+68|0;o=Cg(c[p>>2]|0)|0;if(F)xg(c[p>>2]|0);if(o){l=o;break}p=c[r>>2]|0;n=p+1|0;c[r>>2]=n;if((p|0)==(((c[2514]|0)>>>0)/((c[m>>2]|0)>>>0)|0|0)){n=p+2|0;c[r>>2]=n}}}m=c[(c[s>>2]|0)+56>>2]|0;a[m+28>>0]=n>>>24;a[m+29>>0]=n>>>16;a[m+30>>0]=n>>>8;a[m+31>>0]=n;m=c[r>>2]|0;c[g>>2]=m;m=$k(e,m,f,k)|0;if(m){l=m;break}m=Cg(c[(c[f>>2]|0)+68>>2]|0)|0;if(m){l=c[f>>2]|0;if(!l){l=m;A=98}else{xg(c[l+68>>2]|0);l=m;A=92}}}else{if(k<<24>>24==2)p=1;else if(k<<24>>24==1?F>>>0>=h>>>0:0){l=dp(e,h,p,0)|0;if(l)break;p=(a[p>>0]|0)==2&1}else p=0;l=Cg(c[o+68>>2]|0)|0;if(l)break;C=c[G>>2]|0;D=n+-1|0;a[C+36>>0]=D>>>24;a[C+37>>0]=D>>>16;a[C+38>>0]=D>>>8;a[C+39>>0]=D;C=e+36|0;D=(h|0)==0;E=e+60|0;B=k<<24>>24==2;m=0;a:while(1){t=(m|0)!=0;if(t){s=c[m+56>>2]|0;s=d[s+1>>0]<<16|d[s>>0]<<24|d[s+2>>0]<<8|d[s+3>>0]}else{s=c[G>>2]|0;s=d[s+33>>0]<<16|d[s+32>>0]<<24|d[s+34>>0]<<8|d[s+35>>0]}if(s>>>0>F>>>0){A=15;break}l=$k(e,s,I,0)|0;if(l){A=17;break}n=c[I>>2]|0;u=n+56|0;y=c[u>>2]|0;z=y+4|0;v=y+5|0;w=y+6|0;x=y+7|0;A=d[v>>0]<<16|d[z>>0]<<24|d[w>>0]<<8|d[x>>0];q=p<<24>>24!=0;do if((A|0)!=0|q){if(A>>>0>(((c[C>>2]|0)>>>2)+-2|0)>>>0){l=n;A=22;break a}if(p<<24>>24!=0?(s|0)==(h|0)|s>>>0<h>>>0&B:0){c[g>>2]=s;c[f>>2]=n;l=Cg(c[n+68>>2]|0)|0;if(l){A=88;break a}do if(!A){if(!t){A=(c[G>>2]|0)+32|0;z=c[u>>2]|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;a[A>>0]=z;a[A+1>>0]=z>>8;a[A+2>>0]=z>>16;a[A+3>>0]=z>>24;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;z=c[u>>2]|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;a[A>>0]=z;a[A+1>>0]=z>>8;a[A+2>>0]=z>>16;a[A+3>>0]=z>>24}else{s=c[u>>2]|0;q=a[s+8>>0]|0;k=a[s+9>>0]|0;r=a[s+10>>0]|0;s=a[s+11>>0]|0;p=(k&255)<<16|(q&255)<<24|(r&255)<<8|s&255;if(p>>>0>F>>>0){l=n;A=32;break a}l=$k(e,p,H,0)|0;if(l){A=88;break a}p=c[H>>2]|0;o=p+68|0;l=Cg(c[o>>2]|0)|0;if(l){A=35;break a}z=p+56|0;y=c[z>>2]|0;x=c[u>>2]|0;x=d[x>>0]|d[x+1>>0]<<8|d[x+2>>0]<<16|d[x+3>>0]<<24;a[y>>0]=x;a[y+1>>0]=x>>8;a[y+2>>0]=x>>16;a[y+3>>0]=x>>24;y=c[z>>2]|0;A=A+-1|0;a[y+4>>0]=A>>>24;a[y+5>>0]=A>>>16;a[y+6>>0]=A>>>8;a[y+7>>0]=A;gw((c[z>>2]|0)+8|0,(c[u>>2]|0)+12|0,A<<2|0)|0;if(p)xg(c[o>>2]|0);if(!t){A=c[G>>2]|0;a[A+32>>0]=q;a[A+33>>0]=k;a[A+34>>0]=r;a[A+35>>0]=s;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;a[A>>0]=q;a[A+1>>0]=k;a[A+2>>0]=r;a[A+3>>0]=s}while(0);c[I>>2]=0;n=0;l=0;p=0;break}if(A){b:do if(!D){if(B){k=0;while(1){u=k<<2;if((d[y+(u+9)>>0]<<16|d[y+(u+8)>>0]<<24|d[y+(u+10)>>0]<<8|d[y+(u+11)>>0])>>>0<=h>>>0)break b;k=k+1|0;if(k>>>0>=A>>>0){k=0;break b}}}o=(d[y+9>>0]<<16|d[y+8>>0]<<24|d[y+10>>0]<<8|d[y+11>>0])-h|0;if((o|0)<=-1)o=(o|0)==-2147483648?2147483647:0-o|0;if(A>>>0>1){k=0;r=1;while(1){l=r<<2;l=(d[y+(l+9)>>0]<<16|d[y+(l+8)>>0]<<24|d[y+(l+10)>>0]<<8|d[y+(l+11)>>0])-h|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;s=(l|0)<(o|0);k=s?r:k;r=r+1|0;if((r|0)==(A|0))break;else o=s?l:o}}else k=0}else k=0;while(0);o=k<<2;s=y+(o+8)|0;o=d[y+(o+9)>>0]<<16|d[s>>0]<<24|d[y+(o+10)>>0]<<8|d[y+(o+11)>>0];if(o>>>0>F>>>0){l=n;A=56;break a}if((o|0)==(h|0)|q^1|o>>>0<h>>>0&B){c[g>>2]=o;l=Cg(c[n+68>>2]|0)|0;if(l){A=88;break a}p=A+-1|0;if(k>>>0<p>>>0){A=y+((A<<2)+4)|0;A=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;a[s>>0]=A;a[s+1>>0]=A>>8;a[s+2>>0]=A>>16;a[s+3>>0]=A>>24}a[z>>0]=p>>>24;a[v>>0]=p>>>16;a[w>>0]=p>>>8;a[x>>0]=p;o=c[g>>2]|0;p=c[E>>2]|0;do if(!p)p=0;else{if((c[p>>2]|0)>>>0<o>>>0){p=1;break}p=($h(p,o)|0)!=0}while(0);l=$k(e,o,f,p&1^1)|0;if(l){p=0;break}l=Cg(c[(c[f>>2]|0)+68>>2]|0)|0;if(!l){l=0;p=0;break}p=c[f>>2]|0;if(!p){p=0;break}xg(c[p+68>>2]|0);p=0}else l=0}else l=0}else{l=Cg(c[n+68>>2]|0)|0;if(l){A=89;break a}c[g>>2]=s;l=(c[G>>2]|0)+32|0;p=c[u>>2]|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[l>>0]=p;a[l+1>>0]=p>>8;a[l+2>>0]=p>>16;a[l+3>>0]=p>>24;c[f>>2]=n;c[I>>2]=0;n=0;l=0;p=0}while(0);if(m)xg(c[m+68>>2]|0);if(!(p<<24>>24)){m=0;A=88;break}else m=n}if((A|0)==15){c[J>>2]=58314;c[J+4>>2]=10788;Zc(11,13600,J);l=11;A=17}else if((A|0)==22){c[J>>2]=58343;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==32){c[J>>2]=58377;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==35)if(!p)A=88;else{xg(c[o>>2]|0);A=88}else if((A|0)==56){c[J>>2]=58442;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}if((A|0)==17)c[I>>2]=0;else if((A|0)==88)if(n)A=89;if((A|0)==89)xg(c[n+68>>2]|0);if(!m)A=92;else{xg(c[m+68>>2]|0);A=92}}if((A|0)==92?(l|0)!=0:0)A=98;if((A|0)==98){c[f>>2]=0;break}l=c[f>>2]|0;m=c[l+68>>2]|0;if((b[m+26>>1]|0)<=1){a[l>>0]=0;l=0;break}if(l)xg(m);c[f>>2]=0;c[J>>2]=58541;c[J+4>>2]=10788;Zc(11,13600,J);l=11}else{c[J>>2]=58259;c[J+4>>2]=10788;Zc(11,13600,J);l=11}while(0);i=K;return l|0}function fp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();t=y+12|0;s=y+8|0;x=y;f=c[b+40>>2]|0;a:do if(!f){h=b+96|0;g=c[h>>2]|0;if((g|0)>(e|0)){f=(d|0)==1;e=(f&1^1)+e|0;if((e|0)<(g|0)){d=b+92|0;g=e;do{ai(c[(c[d>>2]|0)+(g*48|0)+16>>2]|0);g=g+1|0}while((g|0)<(c[h>>2]|0))}c[h>>2]=e;if(f){if(e){f=0;break}f=c[b+68>>2]|0;g=c[f>>2]|0;if(!g){f=0;break}if((g|0)==14696)f=Ci(f,0,0)|0;else f=0;c[b+52>>2]=0;break}r=b+208|0;if((c[r>>2]|0)==0?(c[c[b+64>>2]>>2]|0)==0:0){f=0;break}if(!e)u=0;else u=(c[b+92>>2]|0)+((e+-1|0)*48|0)|0;q=(u|0)!=0;f=u+20|0;if(q){d=c[f>>2]|0;g=mg(512,0)|0;if(!g){f=7;break}bw(g|0,0,512)|0;c[g>>2]=d;w=g}else w=0;h=b+28|0;e=b+24|0;c[e>>2]=c[(q?f:h)>>2];a[b+18>>0]=a[b+12>>0]|0;b:do if(q){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;if(!(c[r>>2]|0)){g=u+8|0;l=c[g>>2]|0;g=c[g+4>>2]|0;d=(l|0)==0&(g|0)==0;l=d?k:l;g=d?e:g;d=u;f=c[d>>2]|0;d=c[d+4>>2]|0;o=h;c[o>>2]=f;c[o+4>>2]=d;if((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)while(1){f=sq(b,h,w,1,1)|0;if(f){n=k;m=e;break b}d=h;f=c[d>>2]|0;d=c[d+4>>2]|0;if(!((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)){v=39;break}}else v=39}else v=38}else{p=c[r>>2]|0;if(!p){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;v=38;break}c[e>>2]=c[h>>2];if(a[p+44>>0]|0){k=p+68|0;m=c[k>>2]|0;l=p+32|0;e=c[l>>2]|0;g=p+52|0;f=(c[e>>2]|0)+0|0;d=g+48|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(d|0));g=c[k>>2]|0;f=g+1|0;if(f>>>0>m>>>0)f=0;else{h=f;while(1){g=g+34|0;f=g>>>12;if(!f)g=(c[e>>2]|0)+(g<<2)|0;else g=(c[e+(f<<2)>>2]|0)+((g&4095)<<2)|0;f=xq(b,c[g>>2]|0)|0;g=h+1|0;if((f|0)!=0|g>>>0>m>>>0)break;o=h;e=c[l>>2]|0;h=g;g=o}g=c[k>>2]|0}if((m|0)!=(g|0))wq(p)}else f=0;g=rl(c[b+204>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a;while(1){f=g;g=c[g+12>>2]|0;f=xq
11 function iq(f,g){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,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=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;ea=i;i=i+192|0;if((i|0)>=(j|0))ba();_=ea+48|0;Y=ea+24|0;X=ea+160|0;F=ea+156|0;P=ea+152|0;I=ea+148|0;S=ea+144|0;L=ea+140|0;E=ea+16|0;ca=ea;v=ea+128|0;u=ea+116|0;w=ea+96|0;l=ea+88|0;da=f+8|0;$=c[da>>2]|0;aa=c[f>>2]|0;c[ca+0>>2]=c[9286];c[ca+4>>2]=c[9287];c[ca+8>>2]=c[9288];a:do switch(g|0){case 5:{a[$+450>>0]=0;c[$+440>>2]=0;break}case 7:{a[$+450>>0]=2;c[$+440>>2]=0;break}case 6:{a[$+450>>0]=1;c[$+440>>2]=0;break}case 38:{_=c[f+(aa+-2<<4)+16>>2]|0;c[ca>>2]=_;c[ca+4>>2]=(c[$+504>>2]|0)-_+(c[$+508>>2]|0);break}case 39:{u=f+(aa<<4)+16|0;s=c[$>>2]|0;k=c[$+484>>2]|0;b:do if(k){t=k+38|0;if((b[t>>1]|0)>=(c[s+96>>2]|0)){c[_>>2]=c[k>>2];ph($,36528,_);break}r=Sq(s,u)|0;if(r){p=b[t>>1]|0;h=p<<16>>16;c:do if(p<<16>>16>0){q=a[9328+(d[r>>0]|0)>>0]|0;n=c[k+4>>2]|0;o=r+1|0;l=0;while(1){m=c[n+(l*24|0)>>2]|0;if(q<<24>>24==(a[9328+(d[m>>0]|0)>>0]|0)?($c(o,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break c}c[_>>2]=r;ph($,36552,_);ig(s,r);break b}else n=c[k+4>>2]|0;while(0);o=k+4|0;do if(!(h&7)){n=no(s,n,(h*24|0)+192|0,0)|0;if(!n){ig(s,r);break b}else{c[o>>2]=n;p=b[t>>1]|0;break}}while(0);_=p<<16>>16;Z=n+(_*24|0)|0;c[Z+0>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;c[Z+16>>2]=0;c[Z+20>>2]=0;c[Z>>2]=r;a[n+(_*24|0)+21>>0]=65;a[n+(_*24|0)+22>>0]=1;b[t>>1]=(b[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=c[Y+4>>2]|0;_=ca;c[_>>2]=c[Y>>2];c[_+4>>2]=Z;c[$+324>>2]=0;break}case 22:{Pq($,0,f+(aa<<4)+16|0);break}case 23:{Pq($,1,f+(aa<<4)+16|0);break}case 8:{v=c[$>>2]|0;z=v+65|0;if(((a[z>>0]|0)==0?(a[$+18>>0]|0)==0:0)?(V=$+64|0,(c[V>>2]|0)==0):0){y=Kq($)|0;if(y){do{}while((Lq(y,61)|0)!=0);sh(y,24,0,0,0)|0;do if(!(a[z>>0]|0)){o=$+332|0;s=c[o>>2]|0;if((s|0)==0?(c[$+316>>2]|0)==0:0)break;p=y+32|0;q=c[p>>2]|0;if(q)c[(c[y+4>>2]|0)+8>>2]=q;c[(c[y+24>>2]|0)+88>>2]=q+-1;t=v+20|0;d:do if((c[t>>2]|0)>0){h=y+96|0;k=$+328|0;l=v+16|0;m=v+145|0;n=y+4|0;r=0;while(1){u=1<<r;if(((u&s|0)!=0?(c[h>>2]=c[h>>2]|u,_=c[(c[(c[l>>2]|0)+(r<<4)+12>>2]|0)+4>>2]|0,th(y,sh(y,4,r,(c[k>>2]&u|0)!=0&1,c[$+(r<<2)+336>>2]|0)|0,_,-14),(a[m>>0]|0)==0):0)?(K=c[n>>2]|0,(K|0)!=0):0)a[K+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=1;r=r+1|0;if((r|0)>=(c[t>>2]|0))break d;s=c[o>>2]|0}}while(0);p=$+452|0;if((c[p>>2]|0)>0){o=$+520|0;n=0;do{q=c[(c[(c[o>>2]|0)+(n<<2)>>2]|0)+60>>2]|0;e:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break e;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);th(y,sh(y,146,0,0,0)|0,q,-10);n=n+1|0}while((n|0)<(c[p>>2]|0))}c[p>>2]=0;p=Kq($)|0;o=$+396|0;if((c[o>>2]|0)>0){n=$+400|0;m=0;do{Y=c[n>>2]|0;_=c[Y+(m<<4)+12>>2]|0;th(p,sh(p,145,c[Y+(m<<4)>>2]|0,c[Y+(m<<4)+4>>2]|0,d[Y+(m<<4)+8>>0]|0)|0,_,-2);m=m+1|0}while((m|0)<(c[o>>2]|0))}k=c[$+8>>2]|0;q=c[$+404>>2]|0;if(q){h=(c[$>>2]|0)+16|0;r=k+32|0;s=k+4|0;do{o=c[q+8>>2]|0;p=c[q+12>>2]|0;Mq($,0,o,c[(c[(c[h>>2]|0)+(o<<4)+12>>2]|0)+72>>2]|0,54);o=p+1|0;sh(k,28,0,p,o)|0;n=c[r>>2]|0;l=p+-1|0;m=c[c[q+4>>2]>>2]|0;th(k,sh(k,97,0,l,0)|0,m,0);m=n+9|0;sh(k,108,0,m,0)|0;sh(k,47,0,0,p)|0;sh(k,78,l,n+7|0,p)|0;l=c[s>>2]|0;if(l)a[l+(((c[r>>2]|0)+-1|0)*20|0)+3>>0]=16;sh(k,103,0,o,0)|0;sh(k,47,0,1,p)|0;sh(k,16,0,m,0)|0;sh(k,9,0,n+2|0,0)|0;sh(k,25,0,p,0)|0;sh(k,61,0,0,0)|0;q=c[q>>2]|0}while((q|0)!=0)}p=c[$+316>>2]|0;if((p|0)!=0?(a[$+23>>0]=0,(c[p>>2]|0)>0):0){o=p+4|0;n=0;do{_=c[o>>2]|0;Nq($,c[_+(n*20|0)>>2]|0,c[_+(n*20|0)+16>>2]|0);n=n+1|0}while((n|0)<(c[p>>2]|0))}sh(y,16,0,1,0)|0}while(0);if((c[V>>2]|0)==0?(a[z>>0]|0)==0:0){if((c[$+404>>2]|0)!=0?(W=$+68|0,(c[W>>2]|0)==0):0)c[W>>2]=1;wh(y,$);c[$+12>>2]=101;a[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)c[$+12>>2]=1;c[$+68>>2]=0;c[$+72>>2]=0;c[$+76>>2]=0;c[$+440>>2]=0;c[$+332>>2]=0}break}case 58:{c[v>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[v+4>>2]=c[f+(aa+-1<<4)+16>>2];c[v+8>>2]=c[f+(aa<<4)+24>>2];Uq($,v);break}case 59:{_=f+(aa<<4)+16|0;c[u>>2]=Vq($,97,0,0,_)|0;_=c[_>>2]|0;c[u+4>>2]=_;c[u+8>>2]=_+(c[f+(aa<<4)+20>>2]|0);Uq($,u);break}case 61:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(s=b[l+38>>1]|0,s<<16>>16>=1):0)a[(c[l+4>>2]|0)+(((s<<16>>16)+-1|0)*24|0)+20>>0]=k;break}case 70:{c[ca>>2]=0;break}case 62:{Wq($,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);break}case 63:{Xq($,0,0,0,0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 64:{Yq($,c[f+(aa+-1<<4)+16>>2]|0);break}case 9:{l=c[f+(aa+-1<<4)+16>>2]|0;k=c[$>>2]|0;if((Oq($,22,37104,0,0)|0)==0?(B=Kq($)|0,(B|0)!=0):0){if((l|0)!=7?(D=k+20|0,(c[D>>2]|0)>0):0){l=(l|0)==9?2:1;k=B+96|0;n=0;do{sh(B,4,n,l,0)|0;c[k>>2]=c[k>>2]|1<<n;n=n+1|0}while((n|0)<(c[D>>2]|0))}sh(B,3,0,0,0)|0}break}case 24:{Pq($,2,f+(aa<<4)+16|0);break}case 26:{Qq($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,0,0,c[f+(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:{c[ca>>2]=0;break}case 27:{a[(c[$>>2]|0)+250>>0]=0;Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[ca>>2]=1;break}case 32:{Rq($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,a[f+(aa<<4)+16>>0]|0,0);break}case 33:{_=f+(aa<<4)+16|0;Rq($,0,0,0,c[_>>2]|0);Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 34:{a[ca>>0]=0;break}case 35:{l=c[f+(aa<<4)+20>>2]|0;k=c[f+(aa<<4)+16>>2]|0;if((l|0)==5?(Bc(k,20456,5)|0)==0:0){a[ca>>0]=32;break a}a[ca>>0]=0;c[_>>2]=l;c[_+4>>2]=k;ph($,20464,_);break}case 44:{l=f+(aa<<4)+16|0;k=c[$+484>>2]|0;if((k|0)!=0?(G=b[k+38>>1]|0,G<<16>>16>=1):0){_=(G<<16>>16)+-1|0;Z=c[k+4>>2]|0;$=Sq(c[$>>2]|0,l)|0;c[Z+(_*24|0)+12>>2]=$;a[Z+(_*24|0)+21>>0]=Tq($,Z+(_*24|0)+22|0)|0}break}case 65:{Zq($,0,f+(aa+-2<<4)+16|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 66:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(r=c[l+16>>2]|0,(r|0)!=0):0)a[r+24>>0]=k;break}case 67:{n=c[$+484>>2]|0;if((n|0)!=0?(A=(b[n+38>>1]|0)+-1|0,o=c[$>>2]|0,m=Sq(o,f+(aa<<4)+16|0)|0,(m|0)!=0):0){if(!(_q($,m)|0)){ig(o,m);break a}p=n+4|0;ig(o,c[(c[p>>2]|0)+(A*24|0)+16>>2]|0);c[(c[p>>2]|0)+(A*24|0)+16>>2]=m;l=c[n+8>>2]|0;if(l)do{if((b[c[l+4>>2]>>1]|0)==(A|0))c[c[l+32>>2]>>2]=c[(c[p>>2]|0)+(A*24|0)+16>>2];l=c[l+20>>2]|0}while((l|0)!=0)}break}case 47:{$=c[f+(aa+-5<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 49:{$=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=$+320|0;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 57:case 55:{Uq($,f+(aa<<4)+16|0);break}case 56:{Uq($,f+(aa+-1<<4)+16|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=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 46:{$=c[f+(aa+-3<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 224:{h=Vq($,119,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=c[ca>>2]|0;Z=_+4|0;c[Z>>2]=c[Z>>2]|2099200;ur($,_)}c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 226:{l=aa+-1|0;k=f+(l<<4)+16|0;o=f+(aa<<4)+16|0;n=lr(c[$>>2]|0,0,k,o)|0;p=aa+-3|0;m=Vq($,75,c[f+(p<<4)+16>>2]|0,0,0)|0;c[ca>>2]=m;if(!m){zo(c[$>>2]|0,n);n=0}else{c[m+20>>2]=gr($,0,n,0,0,0,0,0,0,0)|0;n=c[ca>>2]|0;_=n+4|0;c[_>>2]=c[_>>2]|2099200;ur($,n)}if(c[f+(aa+-2<<4)+16>>2]|0)c[ca>>2]=Vq($,19,n,0,0)|0;c[ca+4>>2]=c[f+(p<<4)+20>>2];h=c[o>>2]|0;if(!h)h=(c[k>>2]|0)+(c[f+(l<<4)+20>>2]|0)|0;else h=h+(c[f+(aa<<4)+20>>2]|0)|0;c[ca+8>>2]=h;break}case 225:{l=aa+-4|0;h=Vq($,75,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);h=0}else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];h=c[ca>>2]|0;_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 227:{h=Vq($,20,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 228:{k=Vq($,136,c[f+(aa+-3<<4)+16>>2]|0,0,0)|0;c[ca>>2]=k;if(!k){Jk(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);Ck(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)}else{l=c[f+(aa+-1<<4)+16>>2]|0;h=c[f+(aa+-2<<4)+16>>2]|0;if(l)h=hr($,h,l)|0;c[k+20>>2]=h;ur($,c[ca>>2]|0)}c[ca+4>>2]=c[f+(aa+-4<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 291:case 240:{c[ca>>2]=2;break}case 241:{c[ca>>2]=0;break}case 239:{XqXqxqXq(f,0,0,0,p,d[N+45>>0]|0,0,0,0,0)|0;if(!p)break;u=p+51|0;a[u>>0]=a[u>>0]&-4|2;b[o>>1]=-1;u=b[p+46>>1]|0}else{p=c[N+8>>2]|0;c:do if(!p)p=0;else while(1){if((a[p+51>>0]&3)==2)break c;p=c[p+20>>2]|0;if(!p){p=0;break}}while(0);v=p+46|0;q=b[v>>1]|0;if((q&65535)>1){t=c[p+4>>2]|0;s=p+48|0;u=1;o=1;do{m=b[t+(u<<1)>>1]|0;r=o;n=t;while(1){if((r|0)<=0){C=36;break}if((b[n>>1]|0)==m<<16>>16){C=35;break}else{r=r+-1|0;n=n+2|0}}if((C|0)==35){C=0;b[s>>1]=(b[s>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;b[t+(o<<1)>>1]=m;q=b[v>>1]|0;o=o+1|0}u=u+1|0}while((u|0)<(q&65535|0))}else o=1;u=o&65535;b[v>>1]=u}r=p+51|0;q=a[r>>0]|32;a[r>>0]=q;A=u&65535;if(!(a[K+147>>0]|0)){if(u<<16>>16){q=c[p+4>>2]|0;o=c[N+4>>2]|0;n=0;do{a[o+((b[q+(n<<1)>>1]|0)*24|0)+20>>0]=1;n=n+1|0}while((n|0)<(A|0));q=a[r>>0]|0}a[r>>0]=q|8}c[p+40>>2]=c[N+32>>2];r=c[N+8>>2]|0;if(r){x=u<<16>>16==0;y=p+4|0;z=p+32|0;do{d:do if((a[r+51>>0]&3)!=2){do if(x)q=b[r+46>>1]|0;else{s=c[r+4>>2]|0;q=b[r+46>>1]|0;n=q&65535;m=c[y>>2]|0;w=0;o=0;do{t=b[m+(w<<1)>>1]|0;v=n;u=s;while(1){if((v|0)<=0){u=1;break}if((b[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}o=u+o|0;w=w+1|0}while((w|0)<(A|0));n=r+46|0;if(!o)break;if(gs(K,r,(q&65535)+o|0)|0)break b;if(x)break d;t=b[n>>1]|0;w=r+4|0;m=r+32|0;v=t;u=0;t=t&65535;while(1){q=c[w>>2]|0;o=b[(c[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;s=q;while(1){if((v|0)<=0){C=63;break}if((b[s>>1]|0)==o<<16>>16)break;else{v=v+-1|0;s=s+2|0}}if((C|0)==63){C=0;b[q+(t<<1)>>1]=o;c[(c[m>>2]|0)+(t<<2)>>2]=c[(c[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=b[n>>1]|0}}while(0);b[r+48>>1]=q}while(0);r=c[r+20>>2]|0}while((r|0)!=0)}v=N+38|0;q=b[v>>1]|0;o=q<<16>>16;if((A|0)>=(o|0)){b[p+48>>1]=q;break}if((gs(K,p,o)|0)==0?(B=b[v>>1]|0,B<<16>>16>0):0){s=p+4|0;u=p+32|0;q=B;t=0;p=A;do{n=c[s>>2]|0;r=p;o=n;while(1){if((r|0)<=0){C=74;break}if((b[o>>1]|0)==(t|0))break;else{r=r+-1|0;o=o+2|0}}if((C|0)==74){C=0;b[n+(p<<1)>>1]=t;c[(c[u>>2]|0)+(p<<2)>>2]=11152;q=b[v>>1]|0;p=p+1|0}t=t+1|0}while((t|0)<(q<<16>>16|0))}}while(0);C=N+68|0;p=c[C>>2]|0;e:do if(p){o=c[K+20>>2]|0;if((o|0)>0){n=c[K+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0))break e;if((m|0)<(o|0))q=m;else{q=m;break}}}else q=0}else q=-1e6;while(0);n=c[N+24>>2]|0;f:do if(n){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+24>>2]=0;c[E+28>>2]=0;p=D+0|0;o=p+80|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(o|0));c[D>>2]=1;c[D+16>>2]=c[N>>2];c[D+24>>2]=N;c[D+48>>2]=-1;c[E>>2]=f;c[E+4>>2]=D;b[E+28>>1]=4;p=n+4|0;if((c[n>>2]|0)>0){o=0;do{if(hs(E,c[(c[p>>2]|0)+(o*20|0)>>2]|0)|0)break f;o=o+1|0}while((o|0)<(c[n>>2]|0))}}while(0);A=N+38|0;m=b[A>>1]|0;if(m<<16>>16>0){p=m<<16>>16;o=c[N+4>>2]|0;n=0;while(1){n=(d[o+22>>0]|0)+n|0;p=p+-1|0;if((p|0)<=0)break;else o=o+24|0}}else n=0;b[N+42>>1]=bs(((e[N+36>>1]|0)>>>15&65535)+n<<2,0)|0;n=c[N+8>>2]|0;if(n)do{is(n);n=c[n+20>>2]|0}while((n|0)!=0);if(!(a[I>>0]|0)){B=Kq(f)|0;if(!B)break;sh(B,61,0,0,0)|0;y=(c[N+12>>2]|0)==0;o=y?36672:36680;y=y?31232:35480;do if(!l){n=k<<24>>24==0?h:f+504|0;l=c[n>>2]|0;p=c[f+496>>2]|0;m=l-p|0;if((a[l>>0]|0)!=59)m=(c[n+4>>2]|0)+m|0;c[J>>2]=o;c[J+4>>2]=m;c[J+8>>2]=p;p=f+388|0;m=N;o=qh(K,36688,J)|0}else{p=f+388|0;sh(B,55,1,c[p>>2]|0,q)|0;o=c[B+4>>2]|0;if(o)a[o+(((c[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;c[f+68>>2]=2;a[F>>0]=14;c[F+4>>2]=1;a[F+1>>0]=0;c[F+8>>2]=0;c[F+12>>2]=0;er(f,l,F)|0;sh(B,61,1,0,0)|0;if(!(c[f+64>>2]|0)){m=js(f,l)|0;if(!m)break a;F=m+38|0;b[A>>1]=b[F>>1]|0;l=m+4|0;c[N+4>>2]=c[l>>2];b[F>>1]=0;c[l>>2]=0;gg(K,m)}z=N+4|0;w=b[A>>1]|0;if(w<<16>>16>0){s=w<<16>>16;t=0;o=0;u=c[z>>2]|0;while(1){m=c[u>>2]|0;n=0;while(1){r=a[m>>0]|0;if(!(r<<24>>24))break;else if(r<<24>>24==34)n=n+1|0;m=m+1|0;n=n+1|0}o=o+7+n|0;t=t+1|0;if((t|0)==(s|0))break;else u=u+24|0}r=o+2|0}else r=2;m=c[N>>2]|0;o=0;while(1){n=a[m>>0]|0;if(n<<24>>24==34)o=o+1|0;else if(!(n<<24>>24))break;m=m+1|0;o=o+1|0}u=o+r|0;x=(u|0)<50;r=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;o=mg(u,((u|0)<0)<<31>>31)|0;if(!o){a[L>>0]=1;m=N;o=0;break}Yc(u,o,36904,J)|0;n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;c[G>>2]=n-o&1073741823;ks(o,G,c[N>>2]|0);m=c[G>>2]|0;s=m+1|0;c[G>>2]=s;a[o+m>>0]=40;m=u-s|0;n=o+s|0;if((b[A>>1]|0)>0){w=0;t=c[z>>2]|0;while(1){Yc(m,n,r,J)|0;n=o+s|0;if(!n)n=0;else{r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;n=r-n&1073741823}c[G>>2]=n+s;ks(o,G,c[t>>2]|0);n=c[36920+((a[t+21>>0]|0)+-65<<2)>>2]|0;r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;s=r-n&1073741823;r=c[G>>2]|0;gw(o+r|0,n|0,s|0)|0;s=r+s|0;c[G>>2]=s;r=w+1|0;m=u-s|0;n=o+s|0;if((r|0)<(b[A>>1]|0)){w=r;t=t+24|0;r=v}else break}}c[J>>2]=x;Yc(m,n,10344,J)|0;m=N}while(0);n=K+16|0;k=c[m>>2]|0;F=c[p>>2]|0;l=c[f+384>>2]|0;c[J>>2]=c[(c[n>>2]|0)+(q<<4)>>2];c[J+4>>2]=(q|0)==1?13184:13208;c[J+8>>2]=y;c[J+12>>2]=k;c[J+16>>2]=k;c[J+20>>2]=F;c[J+24>>2]=o;c[J+28>>2]=l;xr(f,36704,J);ig(K,o);zr(f,q);if((a[N+44>>0]&8)!=0?(H=c[n>>2]|0,(c[(c[H+(q<<4)+12>>2]|0)+72>>2]|0)==0):0){c[J>>2]=c[H+(q<<4)>>2];xr(f,36792,J)}c[J>>2]=c[m>>2];Er(B,q,qh(K,36840,J)|0);if(!(a[I>>0]|0))break}else m=N;if(Ek((c[C>>2]|0)+8|0,c[m>>2]|0,N)|0){a[L>>0]=1;break}c[M>>2]=0;l=K+24|0;c[l>>2]=c[l>>2]|2;if(!(c[N+12>>2]|0)){l=c[f+496>>2]|0;c[N+48>>2]=(Jn(l,(c[((c[g>>2]|0)==0?h:g)>>2]|0)-l|0)|0)+13}}while(0);i=O;return}function Sq(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d)e=0;else{f=c[d>>2]|0;d=c[d+4>>2]|0;if((f|0)!=0?(e=fw(d|0,0,1,0)|0,e=ih(b,e,C)|0,(e|0)!=0):0){gw(e|0,f|0,d|0)|0;a[e+d>>0]=0}else e=0;ho(e)}return e|0}function Tq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;a:do if(b){g=a[b>>0]|0;b:do if(!(g<<24>>24)){f=67;g=0}else{k=g;f=67;h=0;g=0;do{h=d[9328+(k&255)>>0]|0|h<<8;b=b+1|0;if((h|0)==1919246700)if(f<<24>>24==67){f=69;h=1919246700;l=5}else l=14;else if((h|0)==1952807028){f=66;l=5}else if((h|0)==1668050786){f=66;l=5}else if((h|0)==1718382433)if(f<<24>>24==67){f=69;h=1718382433;l=5}else l=13;else if((h|0)==1667785074){f=66;h=1667785074;g=b;l=5}else if((h|0)==1651273570)if(f<<24>>24==69|f<<24>>24==67){o=a[b>>0]|0;k=o;f=65;h=1651273570;g=o<<24>>24==40?b:g}else l=14;else if((h|0)==1685026146)if(f<<24>>24==67){f=69;h=1685026146;l=5}else l=13;else if((h&16777215|0)==6909556){f=68;break b}else l=5;if((l|0)==13)l=5;else if((l|0)==14)l=5;if((l|0)==5){l=0;k=a[b>>0]|0}}while(k<<24>>24!=0)}while(0);if((e|0)!=0?(a[e>>0]=1,f<<24>>24<67):0){if(!g){a[e>>0]=5;break}b=a[g>>0]|0;if(b<<24>>24){while(1){if(((b&255)+-48|0)>>>0<10)break;g=g+1|0;b=a[g>>0]|0;if(!(b<<24>>24))break a}c[m>>2]=0;zn(g,m)|0;g=((c[m>>2]|0)/4|0)+1|0;g=(g|0)>255?255:g;c[m>>2]=g;a[e>>0]=g}}}else f=67;while(0);i=n;return f|0}function Uq(e,f){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;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;n=c[e>>2]|0;k=c[e+484>>2]|0;do if(k){h=(b[k+38>>1]|0)+-1|0;l=c[k+4>>2]|0;p=c[f>>2]|0;q=(d[n+145>>0]|0)+4|0;c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;k=m+20|0;a[k>>0]=q;c[m>>2]=78;c[m+4>>2]=79;c[m+24>>2]=0;ns(m,p)|0;if(!(a[k>>0]|0)){c[m>>2]=c[l+(h*24|0)>>2];ph(e,36480,m);break}k=l+(h*24|0)+4|0;Ck(n,c[k>>2]|0);c[k>>2]=Ir(n,c[f>>2]|0,1,0)|0;l=l+(h*24|0)+8|0;ig(n,c[l>>2]|0);h=c[f+4>>2]|0;k=(c[f+8>>2]|0)-h|0;if((h|0)!=0?(g=fw(k|0,((k|0)<0)<<31>>31|0,1,0)|0,g=ih(n,g,C)|0,(g|0)!=0):0){gw(g|0,h|0,k|0)|0;a[g+k>>0]=0}else g=0;c[l>>2]=g}while(0);Ck(n,c[f>>2]|0);i=o;return}function Vq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if((b|0)==72&(d|0)!=0&(e|0)!=0?(c[a+64>>2]|0)==0:0)b=os(c[a>>2]|0,d,e)|0;else{b=jr(c[a>>2]|0,b,f,1)|0;ps(c[a>>2]|0,b,d,e)}if((b|0)!=0?(g=c[(c[a>>2]|0)+100>>2]|0,(g|0)<(c[b+24>>2]|0)):0){c[h>>2]=g;ph(a,27152,h)}i=k;return b|0}function Wq(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var 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=i;i=i+16|0;if((i|0)>=(j|0))ba();z=A;x=c[e+484>>2]|0;do if((x|0)!=0?(a[e+451>>0]|0)==0:0){y=x+44|0;m=d[y>>0]|0;if(m&4){c[z>>2]=c[x>>2];ph(e,36376,z);break}v=m|4;a[y>>0]=v;w=(f|0)==0;if(w){m=(b[x+38>>1]|0)+-1|0;t=c[x+4>>2]|0;l=t+(m*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=m;n=1;m=c[t+(m*24|0)+12>>2]|0}else{u=c[f>>2]|0;if((u|0)>0){r=f+4|0;s=x+4|0;q=b[x+38>>1]|0;t=0;m=0;do{a:do if(q<<16>>16>0){o=c[(c[r>>2]|0)+(t*20|0)+4>>2]|0;p=c[s>>2]|0;n=0;while(1){l=n+1|0;if(!($c(o,c[p+(n*24|0)>>2]|0)|0))break;if((l|0)<(q<<16>>16|0))n=l;else break a}l=p+(n*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=n;m=c[p+(n*24|0)+12>>2]|0}else l=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{l=-1;m=0}n=(u|0)==1}if(n&(m|0)!=0?($c(m,11144)|0|k|0)==0:0){b[x+36>>1]=l;a[x+45>>0]=g;a[y>>0]=v|h<<3;if(w){f=0;break}a[e+448>>0]=a[(c[f+4>>2]|0)+12>>0]|0;break}if(h){ph(e,36424,z);break}m=c[e+8>>2]|0;l=(m|0)!=0;if(l)c[e+420>>2]=sh(m,156,0,0,0)|0;f=Xq(e,0,0,0,f,g,0,0,k,0)|0;if((f|0)!=0?(t=f+51|0,a[t>>0]=a[t>>0]&-4|2,l):0){f=c[e+420>>2]|0;l=c[m+32>>2]|0;if(l>>>0>f>>>0)c[(c[m+4>>2]|0)+(f*20|0)+8>>2]=l;c[(c[m+24>>2]|0)+88>>2]=l+-1;f=0}else f=0}while(0);Jk(c[e>>2]|0,f);i=A;return}function Xq