Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Fi

5 fi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+20>>2]|0;a:do if((f|0)>0){c=k[a+16>>2]|0;d=(b|0)==0;e=0;while(1){a=k[c+(e<<4)+4>>2]|0;if(a){if(d)break a;if(!(id(b,k[c+(e<<4)>>2]|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function gi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((k[a>>2]|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=k[b>>2]|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=k[c>>2]|0;if(!a){a=vg(512,0)|0;if(!a){b=a;j=21;break}kw(a|0,0,512)|0;k[a>>2]=e;k[c>>2]=a}if((k[a>>2]|0)>>>0>4e3){d=a;c=b}else break b}if((j|0)==21){k[c>>2]=b;b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=k[d+(c<<2)+12>>2]|0;if(!a){a=k[d+4>>2]|0;if(a>>>0<124){b=d;j=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=k[d+(c<<2)+12>>2]|0}while((a|0)!=0);a=k[d+4>>2]|0;if(a>>>0<=61){b=d;j=20}}if((j|0)==20){k[d+4>>2]=a+1;k[b+(c<<2)+12>>2]=h;b=0;break a}e=vg(500,0)|0;if(!e){b=7;break a}pw(e|0,f|0,500)|0;kw(f|0,0,500)|0;k[b>>2]=(((k[g>>2]|0)+124|0)>>>0)/125|0;a=0;b=gi(d,h)|0;do{c=k[e+(a<<2)>>2]|0;if(c)b=gi(d,c)|0|b;a=a+1|0}while((a|0)!=125);$c(e);break a}while(0);a=a+12+(b>>>3)|0;i[a>>0]=l[a>>0]|0|1<<(b&7);b=0}while(0);return b|0}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=k[a+8>>2]|0;if(!b)break;a=k[a+12+(((d>>>0)/(b>>>0)|0)<<2)>>2]|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((k[a>>2]|0)>>>0<4001){a=a+12+(d>>>3)|0;i[a>>0]=(l[a>>0]|0)&(1<<(d&7)^255);break}h=a+12|0;pw(c|0,h|0,500)|0;kw(h|0,0,500)|0;h=a+4|0;k[h>>2]=0;e=d+1|0;g=0;do{f=c+(g<<2)|0;b=k[f>>2]|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;k[h>>2]=(k[h>>2]|0)+1;b=a+(d<<2)+12|0;if(k[b>>2]|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((k[b>>2]|0)!=0);k[b>>2]=k[f>>2]}g=g+1|0}while((g|0)!=125)}while(0);return}function ii(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(k[a>>2]|0)>>>0):0){while(1){b=k[a+8>>2]|0;if(!b)break;a=k[a+12+(((c>>>0)/(b>>>0)|0)<<2)>>2]|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((k[a>>2]|0)>>>0<4001){c=((l[a+12+(c>>>3)>>0]|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=k[a+(c<<2)+12>>2]|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=k[a+(c<<2)+12>>2]|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function ji(a){a=a|0;var b=0,c=0;if(a){if(k[a+8>>2]|0){b=a+12|0;c=0;do{ji(k[b+(c<<2)>>2]|0);c=c+1|0}while((c|0)!=125)}$c(a)}return}function ki(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=i[11824+(((l[9328+(l[a>>0]|0)>>0]|0)<<2^b^(l[9328+(l[a+(b+-1)>>0]|0)>>0]|0)*3|0)%127|0)>>0]|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((l[12080+c>>0]|0|0)==(b|0)?(Kc(11264+(m[12208+(c<<1)>>1]|0)|0,a,b)|0)==0:0)break;c=i[11952+c>>0]|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=l[12456+c>>0]|0}else c=27;while(0);return c|0}function li(a){a=a|0;var b=0,c=0,d=0;k[2174]=a;if((k[2184]|0)>>>0<a>>>0)k[2184]=a;c=k[2264]|0;if((c|0)==0|(k[2235]|0)<(a|0)){b=vg(a,((a|0)<0)<<31>>31)|0;if((k[2186]|0)!=0&(b|0)!=0?(d=qc[k[8744+48>>2]&127](b)|0,d=(k[2170]|0)+d|0,k[2170]=d,d>>>0>(k[2180]|0)>>>0):0)k[2180]=d}else{b=k[2263]|0;k[2263]=k[b>>2];k[2264]=c+-1;a=(k[2169]|0)+1|0;k[2169]=a;if(a>>>0>(k[2179]|0)>>>0)k[2179]=a}return b|0}function mi(a){a=a|0;var b=0;do if(a){if((k[2234]|0)>>>0<=a>>>0&(k[2262]|0)>>>0>a>>>0){k[a>>2]=k[2263];k[2263]=a;k[2264]=(k[2264]|0)+1;k[2169]=(k[2169]|0)+-1;break}if(!(k[2186]|0)){hc[k[8744+40>>2]&31](a);break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2170]=(k[2170]|0)-b;k[2166]=(k[2166]|0)-b;k[2175]=(k[2175]|0)+-1;hc[k[8744+40>>2]&31](a);break}}while(0);return}function ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;d=i[a>>0]|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=i[e>>0]|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((l[11248+e>>0]|0|0)==(f|0)?(Kc(11216+(l[11240+e>>0]|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=i[11256+c>>0]|0}}else{k[e>>2]=0;In(a,e)|0;c=k[e>>2]&255}while(0);r=g;return c|0}function oi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;c=i[a>>0]|0;do if(c<<24>>24==48){d=i[a+1>>0]|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;j=15;break}else{e=c;c=a;j=12;break}c=i[a+2>>0]|0;if(!(i[10368+(c&255)>>0]&8)){e=48;c=a;j=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=i[a+d>>0]|0;e=d}if(!(i[10368+(c&255)>>0]&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=nw(g|0,f|0,4)|0;h=L;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=i[f>>0]|0;if(!(i[10368+(c&255)>>0]&8)){c=h;break}else f=h}}h=b;k[h>>2]=g;k[h+4>>2]=c;if(!(i[f>>0]|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;j=12}while(0);if((j|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=i[d>>0]|0;c=d;j=12}c=c-a&1073741823;j=15}if((j|0)==15)c=Zl(a,b,c,1)|0;return c|0}function pi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+1264|0;if((r|0)>=(s|0))ka();B=D;A=D+152|0;u=D+742|0;v=D+76|0;p=D+228|0;l=d&-256;q=d&16;z=d&8;t=d&4;h=d&1;w=d&2;if((t|0)!=0?(l|0)==524288|(l|0)==2048|(l|0)==16384:0)y=1;else y=0;x=k[12114]|0;if((x|0)!=(wb()|0)?(x=wb()|0,k[12114]=x,(Qc()|0)==0):0)i[9064]=0;n=c+0|0;o=n+44|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));x=(l|0)==256;do if(x){a:do if((wc[k[47552+52>>2]&127](b,B)|0)==0?(f=k[12178]|0,(f|0)!=0):0){l=k[B>>2]|0;n=k[B+72>>2]|0;while(1){if((k[f>>2]|0)==(l|0)?(k[f+4>>2]|0)==(n|0):0)break;f=k[f+32>>2]|0;if(!f){C=18;break a}}l=f+28|0;f=k[l>>2]|0;if(f){while(1){o=l;l=f+8|0;n=f;f=k[l>>2]|0;if((k[n+4>>2]|0)==(d|0)){l=o;break}if(!f){C=18;break a}}k[l>>2]=f;p=k[n>>2]|0;f=n}else C=18}else C=18;while(0);if((C|0)==18){f=Yc(12)|0;if(!f){f=7;break}else p=-1}k[c+28>>2]=f;l=t<<4|w;f=(q|0)!=0;if((p|0)<0){t=f;q=f?l|131200:l;f=b;C=23}else{o=p;f=b;C=36}}else{if(!b){f=eo(514,p)|0;if(!f)f=p;else break}else f=b;C=t<<4|w;q=(q|0)!=0;t=q;q=q?C|131200:C;C=23}while(0);b:do if((C|0)==23){if(!(d&526336)){l=(z|0)==0?0:384;p=0;o=0}else{if(!f)l=0;else{l=f;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;l=l-f&1073741823}do l=l+-1|0;while((i[f+l>>0]|0)!=45);pw(u|0,f|0,l|0)|0;i[u+l>>0]=0;if(wc[k[47552+52>>2]&127](u,v)|0){f=1802;break}l=k[v+12>>2]&511;p=k[v+20>>2]|0;o=k[v+24>>2]|0}n=fo(f,q,l)|0;do if((n|0)<0){v=Mb()|0;if(!(t|((w|0)==0|(k[v>>2]|0)==21))?(g=fo(f,q&131200,l)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}k[B>>2]=31186;k[B+4>>2]=10788;gd(14,14848,B);f=io(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;C=70;break b}else g=n;while(0);if(!(d&526336)){o=g;C=36}else{fc[k[47552+244>>2]&63](g,p,o)|0;o=g;C=36}}while(0);c:do if((C|0)==36){if(e)k[e>>2]=d;p=c+28|0;g=k[p>>2]|0;if(g){k[g>>2]=o;k[g+4>>2]=d}if(z)qc[k[47552+196>>2]&127](f)|0;f=z<<2;f=(h|0)==0?f:f|2;f=x?f:f|128;f=y?f|8:f;z=f|d&64;k[c+12>>2]=o;k[c+4>>2]=a;k[c+32>>2]=b;g=c+18|0;j[g>>1]=z&255;if(kg((z&64|0)!=0?b:0,48496,1)|0)j[g>>1]=m[g>>1]|16;if(!(dw(k[a+16>>2]|0,1e4)|0))j[g>>1]=m[g>>1]|1;d:do if(!(f&128)){f=wc[k[k[a+20>>2]>>2]&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){C=64;break}g=(lw(b|0)|0)+6|0;f=Yc(g)|0;if(f){k[B>>2]=b;fd(g,f,48584,B)|0;k[c+24>>2]=f;k[c+20>>2]=0;f=47472;break}k[c+24>>2]=0;k[c+20>>2]=0;if((o|0)<=-1){g=p;f=7;C=70;break c}go(c,o,30794);g=p;f=7;C=70;break c}do if(!(wc[k[47552+64>>2]&127](k[c+12>>2]|0,A)|0)){f=B;k[f>>2]=0;k[f+4>>2]=0;k[B>>2]=k[A>>2];k[B+4>>2]=k[A+72>>2];f=k[12178]|0;e:do if(!f)C=53;else{while(1){if(!(cw(B,f,8)|0))break;f=k[f+32>>2]|0;if(!f){C=53;break e}}B=f+16|0;k[B>>2]=(k[B>>2]|0)+1}while(0);if((C|0)==53){g=Yc(40)|0;if(!g){f=7;g=c+20|0;break}n=g+0|0;o=n+40|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));C=k[B+4>>2]|0;f=g;k[f>>2]=k[B>>2];k[f+4>>2]=C;k[g+16>>2]=1;k[g+32>>2]=k[12178];k[g+36>>2]=0;f=k[12178]|0;if(f)k[f+36>>2]=g;k[12178]=g;f=g}k[c+8>>2]=f;f=48504;C=64;break d}else{f=Mb()|0;f=k[f>>2]|0;g=c+20|0;k[g>>2]=f;f=(f|0)==75?22:10}while(0);go(c,o,30709);k[g>>2]=0;g=p;C=70;break c}else{f=48376;C=64}while(0);if((C|0)==64)k[c+20>>2]=0;k[c>>2]=f;ho(c);f=0}while(0);if((C|0)==70)$c(k[g>>2]|0);r=D;return f|0}function qi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;do if((qc[k[47552+196>>2]&127](b)|0)==-1){a=Mb()|0;if((k[a>>2]|0)==2)a=5898;else a=io(2570,48032,b,31314)|0}else if(c&1){a=wc[k[47552+208>>2]&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Lb(k[d>>2]|0)|0))a=0;else a=io(1290,48488,b,31329)|0;if(qc[k[47552+16>>2]&127](k[d>>2]|0)|0)io(4106,47856,0,31331)|0}else a=0;while(0);r=e;return a|0}function ri(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+80|0;if((r|0)>=(s|0))ka();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(wc[k[47552+28>>2]&127](b,a)|0)==0;k[d>>2]=a&1;if((!((c|0)!=0|a^1)?(wc[k[47552+52>>2]&127](b,e)|0)==0:0)?(k[e+36>>2]|0)==0:0)k[d>>2]=0;r=f;return 0}function si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;a=c+-1|0;i[d+a>>0]=0;do if((i[b>>0]|0)!=47)if(!(wc[k[47552+40>>2]&127](d,a)|0)){k[e>>2]=31416;k[e+4>>2]=10788;gd(14,14848,e);a=io(14,47904,b,31416)|0;break}else{a=lw(d|0)|0;k[e>>2]=b;fd(c-a|0,d+a|0,48480,e)|0;a=0;break}else{k[e>>2]=b;fd(c,d,10344,e)|0;a=0}while(0);r=f;return a|0}function ti(a,b){a=a|0;b=b|0;return Ib(b|0,258)|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;a=ab()|0;if(a){k[d>>2]=a;fd(b,c,10344,d)|0}r=e;return}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return eb(b|0,c|0)|0}function wi(a,b){a=a|0;b=b|0;Jb(b|0)|0;return}function xi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;kw(c|0,0,b|0)|0;a=wb()|0;k[12114]=a;a=fo(48464,0,0)|0;if((a|0)>=0){do{if((fc[k[47552+100>>2]&63](a,c,b)|0)>=0)break;d=Mb()|0}while((k[d>>2]|0)==4);if(qc[k[47552+16>>2]&127](a)|0)io(4106,47856,0,31521)|0}else{Ub(d|0)|0;b=k[d>>2]|0;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;b=c+4|0;a=k[12114]|0;i[b>>0]=a;i[b+1>>0]=a>>8;i[b+2>>0]=a>>16;i[b+3>>0]=a>>24;b=8}r=e;return b|0}function yi(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Rb(a|0)|0;return a*1e6|0}function zi(a,b){a=a|0;b=b|0;var c=0,d=0;a=r;r=r+16|0;if((r|0)>=(s|0))ka();d=a;c=d;k[c>>2]=0;k[c+4>>2]=0;c=Bi(0,d)|0;p[b>>3]=(+((k[d>>2]|0)>>>0)+4294967296.0*+(k[d+4>>2]|0))/864.0e5;r=a;return c|0}function Ai(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Bi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();a=c;if(!(Xb(a|0,0)|0)){e=k[a>>2]|0;e=xw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=ow(e|0,L|0,1045635584,49096)|0;d=(k[a+4>>2]|0)/1e3|0;d=ow(e|0,L|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;k[a>>2]=d;k[a+4>>2]=L;a=0}else a=1;r=c;return a|0}function Ci(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=k[47560+(a*12|0)>>2]|0;if(b)k[47556+(a*12|0)>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(dw(b,k[47552+(a*12|0)>>2]|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=k[b>>2]|0;if(!a){a=k[47556+(d*12|0)>>2]|0;k[b>>2]=a}k[47556+(d*12|0)>>2]=(c|0)==0?a:c;b=0}while(0);return b|0}function Di(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(dw(b,k[47552+(a*12|0)>>2]|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=k[47556+(a*12|0)>>2]|0;return a|0}function Ei(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(dw(b,k[47552+(c*12|0)>>2]|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(k[47556+(a*12|0)>>2]|0){d=6;break}}if((d|0)==6)a=k[47552+(a*12|0)>>2]|0;return a|0}function Fi
10 a,d)|0}function Gf(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;b=Wh(a,b,-1)|0;d=Vh(a,b,c,d,e,f,g,h,0)|0;rg(a,b);return Tg(a,d)|0}function Hf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-b&1073741823}if(!(Xh(a,b,d,c,1,0)|0))d=Vh(a,b,c,1,0,57,0,0,0)|0;else d=0;return Tg(a,d)|0}function If(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+180|0;d=k[e>>2]|0;k[a+176>>2]=b;k[e>>2]=c;return d|0}function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+188|0;d=k[e>>2]|0;k[a+184>>2]=b;k[e>>2]=c;return d|0}function Kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+192|0;d=k[e>>2]|0;k[a+196>>2]=b;k[e>>2]=c;return d|0}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+208|0;d=k[e>>2]|0;k[a+212>>2]=b;k[e>>2]=c;return d|0}function Mf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+200|0;d=k[e>>2]|0;k[a+204>>2]=b;k[e>>2]=c;return d|0}function Nf(a,b){a=a|0;b=b|0;var c=0;if((b|0)>0)c=21;else{b=0;c=0}k[a+216>>2]=c;k[a+220>>2]=b;return 0}function Of(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+220|0;d=k[e>>2]|0;k[a+216>>2]=b;k[e>>2]=c;return d|0}function Pf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;if(d)k[d>>2]=-1;if(e)k[e>>2]=-1;if(c>>>0>3)b=21;else{if((b|0)!=0?(i[b>>0]|0)!=0:0){g=_h(a,b)|0;if((g|0)<0){k[f>>2]=b;zg(a,1,10952,f);b=1}else h=10}else{g=10;h=10}do if((h|0)==10){k[a+452>>2]=0;b=$h(a,g,c,d,e)|0;k[a+52>>2]=b;f=k[a+236>>2]|0;if(f){g=f+8|0;if(!(j[g>>1]&9312)){j[g>>1]=1;break}else{Ag(f);break}}}while(0);b=Tg(a,b)|0}r=l;return b|0}function Qf(a,b){a=a|0;b=b|0;return Pf(a,b,0,0,0)|0}function Rf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;do if(a){b=k[a+76>>2]|0;if(!((b|0)==1266094736|(b|0)==-1607883113|(b|0)==-264537850)){k[e>>2]=15248;gd(21,15256,e);b=11008;break}f=a+65|0;if(!(i[f>>0]|0)){d=a+236|0;b=Xg(k[d>>2]|0,2)|0;if(!b){c=k[a+52>>2]|0;if((c|0)!=516){b=c&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344;zg(a,c,b,e);b=Xg(k[d>>2]|0,2)|0}i[f>>0]=0}else b=10976}else b=10976;while(0);r=g;return b|0}function Sf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129704;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+56>>2]&k[a+52>>2];else a=7}else a=7;while(0);r=c;return a|0}function Tf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129713;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+52>>2]|0;else a=7}else a=7;while(0);r=c;return a|0}function Uf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Vf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0<=11){d=a+(b<<2)+88|0;a=k[d>>2]|0;if((c|0)>-1){b=k[11088+(b<<2)>>2]|0;k[d>>2]=(b|0)<(c|0)?b:c}}else a=-1;return a|0}function Wf(a,b){a=a|0;b=b|0;return ai(a,b,6,0)|0}function Xf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ai(a,b,c,d)|0}function Yf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[b>>2]=0;c=Qc()|0;if(!c){e=vg(40,0)|0;if(e){a=(a|0)==0?11136:a;c=e+0|0;d=c+40|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));j[e+8>>1]=1;k[e+32>>2]=0;ah(e,a,-1,2,0)|0}a=Xg(e,1)|0;if(a){c=ai(a,b,6,0)|0;if(!c){c=k[b>>2]|0;a=k[(k[c+16>>2]|0)+12>>2]|0;if(!(j[a+78>>1]&1)){i[c+62>>0]=2;i[a+77>>0]=2;c=0}else c=0}}else c=7;Rh(e);c=c&255}return c|0}function Zf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tg(a,bi(a,b,c&255,d,e,0)|0)|0}function _f(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Tg(a,bi(a,b,c&255,d,e,f)|0)|0}function $f(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Wh(a,b,-1)|0;if(!b)b=0;else{c=bi(a,b,c&255,d,e,0)|0;rg(a,b);b=c}return Tg(a,b)|0}function ag(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=c;k[a+228>>2]=0;k[a+232>>2]=b;return 0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=0;k[a+228>>2]=c;k[a+232>>2]=b;return 0}function cg(a){a=a|0;return l[a+63>>0]|0|0}function dg(){return}function eg(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;if((r|0)>=(s|0))ka();x=z;y=z+8|0;k[y>>2]=0;n=k[a+20>>2]|0;if((n|0)>0){m=k[a+16>>2]|0;p=0;do{o=k[m+(p<<4)+4>>2]|0;if(o)k[(k[o+4>>2]|0)+4>>2]=k[o>>2];p=p+1|0}while((p|0)!=(n|0))}m=ci(a,y)|0;w=(m|0)!=0;a:do if((!w?(u=di(a,c,b)|0,(u|0)!=0):0)?(k[u+12>>2]|0)==0:0){do if(d){t=j[u+38>>1]|0;b:do if(t<<16>>16>0){b=k[u+4>>2]|0;n=t<<16>>16;q=0;while(1){o=b+(q*24|0)|0;p=q+1|0;if(!(id(k[o>>2]|0,d)|0)){p=q;break b}if((p|0)<(n|0))q=p;else break}}else{p=0;o=0}while(0);if((p|0)==(t<<16>>16|0)){if(i[u+44>>0]&32){b=0;t=0;u=0;o=0;q=0;p=0;break a}if(!(ei(d)|0)){b=0;t=0;u=0;o=0;q=0;p=0;break a}v=j[u+36>>1]|0;n=v<<16>>16;if(v<<16>>16<=-1){b=0;q=0;n=1;v=0;p=11144;break}p=n;o=(k[u+4>>2]|0)+(n*24|0)|0}if(o){if((j[u+36>>1]|0)==(p|0))n=(i[u+44>>0]&8)!=0;else n=0;b=n&1;q=(i[o+20>>0]|0)!=0&1;n=i[o+23>>0]&1;v=k[o+16>>2]|0;p=k[o+12>>2]|0}else{b=0;q=0;n=1;v=0;p=11144}}else{b=0;q=0;n=1;v=0;p=11144}while(0);t=q;o=n;q=(v|0)==0?11152:v}else{b=0;t=0;u=0;o=0;q=0;p=0}while(0);if(e)k[e>>2]=p;if(f)k[f>>2]=q;if(g)k[g>>2]=t;if(h)k[h>>2]=o;if(l)k[l>>2]=b;n=k[y>>2]|0;if(!(w|(u|0)!=0)){rg(a,n);k[x>>2]=c;k[x+4>>2]=d;n=zh(a,11160,x)|0;k[y>>2]=n;m=1}k[x>>2]=n;zg(a,m,(n|0)!=0?10344:0,x);rg(a,k[y>>2]|0);w=Tg(a,m)|0;r=z;return w|0}function fg(a){a=a|0;var b=0;if((Qc()|0)==0?(b=k[2254]|0,(b|0)!=0):0)a=(wc[k[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function gg(a,b){a=a|0;b=b|0;k[a+56>>2]=(b|0)!=0?-1:255;return 0}function hg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=fifi(a,b)|0;if(a){a=k[k[a+4>>2]>>2]|0;if(!(i[a+15>>0]|0))a=k[a+168>>2]|0;else a=10360}else a=0;return a|0}function ng(a,b){a=a|0;b=b|0;a=file(0);L=a;r=e;return c|0}function $g(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((ah(k[a>>2]|0,b,c,d,e)|0)==18){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}return}function ah(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,r=0;a:do if(!b){f=a+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;f=0;break}else{Ag(a);f=0;break}}else{o=a+32|0;f=k[o>>2]|0;if(!f)r=1e9;else r=k[f+88>>2]|0;q=d<<24>>24==0;n=q?16:2;if((c|0)<0){b:do if(d<<24>>24!=1)if((r|0)<0)g=0;else{c=0;while(1){g=c+2|0;if(!((i[b+(c|1)>>0]|i[b+c>>0])<<24>>24)){g=c;break b}if((g|0)>(r|0))break;else c=g}}else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-b&1073741823;g=(g|0)>(r|0)?r+1|0:g}while(0);p=g;l=(n&65535|512)&65535}else{p=c;l=n}do if((e|0)==(-1|0)){if(!(l&512))f=p;else f=p+(d<<24>>24==1?1:2)|0;if((p|0)>(r|0)){f=18;break a}if(kh(a,(f|0)>32?f:32)|0){f=7;break a}pw(k[a+16>>2]|0,b|0,f|0)|0;n=a+8|0;f=l}else{c=(e|0)==75;h=a+8|0;if(!((j[h>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);k[a+16>>2]=b;if(!c){k[a+36>>2]=e;n=h;f=(l&65535|((e|0)==0?2048:1024))&65535;break}k[a+20>>2]=b;f=k[o>>2]|0;do if(!f)f=qc[k[8744+48>>2]&127](b)|0;else{if((k[f+276>>2]|0)>>>0<=b>>>0?(k[f+280>>2]|0)>>>0>b>>>0:0){f=m[f+248>>1]|0;break}f=qc[k[8744+48>>2]&127](b)|0}while(0);k[a+24>>2]=f;n=h;f=l}while(0);l=a+12|0;k[l>>2]=p;j[n>>1]=f;b=q?1:d;h=a+10|0;i[h>>0]=b;do if(b<<24>>24!=1&(p|0)>1){c=a+16|0;g=k[c>>2]|0;f=i[g>>0]|0;g=i[g+1>>0]|0;if(!(f<<24>>24==-1&g<<24>>24==-2))if(g<<24>>24!=-1|f<<24>>24!=-2)break;else f=3;else f=2;if(_l(a)|0){f=7;break a}b=(k[l>>2]|0)+-2|0;k[l>>2]=b;e=k[c>>2]|0;qw(e|0,e+2|0,b|0)|0;i[(k[c>>2]|0)+(k[l>>2]|0)>>0]=0;i[(k[c>>2]|0)+((k[l>>2]|0)+1)>>0]=0;j[n>>1]=m[n>>1]|512;i[h>>0]=f}while(0);f=(p|0)>(r|0)?18:0}while(0);return f|0}function bh(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f+8|0;e=f;c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);p[d>>3]=b;p[e>>3]=+p[d>>3];if(!(+p[d>>3]!=+p[e>>3])){p[a>>3]=b;j[c>>1]=8}r=f;return}function ch(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!(j[d>>1]&9312))j[d>>1]=1;else Ag(a);k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4;return}function dh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if(j[c>>1]&9312)Ag(a);k[a+0>>2]=k[b+0>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];e=m[c>>1]|0;d=e&64511;j[c>>1]=d;if((e&18|0)!=0?(j[b+8>>1]&2048)==0:0){j[c>>1]=d|4096;c=_l(a)|0}else c=0;return c|0}function eh(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!((j[c>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);j[c>>1]=16400;k[a+12>>2]=0;k[a>>2]=(b|0)<0?0:b;i[a+10>>0]=1;k[a+16>>2]=0;return}function fh(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;if(a)if(!(k[a>>2]|0)){gd(21,47360,b);a=1}else a=0;else{gd(21,47320,b);a=1}r=c;return a|0}function gh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if((k[a>>2]|0)>1?(c=k[a+72>>2]|0,(c|0)!=0):0)c=wc[c&127](a,b)|0;else{c=wc[k[a+64>>2]&127](a,d)|0;f=+p[d>>3]*864.0e5;a=+W(f)>=1.0?(f>0.0?~~+ia(+V(f/4294967296.0),4294967295.0)>>>0:~~+ga((f-+(~~f>>>0))/4294967296.0)>>>0):0;k[b>>2]=~~f>>>0;k[b+4>>2]=a}r=e;return c|0}function hh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=k[a+32>>2]|0;d=g+65|0;e=i[d>>0]|0;if(k[g+520>>2]|0){b=a;while(1){if(k[b+24>>2]|0)rg(g,k[b+20>>2]|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!(j[b>>1]&9312)){c=a+24|0;if(k[c>>2]|0){rg(g,k[a+20>>2]|0);k[c>>2]=0}}else Vg(a);j[b>>1]=128;a=a+40|0}while(a>>>0<f>>>0);i[d>>0]=e}while(0);return}function ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;d=$k(b,c,f)|0;rg(b,k[a>>2]|0);k[a>>2]=d;r=e;return}function jh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0;i=a+24|0;d=k[i>>2]|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=k[e>>2]|0,g=a+20|0,(f|0)==(k[g>>2]|0)):0){d=$l(k[a+32>>2]|0,f,h,((h|0)<0)<<31>>31)|0;k[g>>2]=d;k[e>>2]=d;c=0}else{d=a+32|0;if(b){b=a+20|0;rg(k[d>>2]|0,k[b>>2]|0)}else b=a+20|0;d=rh(k[d>>2]|0,h,((h|0)<0)<<31>>31)|0;k[b>>2]=d}if(!d){c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);k[a+16>>2]=0;k[i>>2]=0;c=7;break}b=k[a+32>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](d)|0;else{if((k[b+276>>2]|0)>>>0<=d>>>0?(k[b+280>>2]|0)>>>0>d>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](d)|0}while(0);k[i>>2]=b;o=21}else o=21;while(0);if((o|0)==21){if(((c|0)!=0?(l=k[a+16>>2]|0,(l|0)!=0):0)?(n=k[a+20>>2]|0,(l|0)!=(n|0)):0)pw(n|0,l|0,k[a+12>>2]|0)|0;b=a+8|0;c=j[b>>1]|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;hc[k[a+36>>2]&31](k[d>>2]|0);c=j[b>>1]|0}k[d>>2]=k[a+20>>2];j[b>>1]=c&58367;c=0}return c|0}function kh(a,b){a=a|0;b=b|0;if((k[a+24>>2]|0)<(b|0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,_i64Add:ow,_memmove:qw,_bitshift64Ashr:jw,_strlen:lw,_memset:kw,_malloc:$v,_memcpy:pw,_bitshift64Lshr:rw,_llvm_bswap_i32:sw,_bitshift64Shl:nw,runPostSets:hw,_emscripten_replace_memory:_emscripten_replace_memory,stackAlloc:zc,stackSave:Ac,stackRestore:Bc,setThrew:Cc,setTempRet0:Fc,getTempRet0:Gc,dynCall_iiiiiiii:Bw,dynCall_iiii:Cw,dynCall_viiiiii:Dw,dynCall_vi:Ew,dynCall_viiiii:Fw,dynCall_dii:Gw,dynCall_vid:Hw,dynCall_di:Iw,dynCall_i:Jw,dynCall_iiiiiiiiii:Kw,dynCall_vii:Lw,dynCall_iiiiiii:Mw,dynCall_ii:Nw,dynCall_viii:Ow,dynCall_v:Pw,dynCall_iiiiiiiii:Qw,dynCall_iiiii:Rw,dynCall_viiii:Sw,dynCall_iii:Tw,dynCall_iiid:Uw,dynCall_iiiiii:Vw}})