Lines Matching refs:Lu
6 ();k=r;q=r+4|0;do if(!d)f=0;else{l=c[(a&p)>>2]|0;n=d+24|0;h=l+460|0;g=(c[(h&p)>>2]|0)+(c[(n&p)>>2]|0)|0;f=c[((c[(l&p)>>2]|0)&p)+100>>2]|0;if((f|0)<(g|0)){c[(k&p)>>2]=f;th(l,27152,k);f=1;break}c[(h&p)>>2]=g;k=a+28|0;h=e[(k&o)>>1]|0;m=h&4098;b[(k&o)>>1]=h&61437;c[(q&p)>>2]=0;c[(q&p)+4>>2]=0;c[(q&p)+8>>2]=0;c[(q&p)+12>>2]=0;c[(q&p)+16>>2]=0;c[(q&p)+20>>2]=0;c[(q&p)>>2]=82;c[(q&p)+4>>2]=83;h=q+12|0;c[(h&p)>>2]=l;c[(q&p)+24>>2]=a;rs(q,d)|0;q=(c[(a&p)>>2]|0)+460|0;c[(q&p)>>2]=(c[(q&p)>>2]|0)-(c[(n&p)>>2]|0);if(!((c[(a&p)+24>>2]|0)<=0?(c[((c[(h&p)>>2]|0)&p)+64>>2]|0)<=0:0)){q=d+4|0;c[(q&p)>>2]=c[(q&p)>>2]|8}h=b[(k&o)>>1]|0;g=d+4|0;f=c[(g&p)>>2]|0;if(h&2){f=f|2;c[(g&p)>>2]=f}b[(k&o)>>1]=h&65535|m;f=f>>>3&1}while(0);i=r;return f|0}function ms(a){a=a|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0;f=b[(a&o)+48>>1]|0;if(!(f<<16>>16)){e=0;f=0}else{j=c[(a&p)+4>>2]|0;g=f&65535;h=0;e=0;do{f=b[(j+(h<<1)&o)>>1]|0;if(f<<16>>16<0)f=1;else f=d[(i+((f<<16>>16)*24|0)&n)+22>>0]|0;e=f+e|0;h=h+1|0}while((h|0)<(g|0));e=e<<2;f=0}b[(a&o)+44>>1]=fs(e,f)|0;return}function ns(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=c[(d&p)>>2]|0;g=j+24|0;i=c[(g&p)>>2]|0;c[(g&p)>>2]=i&-97|64;Ds(d,e,0);if(!(c[(d&p)+64>>2]|0)){while(1){f=c[(e&p)+52>>2]|0;if(!f){h=e;break}else e=f}c[(g&p)>>2]=i;e=mh(j,76,0)|0;if(e){f=e+0|0;g=f+76|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(g|0));b[(e&o)+40>>1]=1;c[(e&p)>>2]=0;b[(e&o)+28>>1]=200;iu(d,c[(h&p)>>2]|0,e+38|0,e+4|0);ju(d,e,h);b[(e&o)+36>>1]=-1;if(a[(j&n)+65>>0]|0){kg(j,e);e=0}}else e=0}else e=0;return e|0}function os(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;f=c[(d&p)>>2]|0;g=a[(e&n)>>0]|0;a:do if(!(g<<24>>24)){i=0;h=0}else{i=g;j=0;while(1){h=j+1|0;if(!(i<<24>>24==95?1:(a[(i&255&n)+10368>>0]&6)!=0)){h=j;break a}i=a[(e+h&n)>>0]|0;if(!(i<<24>>24)){i=0;break}else j=h}}while(0);if((((g&255)+-48|0)>>>0>=10?(fi(e,h)|0)==27:0)?!((h|0)==0|i<<24>>24!=0):0)k=0;else{a[(b+f&n)>>0]=34;k=1;g=a[(e&n)>>0]|0;f=f+1|0}if(g<<24>>24){h=e;j=0;do{i=f+1|0;a[(b+f&n)>>0]=g;if((a[(h&n)>>0]|0)==34){a[(b+i&n)>>0]=34;f=f+2|0}else f=i;j=j+1|0;h=e+j|0;g=a[(h&n)>>0]|0}while(g<<24>>24!=0)}if(k){a[(b+f&n)>>0]=34;f=f+1|0}a[(b+f&n)>>0]=0;c[(d&p)>>2]=f;return}function ps(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;f=b+20|0;g=a[(f&n)>>0]|0;if(g<<24>>24==2?(c[(e&p)+4>>2]&1|0)!=0:0){a[(f&n)>>0]=0;f=2}else h=4;a:do if((h|0)==4)switch(d[(e&n)>>0]|0|0){case 153:{if((g&255)>3){f=0;break a}if(c[(e&p)+4>>2]&524288){f=0;break a}a[(f&n)>>0]=0;f=2;break a}case 135:if(g<<24>>24==4){a[(f&n)>>0]=0;f=2;break a}else if(g<<24>>24==5){a[(e&n)>>0]=101;f=0;break a}else{f=0;break a}case 156:case 155:case 154:case 27:{if(g<<24>>24==3?(c[(e&p)+28>>2]|0)==(c[(b&p)+24>>2]|0):0){f=0;break a}a[(f&n)>>0]=0;f=2;break a}default:{f=0;break a}}while(0);return f|0}function qs(b,c){b=b|0;c=c|0;a[(b&n)+20>>0]=0;return 2}function rs(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)b=0;else{d=rc[c[(a&p)>>2]&127](a,b)|0;do if((d|0)==0?(e=b+4|0,(c[(e&p)>>2]&16384|0)==0):0){if(rs(a,c[(b&p)+12>>2]|0)|0){b=2;break a}if(rs(a,c[(b&p)+16>>2]|0)|0){b=2;break a}b=b+20|0;if(!(c[(e&p)>>2]&2048))if(!(luLu(Ha,l)|0;t=G;r=c[(aa&p)>>2]|0;if(r){ca=Lu
7 lu(f,x)|0;a[(g&n)>>0]=-101;r=g+38|0;a[(r&n)>>0]=0;b:do if(k){m=F+24|0;l=D+4|0;s=D+8|0;while(1){y=c[(k&p)+4>>2]|0;c[(F&p)>>2]=0;c[(F&p)+4>>2]=0;c[(F&p)+8>>2]=0;c[(F&p)+12>>2]=0;c[(F&p)+16>>2]=0;c[(F&p)+20>>2]=0;c[(F&p)>>2]=87;c[(m&p)>>2]=D;c[(D&p)>>2]=y;c[(l&p)>>2]=0;c[(s&p)>>2]=0;lu(F,c[(A&p)>>2]|0)|0;if((c[(l&p)>>2]|0)>0)break;if(!(c[(s&p)>>2]|0))break;a[(r&n)>>0]=(a[(r&n)>>0]|0)+1<<24>>24;k=c[(k&p)+16>>2]|0;if(!k)break b}y=k+28|0;b[(y&o)>>1]=e[(z&o)>>1]&4096|e[(y&o)>>1]|2}while(0);b[(C&o)>>1]=e[(C&o)>>1]|1;k=1;break a}else if((r|0)==1){c[(F&p)>>2]=c[(s&p)>>2];th(E,27288,F);y=k+24|0;c[(y&p)>>2]=(c[(y&p)>>2]|0)+1}a[(g&n)>>0]=101;k=1;break a}while(0);lu(f,x)|0;k=1;break a}case 135:{l=k+28|0;k=b[(l&o)>>1]|0;if(k&4){c[(F&p)>>2]=27456;th(E,27472,F);k=b[(l&o)>>1]|0}if(k&16){c[(F&p)>>2]=27456;th(E,27512,F)}break}case 27:{k=ov(E,0,0,c[(g&p)+8>>2]|0,k,g)|0;break a}case 75:case 20:case 119:{if(r&2048){s=k+20|0;l=c[(s&p)>>2]|0;m=k+28|0;r=b[(m&o)>>1]|0;if(r&4){c[(F&p)>>2]=27440;th(E,27472,F);r=b[(m&o)>>1]|0}if(r&16){c[(F&p)>>2]=27440;th(E,27512,F)}ku(f,c[(g&p)+20>>2]|0)|0;if((l|0)!=(c[(s&p)>>2]|0))c[(B&p)>>2]=c[(B&p)>>2]|32}break}default:{}}if(!(c[(E&p)+64>>2]|0))k=(a[((c[(E&p)>>2]|0)&n)+65>>0]|0)!=0?2:0;else k=2}else k=1;while(0);i=G;return k|0}function hu(d,f){d=d|0;f=f|0;var g=0,h=0,k=0,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;P=i;i=i+80|0;if((i|0)>=(j|0))fa();O=P;M=P+64|0;H=P+32|0;m=b[(f&o)+6>>1]|0;h=m&65535;a:do if(!(h&2)){G=c[(d&p)+24>>2]|0;N=c[(d&p)+12>>2]|0;d=c[(N&p)>>2]|0;if(!(h&16)){Ds(N,f,G);if(c[(N&p)+64>>2]|0){g=2;break}g=(a[(d&n)+65>>0]|0)!=0?2:1;break}I=f+52|0;g=(c[(I&p)>>2]|0)!=0;J=(f|0)==0;b:do if(!J){h=H+28|0;r=H+4|0;D=H+16|0;E=H+8|0;z=d+65|0;y=N+492|0;x=(G|0)==0;w=O+4|0;v=O+12|0;u=O+24|0;t=N+64|0;A=f;c:while(1){B=A+6|0;b[(B&o)>>1]=m&65535|2;c[(H&p)>>2]=0;c[(H&p)+4>>2]=0;c[(H&p)+8>>2]=0;c[(H&p)+12>>2]=0;c[(H&p)+16>>2]=0;c[(H&p)+20>>2]=0;c[(H&p)+24>>2]=0;c[(H&p)+28>>2]=0;c[(H&p)>>2]=N;if(ls(H,c[(A&p)+60>>2]|0)|0){g=2;break a}if(ls(H,c[(A&p)+64>>2]|0)|0){g=2;break a}m=c[(A&p)+32>>2]|0;if(b[(B&o)>>1]&8192){C=A+48|0;c[((c[(m&p)+28>>2]|0)&p)+48>>2]=c[(C&p)>>2];c[(C&p)>>2]=0}C=A+32|0;if((c[(m&p)>>2]|0)>0){s=0;do{k=c[(m+(s*72|0)&p)+28>>2]|0;if(k){d=c[(y&p)>>2]|0;if(x)q=0;else{q=0;l=G;do{q=(c[(l&p)+20>>2]|0)+q|0;l=c[(l&p)+16>>2]|0}while((l|0)!=0)}l=c[(m+(s*72|0)&p)+16>>2]|0;if(l)c[(y&p)>>2]=l;c[(O&p)>>2]=0;c[(O&p)+4>>2]=0;c[(O&p)+8>>2]=0;c[(O&p)+12>>2]=0;c[(O&p)+16>>2]=0;c[(O&p)+20>>2]=0;c[(O&p)>>2]=82;c[(w&p)>>2]=83;c[(v&p)>>2]=N;c[(u&p)>>2]=G;ku(O,k)|0;c[(y&p)>>2]=d;if(c[(t&p)>>2]|0){g=2;break a}if(a[(z&n)>>0]|0){g=2;break a}if(!x){l=G;do{q=q-(c[(l&p)+20>>2]|0)|0;l=c[(l&p)+16>>2]|0}while((l|0)!=0)}m=m+(s*72|0)+45|0;a[(m&n)>>0]=a[(m&n)>>0]&-3|((q|0)!=0&1)<<1&255;m=c[(C&p)>>2]|0}s=s+1|0}while((s|0)<(c[(m&p)>>2]|0))}b[(h&o)>>1]=1;c[(r&p)>>2]=m;c[(D&p)>>2]=G;q=c[(A&p)>>2]|0;if((c[(q&p)>>2]|0)>0){m=q+4|0;l=0;do{if(ls(H,c[((c[(m&p)>>2]|0)+(l*20|0)&p)>>2]|0)|0){g=2;break a}l=l+1|0}while((l|0)<(c[(q&p)>>2]|0))}k=c[(A&p)+40>>2]|0;m=(k|0)!=0;q=b[(h&o)>>1]|0;if(!m?(F=q&65535,(F&2|0)==0):0)b[(h&o)>>1]=F&65534;else b[(B&o)>>1]=q&4096|e[(B&o)>>1]|4;q=c[(A&p)+44>>2]|0;if(!((q|0)==0|m)){K=32;break}c[(E&p)>>2]=c[(A&p)>>2];if(ls(H,q)|0){g=2;break a}if(ls(H,c[(A&p)+36>>2]|0)|0){g=2;break a}c[(D&p)>>2]=0;b[(h&o)>>1]=e[(h&o)>>1]|1;if(b[(B&o)>>1]&8192){C=(c[((c[(C&p)>>2]|0)&p)+28>>2]|0)+48|0;c[(A&p)+48>>2]=c[(C&p)>>2];c[(C&p)>>2]=0}if(!g?(qv(H,A,c[(A&p)+48>>2]|0,26880)|0)!=0:0){g=2;break a}if(a[(z&n)>>0]|0){g=2;break a}do if(m){if(qv(H,A,k,26888)|0){g=2;break a}if(a[(z&n)>>0]|0){g=2;break a}l=c[(k&p)>>2]|0;if((l|0)<=0)break;q=0;m=c[(k&p)+4>>2]|0;while(1){if(c[((c[(m&p)>>2]|0)&p)+4>>2]&2){K=46;break c}q=q+1|0;if((q|0)>=(l|0))break;else m=m+20|0}}while(0);l=c[(A&p)+52>>2]|0;if(!l)break b;A=l;m=b[(l&o)+6>>1]|0}if((K|0)==32){th(N,26832,O);g=2;break a}else if((K|0)==46){th(N,26896,O);g=2;break a}}while(0);if(g?(L=c[(f&p)+48>>2]|0,(L|0)!=0):0){F=c[(N&p)>>2]|0;h=c[(L&p)>>2]|0;if((h|0)>(c[(F&p)+96>>2]|0)){th(N,26960,O);g=2;break}if((h|0)>0){d=L+4|0;g=0;do{h=(c[(d&p)>>2]|0)+(g*20|0)+13|0;a[(h&n)>>0]=a[(h&n)>>0]&-2;g=g+1|0;h=c[(L&p)>>2]|0}while((g|0)<(h|0))}c[(f&p)+56>>2]=0;g=c[(I&p)>>2]|0;if(!g)if(J)d=L+4|0;else K=60;else while(1){c[(g&p)+56>>2]=f;f=c[(g&p)+52>>2]|0;if(!f){f=g;K=60;break}else{E=g;g=f;f=E}}d:do if((K|0)==60){d=L+4|0;x=F+65|0;y=O+4|0;z=O+8|0;A=O+28|0;B=O+24|0;C=O+4|0;w=f;e:while(1){v=c[(w&p)>>2]|0;if((h|0)<=0)break d;t=w+32|0;g=0;s=0;u=c[(d&p)>>2]|0;while(1){c[(M&p)>>2]=-1;r=u+13|0;do if(!(a[(r&n)>>0]&1)){h=c[(u&p)>>2]|0;f:do if(!h)h=0;else while(1){f=c[(h&p)+4>>2]|0;if(!(f&4096))break f;if(!(f&262144))h=h+12|0;else h=c[((c[(h&p)+20>>2]|0)&p)+4>>2]|0;h=c[(h&p)>>2]|0;if(!h){h=0;break}}while(0);if(!(Ms(h,M)|0)){f=rv(v,h)|0;c[(M&p)>>2]=f;if(!f){q=Mr(F,h,0,0)|0;if(!(a[(x&n)>>0]|0)){k=c[(w&p)>>2]|0;c[(O&p)>>2]=0;c[(O&p)+4>>2]=0;c[(O&p)+8>>2]=0;c[(O&p)+12>>2]=0;c[(O&p)+16>>2]=0;c[(O&p)+20>>2]=0;c[(O&p)+24>>2]=0;c[(O&p)+28>>2]=0;c[(O&p)>>2]=N;c[(y&p)>>2]=c[(t&p)>>2];c[(z&p)>>2]=k;b[(A&o)>>1]=1;c[(B&p)>>2]=0;D=(c[(N&p)>>2]|0)+68|0;f=a[(D&n)>>0]|0;a[(D&n)>>0]=1;E=ls(O,q)|0;a[(D&n)>>0]=f;g:do if(!E){m=k+4|0;l=c[(k&p)>>2]|0;k=0;while(1){if((k|0)>=(l|0)){f=0;break g}f=k+1|0;if((Cu(c[((c[(m&p)>>2]|0)+(k*20|0)&p)>>2]|0,q,-1)|0)<2)break;else k=f}}else f=0;while(0);c[(M&p)>>2]=f}else f=0;Gk(F,q)}if((f|0)<=0){f=1;break}}else{k=c[(M&p)>>2]|0;f=c[(v&p)>>2]|0;if((k|0)<1|(k|0)>(f|0))break e;else f=k}c[(O&p)>>2]=0;c[(C&p)>>2]=0;k=nr(F,132,O,0)|0;if(!k){g=2;break a}l=k+4|0;c[(l&p)>>2]=c[(l&p)>>2]|1024;c[(k&p)+8>>2]=f;l=c[(u&p)>>2]|0;if((l|0)==(h|0))c[(u&p)>>2]=k;else c[(l&p)+12>>2]=k;Gk(F,h);b[(u&o)+16>>1]=f;a[(r&n)>>0]=a[(r&n)>>0]|1;f=s}else f=s;while(0);g=g+1|0;h=c[(L&p)>>2]|0;if((g|0)>=(h|0))break;else{s=f;u=u+20|0}}w=c[(w&p)+56>>2]|0;if(!((w|0)!=0&(f|0)!=0))break d}c[(O&p)>>2]=g+1;c[(O&p)+4>>2]=26880;c[(O&p)+8>>2]=f;th(N,27064,O);g=2;break a}while(0);f=0;while(1){if((f|0)>=(h|0)){g=1;break a}g=f+1|0;if(!(a[((c[(d&p)>>2]|0)+(f*20|0)&n)+13>>0]&1))break;else f=g}c[(O&p)>>2]=g;th(N,27e3,O);g=2}else g=1}else g=1;while(0);i=P;return g|0}function iu(e,f,g,h){e=e|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,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;A=c[(e&p)>>2]|0;a:do if(f){v=c[(f&p)>>2]|0;e=v*24|0;k=mh(A,e,0)|0;if(k)fw(k|0,0,e|0)|0;b[(g&o)>>1]=v;c[(h&p)>>2]=k;if((v|0)>0){t=f+4|0;w=A+65|0;e=0;u=k;while(1){r=c[(t&p)>>2]|0;f=c[(r+(e*20|0)&p)>>2]|0;b:do if(!f)f=0;else while(1){l=c[(f&p)+4>>2]|0;if(!(l&4096))break b;if(!(l&262144))f=f+12|0;else f=c[((c[(f&p)+20>>2]|0)&p)+4>>2]|0;f=c[(f&p)>>2]|0;if(!f){f=0;break}}while(0);l=c[(r+(e*20|0)&p)+4>>2]|0;do if(!l){while(1){l=a[(f&n)>>0]|0;if(l<<24>>24==27){B=24;break}else if(l<<24>>24==-102){y=f;B=18;break}else if(l<<24>>24!=122)break;f=c[(f&p)+16>>2]|0}if((B|0)==24){B=0;c[(z&p)>>2]=c[(f&p)+8>>2];f=uh(A,10344,z)|0;break}if((B|0)==18?(B=0,x=c[(y&p)+44>>2]|0,(x|0)!=0):0){f=b[(y&o)+32>>1]|0;if(f<<16>>16<0)f=b[(x&o)+36>>1]|0;else f=f<<16>>16;if((f|0)>-1)f=c[((c[(x&p)+4>>2]|0)+(f*24|0)&p)>>2]|0;else f=20456;c[(z&p)>>2]=f;f=uh(A,10344,z)|0;break}c[(z&p)>>2]=c[(r+(e*20|0)&p)+8>>2];f=uh(A,10344,z)|0}else f=kh(A,l)|0;while(0);if(a[(w&n)>>0]|0)break;if(!f){q=0;f=0}else{l=f;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;q=l-f&1073741823}c:do if((e|0)>0){l=0;r=0;s=q;while(1){if(!(dd(c[(k+(r*24|0)&p)>>2]|0,f)|0)){m=s;while(1){q=m+-1|0;if((q|0)<=1)break;if(((d[(f+q&n)>>0]|0)+-48|0)>>>0<10)m=q;else break}if((m|0)>0)m=(a[(f+q&n)>>0]|0)==58?q:s;else m=s;a[(f+m&n)>>0]=0;l=l+1|0;c[(z&p)>>2]=f;c[(z&p)+4>>2]=l;q=uh(A,26824,z)|0;mg(A,f);if(!q){f=0;break c}else{r=-1;f=q}}else m=s;r=r+1|0;if((r|0)>=(e|0))break;else s=m}}while(0);c[(u&p)>>2]=f;e=e+1|0;if((e|0)<(v|0))u=u+24|0;else{f=w;break a}}mg(A,f);f=w}else B=6}else{b[(g&o)>>1]=0;c[(h&p)>>2]=0;k=0;B=6}while(0);if((B|0)==6){f=A+65|0;e=0}if(a[(f&n)>>0]|0){if((e|0)>0){f=0;do{mg(A,c[(k+(f*24|0)&p)>>2]|0);f=f+1|0}while((f|0)!=(e|0))}mg(A,k);c[(h&p)>>2]=0;b[(g&o)>>1]=0}i=C;return}function ju(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;u=i;i=i+32|0;if((i|0)>=(j|0))fa();t=u;s=c[(e&p)>>2]|0;if(!(a[(s&n)+65>>0]|0)){c[(t&p)>>2]=0;c[(t&p)+4>>2]=0;c[(t&p)+8>>2]=0;c[(t&p)+12>>2]=0;c[(t&p)+16>>2]=0;c[(t&p)+20>>2]=0;c[(t&p)+24>>2]=0;c[(t&p)+28>>2]=0;c[(t&p)+4>>2]=c[(g&p)+32>>2];m=c[((c[(g&p)>>2]|0)&p)+4>>2]|0;l=f+38|0;if((b[(l&o)>>1]|0)>0){g=0;h=0;q=0;r=c[(f&p)+4>>2]|0;while(1){k=c[(m+(q*20|0)&p)>>2]|0;v=r+22|0;c[(r&p)+12>>2]=kh(s,yu(t,k,v)|0)|0;g=jw(d[(v&n)>>0]|0,0,g|0,h|0)|0;h=G;v=kv(k)|0;a[(r&n)+21>>0]=v<<24>>24==0?65:v;k=cu(e,k)|0;if(k)c[(r&p)+16>>2]=kh(s,c[(k&p)>>2]|0)|0;q=q+1|0;if((q|0)>=(b[(l&o)>>1]|0))break;else r=r+24|0}h=iw(g|0,h|0,2)|0;g=G}else{h=0;g=0}b[(f&o)+42>>1]=fs(h,g)|0}i=u;return}function ku(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&p)>>2]|0;if((e|0)==0?(c[(a&p)+8>>2]|0)==0:0){d=0;break}j=a+16|0;c[(j&p)>>2]=(c[(j&p)>>2]|0)+1;h=a+8|0;a:while(1){if((e|0)!=0?(d=rc[e&127](a,b)|0,(d|0)!=0):0){k=24;break}if(lu(a,c[(b&p)>>2]|0)|0){k=19;break}if(rs(a,c[(b&p)+36>>2]|0)|0){k=19;break}if(lu(a,c[(b&p)+40>>2]|0)|0){k=19;break}if(rs(a,c[(b&p)+44>>2]|0)|0){k=19;break}if(lu(a,c[(b&p)+48>>2]|0)|0){k=19;break}if(rs(a,c[(b&p)+60>>2]|0)|0){k=19;break}if(rs(a,c[(b&p)+64>>2]|0)|0){k=19;break}e=c[(b&p)+32>>2]|0;if((e|0)!=0?(i=c[(e&p)>>2]|0,(i|0)>0):0){f=i;e=e+8|0;while(1){if(ku(a,c[(e&p)+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&p)>>2]|0;if(e)jc[e&15](a,b);b=c[(b&p)+52>>2]|0;if(!b){d=0;break}e=c[(g&p)>>2]|0}if((k|0)==19){c[(j&p)>>2]=(c[(j&p)>>2]|0)+-1;d=2;break}else if((k|0)==24)d=d&2;c[(j&p)>>2]=(c[(j&p)>>2]|0)+-1}while(0);return d|0}function luLuif((oa|0)==73){oa=0;b[(F&o)>>1]=z+1;c[(U&p)>>2]=c[(K&p)>>2];a[(H&n)>>0]=c[(_&p)>>2];c[(_&p)>>2]=0;c[(V&p)>>2]=c[($&p)>>2];if(!(c[(L&p)>>2]|0))z=0;else z=c[(aa&p)>>2]&255;a[(W&n)>>0]=z;b[(E&o)>>1]=0;A=+h[(M&q)>>3];h[(k&q)>>3]=A;z=c[(k&p)>>2]|0;l=c[(k&p)+4>>2]|0;do if(!(A<=1.0))if(!(A<=2.0e9)){z=mw(z|0,l|0,52)|0;z=jw(z|0,G|0,64514,0)|0;z=(z<<16>>16)*10&65535;break}else{z=fs(~~A>>>0,+R(A)>=1.0?(A>0.0?~~+da(+Q(A/4294967296.0),4294967295.0)>>>0:~~+ba((A-+(~~A>>>0))/4294967296.0)>>>0):0)|0;break}else z=0;while(0);b[(X&o)>>1]=z;x=N;b[(Y&o)>>1]=fs(c[(x&p)>>2]|0,c[(x&p)+4>>2]|0)|0;Fv(e,la)|0;if(a[(H&n)>>0]|0){Wc(c[(V&p)>>2]|0);a[(H&n)>>0]=0}}z=D+1|0;if((z|0)>=4){l=0;break}else C=y}if((oa|0)==65){c[(ma&p)>>2]=c[(ha&p)>>2];th(ka,34064,ma);l=1}if(c[(_&p)>>2]|0)Wc(c[($&p)>>2]|0);mg(na,ga)}while(0);i=pa;return l|0}function Hu(f,g,h){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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=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;ga=i;i=i+64|0;if((i|0)>=(j|0))fa();s=ga;r=ga+56|0;q=ga+52|0;b[(q&o)>>1]=-1;ca=c[(f&p)+12>>2]|0;da=c[(f&p)>>2]|0;J=c[(da&p)+4>>2]|0;K=d[(ca&n)+16>>0]|0;Z=J+(K*72|0)+8|0;m=J+(K*72|0)+24|0;L=c[(m&p)>>2]|0;_=c[(f&p)+4>>2]|0;$=J+(K*72|0)+76|0;k=c[($&p)>>2]|0;do if(!k){if(a[(L&n)+44>>0]&32){s=c[(L&p)+8>>2]|0;break}k=s+0|0;l=k+52|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(l|0));b[(s&o)+46>>1]=1;b[(s&o)+48>>1]=1;c[(s&p)+4>>2]=q;c[(s&p)+8>>2]=r;a[(s&n)+50>>0]=5;c[(s&p)+12>>2]=L;b[(s&o)+44>>1]=b[(L&o)+42>>1]|0;b[(r&o)>>1]=b[(L&o)+28>>1]|0;b[(r&o)+2>>1]=0;if(!(a[(J+(K*72|0)&n)+45>>0]&1))c[(s&p)+20>>2]=c[((c[(m&p)>>2]|0)&p)+8>>2]}else s=k;while(0);r=b[(L&o)+28>>1]|0;if(r<<16>>16<11)E=0;else{E=r<<16>>16;E=((fs(E,((E|0)<0)<<31>>31)|0)&65535)+65503&65535}if(((((((c[(f&p)+16>>2]|0)==0?(b[(da&o)+34>>1]&128)==0:0)?(c[((c[(c[(da&p)>>2]&p)>>2]|0)&p)+24>>2]&1048576|0)!=0:0)?(c[($&p)>>2]|0)==0:0)?(t=a[(J+(K*72|0)&n)+45>>0]|0,(t&5)==0):0)?(I=L+44|0,(t&10|a[(I&n)>>0]&32)<<24>>24==0):0)?(F=c[(_&p)+20>>2]|0,Y=c[(_&p)+12>>2]|0,H=F+(Y*48|0)|0,(Y|0)>0):0){y=ca+8|0;z=ca+24|0;A=ca+42|0;B=ca+28|0;C=ca+40|0;D=ca+48|0;u=(E&65535)+(r&65535)|0;q=u+4&65535;m=ca+18|0;l=L+12|0;u=u+28&65535;v=ca+22|0;w=ca+20|0;x=ca+36|0;r=F;do{t=r+32|0;Y=t;X=y;if(((c[(X&p)>>2]&c[(Y&p)>>2]|0)==0?(c[(X&p)+4>>2]&c[(Y&p)+4>>2]|0)==0:0)?(Mu(r,Z,0,0)|0)!=0:0){b[(z&o)>>1]=1;b[(A&o)>>1]=0;c[(B&p)>>2]=0;b[(C&o)>>1]=1;c[(c[(D&p)>>2]&p)>>2]=r;b[(m&o)>>1]=q;if((c[(l&p)>>2]|0)==0?(a[(I&n)>>0]&2)==0:0)b[(m&o)>>1]=u;b[(v&o)>>1]=43;b[(w&o)>>1]=Gv(E,43)|0;c[(x&p)>>2]=16384;X=t;Y=c[(X&p)+4>>2]|h;k=ca;c[(k&p)>>2]=c[(X&p)>>2]|g;c[(k&p)+4>>2]=Y;k=Fv(f,ca)|0}else k=0;r=r+48|0}while((k|0)==0&r>>>0<H>>>0)}else k=0;Y=ca+36|0;a:do if((k|0)==0&(s|0)!=0){P=ca+24|0;Q=ca+42|0;R=ca+40|0;S=ca+17|0;T=ca+18|0;U=ca+22|0;V=ca+28|0;W=J+(K*72|0)+48|0;X=ca+20|0;N=J+(K*72|0)+64|0;O=L+42|0;w=L+44|0;v=da+34|0;u=_+12|0;J=_+20|0;M=1;while(1){x=c[(s&p)+36>>2]|0;y=c[(W&p)>>2]|0;b:do if(x){k=c[(u&p)>>2]|0;if((k|0)>0){m=0;q=c[(J&p)>>2]|0;while(1){l=c[(q&p)>>2]|0;if(Hv(l,x,y)|0){if(!(c[(l&p)+4>>2]&1)){ea=32;break b}if((b[(l&o)+36>>1]|0)==(y|0)){ea=32;break b}}m=m+1|0;if((m|0)>=(k|0)){k=0;break}else q=q+48|0}}else k=0}else ea=32;while(0);if((ea|0)==32){ea=0;K=b[(c[(s&p)+8>>2]&o)>>1]|0;b[(P&o)>>1]=0;b[(Q&o)>>1]=0;b[(R&o)>>1]=0;a[(S&n)>>0]=0;b[(T&o)>>1]=0;L=ca;c[(L&p)>>2]=g;c[(L&p)+4>>2]=h;b[(U&o)>>1]=K;c[(V&p)>>2]=s;L=s+51|0;z=a[(L&n)>>0]|0;c:do if(((z&4)==0?(aa=c[((c[(f&p)>>2]|0)&p)+8>>2]|0,(aa|0)!=0):0)?(ba=c[(aa&p)>>2]|0,(ba|0)>0):0){I=c[(aa&p)+4>>2]|0;H=s+46|0;B=s+4|0;A=0;while(1){E=c[(I+(A*20|0)&p)>>2]|0;d:do if(!E)E=0;else while(1){D=c[(E&p)+4>>2]|0;if(!(D&4096))break d;if(!(D&262144))E=E+12|0;else E=c[((c[(E&p)+20>>2]|0)&p)+4>>2]|0;E=c[(E&p)>>2]|0;if(!E){E=0;break}}while(0);if((a[(E&n)>>0]|0)!=-102){A=0;break c}if((c[(E&p)+28>>2]|0)==(y|0)){D=b[(E&o)+32>>1]|0;if(D<<16>>16<0){A=1;break c}E=b[(H&o)>>1]|0;if(E<<16>>16){C=c[(B&p)>>2]|0;E=E&65535;F=0;do{if(D<<16>>16==(b[(C+(F<<1)&o)>>1]|0)){A=1;break c}F=F+1|0}while((F|0)<(E|0))}}A=A+1|0;if((A|0)>=(ba|0)){A=0;break}}}else A=0;while(0);do if((c[(s&p)+40>>2]|0)<1){c[(Y&p)>>2]=256;a[(S&n)>>0]=(A|0)!=0?M&255:0;b[(X&o)>>1]=(K&65535)+16;Iv(_,ca,K);k=Fv(f,ca)|0;b[(U&o)>>1]=K;if(k)break a}else{if(!(z&32)){H=N;I=c[(H&p)>>2]|0;H=c[(H&p)+4>>2]|0;F=s+4|0;E=0;D=0;C=e[(s&o)+48>>1]|0;e:while(1){B=C;while(1){C=B+-1|0;if((B|0)<=0)break e;B=b[((c[(F&p)>>2]|0)+(C<<1)&o)>>1]|0;if((B&65535)<63)break;else B=C}t=iw(1,0,B<<16>>16|0)|0;E=t|E;D=G|D}t=I&~E;x=H&~D;E=t;D=x;x=(t|0)==0&(x|0)==0?576:512}else{E=0;D=0;x=576}c[(Y&p)>>2]=x;t=(A|0)!=0;if(!t?(a[(w&n)>>0]&32)==0:0){if(!((E|0)==0&(D|0)==0))break;if(a[(L&n)>>0]&4)break;if((b[(s&o)+44>>1]|0)>=(b[(O&o)>>1]|0))break;if(!((b[(v&o)>>1]&4)==0&(c[2190]|0)!=0))break;if(b[((c[(c[(da&p)>>2]&p)>>2]|0)&o)+60>>1]&64)break}a[(S&n)>>0]=t?M&255:0;r=K<<16>>16;t=r+1+(((b[(s&o)+44>>1]|0)*15|0)/(b[(O&o)>>1]|0)|0)&65535;if(!((E|0)==0&(D|0)==0))t=Gv(t,r+16&65535)|0;b[(X&o)>>1]=t;Iv(_,ca,K);k=Fv(f,ca)|0;b[(U&o)>>1]=K;if(k)break a}while(0);k=Jv(f,Z,s,0)|0;if(c[($&p)>>2]|0)break a}s=c[(s&p)+20>>2]|0;if(!((k|0)==0&(s|0)!=0))break;else M=M+1|0}}while(0);i=ga;return k|0}function Iu(f,g,h){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,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;ca=i;i=i+608|0;if((i|0)>=(j|0))fa();aa=ca+168|0;_=ca+576|0;$=ca+112|0;Y=ca+56|0;Z=ca;k=c[(f&p)>>2]|0;V=c[(f&p)+4>>2]|0;r=c[(V&p)+20>>2]|0;q=c[(V&p)+12>>2]|0;X=r+(q*48|0)|0;U=c[(f&p)+12>>2]|0;l=$+0|0;m=l+56|0;do{c[(l&p)>>2]=0;l=l+4|0}while((l|0)<(m|0));m=c[(k&p)+4>>2]|0;l=d[(U&n)+16>>0]|0;T=c[(m+(l*72|0)&p)+48>>2]|0;a:do if((q|0)>0){D=U+8|0;E=_+8|0;F=_+16|0;G=U+40|0;H=U+48|0;I=U+36|0;J=U+18|0;K=U+17|0;L=U+24|0;M=U+20|0;N=U+22|0;O=aa+4|0;P=aa+8|0;Q=aa+12|0;R=aa+20|0;S=_+4|0;z=m+(l*72|0)+24|0;A=Z+8|0;B=$+8|0;C=Y+8|0;while(1){b:do if((b[(r&o)+18>>1]&256)!=0?(W=c[(r&p)+12>>2]|0,w=W+408|0,v=D,!((c[(v&p)>>2]&c[(w&p)>>2]|0)==0?(c[(v&p)+4>>2]&c[(w&p)+4>>2]|0)==0:0)):0){q=W+20|0;y=(c[(q&p)>>2]|0)+((c[(W&p)+12>>2]|0)*48|0)|0;c[(_&p)>>2]=c[(f&p)>>2];c[(_&p)+4>>2]=c[(f&p)+4>>2];c[(_&p)+8>>2]=c[(f&p)+8>>2];c[(_&p)+12>>2]=c[(f&p)+12>>2];c[(E&p)>>2]=0;c[(F&p)>>2]=Y;q=c[(q&p)>>2]|0;c:do if(q>>>0<y>>>0){l=1;k=0;d:while(1){if(!(b[(q&o)+18>>1]&512))if((c[(q&p)+8>>2]|0)==(T|0)){c[(aa&p)>>2]=c[(V&p)>>2];c[(O&p)>>2]=V;a[(P&n)>>0]=72;c[(Q&p)>>2]=1;c[(R&p)>>2]=q;m=aa;ba=10}else m=l;else{m=c[(q&p)+12>>2]|0;ba=10}do if((ba|0)==10){ba=0;c[(S&p)>>2]=m;b[(Y&o)>>1]=0;if(!(a[((c[(z&p)>>2]|0)&n)+44>>0]&16))k=Hu(_,g,h)|0;else k=Gu(_,g,h)|0;if(!k)k=Iu(_,g,h)|0;m=b[(Y&o)>>1]|0;if(!(m<<16>>16))break d;if(l){b[($&o)>>1]=m;kw(B|0,C|0,(m&65535)<<4|0)|0;m=0;break}w=b[($&o)>>1]|0;b[(Z&o)>>1]=w;x=w&65535;kw(A|0,B|0,x<<4|0)|0;b[($&o)>>1]=0;if(!(w<<16>>16))m=0;else{w=0;do{if(!(m<<16>>16))m=0;else{s=Z+(w<<4)+8|0;l=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;t=b[(Z+(w<<4)&o)+16>>1]|0;u=b[(Z+(w<<4)&o)+18>>1]|0;v=0;do{da=Y+(v<<4)+8|0;ea=c[(da&p)>>2]|l;da=c[(da&p)+4>>2]|s;m=Gv(t,b[(Y+(v<<4)&o)+16>>1]|0)|0;Kv($,ea,da,m,Gv(u,b[(Y+(v<<4)&o)+18>>1]|0)|0);v=v+1|0;m=b[(Y&o)>>1]|0}while((v|0)<(m&65535|0))}w=w+1|0}while((w|0)<(x|0));m=0}}while(0);q=q+48|0;if(q>>>0>=y>>>0)break c;else l=m}b[($&o)>>1]=0}else k=0;while(0);b[(G&o)>>1]=1;c[(c[(H&p)>>2]&p)>>2]=r;c[(I&p)>>2]=8192;b[(J&o)>>1]=0;a[(K&n)>>0]=0;c[(L&p)>>2]=0;c[(L&p)+4>>2]=0;c[(L&p)+8>>2]=0;if(k)break a;q=e[($&o)>>1]|0;m=0;while(1){if((m|0)>=(q|0))break b;b[(M&o)>>1]=(e[($+(m<<4)&o)+16>>1]|0)+1;b[(N&o)>>1]=b[($+(m<<4)&o)+18>>1]|0;v=$+(m<<4)+8|0;w=c[(v&p)+4>>2]|0;k=U;c[(k&p)>>2]=c[(v&p)>>2];c[(k&p)+4>>2]=w;k=Fv(f,U)|0;if(!k)m=m+1|0;else break a}}while(0);r=r+48|0;if(r>>>0>=X>>>0){k=0;break}}}else k=0;while(0);i=ca;return k|0}function Ju(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=d+48|0;f=c[(e&p)>>2]|0;g=d+56|0;if((f|0)!=(g|0))mg(a,f);Lv(a,d);c[(e&p)>>2]=g;b[(d&o)+40>>1]=0;b[(d&o)+44>>1]=3;c[(d&p)+36>>2]=0;return}function Ku(d,f){d=d|0;f=f|0;var g=0,h=0,k=0,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,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+32|0;if((i|0)>=(j|0))fa();ea=oa+24|0;aa=oa+16|0;ia=oa+8|0;na=oa;da=c[(d&p)>>2]|0;ka=c[(da&p)>>2]|0;r=a[(d&n)+41>>0]|0;la=r&255;if((r&255)<2)Y=1;else Y=r<<24>>24==2?5:10;ma=d+8|0;l=c[(ma&p)>>2]|0;ga=f<<16>>16==0;if((l|0)==0|ga)X=0;else X=c[(l&p)>>2]|0;m=X<<1;ja=m+(ca((la<<3)+64|0,Y)|0)|0;ja=mh(ka,ja,((ja|0)<0)<<31>>31)|0;do if(ja){l=ja+(Y<<5)|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;c[(l&p)+20>>2]=0;c[(l&p)+24>>2]=0;c[(l&p)+28>>2]=0;g=Y<<1;q=ca(Y,-2)|0;q=ja+((ca((((q|0)>-1?q:1073741823)+(Y<<1)<<2)+4|0,la)|0)+(Y<<6))|0;k=g;h=ja;g=ja+(g<<5)|0;while(1){c[(h&p)+24>>2]=g;k=k+-1|0;if((k|0)<=0)break;else{h=h+32|0;g=g+(la<<2)|0}}k=(X|0)!=0;if(k)fw(q|0,0,m|0)|0;else q=0;W=c[(da&p)+424>>2]|0;b[(ja+(Y<<5)&o)+16>>1]=W>>>0<48?W&65535:48;if(k)a[(ja+(Y<<5)&n)+22>>0]=r<<24>>24!=0?-1:X&255;W=r<<24>>24==0;if(!W){S=d+16|0;T=d+34|0;U=f<<16>>16<11;V=(f&65535)+16|0;P=f<<16>>16;Q=((P|0)<0)<<31>>31;R=Y>>>0>1;g=ja;O=0;m=0;r=0;f=0;h=1;while(1){if((h|0)>0){J=O&65535;K=O<<2;L=g+18|0;M=g+16|0;N=0;k=0;I=l;while(1){s=c[(S&p)>>2]|0;if(s){D=I+22|0;E=I+16|0;F=I+20|0;G=I+24|0;H=I+8|0;C=k;while(1){u=a[(D&n)>>0]|0;v=aa;c[(v&p)>>2]=0;c[(v&p)+4>>2]=0;v=s;k=I;t=c[(k&p)>>2]|0;k=c[(k&p)+4>>2]|0;a:do if(((c[(v&p)>>2]&~t|0)==0?(c[(v&p)+4>>2]&~k|0)==0:0)?(Z=s+8|0,$=Z,_=c[($&p)>>2]|0,$=c[($&p)+4>>2]|0,(_&t|0)==0&($&k|0)==0):0){y=e[(E&o)>>1]|0;A=Gv(b[(s&o)+18>>1]|0,y+(e[(s&o)+20>>1]|0)&65535)|0;A=Gv(A,b[(F&o)>>1]|0)|0;y=(e[(s&o)+22>>1]|0)+y|0;B=y&65535;x=_|t;v=$|k;if(u<<24>>24<0)z=Mv(d,c[(ma&p)>>2]|0,I,b[(T&o)>>1]|0,J,s,aa)|0;else{k=H;t=c[(k&p)+4>>2]|0;z=aa;c[(z&p)>>2]=c[(k&p)>>2];c[(z&p)+4>>2]=t;z=u}u=z<<24>>24;if(z<<24>>24>-1&(X|0)>(u|0)){w=q+(u<<1)|0;t=b[(w&o)>>1]|0;if(!(t<<16>>16)){u=((X-u|0)*100|0)/(X|0)|0;u=(fs(u,((u|0)<0)<<31>>31)|0)&65535;if(U)k=0;else k=((fs(P,Q)|0)&65535)+65503&65535;u=V+(((u<<16)+-4325376|0)>>>16)+k|0;if(b[(T&o)>>1]&1024)u=(u&65535)+16|0;t=u&65535;b[(w&o)>>1]=t}w=Gv(A,t)|0}else w=A;b:do if((C|0)>0){u=0;t=g;while(1){k=t;if(((c[(k&p)>>2]|0)==(x|0)?(c[(k&p)+4>>2]|0)==(v|0):0)?(a[(t&n)+22>>0]^z)<<24>>24>-1:0)break;u=u+1|0;if((u|0)>=(C|0)){ba=35;break b}else t=t+32|0}k=b[(t&o)+18>>1]|0;if(k<<16>>16<w<<16>>16){k=C;break a}if(k<<16>>16!=w<<16>>16){k=C;break}if((b[(t&o)+16>>1]|0)>(y<<16>>16|0))k=C;else{k=C;break a}}else ba=35;while(0);if((ba|0)==35){ba=0;t=(C|0)<(Y|0);if(!t){if(w<<16>>16>m<<16>>16){k=C;break}if(!(w<<16>>16!=m<<16>>16?1:A<<16>>16<f<<16>>16)){k=C;break}}k=(t&1)+C|0;t=g+((t?C:r)<<5)|0}u=I;y=Z;v=c[(y&p)+4>>2]|c[(u&p)+4>>2];x=t;c[(x&p)>>2]=c[(y&p)>>2]|c[(u&p)>>2];c[(x&p)+4>>2]=v;x=aa;v=c[(x&p)+4>>2]|0;u=t+8|0;c[(u&p)>>2]=c[(x&p)>>2];c[(u&p)+4>>2]=v;b[(t&o)+16>>1]=B;b[(t&o)+18>>1]=w;b[(t&o)+20>>1]=A;a[(t&n)+22>>0]=z;t=t+24|0;kw(c[(t&p)>>2]|0,c[(G&p)>>2]|0,K|0)|0;c[((c[(t&p)>>2]|0)+(O<<2)&p)>>2]=s;if((k|0)<(Y|0))break;m=b[(L&o)>>1]|0;f=b[(M&o)>>1]|0;if(R){v=g;w=1;u=m;r=0;t=f}else{r=0;break}while(1){m=b[(v&o)+50>>1]|0;do if(m<<16>>16<=u<<16>>16){if(m<<16>>16!=u<<16>>16){m=u;f=t;break}f=b[(v&o)+52>>1]|0;if(f<<16>>16>t<<16>>16)ba=48;else{m=u;f=t}}else{f=b[(v&o)+52>>1]|0;ba=48}while(0);v=v+32|0;if((ba|0)==48){ba=0;r=w}w=w+1|0;if((w|0)>=(Y|0))break;else{u=m;t=f}}}else k=C;while(0);s=c[(s&p)+52>>2]|0;if(!s)break;else C=k}}N=N+1|0;if((N|0)==(h|0)){h=k;break}else I=I+32|0}}else h=0;O=O+1|0;if((O|0)>=(la|0))break;else{N=g;g=l;l=N}}if(!h){th(da,34008,ea);mg(ka,ja);break}if((h|0)>1){k=1;l=g;do{if((b[(l&o)+18>>1]|0)>(b[(g+(k<<5)&o)+18>>1]|0))l=g+(k<<5)|0;k=k+1|0}while((k|0)!=(h|0))}else l=g;if(!W){h=d+4|0;k=c[(l&p)+24>>2]|0;g=0;do{ba=c[(k+(g<<2)&p)>>2]|0;c[(d+(g*80|0)&p)+800>>2]=ba;ba=a[(ba&n)+16>>0]|0;a[(d+(g*80|0)&n)+780>>0]=ba;c[(d+(g*80|0)&p)+740>>2]=c[((c[(h&p)>>2]|0)+((ba&255)*72|0)&p)+48>>2];g=g+1|0}while((g|0)<(la|0))}}h=d+34|0;if(((b[(h&o)>>1]&1536)==1024?(ha=d+40|0,!((a[(ha&n)>>0]|0)!=0|ga)):0)?(ba=d+12|0,aa=la+-1|0,aa=(Mv(d,c[(ba&p)>>2]|0,l,512,aa&65535,c[((c[(l&p)+24>>2]|0)+(aa<<2)&p)>>2]|0,ia)|0)<<24>>24,(aa|0)==(c[(c[(ba&p)>>2]&p)>>2]|0)):0)a[(ha&n)>>0]=2;k=c[(ma&p)>>2]|0;if(k){g=b[(h&o)>>1]|0;h=a[(l&n)+22>>0]|0;if(g&512){if((h<<24>>24|0)==(c[(k&p)>>2]|0))a[(d&n)+40>>0]=2}else{a[(d&n)+36>>0]=h<<24>>24<0?0:h;$=l+8|0;aa=c[($&p)+4>>2]|0;ba=d+24|0;c[(ba&p)>>2]=c[($&p)>>2];c[(ba&p)+4>>2]=aa}if(((g&2048)!=0?(a[(d&n)+36>>0]|0)==(c[(k&p)>>2]|0):0)?(ba=na,c[(ba&p)>>2]=0,c[(ba&p)+4>>2]=0,ba=la+-1|0,ba=(Mv(d,k,l,0,ba&65535,c[((c[(l&p)+24>>2]|0)+(ba<<2)&p)>>2]|0,na)|0)<<24>>24,(ba|0)==(c[(c[(ma&p)>>2]&p)>>2]|0)):0){a[(d&n)+37>>0]=1;$=na;aa=c[($&p)+4>>2]|0;ba=d+24|0;c[(ba&p)>>2]=c[($&p)>>2];c[(ba&p)+4>>2]=aa}}b[(d&o)+32>>1]=b[(l&o)+16>>1]|0;mg(ka,ja)}while(0);i=oa;return}function LuLu(b,c[(f&p)>>2]|0)|0;f=G}else{d=Bv(b,c[(f&p)>>2]|0)|0;f=G}f=e|f;e=h|g|d;break}else{f=0;e=0}while(0);G=f;return e|0}function Bv(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,l=0;if(!b){b=0;d=0}else{g=b;d=0;b=0;do{f=c[(g&p)+32>>2]|0;l=Lu(a,c[(g&p)>>2]|0)|0;b=G|b;k=Lu(a,c[(g&p)+40>>2]|0)|0;b=b|G;j=Lu(a,c[(g&p)+48>>2]|0)|0;b=b|G;i=Av(a,c[(g&p)+36>>2]|0)|0;b=b|G;e=Av(a,c[(g&p)+44>>2]|0)|0;d=l|d|k|j|i|e;b=b|G;if((f|0)!=0?(h=c[(f&p)>>2]|0,(h|0)>0):0){e=0;do{j=Bv(a,c[(f+(e*72|0)&p)+28>>2]|0)|0;b=G|b;k=Av(a,c[(f+(e*72|0)&p)+52>>2]|0)|0;d=j|d|k;b=b|G;e=e+1|0}while((e|0)<(h|0))}g=c[(g&p)+52>>2]|0}while((g|0)!=0)}G=b;return d|0}function Cv(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=b[(e&o)+18>>1]|0;k=b[(f&o)+18>>1]|0;h=k|l;if(((!((l&62)==0|(k&62)==0)?(g=h&65535,(g&26|0)==(g|0)|(g&38|0)==(g|0)):0)?(j=c[(e&p)>>2]|0,i=c[(f&p)>>2]|0,(Cu(c[(j&p)+12>>2]|0,c[(i&p)+12>>2]|0,-1)|0)==0):0)?(Cu(c[(j&p)+16>>2]|0,c[(i&p)+16>>2]|0,-1)|0)==0:0){if(g+65535&g)h=(g&24|0)==0?32:8;i=Mr(c[(c[(c[(d&p)>>2]&p)>>2]&p)>>2]|0,j,0,0)|0;if(i){h=h&65535;g=79;while(1)if((h|0)==(2<<g+-79|0))break;else g=g+1|0;a[(i&n)>>0]=g;Eu(d,zv(d,i,3)|0)}}return}function Dv(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,q=0;c[(d&p)>>2]=f;c[(d&p)+4>>2]=f;a:do if((j|0)!=0&(h|0)>-1){a[(d&n)+12>>0]=a[((c[((c[(j&p)+12>>2]|0)&p)+4>>2]|0)+(h*24|0)&n)+21>>0]|0;k=c[(j&p)+4>>2]|0;if((b[(k&o)>>1]|0)==(h|0))f=0;else{l=e[(j&o)+48>>1]|0;m=0;while(1){f=m+1|0;if((m|0)>(l|0)){f=0;break a}if((b[(k+(f<<1)&o)>>1]|0)==(h|0))break;else m=f}}c[(d&p)+8>>2]=c[((c[(j&p)+32>>2]|0)+(f<<2)&p)>>2];q=8}else{a[(d&n)+12>>0]=0;c[(d&p)+8>>2]=0;q=8}while(0);if((q|0)==8){c[(d&p)+16>>2]=i;c[(d&p)+20>>2]=0;c[(d&p)+24>>2]=g;c[(d&p)+28>>2]=h;a[(d&n)+13>>0]=2;a[(d&n)+14>>0]=2;f=Ev(d)|0}return f|0}