Lines Matching refs:Eu
6 euEu5;if(!l)n=m;else n=(m&255|16)&255;sh(w,75,f,q,h)|0;if(!(a[o>>0]|0))th(w,-1,c[e>>2]|0,0);m=c[w+4>>2]|0;if(m)a[m+(((c[w+32>>2]|0)+-1|0)*20|0)+3>>0]=n}return}function yt(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=i;i=i+64|0;if((i|0)>=(j|0))ba();R=Y+52|0;Q=Y+48|0;V=Y+8|0;U=Y;T=Y+40|0;W=Y+32|0;S=Y+24|0;if(((c[(c[d>>2]|0)+24>>2]&524288|0)!=0?(P=e+68|0,l=Zm((c[P>>2]|0)+56|0,c[e>>2]|0,Y+16|0)|0,(l|0)!=0):0)?(m=c[l+8>>2]|0,(m|0)!=0):0){O=(h|0)==0;H=(f|0)!=0;I=H&1;J=W+4|0;K=T+4|0;L=e+4|0;M=S+4|0;N=H?110:109;do{if(!(!O?(Zu(e,m,h,k)|0)==0:0)){E=c[d>>2]|0;D=a[m+I+25>>0]|0;F=D&255;G=m+(I<<2)+28|0;f=c[G>>2]|0;do if(!(D<<24>>24==0|(f|0)!=0)){c[R>>2]=0;c[Q>>2]=0;if(!(It(d,e,m,R,Q)|0)){r=m+20|0;if((c[r>>2]|0)>0){x=34352;w=c[x>>2]|0;x=c[x+4>>2]|0;z=34360;y=c[z>>2]|0;z=c[z+4>>2]|0;A=m+36|0;C=D<<24>>24!=6&(D<<24>>24!=9|H);B=0;o=0;l=0;n=0;do{f=V;c[f>>2]=w;c[f+4>>2]=x;f=U;c[f>>2]=y;c[f+4>>2]=z;f=c[Q>>2]|0;if(!f)f=A;else f=f+(B<<2)|0;q=c[f>>2]|0;s=c[R>>2]|0;if(!s)u=34368;else u=c[(c[L>>2]|0)+((b[(c[s+4>>2]|0)+(B<<1)>>1]|0)*24|0)>>2]|0;c[W>>2]=u;f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)>>2]|0;c[T>>2]=f;if(!u)t=0;else{v=u;while(1)if(!(a[v>>0]|0))break;else v=v+1|0;t=v-u&1073741823}c[J>>2]=t;if(!f)p=0;else{u=f;while(1)if(!(a[u>>0]|0))break;else u=u+1|0;p=u-f&1073741823}c[K>>2]=p;v=Vq(d,27,0,0,V)|0;v=Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0;n=os(E,n,Vq(d,79,v,Vq(d,27,0,0,T)|0,0)|0)|0;if(H){u=Vq(d,27,0,0,V)|0;u=Vq(d,122,u,Vq(d,27,0,0,W)|0,0)|0;v=Vq(d,27,0,0,U)|0;l=os(E,l,Vq(d,73,u,Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0,0)|0)|0}if(C){do if(D<<24>>24==8){f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)+4>>2]|0;if(!f){f=Vq(d,101,0,0,0)|0;break}else{f=Ir(E,f,0,0)|0;break}}else if(D<<24>>24==9){f=Vq(d,27,0,0,U)|0;f=Vq(d,122,f,Vq(d,27,0,0,W)|0,0)|0}else f=Vq(d,101,0,0,0)|0;while(0);o=hr(d,o,f)|0;ir(d,o,T,0)}B=B+1|0}while((B|0)<(c[r>>2]|0));f=m}else{f=m;o=0;l=0;n=0}ig(E,c[Q>>2]|0);v=c[c[f>>2]>>2]|0;if(!v)p=0;else{f=v;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;p=f-v&1073741823}if(D<<24>>24==6){c[S>>2]=v;c[M>>2]=p;f=pt(E,57,34376)|0;if(f)a[f+1>>0]=2;u=hr(d,0,f)|0;u=gr(d,u,lr(E,0,S,0)|0,n,0,0,0,0,0,0)|0;t=0}else{u=0;t=n}q=E+250|0;r=a[q>>0]|0;a[q>>0]=0;f=p+77|0;s=ih(E,f,0)|0;if(s){bw(s|0,0,f|0)|0;n=s+36|0;c[s+28>>2]=n;D=s+76|0;c[s+48>>2]=D;c[s+52>>2]=p;gw(D|0,v|0,p|0)|0;c[s+56>>2]=Ir(E,t,1,0)|0;c[s+60>>2]=Lr(E,o,1)|0;c[s+44>>2]=cr(E,u,1)|0;if(!l){f=s;l=0}else{l=Vq(d,19,l,0,0)|0;c[s+12>>2]=Ir(E,l,1,0)|0;f=s}}else{f=0;n=0}a[q>>0]=r;Ck(E,t);Ck(E,l);Jk(E,o);Ik(E,u,1);if((a[E+65>>0]|0)==1){Gk(E,f);f=0;break}if((F|0)==6)a[n>>0]=119;else if((F|0)==9?!H:0)a[n>>0]=109;else X=49;if((X|0)==49){X=0;a[n>>0]=110}c[n+4>>2]=f;F=c[P>>2]|0;c[s+20>>2]=F;c[s+24>>2]=F;c[G>>2]=f;a[s+8>>0]=N}else f=0}while(0);if(f)$u(d,f,e,g,2,0)}m=c[m+12>>2]|0}while((m|0)!=0)}i=Y;return}function zt(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;f=b[d+46>>1]|0;a:do if(f<<16>>16==(b[e+46>>1]|0)?(a[d+50>>0]|0)==(a[e+50>>0]|0):0){if(f<<16>>16){g=c[e+4>>2]|0;h=c[d+4>>2]|0;i=e+28|0;j=d+28|0;k=e+32|0;l=d+32|0;p=0;do{if((b[g+(p<<1)>>1]|0)!=(b[h+(p<<1)>>1]|0)){f=0;break a}if((a[(c[i>>2]|0)+p>>0]|0)!=(a[(c[j>>2]|0)+p>>0]|0)){f=0;break a}m=c[(c[k>>2]|0)+(p<<2)>>2]|0;n=c[(c[l>>2]|0)+(p<<2)>>2]|0;o=(n|0)==0;if(!m){if(!o){f=0;break a}}else{if(o){f=0;break a}if($c(m,n)|0){f=0;break a}}p=p+1|0}while((p|0)<(f&65535|0))}f=(yu(c[e+36>>2]|0,c[d+36>>2]|0,-1)|0)==0&1}else f=0;while(0);return f|0}function At(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+44>>0]&8))f=0;else{h=c[b+408>>2]|0;h=(h|0)==0?b:h;g=h+404|0;f=c[g>>2]|0;a:do if(!f)i=5;else while(1){if((c[f+4>>2]|0)==(e|0))break a;f=c[f>>2]|0;if(!f){i=5;break}}while(0);if((i|0)==5){f=ih(c[b>>2]|0,16,0)|0;if(!f){f=0;break}c[f>>2]=c[g>>2];c[g>>2]=f;c[f+4>>2]=e;c[f+8>>2]=d;b=h+72|0;g=c[b>>2]|0;c[f+12>>2]=g+2;c[b>>2]=g+3}f=c[f+12>>2]|0}while(0);return f|0}function Bt(a,d,e){a=a|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;g=b[e+36>>1]|0;h=c[a>>2]|0;f=c[e>>2]|0;if(g<<16>>16>-1){g=c[(c[e+4>>2]|0)+((g<<16>>16)*24|0)>>2]|0;c[k>>2]=f;c[k+4>>2]=g;g=1555;f=qh(h,27824,k)|0}else{c[k>>2]=f;g=2579;f=qh(h,34408,k)|0}vs(a,g,d,f,-1,2);i=l;return}function Ct(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b+316|0;h=c[g>>2]|0;d=hr(b,h,Ir(c[b>>2]|0,d,0,0)|0)|0;if(d){b=(c[d>>2]|0)+-1|0;h=c[d+4>>2]|0;c[h+(b*20|0)+16>>2]=e;b=h+(b*20|0)+13|0;a[b>>0]=a[b>>0]&-5|f<<2&4}c[g>>2]=d;return}function Dt(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,i=0;g=c[e>>2]|0;if(!(g+-1&g)){i=_((g|0)==0?1:g<<1,d)|0;a=no(a,b,i,((i|0)<0)<<31>>31)|0;if(!a){c[f>>2]=-1;a=b}else h=4}else{a=b;h=4}if((h|0)==4){bw(a+(_(g,d)|0)|0,0,d|0)|0;c[f>>2]=g;c[e>>2]=(c[e>>2]|0)+1}return a|0}function Et(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;c[h>>2]=0;b=c[a+12>>2]|0;if((b|0)!=0?(d=c[b+24>>2]|0,(d|0)>0):0){c[h>>2]=d;b=d}else b=0;d=c[a+16>>2]|0;if((d|0)!=0?(e=c[d+24>>2]|0,(e|0)>(b|0)):0)c[h>>2]=e;f=a+4|0;b=a+20|0;if(!(c[f>>2]&2048)){d=c[b>>2]|0;if(d){pu(d,h);b=c[b>>2]|0;if((b|0)!=0?(g=c[b>>2]|0,(g|0)>0):0){e=c[b+4>>2]|0;d=0;b=0;do{b=c[(c[e+(d*20|0)>>2]|0)+4>>2]|b;d=d+1|0}while((d|0)!=(g|0));b=b&2097408}else b=0;c[f>>2]=c[f>>2]|b}}else As(c[b>>2]|0,h);c[a+24>>2]=(c[h>>2]|0)+1;i=k;return}function Ft(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Kq(b)|0;i=b+72|0;h=(c[i>>2]|0)+1|0;c[i>>2]=h;b=ih(c[b>>2]|0,8,0)|0;if(b){i=b;c[i>>2]=e;c[i+4>>2]=f}th(g,sh(g,26,0,h,0)|0,b,-13);eq(g,1);if(!(a[(c[g>>2]|0)+65>>0]|0))Tg(c[g+16>>2]|0,d,-1,1,0)|0;sh(g,35,h,1,0)|0;return}function Gt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=c[b>>2]|0;e=d+16|0;f=c[(c[e>>2]|0)+20>>2]|0;do if(!f)d=0;else{if((a[d+63>>0]|0)!=0?(a[f+8>>0]|0)==0:0){Il(f);c[(c[e>>2]|0)+20>>2]=0;Ag(d);d=0;break}ph(b,32128,g);d=1}while(0);i=h;return d|0}function Ht(b){b=b|0;var e=0,f=0,g=0;if((a[b+63>>0]|0)!=0?(e=c[b+20>>2]|0,(e|0)>0):0){g=b+24|0;f=c[b+16>>2]|0;while(1){e=e+-1|0;b=c[f+4>>2]|0;if(b)po(b,c[g>>2]&28|d[f+8>>0]);if((e|0)<=0)break;else f=f+16|0}}return}function It(d,f,g,h,k){d=d|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;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;x=c[g+20>>2]|0;m=c[g+40>>2]|0;if((x|0)==1){s=b[f+36>>1]|0;l=s<<16>>16;if(s<<16>>16>-1)if((m|0)!=0?($c(c[(c[f+4>>2]|0)+(l*24|0)>>2]|0,m)|0)!=0:0){v=0;y=8}else k=0;else{v=0;y=8}}else if(k){l=ih(c[d>>2]|0,x<<2,0)|0;if(!l)k=1;else{c[k>>2]=l;v=l;y=8}}else{v=0;y=8}a:do if((y|0)==8){k=c[f+8>>2]|0;b:do if(k){s=(m|0)==0;u=(x|0)>0;r=f+4|0;t=(v|0)==0;c:while(1){do if((e[k+46>>1]|0)==(x|0)?(a[k+50>>0]|0)!=0:0){if(s)if((a[k+51>>0]&3)==2){y=16;break c}else break;d:do if(u){n=c[k+4>>2]|0;o=c[r>>2]|0;p=c[k+32>>2]|0;q=0;while(1){f=b[n+(q<<1)>>1]|0;m=c[o+(f*24|0)+16>>2]|0;if($c(c[p+(q<<2)>>2]|0,(m|0)!=0?m:11152)|0){m=q;break d}m=c[o+(f*24|0)>>2]|0;l=0;while(1){f=l+1|0;if(!($c(c[g+(l<<3)+40>>2]|0,m)|0)){f=l;y=23;break}if((f|0)<(x|0))l=f;else break}if((y|0)==23){y=0;if(!t)c[v+(q<<2)>>2]=c[g+(f<<3)+36>>2]}m=q+1|0;if((f|0)==(x|0)){m=q;break d}if((m|0)<(x|0))q=m;else break}}else m=0;while(0);if((m|0)==(x|0))break c}while(0);k=c[k+20>>2]|0;if(!k)break b}if((y|0)==16)if(!(t|u^1)){l=0;do{c[v+(l<<2)>>2]=c[g+(l<<3)+36>>2];l=l+1|0}while((l|0)!=(x|0))}c[h>>2]=k;k=0;break a}while(0);if(!(a[d+438>>0]|0)){s=c[g+8>>2]|0;c[w>>2]=c[c[g>>2]>>2];c[w+4>>2]=s;ph(d,32008,w)}ig(c[d>>2]|0,v);k=1}while(0);i=z;return k|0}function Jt(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;k=i;i=i+16|0;if((i|0)>=(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 eu(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var 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+16|0;if((i|0)>=(j|0))ba();w=z;x=c[e>>2]|0;a:do if(f){s=c[f>>2]|0;e=s*24|0;k=ih(x,e,0)|0;if(k)bw(k|0,0,e|0)|0;b[g>>1]=s;c[h>>2]=k;if((s|0)>0){q=f+4|0;t=x+65|0;e=0;r=k;while(1){n=c[q>>2]|0;f=c[n+(e*20|0)>>2]|0;b:do if(!f)f=0;else while(1){l=c[f+4>>2]|0;if(!(l&4096))break b;if(!(l&262144))f=f+12|0;else f=c[(c[f+20>>2]|0)+4>>2]|0;f=c[f>>2]|0;if(!f){f=0;break}}while(0);l=c[n+(e*20|0)+4>>2]|0;do if(!l){while(1){l=a[f>>0]|0;if(l<<24>>24==27){y=24;break}else if(l<<24>>24==-102){v=f;y=18;break}else if(l<<24>>24!=122)break;f=c[f+16>>2]|0}if((y|0)==24){y=0;c[w>>2]=c[f+8>>2];f=qh(x,10344,w)|0;break}if((y|0)==18?(y=0,u=c[v+44>>2]|0,(u|0)!=0):0){f=b[v+32>>1]|0;if(f<<16>>16<0)f=b[u+36>>1]|0;else f=f<<16>>16;if((f|0)>-1)f=c[(c[u+4>>2]|0)+(f*24|0)>>2]|0;else f=20456;c[w>>2]=f;f=qh(x,10344,w)|0;break}c[w>>2]=c[n+(e*20|0)+8>>2];f=qh(x,10344,w)|0}else f=gh(x,l)|0;while(0);if(a[t>>0]|0)break;if(!f){m=0;f=0}else{l=f;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;m=l-f&1073741823}c:do if((e|0)>0){l=0;n=0;o=m;p=f;while(1){if(!($c(c[k+(n*24|0)>>2]|0,p)|0)){f=o;while(1){m=f+-1|0;if((m|0)<=1)break;if(((d[p+m>>0]|0)+-48|0)>>>0<10)f=m;else break}if((f|0)>0)m=(a[p+m>>0]|0)==58?m:o;else m=o;a[p+m>>0]=0;l=l+1|0;c[w>>2]=p;c[w+4>>2]=l;f=qh(x,26824,w)|0;ig(x,p);if(!f){f=0;break c}else n=-1}else{m=o;f=p}n=n+1|0;if((n|0)>=(e|0))break;else{o=m;p=f}}}while(0);c[r>>2]=f;e=e+1|0;if((e|0)<(s|0))r=r+24|0;else{f=t;break a}}ig(x,f);f=t}else y=6}else{b[g>>1]=0;c[h>>2]=0;k=0;y=6}while(0);if((y|0)==6){f=x+65|0;e=0}if(a[f>>0]|0){if((e|0)>0){f=0;do{ig(x,c[k+(f*24|0)>>2]|0);f=f+1|0}while((f|0)!=(e|0))}ig(x,k);c[h>>2]=0;b[g>>1]=0}i=z;return}function fu(e,f,g){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,s=0;r=i;i=i+32|0;if((i|0)>=(j|0))ba();q=r;p=c[e>>2]|0;if(!(a[p+65>>0]|0)){c[q+0>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=0;c[q+24>>2]=0;c[q+28>>2]=0;c[q+4>>2]=c[g+32>>2];m=c[(c[g>>2]|0)+4>>2]|0;l=f+38|0;if((b[l>>1]|0)>0){g=0;h=0;n=0;o=c[f+4>>2]|0;while(1){k=c[m+(n*20|0)>>2]|0;s=o+22|0;c[o+12>>2]=gh(p,uu(q,k,s)|0)|0;g=fw(d[s>>0]|0,0,g|0,h|0)|0;h=C;s=gv(k)|0;a[o+21>>0]=s<<24>>24==0?65:s;k=_t(e,k)|0;if(k)c[o+16>>2]=gh(p,c[k>>2]|0)|0;n=n+1|0;if((n|0)>=(b[l>>1]|0))break;else o=o+24|0}h=ew(g|0,h|0,2)|0;g=C}else{h=0;g=0}b[f+42>>1]=bs(h,g)|0}i=r;return}function gu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;do if(!b)d=0;else{g=a+4|0;e=c[g>>2]|0;if((e|0)==0?(c[a+8>>2]|0)==0:0){d=0;break}j=a+16|0;c[j>>2]=(c[j>>2]|0)+1;h=a+8|0;a:while(1){if((e|0)!=0?(d=nc[e&127](a,b)|0,(d|0)!=0):0){k=24;break}if(hu(a,c[b>>2]|0)|0){k=19;break}if(ns(a,c[b+36>>2]|0)|0){k=19;break}if(hu(a,c[b+40>>2]|0)|0){k=19;break}if(ns(a,c[b+44>>2]|0)|0){k=19;break}if(hu(a,c[b+48>>2]|0)|0){k=19;break}if(ns(a,c[b+60>>2]|0)|0){k=19;break}if(ns(a,c[b+64>>2]|0)|0){k=19;break}e=c[b+32>>2]|0;if((e|0)!=0?(i=c[e>>2]|0,(i|0)>0):0){f=i;e=e+8|0;while(1){if(gu(a,c[e+20>>2]|0)|0){k=19;break a}f=f+-1|0;if((f|0)<=0)break;else e=e+72|0}}e=c[h>>2]|0;if(e)fc[e&15](a,b);b=c[b+52>>2]|0;if(!b){d=0;break}e=c[g>>2]|0}if((k|0)==19){c[j>>2]=(c[j>>2]|0)+-1;d=2;break}else if((k|0)==24)d=d&2;c[j>>2]=(c[j>>2]|0)+-1}while(0);return d|0}function hu(a,b){a=a|0;b=b|0;var d=0;a:do if((b|0)!=0?(d=c[b>>2]|0,(d|0)>0):0){b=c[b+4>>2]|0;while(1){if(ns(a,c[b>>2]|0)|0){d=2;break a}d=d+-1|0;if((d|0)<=0){d=0;break}else b=b+20|0}}else d=0;while(0);return d|0}function iu(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=d;c[b>>2]=0;if((c[a+4>>2]&1|0)==0?(Is(a,b)|0)!=0:0)a=(c[b>>2]|0)==0&1;else a=0;i=d;return a|0}function ju(d,f,g){d=d|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,s=0;s=i;i=i+32|0;if((i|0)>=(j|0))ba();q=s;l=c[g+12>>2]|0;c[q+0>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q+16>>2]=0;c[q+20>>2]=200;a[q+24>>0]=1;a[q+25>>0]=0;c[q>>2]=c[d>>2];o=g+46|0;if(b[o>>1]|0){p=g+4|0;m=l+4|0;r=0;do{n=c[(c[m>>2]|0)+((b[(c[p>>2]|0)+(r<<1)>>1]|0)*24|0)>>2]|0;if(r)Ok(q,28920,2);k=c[l>>2]|0;if(!k)h=0;else{h=k;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;h=h-k&1073741823}Ok(q,k,h);Ok(q,28928,1);if(!n)h=0;else{h=n;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;h=h-n&1073741823}Ok(q,n,h);r=r+1|0}while((r|0)<(e[o>>1]|0))}r=pg(q)|0;vs(d,(a[g+51>>0]&3)==2?1555:2067,f,r,-1,2);i=s;return}function ku(a,b){a=a|0;b=b|0;return 0}function lu(d,f){d=d|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;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r+8|0;o=r;p=f+52|0;a:do if((c[p>>2]|0)!=0?(h=c[f+48>>2]|0,!((h|0)==0|(f|0)==0)):0){g=f;while(1){n=a[g+4>>0]|0;if(!(n<<24>>24==119|n<<24>>24==116))break;g=c[g+52>>2]|0;if(!g){g=0;break a}}k=c[h+4>>2]|0;g=c[h>>2]|0;while(1){h=g+-1|0;if((g|0)<=0){g=0;break a}if(!(c[(c[k+(h*20|0)>>2]|0)+4>>2]&256))g=h;else break}if((g|0)>=1){g=c[d+12>>2]|0;l=c[g>>2]|0;d=ih(l,72,0)|0;if(d){m=d+0|0;n=m+72|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(n|0));k=o;c[k>>2]=0;c[k+4>>2]=0;k=fr(g,0,0,0,o,d,0,0)|0;if(k){m=d+0|0;h=f+0|0;n=m+72|0;do{c[m>>2]=c[h>>2];m=m+4|0;h=h+4|0}while((m|0)<(n|0));c[f+32>>2]=k;c[q>>2]=0;c[q+4>>2]=0;c[f>>2]=hr(g,0,jr(l,116,q,0)|0)|0;a[f+4>>0]=119;c[f+36>>2]=0;c[d+40>>2]=0;c[d+44>>2]=0;c[d+48>>2]=0;c[p>>2]=0;c[f+56>>2]=0;g=f+6|0;b[g>>1]=(e[g>>1]|0)&57279|8192;c[(c[d+52>>2]|0)+56>>2]=d;c[d+60>>2]=0;c[d+64>>2]=0;g=0}else g=2}else g=2}else g=0}else g=0;while(0);i=r;return g|0}function mu(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,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;X=i;i=i+32|0;if((i|0)>=(j|0))ba();W=X;T=X+16|0;G=f+12|0;V=c[G>>2]|0;U=c[V>>2]|0;R=g+6|0;n=e[R>>1]|0;b[R>>1]=n|16;S=U+65|0;a:do if(!(a[S>>0]|0)){F=g+32|0;P=c[F>>2]|0;if((P|0)!=0&(n&16|0)==0){Q=c[g>>2]|0;if((c[f+8>>2]|0)==9){n=g;while(1){m=c[n+56>>2]|0;if(!m)break;else n=m}n=c[n+68>>2]|0;if(n){C=V+532|0;c[n+4>>2]=c[C>>2];c[C>>2]=n;a[V+449>>0]=0}}ys(V,P);O=P+8|0;n=c[P>>2]|0;b:do if((n|0)>0){B=0;v=O;c:while(1){if(!(a[v+37>>0]&8)){C=v+16|0;h=c[G>>2]|0;if(c[C>>2]|0){k=h;N=10;break}s=c[h>>2]|0;m=h+532|0;o=c[m>>2]|0;d:do if((c[v+4>>2]|0)==0?(E=c[v+8>>2]|0,!((E|0)==0|(o|0)==0)):0){e:while(1){p=c[o>>2]|0;if((p|0)>0){l=0;do{n=o+(l<<4)+8|0;k=c[n>>2]|0;if(!($c(E,k)|0)){z=l;break e}l=l+1|0}while((l|0)<(p|0))}o=c[o+4>>2]|0;if(!o){N=46;break d}}w=o+(z<<4)+20|0;p=c[w>>2]|0;if(p){g=p;N=21;break c}y=ih(s,76,0)|0;if(!y){g=C;N=23;break c}q=y+0|0;p=q+76|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(p|0));c[C>>2]=y;t=y+40|0;b[t>>1]=1;c[y>>2]=gh(s,c[n>>2]|0)|0;b[y+36>>1]=-1;b[y+28>>1]=200;A=y+44|0;a[A>>0]=d[A>>0]|2;A=cr(s,c[o+(z<<4)+16>>2]|0,0)|0;c[v+20>>2]=A;if(a[s+65>>0]|0){g=2;break a}x=((a[A+4>>0]|0)+-115&255)<2;if(x?(u=c[A+32>>2]|0,D=c[u>>2]|0,(D|0)>0):0){p=A+6|0;q=D;s=0;do{do if(!(c[u+(s*72|0)+12>>2]|0)){r=c[u+(s*72|0)+16>>2]|0;if(!r)break;if($c(r,c[n>>2]|0)|0)break;c[u+(s*72|0)+24>>2]=y;q=u+(s*72|0)+45|0;a[q>>0]=a[q>>0]|8;b[t>>1]=(b[t>>1]|0)+1<<16>>16;b[p>>1]=e[p>>1]|2048;q=c[u>>2]|0}while(0);s=s+1|0}while((s|0)<(q|0))}if((e[t>>1]|0)>2){g=n;N=34;break c}c[w>>2]=28176;l=c[m>>2]|0;c[m>>2]=o;if(x)p=c[A+52>>2]|0;else p=A;gu(f,p)|0;p=A;while(1){k=c[p+52>>2]|0;if(!k)break;else p=k}k=c[p>>2]|0;p=c[o+(z<<4)+12>>2]|0;do if(p){if(!k)break;r=c[k>>2]|0;k=c[p>>2]|0;if((r|0)!=(k|0)){g=r;N=42;break c}}else p=k;while(0);eu(h,p,y+38|0,y+4|0);if(x){c[w>>2]=(b[A+6>>1]&2048)==0?28280:28240;gu(f,A)|0}c[w>>2]=0;c[m>>2]=l;if(!(c[C>>2]|0))N=46}else N=46;while(0);do if((N|0)==46){N=0;if(!(c[v+8>>2]|0)){o=c[v+20>>2]|0;if(gu(f,o)|0){g=2;break a}m=ih(U,76,0)|0;if(!m){g=C;N=49;break c}q=m+0|0;p=q+76|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(p|0));c[C>>2]=m;b[m+40>>1]=1;c[W>>2]=m;c[m>>2]=qh(U,27760,W)|0;while(1){n=c[o+52>>2]|0;if(!n)break;else o=n}euak;else J=J+1|0}}while(0);i=da;return k|0}function Eu(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0;$=i;i=i+608|0;if((i|0)>=(j|0))ba();Z=$+168|0;X=$+576|0;Y=$+112|0;V=$+56|0;W=$;k=c[f>>2]|0;S=c[f+4>>2]|0;o=c[S+20>>2]|0;n=c[S+12>>2]|0;U=o+(n*48|0)|0;R=c[f+12>>2]|0;l=Y+0|0;m=l+56|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));m=c[k+4>>2]|0;l=d[R+16>>0]|0;Q=c[m+(l*72|0)+48>>2]|0;a:do if((n|0)>0){A=R+8|0;B=X+8|0;C=X+16|0;D=R+40|0;E=R+48|0;F=R+36|0;G=R+18|0;H=R+17|0;I=R+24|0;J=R+20|0;K=R+22|0;L=Z+4|0;M=Z+8|0;N=Z+12|0;O=Z+20|0;P=X+4|0;w=m+(l*72|0)+24|0;x=W+8|0;y=Y+8|0;z=V+8|0;while(1){b:do if((b[o+18>>1]&256)!=0?(T=c[o+12>>2]|0,t=T+408|0,s=A,!((c[s>>2]&c[t>>2]|0)==0?(c[s+4>>2]&c[t+4>>2]|0)==0:0)):0){n=T+20|0;v=(c[n>>2]|0)+((c[T+12>>2]|0)*48|0)|0;c[X+0>>2]=c[f+0>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[B>>2]=0;c[C>>2]=V;n=c[n>>2]|0;c:do if(n>>>0<v>>>0){l=1;k=0;d:while(1){if(!(b[n+18>>1]&512))if((c[n+8>>2]|0)==(Q|0)){c[Z>>2]=c[S>>2];c[L>>2]=S;a[M>>0]=72;c[N>>2]=1;c[O>>2]=n;m=Z;_=10}else m=l;else{m=c[n+12>>2]|0;_=10}do if((_|0)==10){_=0;c[P>>2]=m;b[V>>1]=0;if(!(a[(c[w>>2]|0)+44>>0]&16))k=Du(X,g,h)|0;else k=Cu(X,g,h)|0;if(!k)k=Eu