Lines Matching refs:Fq
7 Fq(g,e,Ka);if(da(d+17>>0|0,1,0,0)|0)yp(d,da(xa|0,4,0,0)|0|0,5,da(c|0,4,0,0)|0|0,Ka);b=da(Ka|0,4,0,0)|0|0;if(!b){jw(e+22|0,g+22|0,(da(h>>0|0,1,0,1)|0)<<1|0)|0;jw(e+32|0,g+32|0,(da(h>>0|0,1,0,1)|0)<<2|0)|0;ea(e+1>>0|0,da(h>>0|0,1,0,0)|0|0|0,1,0);ol(g,(da((da(e+56|0,4,0,0)|0)>>0|0,1,0,1)|0)&247);W=da(g+6>>0|0,1,0,1)|0|0;V=da(g+56|0,4,0,0)|0|0;b=da(xa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,b>>>24|0,1,0);ea(V+(W+9)>>0|0,b>>>16|0,1,0);ea(V+(W+10)>>0|0,b>>>8|0,1,0);ea(V+(W+11)>>0|0,b|0,1,0);ea($|0,e|0,4,0);b=0;break}ea($|0,0|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea($|0,0|0,4,0);while(0);if(b){c=Z;break}ea(ka|0,1|0,2,0);ea(ha|0,0|0,2,0);ea(ia|0,0|0,2,0);e=da($|0,4,0,0)|0|0;d=e+1|0;if(!(da(d>>0|0,1,0,0)|0)){c=1;f=1;Y=15}else{k=1;f=1;h=d}}else if(c){c=e;e=g;d=h;Y=15}else{k=e;e=g}if((Y|0)==15){Y=0;if((da(e+16|0,2,0,1)|0|0)>>>0>ja>>>0){k=c;h=d}else{c=Z;b=0;break}}d=f+-1|0;X=da(a+(d<<2)+120|0,4,0,0)|0|0;d=da(a+(d<<1)+78|0,2,0,0)|0|0;l=d&65535;b=Fg(da(X+68|0,4,0,0)|0|0)|0;do if(!b){if(((((da(e+3>>0|0,1,0,0)|0|0)!=0?(da(h>>0|0,1,0,0)|0|0)==1:0)?(aa=da(e+22|0,2,0,0)|0|0,ca=e+18|0,aa<<16>>16==(da(ca|0,2,0,0)|0|0)):0)?(fa=X+72|0,(da(fa|0,4,0,0)|0|0)!=1):0)?(ga=X+18|0,(da(ga|0,2,0,0)|0|0)==d<<16>>16):0){d=da(e+52|0,4,0,0)|0|0;if(!(aa<<16>>16)){ea(Ka|0,59423|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);c=Z;b=11;break}W=hp(d,Ca,Fa,0,0)|0;ea(Ga|0,W|0,4,0);if(!W){c=da(e+32|0,4,0,0)|0|0;ea(Ba|0,c|0,4,0);b=Kp(e,c)|0;ea(Ia|0,b|0,2,0);f=da(Ca|0,4,0,0)|0|0;ol(f,13);Gq(f,1,Ba,Ia);ea(f+16|0,65534-(b&65535)+(da(d+36|0,4,0,0)|0|0)-(da(f+14|0,2,0,1)|0|0)|0,2,0);if((da(d+17>>0|0,1,0,0)|0|0)!=0?(yp(d,da(Fa|0,4,0,0)|0|0,5,da(fa|0,4,0,0)|0|0,Ga),(b&65535)>(da(f+12|0,2,0,1)|0|0)):0)Eq(f,c,Ga);W=da(e+56|0,4,0,0)|0|0;d=(da(ca|0,2,0,1)|0)<<1;c=da(e+64|0,4,0,0)|0|0;d=((da(c+(d+-2)>>0|0,1,0,1)|0)<<8|(da(c+(d+-1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=W+d|0;ea(Ba|0,c|0,4,0);d=W+(d+9)|0;while(1){b=c+1|0;if((da(c>>0|0,1,0,0)|0|0)<0&b>>>0<d>>>0)c=b;else break}ea(Ba|0,b|0,4,0);d=c+10|0;f=oa;while(1){ea(Ba|0,b+1|0,4,0);W=da(b>>0|0,1,0,0)|0|0;c=f+1|0;ea(f>>0|0,W|0,1,0);b=da(Ba|0,4,0,0)|0|0;if(!(W<<24>>24<0&b>>>0<d>>>0))break;else f=c}Ip(X,da(ga|0,2,0,1)|0|0,qa,c-pa|0,0,da(e+72|0,4,0,0)|0|0,Ga);W=da(X+6>>0|0,1,0,1)|0|0;V=da(X+56|0,4,0,0)|0|0;c=da(Fa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,c>>>24|0,1,0);ea(V+(W+9)>>0|0,c>>>16|0,1,0);ea(V+(W+10)>>0|0,c>>>8|0,1,0);ea(V+(W+11)>>0|0,c|0,1,0);c=da(Ca|0,4,0,0)|0|0;if(c)Ag(da(c+68|0,4,0,0)|0|0)}c=Z;b=da(Ga|0,4,0,0)|0|0;break}c=Fo(da((da(_|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)|0;S=k<<16>>16==1;g=da(na>>0|0,1,0,1)|0|0;F=g&1;ea(Ha|0,0|0,4,0);ea(ua+0>>0|0,0|0,1,0);ea(ua+1>>0|0,0|0,1,0);ea(ua+2>>0|0,0|0,1,0);ea(ua+3>>0|0,0|0,1,0);ea(ua+4>>0|0,0|0,1,0);U=da(X+52|0,4,0,0)|0|0;if(!c)b=7;else{w=X+1|0;k=da(w>>0|0,1,0,1)|0|0;T=X+18|0;b=da(T|0,2,0,1)|0|0;f=b+k|0;if((f|0)<2){V=f;O=0}else{do if(d<<16>>16)if((f|0)==(l|0)){g=(g|-2)+l|0;break}else{g=l+-1|0;break}else g=0;while(0);V=2-F|0;O=g}W=V+1|0;g=O-k+V|0;v=X+56|0;k=da(v|0,4,0,0)|0|0;if((g|0)==(b|0))l=(da(X+6>>0|0,1,0,1)|0|0)+8|0;else{l=g<<1;R=da(X+64|0,4,0,0)|0|0;l=((da(R+l>>0|0,1,0,1)|0)<<8|(da(R+(l|1)>>0|0,1,0,1)|0))&(da(X+20|0,2,0,1)|0)}L=k+l|0;J=k+(l+1)|0;K=k+(l+2)|0;y=k+(l+3)|0;R=(da(J>>0|0,1,0,1)|0)<<16|(da(L>>0|0,1,0,1)|0)<<24|(da(K>>0|0,1,0,1)|0)<<8|(da(y>>0|0,1,0,1)|0);ea(Ea|0,R|0,4,0);l=xa+(V<<2)|0;R=up(U,R,l,0)|0;ea(Ha|0,R|0,4,0);a:do if(!R){o=X+22|0;r=X+32|0;s=X+20|0;t=X+64|0;u=U+22|0;I=U+36|0;p=V;k=0;while(1){d=da(l|0,4,0,0)|0|0;k=k+1+(da(d+18|0,2,0,1)|0|0)+(da(d+1>>0|0,1,0,1)|0|0)|0;d=p+-1|0;if(!p)break;q=d+O|0;l=da(w>>0|0,1,0,0)|0|0;if((q|0)==(da(o|0,2,0,1)|0|0))if(!(l<<24>>24)){l=0;Y=52}else{R=da(r|0,4,0,0)|0|0;ea(va+(d<<2)|0,R|0,4,0);g=(da(R+1>>0|0,1,0,1)|0)<<16|(da(R>>0|0,1,0,1)|0)<<24|(da(R+2>>0|0,1,0,1)|0)<<8|(da(R+3>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);ea(Ja+(d<<2)|0,(Kp(X,R)|0)&65535|0,4,0);ea(w>>0|0,0|0,1,0)}else Y=52;if((Y|0)==52){Y=0;g=da(v|0,4,0,0)|0|0;m=q-(l&255)<<1;f=da(t|0,4,0,0)|0|0;m=((da(f+m>>0|0,1,0,1)|0)<<8|(da(f+(m|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0);f=g+m|0;b=va+(d<<2)|0;ea(b|0,f|0,4,0);g=(da(g+(m+1)>>0|0,1,0,1)|0)<<16|(da(f>>0|0,1,0,1)|0)<<24|(da(g+(m+2)>>0|0,1,0,1)|0)<<8|(da(g+(m+3)>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);n=(Kp(X,f)|0)&65535;ea(Ja+(d<<2)|0,n|0,4,0);if((da(u|0,2,0,0)|0)&4){if((n+m|0)>(da(I|0,4,0,0)|0|0)){d=p;Y=54;break}jw(c+m|0,f|0,n|0)|0;ea(b|0,c+(f-(da(v|0,4,0,0)|0|0))|0,4,0);l=da(w>>0|0,1,0,0)|0|0}Hp(X,q-(l&255)|0,n,Ha)}l=xa+(d<<2)|0;R=up(U,g,l,0)|0;ea(Ha|0,R|0,4,0);if(R){Y=47;break a}else p=d}if((Y|0)==54){Y=0;ea(Ka|0,59766|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);ew(xa|0,0,d<<2|0)|0;f=0;g=0;break}l=k+3&-4;R=fi((da(U+32|0,4,0,0)|0|0)+(l*6|0)|0)|0;if(!R){ea(Ha|0,7|0,4,0);f=R;g=0;break}P=R+(l<<2)|0;B=P+(l<<1)|0;E=da(xa|0,4,0,0)|0|0;M=(da(E+5>>0|0,1,0,1)|0)<<2;Q=M&65535;N=da(E+3>>0|0,1,0,0)|0|0;x=N&255;if((V|0)>-1){A=N<<24>>24!=0;C=E;g=0;D=0;k=0;while(1){z=da(C+18|0,2,0,1)|0|0;H=da(C+1>>0|0,1,0,0)|0|0;v=H&255;w=v+z|0;if(!(H<<24>>24)){b=da(C+56|0,4,0,0)|0|0;if((w|0)>0){q=da(C+20|0,2,0,1)|0|0;p=da(C+14|0,2,0,1)|0|0;o=0;n=k;while(1){H=(o<<1)+p|0;H=b+(((da(b+H>>0|0,1,0,1)|0)<<8|(da(b+(H+1)>>0|0,1,0,1)|0))&q)|0;ea(R+(n<<2)|0,H|0,4,0);ea(P+(n<<1)|0,Kp(C,H)|0|0,2,0);o=o+1|0;if((o|0)==(z|0))break;else n=n+1|0}k=z+k|0}}else if((w|0)>0){r=C+56|0;p=C+20|0;o=C+64|0;n=0;b=k;while(1){q=n;u=v;b:while(1){while(1){s=u+-1|0;if((u|0)<=0){Y=72;break b}u=da(C+(s<<1)+22|0,2,0,1)|0|0;if((u|0)>(q|0))u=s;else{t=u;u=s;break}}if((t|0)==(q|0)){Y=71;break}else q=q+-1|0}if((Y|0)==71){Y=0;q=da(C+(u<<2)+32|0,4,0,0)|0|0}else if((Y|0)==72){Y=0;q=q<<1;H=da(o|0,4,0,0)|0|0;q=(da(r|0,4,0,0)|0|0)+(((da(H+q>>0|0,1,0,1)|0)<<8|(da(H+(q|1)>>0|0,1,0,1)|0))&(da(p|0,2,0,1)|0))|0}ea(R+(b<<2)|0,q|0,4,0);ea(P+(b<<1)|0,Kp(C,q)|0|0,2,0);n=n+1|0;if((n|0)==(w|0))break;else b=b+1|0}k=z+k+v|0}ea(za+(g<<2)|0,k|0,4,0);if((g|0)>=(V|0)|A)l=D;else{d=da(Ja+(g<<2)|0,4,0,0)|0|0;m=P+(k<<1)|0;ea(m|0,d|0,2,0);d=d&65535;l=d+D|0;jw(B+D|0,da(va+(g<<2)|0,4,0,0)|0|0,d|0)|0;d=R+(k<<2)|0;ea(d|0,B+(D+M)|0,4,0);f=(da(m|0,2,0,1)|0|0)-M|0;ea(m|0,f|0,2,0);do if(!(da(C+5>>0|0,1,0,0)|0)){G=da(d|0,4,0,0)|0|0;H=(da(C+56|0,4,0,0)|0|0)+8|0;H=da(H>>0|0,1,0,1)|0|(da(H+1>>0|0,1,0,1)|0)<<8|(da(H+2>>0|0,1,0,1)|0)<<16|(da(H+3>>0|0,1,0,1)|0)<<24;ea(G>>0|0,H|0,1,0);ea(G+1>>0|0,H>>8|0,1,0);ea(G+2>>0|0,H>>16|0,1,0);ea(G+3>>0|0,H>>24|0,1,0)}else{if((f&65532)>>>0>=4)break;ea(B+l>>0|0,0|0,1,0);ea(m|0,4|0,2,0);l=l+1|0}while(0);k=k+1|0}g=g+1|0;if((g|0)>=(W|0))break;C=da(xa+(g<<2)|0,4,0,0)|0|0;D=l}l=M+-12+(da(I|0,4,0,0)|0|0)|0;if((k|0)>0){m=A<<31>>31;f=0;d=0;g=0;do{b=g+2+(da(P+(f<<1)|0,2,0,1)|0|0)|0;if((b|0)>(l|0)){ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,f|0,4,0);if((d|0)>3){Y=91;break}else{f=f+m|0;d=d+1|0;g=0}}else g=b;f=f+1|0}while((f|0)<(k|0));if((Y|0)==91){Y=0;ea(Ka|0,59904|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,k|0,4,0);if((d|0)>0){w=(F|0)==0;f=d;do{n=Ja+(f<<2)|0;f=f+-1|0;b=Ja+(f<<2)|0;o=ya+(f<<2)|0;s=da(o|0,4,0,0)|0|0;v=da(b|0,4,0,0)|0|0;m=g;while(1){r=s+-1|0;q=s-x|0;if(m){if(!w){g=v;break}t=da(P+(q<<1)|0,2,0,0)|0|0;u=m+2|0;q=da(P+(r<<1)|0,2,0,0)|0|0;p=v+-2|0;if(((t&65535)+u|0)>(p-(q&65535)|0)){g=v;break}}else{p=v+-2|0;u=2;t=da(P+(q<<1)|0,2,0,0)|0|0;q=da(P+(r<<1)|0,2,0,0)|0|0}ea(o|0,r|0,4,0);s=r;v=p-(q&65535)|0;m=(t&65535)+u|0}ea(n|0,m|0,4,0);ea(b|0,g|0,4,0)}while((f|0)>0);D=1;H=l;G=k}else{D=1;H=l;G=k}}else Y=93}else{l=M+-12+(da(I|0,4,0,0)|0|0)|0;k=0;Y=93}if((Y|0)==93){Y=0;ea(Ja|0,0|0,4,0);ea(ya|0,k|0,4,0);D=0;H=l;d=0;G=k}if((da(E+72|0,4,0,0)|0|0)>>>0<2){ea(Ka|0,59963|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}z=da((da(E+56|0,4,0,0)|0)>>0|0,1,0,1)|0|0;if((d|0)>-1){n=(F|0)!=0;b=U+17|0;f=X+72|0;p=0;g=0;while(1){do if((p|0)<(W|0)){E=xa+(p<<2)|0;F=da(E|0,4,0,0)|0|0;ea(wa+(p<<2)|0,F|0,4,0);ea(Da|0,F|0,4,0);ea(E|0,0|0,4,0);F=Fg(da(F+68|0,4,0,0)|0|0)|0;ea(Ha|0,F|0,4,0);g=g+1|0;if(F){f=R;break a}}else{F=hp(U,Da,Ea,n?1:da(Ea|0,4,0,0)|0|0,0)|0;ea(Ha|0,F|0,4,0);if(F){f=R;break a}l=da(Da|0,4,0,0)|0|0;ol(l,z);ea(wa+(p<<2)|0,l|0,4,0);g=g+1|0;ea(za+(p<<2)|0,G|0,4,0);if(!(da(b>>0|0,1,0,0)|0))break;yp(U,da(l+72|0,4,0,0)|0|0,5,da(f|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}}while(0);if((p|0)<(d|0))p=p+1|0;else break}if((g|0)>0){k=0;c:do{F=da(wa+(k<<2)|0,4,0,0)|0|0;l=da(F+72|0,4,0,0)|0|0;ea(ta+(k<<2)|0,l|0,4,0);ea(sa+(k<<2)|0,l|0,4,0);ea(ra+(k<<1)|0,da((da(F+68|0,4,0,0)|0|0)+24|0,2,0,0)|0|0|0,2,0);if((k|0)>0){f=0;do{if((da(ta+(f<<2)|0,4,0,0)|0|0)==(l|0)){Y=118;break c}f=f+1|0}while((f|0)<(k|0))}k=k+1|0}while((k|0)<(g|0));if((Y|0)==118){Y=0;ea(Ka|0,60018|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;break}m=(g|0)>1;f=U+44|0;d=0;do{if(m){k=0;l=1;do{k=(da(sa+(l<<2)|0,4,0,0)|0|0)>>>0<(da(sa+(k<<2)|0,4,0,0)|0|0)>>>0?l:k;l=l+1|0}while((l|0)!=(g|0))}else k=0;F=sa+(k<<2)|0;l=da(F|0,4,0,0)|0|0;ea(F|0,-1|0,4,0);if((k|0)!=(d|0)){if((k|0)>(d|0)){E=da((da(wa+(k<<2)|0,4,0,0)|0|0)+68|0,4,0,0)|0|0;F=k+1+(da(f|0,4,0,0)|0|0)|0;ea(E+24|0,0|0,2,0);Yp(E,F)}F=da(wa+(d<<2)|0,4,0,0)|0|0;E=da(F+68|0,4,0,0)|0|0;ea(E+24|0,da(ra+(k<<1)|0,2,0,0)|0|0|0,2,0);Yp(E,l);ea(F+72|0,l|0,4,0)}d=d+1|0}while((d|0)!=(g|0));ea(Ea|0,l|0,4,0);F=0}else F=1}else{F=1;g=0}C=g+-1|0;l=da(wa+(C<<2)|0,4,0,0)|0|0;E=da(l+72|0,4,0,0)|0|0;ea(L>>0|0,E>>>24|0,1,0);ea(J>>0|0,E>>>16|0,1,0);ea(K>>0|0,E>>>8|0,1,0);ea(y>>0|0,E|0,1,0);if(!((z&8|0)!=0|(W|0)==(g|0))){K=(da(l+56|0,4,0,0)|0|0)+8|0;L=(da((da(((g|0)>(W|0)?wa:xa)+(V<<2)|0,4,0,0)|0|0)+56|0,4,0,0)|0|0)+8|0;L=da(L>>0|0,1,0,1)|0|(da(L+1>>0|0,1,0,1)|0)<<8|(da(L+2>>0|0,1,0,1)|0)<<16|(da(L+3>>0|0,1,0,1)|0)<<24;ea(K>>0|0,L|0,1,0);ea(K+1>>0|0,L>>8|0,1,0);ea(K+2>>0|0,L>>16|0,1,0);ea(K+3>>0|0,L>>24|0,1,0)}E=U+17|0;if((da(E>>0|0,1,0,0)|0|0)!=0?(la=da(wa|0,4,0,0)|0|0,ma=da(I|0,4,0,0)|0|0,D):0){v=N<<24>>24==0;t=v&1;s=Q<<16>>16==0;q=da(la+56|0,4,0,0)|0|0;p=(da(la+18|0,2,0,1)|0|0)+(da(la+1>>0|0,1,0,1)|0|0)|0;r=0;o=0;k=0;m=la;while(1){u=da(R+(r<<2)|0,4,0,0)|0|0;if((r|0)==(p|0)){k=k+1|0;if((k|0)<(g|0))l=wa+(k<<2)|0;else l=xa+(k<<2)|0;p=da(l|0,4,0,0)|0|0;q=da(p+56|0,4,0,0)|0|0;p=r+t+(da(p+18|0,2,0,1)|0|0)+(da(p+1>>0|0,1,0,1)|0|0)|0}if((r|0)==(da(ya+(o<<2)|0,4,0,0)|0|0)){l=o+1|0;m=da(wa+(l<<2)|0,4,0,0)|0|0;if(!v)Y=142}else{l=o;Y=142}do if((Y|0)==142){Y=0;if((k|0)<(g|0)?(u>>>0>=q>>>0?(da(m+72|0,4,0,0)|0|0)==(da(ta+(k<<2)|0,4,0,0)|0|0):0)&u>>>0<(q+ma|0)>>>0:0)break;if(s)yp(U,(da(u+1>>0|0,1,0,1)|0)<<16|(da(u>>0|0,1,0,1)|0)<<24|(da(u+2>>0|0,1,0,1)|0)<<8|(da(u+3>>0|0,1,0,1)|0),5,da(m+72|0,4,0,0)|0|0,Ha);if((da(P+(r<<1)|0,2,0,1)|0|0)<=(da(m+12|0,2,0,1)|0|0))break;Eq(m,u,Ha)}while(0);r=r+1|0;if((r|0)==(G|0))break;else o=l}}if((C|0)>0){n=N<<24>>24==0;p=0;q=0;while(1){o=da(wa+(p<<2)|0,4,0,0)|0|0;k=da(ya+(p<<2)|0,4,0,0)|0|0;f=da(R+(k<<2)|0,4,0,0)|0|0;d=da(P+(k<<1)|0,2,0,0)|0|0;l=(d&65535)+M|0;m=c+q|0;do if(!(da(o+5>>0|0,1,0,0)|0)){L=(da(o+56|0,4,0,0)|0|0)+8|0;k=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(L>>0|0,k|0,1,0);ea(L+1>>0|0,k>>8|0,1,0);ea(L+2>>0|0,k>>16|0,1,0);ea(L+3>>0|0,k>>24|0,1,0);k=m}else{if(!n){qp(o,da(R+(k+-1<<2)|0,4,0,0)|0|0,Aa);l=Aa;f=m;k=0;l=(om(c+(q+4)|0,da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0)|0)+4|0;break}b=f+-4|0;if(d<<16>>16!=4){f=b;k=m;break}f=b;k=m;l=(Kp(X,b)|0)&65535}while(0);Ip(X,p+O|0,f,l,k,da(o+72|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}p=p+1|0;if((p|0)>=(C|0))break;else q=l+q|0}}l=1-g|0;if((l|0)<(g|0)){D=da(ya|0,4,0,0)|0|0;C=N<<24>>24==0&1;do{A=(l|0)<0?0-l|0:l;B=ua+A|0;do if(!(da(B>>0|0,1,0,0)|0)){if((l|0)<=-1?(O=A+-1|0,(da(za+(O<<2)|0,4,0,0)|0|0)<(da(ya+(O<<2)|0,4,0,0)|0|0)):0)break;if(!A){z=0;f=0;y=D}else{k=A+-1|0;if((A|0)<(W|0))f=(da(za+(k<<2)|0,4,0,0)|0|0)+C|0;else f=G;y=(da(ya+(k<<2)|0,4,0,0)|0|0)+C|0;z=y;y=(da(ya+(A<<2)|0,4,0,0)|0|0)-y|0}w=da(wa+(A<<2)|0,4,0,0)|0|0;n=da(w+56|0,4,0,0)|0|0;b=da(w+6>>0|0,1,0,1)|0|0;d=w+64|0;k=(da(d|0,4,0,0)|0|0)+(y<<1)|0;m=w+18|0;q=da(m|0,2,0,1)|0|0;x=w+1|0;p=q+f+(da(x>>0|0,1,0,1)|0|0)|0;o=y+z|0;if((f|0)<(z|0)){O=Hq(w,z-f|0,R+(f<<2)|0,P+(f<<1)|0)|0;N=da(d|0,4,0,0)|0|0;kw(N|0,N+(O<<1)|0,q<<1|0)|0;q=q-O|0}if((p|0)>(o|0))q=q-(Hq(w,p-o|0,R+(o<<2)|0,P+(o<<1)|0)|0)|0;s=n+(b+5)|0;r=n+(b+6)|0;O=n+((((da(s>>0|0,1,0,1)|0)<<8|(da(r>>0|0,1,0,1)|0))+65535&65535)+1)|0;ea(Ka|0,O|0,4,0);d:do if(O>>>0<k>>>0)Y=181;else{if((z|0)<(f|0)){p=f-z|0;p=(p|0)>(y|0)?y:p;O=da(d|0,4,0,0)|0|0;kw(O+(p<<1)|0,O|0,q<<1|0)|0;if(Iq(w,k,Ka,O,p,R+(z<<2)|0,P+(z<<1)|0)|0){Y=181;break}q=q+p|0}p=da(x>>0|0,1,0,0)|0|0;if(p<<24>>24){v=0;do{u=(da(w+(v<<1)+22|0,2,0,1)|0|0)+f|0;t=u-z|0;if((t|0)>-1&(t|0)<(y|0)){N=t<<1;M=da(d|0,4,0,0)|0|0;O=M+N|0;kw(M+(N+2)|0,O|0,q-t<<1|0)|0;if(Iq(w,k,Ka,O,1,R+(u<<2)|0,P+(u<<1)|0)|0){Y=181;break d}p=da(x>>0|0,1,0,0)|0|0;q=q+1|0}v=v+1|0}while((v|0)<(p&255|0))}O=q+z|0;if(Iq(w,k,Ka,(da(d|0,4,0,0)|0|0)+(q<<1)|0,y-q|0,R+(O<<2)|0,P+(O<<1)|0)|0){Y=181;break}O=y&65535;ea(m|0,O|0,2,0);ea(x>>0|0,0|0,1,0);ea(n+(b+3)>>0|0,(O&65535)>>>8|0,1,0);ea(n+(b+4)>>0|0,da(m|0,2,0,0)|0|0,1,0);O=(da(Ka|0,4,0,0)|0|0)-n|0;ea(s>>0|0,O>>>8|0,1,0);ea(r>>0|0,O|0,1,0)}while(0);if((Y|0)==181){Y=0;Gq(w,y,R+(z<<2)|0,P+(z<<1)|0)}ea(B>>0|0,1|0,1,0);ea(w+16|0,H-(da(Ja+(A<<2)|0,4,0,0)|0|0)|0,2,0)}while(0);l=l+1|0}while((l|0)!=(g|0))}do if(S){if(da(T|0,2,0,0)|0){Y=191;break}f=da(wa|0,4,0,0)|0|0;if((da(X+6>>0|0,1,0,1)|0|0)>>>0>(da(f+16|0,2,0,1)|0|0)>>>0){Y=191;break}ea(Ha|0,Dq(f)|0|0,4,0);Fqfq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(a,b,c,d){a=a|0;b=b|0;c=c|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;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
8 fq(l,0);c=da(d|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}Vc(l);break}if((da(m|0,4,0,0)|0)&1)ea(l+46>>0|0,1|0,1,0);d=kc[(fa(da((da(k|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0;if(d&1024)ea(a>>0|0,0|0,1,0);if(d&4096)ea(c>>0|0,0|0,1,0);ea(g|0,l|0,4,0);b=0}}while(0);i=n;return b|0}function pn(a){a=a|0;var b=0,c=0,d=0;d=el(a,4)|0;if((d|0)!=0?(b=da(a+60|0,4,0,0)|0|0,c=da(b|0,4,0,0)|0|0,(c|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](b,1)|0;b=a+17|0;if((da(b>>0|0,1,0,0)|0|0)!=5)ea(b>>0|0,1|0,1,0)}return d|0}function qn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!a)e=0;else{g=a+4|0;e=da(g|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](e,4)|0;if(!e){f=a+43|0;if(!(da(f>>0|0,1,0,0)|0))ea(f>>0|0,1|0,1,0);e=Sn(a,0,0,0,b,c,d,0,0)|0;if(!e){ea(h|0,-1|0,4,0);e=da(g|0,4,0,0)|0|0;$b[(fa(da((da(e|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](e,10,h)|0;if((da(h|0,4,0,0)|0|0)==1){e=a+16|0;b=da(e+4|0,4,0,0)|0|0;if((b|0)>-1|(b|0)==-1&(da(e|0,4,0,0)|0|0)>>>0>4294967295){Yo(a,0,0);c=0;e=0}else{c=0;e=0}}else{c=1;e=0}}else c=0}else c=0;fq(x|0)==21)Kh(z,b,w)|0;o=a+65|0;e=z+12|0;if(!(da(o>>0|0,1,0,0)|0)){l=z+12|0;if((da(e|0,4,0,0)|0|0)==101)ea(l|0,0|0,4,0)}else{ea(e|0,7|0,4,0);l=z+12|0}c:do if((da(z+17>>0|0,1,0,0)|0|0)!=0?(p=da(z|0,4,0,0)|0|0,q=p+20|0,(da(q|0,4,0,0)|0|0)>0):0){k=p+16|0;n=0;while(1){e=da(k|0,4,0,0)|0|0;h=da(e+(n<<4)+4|0,4,0,0)|0|0;if(h){if(!(da(h+8>>0|0,1,0,0)|0)){e=xg(h,0)|0;if((e|0)==7|(e|0)==3082)break;else if(e)break c;e=da(k|0,4,0,0)|0|0;m=1}else m=0;c=da(h+4|0,4,0,0)|0|0;ea(c+4|0,da(h|0,4,0,0)|0|0,4,0);c=da((da(c+12|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;if(((da(c+41>>0|0,1,0,1)|0)<<16|(da(c+40>>0|0,1,0,1)|0)<<24|(da(c+42>>0|0,1,0,1)|0)<<8|(da(c+43>>0|0,1,0,1)|0)|0)!=(da(da(e+(n<<4)+12|0,4,0,0)|0|0,4,0,0)|0|0)){um(p,n);ea(l|0,17|0,4,0)}if(m)tn(h)|0}n=n+1|0;if((n|0)>=(da(q|0,4,0,0)|0|0))break c}ea(p+65>>0|0,1|0,1,0)}while(0);if(da(o>>0|0,1,0,0)|0)ea(l|0,7|0,4,0);if(g)ea(g|0,da(z+480|0,4,0,0)|0|0,4,0);h=da(l|0,4,0,0)|0|0;m=(h|0)==0;do if(m?(s=z+8|0,r=da(s|0,4,0,0)|0|0,(r|0)!=0):0){l=da(z+450>>0|0,1,0,0)|0|0;if(l<<24>>24==2){hq(r,4);k=8;e=12}else if(!(l<<24>>24))break;else{hq(r,8);k=0;e=8}l=k;do{iq(da(s|0,4,0,0)|0|0,l-k|0,0,da(41040+(l<<2)|0,4,0,0)|0|0,0);l=l+1|0}while((l|0)<(e|0))}while(0);k=z+8|0;if((da(a+145>>0|0,1,0,0)|0|0)==0?(v=da(k|0,4,0,0)|0|0,t=(da(z+480|0,4,0,0)|0|0)-b|0,(v|0)!=0):0){if((b|0)!=0?(s=da(v|0,4,0,0)|0|0,u=iw(t|0,((t|0)<0)<<31>>31|0,1,0)|0,u=lh(s,u,C)|0,(u|0)!=0):0){jw(u|0,b|0,t|0)|0;ea(u+t>>0|0,0|0,1,0);l=u}else l=0;ea(v+168|0,l|0,4,0);v=v+88|0;ea(v|0,(da(v|0,2,0,0)|0)&-257|(d&65535)<<8&256|0,2,0)}l=da(k|0,4,0,0)|0|0;do if(!l)x=60;else{if(m?(da(o>>0|0,1,0,0)|0|0)==0:0){x=60;break}Mg(l)|0}while(0);if((x|0)==60)ea(f|0,l|0,4,0);k=da(w|0,4,0,0)|0|0;do if(!k){ea(a+52|0,h|0,4,0);k=da(a+236|0,4,0,0)|0|0;if(k){l=k+8|0;if(!((da(l|0,2,0,0)|0)&9312)){ea(l|0,1|0,2,0);break}else{ug(k);break}}}else{ea(y|0,k|0,4,0);tg(a,h,10344,y);lg(a,k)}while(0);k=z+528|0;l=da(k|0,4,0,0)|0|0;if(!l)l=z;else{do{ea(k|0,da(l+4|0,4,0,0)|0|0,4,0);lg(a,l);l=da(k|0,4,0,0)|0|0}while((l|0)!=0);l=z}}else{l=0;h=7}while(0);Bh(l);lg(a,z);y=Ng(a,h)|0;i=A;return y|0}function Fn(a){a=a|0;var b=0,c=0;c=da(a|0,4,0,0)|0|0;if((da(c+145>>0|0,1,0,0)|0|0)==0?(b=Yh(c,a+4|0)|0,(b|0)!=0):0){ea(a+12|0,b|0,4,0);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}else b=0;return b|0}function Gn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=da(a+24|0,4,0,0)|0|0;f=d+84|0;b=da(f|0,4,0,0)|0|0;if(!b){b=1020;c=0}else{b=b*40|0;c=0}e=a+4|0;a=qo(da(d|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,b,c)|0;c=(a|0)!=0;if(c){b=da(d|0,4,0,0)|0|0;do if(!b)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;else{if((da(b+276|0,4,0,0)|0|0)>>>0<=a>>>0?(da(b+280|0,4,0,0)|0|0)>>>0>a>>>0:0){b=da(b+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}while(0);ea(f|0,(b>>>0)/20|0|0,4,0);ea(e|0,a|0,4,0)}return (c?0:7)|0}function Hn(a,b,c){a=a|0;b=b|0;c=c|0;a:do if(c)switch(b|0){case -5:{if(!((da(c+2|0,2,0,0)|0)&16))break a;lg(a,c);break a}case -8:{if(!(da(a+520|0,4,0,0)|0)){Lh(c);break a}if(da(c+24|0,4,0,0)|0)lg(a,da(c+20|0,4,0,0)|0|0);lg(a,c);break a}case -15:case -1:case -13:case -12:{lg(a,c);break a}case -11:{if(da(a+520|0,4,0,0)|0)break a;Vc(c);break a}case -10:{if(da(a+520|0,4,0,0)|0)break a;zn(c);break a}case -6:{if(da(a+520|0,4,0,0)|0)break a;a=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,a|0,4,0);if(a)break a;Vc(c);break a}default:break a}while(0);return}function In(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=da(b|0,4,0,0)|0|0;l=da(a+24|0,4,0,0)|0|0;m=l+112|0;g=da(m|0,4,0,0)|0|0;j=a+88|0;ea(j|0,(da(j|0,2,0,0)|0)&-193|64|0,2,0);d=da(a+32|0,4,0,0)|0|0;a:do if((d|0)>0){f=da(a+4|0,4,0,0)|0|0;while(1){d=d+-1|0;e=da(f>>0|0,1,0,1)|0|0;switch(e|0){case 12:case 13:case 11:{ea(j|0,(da(j|0,2,0,0)|0)&-193|128|0,2,0);break}case 15:{n=da(f+8|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 4:{if(!(da(f+8|0,4,0,0)|0))k=7;else{ea(j|0,(da(j|0,2,0,0)|0)&-65|0,2,0);k=7}break}case 6:case 8:{ea(f+16|0,77|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}case 14:{n=da(f+-16|0,4,0,0)|0|0;c=(n|0)>(c|0)?n:c;break}case 10:case 1:{n=da(f+3>>0|0,1,0,1)|0|0;c=(n|0)>(c|0)?n:c;break}case 2:case 3:{k=7;break}case 5:case 7:case 9:{ea(f+16|0,76|0,4,0);ea(f+1>>0|0,-19|0,1,0);break}default:{}}if((k|0)==7){k=0;ea(j|0,da(j|0,2,0,0)|0|128|0,2,0)}e=da(34168+e>>0|0,1,0,0)|0|0;ea(f+2>>0|0,e|0,1,0);if((e&1)!=0?(h=f+8|0,i=da(h|0,4,0,0)|0|0,(i|0)<0):0)ea(h|0,da(g+(~i<<2)|0,4,0,0)|0|0,4,0);if((d|0)<=0)break a;else f=f+20|0}}while(0);lg(da(a|0,4,0,0)|0|0,da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);ea(l+108|0,0|0,4,0);ea(b|0,c|0,4,0);return}function Jn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)!=4){ea(c>>0|0,0|0,1,0);d=a+56|0;b=a+48|0;b=Fp(a,da(d|0,4,0,0)|0|0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,0,e)|0;if(!b){Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);d=a+68|0;b=da(d|0,4,0,0)|0|(da(e|0,4,0,0)|0);ea(d|0,b|0,4,0);if((b|0)!=0?(da(c>>0|0,1,0,0)|0|0)==1:0){ea(c>>0|0,2|0,1,0);b=0}else b=0}}else b=da(a+68|0,4,0,0)|0|0;i=f;return b|0}function Kn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a+8|0,4,0,0)|0|0;a:do if(!a)a=0;else{d=(b|0)==0;while(1){if((a|0)!=(c|0)){if(d)break;if((da(a+60|0,4,0,0)|0|0)==(b|0))break}a=da(a+8|0,4,0,0)|0|0;if(!a){a=0;break a}}a=El(a,b,c)|0}while(0);return a|0}function Ln(a){a=a|0;var b=0,c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=c+1|0;ea(a|0,d|0,4,0);e=da(c>>0|0,1,0,0)|0|0;b=e&255;if((e&255)<=191)return b|0;b=da(15360+(b+-192)>>0|0,1,0,1)|0|0;if(((da(d>>0|0,1,0,0)|0)&-64)<<24>>24==-128)while(1){c=c+2|0;ea(a|0,c|0,4,0);b=(da(d>>0|0,1,0,1)|0|0)&63|b<<6;if(((da(c>>0|0,1,0,0)|0)&-64)<<24>>24==-128){e=d;d=c;c=e}else break}return (b>>>0<128|(b&-2048|0)==55296|(b&-2|0)==65534?65533:b)|0}function Mn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if((b|0)>-1)f=a+b|0;else f=-1;b=da(a>>0|0,1,0,0)|0|0;if(b<<24>>24!=0&f>>>0>a>>>0){c=b;b=0;do{e=a+1|0;if((c&255)>191){d=a;a=e;while(1){c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
11 Fqda(p+(n*24|0)|0,4,0,0)|0|0,o)|0)){m=n;break}if((m|0)<(l<<16>>16|0))n=m;else break c}ea(r+(g<<3)|0,m|0,4,0)}else m=0;while(0);if((m|0)>=(l<<16>>16|0))break;g=g+1|0;if((g|0)>=(v|0))break b}ea(w|0,da((da(c|0,4,0,0)|0|0)+(g*20|0)+4|0,4,0,0)|0|0,4,0);sh(a,35872,w);break a}}else ea(r|0,(da(x+38|0,2,0,0)|0|0)+-1|0,4,0);while(0);if(q&(v|0)>0){l=d+4|0;m=0;while(1){h=da((da(l|0,4,0,0)|0|0)+(m*20|0)+4|0,4,0,0)|0|0;if(!h)g=0;else{g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-h&1073741823}ea(r+(m<<3)+4|0,k|0,4,0);jw(k|0,h|0,g|0)|0;ea(k+g>>0|0,0|0,1,0);m=m+1|0;if((m|0)==(v|0))break;else k=k+(g+1)|0}}ea(f+24>>0|0,0|0,1,0);ea(f+25>>0|0,e|0,1,0);ea(f+26>>0|0,e>>>8|0,1,0);g=Hk((da(x+68|0,4,0,0)|0|0)+56|0,da(s|0,4,0,0)|0|0,f)|0;if((g|0)==(f|0)){ea(y+65>>0|0,1|0,1,0);break}if(g){ea(f+12|0,g|0,4,0);ea(g+16|0,f|0,4,0)}ea(u|0,f|0,4,0);f=0}else f=0}else f=0;while(0);lg(y,f);Mk(y,b);Mk(y,d);i=z;return}function br(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=da(c+62>>0|0,1,0,0)|0|0;e=da(c+145>>0|0,1,0,0)|0|0;c=Xn(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(da(c+12|0,4,0,0)|0|0)!=0:0)break;c=vs(a,d,c,b)|0}while(0);return c|0}function cr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+16|0;if((i|0)>=(j|0))ba();s=u;o=u+12|0;t=da(a|0,4,0,0)|0|0;do if(!(da(t+65>>0|0,1,0,0)|0)){d=(d|0)!=0;if(d){n=t+68|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+1<<24>>24|0,1,0);r=Tr(a,c,b+8|0)|0;ea(n>>0|0,(da(n>>0|0,1,0,0)|0|0)+-1<<24>>24|0,1,0)}else r=Tr(a,c,b+8|0)|0;if(!r){if(!d)break;yr(a,da(b+12|0,4,0,0)|0|0);break}k=r+68|0;f=da(k|0,4,0,0)|0|0;a:do if(f){d=da(t+20|0,4,0,0)|0|0;if((d|0)>0){e=da(t+16|0,4,0,0)|0|0;h=0;while(1){g=h+1|0;if((da(e+(h<<4)+12|0,4,0,0)|0|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);p=r+44|0;if(((da(p>>0|0,1,0,0)|0)&16)!=0?(gr(a,r)|0)!=0:0)break;h=(g|0)==1;q=h?13184:13208;d=da((da(t+16|0,4,0,0)|0|0)+(g<<4)|0,4,0,0)|0|0;if(!(Rq(a,9,q,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!((da(p>>0|0,1,0,0)|0)&16)){f=h?13:11;h=0;break}h=r+60|0;while(1){h=da(h|0,4,0,0)|0|0;if((da(h|0,4,0,0)|0|0)==(t|0))break;else h=h+24|0}f=30;h=da((da(h+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0}while(0);if((Rq(a,f,da(r|0,4,0,0)|0|0,h,d)|0)==0?(Rq(a,9,da(r|0,4,0,0)|0|0,0,d)|0)==0:0){h=da(r|0,4,0,0)|0|0;if((Ec(h,25568,7)|0)==0?(Ec(h,35488,11)|0)!=0:0){ea(s|0,h|0,4,0);sh(a,35504,s);break}d=r+12|0;f=(da(d|0,4,0,0)|0|0)==0;if(e){if(f){ea(s|0,h|0,4,0);sh(a,35536,s);break}}else if(!f){ea(s|0,h|0,4,0);sh(a,35576,s);break}if(Nq(a)|0){m=a+408|0;f=da(m|0,4,0,0)|0|0;f=(f|0)==0?a:f;zr(a,g);n=1<<g;e=f+328|0;ea(e|0,da(e|0,4,0,0)|0|n|0,4,0);f=f+20|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|1|0,1,0);Br(a,g,28544,da(r|0,4,0,0)|0|0);f=da(a|0,4,0,0)|0|0;e=f+24|0;b:do if((((da(e|0,4,0,0)|0)&524288|0)!=0?((da(p>>0|0,1,0,0)|0)&16)==0:0)?(da(d|0,4,0,0)|0|0)==0:0){l=Nq(a)|0;h=an((da(k|0,4,0,0)|0|0)+56|0,da(r|0,4,0,0)|0|0,o)|0;if((h|0)!=0?(da(h+8|0,4,0,0)|0|0)!=0:0)h=0;else{h=da(r+16|0,4,0,0)|0|0;if(!h)break;while(1){if(da(h+24>>0|0,1,0,0)|0)break;if((da(e|0,4,0,0)|0)&16777216)break;h=da(h+4|0,4,0,0)|0|0;if(!h)break b}h=ws(l)|0;vh(l,135,1,h,0)|0}o=a+438|0;ea(o>>0|0,1|0,1,0);qr(a,xs(f,b,0)|0,0);ea(o>>0|0,0|0,1,0);if(!((da(e|0,4,0,0)|0)&16777216)){vh(l,135,0,(da(l+32|0,4,0,0)|0|0)+2|0,0)|0;ys(a,787,2,0,-2,4)}if(h){f=da(l+24|0,4,0,0)|0|0;d=~h;do if((h|0)<0){h=da(f+112|0,4,0,0)|0|0;if(!h)break;ea(h+(d<<2)|0,da(l+32|0,4,0,0)|0|0,4,0)}while(0);ea(f+88|0,(da(l+32|0,4,0,0)|0|0)+-1|0,4,0)}}while(0);k=da(a|0,4,0,0)|0|0;l=k+16|0;f=da(l|0,4,0,0)|0|0;d=Nq(a)|0;o=da(m|0,4,0,0)|0|0;o=(o|0)==0?a:o;zr(a,g);m=o+328|0;ea(m|0,da(m|0,4,0,0)|0|n|0,4,0);o=o+20|0;ea(o>>0|0,da(o>>0|0,1,0,1)|0|1|0,1,0);if((da(p>>0|0,1,0,0)|0)&16)vh(d,146,0,0,0)|0;h=zs(a,r)|0;if(h)do{Pr(a,h);h=da(h+32|0,4,0,0)|0|0}while((h|0)!=0);f=f+(g<<4)|0;if((da(p>>0|0,1,0,0)|0)&8){o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,o|0,4,0);Ar(a,35608,s)}o=da(r|0,4,0,0)|0|0;ea(s|0,da(f|0,4,0,0)|0|0,4,0);ea(s+4|0,q|0,4,0);ea(s+8|0,o|0,4,0);Ar(a,35656,s);if((c|0)==0?((da(p>>0|0,1,0,0)|0)&16)==0:0)As(a,r);if((da(p>>0|0,1,0,0)|0)&16){o=da(r|0,4,0,0)|0|0;wh(d,vh(d,148,g,0,0)|0,o,0)}e=da(r|0,4,0,0)|0|0;wh(d,vh(d,124,g,0,0)|0,e,0);Cr(a,g);d=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;e=da(d+78|0,2,0,0)|0|0;if(e&2){f=da(d+16|0,4,0,0)|0|0;if(f){e=f;do{d=da(e+8|0,4,0,0)|0|0;if(da(d+12|0,4,0,0)|0){Kk(k,d);ea(d+4|0,0|0,4,0);ea(d+38|0,0|0,2,0)}e=da(e|0,4,0,0)|0|0}while((e|0)!=0);e=da((da(l|0,4,0,0)|0|0)+(g<<4)+12|0,4,0,0)|0|0;d=e;e=da(e+78|0,2,0,0)|0|0}ea(d+78|0,e&65533|0,2,0)}}}}}while(0);Co(t,b);i=u;return}function dr(a,b,c,d){a=a|0;b=b|0;c=c|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();f=h;e=da(a|0,4,0,0)|0|0;do if((c|0)!=0?(da(c+4|0,4,0,0)|0|0)!=0:0){if(da(e+145>>0|0,1,0,0)|0){sh(a,28488,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1;break}ea(d|0,c|0,4,0);d=Vq(e,b)|0;c=Uh(e,d)|0;lg(e,d);if((c|0)<0){ea(f|0,b|0,4,0);sh(a,28512,f);c=a+64|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=-1}}else g=7;while(0);if((g|0)==7){c=da(e+144>>0|0,1,0,1)|0|0;ea(d|0,b|0,4,0)}i=h;return c|0}function er(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Gr(a,da(b|0,4,0,0)|0|0)|0){b=1;break a}if(Jr(a,da(b+32|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+36|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+40|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+44|0,4,0,0)|0|0)|0){b=1;break a}if(Gr(a,da(b+48|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+60|0,4,0,0)|0|0)|0){b=1;break a}if(Fr(a,da(b+64|0,4,0,0)|0|0)|0){b=1;break a}b=da(b+52|0,4,0,0)|0|0;if(!b){b=0;break}}while(0);return b|0}function fr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(d=lh(a,72,0)|0,(d|0)!=0):0){ea(d|0,Or(a,da(b|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+32|0,xs(a,da(b+32|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+36|0,Lr(a,da(b+36|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+40|0,Or(a,da(b+40|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+44|0,Lr(a,da(b+44|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+48|0,Or(a,da(b+48|0,4,0,0)|0|0,c)|0|0,4,0);ea(d+4>>0|0,da(b+4>>0|0,1,0,0)|0|0|0,1,0);f=fr(a,da(b+52|0,4,0,0)|0|0,c)|0;ea(d+52|0,f|0,4,0);if(f)ea(f+56|0,d|0,4,0);ea(d+56|0,0|0,4,0);ea(d+60|0,Lr(a,da(b+60|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+64|0,Lr(a,da(b+64|0,4,0,0)|0|0,c,0)|0|0,4,0);ea(d+8|0,0|0,4,0);ea(d+12|0,0|0,4,0);ea(d+6|0,(da(b+6|0,2,0,1)|0|0)&65527|0,2,0);ea(d+16|0,-1|0,4,0);ea(d+20|0,-1|0,4,0);h=b+24|0;c=da(h+4|0,4,0,0)|0|0;f=d+24|0;ea(f|0,da(h|0,4,0,0)|0|0,4,0);ea(f+4|0,c|0,4,0);c=da(b+68|0,4,0,0)|0|0;if((c|0)!=0?(g=(da(c|0,4,0,0)|0)<<4|8,e=lh(a,g,((g|0)<0)<<31>>31)|0,(e|0)!=0):0){ew(e|0,0,g|0)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);if((da(c|0,4,0,0)|0|0)>0){b=e+8|0;f=0;do{ea(b+(f<<4)+8|0,fr(a,da(c+(f<<4)+16|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)+4|0,Or(a,da(c+(f<<4)+12|0,4,0,0)|0|0,0)|0|0,4,0);ea(b+(f<<4)|0,jh(a,da(c+(f<<4)+8|0,4,0,0)|0|0)|0|0,4,0);f=f+1|0}while((f|0)<(da(c|0,4,0,0)|0|0))}}else e=0;ea(d+68|0,e|0,4,0)}else d=0;return d|0}function gr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();l=p;e=p+8|0;g=p+4|0;o=da(a|0,4,0,0)|0|0;h=b+44|0;d=da(h>>0|0,1,0,0)|0|0;a:do if(!(d&16))m=11;else{c=da(b+60|0,4,0,0)|0|0;if(c)do{if((da(c|0,4,0,0)|0|0)==(o|0)){m=11;break a}c=da(c+24|0,4,0,0)|0|0}while((c|0)!=0);c=b+56|0;d=an(o+308|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,e)|0;if((d|0)!=0?(f=da(d+8|0,4,0,0)|0|0,(f|0)!=0):0){ea(g|0,0|0,4,0);f=(yn(o,b,f,da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,g)|0)==0;d=da(g|0,4,0,0)|0|0;if(f){lg(o,d);d=da(h>>0|0,1,0,0)|0|0;m=11;break}else{ea(l|0,d|0,4,0);sh(a,10344,l);lg(o,d);c=1;break}}ea(l|0,da(da(c|0,4,0,0)|0|0,4,0,0)|0|0,4,0);sh(a,28320,l);c=1}while(0);do if((m|0)==11)if((d&16)==0?(n=b+38|0,k=da(n|0,2,0,0)|0|0,k<<16>>16<=0):0){if(k<<16>>16<0){ea(l|0,da(b|0,4,0,0)|0|0,4,0);sh(a,26752,l);c=1;break}d=fr(o,da(b+12|0,4,0,0)|0|0,0)|0;if(!d)c=1;else{h=o+250|0;k=da(h>>0|0,1,0,0)|0|0;l=a+68|0;m=da(l|0,4,0,0)|0|0;Bs(a,da(d+32|0,4,0,0)|0|0);ea(n|0,-1|0,2,0);ea(h>>0|0,0|0,1,0);f=o+284|0;g=da(f|0,4,0,0)|0|0;ea(f|0,0|0,4,0);c=ms(a,d)|0;ea(f|0,g|0,4,0);ea(h>>0|0,k|0,1,0);ea(l|0,m|0,4,0);if(!c){ea(n|0,0|0,2,0);c=1}else{a=c+38|0;ea(n|0,da(a|0,2,0,0)|0|0|0,2,0);m=c+4|0;ea(b+4|0,da(m|0,4,0,0)|0|0,4,0);ea(a|0,0|0,2,0);ea(m|0,0|0,4,0);jg(o,c);c=(da(b+68|0,4,0,0)|0|0)+78|0;ea(c|0,da(c|0,2,0,1)|0|0|2|0,2,0);c=0}Lk(o,d,1)}}else c=0;while(0);i=p;return c|0}