Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Qb

3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.nullFunc_iiiiiiii;var ea=env.nullFunc_iiii;var fa=env.nullFunc_viiiiii;var ga=env.nullFunc_vi;var ha=env.nullFunc_viiiii;var ia=env.nullFunc_dii;var ja=env.nullFunc_vid;var ka=env.nullFunc_di;var la=env.nullFunc_i;var ma=env.nullFunc_iiiiiiiiii;var na=env.nullFunc_vii;var oa=env.nullFunc_iiiiiii;var pa=env.nullFunc_ii;var qa=env.nullFunc_viii;var ra=env.nullFunc_v;var sa=env.nullFunc_iiiiiiiii;var ta=env.nullFunc_iiiii;var ua=env.nullFunc_viiii;var va=env.nullFunc_iii;var wa=env.nullFunc_iiid;var xa=env.nullFunc_iiiiii;var ya=env.invoke_iiiiiiii;var za=env.invoke_iiii;var Aa=env.invoke_viiiiii;var Ba=env.invoke_vi;var Ca=env.invoke_viiiii;var Da=env.invoke_dii;var Ea=env.invoke_vid;var Fa=env.invoke_di;var Ga=env.invoke_i;var Ha=env.invoke_iiiiiiiiii;var Ia=env.invoke_vii;var Ja=env.invoke_iiiiiii;var Ka=env.invoke_ii;var La=env.invoke_viii;var Ma=env.invoke_v;var Na=env.invoke_iiiiiiiii;var Oa=env.invoke_iiiii;var Pa=env.invoke_viiii;var Qa=env.invoke_iii;var Ra=env.invoke_iiid;var Sa=env.invoke_iiiiii;var Ta=env._dlerror;var Ua=env._utimes;var Va=env._getuid;var Wa=env._send;var Xa=env._dlsym;var Ya=env._mknod;var Za=env._chown;var _a=env._lseek;var $a=env._emscripten_set_main_loop_timing;var ab=env._access;var bb=env._fstat;var cb=env._chmod;var db=env._rmdir;var eb=env.___assert_fail;var fb=env._usleep;var gb=env.___buildEnvironment;var hb=env._fflush;var ib=env._pwrite;var jb=env._strerror_r;var kb=env._localtime_r;var lb=env._tzset;var mb=env._open;var nb=env._getpid;var ob=env._sbrk;var pb=env._fcntl;var qb=env._emscripten_memcpy_big;var rb=env._unlink;var sb=env._sysconf;var tb=env._fchmod;var ub=env.___setErrNo;var vb=env._ftruncate;var wb=env._mkdir;var xb=env._pread;var yb=env._mkport;var zb=env._dlopen;var Ab=env._dlclose;var Bb=env._write;var Cb=env._fsync;var Db=env.___errno_location;var Eb=env._stat;var Fb=env._recv;var Gb=env._geteuid;var Hb=env._getenv;var Ib=env._sleep;var Jb=env._emscripten_set_main_loop;var Kb=env._abort;var Lb=env._time;var Mb=env._fchown;var Nb=env._strerror;var Ob=env._gettimeofday;var Pb=env._munmap;var Qb=env._mmap;var Rb=env._localtime;var Sb=env._getcwd;var Tb=env._close;var Ub=env._read;var Vb=env._truncate;var Wb=0.0;
13 function ch(f){f=f|0;var g=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.0,z=0,A=0.0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=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od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0;ke=i;i=i+1040|0;if((i|0)>=(j|0))ba();ge=ke+400|0;Qc=ke+792|0;fd=ke+392|0;ad=ke+788|0;Pd=ke+320|0;jd=ke+784|0;md=ke+780|0;nd=ke+280|0;Kd=ke+680|0;Yc=ke+240|0;Nd=ke+200|0;Xc=ke+676|0;Uc=ke+672|0;Ld=ke+160|0;Rc=ke+644|0;qd=ke+152|0;Gd=ke+112|0;hd=ke+640|0;Id=ke+636|0;Vc=ke+632|0;rd=ke+628|0;xd=ke+624|0;td=ke+604|0;yd=ke+600|0;ld=ke+596|0;ud=ke+576|0;Pc=ke+840|0;zd=ke+572|0;Md=ke+104|0;Ad=ke+568|0;bd=ke+564|0;ed=ke+96|0;Od=ke+88|0;Bd=ke+560|0;Cd=ke+556|0;Dd=ke+552|0;vd=ke+532|0;wd=ke+512|0;gd=ke+508|0;sd=ke+504|0;Wc=ke+488|0;Jd=ke+48|0;Tc=ke+456|0;Oc=ke+444|0;Hd=ke+8|0;pd=ke+440|0;Fd=ke+412|0;Ed=ke;wc=f+4|0;o=c[wc>>2]|0;he=c[f>>2]|0;Gc=a[he+62>>0]|0;Kc=f+8|0;v=c[Kc>>2]|0;je=he+32|0;l=je;m=c[l>>2]|0;l=c[l+4>>2]|0;ie=f+80|0;a:do if((c[ie>>2]|0)==7){u=he+65|0;v=f+44|0;n=m;g=0;p=0;m=0;ee=1317}else{c[ie>>2]=0;$d=f+136|0;c[$d>>2]=0;c[$d+4>>2]=0;$d=f+20|0;c[$d>>2]=0;c[he+452>>2]=0;zc=he+240|0;b:do if(!(c[zc>>2]|0)){Zd=he+292|0;if(c[Zd>>2]|0){n=c[f+124>>2]|0;g=he+300|0;u=c[g>>2]|0;if(!n)vc=g;else{vc=g;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8|0;Ga=Jd+32|0;Ha=Jd+24|0;Ia=Tc+20|0;Ja=Tc+12|0;Ka=Tc+16|0;La=Tc+24|0;Ma=Oc+8|0;Na=Oc+4|0;Oa=he+148|0;Pa=he+176|0;Qa=he+72|0;Ra=he+67|0;Sa=Qc+20|0;Ta=Qc+24|0;Ua=Qc+4|0;Va=Qc+16|0;Wa=he+304|0;Xa=he+328|0;Ya=Hd+32|0;Za=Hd+8|0;_a=Hd+24|0;$a=he+308|0;ab=Fd+20|0;bb=he+69|0;_d=f+168|0;cb=nd+4|0;db=nd+8|0;eb=nd+12|0;fb=nd+16|0;gb=nd+20|0;hb=nd+24|0;ib=nd+25|0;jb=he+180|0;kb=Ld+32|0;lb=Ld+8|0;mb=Ld+12|0;nb=Ld+16|0;ob=Ld+24|0;T=0;U=0;g=0;r=0;p=c[de>>2]|0;t=0;c:while(1){n=m;d:while(1){if(a[ce>>0]|0){u=ce;v=fe;m=t;ee=1317;break a}m=g+1|0;if(!(a[o+(p*20|0)+2>>0]&2))J=r;else{r=c[o+(p*20|0)+8>>2]|0;g=v+(r*40|0)|0;r=v+(r*40|0)+8|0;if(b[r>>1]&9312)rg(g);b[r>>1]=4;J=g}z=o+(p*20|0)|0;G=a[z>>0]|0;r=G&255;e:do switch(r|0){case 20:{g=m;m=n;ee=24;break d}case 21:{g=m;m=n;r=J;ee=25;break d}case 22:{g=m;m=n;r=J;ee=26;break d}case 23:{g=m;m=n;r=J;n=p;ee=27;break d}case 24:{g=m;m=n;r=J;n=p;ee=28;break d}case 29:{g=m;m=n;n=p;ee=65;break d}case 30:{g=m;m=n;r=J;n=p;ee=66;break d}case 28:{g=m;m=n;r=J;n=p;ee=60;break d}case 32:{g=m;m=n;n=p;ee=72;break d}case 17:{g=m;m=n;r=J;ee=22;break d}case 18:{g=m;m=n;r=J;ee=23;break d}case 25:{g=m;m=n;r=J;n=p;ee=44;break d}case 26:{g=m;m=n;r=J;n=p;ee=45;break d}case 133:{g=m;m=n;r=J;n=p;ee=46;break d}case 97:{a[z>>0]=27;z=o+(p*20|0)+16|0;s=c[z>>2]|0;if(!s)g=0;else{g=s;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-s&1073741823}w=o+(p*20|0)+4|0;c[w>>2]=g;if(vb)r=0;else{r=Tg(J,s,-1,1,0)|0;if((r|0)==18){g=m;m=n;q=t;ee=1316;break c}if(Ul(J,ub)|0){u=ce;v=fe;g=m;m=t;ee=1317;break a}c[J+24>>2]=0;g=J+8|0;b[g>>1]=e[g>>1]|2048;g=o+(p*20|0)+1|0;if((a[g>>0]|0)==-1)ig(he,c[z>>2]|0);a[g>>0]=-1;s=c[J+16>>2]|0;c[z>>2]=s;g=c[J+12>>2]|0;c[w>>2]=g}if((g|0)>(c[wb>>2]|0)){g=m;m=n;q=t;ee=1316;break c}else ee=57;break}case 31:{g=m;m=n;r=J;n=p;ee=67;break d}case 34:{g=m;m=n;n=p;ee=79;break d}case 35:{g=m;m=n;q=t;ee=80;break c}case 33:{g=m;m=n;ee=74;break d}case 94:{g=m;m=n;ee=94;break d}case 93:case 92:case 91:case 90:case 89:{g=m;P=z;m=n;n=p;ee=112;break d}case 27:{s=c[o+(p*20|0)+16>>2]|0;g=c[o+(p*20|0)+4>>2]|0;r=0;ee=57;break}case 16:{p=(c[o+(p*20|0)+8>>2]|0)+-1|0;r=0;ee=19;break}case 36:{g=m;m=n;G=J;n=p;ee=166;break d}case 1:{S=a[o+(p*20|0)+3>>0]|0;z=S&255;x=c[yb>>2]|0;g=v+((c[o+(p*20|0)+12>>2]|0)*40|0)|0;c[Rc>>2]=g;if(S<<24>>24){w=0;g=v+((c[o+(p*20|0)+8>>2]|0)*40|0)|0;while(1){c[x+(w<<2)>>2]=g;if((b[g+8>>1]&4096)!=0?(Rl(g)|0)!=0:0){u=ce;v=fe;g=m;m=t;ee=1317;break a}w=w+1|0;if((w|0)>=(z|0))break;else g=g+40|0}g=c[Rc>>2]|0}S=c[o+(p*20|0)+16>>2]|0;c[zb>>2]=S;c[Ab>>2]=p;c[Bb>>2]=f;R=g+8|0;b[R>>1]=e[R>>1]&48640|1;a[Cb>>0]=0;R=je;c[R>>2]=n;c[R+4>>2]=l;ic[c[S+12>>2]&63](Rc,z,x);l=je;n=c[l>>2]|0;l=c[l+4>>2]|0;if(!(a[Cb>>0]|0))g=0;else{if(!(c[Db>>2]|0))g=0;else{c[ge>>2]=Og(c[Rc>>2]|0,1)|0;$g(fe,he,10344,ge);g=c[Db>>2]|0}am(f,p,c[o+(p*20|0)+4>>2]|0)}Ul(c[Rc>>2]|0,ub)|0;s=c[Rc>>2]|0;w=e[s+8>>1]|0;if(w&18){r=c[s+12>>2]|0;if(w&16384)r=(c[s>>2]|0)+r|0;if((r|0)>(c[(c[s+32>>2]|0)+88>>2]|0)){g=m;m=n;q=t;ee=1316;break c}else{z=J;R=p;r=g}}else{z=J;R=p;r=g}break}case 88:case 87:case 86:case 85:{g=m;E=z;m=n;n=p;ee=184;break d}case 39:{g=m;m=n;G=J;n=p;ee=208;break d}case 37:{g=m;m=n;r=J;n=p;ee=202;break d}case 38:{g=m;m=n;G=J;n=p;ee=203;break d}case 83:case 80:case 81:case 82:case 78:case 79:{g=m;F=G;m=n;r=J;ee=213;break d}case 40:{S=c[o+(p*20|0)+4>>2]|0;g=v+(S*40|0)|0;if(!(b[v+(S*40|0)+8>>1]&16384))r=0;else r=Ng(g)|0;cm(g,c[o+(p*20|0)+8>>2]&255,Gc);z=J;R=p;break}case 41:{g=m;m=n;r=J;n=p;ee=248;break d}case 42:{g=m;m=n;r=J;n=p;ee=249;break d}case 43:{g=m;m=n;r=J;ee=256;break d}case 71:case 72:{g=m;m=n;n=p;ee=261;break d}case 76:{g=m;m=n;r=J;n=p;ee=286;break d}case 19:{g=m;m=n;n=p;ee=268;break d}case 96:{g=m;m=n;n=p;ee=273;break d}case 44:{g=m;m=n;r=J;n=p;ee=278;break d}case 46:case 45:{g=m;m=n;r=J;n=p;ee=281;break d}case 77:{g=m;m=n;r=J;n=p;ee=288;break d}case 47:{g=m;m=n;r=J;ee=290;break d}case 48:{g=m;m=n;r=J;n=p;ee=368;break d}case 49:{g=m;m=n;ee=371;break d}case 50:{B=c[c[(c[Fb>>2]|0)+(c[o+(p*20|0)+4>>2]<<2)>>2]>>2]|0;f:do if(c[B+60>>2]|0){g=mm(B)|0;if(!g){K=B+76|0;I=B+44|0;w=B+72|0;s=0;r=0;g:while(1){z=b[K>>1]|0;G=c[B+(z<<16>>16<<2)+120>>2]|0;if(!(a[G+5>>0]|0)){if(!(a[G+2>>0]|0)){s=fw(e[G+18>>1]|0,0,s|0,r|0)|0;r=C}}else{s=fw(e[G+18>>1]|0,0,s|0,r|0)|0;r=C;while(1){if(!(z<<16>>16))break g;if(G){xg(c[G+68>>2]|0);z=b[K>>1]|0}z=z+-1<<16>>16;b[K>>1]=z;b[I>>1]=0;a[w>>0]=d[w>>0]&249;G=z<<16>>16;x=B+(G<<1)+78|0;F=b[x>>1]|0;G=c[B+(G<<2)+120>>2]|0;if((F&65535)<(e[G+18>>1]|0)){z=F;break}}b[x>>1]=z+1<<16>>16;G=b[K>>1]|0;z=G;G=c[B+(G<<16>>16<<2)+120>>2]|0}z=b[B+(z<<16>>16<<1)+78>>1]|0;x=c[G+56>>2]|0;if(z<<16>>16==(b[G+18>>1]|0)){g=d[G+6>>0]|0;g=nm(B,d[x+(g+9)>>0]<<16|d[x+(g+8)>>0]<<24|d[x+(g+10)>>0]<<8|d[x+(g+11)>>0])|0}else{g=(z&65535)<<1;S=c[G+64>>2]|0;g=(d[S+g>>0]<<8|d[S+(g|1)>>0])&e[G+20>>1];g=nm(B,d[x+(g+1)>>0]<<16|d[x+g>>0]<<24|d[x+(g+2)>>0]<<8|d[x+(g+3)>>0])|0}if(g){s=0;r=0;break f}}g=mm(B)|0}else{s=0;r=0}}else{g=0;s=0;r=0}while(0);z=J;c[z>>2]=s;c[z+4>>2]=r;z=J;R=p;r=g;break}case 2:{O=c[o+(p*20|0)+4>>2]|0;s=c[o+(p*20|0)+16>>2]|0;if(!O){g=m;m=n;r=J;n=p;ee=446;break d}w=c[Mb>>2]|0;if(!w){o=s;g=m;m=n;q=t;ee=460;break c}else g=0;while(1){if(!($c(c[w>>2]|0,s)|0)){G=g;break}w=c[w+24>>2]|0;if(!w){o=s;g=m;m=n;q=t;ee=460;break c}else g=g+1|0}K=(O|0)==1;if((c[Yd>>2]|0)>0&K){g=m;m=n;q=t;ee=462;break c}I=w+24|0;if(!(c[I>>2]|0)){x=(a[Pb>>0]|0)!=0;if(x&K){g=pm(f,1)|0;if(g)break a;a[ae>>0]=1;if((Nl(f)|0)==5){g=p;ee=467;break c}a[Pb>>0]=0;x=1;r=c[ie>>2]|0}else ee=469}else{x=0;ee=469}if((ee|0)==469){ee=0;s=(c[Lb>>2]|0)-G+-1|0;if((O|0)==2){z=(c[Qb>>2]|0)>>>1&1;if((c[Rb>>2]|0)>0){G=z^1;F=0;while(1){E=El(c[(c[Td>>2]|0)+(F<<4)+4>>2]|0,516,G)|0;F=F+1|0;if(E){g=m;m=n;q=E;ee=1318;break c}g=c[Rb>>2]|0;if((F|0)>=(g|0)){ee=475;break}}}}else{g=c[Rb>>2]|0;z=0;ee=475}if((ee|0)==475){ee=0;if((g|0)>0){B=0;do{G=qm(c[(c[Td>>2]|0)+(B<<4)+4>>2]|0,O,s)|0;B=B+1|0;if(G){g=m;m=n;q=G;ee=1318;break c}}while((B|0)<(c[Rb>>2]|0))}}if(!z){G=s;r=0}else{z=c[Sb>>2]|0;if(z)do{S=z+88|0;b[S>>1]=b[S>>1]|8;z=c[z+52>>2]|0}while((z|0)!=0);Ag(he);c[Qb>>2]=c[Qb>>2]|2;G=s;r=0}}z=c[Mb>>2]|0;if((z|0)!=(w|0))do{c[Mb>>2]=c[z+24>>2];ig(he,z);c[Lb>>2]=(c[Lb>>2]|0)+-1;z=c[Mb>>2]|0}while((z|0)!=(w|0));if(K){c[Mb>>2]=c[I>>2];ig(he,w);if(x){z=J;R=p;break e}else{g=m;z=O;m=n;x=G;r=J;n=p;ee=486;break d}}else{S=w+8|0;R=c[S+4>>2]|0;Q=Nb;c[Q>>2]=c[S>>2];c[Q+4>>2]=R;Q=w+16|0;R=c[Q+4>>2]|0;S=Ob;c[S>>2]=c[Q>>2];c[S+4>>2]=R;if(x){z=J;R=p;break e}else{z=O;g=m;m=n;x=G;r=J;n=p;ee=488;break d}}}case 3:{q=t;ee=489;break c}case 4:{w=o+(p*20|0)+8|0;g=c[w>>2]|0;if((g|0)!=0?(c[Qb>>2]&33554432|0)!=0:0){g=m;m=n;q=8;ee=1318;break c}F=o+(p*20|0)+4|0;G=c[(c[Td>>2]|0)+(c[F>>2]<<4)+4>>2]|0;if(!G){r=0;w=0;g=0}else{z=ug(G,g)|0;if((z|0)==5){g=p;ee=508;break c}else if(z){g=m;m=n;q=z;ee=1318;break c}do if((c[w>>2]|0)!=0?(b[Ud>>1]&32)!=0:0){if((a[ae>>0]|0)!=0?(c[Wb>>2]|0)<=1:0){g=0;break}g=c[Tb>>2]|0;if(!g){g=(c[Kb>>2]|0)+1|0;c[Kb>>2]=g;g=(c[Lb>>2]|0)+g|0;c[Tb>>2]=g}g=om(he,0,g+-1|0)|0;if(!g){g=c[Tb>>2]|0;S=c[G+4>>2]|0;c[S+4>>2]=c[G>>2];g=dl(c[S>>2]|0,g)|0}S=Nb;R=c[S+4>>2]|0;Q=Ub;c[Q>>2]=c[S>>2];c[Q+4>>2]=R;Q=Ob;R=c[Q+4>>2]|0;S=Vb;c[S>>2]=c[Q>>2];c[S+4>>2]=R}else g=0;while(0);r=c[G+4>>2]|0;c[r+4>>2]=c[G>>2];r=c[(c[r+12>>2]|0)+56>>2]|0;r=d[r+41>>0]<<16|d[r+40>>0]<<24|d[r+42>>0]<<8|d[r+43>>0];w=c[(c[(c[Td>>2]|0)+(c[F>>2]<<4)+12>>2]|0)+4>>2]|0}if(a[o+(p*20|0)+3>>0]|0){if((r|0)!=(c[o+(p*20|0)+12>>2]|0)){g=m;o=F;m=n;q=t;ee=522;break c}if((w|0)!=(c[o+(p*20|0)+16>>2]|0)){g=m;o=F;m=n;q=t;ee=522;break c}else{z=J;R=p;r=g}}else{z=J;R=p;r=g}break}case 53:{g=c[(c[Fb>>2]|0)+(c[o+(p*20|0)+4>>2]<<2)>>2]|0;if((g|0)!=0?(c[g+28>>2]|0)==(c[o+(p*20|0)+8>>2]|0):0){w=o+(p*20|0)+3|0;r=0;ee=548}else ee=536;break}case 51:{g=m;m=n;r=J;n=p;ee=525;break d}case 52:{x=o+(p*20|0)+4|0;w=c[x>>2]|0;g=c[Td>>2]|0;z=c[o+(p*20|0)+12>>2]|0;s=v+(z*40|0)|0;r=Rg(s)|0;S=s;c[S>>2]=r;c[S+4>>2]=C;z=v+(z*40|0)+8|0;b[z>>1]=e[z>>1]&48640|4;z=o+(p*20|0)+8|0;r=zg(c[g+(w<<4)+4>>2]|0,c[z>>2]|0,r)|0;z=c[z>>2]|0;if((z|0)==1){c[c[g+(w<<4)+12>>2]>>2]=c[s>>2];c[Qb>>2]=c[QbQb>>2]|0;L=c[sb>>2]|0;s=c[tb>>2]|0;g=c[Pa>>2]|0;c[Qb>>2]=Q&-2762753|2107392;c[Pa>>2]=0;I=c[(c[Td>>2]|0)+4>>2]|0;P=I+4|0;F=a[(c[c[P>>2]>>2]|0)+15>>0]|0;S=c[Rb>>2]|0;r=pn(he,fe,(a[Xb>>0]|0)==2?42432:42464)|0;G=c[Rb>>2]|0;if((G|0)>(S|0))w=(c[Td>>2]|0)+(G+-1<<4)|0;else w=0;i:do if(!r){O=c[(c[Td>>2]|0)+(G+-1<<4)+4>>2]|0;qn(O)|0;R=c[P>>2]|0;c[R+4>>2]=c[I>>2];R=(c[R+32>>2]|0)-(c[R+36>>2]|0)|0;r=pn(he,fe,42488)|0;if(!r){r=pn(he,fe,42528)|0;if(!r){r=ug(I,2)|0;if(!r){G=c[P>>2]|0;if((a[(c[G>>2]|0)+5>>0]|0)==5)c[Qa>>2]=0;if(!(tg(O,c[G+32>>2]|0,R,0)|0)){if(F<<24>>24==0?(tg(O,c[Qa>>2]|0,R,0)|0)!=0:0){r=7;break}if(a[ce>>0]|0){r=7;break}G=a[Ra>>0]|0;do if(G<<24>>24>-1)G=G<<24>>24;else{G=c[P>>2]|0;c[G+4>>2]=c[I>>2];if(!(a[G+17>>0]|0)){G=0;break}G=(a[G+18>>0]|0)==0?1:2}while(0);rn(O,G)|0;r=sn(he,fe,42536)|0;if(r)break;r=sn(he,fe,42688)|0;if(r)break;r=sn(he,fe,42792)|0;if(r)break;r=sn(he,fe,42912)|0;if(r)break;r=sn(he,fe,43112)|0;if(r)break;r=sn(he,fe,43232)|0;if(r)break;r=pn(he,fe,43392)|0;if(!r)G=0;else break;do{r=d[43576+G>>0]|0;sm(I,r,ad);r=zg(O,r,(d[43576+(G|1)>>0]|0)+(c[ad>>2]|0)|0)|0;G=G+2|0;if(r)break i}while((G|0)<10);E=c[P>>2]|0;c[E+4>>2]=c[I>>2];G=c[O>>2]|0;K=O+4|0;F=c[K>>2]|0;c[F+4>>2]=G;E=c[(c[E>>2]|0)+60>>2]|0;D=c[E>>2]|0;if(D){S=c[F+32>>2]|0;S=ow(c[F+44>>2]|0,0,S|0,((S|0)<0)<<31>>31|0)|0;r=fd;c[r>>2]=S;c[r+4>>2]=C;r=Yb[c[D+40>>2]&63](E,11,fd)|0;r=(r|0)==12?0:r;if(r)break;G=c[O>>2]|0}S=Qc+0|0;D=S+48|0;do{c[S>>2]=0;S=S+4|0}while((S|0)<(D|0));c[Sa>>2]=G;c[Ta>>2]=O;c[Ua>>2]=I;c[Va>>2]=1;cd(Qc,2147483647)|0;r=dd(Qc)|0;if(r){z=c[c[(c[Ua>>2]|0)+4>>2]>>2]|0;if(a[z+15>>0]|0)break;if(a[z+12>>0]|0)break;tn(z);break}r=(c[P>>2]|0)+22|0;b[r>>1]=e[r>>1]&65533;r=qn(O)|0;if(r)break;G=c[K>>2]|0;c[G+4>>2]=c[O>>2];if(!(a[G+17>>0]|0))B=0;else B=(a[G+18>>0]|0)==0?1:2;rn(I,B)|0;r=tg(I,c[(c[K>>2]|0)+32>>2]|0,R,1)|0}else r=7}}}}while(0);c[Qb>>2]=Q;c[sb>>2]=L;c[tb>>2]=s;c[Pa>>2]=g;tg(I,-1,-1,1)|0;a[ae>>0]=1;if(w){S=w+4|0;Il(c[S>>2]|0);c[S>>2]=0;c[w+12>>2]=0}Ag(he);z=J;R=p;break}case 143:{S=c[(c[Td>>2]|0)+(c[o+(p*20|0)+4>>2]<<4)+4>>2]|0;F=c[S+4>>2]|0;c[F+4>>2]=c[S>>2];if(!(a[F+17>>0]|0)){g=m;m=n;r=J;ee=1157;break d}B=F+44|0;E=c[B>>2]|0;x=F+12|0;z=c[(c[x>>2]|0)+56>>2]|0;z=d[z+37>>0]<<16|d[z+36>>0]<<24|d[z+38>>0]<<8|d[z+39>>0];D=Al(F,E,z)|0;if(E>>>0<D>>>0){g=m;m=n;q=t;ee=1145;break c}if(!z){g=m;m=n;r=J;ee=1157;break d}G=F+8|0;w=c[G>>2]|0;do if(w){z=w;do{if(z){ee=1150;break}z=c[2]|0}while((z|0)!=0);if((ee|0)==1150){ee=0;r=Bl(z,0,0)|0;if(r)break;w=c[G>>2]|0}if(w){do{S=w+72|0;a[S>>0]=d[S>>0]&251;w=c[w+8>>2]|0}while((w|0)!=0);ee=1154}else ee=1154}else ee=1154;while(0);if((ee|0)==1154){ee=0;r=Cl(F,D,E,0)|0;if(!r){r=Cg(c[(c[x>>2]|0)+68>>2]|0)|0;S=c[(c[x>>2]|0)+56>>2]|0;R=c[B>>2]|0;a[S+28>>0]=R>>>24;a[S+29>>0]=R>>>16;a[S+30>>0]=R>>>8;a[S+31>>0]=R}}if((r|0)==101){g=m;m=n;r=J;ee=1157;break d}else{z=J;R=p}break}case 145:{g=c[o+(p*20|0)+12>>2]|0;if((g&255|0)==0?(c[QbQb>>2]=c[Qb>>2]|2;Q=v;w=o;R=T;S=U;break}case 887:{ee=0;z=Ek((c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+12>>2]|0)+24|0,c[o+(n*20|0)+16>>2]|0,0)|0;if(z){p=(c[z+12>>2]|0)+8|0;r=c[p>>2]|0;z:do if((r|0)==(z|0))c[p>>2]=c[z+20>>2];else{do{if(!r)break z;p=r+20|0;r=c[p>>2]|0}while((r|0)!=(z|0));c[p>>2]=c[z+20>>2]}while(0);Fk(he,z)}c[Qb>>2]=c[Qb>>2]|2;Q=v;w=o;R=T;S=U;r=G;break}case 895:{ee=0;z=Ek((c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+12>>2]|0)+40|0,c[o+(n*20|0)+16>>2]|0,0)|0;if(!z){Q=v;w=o;R=T;S=U}else{p=c[z+20>>2]|0;if((p|0)==(c[z+24>>2]|0)){p=Zm(p+8|0,c[z+4>>2]|0,ge)|0;if(!p)p=0;else p=c[p+8>>2]|0;s=p+64|0;while(1){S=c[s>>2]|0;p=S+32|0;if((S|0)==(z|0))break;else s=p}c[s>>2]=c[p>>2]}fg(he,z);c[Qb>>2]=c[Qb>>2]|2;Q=v;w=o;R=T;S=U}break}case 903:{ee=0;K=c[o+(p*20|0)+8>>2]|0;n=ih(he,(K<<2)+4|0,0)|0;if(!n){u=ce;v=fe;n=m;m=t;ee=1317;break a}x=c[o+(p*20|0)+12>>2]|0;I=c[o+(p*20|0)+4>>2]|0;H=v+(I*40|0)|0;if((K|0)>0){z=0;do{S=Rg(v+((z+I|0)*40|0)|0)|0;c[n+(z<<2)>>2]=S;z=z+1|0}while((z|0)!=(K|0));z=K}else z=0;c[n+(z<<2)>>2]=0;F=c[(c[Td>>2]|0)+(d[o+(p*20|0)+3>>0]<<4)+4>>2]|0;P=v+(x*40|0)|0;S=c[P>>2]|0;O=c[F+4>>2]|0;c[O+4>>2]=c[F>>2];F=c[O>>2]|0;s=c[(c[F+204>>2]|0)+12>>2]|0;c[Pd>>2]=O;c[ja>>2]=F;F=c[O+44>>2]|0;c[ka>>2]=F;c[la>>2]=S;c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|0)+E>>0]|0}while(0);do if(G&255&D){if(J>>>0<2)G=0;else{G=J+-2|0;G=G-((G>>>0)%(((((c[z>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;G=((G+1|0)==(((c[2514]|0)>>>0)/((c[L>>2]|0)>>>0)|0|0)?3:2)+G|0}if((G|0)!=(J|0))break;if(!(a[B>>0]|0))break;c[ge>>2]=J;bn(Pd,43656,ge)}while(0);J=J+1|0}while(!((c[la>>2]|0)==0?1:J>>>0>(c[ka>>2]|0)>>>0))}z=c[(c[(c[O>>2]|0)+204>>2]|0)+12>>2]|0;if((s|0)!=(z|0)){c[ge>>2]=s;c[ge+4>>2]=z;bn(Pd,43696,ge)}Sc(c[pa>>2]|0);if(c[na>>2]|0){cn(qa);x=0;z=(c[ma>>2]|0)+1|0;break}z=c[ma>>2]|0;if(!z)cn(qa);x=pg(qa)|0}while(0);ig(he,n);S=P;S=$v(c[S>>2]|0,c[S+4>>2]|0,z|0,((z|0)<0)<<31>>31|0)|0;w=P;c[w>>2]=S;c[w+4>>2]=C;w=v+(I*40|0)+8|0;if(!(b[w>>1]&9312))b[w>>1]=1;else rg(H);if(z){if(!x){u=ce;v=fe;n=m;m=t;ee=1317;break a}Tg(H,x,-1,1,1)|0}Ul(H,ub)|0;Q=v;w=o;R=T;S=U;n=p;break}case 947:{ee=0;s=c[o+(p*20|0)+4>>2]|0;n=v+(s*40|0)|0;r=c[o+(p*20|0)+8>>2]|0;s=v+(s*40|0)+8|0;if((b[s>>1]&32)==0?(dn(n),(b[s>>1]&32)==0):0){u=ce;v=fe;n=m;m=t;ee=1317;break a}Q=v+(r*40|0)|0;en(c[n>>2]|0,c[Q>>2]|0,c[Q+4>>2]|0);Q=v;w=o;R=T;S=U;r=G;n=p;break}case 966:{ee=0;w=c[o+(p*20|0)+4>>2]|0;P=v+(w*40|0)|0;O=v+((c[o+(p*20|0)+12>>2]|0)*40|0)|0;L=c[o+(p*20|0)+16>>2]|0;w=v+(w*40|0)+8|0;if((b[w>>1]&32)==0?(dn(P),(b[w>>1]&32)==0):0){u=ce;v=fe;n=m;m=t;ee=1317;break a}if(L){J=c[P>>2]|0;H=O;K=c[H>>2]|0;H=c[H+4>>2]|0;s=J+28|0;if((c[s>>2]|0)!=(L|0)){n=J+8|0;G=c[n>>2]|0;if(G){F=J+20|0;I=J+26|0;if(!(b[I>>1]&1))G=fn(G)|0;E=c[F>>2]|0;A:do if(!E){id=G;od=F;ee=978}else{while(1){F=E+12|0;D=c[F>>2]|0;if(!D)break;B=E+8|0;gn(D,ge,Pd);c[F>>2]=0;G=hn(c[ge>>2]|0,G)|0;E=c[B>>2]|0;if(!E){id=G;od=B;ee=978;break A}}c[F>>2]=jn(G)|0}while(0);if((ee|0)==978?(ee=0,Hc=kn(J)|0,c[od>>2]=Hc,(Hc|0)!=0):0){S=Hc;c[S>>2]=0;c[S+4>>2]=0;c[Hc+8>>2]=0;c[Hc+12>>2]=jn(id)|0}c[n>>2]=0;c[J+12>>2]=0;b[I>>1]=e[I>>1]|1}c[s>>2]=L}z=c[J+20>>2]|0;B:do if(z){C:while(1){x=c[z+12>>2]|0;if(x)do{w=x;B=c[w>>2]|0;w=c[w+4>>2]|0;if((w|0)<(H|0)|(w|0)==(H|0)&B>>>0<K>>>0)x=x+8|0;else{if(!((w|0)>(H|0)|(w|0)==(H|0)&B>>>0>K>>>0))break C;x=x+12|0}x=c[x>>2]|0}while((x|0)!=0);z=c[z+8>>2]|0;if(!z)break B}Q=v;w=o;R=T;S=U;n=(c[o+(p*20|0)+8>>2]|0)+-1|0;break q}while(0);if((L|0)>-1)z=O;else{Q=v;w=o;R=T;S=U;n=p;break}}else z=O;Q=z;en(c[P>>2]|0,c[Q>>2]|0,c[Q+4>>2]|0);Q=v;w=o;R=T;S=U;n=p;break}case 993:{ee=0;s=c[o+(n*20|0)+16>>2]|0;F=c[o+(n*20|0)+12>>2]|0;J=v+(F*40|0)|0;if((a[o+(n*20|0)+3>>0]|0)!=0?(Ic=c[s+20>>2]|0,kd=c[pb>>2]|0,(kd|0)!=0):0){w=kd;while(1){if((c[w+28>>2]|0)==(Ic|0)){Q=v;w=o;R=T;S=U;break q}w=c[w+4>>2]|0;if(!w){p=n;break}}}else p=n;n=c[qb>>2]|0;if((n|0)>=(c[ya>>2]|0)){q=t;ee=998;break c}B=v+(F*40|0)+8|0;if(!(b[B>>1]&64)){z=s+12|0;x=c[z>>2]|0;w=x+(c[s+8>>2]|0)|0;o=s+16|0;x=(x<<2)+80+(c[o>>2]|0)+(w*40|0)|0;G=ih(he,x,((x|0)<0)<<31>>31)|0;if(!G){u=ce;v=fe;n=m;m=t;ee=1317;break a}bw(G|0,0,x|0)|0;if(!((b[B>>1]&9312)==0?(c[v+(F*40|0)+24>>2]|0)==0:0))Mg(J);b[B>>1]=64;c[J>>2]=G;c[G>>2]=f;c[G+60>>2]=w;c[G+64>>2]=c[z>>2];c[G+44>>2]=p;c[G+16>>2]=c[Kc>>2];c[G+52>>2]=c[za>>2];c[G+24>>2]=c[Fb>>2];c[G+40>>2]=c[Aa>>2];c[G+8>>2]=c[wc>>2];c[G+48>>2]=c[Ba>>2];c[G+28>>2]=c[s+20>>2];c[G+20>>2]=c[Eb>>2];c[G+56>>2]=c[Ca>>2];v=G+80|0;n=v+(w*40|0)|0;if((v|0)!=(n|0))do{b[v+8>>1]=128;c[v+32>>2]=he;v=v+40|0}while((v|0)!=(n|0));n=c[qb>>2]|0;v=G}else{o=s+16|0;v=c[J>>2]|0}c[qb>>2]=n+1;c[v+4>>2]=c[pb>>2];Q=v+32|0;c[Q>>2]=m;c[Q+4>>2]=l;c[v+68>>2]=c[rb>>2];c[v+72>>2]=c[(c[f>>2]|0)+80>>2];c[rb>>2]=0;c[pb>>2]=v;Q=v+40|0;c[Kc>>2]=Q;R=c[v+60>>2]|0;c[za>>2]=R;S=c[v+64>>2]&65535;c[Aa>>2]=S;R=Q+((R+1|0)*40|0)|0;c[Fb>>2]=R;w=c[s>>2]|0;c[wc>>2]=w;c[Ba>>2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|0)+-1|0;break}}case 1022:{ee=0;p=c[pb>>2]|0;if(!p)s=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;else{while(1){r=c[p+4>>2]|0;if(!r)break;else p=r}s=(c[p+16>>2]|0)+((c[o+(n*20|0)+4>>2]|0)*40|0)|0}R=Rg(s)|0;S=s;c[S>>2]=R;c[S+4>>2]=C;S=s+8|0;b[S>>1]=e[S>>1]&48640|4;S=c[o+(n*20|0)+8>>2]|0;R=v+(S*40|0)|0;p=Rg(R)|0;r=C;c[R>>2]=p;c[R+4>>2]=r;S=v+(S*40|0)+8|0;b[S>>1]=e[S>>1]&48640|4;S=s;R=c[S+4>>2]|0;if((R|0)<(r|0)|((R|0)==(r|0)?(c[S>>2]|0)>>>0<p>>>0:0)){Q=s;c[Q>>2]=p;c[Q+4>>2]=r;Q=v;w=o;R=T;S=U;r=J}else{Q=v;w=o;R=T;S=U;r=J}break}case 1028:{ee=0;S=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;R=c[S+4>>2]|0;if((R|0)>0|(R|0)==0&(c[S>>2]|0)>>>0>0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1030:{ee=0;Q=c[o+(n*20|0)+12>>2]|0;R=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;S=R;Q=fw(c[S>>2]|0,c[S+4>>2]|0,Q|0,((Q|0)<0)<<31>>31|0)|0;S=C;c[R>>2]=Q;c[R+4>>2]=S;if((S|0)<0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1032:{ee=0;p=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;s=p;r=c[s>>2]|0;s=c[s+4>>2]|0;if((r|0)==0&(s|0)==0){Q=v;w=o;R=T;S=U;r=G}else{w=c[o+(n*20|0)+12>>2]|0;w=fw(w|0,((w|0)<0)<<31>>31|0,r|0,s|0)|0;Q=p;c[Q>>2]=w;c[Q+4>>2]=C;Q=v;w=o;R=T;S=U;r=G;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}break}case 1034:{ee=0;Q=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;R=Q;R=fw(c[R>>2]|0,c[R+4>>2]|0,-1,-1)|0;S=C;c[Q>>2]=R;c[Q+4>>2]=S;if((R|0)==0&(S|0)==0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1036:{ee=0;Q=v+((c[o+(n*20|0)+4>>2]|0)*40|0)|0;S=Q;R=c[S>>2]|0;S=c[S+4>>2]|0;P=fw(R|0,S|0,1,0)|0;c[Q>>2]=P;c[Q+4>>2]=C;if((R|0)==0&(S|0)==0){Q=v;w=o;R=T;S=U;n=(c[o+(n*20|0)+8>>2]|0)+-1|0}else{Q=v;w=o;R=T;S=U}break}case 1157:{ee=0;Q=v;w=o;R=T;S=U;n=(c[o+(p*20|0)+8>>2]|0)+-1|0;break}case 1158:{ee=0;if(c[o+(n*20|0)+4>>2]|0){b[Ud>>1]=b[Ud>>1]|8;Q=v;w=o;R=T;S=U;break}p=c[Sb>>2]|0;if(!p){Q=v;w=o;R=T;S=U}else{do{S=p+88|0;b[S>>1]=b[S>>1]|8;p=c[p+52>>2]|0}while((p|0)!=0);Q=v;w=o;R=T;S=U}break}case 1166:{ee=0;G=(c[s>>2]|0)+72|0;p=c[G>>2]|0;D:do if(p){while(1){if((c[p+4>>2]|0)==(x|0)?(c[p>>2]|0)==(z|0):0)break;p=c[p+12>>2]|0;if(!p){ee=1171;break D}}if(!p)ee=1171}else ee=1171;while(0);if((ee|0)==1171){ee=0;p=mg(16,0)|0;if(!p){p=n;o=7;q=t;ee=1309;break c}S=p+0|0;D=S+12|0;do{a[S>>0]=0;S=S+1|0}while((S|0)<(D|0));c[p+4>>2]=x;c[p>>2]=z;c[p+12>>2]=c[G>>2];c[G>>2]=p}p=p+8|0;if((d[p>>0]|0)<(w&255)){a[p>>0]=w;Q=v;w=o;R=T;S=U}else{Q=v;w=o;R=T;S=U}break}case 1213:{ee=0;c[pd>>2]=0;w=c[(c[o+(n*20|0)+16>>2]|0)+8>>2]|0;if(!w){p=n;o=6;q=t;ee=1309;break c}s=c[w>>2]|0;if(!s){p=n;o=6;q=t;ee=1309;break c}z=nc[c[s+24>>2]&127](w,pd)|0;Im(f,w);if(z){p=n;o=z;q=t;ee=1309;break c}c[c[pd>>2]>>2]=w;p=tm(f,c[o+(n*20|0)+4>>2]|0,0,-1,0)|0;if(!p){a[ce>>0]=1;hc[c[s+28>>2]&127](c[pd>>2]|0)|0;Q=v;w=o;R=T;S=U;break}else{c[p+32>>2]=c[pd>>2];Q=w+4|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=v;w=o;R=T;S=U;break}}case 1226:{ee=0;p=v+(z*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;Q=v;w=o;R=T;S=U;break}else{rg(x);Q=v;w=o;R=T;S=U;break}}case 1257:{ee=0;Q=r;c[Q>>2]=c[(c[(c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+4>>2]|0)+4>>2]|0)+44>>2];c[Q+4>>2]=0;Q=v;w=o;R=T;S=U;break}case 1258:{ee=0;w=c[(c[Td>>2]|0)+(c[o+(n*20|0)+4>>2]<<4)+4>>2]|0;p=c[o+(n*20|0)+12>>2]|0;r=c[w+4>>2]|0;if(!p)p=0;else{S=c[r+44>>2]|0;p=S>>>0<p>>>0?p:S}c[r+4>>2]=c[w>>2];r=(c[r>>2]|0)+156|0;if((p|0)>0)c[r>>2]=p;else p=c[r>>2]|0;Q=G;c[Q>>2]=p;c[Q+4>>2]=((p|0)<0)<<31>>31;Q=v;w=o;R=T;S=U;r=G;break}case 1264:{ee=0;n=c[o+(p*20|0)+8>>2]|0;n=(n|0)==0?p:n+-1|0;if((c[Pa>>2]|0)!=0?(b[Ud>>1]&512)==0:0){p=c[o+(p*20|0)+16>>2]|0;if(!p){p=c[_d>>2]|0;if(!p){Q=v;w=o;R=T;S=U;r=J;break}}c[Pd>>2]=0;r=c[f>>2]|0;z=c[r+88>>2]|0;c[cb>>2]=Kd;c[db>>2]=Kd;c[eb>>2]=0;c[fb>>2]=100;c[gb>>2]=z;a[hb>>0]=1;a[ib>>0]=0;c[nd>>2]=r;z=a[p>>0]|0;w=z<<24>>24==0;E:do if((c[r+160>>2]|0)>1){if(!w){w=z;while(1){r=p;do{r=r+1|0;if(w<<24>>24==10)break;w=a[r>>0]|0}while(w<<24>>24!=0);Ok(nd,42288,3);Ok(nd,p,r-p|0);w=a[r>>0]|0;if(!(w<<24>>24))break;else p=r}}}else if(!w){s=r+62|0;w=z;K=1;do{F:do if(!(w<<24>>24)){x=0;w=0}else{z=p;w=0;while(1){x=yn(z,ge)|0;if((c[ge>>2]|0)==135)break F;w=x+w|0;z=z+x|0;if(!(a[z>>0]|0)){x=0;break}}}while(0);Ok(nd,p,w);z=p+w|0;if(!x)break E;do if((a[z>>0]|0)==63)if((x|0)>1){zn(p+(w+1)|0,Pd)|0;z=c[Pd>>2]|0;break}else{c[Pd>>2]=K;z=K;break}else{z=mh(f,z,x)|0;c[Pd>>2]=z}while(0);p=p+(w+x)|0;K=z+1|0;G=z+-1|0;F=c[xb>>2]|0;z=F+(G*40|0)|0;x=e[F+(G*40|0)+8>>1]|0;do if(!(x&1)){if(x&4){Q=z;R=c[Q+4>>2]|0;S=ge;c[S>>2]=c[Q>>2];c[S+4>>2]=R;An(nd,0,19920,ge);break}if(x&8){h[k>>3]=+h[z>>3];c[ge>>2]=c[k>>2];c[ge+4>>2]=c[k+4>>2];An(nd,0,20272,ge);break}if(!(x&2)){if(x&16384){c[ge>>2]=c[z>>2];An(nd,0,42304,ge);break}Ok(nd,42320,2);B=c[F+(G*40|0)+12>>2]|0;if((B|0)>0){z=F+(G*40|0)+16|0;x=0;do{c[ge>>2]=d[(c[z>>2]|0)+x>>0];An(nd,0,42328,ge);x=x+1|0}while((x|0)!=(B|0))}Ok(nd,42336,1);break}else{B=a[s>>0]|0;if(B<<24>>24==1){S=c[F+(G*40|0)+16>>2]|0;c[ge>>2]=c[F+(G*40|0)+12>>2];c[ge+4>>2]=S;An(nd,0,42296,ge);break}S=Ld+0|0;D=S+40|0;do{c[S>>2]=0;S=S+4|0}while((S|0)<(D|0));c[kb>>2]=r;Tg(Ld,c[F+(G*40|0)+16>>2]|0,c[F+(G*40|0)+12>>2]|0,B,0)|0;S=c[lb>>2]|0;if(!((S&2|0)==0|(S&16711680|0)==65536))xn(Ld,1)|0;S=c[nb>>2]|0;c[ge>>2]=c[mb>>2];c[ge+4>>2]=S;An(nd,0,42296,ge);if((b[lb>>1]&9312)==0&(c[ob>>2]|0)==0)break;Mg(Ld);break}}else Ok(nd,20304,4);while(0);w=a[p>>0]|0}while(w<<24>>24!=0)}while(0);Q=pg(nd)|0;fc[c[Pa>>2]&15](c[jb>>2]|0,Q);ig(he,Q);Q=v;w=o;R=T;S=U;r=J}else{Q=v;w=o;R=T;S=U;r=J}break}}if((ee|0)==28){ee=0;v=o+(n*20|0)+4|0;p=c[v>>2]|0;if(p){u=v;ee=34;break}v=c[pb>>2]|0;if(!v){ee=30;break}c[pb>>2]=c[v+4>>2];c[qb>>2]=(c[qb
14 [a+(i+12)>>2]|0;do if((e|0)==(l|0)){f=a+(i+20)|0;g=c[f>>2]|0;if(!g){f=a+(i+16)|0;g=c[f>>2]|0;if(!g){j=0;break}}while(1){e=g+20|0;d=c[e>>2]|0;if(d){g=d;f=e;continue}e=g+16|0;d=c[e>>2]|0;if(!d)break;else{g=d;f=e}}if(f>>>0<h>>>0)Kb();else{c[f>>2]=0;j=g;break}}else{d=c[a+(i+8)>>2]|0;if(d>>>0<h>>>0)Kb();g=d+12|0;if((c[g>>2]|0)!=(l|0))Kb();f=e+8|0;if((c[f>>2]|0)==(l|0)){c[g>>2]=e;c[f>>2]=d;j=e;break}else Kb()}while(0);if(b){g=c[a+(i+28)>>2]|0;f=49368+(g<<2)|0;if((l|0)==(c[f>>2]|0)){c[f>>2]=j;if(!j){c[12267]=c[12267]&~(1<<g);u=l;k=m;break}}else{if(b>>>0<(c[12270]|0)>>>0)Kb();g=b+16|0;if((c[g>>2]|0)==(l|0))c[g>>2]=j;else c[b+20>>2]=j;if(!j){u=l;k=m;break}}f=c[12270]|0;if(j>>>0<f>>>0)Kb();c[j+24>>2]=b;g=c[a+(i+16)>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[j+16>>2]=g;c[g+24>>2]=j;break}while(0);g=c[a+(i+20)>>2]|0;if(g)if(g>>>0<(c[12270]|0)>>>0)Kb();else{c[j+20>>2]=g;c[g+24>>2]=j;u=l;k=m;break}else{u=l;k=m}}else{u=l;k=m}}else{u=g;k=o}while(0);if(u>>>0>=q>>>0)Kb();g=a+(o+-4)|0;f=c[g>>2]|0;if(!(f&1))Kb();if(!(f&2)){if((q|0)==(c[12272]|0)){l=(c[12269]|0)+k|0;c[12269]=l;c[12272]=u;c[u+4>>2]=l|1;if((u|0)!=(c[12271]|0))return;c[12271]=0;c[12268]=0;return}if((q|0)==(c[12271]|0)){l=(c[12268]|0)+k|0;c[12268]=l;c[12271]=u;c[u+4>>2]=l|1;c[u+l>>2]=l;return}h=(f&-8)+k|0;b=f>>>3;do if(f>>>0>=256){b=c[a+(o+16)>>2]|0;g=c[a+(o|4)>>2]|0;do if((g|0)==(q|0)){f=a+(o+12)|0;g=c[f>>2]|0;if(!g){f=a+(o+8)|0;g=c[f>>2]|0;if(!g){p=0;break}}while(1){e=g+20|0;d=c[e>>2]|0;if(d){g=d;f=e;continue}e=g+16|0;d=c[e>>2]|0;if(!d)break;else{g=d;f=e}}if(f>>>0<(c[12270]|0)>>>0)Kb();else{c[f>>2]=0;p=g;break}}else{f=c[a+o>>2]|0;if(f>>>0<(c[12270]|0)>>>0)Kb();e=f+12|0;if((c[e>>2]|0)!=(q|0))Kb();d=g+8|0;if((c[d>>2]|0)==(q|0)){c[e>>2]=g;c[d>>2]=f;p=g;break}else Kb()}while(0);if(b){g=c[a+(o+20)>>2]|0;f=49368+(g<<2)|0;if((q|0)==(c[f>>2]|0)){c[f>>2]=p;if(!p){c[12267]=c[12267]&~(1<<g);break}}else{if(b>>>0<(c[12270]|0)>>>0)Kb();g=b+16|0;if((c[g>>2]|0)==(q|0))c[g>>2]=p;else c[b+20>>2]=p;if(!p)break}g=c[12270]|0;if(p>>>0<g>>>0)Kb();c[p+24>>2]=b;f=c[a+(o+8)>>2]|0;do if(f)if(f>>>0<g>>>0)Kb();else{c[p+16>>2]=f;c[f+24>>2]=p;break}while(0);d=c[a+(o+12)>>2]|0;if(d)if(d>>>0<(c[12270]|0)>>>0)Kb();else{c[p+20>>2]=d;c[d+24>>2]=p;break}}}else{d=c[a+o>>2]|0;e=c[a+(o|4)>>2]|0;g=49104+(b<<1<<2)|0;if((d|0)!=(g|0)){if(d>>>0<(c[12270]|0)>>>0)Kb();if((c[d+12>>2]|0)!=(q|0))Kb()}if((e|0)==(d|0)){c[12266]=c[12266]&~(1<<b);break}if((e|0)!=(g|0)){if(e>>>0<(c[12270]|0)>>>0)Kb();f=e+8|0;if((c[f>>2]|0)==(q|0))n=f;else Kb()}else n=e+8|0;c[d+12>>2]=e;c[n>>2]=d}while(0);c[u+4>>2]=h|1;c[u+h>>2]=h;if((u|0)==(c[12271]|0)){c[12268]=h;return}else g=h}else{c[g>>2]=f&-2;c[u+4>>2]=k|1;c[u+k>>2]=k;g=k}f=g>>>3;if(g>>>0<256){e=f<<1;g=49104+(e<<2)|0;b=c[12266]|0;d=1<<f;if(b&d){d=49104+(e+2<<2)|0;b=c[d>>2]|0;if(b>>>0<(c[12270]|0)>>>0)Kb();else{r=d;s=b}}else{c[12266]=b|d;r=49104+(e+2<<2)|0;s=g}c[r>>2]=u;c[s+12>>2]=u;c[u+8>>2]=s;c[u+12>>2]=g;return}b=g>>>8;if(b)if(g>>>0>16777215)f=31;else{k=(b+1048320|0)>>>16&8;l=b<<k;j=(l+520192|0)>>>16&4;l=l<<j;f=(l+245760|0)>>>16&2;f=14-(j|k|f)+(l<<f>>>15)|0;f=g>>>(f+7|0)&1|f<<1}else f=0;d=49368+(f<<2)|0;c[u+28>>2]=f;c[u+20>>2]=0;c[u+16>>2]=0;b=c[12267]|0;e=1<<f;a:do if(b&e){d=c[d>>2]|0;if((f|0)==31)b=0;else b=25-(f>>>1)|0;b:do if((c[d+4>>2]&-8|0)!=(g|0)){f=g<<b;while(1){b=d+(f>>>31<<2)+16|0;e=c[b>>2]|0;if(!e)break;if((c[e+4>>2]&-8|0)==(g|0)){t=e;break b}else{f=f<<1;d=e}}if(b>>>0<(c[12270]|0)>>>0)Kb();else{c[b>>2]=u;c[u+24>>2]=d;c[u+12>>2]=u;c[u+8>>2]=u;break a}}else t=d;while(0);b=t+8|0;d=c[b>>2]|0;l=c[12270]|0;if(t>>>0>=l>>>0&d>>>0>=l>>>0){c[d+12>>2]=u;c[b>>2]=u;c[u+8>>2]=d;c[u+12>>2]=t;c[u+24>>2]=0;break}else Kb()}else{c[12267]=b|e;c[d>>2]=u;c[u+24>>2]=d;c[u+12>>2]=u;c[u+8>>2]=u}while(0);l=(c[12274]|0)+-1|0;c[12274]=l;if(!l)b=49520|0;else return;while(1){b=c[b>>2]|0;if(!b)break;else b=b+8|0}c[12274]=-1;return}function Uv(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){d=Sv(b)|0;return d|0}if(b>>>0>4294967231){c[(Db()|0)>>2]=12;d=0;return d|0}if(b>>>0<11)d=16;else d=b+11&-8;d=Yv(a+-8|0,d)|0;if(d){d=d+8|0;return d|0}d=Sv(b)|0;if(!d){d=0;return d|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;gw(d|0,a|0,(e>>>0<b>>>0?e:b)|0)|0;Tv(a);return d|0}function Vv(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!d){b=0;return b|0}else{f=d;e=b}while(1){d=a[e>>0]|0;b=a[c>>0]|0;if(d<<24>>24!=b<<24>>24)break;f=f+-1|0;if(!f){b=0;g=5;break}else{e=e+1|0;c=c+1|0}}if((g|0)==5)return b|0;b=(d&255)-(b&255)|0;return b|0}function Wv(b,c){b=b|0;c=c|0;var d=0,e=0;e=a[b>>0]|0;d=a[c>>0]|0;if(e<<24>>24==0?1:e<<24>>24!=d<<24>>24)c=e;else{do{b=b+1|0;c=c+1|0;e=a[b>>0]|0;d=a[c>>0]|0}while(!(e<<24>>24==0?1:e<<24>>24!=d<<24>>24));c=e}return (c&255)-(d&255)|0}function Xv(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0;if(!e){c=0;return c|0}f=a[b>>0]|0;a:do if(!(f<<24>>24))f=0;else while(1){e=e+-1|0;g=a[c>>0]|0;if(!(g<<24>>24!=0&(e|0)!=0&f<<24>>24==g<<24>>24))break a;b=b+1|0;c=c+1|0;f=a[b>>0]|0;if(!(f<<24>>24)){f=0;break}}while(0);c=(f&255)-(d[c>>0]|0)|0;return c|0}function Yv(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,m=0,n=0,o=0,p=0;o=a+4|0;p=c[o>>2]|0;j=p&-8;l=a+j|0;i=c[12270]|0;e=p&3;if(!((e|0)!=1&a>>>0>=i>>>0&a>>>0<l>>>0))Kb();d=a+(j|4)|0;g=c[d>>2]|0;if(!(g&1))Kb();if(!e){if(b>>>0<256){m=0;return m|0}if(j>>>0>=(b+4|0)>>>0?(j-b|0)>>>0<=c[12386]<<1>>>0:0){m=a;return m|0}m=0;return m|0}if(j>>>0>=b>>>0){e=j-b|0;if(e>>>0<=15){m=a;return m|0}c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=e|3;c[d>>2]=c[d>>2]|1;Zv(a+b|0,e);m=a;return m|0}if((l|0)==(c[12272]|0)){e=(c[12269]|0)+j|0;if(e>>>0<=b>>>0){m=0;return m|0}m=e-b|0;c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=m|1;c[12272]=a+b;c[12269]=m;m=a;return m|0}if((l|0)==(c[12271]|0)){e=(c[12268]|0)+j|0;if(e>>>0<b>>>0){m=0;return m|0}d=e-b|0;if(d>>>0>15){c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=d|1;c[a+e>>2]=d;e=a+(e+4)|0;c[e>>2]=c[e>>2]&-2;e=a+b|0}else{c[o>>2]=p&1|e|2;e=a+(e+4)|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[12268]=d;c[12271]=e;m=a;return m|0}if(g&2){m=0;return m|0}m=(g&-8)+j|0;if(m>>>0<b>>>0){m=0;return m|0}n=m-b|0;f=g>>>3;do if(g>>>0>=256){h=c[a+(j+24)>>2]|0;g=c[a+(j+12)>>2]|0;do if((g|0)==(l|0)){d=a+(j+20)|0;e=c[d>>2]|0;if(!e){d=a+(j+16)|0;e=c[d>>2]|0;if(!e){k=0;break}}while(1){f=e+20|0;g=c[f>>2]|0;if(g){e=g;d=f;continue}g=e+16|0;f=c[g>>2]|0;if(!f)break;else{e=f;d=g}}if(d>>>0<i>>>0)Kb();else{c[d>>2]=0;k=e;break}}else{f=c[a+(j+8)>>2]|0;if(f>>>0<i>>>0)Kb();e=f+12|0;if((c[e>>2]|0)!=(l|0))Kb();d=g+8|0;if((c[d>>2]|0)==(l|0)){c[e>>2]=g;c[d>>2]=f;k=g;break}else Kb()}while(0);if(h){e=c[a+(j+28)>>2]|0;d=49368+(e<<2)|0;if((l|0)==(c[d>>2]|0)){c[d>>2]=k;if(!k){c[12267]=c[12267]&~(1<<e);break}}else{if(h>>>0<(c[12270]|0)>>>0)Kb();e=h+16|0;if((c[e>>2]|0)==(l|0))c[e>>2]=k;else c[h+20>>2]=k;if(!k)break}d=c[12270]|0;if(k>>>0<d>>>0)Kb();c[k+24>>2]=h;e=c[a+(j+16)>>2]|0;do if(e)if(e>>>0<d>>>0)Kb();else{c[k+16>>2]=e;c[e+24>>2]=k;break}while(0);e=c[a+(j+20)>>2]|0;if(e)if(e>>>0<(c[12270]|0)>>>0)Kb();else{c[k+20>>2]=e;c[e+24>>2]=k;break}}}else{g=c[a+(j+8)>>2]|0;d=c[a+(j+12)>>2]|0;e=49104+(f<<1<<2)|0;if((g|0)!=(e|0)){if(g>>>0<i>>>0)Kb();if((c[g+12>>2]|0)!=(l|0))Kb()}if((d|0)==(g|0)){c[12266]=c[12266]&~(1<<f);break}if((d|0)!=(e|0)){if(d>>>0<i>>>0)Kb();e=d+8|0;if((c[e>>2]|0)==(l|0))h=e;else Kb()}else h=d+8|0;c[g+12>>2]=d;c[h>>2]=g}while(0);if(n>>>0<16){c[o>>2]=m|p&1|2;m=a+(m|4)|0;c[m>>2]=c[m>>2]|1;m=a;return m|0}else{c[o>>2]=p&1|b|2;c[a+(b+4)>>2]=n|3;m=a+(m|4)|0;c[m>>2]=c[m>>2]|1;Zv(a+b|0,n);m=a;return m|0}return 0}function Zv(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,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=a+b|0;h=c[a+4>>2]|0;do if(!(h&1)){j=c[a>>2]|0;if(!(h&3))return;n=a+(0-j)|0;m=j+b|0;i=c[12270]|0;if(n>>>0<i>>>0)Kb();if((n|0)==(c[12271]|0)){g=a+(b+4)|0;h=c[g>>2]|0;if((h&3|0)!=3){t=n;l=m;break}c[12268]=m;c[g>>2]=h&-2;c[a+(4-j)>>2]=m|1;c[q>>2]=m;return}e=j>>>3;if(j>>>0<256){f=c[a+(8-j)>>2]|0;g=c[a+(12-j)>>2]|0;h=49104+(e<<1<<2)|0;if((f|0)!=(h|0)){if(f>>>0<i>>>0)Kb();if((c[f+12>>2]|0)!=(n|0))Kb()}if((g|0)==(f|0)){c[12266]=c[12266]&~(1<<e);t=n;l=m;break}if((g|0)!=(h|0)){if(g>>>0<i>>>0)Kb();h=g+8|0;if((c[h>>2]|0)==(n|0))d=h;else Kb()}else d=g+8|0;c[f+12>>2]=g;c[d>>2]=f;t=n;l=m;break}d=c[a+(24-j)>>2]|0;f=c[a+(12-j)>>2]|0;do if((f|0)==(n|0)){f=16-j|0;g=a+(f+4)|0;h=c[g>>2]|0;if(!h){g=a+f|0;h=c[g>>2]|0;if(!h){k=0;break}}while(1){f=h+20|0;e=c[f>>2]|0;if(e){h=e;g=f;continue}f=h+16|0;e=c[f>>2]|0;if(!e)break;else{h=e;g=f}}if(g>>>0<i>>>0)Kb();else{c[g>>2]=0;k=h;break}}else{e=c[a+(8-j)>>2]|0;if(e>>>0<i>>>0)Kb();h=e+12|0;if((c[h>>2]|0)!=(n|0))Kb();g=f+8|0;if((c[g>>2]|0)==(n|0)){c[h>>2]=f;c[g>>2]=e;k=f;break}else Kb()}while(0);if(d){h=c[a+(28-j)>>2]|0;g=49368+(h<<2)|0;if((n|0)==(c[g>>2]|0)){c[g>>2]=k;if(!k){c[12267]=c[12267]&~(1<<h);t=n;l=m;break}}else{if(d>>>0<(c[12270]|0)>>>0)Kb();h=d+16|0;if((c[h>>2]|0)==(n|0))c[h>>2]=k;else c[d+20>>2]=k;if(!k){t=n;l=m;break}}f=c[12270]|0;if(k>>>0<f>>>0)Kb();c[k+24>>2]=d;h=16-j|0;g=c[a+h>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[k+16>>2]=g;c[g+24>>2]=k;break}while(0);h=c[a+(h+4)>>2]|0;if(h)if(h>>>0<(c[12270]|0)>>>0)Kb();else{c[k+20>>2]=h;c[h+24>>2]=k;t=n;l=m;break}else{t=n;l=m}}else{t=n;l=m}}else{t=a;l=b}while(0);i=c[12270]|0;if(q>>>0<i>>>0)Kb();h=a+(b+4)|0;g=c[h>>2]|0;if(!(g&2)){if((q|0)==(c[12272]|0)){m=(c[12269]|0)+l|0;c[12269]=m;c[12272]=t;c[t+4>>2]=m|1;if((t|0)!=(c[12271]|0))return;c[12271]=0;c[12268]=0;return}if((q|0)==(c[12271]|0)){m=(c[12268]|0)+l|0;c[12268]=m;c[12271]=t;c[t+4>>2]=m|1;c[t+m>>2]=m;return}j=(g&-8)+l|0;d=g>>>3;do if(g>>>0>=256){d=c[a+(b+24)>>2]|0;f=c[a+(b+12)>>2]|0;do if((f|0)==(q|0)){g=a+(b+20)|0;h=c[g>>2]|0;if(!h){g=a+(b+16)|0;h=c[g>>2]|0;if(!h){p=0;break}}while(1){f=h+20|0;e=c[f>>2]|0;if(e){h=e;g=f;continue}f=h+16|0;e=c[f>>2]|0;if(!e)break;else{h=e;g=f}}if(g>>>0<i>>>0)Kb();else{c[g>>2]=0;p=h;break}}else{e=c[a+(b+8)>>2]|0;if(e>>>0<i>>>0)Kb();h=e+12|0;if((c[h>>2]|0)!=(q|0))Kb();g=f+8|0;if((c[g>>2]|0)==(q|0)){c[h>>2]=f;c[g>>2]=e;p=f;break}else Kb()}while(0);if(d){h=c[a+(b+28)>>2]|0;g=49368+(h<<2)|0;if((q|0)==(c[g>>2]|0)){c[g>>2]=p;if(!p){c[12267]=c[12267]&~(1<<h);break}}else{if(d>>>0<(c[12270]|0)>>>0)Kb();g=d+16|0;if((c[g>>2]|0)==(q|0))c[g>>2]=p;else c[d+20>>2]=p;if(!p)break}f=c[12270]|0;if(p>>>0<f>>>0)Kb();c[p+24>>2]=d;g=c[a+(b+16)>>2]|0;do if(g)if(g>>>0<f>>>0)Kb();else{c[p+16>>2]=g;c[g+24>>2]=p;break}while(0);f=c[a+(b+20)>>2]|0;if(f)if(f>>>0<(c[12270]|0)>>>0)Kb();else{c[p+20>>2]=f;c[f+24>>2]=p;break}}}else{e=c[a+(b+8)>>2]|0;f=c[a+(b+12)>>2]|0;h=49104+(d<<1<<2)|0;if((e|0)!=(h|0)){if(e>>>0<i>>>0)Kb();if((c[e+12>>2]|0)!=(q|0))Kb()}if((f|0)==(e|0)){c[12266]=c[12266]&~(1<<d);break}if((f|0)!=(h|0)){if(f>>>0<i>>>0)Kb();g=f+8|0;if((c[g>>2]|0)==(q|0))o=g;else Kb()}else o=f+8|0;c[e+12>>2]=f;c[o>>2]=e}while(0);c[t+4>>2]=j|1;c[t+j>>2]=j;if((t|0)==(c[12271]|0)){c[12268]=j;return}else h=j}else{c[h>>2]=g&-2;c[t+4>>2]=l|1;c[t+l>>2]=l;h=l}g=h>>>3;if(h>>>0<256){e=g<<1;h=49104+(e<<2)|0;d=c[12266]|0;f=1<<g;if(d&f){f=49104+(e+2<<2)|0;e=c[f>>2]|0;if(e>>>0<(c[12270]|0)>>>0)Kb();else{r=f;s=e}}else{c[12266]=d|f;r=49104+(e+2<<2)|0;s=h}c[r>>2]=t;c[s+12>>2]=t;c[t+8>>2]=s;c[t+12>>2]=h;return}d=h>>>8;if(d)if(h>>>0>16777215)g=31;else{l=(d+1048320|0)>>>16&8;m=d<<l;k=(m+520192|0)>>>16&4;m=m<<k;g=(m+245760|0)>>>16&2;g=14-(k|l|g)+(m<<g>>>15)|0;g=h>>>(g+7|0)&1|g<<1}else g=0;f=49368+(g<<2)|0;c[t+28>>2]=g;c[t+20>>2]=0;c[t+16>>2]=0;e=c[12267]|0;d=1<<g;if(!(e&d)){c[12267]=e|d;c[f>>2]=t;c[t+24>>2]=f;c[t+12>>2]=t;c[t+8>>2]=t;return}d=c[f>>2]|0;if((g|0)==31)e=0;else e=25-(g>>>1)|0;a:do if((c[d+4>>2]&-8|0)!=(h|0)){g=h<<e;while(1){e=d+(g>>>31<<2)+16|0;f=c[e>>2]|0;if(!f)break;if((c[f+4>>2]&-8|0)==(h|0)){d=f;break a}else{g=g<<1;d=f}}if(e>>>0<(c[12270]|0)>>>0)Kb();c[e>>2]=t;c[t+24>>2]=d;c[t+12>>2]=t;c[t+8>>2]=t;return}while(0);e=d+8|0;f=c[e>>2]|0;m=c[12270]|0;if(!(d>>>0>=m>>>0&f>>>0>=m>>>0))Kb();c[f+12>>2]=t;c[e>>2]=t;c[t+8>>2]=f;c[t+12>>2]=d;c[t+24>>2]=0;return}function _v(){}function $v(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=b-d-(c>>>0>a>>>0|0)>>>0;return (C=b,a-c>>>0|0)|0}function aw(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b>>c;return a>>>c|(b&(1<<c)-1)<<32-c}C=(b|0)<0?-1:0;return b>>c-32|0}function bw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;if((e|0)>=20){d=d&255;h=b&3;i=d|d<<8|d<<16|d<<24;g=f&~3;if(h){h=b+4-h|0;while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}}while((b|0)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return b-e|0}function cw(b){b=b|0;var c=0;c=b;while(a[c>>0]|0)c=c+1|0;return c-b|0}function dw(b,c){b=b|0;c=c|0;var d=0,e=0;e=b+(cw(b)|0)|0;do{a[e+d>>0]=a[c+d>>0];d=d+1|0}while(a[c+(d-1)>>0]|0);return b|0}function ew(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){C=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}C=a<<c-32;return 0}function fw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (C=b+d+(c>>>0<a>>>0|0)>>>0,c|0)|0}function gw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((e|0)>=4096)return qbQb(a|0,b|0,c|0,d|0,e|0,f|0)|0}function bx(a){a=a|0;pa(12);return 0}function cx(a){a=a|0;return Tb(a|0)|0}function dx(a){a=a|0;return rb(a|0)|0}function ex(a){a=a|0;return db(a|0)|0}function fx(a,b,c){a=a|0;b=b|0;c=c|0;qa(13)}function gx(){ra(14)}function hx(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;sa(15);return 0}function ix(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ta(16);return 0}function jx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;ua(17)}function kx(a,b){a=a|0;b=b|0;va(18);return 0}function lx(a,b){a=a|0;b=b|0;return ab(a|0,b|0)|0}function mx(a,b){a=a|0;b=b|0;return Sb(a|0,b|0)|0}function nx(a,b){a=a|0;b=b|0;return Eb(a|0,b|0)|0}function ox(a,b){a=a|0;b=b|0;return bb(a|0,b|0)|0}function px(a,b){a=a|0;b=b|0;return vb(a|0,b|0)|0}function qx(a,b){a=a|0;b=b|0;return tb(a|0,b|0)|0}function rx(a,b){a=a|0;b=b|0;return wb(a|0,b|0)|0}function sx(a,b){a=a|0;b=b|0;return Pb(a|0,b|0)|0}function tx(a,b,c){a=a|0;b=b|0;c=+c;wa(19);return 0}function ux(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;xa(20);return 0}