v8/test/mjsunit/asm/sqlite3/sqlite.js

19 lines
1.2 MiB
JavaScript
Raw Normal View History

var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function";var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=nodePath["resolve"](filename)){filename=path.join(__dirname,"..","src",filename);ret=nodeFS["readFileSync"](filename)}if(ret&&!binary)ret=ret.toString();return ret};Module["readBinary"]=function readBinary(filename){return Module["read"](filename,true)};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}))}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available (jsc?)"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.log(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}var Runtime={setTempRet0:(function(value){tempRet0=value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeType
var asm=(function(global,env,buffer) {
"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;
// EMSCRIPTEN_START_FUNCS
function dh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[d>>2]|0;l=c[d+80>>2]|0;h=d+44|0;do if(!(c[h>>2]|0)){c[k+52>>2]=l;e=c[k+236>>2]|0;if(e){d=e+8|0;if(!(b[d>>1]&9312)){b[d>>1]=1;break}else{rg(e);break}}}else{i=k+65|0;j=a[i>>0]|0;d=c[3164]|0;if(d)jc[d&3]();g=k+236|0;d=c[g>>2]|0;do if(!d){d=ih(k,40,0)|0;if(!d){c[g>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));b[d+8>>1]=1;c[d+32>>2]=k;c[g>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Tg(d,c[h>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)jc[d&3]();a[i>>0]=j;c[k+52>>2]=l}while(0);return l|0}function eh(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;c[g>>2]=0;if(!((Dh(a)|0)==0|(b|0)==0)){k=c[a+20>>2]|0;if((k|0)>0){l=c[a+16>>2]|0;n=0;do{m=c[l+(n<<4)+4>>2]|0;if(m)c[(c[m+4>>2]|0)+4>>2]=c[m>>2];n=n+1|0}while((n|0)!=(k|0))}k=Bn(a,b,d,e,f,g,h)|0;if((k|0)==17){id(c[g>>2]|0)|0;k=Bn(a,b,d,e,f,g,h)|0}}else{c[k>>2]=105892;c[k+4>>2]=10788;Zc(21,13648,k);k=21}i=o;return k|0}function fh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[f>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{Wl((c[e>>2]|0)+(a*40|0)|0,(c[d>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[f>>1]|0))}return}function gh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=ih(b,e,0)|0;if(d)gw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function hh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a+8>>2]|0;if((d|0)>=1){bh(f,d)|0;b[f+8>>1]=8192;c[f>>2]=c[a+4>>2];e=f+16|0;a=c[e>>2]|0;if(!a)e=0;else{bw(a|0,0,d|0)|0;e=c[e>>2]|0}}else{e=f+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else rg(f);c[f+16>>2]=0;e=0}return e|0}function ih(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[i>>0]|0)){do if(a[b+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[b+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[g>>2]=(c[g>>2]|0)+1;break}h=b+272|0;g=c[h>>2]|0;if(!g){g=b+268|0;c[g>>2]=(c[g>>2]|0)+1;break}c[h>>2]=c[g>>2];f=b+252|0;h=c[f>>2]|0;d=h+1|0;c[f>>2]=d;f=b+260|0;c[f>>2]=(c[f>>2]|0)+1;f=b+256|0;if((h|0)>=(c[f>>2]|0))c[f>>2]=d;break a}while(0);g=mg(d,f)|0;if(!g){a[i>>0]=1;g=0}}else g=0}else g=mg(d,f)|0;while(0);return g|0}function jh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[a+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[a+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[a>>2]|0;if((f|0)!=0?(c[f+52>>2]=25,g=c[f+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;f=41496;break}else{rg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function kh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=lh(a,e)|0;if(!j)if(!f)j=0;else{e=(c[a+60>>2]|0)+((e+-1|0)*40|0)|0;j=Tg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Ul(e,d[(c[a>>2]|0)+62>>0]|0)|0;j=c[a>>2]|0;c[j+52>>2]=e;h=c[j+236>>2]|0;do if(h){g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);j=c[a>>2]|0;break}}while(0);j=Kg(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))_b[h&31](f)}return j|0}function lh(a,d){a=a|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();g=k;do if(!(Yg(a)|0)){if((c[a+40>>2]|0)==-1108210269?(c[a+76>>2]|0)<=-1:0){if((d|0)>=1?(b[a+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[a+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[e>>1]&9312)==0?(c[g+(h*40|0)+24>>2]|0)==0:0))Mg(f);b[e>>1]=1;f=c[a>>2]|0;c[f+52>>2]=0;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);g=a+88|0;e=b[g>>1]|0;if(!(e&256)){e=0;break}f=c[a+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[g>>1]=e|8;e=0;break}e=c[a>>2]|0;c[e+52>>2]=25;e=c[e+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;e=25;break}else{rg(e);e=25;break}}f=c[a>>2]|0;c[f+52>>2]=21;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);c[g>>2]=c[a+168>>2];Zc(21,41456,g);c[g>>2]=69987;c[g+4>>2]=10788;Zc(21,13648,g);e=21}else{c[g>>2]=69979;c[g+4>>2]=10788;Zc(21,13648,g);e=21}while(0);i=k;return e|0}function mh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[d+70>>1]|0,i<<16>>16>0):0){g=c[d+64>>2]|0;d=0;while(1){h=c[g+(d<<2)>>2]|0;if(((h|0)!=0?(Xv(h
function Vr(f,g,k,l,m){f=f|0;g=g|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+16|0;if((i|0)>=(j|0))ba();u=x;v=x+8|0;c[v>>2]=0;a:do if(!g){c[m>>2]=0;n=0}else{o=a[g>>0]|0;if(o<<24>>24==-98)do{g=c[g+12>>2]|0;o=a[g>>0]|0}while(o<<24>>24==-98);if(o<<24>>24==-97)q=d[g+38>>0]|0;else q=o&255;if((q|0)==38){p=Tq(c[g+8>>2]|0,0)|0;n=Vr(f,c[g+12>>2]|0,k,p,m)|0;o=c[m>>2]|0;if(!o)break;cm(o,p,1);bm(c[m>>2]|0,l,1);break}else if((q|0)==157){g=c[g+12>>2]|0;q=a[g>>0]|0;if((q&-2)<<24>>24==-124){p=-1;o=-1;t=q&255;q=26016;w=12}else w=30}else{p=1;o=0;t=q;q=10360;w=12}b:do if((w|0)==12){c:do switch(t|0){case 134:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;o=(c[g+8>>2]|0)+2|0;g=o;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;v=(g-o&1073741823)+-1|0;Tg(n,Ut(f,o,v)|0,(v|0)/2|0,0,75)|0;o=n;n=0;break b}case 157:{g=c[g+12>>2]|0;w=30;break b}case 101:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}else{r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;o=n;n=0;break b}}case 97:case 132:case 133:{n=ih(f,40,0)|0;if(!n){c[v>>2]=n;break c}r=n+0|0;s=r+40|0;do{a[r>>0]=0;r=r+1|0}while((r|0)<(s|0));b[n+8>>1]=1;c[n+32>>2]=f;c[v>>2]=n;do if(!(c[g+4>>2]&1024)){p=c[g+8>>2]|0;c[u>>2]=q;c[u+4>>2]=p;p=qh(f,19456,u)|0;if(!p)break c;if(n)Tg(n,p,-1,1,75)|0}else{q=c[g+8>>2]|0;q=ow(q|0,((q|0)<0)<<31>>31|0,p|0,o|0)|0;p=C;g=n+8|0;if(!(b[g>>1]&9312)){v=n;c[v>>2]=q;c[v+4>>2]=p;b[g>>1]=4;break}else{Vg(n,q,p);break}}while(0);if((t&-2|0)==132&l<<24>>24==65)bm(n,67,1);else bm(n,l,1);o=n+8|0;g=e[o>>1]|0;if(g&12)b[o>>1]=g&65533;if(k<<24>>24==1){o=n;n=0;break b}o=n;n=Ul(n,k&255)|0;break b}default:{o=0;n=0;break b}}while(0);a[f+65>>0]=1;ig(f,0);Ih(n);n=7;break a}while(0);if((w|0)==30){u=(Vr(f,g,k,l,v)|0)==0;o=c[v>>2]|0;if(u&(o|0)!=0){kp(o);p=o+8|0;g=b[p>>1]|0;do if(!(g&8)){q=o;n=c[q>>2]|0;q=c[q+4>>2]|0;if((n|0)==0&(q|0)==-2147483648){h[o>>3]=9223372036854775808.0;b[p>>1]=g&48640|8;break}else{u=$v(0,0,n|0,q|0)|0;v=o;c[v>>2]=u;c[v+4>>2]=C;break}}else h[o>>3]=-+h[o>>3];while(0);bm(o,l,k);n=0}else n=0}c[m>>2]=o}while(0);i=x;return n|0}function Wr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if((d|0)!=0?(g=b+19|0,h=a[g>>0]|0,(h&255)<8):0){f=0;e=b+116|0;while(1){if((c[e+12>>2]|0)==(d|0)){f=5;break}f=f+1|0;if((f|0)>=10){f=7;break}else e=e+20|0}if((f|0)==5){a[e+6>>0]=1;break}else if((f|0)==7){a[g>>0]=h+1<<24>>24;c[b+((h&255)<<2)+24>>2]=d;break}}while(0);return}function Xr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+32|0;if((i|0)>=(j|0))ba();n=o;e=b+484|0;l=c[e>>2]|0;m=c[b>>2]|0;do if((l|0)!=0?(Zr(b),c[b+512>>2]=0,(c[l+52>>2]|0)>=1):0){if(a[m+145>>0]|0)if(!(Ek((c[l+68>>2]|0)+8|0,c[l>>2]|0,l)|0)){c[e>>2]=0;break}else{a[m+65>>0]=1;break}if(d)c[b+500>>2]=(c[d>>2]|0)-(c[b+496>>2]|0)+(c[d+4>>2]|0);c[n>>2]=b+496;k=qh(m,25256,n)|0;d=c[l+68>>2]|0;a:do if(d){f=c[m+20>>2]|0;if((f|0)>0){g=c[m+16>>2]|0;h=0;while(1){e=h+1|0;if((c[g+(h<<4)+12>>2]|0)==(d|0)){e=h;break a}if((e|0)<(f|0))h=e;else break}}else e=0}else e=-1e6;while(0);g=c[l>>2]|0;h=c[b+384>>2]|0;c[n>>2]=c[(c[m+16>>2]|0)+(e<<4)>>2];c[n+4>>2]=(e|0)==1?13184:13208;c[n+8>>2]=g;c[n+12>>2]=g;c[n+16>>2]=k;c[n+20>>2]=h;xr(b,25280,n);ig(m,k);k=Kq(b)|0;zr(b,e);sh(k,144,0,0,0)|0;c[n>>2]=c[l>>2];Er(k,e,qh(m,25368,n)|0);b=b+72|0;n=(c[b>>2]|0)+1|0;c[b>>2]=n;b=c[l>>2]|0;th(k,sh(k,97,0,n,0)|0,b,0);sh(k,147,e,n,0)|0}while(0);i=o;return}function Yr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+52|0;i=c[h>>2]|0;e=i+1|0;c[h>>2]=e;g=(i<<2)+8|0;f=b+56|0;g=no(a,c[f>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!g){if((i|0)>0){b=0;do{ig(a,c[(c[f>>2]|0)+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=(i|0))}ig(a,d);ig(a,c[f>>2]|0);c[h>>2]=0}else{c[g+(i<<2)>>2]=d;c[g+(e<<2)>>2]=0}c[f>>2]=g;return}function Zr(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+512>>2]|0;if((d|0)!=0?(g=c[b+484>>2]|0,(g|0)!=0):0){e=c[b+516>>2]|0;f=c[b>>2]|0;b=fw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=ih(f,b,C)|0;if(!b)b=0;else{gw(b|0,d|0,e|0)|0;a[b+e>>0]=0}Yr(f,g,b)}return}function _r(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;i
function Pt(b,d){b=b|0;d=d|0;var e=0;if(d&1)if(!(c[b+12>>2]|0))d=(c[b+20>>2]|0)==0?12:28;else d=28;else d=48;if((c[b+4>>2]&1024|0)==0?(e=c[b+8>>2]|0,(e|0)!=0):0){b=e;while(1)if(!(a[b>>0]|0))break;else b=b+1|0;d=(d|1)+(b-e&1073741823)|0}return d+7&-8|0}function Qt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=e+20|0;d=c[h>>2]|0;if((d|0)>0){g=0;f=c[e+16>>2]|0;while(1){e=c[(c[f+12>>2]|0)+16>>2]|0;if(e){d=e;do{Rt(a,c[d+8>>2]|0,b);d=c[d>>2]|0}while((d|0)!=0);d=c[h>>2]|0}g=g+1|0;if((g|0)>=(d|0))break;else f=f+16|0}}return}function Rt(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=c[d+8>>2]|0;if(f){m=(e|0)==0;k=d+68|0;l=a+408|0;do{a:do if(!m){i=f+32|0;d=b[f+48>>1]|0;if(d<<16>>16){h=c[f+4>>2]|0;d=d&65535;g=0;do{if((b[h+(g<<1)>>1]|0)>-1?($c(c[(c[i>>2]|0)+(g<<2)>>2]|0,e)|0)==0:0){n=9;break a}g=g+1|0}while((g|0)<(d|0))}}else n=9;while(0);if((n|0)==9){n=0;d=c[a>>2]|0;g=c[k>>2]|0;b:do if(g){j=c[d+20>>2]|0;if((j|0)>0){h=c[d+16>>2]|0;i=0;while(1){d=i+1|0;if((c[h+(i<<4)+12>>2]|0)==(g|0)){d=i;break b}if((d|0)<(j|0))i=d;else break}}else d=0}else d=-1e6;while(0);j=c[l>>2]|0;wr(a,d);j=((j|0)==0?a:j)+328|0;c[j>>2]=c[j>>2]|1<<d;rs(a,f,-1)}f=c[f+20>>2]|0}while((f|0)!=0)}return}function St(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[(c[(c[a>>2]|0)+16>>2]|0)+(b<<4)+12>>2]|0;g=c[a+408>>2]|0;wr(a,b);g=((g|0)==0?a:g)+328|0;c[g>>2]=c[g>>2]|1<<b;g=a+68|0;e=c[g>>2]|0;c[g>>2]=e+3;dv(a,b,e,0,0);f=(c[a+72>>2]|0)+1|0;g=c[g>>2]|0;d=c[d+16>>2]|0;if(d)do{ev(a,c[d+8>>2]|0,0,e,f,g);d=c[d>>2]|0}while((d|0)!=0);fv(a,b);return}function Tt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=c[a>>2]|0;h=c[b+68>>2]|0;a:do if(h){i=c[e+20>>2]|0;if((i|0)>0){f=c[e+16>>2]|0;e=0;while(1){g=e+1|0;if((c[f+(e<<4)+12>>2]|0)==(h|0)){g=e;break a}if((g|0)<(i|0))e=g;else break}}else g=0}else g=-1e6;while(0);e=c[a+408>>2]|0;wr(a,g);e=((e|0)==0?a:e)+328|0;c[e>>2]=c[e>>2]|1<<g;e=a+68|0;f=c[e>>2]|0;c[e>>2]=f+3;if(!d)dv(a,g,f,c[b>>2]|0,28544);else dv(a,g,f,c[d>>2]|0,28536);ev(a,b,d,f,(c[a+72>>2]|0)+1|0,c[e>>2]|0);fv(a,g);return}function Ut(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=((d|0)/2|0)+1|0;f=ih(b,f,((f|0)<0)<<31>>31)|0;b=d+-1|0;if(f){if((b|0)>0){e=0;do{g=a[c+e>>0]|0;h=a[c+(e|1)>>0]|0;a[f+((e|0)/2|0)>>0]=(0-(h>>>6&1)&9)+h&15|(0-(g>>>6&1)&9)+g<<4;e=e+2|0}while((e|0)<(b|0));b=(d&-2|0)/2|0}else b=0;a[f+b>>0]=0}return f|0}function Vt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();h=m+8|0;l=m;k=c[b+8>>2]|0;g=d+8|0;do if(!(c[d+4>>2]&1024)){g=c[g>>2]|0;d=fi(g,l)|0;if((d|0)!=0?!((d|0)==2&(e|0)!=0):0)if(!(Bc(g,29144,2)|0)){c[h>>2]=g;ph(b,29152,h);break}else{Wt(k,g,e,f);break}if(e){if((d|0)==2){d=0;g=-2147483648}else{d=l;d=$v(0,0,c[d>>2]|0,c[d+4>>2]|0)|0;g=C}e=l;c[e>>2]=d;c[e+4>>2]=g}d=ih(c[k>>2]|0,8,0)|0;if(d){e=l;h=c[e>>2]|0;e=c[e+4>>2]|0;g=d;b=g;a[b>>0]=h;a[b+1>>0]=h>>8;a[b+2>>0]=h>>16;a[b+3>>0]=h>>24;g=g+4|0;a[g>>0]=e;a[g+1>>0]=e>>8;a[g+2>>0]=e>>16;a[g+3>>0]=e>>24}th(k,sh(k,26,0,f,0)|0,d,-13)}else{d=c[g>>2]|0;sh(k,25,(e|0)==0?d:0-d|0,f,0)|0}while(0);i=m;return}function Wt(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,k=0,l=0,m=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;if(d){g=d;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;Pl(d,k,g-d&1073741823,1)|0;if(e)h[k>>3]=-+h[k>>3];g=ih(c[b>>2]|0,8,0)|0;if(g){d=k;m=c[d>>2]|0;d=c[d+4>>2]|0;e=g;k=e;a[k>>0]=m;a[k+1>>0]=m>>8;a[k+2>>0]=m>>16;a[k+3>>0]=m>>24;e=e+4|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24}th(b,sh(b,133,0,f,0)|0,g,-12)}i=l;return}function Xt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();g=m;a:do if(!d)k=0;else while(1){f=c[d+4>>2]|0;if(!(f&4096)){k=d;break a}if(!(f&262144))d=d+12|0;else d=c[(c[d+20>>2]|0)+4>>2]|0;d=c[d>>2]|0;if(!d){k=0;break}}while(0);b:do if(((a[b+23>>0]|0)!=0?(a[k>>0]|0)!=-97:0)?(c[g+0>>2]=0,c[g+4>>2]=0,c[g+8>>2]=0,c[g+12>>2]=0,c[g+16>>2]=0,c[g+20>>2]=0,f=g+20|0,a[f>>0]=2,c[g>>2]=78,c[g+4>>2]=79,c[g+24>>2]=0,ns(g,k)|0,(a[f>>0]|0)!=0):0){f=c[b+316>>2]|0;c[e>>2]=0;c:do if((f|0)!=0?(h=c[f>>2]|0,(h|0)>0):0){d=h;f=c[f+4>>2]|0;while(1){if((a[f+13>>0]&4)!=0?(yu(c[f>>2]|0,k,-1)|0)==0:0)break;d=d+-1|0;if
function Pn(d,f,g,h,k,l,m,n,o){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,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;aa=i;i=i+160|0;if((i|0)>=(j|0))ba();O=aa+16|0;K=aa+152|0;M=aa+48|0;J=aa+40|0;N=aa+36|0;L=aa+32|0;R=aa+8|0;Q=aa;W=aa+28|0;_=aa+24|0;c[_>>2]=0;do if(!(a[d+46>>0]|0)){$=d+43|0;if((a[$>>0]|0)==0?(p=c[d+4>>2]|0,p=lc[c[(c[p>>2]|0)+56>>2]&31](p,1,1,10)|0,(p|0)!=0):0)break;Z=d+45|0;a[Z>>0]=1;a:do if(!f){t=0;X=11}else{r=d+4|0;p=(g|0)!=0;while(1){if(a[$>>0]|0)break;t=c[r>>2]|0;t=lc[c[(c[t>>2]|0)+56>>2]&31](t,0,1,10)|0;if(!(p&(t|0)==5)){X=9;break}if(!(hc[g&127](h)|0)){t=0;g=0;X=11;break a}}if((X|0)==9)if((t|0)==5){t=0;g=0;X=11;break}else if(t){Y=f;break}a[d+44>>0]=1;t=f;X=11}while(0);if((X|0)==11){Y=t;t=jq(d,_)|0}do if(!t){V=d+68|0;t=b[d+66>>1]|0;if((c[V>>2]|0)!=0?(U=t&65535,(U<<16&65536|U&65024|0)!=(l|0)):0){c[O>>2]=51863;c[O+4>>2]=10788;Zc(11,13600,O);q=11;break}S=t&65535;S=S<<16&65536|S&65024;U=d+32|0;T=(c[c[U>>2]>>2]|0)+96|0;w=c[V>>2]|0;b:do if((c[T>>2]|0)>>>0<w>>>0){H=(w+33|0)>>>12;I=H+1|0;l=w<<1;v=l+28+(H*20|0)|0;p=Pc(v)|0;c:do if(!p){t=7;p=0}else{bw(p|0,0,v|0)|0;v=p+4|0;c[v>>2]=I;l=Pc(w>>>0>4096?8192:l)|0;do if(l){G=p+8|0;u=0;while(1){t=Lo(d,u,J,L,N)|0;if(t){X=21;break}F=(c[L>>2]|0)+4|0;c[L>>2]=F;if((u|0)==(H|0)){E=c[N>>2]|0;t=E;E=w-E|0}else{t=c[N>>2]|0;E=(c[J>>2]|0)-F>>2}r=G+((c[v>>2]|0)*20|0)|0;D=r+(t<<1)|0;B=t+1|0;c[N>>2]=B;if((E|0)>0){y=0;do{b[r+(y+t<<1)>>1]=y;y=y+1|0}while((y|0)!=(E|0));c[O>>2]=0;c[K>>2]=0;z=M+0|0;y=z+104|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(y|0));A=0;do{c[O>>2]=1;z=r+(A+t<<1)|0;c[K>>2]=z;if(!(A&1)){x=1;y=0}else{y=0;do{kq(F,c[M+(y<<3)+4>>2]|0,c[M+(y<<3)>>2]|0,K,O,l);y=y+1|0}while((1<<y&A|0)!=0);x=c[O>>2]|0;z=c[K>>2]|0}c[M+(y<<3)+4>>2]=z;c[M+(y<<3)>>2]=x;A=A+1|0}while((A|0)!=(E|0));y=y+1|0;if((y|0)<13)X=34}else{c[O>>2]=0;c[K>>2]=0;z=M+0|0;y=z+104|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(y|0));y=1;X=34}if((X|0)==34){while(1){X=0;if(1<<y&E)kq(F,c[M+(y<<3)+4>>2]|0,c[M+(y<<3)>>2]|0,K,O,l);y=y+1|0;if((y|0)==13)break;else X=34}x=c[O>>2]|0}c[G+(u*20|0)+16>>2]=B;c[G+(u*20|0)+12>>2]=x;c[G+(u*20|0)+4>>2]=D;c[G+(u*20|0)+8>>2]=F;u=u+1|0;if((u|0)>=(I|0)){X=39;break}}if((X|0)==21){Sc(l);break}else if((X|0)==39){Sc(l);t=0;break c}}else{Sc(0);t=7}while(0);Sc(p)}while(0);if(!t){O=d+72|0;N=c[O>>2]|0;M=d+4|0;x=1;w=c[V>>2]|0;t=0;while(1){l=T+(x<<2)+4|0;r=c[l>>2]|0;d:do if(w>>>0>r>>>0){v=x+3|0;u=(g|0)!=0;while(1){if(a[$>>0]|0)break;t=c[M>>2]|0;t=lc[c[(c[t>>2]|0)+56>>2]&31](t,v,1,10)|0;if(!(u&(t|0)==5)){X=49;break}if(!(hc[g&127](h)|0)){g=0;t=5;break d}}if((X|0)==49){X=0;if((t|0)==5){g=0;t=5;break}else if(t){q=t;X=100;break b}}c[l>>2]=(x|0)==1?w:-1;if(!(a[$>>0]|0)){r=c[M>>2]|0;lc[c[(c[r>>2]|0)+56>>2]&31](r,v,1,9)|0;r=w;t=0}else{r=w;t=0}}else r=w;while(0);x=x+1|0;if((x|0)>=5){I=r;break}else w=r}e:do if((c[T>>2]|0)>>>0<I>>>0){t=(g|0)!=0;while(1){if(a[$>>0]|0)break;r=c[M>>2]|0;r=lc[c[(c[r>>2]|0)+56>>2]&31](r,3,1,10)|0;if(!(t&(r|0)==5)){s=r;X=58;break}if(!(hc[g&127](h)|0)){s=5;break e}}if((X|0)==58?(s|0)!=0:0)break;F=c[T>>2]|0;G=(k|0)!=0;if(G?(P=c[d+8>>2]|0,P=nc[c[(c[P>>2]|0)+20>>2]&127](P,k)|0,(P|0)!=0):0)s=P;else X=61;f:do if((X|0)==61){P=ow(N|0,0,S|0,0)|0;s=Q;c[s>>2]=P;c[s+4>>2]=C;s=c[M>>2]|0;s=nc[c[(c[s>>2]|0)+24>>2]&127](s,R)|0;if(!s){P=R;K=c[P+4>>2]|0;R=Q;L=c[R+4>>2]|0;if((K|0)<(L|0)|((K|0)==(L|0)?(c[P>>2]|0)>>>0<(c[R>>2]|0)>>>0:0)){R=c[M>>2]|0;Yb[c[(c[R>>2]|0)+40>>2]&63](R,5,Q)|0}B=p+4|0;D=S|24;E=d+8|0;t=c[B>>2]|0;g:do if((t|0)>0){s=0;while(1){A=c[p>>2]|0;z=-1;h:while(1){i:while(1){t=t+-1|0;x=p+(t*20|0)+8|0;l=c[x>>2]|0;r=c[p+(t*20|0)+20>>2]|0;j:do if((l|0)<(r|0)){w=c[p+(t*20|0)+12>>2]|0;y=c[p+(t*20|0)+16>>2]|0;while(1){u=e[w+(l<<1)>>1]|0;v=c[y+(u<<2)>>2]|0;if(v>>>0>A>>>0)break;l=l+1|0;c[x>>2]=l;if((l|0)>=(r|0))break j}if(v>>>0<z>>>0)break i}while(0);if((t|0)<=0){l=s;t=z;break h}}s=(c[p+(t*20|0)+24>>2]|0)+u|0;if((t|0)>0)z=v;else{l=s;t=v;break}}c[p>>2]=t;if((t|0)==-1)break g;if(!(l>>>0<=F>>>0|l>>>0>I>>>0|t>>>0>N>>>0)){s=ow(l+-1|0,0,D|0,0)|0;s=fw(s|0,C|0,56,0)|0;R=c[E>>2]|0;s=pc[c[(c[R>>2]|
function yl(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();n=q;p=b+16|0;if((d[p>>0]|0)<2?(d[b+17>>0]|0)<2:0)g=0;else{_o(b);o=b+64|0;l=c[o>>2]|0;h=c[l>>2]|0;do if(!h)h=0;else{if((h|0)==14696){Ci(l,0,0)|0;c[l>>2]=0;h=0;break}k=a[b+5>>0]|0;if(k<<24>>24==3){k=b+72|0;n=k;if(!((c[n>>2]|0)==0&(c[n+4>>2]|0)==0)){h=Yb[c[h+16>>2]&63](l,0,0)|0;if(!h)if(!(a[b+8>>0]|0))h=0;else{h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[b+11>>0]|0)|0}}else h=0;o=k;c[o>>2]=0;c[o+4>>2]=0;break}else if(k<<24>>24!=1?(a[b+4>>0]|0)==0|k<<24>>24==5:0){o=(a[b+12>>0]|0)==0;hc[c[h+4>>2]&127](l)|0;c[l>>2]=0;if(!o){h=0;break}h=c[b>>2]|0;h=Yb[c[h+28>>2]&63](h,c[b+172>>2]|0,0)|0;break}m=b+72|0;k=m;if(!((c[k>>2]|0)==0&(c[k+4>>2]|0)==0)){g=b+160|0;k=c[g>>2]|0;g=c[g+4>>2]|0;if((e|0)!=0|(k|0)==0&(g|0)==0)h=Yb[c[h+16>>2]&63](l,0,0)|0;else h=pc[c[h+12>>2]&31](l,14664,28,0,0)|0;if(!h){if(!(a[b+7>>0]|0)){h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+20>>2]&127](h,d[b+11>>0]|16)|0}else h=0;if((h|0)==0&((g|0)>0|(g|0)==0&k>>>0>0)){h=c[o>>2]|0;h=nc[c[(c[h>>2]|0)+24>>2]&127](h,n)|0;l=c[n+4>>2]|0;if((h|0)==0&((l|0)>(g|0)|((l|0)==(g|0)?(c[n>>2]|0)>>>0>k>>>0:0))){h=c[o>>2]|0;h=Yb[c[(c[h>>2]|0)+16>>2]&63](h,k,g)|0}}}}else h=0;o=m;c[o>>2]=0;c[o+4>>2]=0}while(0);k=b+56|0;ai(c[k>>2]|0);c[k>>2]=0;c[b+44>>2]=0;k=b+204|0;g=c[k>>2]|0;e=c[g>>2]|0;if(e){do{tl(e);e=c[g>>2]|0}while((e|0)!=0);g=c[k>>2]|0}k=b+24|0;$o(g,c[k>>2]|0);l=b+208|0;g=c[l>>2]|0;if(!g){if((h|0)==0&(f|0)!=0){g=c[k>>2]|0;if((c[b+32>>2]|0)>>>0>g>>>0)h=xl(b,g)|0;else h=0}}else{e=g+44|0;if(a[e>>0]|0){if(!(a[g+43>>0]|0)){o=c[g+4>>2]|0;lc[c[(c[o>>2]|0)+56>>2]&31](o,0,1,9)|0}a[e>>0]=0;a[g+47>>0]=0}}if((h|0)==0&(f|0)!=0){g=c[b+60>>2]|0;h=c[g>>2]|0;if(!h)k=0;else{k=Yb[c[h+40>>2]&63](g,22,0)|0;k=(k|0)==12?0:k}}else k=h;do if(!(a[b+4>>0]|0)){g=c[l>>2]|0;if((g|0)!=0?(ap(g,0)|0)==0:0){g=0;break}h=c[b+60>>2]|0;g=c[h>>2]|0;if(g){if(!(a[b+13>>0]|0))g=nc[c[g+32>>2]&127](h,1)|0;else g=0;h=b+17|0;if((a[h>>0]|0)!=5)a[h>>0]=1}else g=0;a[b+18>>0]=0}else g=0;while(0);a[p>>0]=1;a[b+19>>0]=0;g=(k|0)==0?g:k}i=q;return g|0}function zl(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[d+4>>2]|0;g=c[d>>2]|0;a[j+19>>0]=0;k=d+8|0;do if(a[k>>0]|0){if((c[g+152>>2]|0)>1){g=j+76|0;if((c[g>>2]|0)==(d|0)?(c[g>>2]=0,f=j+22|0,b[f>>1]=e[f>>1]&65439,f=c[j+72>>2]|0,(f|0)!=0):0)do{a[f+8>>0]=1;f=c[f+12>>2]|0}while((f|0)!=0);a[k>>0]=1;break}g=j+72|0;f=c[g>>2]|0;a:do if(f)do while(1){h=f+12|0;i=c[h>>2]|0;if((c[f>>2]|0)!=(d|0)){g=h;f=i;break}c[g>>2]=i;if((c[f+4>>2]|0)==1)f=i;else{Sc(f);f=c[g>>2]|0}if(!f)break a}while((f|0)!=0);while(0);f=j+76|0;if((c[f>>2]|0)!=(d|0)){f=c[j+40>>2]|0;if((f|0)==2){i=j+22|0;b[i>>1]=e[i>>1]&65471;c[j+40>>2]=1;i=20;break}}else{c[f>>2]=0;f=j+22|0;b[f>>1]=e[f>>1]&65439;f=c[j+40>>2]|0}f=f+-1|0;c[j+40>>2]=f;if(!f){a[j+20>>0]=0;i=20}else i=20}else i=20;while(0);if(((i|0)==20?(a[k>>0]=0,(a[j+20>>0]|0)==0):0)?(l=j+12|0,m=c[l>>2]|0,(m|0)!=0):0){c[l>>2]=0;xg(c[m+68>>2]|0)}return}function Al(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=((c[a+36>>2]|0)>>>0)/5|0;if(b>>>0<2){e=0;g=c[a+32>>2]|0;i=c[2514]|0}else{e=b+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;i=c[2514]|0;g=c[a+32>>2]|0;e=((e+1|0)==((i>>>0)/(g>>>0)|0|0)?3:2)+e|0}e=b-d-(((d-b+h+e|0)>>>0)/(h>>>0)|0)|0;f=a+32|0;a=((i>>>0)/(g>>>0)|0)+1|0;d=((i>>>0)/(g>>>0)|0)+1|0;a=((a>>>0<b>>>0&e>>>0<a>>>0)<<31>>31)+e|0;while(1){if(a>>>0<2)e=0;else{e=a+-2|0;e=e-((e>>>0)%((h+1|0)>>>0)|0)|0;e=((e+1|0)==((i>>>0)/((c[f>>2]|0)>>>0)|0|0)?3:2)+e|0}if(!((e|0)==(a|0)|(a|0)==(d|0)))break;a=a+-1|0}return a|0}function Bl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=(d|0)==0;f=b;a:while(1){do if((f|0)!=(e|0)){if(!g?(c[f+60>>2]|0)!=(d|0):0)break;if(((a[f+73>>0]|0)+-1&255)<2){b=bp(f)|0;if(!b)break;else break a}else{cp(f);break}}while(0);f=c[f+8>>2]|0;if(!f){b=0;break}}return b|0}function Cl(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+48|0;if((i|0)>=(j|0))ba();k=v;m=v+32|0;s=v+28|0;l=v+24|0;o=v+20|0;q=v+16|0;t=v+12|0;r=v+8|0;if(f>>>0<2)n=0;else{n=f+-2|0;n=n-((n>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;n=((n+1|0)==(((c[2514]|0)>>>0)
function qc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))ba();return b|0}function rc(){return i|0}function sc(a){a=a|0;i=a}function tc(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function uc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0]}function vc(b){b=b|0;a[k>>0]=a[b>>0];a[k+1>>0]=a[b+1>>0];a[k+2>>0]=a[b+2>>0];a[k+3>>0]=a[b+3>>0];a[k+4>>0]=a[b+4>>0];a[k+5>>0]=a[b+5>>0];a[k+6>>0]=a[b+6>>0];a[k+7>>0]=a[b+7>>0]}function wc(a){a=a|0;C=a}function xc(){return C|0}function yc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();e=h+4|0;f=h;g=0;a:while(1){c[e>>2]=0;c[f>>2]=0;a[280]=0;if(Nf(14640,e)|0){d=4;break}d=c[e>>2]|0;b=0;do{if(Me(d,c[8+(b<<2)>>2]|0,17,0,f)|0){d=7;break a}b=b+1|0;d=c[e>>2]|0}while((b|0)!=5);pf(d)|0;if(Wv(280,8504)|0){d=9;break}g=g+1|0;if((g|0)>=3){d=11;break}}if((d|0)==4)eb(8472,8488,47,8496);else if((d|0)==7)eb(8472,8488,50,8496);else if((d|0)==9)eb(8600,8488,53,8496);else if((d|0)==11){i=h;return 0}return 0}function zc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((d|0)>0)while(1){d=d+-1|0;dw(280,c[f>>2]|0)|0;b=280+(cw(280)|0)|0;a[b>>0]=61;a[b+1>>0]=0;b=c[e>>2]|0;dw(280,((b|0)==0?20304:b)|0)|0;if((d|0)<=0)break;else{e=e+4|0;f=f+4|0}}return 0}function Ac(b){b=b|0;var e=0,f=0,g=0;g=(Bc(b,8640,7)|0)==0;g=g?b+7|0:b;if(!g)b=0;else{b=g;while(1)if(!(a[b>>0]|0))break;else b=b+1|0;b=b-g&1073741823}f=0;while(1){e=c[8648+(f<<2)>>2]|0;if((Bc(g,e,b)|0)==0?(a[10368+(d[e+b>>0]|0)>>0]&70)==0:0){b=1;break}f=f+1|0;if((f|0)>=4){b=0;break}}return b|0}function Bc(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;a:do if(b)if(c)if((e|0)>0){f=b;while(1){b=a[f>>0]|0;if(!(b<<24>>24))break;if((a[9328+(b&255)>>0]|0)!=(a[9328+(d[c>>0]|0)>>0]|0))break;e=e+-1|0;if((e|0)<=0){e=0;break a}else{f=f+1|0;c=c+1|0}}if((e|0)>=1)e=(d[9328+(b&255)>>0]|0)-(d[9328+(d[c>>0]|0)>>0]|0)|0;else e=0}else e=0;else e=1;else e=((c|0)!=0)<<31>>31;while(0);return e|0}function Cc(a){a=a|0;if(a>>>0<4)a=c[8648+(a<<2)>>2]|0;else a=0;return a|0}function Dc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h;if(a>>>0<=9){g=c[8664+(a<<2)>>2]|0;f=b;c[f>>2]=g;c[f+4>>2]=0;f=8704+(a<<2)|0;a=d;c[a>>2]=c[f>>2];c[a+4>>2]=0;if(!e)f=0;else{c[f>>2]=g;f=0}}else{c[f>>2]=15033;c[f+4>>2]=10788;Zc(21,13648,f);f=21}i=h;return f|0}function Ec(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();f=h+8|0;g=h;a=Dc(a,f,g,e)|0;if(!a){c[b>>2]=c[f>>2];c[d>>2]=c[g>>2]}i=h;return a|0}function Fc(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var 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();n=p+4|0;l=p;switch(b|0){case 2:{c[n>>2]=0;o=a+20|0;g=c[o>>2]|0;h=(g|0)>0;if(h){l=c[a+16>>2]|0;k=0;do{b=c[l+(k<<4)+4>>2]|0;if(b)c[(c[b+4>>2]|0)+4>>2]=c[b>>2];k=k+1|0}while((k|0)!=(g|0));k=a+520|0;c[k>>2]=n;if(h){m=a+16|0;h=0;do{b=c[(c[m>>2]|0)+(h<<4)+12>>2]|0;if(b){l=hc[c[8744+52>>2]&127](16)|0;l=_((c[b+44>>2]|0)+(c[b+12>>2]|0)+(c[b+28>>2]|0)+(c[b+60>>2]|0)|0,l)|0;c[n>>2]=l+(c[n>>2]|0);l=hc[c[8744+48>>2]&127](c[b+20>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+52>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+36>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=hc[c[8744+48>>2]&127](c[b+68>>2]|0)|0;c[n>>2]=(c[n>>2]|0)+l;l=c[b+48>>2]|0;if(l)do{fg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);l=c[b+16>>2]|0;if(l)do{gg(a,c[l+8>>2]|0);l=c[l>>2]|0}while((l|0)!=0);g=c[o>>2]|0}h=h+1|0}while((h|0)<(g|0));h=c[n>>2]|0}else h=0}else{k=a+520|0;c[k>>2]=n;h=0}c[k>>2]=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 9:case 8:case 7:{o=a+20|0;l=c[o>>2]|0;if((l|0)>0){n=c[a+16>>2]|0;m=b+-7|0;k=(g|0)==0;h=0;b=l;g=0;while(1){l=c[n+(g<<4)+4>>2]|0;if(l){l=(c[c[l+4>>2]>>2]|0)+(m<<2)+184|0;h=(c[l>>2]|0)+h|0;if(k)l=b;else{c[l>>2]=0;l=c[o>>2]|0}}else l=b;g=g+1|0;if((g|0)>=(l|0))break;else b=l}}else h=0;c[f>>2]=0;c[d>>2]=h;h=0;break}case 0:{k=a+252|0;c[d>>2]=c[k>>2];h=a+256|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=c[k>>2];h=0}break}case 6:case 5:case 4:{c[d>>2]=0;h=a+(b+-4<<2)+260|0;c[f>>2]=c[h>>2];if(!g)h=0;else{c[h>>2]=0;h=0}break}case 1:{m=a+20|0;k=c[m>>2]|0;g=(k|0)>0;if(g){h=c[a+16>>2]|0;l=0;do{b=c[h+(l<<4)+4>>2]|0;if(b)c[(c[b+
function iq(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;ea=i;i=i+192|0;if((i|0)>=(j|0))ba();_=ea+48|0;Y=ea+24|0;X=ea+160|0;F=ea+156|0;P=ea+152|0;I=ea+148|0;S=ea+144|0;L=ea+140|0;E=ea+16|0;ca=ea;v=ea+128|0;u=ea+116|0;w=ea+96|0;l=ea+88|0;da=f+8|0;$=c[da>>2]|0;aa=c[f>>2]|0;c[ca+0>>2]=c[9286];c[ca+4>>2]=c[9287];c[ca+8>>2]=c[9288];a:do switch(g|0){case 5:{a[$+450>>0]=0;c[$+440>>2]=0;break}case 7:{a[$+450>>0]=2;c[$+440>>2]=0;break}case 6:{a[$+450>>0]=1;c[$+440>>2]=0;break}case 38:{_=c[f+(aa+-2<<4)+16>>2]|0;c[ca>>2]=_;c[ca+4>>2]=(c[$+504>>2]|0)-_+(c[$+508>>2]|0);break}case 39:{u=f+(aa<<4)+16|0;s=c[$>>2]|0;k=c[$+484>>2]|0;b:do if(k){t=k+38|0;if((b[t>>1]|0)>=(c[s+96>>2]|0)){c[_>>2]=c[k>>2];ph($,36528,_);break}r=Sq(s,u)|0;if(r){p=b[t>>1]|0;h=p<<16>>16;c:do if(p<<16>>16>0){q=a[9328+(d[r>>0]|0)>>0]|0;n=c[k+4>>2]|0;o=r+1|0;l=0;while(1){m=c[n+(l*24|0)>>2]|0;if(q<<24>>24==(a[9328+(d[m>>0]|0)>>0]|0)?($c(o,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break c}c[_>>2]=r;ph($,36552,_);ig(s,r);break b}else n=c[k+4>>2]|0;while(0);o=k+4|0;do if(!(h&7)){n=no(s,n,(h*24|0)+192|0,0)|0;if(!n){ig(s,r);break b}else{c[o>>2]=n;p=b[t>>1]|0;break}}while(0);_=p<<16>>16;Z=n+(_*24|0)|0;c[Z+0>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;c[Z+16>>2]=0;c[Z+20>>2]=0;c[Z>>2]=r;a[n+(_*24|0)+21>>0]=65;a[n+(_*24|0)+22>>0]=1;b[t>>1]=(b[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=c[Y+4>>2]|0;_=ca;c[_>>2]=c[Y>>2];c[_+4>>2]=Z;c[$+324>>2]=0;break}case 22:{Pq($,0,f+(aa<<4)+16|0);break}case 23:{Pq($,1,f+(aa<<4)+16|0);break}case 8:{v=c[$>>2]|0;z=v+65|0;if(((a[z>>0]|0)==0?(a[$+18>>0]|0)==0:0)?(V=$+64|0,(c[V>>2]|0)==0):0){y=Kq($)|0;if(y){do{}while((Lq(y,61)|0)!=0);sh(y,24,0,0,0)|0;do if(!(a[z>>0]|0)){o=$+332|0;s=c[o>>2]|0;if((s|0)==0?(c[$+316>>2]|0)==0:0)break;p=y+32|0;q=c[p>>2]|0;if(q)c[(c[y+4>>2]|0)+8>>2]=q;c[(c[y+24>>2]|0)+88>>2]=q+-1;t=v+20|0;d:do if((c[t>>2]|0)>0){h=y+96|0;k=$+328|0;l=v+16|0;m=v+145|0;n=y+4|0;r=0;while(1){u=1<<r;if(((u&s|0)!=0?(c[h>>2]=c[h>>2]|u,_=c[(c[(c[l>>2]|0)+(r<<4)+12>>2]|0)+4>>2]|0,th(y,sh(y,4,r,(c[k>>2]&u|0)!=0&1,c[$+(r<<2)+336>>2]|0)|0,_,-14),(a[m>>0]|0)==0):0)?(K=c[n>>2]|0,(K|0)!=0):0)a[K+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=1;r=r+1|0;if((r|0)>=(c[t>>2]|0))break d;s=c[o>>2]|0}}while(0);p=$+452|0;if((c[p>>2]|0)>0){o=$+520|0;n=0;do{q=c[(c[(c[o>>2]|0)+(n<<2)>>2]|0)+60>>2]|0;e:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break e;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);th(y,sh(y,146,0,0,0)|0,q,-10);n=n+1|0}while((n|0)<(c[p>>2]|0))}c[p>>2]=0;p=Kq($)|0;o=$+396|0;if((c[o>>2]|0)>0){n=$+400|0;m=0;do{Y=c[n>>2]|0;_=c[Y+(m<<4)+12>>2]|0;th(p,sh(p,145,c[Y+(m<<4)>>2]|0,c[Y+(m<<4)+4>>2]|0,d[Y+(m<<4)+8>>0]|0)|0,_,-2);m=m+1|0}while((m|0)<(c[o>>2]|0))}k=c[$+8>>2]|0;q=c[$+404>>2]|0;if(q){h=(c[$>>2]|0)+16|0;r=k+32|0;s=k+4|0;do{o=c[q+8>>2]|0;p=c[q+12>>2]|0;Mq($,0,o,c[(c[(c[h>>2]|0)+(o<<4)+12>>2]|0)+72>>2]|0,54);o=p+1|0;sh(k,28,0,p,o)|0;n=c[r>>2]|0;l=p+-1|0;m=c[c[q+4>>2]>>2]|0;th(k,sh(k,97,0,l,0)|0,m,0);m=n+9|0;sh(k,108,0,m,0)|0;sh(k,47,0,0,p)|0;sh(k,78,l,n+7|0,p)|0;l=c[s>>2]|0;if(l)a[l+(((c[r>>2]|0)+-1|0)*20|0)+3>>0]=16;sh(k,103,0,o,0)|0;sh(k,47,0,1,p)|0;sh(k,16,0,m,0)|0;sh(k,9,0,n+2|0,0)|0;sh(k,25,0,p,0)|0;sh(k,61,0,0,0)|0;q=c[q>>2]|0}while((q|0)!=0)}p=c[$+316>>2]|0;if((p|0)!=0?(a[$+23>>0]=0,(c[p>>2]|0)>0):0){o=p+4|0;n=0;do{_=c[o>>2]|0;Nq($,c[_+(n*20|0)>>2]|0,c[_+(n*20|0)+16>>2]|0);n=n+1|0}while((n|0)<(c[p>>2]|0))}sh(y,16,0,1,0)|0}while(0);if((c[V>>2]|0)==0?(a[z>>0]|0)==0:0){if((c[$+404>>2]|0)!=0?(W=$+68|0,(c[W>>2]|0)==0):0)c[W>>2]=1;wh(y,$);c[$+12>>2]=101;a[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)c[$+12>>2]=1;c[$+68>>2]=0;c[$+72>>2]=0;c[$+76>>2]=0;c[$+440>>2]=0;c[$+332>>2]=0}break}case 58:{c[v>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[v+4>>2]=c[f+(aa+-1<<4)+16>>2];c[v+8>>2]=c[f+(aa<<4)+24>>2];Uq($,v);break}case 59:{_=f+(aa<<4)+16|0;c[u>>2]=Vq($,97,0,0,_)|0;_=c[_>>2]|0;c[u+4>>2]=_;c[u+8>>2]=_+(c[f+(aa<<4)+20>>2]|0);Uq($,u);break}case 61:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(s=b[l+38>>1
function er(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0;za=i;i=i+240|0;if((i|0)>=(j|0))ba();oa=za;pa=za+220|0;ha=za+216|0;fa=za+196|0;ga=za+176|0;ra=za+164|0;sa=za+136|0;va=za+88|0;da=za+64|0;ja=za+32|0;xa=f+464|0;ya=c[xa>>2]|0;la=f+468|0;ua=c[la>>2]|0;c[la>>2]=ua+1;c[xa>>2]=ua;ua=c[f>>2]|0;a:do if((((g|0)!=0?(ma=ua+65|0,(a[ma>>0]|0)==0):0)?(k=f+64|0,(c[k>>2]|0)==0):0)?(Oq(f,21,0,0,0)|0)==0:0){A=va+0|0;z=A+48|0;do{c[A>>2]=0;A=A+4|0}while((A|0)<(z|0));ia=g+48|0;if((d[h>>0]|0)<9){Jk(ua,c[ia>>2]|0);c[ia>>2]=0;ca=g+6|0;b[ca>>1]=e[ca>>1]&65534}zs(f,g,0);c[sa+0>>2]=0;c[sa+4>>2]=0;c[sa+8>>2]=0;c[sa+12>>2]=0;c[sa+16>>2]=0;c[sa+20>>2]=0;c[sa+24>>2]=0;c[sa>>2]=c[ia>>2];ka=g+32|0;u=c[ka>>2]|0;t=c[g>>2]|0;b:do if(((c[k>>2]|0)==0?(a[ma>>0]|0)==0:0)?(qa=g+6|0,w=(e[qa>>1]|0)>>>2&1,ta=Kq(f)|0,(ta|0)!=0):0){if((c[t>>2]|0)>1?(a[h>>0]&-2)<<24>>24==10:0){ph(f,35368,oa);wa=444;break}na=g+52|0;t=c[na>>2]|0;c:do if(!t){o=f+460|0;n=f+492|0;m=g+36|0;l=f+408|0;k=g+60|0;Q=g+64|0;R=g+4|0;S=ua+60|0;T=ta+32|0;U=f+72|0;V=da+4|0;W=da+1|0;X=da+8|0;Y=da+12|0;Z=ta+4|0;_=ta+24|0;$=f+19|0;aa=f+56|0;ca=f+80|0;P=0;v=w;while(1){if((P|0)>=(c[u>>2]|0)){E=m;N=0;w=v;R=u;break c}K=c[u+(P*72|0)+28>>2]|0;do if(!K)w=P;else{M=u+(P*72|0)+32|0;x=c[M>>2]|0;if(x){if(a[u+(P*72|0)+45>>0]&4){w=P;break}sh(ta,17,c[u+(P*72|0)+36>>2]|0,x,0)|0;w=P;break}c[oa>>2]=0;As(g,oa);c[o>>2]=(c[o>>2]|0)+(c[oa>>2]|0);s=b[K+6>>1]&4;N=c[n>>2]|0;r=c[f>>2]|0;d:do if(!(b[r+60>>1]&1)){I=c[ka>>2]|0;q=c[I+(P*72|0)+48>>2]|0;H=I+(P*72|0)+28|0;L=c[H>>2]|0;p=s<<16>>16!=0;do if(p){if(v){wa=120;break d}if((c[I>>2]|0)>1){wa=120;break d}O=c[m>>2]|0;if((O|0)!=0?(c[O+4>>2]&2097152|0)!=0:0){wa=120;break d}E=c[g>>2]|0;do if(E){B=c[E>>2]|0;if((B|0)<=0)break;F=c[E+4>>2]|0;E=0;D=0;do{D=c[(c[F+(E*20|0)>>2]|0)+4>>2]|D;E=E+1|0}while((E|0)!=(B|0));if(D&2097152){wa=120;break d}}while(0);E=c[ia>>2]|0;if(!E)break;B=c[E>>2]|0;if((B|0)<=0)break;F=c[E+4>>2]|0;E=0;D=0;do{D=c[(c[F+(E*20|0)>>2]|0)+4>>2]|D;E=E+1|0}while((E|0)!=(B|0));if(D&2097152){wa=120;break d}}while(0);F=c[L+32>>2]|0;E=(c[L+60>>2]|0)==0;if(!E?(c[k>>2]|0)!=0:0){wa=120;break}if(c[L+64>>2]|0){wa=120;break}B=b[qa>>1]|0;D=(B&64)==0;if(!(D|E)){wa=120;break}if(!(c[F>>2]|0)){wa=120;break}A=b[L+6>>1]|0;if(A&1){wa=120;break}F=E|D^1;if(!F?(c[I>>2]|0)>1|(v|0)!=0:0){wa=120;break}E=B&1;if(E<<16>>16!=0&p){wa=120;break}y=c[ia>>2]|0;z=(y|0)==0;if(!z?(c[L+48>>2]|0)!=0:0){wa=120;break}G=(v|0)!=0;if(G?(c[L+48>>2]|0)!=0:0){wa=120;break}if(F){if(A&6144){wa=120;break}}else if(!((c[m>>2]|0)==0&E<<16>>16==0&(A&6144)==0)){wa=120;break}if((B&2048)!=0?(c[L+52>>2]|0)!=0:0){wa=120;break}O=I+(P*72|0)+44|0;if(a[O>>0]&32){wa=120;break}B=L+52|0;F=c[B>>2]|0;do if(F){if(!(E<<16>>16==0&(((c[L+48>>2]|0)!=0|G)^1))){wa=120;break d}if((c[I>>2]|0)!=1){wa=120;break d}e:do if(L){if(!(A&5))D=L;else{wa=120;break d}while(1){E=(F|0)==0;if(!E?(a[D+4>>0]|0)!=116:0){wa=120;break d}if((c[c[D+32>>2]>>2]|0)<1){wa=120;break d}if((c[c[L>>2]>>2]|0)!=(c[c[D>>2]>>2]|0)){wa=120;break d}if(E)break e;if(b[F+6>>1]&5){wa=120;break d}D=F;F=c[F+52>>2]|0}}while(0);if(z)break;D=c[y>>2]|0;if((D|0)<=0)break;F=c[y+4>>2]|0;E=0;do{if(!(b[F+(E*20|0)+16>>1]|0)){wa=120;break d}E=E+1|0}while((E|0)<(D|0))}while(0);x=I+(P*72|0)+16|0;c[n>>2]=c[x>>2];Oq(f,21,0,0,0)|0;c[n>>2]=N;F=c[B>>2]|0;f:do if(!F)wa=81;else{y=r+65|0;B=c[ia>>2]|0;A=c[k>>2]|0;z=c[Q>>2]|0;D=c[na>>2]|0;while(1){c[ia>>2]=0;c[ka>>2]=0;c[na>>2]=0;c[k>>2]=0;c[Q>>2]=0;E=cr(r,g,0)|0;c[Q>>2]=z;c[k>>2]=A;c[ia>>2]=B;c[ka>>2]=I;a[R>>0]=116;if(!E)E=D;else{c[E+52>>2]=D;if(D)c[D+56>>2]=E;c[E+56>>2]=g}c[na>>2]=E;if(a[y>>0]|0)break f;F=c[F+52>>2]|0;if(!F){wa=81;break}else D=E}}while(0);if((wa|0)==81){wa=0;J=c[H>>2]|0;B=I+(P*72|0)+12|0;ig(r,c[B>>2]|0);ig(r,c[x>>2]|0);D=I+(P*72|0)+20|0;ig(r,c[D>>2]|0);c[B>>2]=0;c[x>>2]=0;c[D>>2]=0;c[H>>2]=0;D=I+(P*72|0)+24|0;B=c[D>>2]|0;if(B){A=B+40|0;z=b[A>>1]|0;if(z<<16>>16==1
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=0,V=0,W=0,X=0,Y=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,gc=0,jc=0,kc=0,mc=0,oc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Ec=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Lc=0,Mc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,ad=0,bd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,zd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,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;u=(n>>>0)%(u>>>0)|0}}else{vc=he+300|0;u=0}de=f+76|0;ce=he+65|0;Vd=he+296|0;pb=f+176|0;qb=f+184|0;rb=f+92|0;sb=he+80|0;tb=he+84|0;ub=Gc&255;vb=Gc<<24>>24==1;wb=he+88|0;xb=f+60|0;Wd=f+144|0;be=f+86|0;fe=f+44|0;yb=f+12|0;zb=Rc+4|0;Ab=Rc+16|0;Bb=Rc+12|0;Cb=Rc+25|0;Db=Rc+20|0;Eb=f+200|0;Fb=f+56|0;Xd=f+72|0;Gb=Gd+16|0;Hb=Gd+8|0;Ib=Gd+24|0;Jb=f+87|0;Yd=he+156|0;Kb=he+500|0;Lb=he+496|0;ae=he+63|0;Mb=he+488|0;Nb=he+504|0;Ob=he+512|0;Pb=he+70|0;Qb=he+24|0;Rb=he+20|0;Td=he+16|0;Sb=he+4|0;Ud=f+88|0;Tb=f+104|0;Ub=f+152|0;Vb=f+160|0;Wb=he+152|0;Xb=he+64|0;_b=td+4|0;$b=td+6|0;ac=td+8|0;bc=ud+4|0;cc=ud+8|0;dc=he+212|0;ec=he+208|0;gc=f+116|0;jc=vd+4|0;kc=vd+6|0;mc=vd+8|0;oc=Yc+8|0;qc=Yc+32|0;rc=Yc+24|0;sc=Yc+16|0;tc=Yc+12|0;uc=wd+4|0;V=wd+6|0;W=wd+8|0;X=nd+8|0;Y=nd+32|0;aa=nd+24|0;ca=nd+12|0;da=nd+16|0;ea=he+164|0;fa=Wc+8|0;ga=Wc+4|0;ha=he+145|0;ia=Wc+12|0;ja=Pd+4|0;ka=Pd+12|0;la=Pd+16|0;ma=Pd+20|0;na=Pd+24|0;oa=Pd+28|0;pa=Pd+8|0;qa=Pd+40|0;ra=Pd+44|0;sa=Pd+48|0;ta=Pd+52|0;ua=Pd+56|0;va=Pd+60|0;wa=Pd+64|0;xa=Pd+65|0;ya=he+128|0;za=f+28|0;Aa=f+36|0;Ba=f+32|0;Ca=f+196|0;Da=Tc+4|0;Ea=Tc+8|0;Fa=Jd+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}ca
function Av(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=e+20|0;r=e+14|0;f=a[r>>0]|0;w=e+13|0;g=a[w>>0]|0;a:do if((f&255)>(g&255))f=0;else{y=e+4|0;z=e+16|0;s=e+8|0;t=e+12|0;u=e+24|0;v=e+28|0;i=f&255;j=c[y>>2]|0;h=c[A>>2]|0;b:while(1){q=c[e+(i+-2<<2)+24>>2]|0;p=c[e+(i+-1<<2)+24>>2]|0;if(j){while(1){o=j+12|0;if((h|0)<(c[o>>2]|0)){g=h;f=(c[j+20>>2]|0)+(h*48|0)|0;while(1){do if((c[f+8>>2]|0)==(q|0)?(c[f+12>>2]|0)==(p|0):0){if((d[r>>0]|0)>=3?(c[(c[f>>2]|0)+4>>2]&1|0)!=0:0)break;n=f+18|0;h=b[n>>1]|0;if((h&1024)!=0?(x=a[w>>0]|0,(x&255)<22):0){i=c[(c[f>>2]|0)+16>>2]|0;c:do if(!i)i=0;else while(1){k=c[i+4>>2]|0;if(!(k&4096))break c;if(!(k&262144))i=i+12|0;else i=c[(c[i+20>>2]|0)+4>>2]|0;i=c[i>>2]|0;if(!i){i=0;break}}while(0);d:do if(!(x<<24>>24)){m=0;k=0}else{l=c[i+28>>2]|0;m=i+32|0;k=0;while(1){if((c[e+(k<<2)+24>>2]|0)==(l|0)?(c[e+((k|1)<<2)+24>>2]|0)==(b[m>>1]|0):0){m=x;break d}k=k+2|0;if((k|0)>=(x&255|0)){m=x;break}}}while(0);if((k|0)==(m&255|0)){c[e+(k<<2)+24>>2]=c[i+28>>2];c[e+((k|1)<<2)+24>>2]=b[i+32>>1];a[w>>0]=(d[w>>0]|0)+2}}i=h&65535;if(i&c[z>>2]){if((c[s>>2]|0)!=0&(i&128|0)==0){l=c[c[j>>2]>>2]|0;k=c[f>>2]|0;i=a[t>>0]|0;h=(jv(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=Ku(l,c[k+12>>2]|0,c[k+16>>2]|0)|0;if(!h)h=c[(c[l>>2]|0)+8>>2]|0;if($c(c[h>>2]|0,c[s>>2]|0)|0)break;h=b[n>>1]|0}if(!(h&2))break b;h=c[(c[f>>2]|0)+16>>2]|0;if((a[h>>0]|0)!=-102)break b;if((c[h+28>>2]|0)!=(c[u>>2]|0))break b;if((b[h+32>>1]|0)!=(c[v>>2]|0))break b}}while(0);g=g+1|0;if((g|0)>=(c[o>>2]|0))break;else f=f+48|0}g=c[y>>2]|0}else g=j;j=c[g+4>>2]|0;c[y>>2]=j;if(!j)break;else h=0}f=a[r>>0]|0;g=a[w>>0]|0}j=c[e>>2]|0;c[y>>2]=j;h=(f&255)+2|0;f=h&255;a[r>>0]=f;if((f&255)>(g&255)){f=0;break a}else{i=h&255;h=0}}c[A>>2]=g+1}while(0);return f|0}function Bv(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[d>>2]|0;l=c[c[g>>2]>>2]|0;d=c[d+16>>2]|0;a:do if(!d){g=g+16|0;i=c[g>>2]|0;k=f+36|0;if((c[k>>2]&512|0)!=0&(i|0)!=0){d=f+20|0;j=f+22|0;h=a[f+16>>0]|0;do{do if((a[i+16>>0]|0)==h<<24>>24?(c[i+36>>2]&512|0)!=0:0){if(Pv(i,f)|0){b[d>>1]=b[i+20>>1]|0;b[j>>1]=(e[i+22>>1]|0)+65535;break}if(Pv(f,i)|0){b[d>>1]=b[i+20>>1]|0;b[j>>1]=(e[i+22>>1]|0)+1}}while(0);i=c[i+52>>2]|0}while((i|0)!=0)}d=Qv(g,f)|0;if(d){g=c[d>>2]|0;b:do if(g){d=g+52|0;if(c[d>>2]|0)do{d=Qv(d,f)|0;if(!d)break b;h=c[d>>2]|0;if(!h)break b;c[d>>2]=c[h+52>>2];Fu(l,h);ig(l,h)}while((c[d>>2]|0)!=0)}else{g=ih(l,72,0)|0;c[d>>2]=g;if(!g){d=7;break a}c[g+48>>2]=g+56;b[g+40>>1]=0;b[g+44>>1]=3;c[g+36>>2]=0;c[g+52>>2]=0}while(0);Hv(l,g);do if(!(Ju(l,g,e[f+40>>1]|0)|0)){h=g+0|0;d=f+0|0;i=h+44|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(i|0));gw(c[g+48>>2]|0,c[f+48>>2]|0,e[g+40>>1]<<2|0)|0;d=c[k>>2]|0;if(d&1024){a[f+28>>0]=0;break}if(d&16384)c[f+28>>2]=0}else{d=g+24|0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0}while(0);if(((c[g+36>>2]&1024|0)==0?(m=g+28|0,n=c[m>>2]|0,(n|0)!=0):0)?(c[n+40>>2]|0)==0:0){c[m>>2]=0;d=0}else d=0}else d=0}else{g=f;Gv(d,c[g>>2]|0,c[g+4>>2]|0,b[f+20>>1]|0,b[f+22>>1]|0);d=0}while(0);return d|0}function Cv(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[34032+(e-c)>>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[34032+(c-e)>>0]|0)+c&65535;break}while(0);return a|0}function Dv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;do if(!(yu(b,d,e)|0))f=1;else{f=a[d>>0]|0;if(f<<24>>24==77)g=6;else if(f<<24>>24==71){if(Dv(b,c[d+12>>2]|0,e)|0){f=1;break}if(Dv(b,c[d+16>>2]|0,e)|0){f=1;break}if(f<<24>>24==77)g=6}if(((g|0)==6?(yu(c[b+12>>2]|0,c[d+12>>2]|0,e)|0)==0:0)?(f=a[b>>0]|0,!(f<<24>>24==73|f<<24>>24==76)):0){f=1;break}f=0}while(0);return f|0}function Ev(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();u=v;s=d;t=d+8|0;g=t;r=~(c[g>>2]|c[s>>2]);s=~(c[g+4>>2]|c[s+4>>2]);g=c[a+12>>2]|0;p=a+20|0;a:do if((g|0)>0){q=d+40|0;a=d+22|0;o=d+48|0;d=0;n=c[p>>2]|0;while(1){if(b[n+20>>1]&2)break a;m=n+4
// EMSCRIPTEN_END_FUNCS
var Xb=[Nw,qe];var Yb=[Ow,hi,mi,oi,ri,ti,me,se,rf,Tf,Uf,Bf,Af,Df,Ke,zf,Cf,yf,te,Mf,lf,Ce,Bc,Ff,Je,af,bg,Uc,Ci,Hi,Ki,ak,gk,ok,Pw,Qw,Rw,qk,xp,yp,wp,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow,Ow];var Zb=[Sw,Fd];var _b=[Tw,Sc,Xe,uf,Dd,Nd,Md,Nc,Gi,Oi,Pi,Ri,Wi,_i,Bj,Cj,Dj,Fj,Hj,kk,mo,up,ml,Tw,Tw,Tw,Tw,Tw,Tw,Tw,Tw,Tw];var $b=[Uw,xd];var ac=[Vw,_d];var bc=[Ww,yd];var cc=[Xw,pd];var dc=[Yw,df,ff,Mc,gf,ef,rk,Yw];var ec=[Zw,Xf,wf,Zw];var fc=[_w,ni,Bd,Jd,Kd,Ld,_c,Ii,Ni,nu,ou,_w,_w,_w,_w,_w];var gc=[$w,We,Rf,ke,ax,$w,$w,$w];var hc=[bx,Ud,ue,nf,pf,Vd,bf,cf,Wd,ye,ad,Jf,Oe,If,hd,id,Vf,mf,Pc,jd,Od,of,Pd,ld,nd,od,qd,rd,De,md,sd,td,ud,vd,kd,Ie,Fe,Oc,Kc,Yf,Gc,Jc,Qd,gd,dd,fd,ed,Cc,Ac,jf,Kf,$e,qf,kf,Lf,Ae,ze,Qe,Re,Rc,zi,Fi,Ji,Qi,Ti,Ui,Vi,Zj,hk,ik,cx,dx,ex,sk,wk,Tk,cl,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx,bx];var ic=[fx,li,zd,Ad,Cd,Zc,Li,Xi,Yi,Zi,$i,aj,bj,cj,dj,ej,fj,gj,hj,ij,jj,kj,lj,mj,nj,oj,pj,qj,rj,sj,tj,uj,vj,wj,xj,yj,zj,Aj,Ej,Gj,Ij,Jj,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,Uj,Vj,Wj,Xj,Yj,Ph,fx,fx,fx,fx,fx,fx];var jc=[gx,Wf,Se,gx];var kc=[hx,vf,xf,Ee];var lc=[ix,ii,ji,ne,Ye,Yc,Ge,He,_f,Of,Ec,bd,cg,Xc,Pe,jk,nk,zc,zh,Bh,Fh,Qh,Xm,$p,ix,ix,ix,ix,ix,ix,ix,ix];var mc=[jx,sf,wd,Ed,Gd,Hd,Id,Td,Mi,lg,jx,jx,jx,jx,jx,jx];var nc=[kx,ki,pi,qi,si,ui,vi,wi,xi,yi,Rd,oe,we,ve,tf,Xd,Yd,Zd,he,ie,$d,ae,fe,ge,be,de,ee,ce,_e,Sd,Wc,Nf,Pf,Tc,xe,Vc,Ic,$f,Zf,Be,cd,Lc,Ef,Hf,dg,eg,$c,ag,Qc,Le,Di,Ei,Si,bk,ck,dk,ek,fk,lk,lx,mx,nx,ox,px,qx,pk,rx,sx,tk,uk,vk,xk,yk,zk,Lh,tp,zm,Am,ls,ms,Vs,Ws,cu,du,ku,lu,mu,lv,Ov,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx,kx];var oc=[tx,le];var pc=[ux,gi,je,pe,re,Qf,Sf,Me,Te,Ue,Ne,Ve,Ze,Fc,Gf,Ai,Bi,_j,$j,mk,Ak,Qn,Rn,ux,ux,ux,ux,ux,ux,ux,ux,ux];return{_i64Subtract:$v,_strcat:dw,_free:Tv,_main:yc,_realloc:Uv,_i64Add:fw,_memmove:hw,_bitshift64Ashr:aw,_strlen:cw,_memset:bw,_malloc:Sv,_memcpy:gw,_bitshift64Lshr:iw,_llvm_bswap_i32:jw,_bitshift64Shl:ew,runPostSets:_v,stackAlloc:qc,stackSave:rc,stackRestore:sc,setThrew:tc,setTempRet0:wc,getTempRet0:xc,dynCall_iiiiiiii:sw,dynCall_iiii:tw,dynCall_viiiiii:uw,dynCall_vi:vw,dynCall_viiiii:ww,dynCall_dii:xw,dynCall_vid:yw,dynCall_di:zw,dynCall_i:Aw,dynCall_iiiiiiiiii:Bw,dynCall_vii:Cw,dynCall_iiiiiii:Dw,dynCall_ii:Ew,dynCall_viii:Fw,dynCall_v:Gw,dynCall_iiiiiiiii:Hw,dynCall_iiiii:Iw,dynCall_viiii:Jw,dynCall_iii:Kw,dynCall_iiid:Lw,dynCall_iiiiii:Mw}})
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var real__i64Subtract=asm["_i64Subtract"];asm["_i64Subtract"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__i64Subtract.apply(null,arguments)});var real__strcat=asm["_strcat"];asm["_strcat"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__strcat.apply(null,arguments)});var real__main=asm["_main"];asm["_main"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__main.apply(null,arguments)});var real__realloc=asm["_realloc"];asm["_realloc"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__realloc.apply(null,arguments)});var real__i64Add=asm["_i64Add"];asm["_i64Add"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__i64Add.apply(null,arguments)});var real__memmove=asm["_memmove"];asm["_memmove"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__memmove.apply(null,arguments)});var real__bitshift64Ashr=asm["_bitshift64Ashr"];asm["_bitshift64Ashr"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Ashr.apply(null,arguments)});var real__strlen=asm["_strlen"];asm["_strlen"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__strlen.apply(null,arguments)});var real__bitshift64Lshr=asm["_bitshift64Lshr"];asm["_bitshift64Lshr"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Lshr.apply(null,arguments)});var real__llvm_bswap_i32=asm["_llvm_bswap_i32"];asm["_llvm_bswap_i32"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__llvm_bswap_i32.apply(null,arguments)});var real__bitshift64Shl=asm["_bitshift64Shl"];asm["_bitshift64Shl"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__bitshift64Shl.apply(null,arguments)});var real_runPostSets=asm["runPostSets"];asm["runPostSets"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real_runPostSets.apply(null,arguments)});var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract