Lines Matching refs:Mv
7 mvp)>>2]|0;x=la;c[(x&p)>>2]=f;c[(x&p)+4>>2]=g;c:do if(S){z=0;do{c[((c[(Z&p)>>2]|0)+(z<<2)&p)>>2]=0;z=z+1|0}while((z|0)!=(J|0));b[(T&o)>>1]=0;if(S){r=f;m=g;l=0;x=0;z=-1;while(1){t=c[(I+(x<<3)&p)>>2]|0;u=t+-1|0;do if((t|0)>0){v=c[(C&p)+8>>2]|0;if((t|0)>(J|0)|(v|0)<0){oa=65;break b}if((v|0)>=(c[(ja&p)>>2]|0)){oa=65;break b}s=(c[(Z&p)>>2]|0)+(u<<2)|0;if(c[(s&p)>>2]|0){oa=65;break b}w=c[(ia&p)>>2]|0;qa=w+(v*48|0)+32|0;r=r|c[(qa&p)>>2];m=m|c[(qa&p)+4>>2];qa=la;c[(qa&p)>>2]=r;c[(qa&p)+4>>2]=m;c[(s&p)>>2]=w+(v*48|0);z=(u|0)>(z|0)?u:z;do if((t|0)<17){if(!(a[(I+(x<<3)&n)+4>>0]|0))break;l=(l&65535|1<<u)&65535;b[(T&o)>>1]=l}while(0);if(!(b[(w+(v*48|0)&o)+18>>1]&1))break;if(!(a[(I+(x<<3)&n)+4>>0]|0))break c;c[(L&p)>>2]=0}while(0);x=x+1|0;if((x|0)>=(J|0)){oa=73;break}else C=C+12|0}}else{z=-1;oa=73}}else{b[(T&o)>>1]=0;z=-1;oa=73}while(0);if((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=(Mvmv2]|0;c[(t&p)>>2]=(E|0)>(F|0)?E:F;Qq(d,j,q,f,54);t=c[(f&p)>>2]|0;xh(P,wh(P,97,0,N,0)|0,t,0);t=c[(f&p)+8>>2]|0;F=(g|0)==0;if(!t)m=1;else{A=f+44|0;B=d+8|0;C=P+4|0;D=P+32|0;E=P+24|0;m=1;do{do if(F|(t|0)==(g|0)){m=(c[(t&p)+36>>2]|0)==0?0:m;s=a[(t&n)+51>>0]|0;if(!((a[(A&n)>>0]&32)!=0&(s&3)==2)){k=e[(t&o)+48>>1]|0;r=c[(t&p)>>2]|0;l=t+46|0;if(!(s&8)){v=l;u=k;s=k}else{v=l;u=k;s=e[(l&o)>>1]|0}}else{v=t+46|0;s=e[(v&o)>>1]|0;u=s;r=c[(f&p)>>2]|0}x=s+-1|0;xh(P,wh(P,97,0,O,0)|0,r,0);y=c[(K&p)>>2]|0;s=x+J|0;c[(K&p)>>2]=(y|0)>(s|0)?y:s;wh(P,54,z,c[(t&p)+40>>2]|0,q)|0;s=c[(B&p)>>2]|0;xh(s,-1,hs(d,t)|0,-6);wh(P,25,u,I,0)|0;wh(P,25,e[(v&o)>>1]|0,M,0)|0;wh(P,1,0,I,H)|0;xh(P,-1,28552,-5);s=c[(C&p)>>2]|0;if(s)a[(s+(((c[(D&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=2;y=wh(P,108,z,0,0)|0;wh(P,25,0,I,0)|0;r=c[(D&p)>>2]|0;if((x|0)>0){u=xs(P)|0;w=mh(G,x<<2,0)|0;if(!w)break;wh(P,16,0,0,0)|0;r=c[(D&p)>>2]|0;if(((x|0)==1?(b[(v&o)>>1]|0)==1:0)?(a[(t&n)+50>>0]|0)!=0:0)wh(P,77,J,u,0)|0;s=t+32|0;k=0;do{v=cr(d,c[((c[(s&p)>>2]|0)+(k<<2)&p)>>2]|0)|0;wh(P,25,k,I,0)|0;wh(P,47,z,k,M)|0;l=wh(P,78,M,0,k+J|0)|0;xh(P,l,v,-4);c[(w+(k<<2)&p)>>2]=l;l=c[(C&p)>>2]|0;if(l)a[(l+(((c[(D&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-128;k=k+1|0}while((k|0)!=(x|0));wh(P,25,x,I,0)|0;wh(P,16,0,u,0)|0;s=r+-1|0;l=c[(D&p)>>2]|0;if(l>>>0>s>>>0)c[((c[(C&p)>>2]|0)+(s*20|0)&p)+8>>2]=l;c[((c[(E&p)>>2]|0)&p)+88>>2]=l+-1;s=0;while(1){k=c[(w+(s<<2)&p)>>2]|0;if(l>>>0>k>>>0)c[((c[(C&p)>>2]|0)+(k*20|0)&p)+8>>2]=l;c[((c[(E&p)>>2]|0)&p)+88>>2]=l+-1;wh(P,47,z,s,s+J|0)|0;s=s+1|0;if((s|0)==(x|0))break;l=c[(D&p)>>2]|0}l=c[(E&p)>>2]|0;k=~u;do if((u|0)<0){s=c[(l&p)+112>>2]|0;if(!s)break;c[(s+(k<<2)&p)>>2]=c[(D&p)>>2]}while(0);c[(l&p)+88>>2]=(c[(D&p)>>2]|0)+-1;mg(G,w)}wh(P,1,1,H,M)|0;xh(P,-1,28592,-5);s=c[(C&p)>>2]|0;if(s)a[(s+(((c[(D&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=2;wh(P,9,z,r,0)|0;wh(P,1,0,H,L)|0;xh(P,-1,28640,-5);s=c[(C&p)>>2]|0;if(s)a[(s+(((c[(D&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;xh(P,wh(P,49,N,3,M)|0,28632,0);wh(P,74,h,i,0)|0;wh(P,75,h,M,i)|0;r=c[(C&p)>>2]|0;s=c[(D&p)>>2]|0;if(r)a[(r+((s+-1|0)*20|0)&n)+3>>0]=8;if(s>>>0>y>>>0)c[(r+(y*20|0)&p)+8>>2]=s;c[((c[(E&p)>>2]|0)&p)+88>>2]=s+-1}while(0);t=c[(t&p)+20>>2]|0}while((t|0)!=0)}if(!(m<<24>>24==0|F^1)){wh(P,50,j,L,0)|0;m=wh(P,46,L,0,0)|0;wh(P,28,0,O,0)|0;xh(P,wh(P,49,N,3,M)|0,28632,0);wh(P,74,h,i,0)|0;wh(P,75,h,M,i)|0;l=c[(P&p)+4>>2]|0;k=c[(P&p)+32>>2]|0;if(l)a[(l+((k+-1|0)*20|0)&n)+3>>0]=8;if(k>>>0>m>>>0)c[(l+(m*20|0)&p)+8>>2]=k;c[((c[(P&p)+24>>2]|0)&p)+88>>2]=k+-1}}}return}function jv(a,b){a=a|0;b=b|0;a=Oq(a)|0;if(a)wh(a,123,b,0,0)|0;return}function kv(d){d=d|0;var e=0,f=0,g=0;a:while(1){e=c[(d&p)+4>>2]|0;do if(e&4096)if(!(e&262144)){d=d+12|0;break}else{d=c[((c[(d&p)+20>>2]|0)&p)+4>>2]|0;break}else{if(e&512){d=0;break a}switch(a[(d&n)>>0]|0){case 119:break;case -102:case -100:case -97:{g=11;break a}case 38:{g=10;break a}default:{g=14;break a}}d=c[((c[(c[(d&p)+20>>2]&p)>>2]|0)&p)+4>>2]|0}while(0);d=c[(d&p)>>2]|0}if((g|0)==10)d=Xq(c[(d&p)+8>>2]|0,0)|0;else if((g|0)==11){f=c[(d&p)+44>>2]|0;if(f){e=b[(d&o)+32>>1]|0;if(e<<16>>16<0)d=68;else d=a[((c[(f&p)+4>>2]|0)+((e<<16>>16)*24|0)&n)+21>>0]|0}else g=14}if((g|0)==14)d=a[(d&n)+1>>0]|0;return d|0}function lv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;wh(b,25,0,e,0)|0;f=wh(b,108,d,0,0)|0;wh(b,47,d,0,e)|0;d=c[(b&p)+4>>2]|0;e=c[(b&p)+32>>2]|0;if(d)a[(d+((e+-1|0)*20|0)&n)+3>>0]=-128;if(e>>>0>f>>>0)c[(d+(f*20|0)&p)+8>>2]=e;c[((c[(b&p)+24>>2]|0)&p)+88>>2]=e+-1;return}function mv
14 function Ev(e){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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=e+20|0;u=e+14|0;f=a[(u&n)>>0]|0;z=e+13|0;g=a[(z&n)>>0]|0;a:do if((f&255)>(g&255))f=0;else{B=e+4|0;C=e+16|0;v=e+8|0;w=e+12|0;x=e+24|0;y=e+28|0;i=f&255;j=c[(B&p)>>2]|0;h=c[(D&p)>>2]|0;b:while(1){t=c[(e+(i+-2<<2)&p)+24>>2]|0;s=c[(e+(i+-1<<2)&p)+24>>2]|0;if(j){while(1){r=j+12|0;if((h|0)<(c[(r&p)>>2]|0)){g=h;f=(c[(j&p)+20>>2]|0)+(h*48|0)|0;while(1){do if((c[(f&p)+8>>2]|0)==(t|0)?(c[(f&p)+12>>2]|0)==(s|0):0){if((d[(u&n)>>0]|0)>=3?(c[((c[(f&p)>>2]|0)&p)+4>>2]&1|0)!=0:0)break;q=f+18|0;h=b[(q&o)>>1]|0;if((h&1024)!=0?(A=a[(z&n)>>0]|0,(A&255)<22):0){i=c[((c[(f&p)>>2]|0)&p)+16>>2]|0;c:do if(!i)i=0;else while(1){k=c[(i&p)+4>>2]|0;if(!(k&4096))break c;if(!(k&262144))i=i+12|0;else i=c[((c[(i&p)+20>>2]|0)&p)+4>>2]|0;i=c[(i&p)>>2]|0;if(!i){i=0;break}}while(0);d:do if(!(A<<24>>24)){m=0;k=0}else{l=c[(i&p)+28>>2]|0;m=i+32|0;k=0;while(1){if((c[(e+(k<<2)&p)+24>>2]|0)==(l|0)?(c[(e+((k|1)<<2)&p)+24>>2]|0)==(b[(m&o)>>1]|0):0){m=A;break d}k=k+2|0;if((k|0)>=(A&255|0)){m=A;break}}}while(0);if((k|0)==(m&255|0)){c[(e+(k<<2)&p)+24>>2]=c[(i&p)+28>>2];c[(e+((k|1)<<2)&p)+24>>2]=b[(i&o)+32>>1];a[(z&n)>>0]=(d[(z&n)>>0]|0)+2}}i=h&65535;if(i&c[(C&p)>>2]){if((c[(v&p)>>2]|0)!=0&(i&128|0)==0){l=c[(c[(j&p)>>2]&p)>>2]|0;k=c[(f&p)>>2]|0;i=a[(w&n)>>0]|0;h=(nv(k)|0)<<24>>24;if((h|0)==66){if(i<<24>>24!=66)break}else if((h|0)!=65?i<<24>>24<=66:0)break;h=Ou(l,c[(k&p)+12>>2]|0,c[(k&p)+16>>2]|0)|0;if(!h)h=c[((c[(l&p)>>2]|0)&p)+8>>2]|0;if(dd(c[(h&p)>>2]|0,c[(v&p)>>2]|0)|0)break;h=b[(q&o)>>1]|0}if(!(h&2))break b;h=c[((c[(f&p)>>2]|0)&p)+16>>2]|0;if((a[(h&n)>>0]|0)!=-102)break b;if((c[(h&p)+28>>2]|0)!=(c[(x&p)>>2]|0))break b;if((b[(h&o)+32>>1]|0)!=(c[(y&p)>>2]|0))break b}}while(0);g=g+1|0;if((g|0)>=(c[(r&p)>>2]|0))break;else f=f+48|0}g=c[(B&p)>>2]|0}else g=j;j=c[(g&p)+4>>2]|0;c[(B&p)>>2]=j;if(!j)break;else h=0}f=a[(u&n)>>0]|0;g=a[(z&n)>>0]|0}j=c[(e&p)>>2]|0;c[(B&p)>>2]=j;h=(f&255)+2|0;f=h&255;a[(u&n)>>0]=f;if((f&255)>(g&255)){f=0;break a}else{i=h&255;h=0}}c[(D&p)>>2]=g+1}while(0);return f|0}function Fv(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0;g=c[(d&p)>>2]|0;l=c[(c[(g&p)>>2]&p)>>2]|0;d=c[(d&p)+16>>2]|0;a:do if(!d){g=g+16|0;i=c[(g&p)>>2]|0;k=f+36|0;if((c[(k&p)>>2]&512|0)!=0&(i|0)!=0){d=f+20|0;j=f+22|0;h=a[(f&n)+16>>0]|0;do{do if((a[(i&n)+16>>0]|0)==h<<24>>24?(c[(i&p)+36>>2]&512|0)!=0:0){if(Tv(i,f)|0){b[(d&o)>>1]=b[(i&o)+20>>1]|0;b[(j&o)>>1]=(e[(i&o)+22>>1]|0)+65535;break}if(Tv(f,i)|0){b[(d&o)>>1]=b[(i&o)+20>>1]|0;b[(j&o)>>1]=(e[(i&o)+22>>1]|0)+1}}while(0);i=c[(i&p)+52>>2]|0}while((i|0)!=0)}d=Uv(g,f)|0;if(d){g=c[(d&p)>>2]|0;b:do if(g){d=g+52|0;if(c[(d&p)>>2]|0)do{d=Uv(d,f)|0;if(!d)break b;h=c[(d&p)>>2]|0;if(!h)break b;c[(d&p)>>2]=c[(h&p)+52>>2];Ju(l,h);mg(l,h)}while((c[(d&p)>>2]|0)!=0)}else{g=mh(l,72,0)|0;c[(d&p)>>2]=g;if(!g){d=7;break a}c[(g&p)+48>>2]=g+56;b[(g&o)+40>>1]=0;b[(g&o)+44>>1]=3;c[(g&p)+36>>2]=0;c[(g&p)+52>>2]=0}while(0);Lv(l,g);do if(!(Nu(l,g,e[(f&o)+40>>1]|0)|0)){h=g+0|0;d=f+0|0;i=h+44|0;do{c[(h&p)>>2]=c[(d&p)>>2];h=h+4|0;d=d+4|0}while((h|0)<(i|0));kw(c[(g&p)+48>>2]|0,c[(f&p)+48>>2]|0,e[(g&o)+40>>1]<<2|0)|0;d=c[(k&p)>>2]|0;if(d&1024){a[(f&n)+28>>0]=0;break}if(d&16384)c[(f&p)+28>>2]=0}else{d=g+24|0;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0}while(0);if(((c[(g&p)+36>>2]&1024|0)==0?(m=g+28|0,q=c[(m&p)>>2]|0,(q|0)!=0):0)?(c[(q&p)+40>>2]|0)==0:0){c[(m&p)>>2]=0;d=0}else d=0}else d=0}else{g=f;Kv(d,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,b[(f&o)+20>>1]|0,b[(f&o)+22>>1]|0);d=0}while(0);return d|0}function Gv(a,b){a=a|0;b=b|0;var c=0,e=0;c=a<<16>>16;e=b<<16>>16;do if(a<<16>>16<b<<16>>16)if((e|0)<=(c+49|0))if((e|0)>(c+31|0)){a=e+1&65535;break}else{a=(d[(e-c&n)+34032>>0]|0)+e&65535;break}else a=b;else if((c|0)<=(e+49|0))if((c|0)>(e+31|0)){a=c+1&65535;break}else{a=(d[(c-e&n)+34032>>0]|0)+c&65535;break}while(0);return a|0}function Hv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;do if(!(Cu(b,d,e)|0))f=1;else{f=a[(d&n)>>0]|0;if(f<<24>>24==71){if(Hv(b,c[(d&p)+12>>2]|0,e)|0){f=1;break}if(Hv(b,c[(d&p)+16>>2]|0,e)|0){f=1;break}if(f<<24>>24==77)g=6}else if(f<<24>>24==77)g=6;if(((g|0)==6?(Cu(c[(b&p)+12>>2]|0,c[(d&p)+12>>2]|0,e)|0)==0:0)?(f=a[(b&n)>>0]|0,!(f<<24>>24==73|f<<24>>24==76)):0){f=1;break}f=0}while(0);return f|0}function Iv(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))fa();w=x;u=d;v=d+8|0;g=v;t=~(c[(g&p)>>2]|c[(u&p)>>2]);u=~(c[(g&p)+4>>2]|c[(u&p)+4>>2]);g=c[(a&p)+12>>2]|0;r=a+20|0;a:do if((g|0)>0){s=d+40|0;a=d+22|0;q=d+48|0;d=0;n=c[(r&p)>>2]|0;while(1){if(b[(n&o)+20>>1]&2)break a;m=n+40|0;l=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;k=v;b:do if(((c[(k&p)>>2]&l|0)!=0?1:(c[(k&p)+4>>2]&m|0)!=0)&((l&t|0)==0&(m&u|0)==0)){h=b[(s&o)>>1]|0;c:do if(h<<16>>16){m=c[(q&p)>>2]|0;l=h&65535;while(1){h=l;l=l+-1|0;k=c[(m+(l<<2)&p)>>2]|0;if(k){if((k|0)==(n|0))break;k=c[(k&p)+4>>2]|0;if((k|0)>-1?((c[(r&p)>>2]|0)+(k*48|0)|0)==(n|0):0)break}if((l|0)<=0)break c}if((h|0)>=1)break b}while(0);h=b[(n&o)+16>>1]|0;if(h<<16>>16<1){b[(a&o)>>1]=(e[(a&o)>>1]|0)+(h&65535);break}b[(a&o)>>1]=(b[(a&o)>>1]|0)+-1<<16>>16;if(b[(n&o)+18>>1]&2){l=(Ms(c[((c[(n&p)>>2]|0)&p)+16>>2]|0,w)|0)!=0;m=c[(w&p)>>2]|0;m=l&(m|0)>-2&(m|0)<2?10:20;c[(w&p)>>2]=m;d=(d<<16>>16|0)<(m|0)?m&65535:d}}while(0);g=g+-1|0;if((g|0)<=0)break;else n=n+48|0}}else{a=d+22|0;d=0}while(0);d=(f<<16>>16)-(d<<16>>16)|0;if((b[(a&o)>>1]|0)>(d|0))b[(a&o)>>1]=d;i=x;return}function Jv(d,f,g,h){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,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;ha=i;i=i+112|0;if((i|0)>=(j|0))fa();R=ha;V=c[(c[(c[(d&p)>>2]&p)>>2]&p)>>2]|0;ea=c[(d&p)+12>>2]|0;if(!(a[(V&n)+65>>0]|0)){ga=ea+36|0;if(!(c[(ga&p)>>2]&32))if((c[(g&p)+40>>2]|0)<1)k=63;else k=(a[(f&n)+36>>0]&8)<<4^191;else k=24;W=g+51|0;ca=ea+24|0;l=b[((c[(g&p)+4>>2]|0)+(e[(ca&o)>>1]<<1)&o)>>1]|0;N=l<<16>>16;O=d+4|0;k=Dv(R,c[(O&p)>>2]|0,c[(f&p)+40>>2]|0,N,(a[(W&n)>>0]&4)==0?k:k&131,g)|0;X=b[(ca&o)>>1]|0;Y=ea+42|0;T=b[(Y&o)>>1]|0;Z=ea+40|0;U=b[(Z&o)>>1]|0;_=c[(ga&p)>>2]|0;Q=ea;P=c[(Q&p)>>2]|0;Q=c[(Q&p)+4>>2]|0;$=ea+22|0;aa=b[($&o)>>1]|0;b[(ea&o)+18>>1]=0;ba=g+8|0;D=b[(c[(ba&p)>>2]&o)>>1]|0;if(D<<16>>16<11)C=0;else{C=D<<16>>16;C=((fs(C,((C|0)<0)<<31>>31)|0)&65535)+65503&65535}a:do if(!k)k=0;else{E=l<<16>>16<0;F=f+16|0;G=ea+8|0;H=(U&65535)+1|0;I=ea+48|0;J=h<<16>>16==0;K=g+46|0;w=l<<16>>16>-1;x=g+50|0;y=g+44|0;z=ea+20|0;A=h<<16>>16;B=g+48|0;r=0;u=k;s=0;while(1){l=b[(u&o)+18>>1]|0;t=l&65535;if(l<<16>>16==128)if(!E?(a[((c[((c[(F&p)>>2]|0)&p)+4>>2]|0)+(N*24|0)&n)+20>>0]|0)==0:0)S=12;else{m=r;l=s;k=0}else S=12;if((S|0)==12){S=0;m=u+32|0;v=m;q=G;if(((c[(q&p)>>2]&c[(v&p)>>2]|0)==0?(c[(q&p)+4>>2]&c[(v&p)+4>>2]|0)==0:0)?(L=u+20|0,!((b[(L&o)>>1]&256)!=0&l<<16>>16==16)):0){c[(ga&p)>>2]=_;b[(ca&o)>>1]=X;b[(Z&o)>>1]=U;if(Nu(V,ea,H)|0){k=0;break a}k=b[(Z&o)>>1]|0;q=k+1<<16>>16;b[(Z&o)>>1]=q;c[((c[(I&p)>>2]|0)+((k&65535)<<2)&p)>>2]=u;k=m;l=G;m=(c[(k&p)+4>>2]|Q)&~c[(l&p)+4>>2];v=ea;c[(v&p)>>2]=(c[(k&p)>>2]|P)&~c[(l&p)>>2];c[(v&p)+4>>2]=m;b:do if(!(t&1)){if(t&2){k=c[(ga&p)>>2]|0;l=k|1;c[(ga&p)>>2]=l;do if(!E){if(!J){v=0;break b}if((e[(ca&o)>>1]|0)!=((e[(K&o)>>1]|0)+-1|0)){v=0;break b}if(!w)break;if(a[(x&n)>>0]|0)break;l=k|65537;c[(ga&p)>>2]=l;v=0;break b}while(0);l=k|4097;c[(ga&p)>>2]=l;v=0;break}if(t&128){l=c[(ga&p)>>2]|8;c[(ga&p)>>2]=l;v=0;break}k=c[(ga&p)>>2]|0;if(!(t&36)){l=k|18;c[(ga&p)>>2]=l;if(!(k&32)){v=0;r=0;s=u;break}v=0;r=c[((c[(I&p)>>2]|0)+((q&65535)+-2<<2)&p)>>2]|0;s=u;break}l=k|34;c[(ga&p)>>2]=l;if(!(b[(L&o)>>1]&256)){v=0;r=u;s=0}else{k=u+48|0;if(Nu(V,ea,(q&65535)+1|0)|0){k=0;break a}l=b[(Z&o)>>1]|0;b[(Z&o)>>1]=l+1<<16>>16;c[((c[(I&p)>>2]|0)+((l&65535)<<2)&p)>>2]=k;l=c[(ga&p)>>2]|16;c[(ga&p)>>2]=l;v=0;r=u;s=k}}else{k=c[(u&p)>>2]|0;l=c[(ga&p)>>2]|4;c[(ga&p)>>2]=l;if(!(c[(k&p)+4>>2]&2048)){k=c[(k&p)+20>>2]|0;if((k|0)!=0?(M=c[(k&p)>>2]|0,(M|0)!=0):0)v=(fs(M,((M|0)<0)<<31>>31)|0)<<16>>16;else v=0}else v=46}while(0);do if(!(l&2)){k=(b[(ca&o)>>1]|0)+1<<16>>16;b[(ca&o)>>1]=k;k=k&65535;m=b[(u&o)+16>>1]|0;if(m<<16>>16<1&w){q=(m&65535)-v+(e[($&o)>>1]|0)&65535;b[($&o)>>1]=q;break}m=c[(ba&p)>>2]|0;m=(e[($&o)>>1]|0)+((e[(m+(k<<1)&o)>>1]|0)-(e[(m+(k+-1<<1)&o)>>1]|0))|0;k=m&65535;b[($&o)>>1]=k;if(!(t&128))q=k;else{q=m+10&65535;b[($&o)>>1]=q}}else{k=b[($&o)>>1]|0;q=k<<16>>16;do if(r){m=b[(r&o)+16>>1]|0;if(m<<16>>16<1){k=(m&65535)+(k&65535)&65535;break}else{k=(k&65535)+65516&65535;break}}while(0);do if(s){m=b[(s&o)+16>>1]|0;if(m<<16>>16<1){k=(m&65535)+(k&65535)&65535;break}else{k=(k&65535)+65516&65535;break}}while(0);m=(r|0)!=0;do if(m?(b[(r&o)+16>>1]|0)>0&(s|0)!=0:0){if((b[(s&o)+16>>1]|0)<=0)break;k=(k&65535)+65516&65535}while(0);q=(((s|0)!=0)<<31>>31)+(m<<31>>31)+q|0;u=k<<16>>16<10?10:k<<16>>16;q=((u|0)<(q|0)?u:q)&65535;b[($&o)>>1]=q}while(0);k=q&65535;m=Gv(C,k+1+(((b[(y&o)>>1]|0)*15|0)/(b[((c[(F&p)>>2]|0)&o)+42>>1]|0)|0)&65535)|0;if(!(l&320))m=Gv(m,k+16&65535)|0;l=v+A|0;b[(z&o)>>1]=(m&65535)+l;b[($&o)>>1]=k+l;Iv(c[(O&p)>>2]|0,ea,D);k=Fv(d,ea)|0;v=c[(ga&p)>>2]|0;b[($&o)>>1]=(v&2|0)==0?q:aa;if((v&16|0)==0?(e[(ca&o)>>1]|0)<(e[(B&o)>>1]|0):0)Jv(d,f,g,l&65535)|0;b[($&o)>>1]=aa;m=r;l=s}else{m=r;l=s;k=0}}u=Ev(R)|0;if(!((k|0)==0&(u|0)!=0))break;else{r=m;s=l}}}while(0);l=ea;c[(l&p)>>2]=P;c[(l&p)+4>>2]=Q;b[(ca&o)>>1]=X;b[(Y&o)>>1]=T;c[(ga&p)>>2]=_;b[($&o)>>1]=aa;b[(Z&o)>>1]=U;l=X&65535;if(((X<<16>>16==T<<16>>16?(da=l+1|0,da>>>0<(e[(g&o)+46>>1]|0)>>>0):0)?(a[(W&n)>>0]&64)==0:0)?(b[((c[(ba&p)>>2]|0)+(da<<1)&o)>>1]|0)>41:0){k=Nu(V,ea,(U&65535)+1|0)|0;if(!k){b[(ca&o)>>1]=(b[(ca&o)>>1]|0)+1<<16>>16;b[(Y&o)>>1]=(b[(Y&o)>>1]|0)+1<<16>>16;k=b[(Z&o)>>1]|0;b[(Z&o)>>1]=k+1<<16>>16;c[((c[(ea&p)+48>>2]|0)+((k&65535)<<2)&p)>>2]=0;c[(ga&p)>>2]=c[(ga&p)>>2]|32768;k=c[(ba&p)>>2]|0;k=(e[(k+(l<<1)&o)>>1]|0)-(e[(k+(da<<1)&o)>>1]|0)|0;b[($&o)>>1]=(e[($&o)>>1]|0)-k;Jv(d,f,g,(((k<<16)+327680|0)>>>16)+(h&65535)&65535)|0;b[($&o)>>1]=aa;b[(ca&o)>>1]=X;b[(Y&o)>>1]=X;c[(ga&p)>>2]=_;k=0}}}else k=7;i=ha;return k|0}function Kv(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,q=0,r=0;l=b[(a&o)>>1]|0;h=a+8|0;a:do if(l<<16>>16){j=l;k=h;while(1){i=b[(k&o)+8>>1]|0;if(i<<16>>16>=f<<16>>16?(r=k,(c[(r&p)>>2]&d|0)==(d|0)?(c[(r&p)+4>>2]&e|0)==(e|0):0):0){n=k;q=14;break a}if(i<<16>>16<=f<<16>>16?(i=k,r=c[(i&p)>>2]|0,i=c[(i&p)+4>>2]|0,(r&d|0)==(r|0)&(i&e|0)==(i|0)):0)break a;j=j+-1<<16>>16;if(!(j<<16>>16))break;else k=k+16|0}if((l&65535)>=3){i=b[(a&o)+16>>1]|0;k=1;do{if(i<<16>>16>(b[(a+(k<<4)&o)+16>>1]|0))h=a+(k<<4)+8|0;k=k+1|0;i=b[(h&o)+8>>1]|0}while((k&65535)<(l&65535));if(i<<16>>16>f<<16>>16){n=h;q=14}}else q=9}else q=9;while(0);if((q|0)==9){n=l&65535;b[(a&o)>>1]=l+1<<16>>16;b[(a+(n<<4)&o)+18>>1]=g;n=a+(n<<4)+8|0;q=14}if((q|0)==14?(m=n,c[(m&p)>>2]=d,c[(m&p)+4>>2]=e,b[(n&o)+8>>1]=f,m=n+10|0,(b[(m&o)>>1]|0)>g<<16>>16):0)b[(m&o)>>1]=g;return}function Lv(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[(d&p)+36>>2]|0;do if(e&17408){if((e&1024|0)!=0?(h=d+28|0,(a[(h&n)>>0]|0)!=0):0){e=d+32|0;Wc(c[(e&p)>>2]|0);a[(h&n)>>0]=0;c[(e&p)>>2]=0;break}if((e&16384|0)!=0?(f=d+28|0,g=c[(f&p)>>2]|0,(g|0)!=0):0){mg(b,c[(g&p)+16>>2]|0);mg(b,c[(f&p)>>2]|0);c[(f&p)>>2]=0}}while(0);return}function Mv