Lines Matching refs:Ft
6 ;A=0;B=c[(e&p)+40>>2]|0;f=0;while(1){k=c[((c[(B&p)>>2]|0)&p)+20>>2]|0;if(!k){g=0;i=0}else{g=c[(k&p)>>2]|0;i=c[(z&p)>>2]|0;h=c[(y&p)>>2]|0;if((h|0)<(g|0)){i=c[(u&p)>>2]|0;c[(u&p)>>2]=i+g;i=i+1|0}else{c[(z&p)>>2]=i+g;c[(y&p)>>2]=h-g}bt(d,k,i,1)}h=B+12|0;if((c[(h&p)>>2]|0)>-1){q=xs(D)|0;zu(d,c[(h&p)>>2]|0,q,1,i)}else q=0;m=B+4|0;h=c[(m&p)>>2]|0;if(b[(h&o)+2>>1]&32){if((g|0)>0){l=0;k=c[(k&p)+4>>2]|0;while(1){h=cu(d,c[(k&p)>>2]|0)|0;l=l+1|0;j=(h|0)!=0;if(!((l|0)<(g|0)&(j^1)))break;else k=k+20|0}if(!j)C=15}else C=15;if((C|0)==15){C=0;h=c[((c[(d&p)>>2]|0)&p)+8>>2]|0}if(!f)if(!(c[(t&p)>>2]|0))f=0;else{f=(c[(u&p)>>2]|0)+1|0;c[(u&p)>>2]=f}xh(D,wh(D,36,f,0,0)|0,h,-4);h=c[(m&p)>>2]|0}xh(D,wh(D,10,0,i,c[(B&p)+8>>2]|0)|0,h,-5);h=c[(w&p)>>2]|0;if(h)a[(h+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=g;dt(d,i,g);dt(d,i,g);if((c[(y&p)>>2]|0)<(g|0)){c[(y&p)>>2]=g;c[(z&p)>>2]=i}if(q){i=c[(r&p)>>2]|0;h=~q;if((q|0)<0?(x=c[(i&p)+112>>2]|0,(x|0)!=0):0)c[(x+(h<<2)&p)>>2]=c[(s&p)>>2];c[(i&p)+88>>2]=(c[(s&p)>>2]|0)+-1;at(d)}A=A+1|0;if((A|0)>=(c[(v&p)>>2]|0))break;else B=B+16|0}if(f)i=wh(D,45,f,0,0)|0;else i=0}else i=0;at(d);f=e+36|0;if((c[(f&p)>>2]|0)>0){g=0;h=c[(e&p)+28>>2]|0;while(1){Rq(d,c[(h&p)+20>>2]|0,c[(h&p)+16>>2]|0);g=g+1|0;if((g|0)>=(c[(f&p)>>2]|0))break;else h=h+24|0}}a[(e&n)>>0]=0;at(d);if(i){f=c[(D&p)+32>>2]|0;if(f>>>0>i>>>0)c[((c[(D&p)+4>>2]|0)+(i*20|0)&p)+8>>2]=f;c[((c[(D&p)+24>>2]|0)&p)+88>>2]=f+-1}return}function ftFt(d,v,f);v=0}y=na+24|0;x=c[(y&p)>>2]|0;w=~z;if((z|0)<0?(P=c[(x&p)+112>>2]|0,(P|0)!=0):0)c[(P+(w<<2)&p)>>2]=c[(na&p)+32>>2];u=na+32|0;c[(x&p)+88>>2]=(c[(u&p)>>2]|0)+-1;if(!A){w=0;A=0}else{w=wh(na,16,0,0,0)|0;u=c[(u&p)>>2]|0;if(u>>>0>A>>>0)c[((c[(na&p)+4>>2]|0)+(A*20|0)&p)+8>>2]=u;c[((c[(y&p)>>2]|0)&p)+88>>2]=u+-1}}else{w=0;A=0;v=0}D=c[(f&p)+8>>2]|0;if(D){ba=l+1|0;ca=d+60|0;da=d+56|0;ea=d+72|0;T=q<<24>>24==0;U=na+24|0;V=na+32|0;W=r<<24>>24==10;X=na+4|0;Y=ga+46|0;Z=ga+32|0;_=ga+4|0;$=m+1|0;aa=d+408|0;R=Q+24|0;S=ha&65535;z=r&255;y=f+36|0;x=d+92|0;H=0;u=0;C=-1;while(1){O=g+(u<<2)|0;do if(c[(O&p)>>2]|0){if(!(H<<24>>24)){wt(na,f,ba);H=1}P=u+k|0;r=xs(na)|0;N=D+36|0;if(c[(N&p)>>2]|0){wh(na,28,0,c[(O&p)>>2]|0,0)|0;c[(x&p)>>2]=ba;gt(d,c[(N&p)>>2]|0,r,16);c[(x&p)>>2]=0}Q=D+48|0;I=b[(Q&o)>>1]|0;L=I&65535;K=c[(ca&p)>>2]|0;J=c[(da&p)>>2]|0;if((J|0)<(L|0)){q=c[(ea&p)>>2]|0;c[(ea&p)>>2]=q+L;q=q+1|0}else{c[(ca&p)>>2]=K+L;c[(da&p)>>2]=J-L;q=K}if(!(I<<16>>16))M=C;else{M=D+4|0;J=0;do{B=b[((c[(M&p)>>2]|0)+(J<<1)&o)>>1]|0;L=B<<16>>16;if(B<<16>>16>=0?B<<16>>16!=(b[(y&o)>>1]|0):0){K=J+q|0;L=ba+L|0;ma=81}else{L=J+q|0;if((C|0)!=(L|0)){K=L;C=(c[(N&p)>>2]|0)==0?L:-1;L=l;ma=81}}if((ma|0)==81){ma=0;wh(na,34,L,K,0)|0;I=b[(Q&o)>>1]|0}J=J+1|0;L=I&65535}while((J|0)<(L|0));M=C}wh(na,49,q,L,c[(O&p)>>2]|0)|0;dt(d,q,e[(Q&o)>>1]|0);N=(ga|0)==(D|0);if(ia&N&T){C=c[(U&p)>>2]|0;B=~r;if((r|0)<0?(ja=c[(C&p)+112>>2]|0,(ja|0)!=0):0)c[(ja+(B<<2)&p)>>2]=c[(V&p)>>2];c[(C&p)+88>>2]=(c[(V&p)>>2]|0)+-1;C=M;break}G=a[(D&n)+50>>0]|0;F=G&255;if(!(G<<24>>24)){C=e[(Q&o)>>1]|0;dt(d,q,C);if((c[(da&p)>>2]|0)<(C|0)){c[(da&p)>>2]=C;c[(ca&p)>>2]=q}C=c[(U&p)>>2]|0;B=~r;if((r|0)<0?(ka=c[(C&p)+112>>2]|0,(ka|0)!=0):0)c[(ka+(B<<2)&p)>>2]=c[(V&p)>>2];c[(C&p)+88>>2]=(c[(V&p)>>2]|0)+-1;C=M;break}if(W)O=G<<24>>24==10?2:F;else O=z;C=e[(D&o)+46>>1]|0;xh(na,wh(na,67,P,r,q)|0,C,-14);do if(!N){L=c[(ca&p)>>2]|0;K=c[(da&p)>>2]|0;if((K|0)<(ha|0)){L=c[(ea&p)>>2]|0;c[(ea&p)>>2]=L+ha;L=L+1|0;break}else{c[(ca&p)>>2]=L+ha;c[(da&p)>>2]=K-ha;break}}else L=q;while(0);do if(ia|(O|0)==5){if(!(a[(la&n)>>0]&32)){wh(na,112,P,L,0)|0;if(!ia)break;wh(na,79,L,r,m)|0;G=c[(X&p)>>2]|0;if(!G)break;a[(G+(((c[(V&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-112;break}do if(!N){if(!(b[(Y&o)>>1]|0))break;F=D+4|0;E=0;do{I=b[((c[(_&p)>>2]|0)+(E<<1)&o)>>1]|0;K=b[(Q&o)>>1]|0;d:do if(!(K<<16>>16))K=-1;else{G=c[(F&p)>>2]|0;J=K&65535;K=0;while(1){if((b[(G+(K<<1)&o)>>1]|0)==I<<16>>16)break d;K=K+1|0;if((K|0)>=(J|0)){K=-1;break}}}while(0);wh(na,47,P,K<<16>>16,E+L|0)|0;E=E+1|0}while((E|0)<(e[(Y&o)>>1]|0))}while(0);if(!ia)break;F=(a[(D&n)+51>>0]&3)==2?q:L;K=b[(Y&o)>>1]|0;if(!(K<<16>>16))break;J=(K&65535)+(c[(V&p)>>2]|0)|0;I=0;G=78;do{K=cr(d,c[((c[(Z&p)>>2]|0)+(I<<2)&p)>>2]|0)|0;C=(I|0)==((e[(Y&o)>>1]|0)+-1|0);J=C?r:J;G=C?79:G;xh(na,wh(na,G,$+(b[((c[(_&p)>>2]|0)+(I<<1)&o)>>1]|0)|0,J,I+F|0)|0,K,-4);K=c[(X&p)>>2]|0;if(K)a[(K+(((c[(V&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-112;I=I+1|0}while((I|0)<(e[(Y&o)>>1]|0))}while(0);if((O|0)==3|(O|0)==2|(O|0)==1)nu(d,O,D);else if((O|0)==4)wh(na,16,0,s,0)|0;else{C=c[(aa&p)>>2]|0;a[(((C|0)==0?d:C)&n)+20>>0]=1;if(!(c[(R&p)>>2]&262144))G=0;else G=jt(d,f,109,0,0)|0;rt(d,f,G,h,k,L,S,0,5,N&1);v=1}K=c[(U&p)>>2]|0;J=~r;do if((r|0)<0){G=c[(K&p)+112>>2]|0;if(!G)break;c[(G+(J<<2)&p)>>2]=c[(V&p)>>2]}while(0);c[(K&p)+88>>2]=(c[(V&p)>>2]|0)+-1;C=e[(Q&o)>>1]|0;dt(d,q,C);if((c[(da&p)>>2]|0)<(C|0)){c[(da&p)>>2]=C;c[(ca&p)>>2]=q}if((L|0)==(q|0)){C=M;break}dt(d,L,ha);if((c[(da&p)>>2]|0)>=(ha|0)){C=M;break}c[(da&p)>>2]=ha;c[(ca&p)>>2]=L;C=M}while(0);D=c[(D&p)+20>>2]|0;if(!D)break;else u=u+1|0}}if(A){wh(na,16,0,A+1|0,0)|0;u=c[(na&p)+32>>2]|0;if(u>>>0>w>>>0)c[((c[(na&p)+4>>2]|0)+(w*20|0)&p)+8>>2]=u;c[((c[(na&p)+24>>2]|0)&p)+88>>2]=u+-1}c[(t&p)>>2]=v;i=oa;return}function zt(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=i;i=i+32|0;if((i|0)>=(j|0))fa();T=aa+20|0;R=aa+16|0;P=aa+12|0;Q=aa+8|0;_=aa+4|0;Z=aa;V=c[(e&p)>>2]|0;O=e+438|0;U=a[(O&n)>>0]|0;Y=V+24|0;a:do if(c[(Y&p)>>2]&524288){S=f+68|0;m=c[(S&p)>>2]|0;b:do if(m){r=c[(V&p)+20>>2]|0;if((r|0)>0){q=c[(V&p)+16>>2]|0;u=0;while(1){t=u+1|0;if((c[(q+(u<<4)&p)+12>>2]|0)==(m|0)){t=u;break b}if((t|0)<(r|0))u=t;else break}}else t=0}else t=-1e6;while(0);N=c[((c[(V&p)+16>>2]|0)+(t<<4)&p)>>2]|0;A=c[(f&p)+16>>2]|0;if(!A)q=f;else{C=(k|0)==0;D=U<<24>>24==0;E=V+65|0;F=g+1|0;G=e+68|0;H=(g|0)==0;I=(h|0)==0;J=e+408|0;K=f+36|0;L=V+284|0;M=(l|0)!=0;B=A;do{c[(R&p)>>2]=0;c[(P&p)>>2]=0;c:do if(!C){A=c[(B&p)+8>>2]|0;if(dd(c[(f&p)>>2]|0,A)|0){z=c[(B&p)+20>>2]|0;if((z|0)>0){q=0;do{m=c[(B+(q<<3)&p)+36>>2]|0;if((c[(k+(m<<2)&p)>>2]|0)>-1){$=17;break c}q=q+1|0;if((m|0)==(b[(K&o)>>1]|0)&M){$=17;break c}}while((q|0)<(z|0))}}else $=17}else{A=c[(B&p)+8>>2]|0;$=17}while(0);do if(($|0)==17){$=0;if(!(a[(O&n)>>0]|0))y=sh(e,0,A,N)|0;else y=_h(V,A,N)|0;A=(y|0)==0;if(!A?(Mt(e,y,B,R,P)|0)==0:0){A=c[(P&p)>>2]|0;if(!A){c[(Q&p)>>2]=c[(B&p)+36>>2];A=Q}q=B+20|0;if((c[(q&p)>>2]|0)>0){w=c[(R&p)>>2]|0;r=(w|0)==0;u=y+36|0;v=y+4|0;w=w+4|0;m=0;x=0;do{z=A+(x<<2)|0;if((c[(z&p)>>2]|0)==(b[(K&o)>>1]|0))c[(z&p)>>2]=-1;if(c[(L&p)>>2]|0){if(r)z=u;else z=(c[(w&p)>>2]|0)+(x<<1)|0;m=(ev(e,c[(y&p)>>2]|0,c[((c[(v&p)>>2]|0)+((b[(z&o)>>1]|0)*24|0)&p)>>2]|0,t)|0)==2&1}x=x+1|0}while((x|0)<(c[(q&p)>>2]|0));z=y}else{z=y;m=0}gs(e,t,c[(y&p)+32>>2]|0,0,c[(z&p)>>2]|0);c[(G&p)>>2]=(c[(G&p)>>2]|0)+1;if(!H)fv(e,t,y,c[(R&p)>>2]|0,B,A,g,-1,m);d:do if(!I){z=c[(J&p)>>2]|0;z=c[(((z|0)==0?e:z)&p)+528>>2]|0;do if(z){z=c[(z&p)>>2]|0;if((z|0)==(c[(B&p)+28>>2]|0)?(a[(B&n)+25>>0]|0)==7:0)break d;if((z|0)!=(c[(B&p)+32>>2]|0))break;if((a[(B&n)+26>>0]|0)==7)break d}while(0);fv(e,t,y,c[(R&p)>>2]|0,B,A,h,1,m)}while(0);mg(V,c[(P&p)>>2]|0);break}if(D)break a;if(a[(E&n)>>0]|0)break a;if(A){A=Oq(e)|0;z=B+20|0;q=c[(z&p)>>2]|0;m=(c[(A&p)+32>>2]|0)+1+q|0;if((q|0)>0){q=0;do{wh(A,76,F+(c[(B+(q<<3)&p)+36>>2]|0)|0,m,0)|0;q=q+1|0}while((q|0)<(c[(z&p)>>2]|0))}wh(A,134,d[(B&n)+24>>0]|0,-1,0)|0}}while(0);B=c[(B&p)+4>>2]|0}while((B|0)!=0);q=f;m=c[(S&p)>>2]|0}m=bn(m+56|0,c[(q&p)>>2]|0,T)|0;if((m|0)!=0?(s=c[(m&p)+8>>2]|0,W=V+65|0,(s|0)!=0):0){u=(k|0)!=0;v=e+408|0;w=e+20|0;x=e+68|0;y=(h|0)==0;z=(g|0)==0;A=u&1;t=U<<24>>24==0;do{c[(_&p)>>2]=0;c[(Z&p)>>2]=0;if(!(u?(bv(f,s,k,l)|0)==0:0))$=57;do if(($|0)==57){$=0;q=s+24|0;if((((a[(q&n)>>0]|0)==0?(c[(Y&p)>>2]&16777216|0)==0:0)?(c[(v&p)>>2]|0)==0:0)?(a[(w&n)>>0]|0)==0:0)break;if(Mt(e,f,s,_,Z)|0){if(t)break a;if(!(a[(W&n)>>0]|0))break;else break a}m=pr(V,0,0,0)|0;if(m){K=c[(s&p)>>2]|0;c[(m&p)+24>>2]=K;r=m+16|0;c[(r&p)>>2]=c[(K&p)>>2];K=K+40|0;b[(K&o)>>1]=(b[(K&o)>>1]|0)+1<<16>>16;K=c[(x&p)>>2]|0;c[(x&p)>>2]=K+1;c[(m&p)+48>>2]=K;if(!y)gv(e,m,f,c[(_&p)>>2]|0,s,c[(Z&p)>>2]|0,h,-1);if((!z?(X=a[(s+A&n)+25>>0]|0,gv(e,m,f,c[(_&p)>>2]|0,s,c[(Z&p)>>2]|0,g,1),(a[(q&n)>>0]|0)==0):0)?!(X<<24>>24==7|X<<24>>24==9):0){K=c[(v&p)>>2]|0;a[(((K|0)==0?e:K)&n)+21>>0]=1}c[(r&p)>>2]=0;Do(V,m)}mg(V,c[(Z&p)>>2]|0)}while(0);s=c[(s&p)+12>>2]|0}while((s|0)!=0)}}while(0);i=aa;return}function At(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))fa();u=v;t=c[(b&p)+8>>2]|0;l=c[(d&p)+8>>2]|0;a:do if(a[(d&n)+44>>0]&32){if(l){k=l;while(1){if((a[(k&n)+51>>0]&3)==2){s=5;break a}k=c[(k&p)+20>>2]|0;if(!k){k=0;s=5;break}}}}else{k=0;s=5}while(0);if((s|0)==5?(l|0)!=0:0){q=(h|0)==0;r=0;d=0;m=-1;while(1){if(q){if((l|0)!=(k|0))s=10}else if(!((l|0)==(k|0)?1:(c[(h+(r<<2)&p)>>2]|0)==0))s=10;if((s|0)==10){s=0;m=Pt(b,l,f,0,1,u,d,m)|0;wh(t,111,r+g|0,m,e[(((a[(l&n)+51>>0]&8)==0?l+48|0:l+46|0)&o)>>1]|0)|0;Qt(b,c[(u&p)>>2]|0);d=l}l=c[(l&p)+20>>2]|0;if(!l)break;else r=r+1|0}}i=v;return}function Bt(d,e,f,g,h,i,j,k,l){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;var m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=Oq(d)|0;t=c[(e&p)+8>>2]|0;if(!t){q=e+44|0;s=0}else{u=(l|0)!=0;q=e+44|0;v=u?17:1;w=z+4|0;x=z+32|0;s=0;y=0;m=t;while(1){r=i+(y<<2)|0;t=c[(r&p)>>2]|0;do if(t){if(c[(m&p)+36>>2]|0){wh(z,76,t,(c[(x&p)>>2]|0)+2|0,0)|0;t=c[(r&p)>>2]|0}wh(z,110,y+g|0,t,0)|0;if((a[(m&n)+51>>0]&3)==2){t=(a[(q&n)>>0]&32)!=0;if(t|u)s=t?v:16;else{s=1;break}}else if(u)s=16;else{s=1;break}t=c[(w&p)>>2]|0;if(!t)s=1;else{a[(t+(((c[(x&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=s;s=1}}while(0);m=c[(m&p)+20>>2]|0;if(!m)break;else y=y+1|0}}if(!(a[(q&n)>>0]&32)){r=h+1|0;q=d+19|0;m=a[(q&n)>>0]|0;if(!(m<<24>>24)){i=d+72|0;t=(c[(i&p)>>2]|0)+1|0;c[(i&p)>>2]=t}else{t=m+-1<<24>>24;a[(q&n)>>0]=t;t=c[(d+((t&255)<<2)&p)+24>>2]|0}q=e+38|0;wh(z,49,r,b[(q&o)>>1]|0,t)|0;if(!(s<<24>>24))wt(z,e,0);dt(d,r,b[(q&o)>>1]|0);r=d+18|0;if(!(a[(r&n)>>0]|0))m=(j|0)!=0?5:3;else m=0;if(k)m=(m&255|8)&255;if(!l)q=m;else q=(m&255|16)&255;wh(z,75,f,t,h)|0;if(!(a[(r&n)>>0]|0))xh(z,-1,c[(e&p)>>2]|0,0);m=c[(z&p)+4>>2]|0;if(m)a[(m+(((c[(z&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=q}return}function Ct(d,e,f,g,h,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;$=i;i=i+64|0;if((i|0)>=(j|0))fa();U=$+52|0;T=$+48|0;Y=$+8|0;X=$;W=$+40|0;Z=$+32|0;V=$+24|0;if(((c[((c[(d&p)>>2]|0)&p)+24>>2]&524288|0)!=0?(S=e+68|0,l=bn((c[(S&p)>>2]|0)+56|0,c[(e&p)>>2]|0,$+16|0)|0,(l|0)!=0):0)?(m=c[(l&p)+8>>2]|0,(m|0)!=0):0){R=(h|0)==0;K=(f|0)!=0;L=K&1;M=Z+4|0;N=W+4|0;O=e+4|0;P=V+4|0;Q=K?110:109;do{if(!(!R?(bv(e,m,h,k)|0)==0:0)){H=c[(d&p)>>2]|0;G=a[(m+L&n)+25>>0]|0;I=G&255;J=m+(L<<2)+28|0;f=c[(J&p)>>2]|0;do if(!(G<<24>>24==0|(f|0)!=0)){c[(U&p)>>2]=0;c[(T&p)>>2]=0;if(!(Mt(d,e,m,U,T)|0)){u=m+20|0;if((c[(u&p)>>2]|0)>0){A=34352;z=c[(A&p)>>2]|0;A=c[(A&p)+4>>2]|0;C=34360;B=c[(C&p)>>2]|0;C=c[(C&p)+4>>2]|0;D=m+36|0;F=G<<24>>24!=6&(G<<24>>24!=9|K);E=0;r=0;l=0;q=0;do{f=Y;c[(f&p)>>2]=z;c[(f&p)+4>>2]=A;f=X;c[(f&p)>>2]=B;c[(f&p)+4>>2]=C;f=c[(T&p)>>2]|0;if(!f)f=D;else f=f+(E<<2)|0;t=c[(f&p)>>2]|0;v=c[(U&p)>>2]|0;if(!v)x=34368;else x=c[((c[(O&p)>>2]|0)+((b[((c[(v&p)+4>>2]|0)+(E<<1)&o)>>1]|0)*24|0)&p)>>2]|0;c[(Z&p)>>2]=x;f=c[((c[((c[(m&p)>>2]|0)&p)+4>>2]|0)+(t*24|0)&p)>>2]|0;c[(W&p)>>2]=f;if(!x)w=0;else{y=x;while(1)if(!(a[(y&n)>>0]|0))break;else y=y+1|0;w=y-x&1073741823}c[(M&p)>>2]=w;if(!f)s=0;else{x=f;while(1)if(!(a[(x&n)>>0]|0))break;else x=x+1|0;s=x-f&1073741823}c[(N&p)>>2]=s;y=Zq(d,27,0,0,Y)|0;y=Zq(d,122,y,Zq(d,27,0,0,Z)|0,0)|0;q=ss(H,q,Zq(d,79,y,Zq(d,27,0,0,W)|0,0)|0)|0;if(K){x=Zq(d,27,0,0,Y)|0;x=Zq(d,122,x,Zq(d,27,0,0,Z)|0,0)|0;y=Zq(d,27,0,0,X)|0;l=ss(H,l,Zq(d,73,x,Zq(d,122,y,Zq(d,27,0,0,Z)|0,0)|0,0)|0)|0}if(F){do if(G<<24>>24==8){f=c[((c[((c[(m&p)>>2]|0)&p)+4>>2]|0)+(t*24|0)&p)+4>>2]|0;if(!f){f=Zq(d,101,0,0,0)|0;break}else{f=Mr(H,f,0,0)|0;break}}else if(G<<24>>24==9){f=Zq(d,27,0,0,X)|0;f=Zq(d,122,f,Zq(d,27,0,0,Z)|0,0)|0}else f=Zq(d,101,0,0,0)|0;while(0);r=lr(d,r,f)|0;mr(d,r,W,0)}E=E+1|0}while((E|0)<(c[(u&p)>>2]|0));f=m}else{f=m;r=0;l=0;q=0}mg(H,c[(T&p)>>2]|0);y=c[(c[(f&p)>>2]&p)>>2]|0;if(!y)s=0;else{f=y;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;s=f-y&1073741823}if(G<<24>>24==6){c[(V&p)>>2]=y;c[(P&p)>>2]=s;f=tt(H,57,34376)|0;if(f)a[(f&n)+1>>0]=2;x=lr(d,0,f)|0;x=kr(d,x,pr(H,0,V,0)|0,q,0,0,0,0,0,0)|0;w=0}else{x=0;w=q}t=H+250|0;u=a[(t&n)>>0]|0;a[(t&n)>>0]=0;f=s+77|0;v=mh(H,f,0)|0;if(v){fw(v|0,0,f|0)|0;q=v+36|0;c[(v&p)+28>>2]=q;G=v+76|0;c[(v&p)+48>>2]=G;c[(v&p)+52>>2]=s;kw(G|0,y|0,s|0)|0;c[(v&p)+56>>2]=Mr(H,w,1,0)|0;c[(v&p)+60>>2]=Pr(H,r,1)|0;c[(v&p)+44>>2]=gr(H,x,1)|0;if(!l){f=v;l=0}else{l=Zq(d,19,l,0,0)|0;c[(v&p)+12>>2]=Mr(H,l,1,0)|0;f=v}}else{f=0;q=0}a[(t&n)>>0]=u;Gk(H,w);Gk(H,l);Nk(H,r);Mk(H,x,1);if((a[(H&n)+65>>0]|0)==1){Kk(H,f);f=0;break}if((I|0)==6)a[(q&n)>>0]=119;else if((I|0)==9?!K:0)a[(q&n)>>0]=109;else _=49;if((_|0)==49){_=0;a[(q&n)>>0]=110}c[(q&p)+4>>2]=f;I=c[(S&p)>>2]|0;c[(v&p)+20>>2]=I;c[(v&p)+24>>2]=I;c[(J&p)>>2]=f;a[(v&n)+8>>0]=Q}else f=0}while(0);if(f)dv(d,f,e,g,2,0)}m=c[(m&p)+12>>2]|0}while((m|0)!=0)}i=$;return}function Dt(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,q=0,r=0,s=0;f=b[(d&o)+46>>1]|0;a:do if(f<<16>>16==(b[(e&o)+46>>1]|0)?(a[(d&n)+50>>0]|0)==(a[(e&n)+50>>0]|0):0){if(f<<16>>16){g=c[(e&p)+4>>2]|0;h=c[(d&p)+4>>2]|0;i=e+28|0;j=d+28|0;k=e+32|0;l=d+32|0;s=0;do{if((b[(g+(s<<1)&o)>>1]|0)!=(b[(h+(s<<1)&o)>>1]|0)){f=0;break a}if((a[((c[(i&p)>>2]|0)+s&n)>>0]|0)!=(a[((c[(j&p)>>2]|0)+s&n)>>0]|0)){f=0;break a}m=c[((c[(k&p)>>2]|0)+(s<<2)&p)>>2]|0;q=c[((c[(l&p)>>2]|0)+(s<<2)&p)>>2]|0;r=(q|0)==0;if(!m){if(!r){f=0;break a}}else{if(r){f=0;break a}if(dd(m,q)|0){f=0;break a}}s=s+1|0}while((s|0)<(f&65535|0))}f=(Cu(c[(e&p)+36>>2]|0,c[(d&p)+36>>2]|0,-1)|0)==0&1}else f=0;while(0);return f|0}function Et(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;do if(!(a[(e&n)+44>>0]&8))f=0;else{h=c[(b&p)+408>>2]|0;h=(h|0)==0?b:h;g=h+404|0;f=c[(g&p)>>2]|0;a:do if(!f)i=5;else while(1){if((c[(f&p)+4>>2]|0)==(e|0))break a;f=c[(f&p)>>2]|0;if(!f){i=5;break}}while(0);if((i|0)==5){f=mh(c[(b&p)>>2]|0,16,0)|0;if(!f){f=0;break}c[(f&p)>>2]=c[(g&p)>>2];c[(g&p)>>2]=f;c[(f&p)+4>>2]=e;c[(f&p)+8>>2]=d;b=h+72|0;g=c[(b&p)>>2]|0;c[(f&p)+12>>2]=g+2;c[(b&p)>>2]=g+3}f=c[(f&p)+12>>2]|0}while(0);return f|0}function Ft
12 ft(f,ya);v=v+1|0;gt(f,ga,v,16);Ps(f,g,c[(g&p)>>2]|0,-1,va,ua,h,v,m);wh(wa,18,N,0,0)|0;v=c[(r&p)>>2]|0;u=~O;do if((O|0)<0){t=c[(v&p)+112>>2]|0;if(!t)break;c[(t+(u<<2)&p)>>2]=c[(A&p)>>2]}while(0);c[(v&p)+88>>2]=(c[(A&p)>>2]|0)+-1;ht(f,ya);wh(wa,18,Q,0,0)|0}else{do if(!(c[(H&p)>>2]|0)){u=c[(g&p)>>2]|0;if((c[(u&p)>>2]|0)!=1){za=372;break}v=c[(na&p)>>2]|0;if((c[(v&p)>>2]|0)!=1){za=372;break}if(c[(v&p)+28>>2]|0){za=372;break}A=c[(v&p)+24>>2]|0;v=c[(c[(u&p)+4>>2]&p)>>2]|0;z=A+44|0;if(a[(z&n)>>0]&16){za=372;break}if((a[(v&n)>>0]|0)!=-101|(k|0)==0){za=372;break}y=ya+40|0;if(!(b[((c[((c[(y&p)>>2]|0)&p)+4>>2]|0)&o)+2>>1]&256)){za=372;break}if((A|0)==0?1:(c[(v&p)+4>>2]&16|0)!=0){za=372;break}v=c[(f&p)>>2]|0;k=c[(A&p)+68>>2]|0;i:do if(!k)u=-1e6;else{l=c[(v&p)+20>>2]|0;if((l|0)<=0){u=0;break}v=c[(v&p)+16>>2]|0;w=0;while(1){u=w+1|0;if((c[(v+(w<<4)&p)+12>>2]|0)==(k|0)){u=w;break i}if((u|0)<(l|0))w=u;else break}}while(0);w=f+68|0;q=c[(w&p)>>2]|0;c[(w&p)>>2]=q+1;w=A+32|0;k=c[(w&p)>>2]|0;Ar(f,u);gs(f,u,c[(w&p)>>2]|0,0,c[(A&p)>>2]|0);w=c[(A&p)+8>>2]|0;j:do if(!(a[(z&n)>>0]&32)){v=0;za=351}else{if(!w){l=1;m=0;w=0;break}else v=w;while(1){if((a[(v&n)+51>>0]&3)==2){za=351;break j}v=c[(v&p)+20>>2]|0;if(!v){v=0;za=351;break}}}while(0);do if((za|0)==351){if(w){m=A+42|0;l=w;do{do if(!(a[(l&n)+51>>0]&4)){w=b[(l&o)+44>>1]|0;if(w<<16>>16>=(b[(m&o)>>1]|0))break;if(c[(l&p)+36>>2]|0)break;if((v|0)!=0?w<<16>>16>=(b[(v&o)+44>>1]|0):0)break;v=l}while(0);l=c[(l&p)+20>>2]|0}while((l|0)!=0)}if(!v){l=1;m=0;w=0;break}k=c[(v&p)+40>>2]|0;l=0;m=v;w=hs(f,v)|0}while(0);xh(wa,wh(wa,54,q,k,u)|0,1,-14);if(w)xh(wa,-1,w,-6);wh(wa,50,q,c[((c[(y&p)>>2]|0)&p)+8>>2]|0,0)|0;wh(wa,61,q,0,0)|0;if((a[(f&n)+450>>0]|0)!=2){t=0;break}do if(l){v=c[(A&p)>>2]|0;u=10360;s=10360;t=c[(f&p)>>2]|0}else{if(a[(z&n)>>0]&32){ea=(a[(m&n)+51>>0]&3)!=2;t=c[(f&p)>>2]|0;v=c[(A&p)>>2]|0;u=ea?34920:10360;if(!ea){s=10360;break}}else{u=34920;v=c[(A&p)>>2]|0;t=c[(f&p)>>2]|0}s=c[(m&p)>>2]|0}while(0);c[(ra&p)>>2]=v;c[(ra&p)+4>>2]=u;c[(ra&p)+8>>2]=s;t=uh(t,34896,ra)|0;ea=c[(f&p)+8>>2]|0;xh(ea,wh(ea,157,c[(Aa&p)>>2]|0,0,0)|0,t,-1);t=0}else za=372;while(0);if((za|0)==372){do if((c[(I&p)>>2]|0)==0&(k|0)==1){t=c[(c[(ya&p)+40>>2]&p)>>2]|0;v=c[(t&p)+20>>2]|0;if(!v){t=0;s=0;break}if((c[(v&p)>>2]|0)!=1){t=0;s=0;break}if((a[(c[(c[(v&p)+4>>2]&p)>>2]&n)>>0]|0)!=-100){t=0;s=0;break}t=c[(t&p)+8>>2]|0;if(dd(t,18760)|0)if(!(dd(t,18768)|0))s=2;else{t=0;s=0;break}else s=1;t=Pr(xa,v,0)|0;if(!t){t=0;break}if(a[(pa&n)>>0]|0)break;ea=c[(t&p)+4>>2]|0;a[(ea&n)+12>>0]=s<<24>>24!=1&1;a[(c[(ea&p)>>2]&n)>>0]=-102}else{t=0;s=0}while(0);ht(f,ya);s=Vs(f,U,B,t,0,s&255,0)|0;if(!s){Nk(xa,t);za=444;break}et(f,ya);if((a[(s&n)+36>>0]|0)>0)wh(wa,16,0,c[(s&p)+52>>2]|0,0)|0;Xs(s);ft2:1)|0,0)|0;u=x+4|0;h=c[(u&p)>>2]|0;if(h)a[(h+(((c[(x&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=8;a[(T&n)>>0]=14;c[(T&p)+4>>2]=v;a[(T&n)+1>>0]=0;c[(T&p)+8>>2]=0;c[(T&p)+12>>2]=0;ir(e,t,T)|0;h=e+72|0;s=c[(h&p)>>2]|0;q=s+1|0;da=s+2|0;c[(h&p)>>2]=(b[(ja&o)>>1]|0)+da;h=wh(x,108,v,0,0)|0;wh(x,47,v,0,q)|0;wh(x,47,v,f,da)|0;if((b[(ja&o)>>1]|0)>0){s=s+3|0;r=0;do{da=r;r=r+1|0;wh(x,47,v,r+f|0,s+da|0)|0}while((r|0)<(b[(ja&o)>>1]|0))}qt(e,ka);xh(x,wh(x,15,0,(b[(ja&o)>>1]|0)+2|0,q)|0,m,-10);m=c[(u&p)>>2]|0;if(!m)m=x+32|0;else{da=x+32|0;a[(m+(((c[(da&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=(k|0)==10?2:k&255;m=da}da=c[(H&p)>>2]|0;a[(((da|0)==0?e:da)&n)+21>>0]=1;wh(x,9,v,h+1|0,0)|0;m=c[(m&p)>>2]|0;if(m>>>0>h>>>0)c[((c[(u&p)>>2]|0)+(h*20|0)&p)+8>>2]=m;c[((c[(x&p)+24>>2]|0)&p)+88>>2]=m+-1;wh(x,61,v,0,0)|0;Mk(y,t,1);h=0;f=0;break}H=e+72|0;m=c[(H&p)>>2]|0;G=m+1|0;Q=m+2|0;c[(H&p)>>2]=Q;I=y<<24>>24!=0;J=(ga|0)!=0;P=(C|0)!=0;if(I|J|P){q=(b[(ja&o)>>1]|0)+Q|0;c[(H&p)>>2]=q;L=m+3|0}else{q=Q;L=0}N=(X|0)!=0;if(N|J|P){O=q+1|0;c[(H&p)>>2]=O;q=O}else O=Q;M=q+1|0;c[(H&p)>>2]=(b[(ja&o)>>1]|0)+q;if(ca){S=e+492|0;T=c[(S&p)>>2]|0;c[(S&p)>>2]=c[(ka&p)>>2];lt(e,ka,h,t);S=e}else{S=0;T=0}do if(!(ls(Y,h)|0)){if(!(a[(K&n)>>0]&32)){wh(V,28,0,G,Q)|0;y=Vs(e,f,h,0,0,4,ia)|0;if(!y)break;A=y+60|0;m=c[(A&p)>>2]|0;A=c[(A&p)+4>>2]|0;B=a[(y&n)+38>>0]|0;wh(V,103,t,Q,0)|0;if(!(B<<24>>24))wh(V,128,G,Q,0)|0;Xs(y);D=0;C=0;z=B&255;E=0}else{B=b[(s&o)+46>>1]|0;y=c[(H&p)>>2]|0;u=y+1|0;C=B<<16>>16;y=C+1+y|0;c[(H&p)>>2]=y;D=c[(_&p)>>2]|0;c[(_&p)>>2]=D+1;wh(V,28,0,u,0)|0;q=wh(V,57,D,C,0)|0;v=c[(e&p)+8>>2]|0;xh(v,-1,hs(e,s)|0,-6);v=Vs(e,f,h,0,0,4,ia)|0;if(!v)break;A=v+60|0;m=c[(A&p)>>2]|0;A=c[(A&p)+4>>2]|0;r=a[(v&n)+38>>0]|0;E=r&255;if(B<<16>>16>0){B=s+4|0;z=0;do{nt(V,ka,t,b[((c[(B&p)>>2]|0)+(z<<1)&o)>>1]|0,z+u|0);z=z+1|0}while((z|0)!=(C|0))}if(!(r<<24>>24)){B=ot(V,s)|0;xh(V,wh(V,49,u,C,y)|0,B,C);wh(V,110,D,y,0)|0;B=0}else{zh(V,q);B=C;y=u}Xs(v);C=B;z=E;E=y}K=la+24|0;do if(!(c[(K&p)>>2]&128))v=0;else{if(c[(e&p)+412>>2]|0){v=0;break}v=(c[(H&p)>>2]|0)+1|0;c[(H&p)>>2]=v;wh(V,25,0,v,0)|0}while(0);u=xs(V)|0;if(!ca){h:do if((k|0)==5)fw(da|0,1,Z|0)|0;else{B=c[(w&p)>>2]|0;if(!B)break;while(1){if((a[(B&n)+50>>0]|0)==5)break;B=c[(B&p)+20>>2]|0;if(!B)break h}fw(da|0,1,Z|0)|0}while(0);do if(z){if((m|0)>-1)a[(da+(m-$)&n)>>0]=0;if((A|0)<=-1)break;a[(da+(A-$)&n)>>0]=0}while(0);pt(e,ka,55,$,da,0,0)|0}H=(z|0)!=0;do if(!H)if(!s){G=wh(V,129,G,u,Q)|0;wh(V,70,t,G,Q)|0;F=0;break}else{G=xs(V)|0;wh(V,108,D,u,0)|0;F=wh(V,101,D,E,0)|0;xh(V,wh(V,68,t,G,E)|0,0,-14);break}else{if(!((a[(da+(t-$)&n)>>0]|0)==0|ca))xh(V,wh(V,68,t,u,E)|0,C,-14);wh(V,76,(s|0)!=0?E:Q,u,0)|0;F=0;G=u}while(0);x=x<<24>>24==0;if(!x){Rq(e,R,O);wh(V,38,O,0,0)|0}do if(I|P|J){if(P)y=ut(e,ka)|0;else y=0;B=vt(e,ga,g,0,3,ka,k)|0|y;if((b[(ja&o)>>1]|0)>0){A=(B|0)==-1;z=ka+4|0;y=0;do{do if(A)ba=138;else{if((y|0)<32?(1<<y&B|0)!=0:0){ba=138;break}if(a[((c[(z&p)>>2]|0)+(y*24|0)&n)+23>>0]&1){ba=138;break}wh(V,28,0,y+L|0,0)|0}while(0);if((ba|0)==138){ba=0;nt(V,ka,t,y,y+L|0)}y=y+1|0}while((y|0)<(b[(ja&o)>>1]|0))}if(!(x&(s|0)==0))break;wh(V,33,Q,O,0)|0}while(0);y=vt(e,ga,g,1,1,ka,k)|0;if((b[(ja&o)>>1]|0)>0){x=ka+36|0;m=g+4|0;r=0;do{i:do if((r|0)==(b[(x&o)>>1]|0))wh(V,28,0,r+M|0,0)|0;else{q=c[(l+(r<<2)&p)>>2]|0;if((q|0)>-1){Rq(e,c[((c[(m&p)>>2]|0)+(q*20|0)&p)>>2]|0,r+M|0);break}do if(!((c[(ea&p)>>2]&1|0)==0|(r|0)>31)){if(1<<r&y)break;wh(V,28,0,r+M|0,0)|0;break i}while(0);nt(V,ka,t,r,r+M|0)}while(0);r=r+1|0}while((r|0)<(b[(ja&o)>>1]|0))}do if(c[(ea&p)>>2]&1){wt(V,ka,M);xt(e,ga,110,g,1,ka,Q,k,G);if(!s)wh(V,70,t,G,Q)|0;else xh(V,wh(V,68,t,G,E)|0,C,-14);m=b[(ja&o)>>1]|0;if(m<<16>>16<=0)break;x=ka+36|0;y=0;do{do if((c[(l+(y<<2)&p)>>2]|0)<0){if((y|0)==(b[(x&o)>>1]|0))break;nt(V,ka,t,y,y+M|0);m=b[(ja&o)>>1]|0}while(0);y=y+1|0}while((y|0)<(m<<16>>16|0))}while(0);do if(!ca){c[(ha&p)>>2]=0;yt(e,ka,aa,t,ia,O,Q,U,k&255,G,ha);if(P)zt(e,ka,Q,0,l,X);m=(c[(ha&p)>>2]|X|0)==0;do if(!m)if(!s){q=wh(V,70,t,0,Q)|0;break}else{q=wh(V,68,t,0,E)|0;xh(V,q,C,-14);break}else q=0;while(0);At(e,ka,t,ia,aa);if(P|(N|(s|0)!=0))wh(V,95,t,0,0)|0;if(!m){m=c[(V&p)+32>>2]|0;if(m>>>0>q>>>0)c[((c[(V&p)+4>>2]|0)+(q*20|0)&p)+8>>2]=m;c[((c[(V&p)+24>>2]|0)&p)+88>>2]=m+-1}if(P){zt(e,ka,0,O,l,X);Bt(e,ka,t,ia,O,aa,1,0,0);Ct(e,ka,g,Q,l,X);break}else{Bt(e,ka,t,ia,O,aa,1,0,0);break}}while(0);do if(c[(K&p)>>2]&128){if(c[(e&p)+412>>2]|0)break;wh(V,37,v,1,0)|0}while(0);xt(e,ga,110,g,2,ka,Q,k,G);do if(!H){if(!s){wh(V,16,0,G,0)|0;break}r=c[(V&p)+24>>2]|0;q=~G;do if((G|0)<0){s=c[(r&p)+112>>2]|0;if(!s)break;c[(s+(q<<2)&p)>>2]=c[(V&p)+32>>2]}while(0);c[(r&p)+88>>2]=(c[(V&p)+32>>2]|0)+-1;wh(V,9,D,F,0)|0}while(0);r=c[(V&p)+24>>2]|0;q=~u;do if((u|0)<0){s=c[(r&p)+112>>2]|0;if(!s)break;c[(s+(q<<2)&p)>>2]=c[(V&p)+32>>2]}while(0);c[(r&p)+88>>2]=(c[(V&p)+32>>2]|0)+-1;q=c[(w&p)>>2]|0;if(q){r=0;do{s=r;r=r+1|0;if(a[(da+r&n)>>0]|0)wh(V,61,s+ia|0,0,0)|0;q=c[(q&p)+20>>2]|0}while((q|0)!=0)}if((t|0)<(ia|0))wh(V,61,t,0,0)|0;do if(!(a[(W&n)>>0]|0)){if(c[(e&p)+412>>2]|0)break;st(e)}while(0);if(!(c[(K&p)>>2]&128))break;if(c[(e&p)+412>>2]|0)break;if(a[(W&n)>>0]|0)break;wh(V,35,v,1,0)|0;iq(V,1);if(a[((c[(V&p)>>2]|0)&n)+65>>0]|0)break;Xg(c[(V&p)+16>>2]|0,34520,-1,1,0)|0}while(0);if(S)c[(S&p)+492>>2]=T}}}else l=0}else l=0;while(0);mg(la,l);Do(la,f);Nk(la,g);Gk(la,h);i=ma;return}function tr(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0;oa=i;i=i+96|0;if((i|0)>=(j|0))fa();ca=oa;ja=oa+92|0;la=oa+88|0;L=oa+68|0;Y=oa+64|0;O=oa+32|0;ba=oa+28|0;c[(ja&p)>>2]=0;c[(la&p)>>2]=0;na=c[(e&p)>>2]|0;c[(L&p)>>2]=0;c[(L&p)+4>>2]=0;c[(L&p)+8>>2]=0;c[(L&p)+12>>2]=0;c[(L&p)+16>>2]=0;a:do if((c[(e&p)+64>>2]|0)==0?(N=na+65|0,(a[(N&n)>>0]|0)==0):0){if(g)if((b[(g&o)+6>>1]&128)!=0?(c[(g&p)+52>>2]|0)==0:0){l=c[(g&p)>>2]|0;c[(g&p)>>2]=0;Mk(na,g,1);g=0}else l=0;else{g=0;l=0}if((c[(f&p)+16>>2]|0)!=0?(ka=Jr(e,f)|0,(ka|0)!=0):0){u=c[(ka&p)+68>>2]|0;b:do if(u){t=c[(na&p)+20>>2]|0;if((t|0)>0){s=c[(na&p)+16>>2]|0;q=0;while(1){r=q+1|0;if((c[(s+(q<<4)&p)+12>>2]|0)==(u|0)){r=q;break b}if((r|0)<(t|0))q=r;else break}}else r=0}else r=-1e6;while(0);if((((Sq(e,18,c[(ka&p)>>2]|0,0,c[((c[(na&p)+16>>2]|0)+(r<<4)&p)>>2]|0)|0)==0?(ga=ka+44|0,Z=(d[(ga&n)>>0]|0)>>>5&1,ea=jt(e,ka,108,0,Y)|0,ha=(c[(ka&p)+12>>2]|0)!=0,(hr(e,ka)|0)==0):0)?(kt(e,ka,c[(Y&p)>>2]|0)|0)==0:0)?(ma=Oq(e)|0,(ma|0)!=0):0){ia=e+18|0;if(!(a[(ia&n)>>0]|0)){da=ma+88|0;b[(da&o)>>1]=b[(da&o)>>1]|4}da=(g|0)!=0;aa=e+408|0;$=c[(aa&p)>>2]|0;$=($|0)==0?e:$;Ar(e,r);X=$+328|0;c[(X&p)>>2]=c[(X&p)>>2]|1<<r;$=$+20|0;a[($&n)>>0]=d[($&n)>>0]|(da|(ea|0)!=0)&1;$=(h|0)==0;c:do if((((!((g|0)==0|$^1)?(c[(e&p)+532>>2]|0)==0:0)?(c[(g&p)+68>>2]|0)==0:0)?(As(e,ka)|0)==0:0)?(a[(ga&n)>>0]&16)==0:0){if((k|0)==10){if((b[(ka&o)+36>>1]|0)>-1)u=d[(ka&n)+45>>0]|0;else u=10;y=(u|0)==10?2:u}else y=k;t=c[(g&p)+32>>2]|0;if((c[(t&p)>>2]|0)==1){if(c[(t&p)+28>>2]|0){_=117;break}if(c[(g&p)+36>>2]|0){_=117;break}if(c[(g&p)+48>>2]|0){_=117;break}if(c[(g&p)+40>>2]|0){_=117;break}if(c[(g&p)+60>>2]|0){_=117;break}if(c[(g&p)+52>>2]|0){_=117;break}if(b[(g&o)+6>>1]&1){_=117;break}u=c[(g&p)>>2]|0;if((c[(u&p)>>2]|0)!=1){_=117;break}if((a[(c[(c[(u&p)+4>>2]&p)>>2]&n)>>0]|0)!=116){_=117;break}x=Ur(e,0,t+8|0)|0;if((x|0)==0|(x|0)==(ka|0)){_=117;break}B=x+44|0;X=d[(B&n)>>0]|0;if(!((X&16|0)==0?(((d[(ga&n)>>0]|0)>>>5&1^1)&255|0)==(X>>>5&1^1|0):0)){_=117;break}if(c[(x&p)+12>>2]|0){_=117;break}v=b[(ka&o)+38>>1]|0;if(v<<16>>16!=(b[(x&o)+38>>1]|0)){_=117;break}A=ka+36|0;if((b[(A&o)>>1]|0)!=(b[(x&o)+36>>1]|0)){_=117;break}if(v<<16>>16>0){q=c[(ka&p)+4>>2]|0;m=c[(x&p)+4>>2]|0;w=0;do{if((a[(q+(w*24|0)&n)+21>>0]|0)!=(a[(m+(w*24|0)&n)+21>>0]|0)){_=117;break c}u=c[(q+(w*24|0)&p)+16>>2]|0;t=c[(m+(w*24|0)&p)+16>>2]|0;s=(t|0)==0;if(!u){if(!s){_=117;break c}}else{if(s){_=117;break c}if(dd(u,t)|0){_=117;break c}}if((a[(q+(w*24|0)&n)+20>>0]|0)!=0?(a[(m+(w*24|0)&n)+20>>0]|0)==0:0){_=117;break c}do if((w|0)>0){u=c[(q+(w*24|0)&p)+8>>2]|0;t=(u|0)==0;s=c[(m+(w*24|0)&p)+8>>2]|0;if(t^(s|0)==0){_=117;break c}if(t)break;if(_v(u,s)|0){_=117;break c}}while(0);w=w+1|0}while((w|0)<(v<<16>>16|0))}E=ka+8|0;u=c[(E&p)>>2]|0;if(!u)t=0;else{v=c[(x&p)+8>>2]|0;if(!v){_=117;break}else t=0;do{t=(a[(u&n)+50>>0]|0)==0?t:1;s=v;while(1){if(Dt(u,s)|0)break;s=c[(s&p)+20>>2]|0;if(!s){_=117;break c}}if(!s){_=117;break c}u=c[(u&p)+20>>2]|0}while((u|0)!=0)}u=c[(ka&p)+24>>2]|0;if((u|0)!=0?(Ts(c[(x&p)+24>>2]|0,u,-1)|0)!=0:0){_=117;break}s=c[(e&p)>>2]|0;u=c[(s&p)+24>>2]|0;if(!(u&524288)){if(u&128){_=117;break}}else if(!((c[(ka&p)+16>>2]|0)==0&(u&128|0)==0)){_=117;break}m=c[(x&p)+68>>2]|0;d:do if(!m)s=-1e6;else{v=c[(s&p)+20>>2]|0;if((v|0)<=0){s=0;break}u=c[(s&p)+16>>2]|0;q=0;while(1){s=q+1|0;if((c[(u+(q<<4)&p)+12>>2]|0)==(m|0)){s=q;break d}if((s|0)<(v|0))q=s;else break}}while(0);D=Oq(e)|0;Ar(e,s);z=e+68|0;F=c[(z&p)>>2]|0;C=F+1|0;c[(z&p)>>2]=F+2;z=Et(e,r,ka)|0;v=e+19|0;q=a[(v&n)>>0]|0;do if(!(q<<24>>24)){_=e+72|0;u=(c[(_&p)>>2]|0)+1|0;c[(_&p)>>2]=u;_=78}else{X=q+-1<<24>>24;a[(v&n)>>0]=X;u=c[(e+((X&255)<<2)&p)+24>>2]|0;if(!(X<<24>>24)){_=78;break}G=q+-2<<24>>24;a[(v&n)>>0]=G;H=u;G=c[(e+((G&255)<<2)&p)+24>>2]|0}while(0);if((_|0)==78){H=e+72|0;G=(c[(H&p)>>2]|0)+1|0;c[(H&p)>>2]=G;H=u}Qq(e,C,r,ka,55);if((b[(A&o)>>1]|0)<0)if((c[(E&p)>>2]|0)!=0|(t|0)!=0|(y+-1|0)>>>0>1)_=83;else I=0;else if((t|0)!=0|(y+-1|0)>>>0>1)_=83;else I=0;if((_|0)==83){w=wh(D,108,C,0,0)|0;v=wh(D,16,0,0,0)|0;u=c[(D&p)+32>>2]|0;if(u>>>0>w>>>0)c[((c[(D&p)+4>>2]|0)+(w*20|0)&p)+8>>2]=u;c[((c[(D&p)+24>>2]|0)&p)+88>>2]=u+-1;I=v}if(!(a[(B&n)>>0]&32)){Qq(e,F,s,x,54);t=wh(D,108,F,0,0)|0;do if((b[(A&o)>>1]|0)<=-1)if(!(c[(E&p)>>2]|0)){u=wh(D,74,C,G,0)|0;break}else{u=wh(D,103,F,G,0)|0;break}else{u=wh(D,103,F,G,0)|0;w=wh(D,70,C,0,G)|0;Ft