Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Dq

7 =i+16|0;if((i|0)>=(j|0))ba();f=g;if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){d=cl(a,b,c,d)|0;if(!d){d=da(c|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==0?(e=_p(d)|0,(e|0)!=0):0){d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0)}else e=0}else e=d}else{ea(f|0,54788|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11}i=g;return e|0}function vp(a){a=a|0;var b=0,c=0,d=0;if((da(a+12>>0|0,1,0,0)|0|0)==0?(b=a+60|0,c=da(b|0,4,0,0)|0|0,((kc[(fa(da((da(c|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&4096|0)==0):0){b=da(b|0,4,0,0)|0|0;c=da((da(b|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(c){b=kc[(fa(c|0,127|0)|0)&127](b)|0;if((b|0)<32)b=512;else d=6}else{b=4096;d=6}if((d|0)==6)b=(b|0)>65536?65536:b;ea(a+148|0,b|0,4,0)}else ea(a+148|0,512|0,4,0);return}function wp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+40|0;do if(!(da(g|0,4,0,0)|0)){f=da(a+20>>0|0,1,0,0)|0|0;if(f<<24>>24){if(f&3){c=0;break}if((da(b+24|0,2,0,0)|0)&4){c=0;break}}ea(b+12|0,0|0,4,0);do if(!(da(a+208|0,4,0,0)|0)){if(!(((da(b+24|0,2,0,0)|0)&4)==0?(da(a+16>>0|0,1,0,0)|0|0)!=3:0))h=11;if((h|0)==11?(d=yl(a,1)|0,(d|0)!=0):0){c=d;break}if(((da(b+20|0,4,0,0)|0|0)>>>0>(da(a+24|0,4,0,0)|0|0)>>>0?(To(b)|0)!=0:0)?(e=Uo(b)|0,(e|0)!=0):0){c=e;break}c=zl(a,b)|0;h=16}else{if((To(b)|0)!=0?(c=Uo(b)|0,(c|0)!=0):0)break;c=vl(a,b,0,0)|0;h=16}while(0);if((h|0)==16)if(!c){wl(b);c=0;break}d=c&255;if((d|0)==10|(d|0)==13){ea(g|0,c|0,4,0);ea(a+16>>0|0,6|0,1,0)}}else c=0;while(0);return c|0}function xp(a){a=a|0;var b=0;b=da(a+8|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(ea(b>>0|0,0|0,1,0),(da(a+26|0,2,0,0)|0|0)>1):0)_p(b)|0;return}function yp(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,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=l+8|0;do if(!(da(e|0,4,0,0)|0)){if(!b){ea(k|0,53856|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);break}if(b>>>0<2)g=0;else{f=b+-2|0;f=f-((f>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;g=((f+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+f|0}f=yg(da(a|0,4,0,0)|0|0,g,h,0)|0;if(f){ea(e|0,f|0,4,0);break}b=(b-g|0)*5|0;f=b+-5|0;do if((f|0)>=0){a=da(h|0,4,0,0)|0|0;g=da(a+4|0,4,0,0)|0|0;f=g+f|0;if((da(f>>0|0,1,0,0)|0|0)==c<<24>>24?((da(g+(b+-3)>>0|0,1,0,1)|0)<<16|(da(g+(b+-4)>>0|0,1,0,1)|0)<<24|(da(g+(b+-2)>>0|0,1,0,1)|0)<<8|(da(g+(b+-1)>>0|0,1,0,1)|0)|0)==(d|0):0)break;h=Fg(a)|0;ea(e|0,h|0,4,0);if(!h){ea(f>>0|0,c|0,1,0);ea(g+(b+-4)>>0|0,d>>>24|0,1,0);ea(g+(b+-3)>>0|0,d>>>16|0,1,0);ea(g+(b+-2)>>0|0,d>>>8|0,1,0);ea(g+(b+-1)>>0|0,d|0,1,0)}}else{ea(k|0,53867|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);a=da(h|0,4,0,0)|0|0}while(0);if(a)Ag(a)}while(0);i=l;return}function zp(a,b,c){a=a|0;b=b|0;c=c|0;return Jm(a,b,c,0)|0}function Ap(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;f=(da(b>>0|0,1,0,1)|0)&63;d=b+f|0;h=da(c+8|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;switch(da(b+1>>0|0,1,0,1)|0|0){case 2:{d=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 4:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 3:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<8|(da(d>>0|0,1,0,0)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 5:{e=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);d=(da(b+(f+3)>>0|0,1,0,1)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0)<<24|(da(b+(f+4)>>0|0,1,0,1)|0)<<8|(da(b+(f+5)>>0|0,1,0,1)|0);i=11;break}case 7:case 0:{d=Jm(a,b,c,0)|0;break}case 6:{e=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);d=(da(b+(f+5)>>0|0,1,0,1)|0)<<16|(da(b+(f+4)>>0|0,1,0,1)|0)<<24|(da(b+(f+6)>>0|0,1,0,1)|0)<<8|(da(b+(f+7)>>0|0,1,0,1)|0);i=11;break}case 9:{e=0;d=1;i=11;break}case 8:{e=0;d=0;i=11;break}case 1:{d=da(d>>0|0,1,0,0)|0|0;e=((d|0)<0)<<31>>31;i=11;break}default:d=Jm(a,b,c,0)|0}do if((i|0)==11){if((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0){d=da(c+12|0,4,0,0)|0|0;break}if((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0){d=da(c+16|0,4,0,0)|0|0;break}if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);return d|0}function Bp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=k+8|0;d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0)}else{lm(d,f)|0;d=da(f|0,4,0,0)|0|0}do if((d|0)>=12){if(!(d&1)){d=da(c+16|0,4,0,0)|0|0;break}f=da(b>>0|0,1,0,1)|0|0;g=(d+-12|0)/2|0;if((f+g|0)>(a|0)){ea(h|0,68550|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);ea(c+7>>0|0,11|0,1,0);d=0;break}d=da(c+8|0,4,0,0)|0|0;e=da(d+12|0,4,0,0)|0|0;d=Yv(b+f|0,da(d+16|0,4,0,0)|0|0,(g|0)>(e|0)?e:g)|0;if(d)if((d|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}if((g|0)==(e|0))if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}else if((g-e|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}}else d=da(c+12|0,4,0,0)|0|0;while(0);i=k;return d|0}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+73|0;c=da(h>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(h>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(h>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)>0):0)c=0;else i=9}else i=9;while(0);do if((i|0)==9){g=a+76|0;c=da(g|0,2,0,0)|0|0;d=da(a+(c<<2)+120|0,4,0,0)|0|0;c=a+(c<<1)+78|0;e=(da(c|0,2,0,0)|0|0)+1<<16>>16;ea(c|0,e|0,2,0);c=(da(d+5>>0|0,1,0,0)|0|0)!=0;if((e&65535)<(da(d+18|0,2,0,1)|0|0)){if(c){c=0;break}c=Um(a)|0;break}if(!c){c=da(d+6>>0|0,1,0,1)|0|0;d=da(d+56|0,4,0,0)|0|0;c=qm(a,(da(d+(c+9)>>0|0,1,0,1)|0)<<16|(da(d+(c+8)>>0|0,1,0,1)|0)<<24|(da(d+(c+10)>>0|0,1,0,1)|0)<<8|(da(d+(c+11)>>0|0,1,0,1)|0))|0;if(c)break;c=Um(a)|0;break}e=a+44|0;f=a+72|0;d=da(g|0,2,0,0)|0|0;do{if(!(d<<16>>16)){i=15;break}c=da(a+(d<<16>>16<<2)+120|0,4,0,0)|0|0;if(c){Ag(da(c+68|0,4,0,0)|0|0);d=da(g|0,2,0,0)|0|0}d=d+-1<<16>>16;ea(g|0,d|0,2,0);ea(e|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);j=d<<16>>16;c=da(a+(j<<2)+120|0,4,0,0)|0|0}while((da(a+(j<<1)+78|0,2,0,1)|0|0)>=(da(c+18|0,2,0,1)|0|0));if((i|0)==15){ea(b|0,1|0,4,0);ea(h>>0|0,0|0,1,0);c=0;break}if(!(da(c+2>>0|0,1,0,0)|0))c=0;else c=Cm(a,b)|0}while(0);return c|0}function Dp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=a+73|0;c=da(k>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(k>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(k>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)<0):0)c=0;else e=9}else e=9;while(0);a:do if((e|0)==9){j=a+76|0;f=da(j|0,2,0,0)|0|0;g=f<<16>>16;e=da(a+(g<<2)+120|0,4,0,0)|0|0;d=a+(g<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(!(da(e+5>>0|0,1,0,0)|0)){b=da(e+56|0,4,0,0)|0|0;c=(c&65535)<<1;k=da(e+64|0,4,0,0)|0|0;c=((da(k+c>>0|0,1,0,1)|0)<<8|(da(k+(c|1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=qm(a,(da(b+(c+1)>>0|0,1,0,1)|0)<<16|(da(b+c>>0|0,1,0,1)|0)<<24|(da(b+(c+2)>>0|0,1,0,1)|0)<<8|(da(b+(c+3)>>0|0,1,0,1)|0))|0;if(c)break;c=Ep(a)|0;break}b:do if(!(c<<16>>16)){h=a+44|0;i=a+72|0;e=g;while(1){if(!(f<<16>>16))break;d=da(a+(e<<2)+120|0,4,0,0)|0|0;if(!d)d=f;else{Ag(da(d+68|0,4,0,0)|0|0);d=da(j|0,2,0,0)|0|0}f=d+-1<<16>>16;ea(j|0,f|0,2,0);ea(h|0,0|0,2,0);ea(i>>0|0,(da(i>>0|0,1,0,1)|0)&249|0,1,0);e=f<<16>>16;d=a+(e<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(c<<16>>16)break b}ea(k>>0|0,0|0,1,0);ea(b|0,1|0,4,0);c=0;break a}while(0);ea(d|0,c+-1<<16>>16|0,2,0);c=da(a+((da(j|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;if((da(c+2>>0|0,1,0,0)|0|0)!=0?(da(c+5>>0|0,1,0,0)|0|0)==0:0)c=Dm(a,b)|0;else c=0}while(0);return c|0}function Ep(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=a+76|0;do{c=da(d|0,2,0,0)|0|0;b=da(a+(c<<2)+120|0,4,0,0)|0|0;if(da(b+5>>0|0,1,0,0)|0){e=4;break}f=da(b+6>>0|0,1,0,1)|0|0;g=da(b+56|0,4,0,0)|0|0;f=(da(g+(f+9)>>0|0,1,0,1)|0)<<16|(da(g+(f+8)>>0|0,1,0,1)|0)<<24|(da(g+(f+10)>>0|0,1,0,1)|0)<<8|(da(g+(f+11)>>0|0,1,0,1)|0);ea(a+(c<<1)+78|0,da(b+18|0,2,0,0)|0|0|0,2,0);b=qm(a,f)|0}while((b|0)==0);if((e|0)==4){ea(a+(c<<1)+78|0,(da(b+18|0,2,0,1)|0|0)+65535|0,2,0);b=0}return b|0}function Fp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|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+224|0;if((i|0)>=(j|0))ba();k=m;g=m+8|0;ea(g|0,0|0,4,0);do if(b){h=a+16|0;l=Em(da(h|0,4,0,0)|0|0,m+16|0,200,g)|0;if(l){Fm(da(h|0,4,0,0)|0|0,c,b,l);if(!(da(l+4|0,2,0,0)|0)){lg(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0);ea(k|0,53713|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);g=11;break}h=da(g|0,4,0,0)|0|0;g=Bm(a,l,c,d,e,f)|0;if(h)lg(da((da(a+16|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,h)}else g=7}else g=Bm(a,0,c,d,e,f)|0;while(0);i=m;return g|0}function Gp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+48|0;if((i|0)>=(j|0))ba();n=o+24|0;d=o;l=o+36|0;m=o+32|0;h=da(a+52|0,4,0,0)|0|0;qp(a,b,d);ea(c|0,da(d+20|0,2,0,0)|0|0|0,2,0);c=da(d+18|0,2,0,0)|0|0;a:do if(c<<16>>16){e=c&65535;f=b+(e+3)|0;if(f>>>0>((da(a+56|0,4,0,0)|0|0)+(da(a+20|0,2,0,1)|0|0)|0)>>>0){ea(n|0,58720|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11;break}c=(da(h+36|0,4,0,0)|0|0)+-4|0;c=(((da(d+12|0,4,0,0)|0|0)+-1+c-(da(d+16|0,2,0,1)|0|0)|0)>>>0)/(c>>>0)|0;if(c){g=h+44|0;a=c;e=(da(b+(e+1)>>0|0,1,0,1)|0)<<16|(da(b+e>>0|0,1,0,1)|0)<<24|(da(b+(e+2)>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);while(1){a=a+-1|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(e>>>0<2)break;if(e>>>0>(da(g|0,4,0,0)|0|0)>>>0)break;b=(a|0)==0;if(!b){c=Lp(h,e,m,l)|0;if(c)break a;c=da(m|0,4,0,0)|0|0;if(c)f=13;else f=12}else f=12;if((f|0)==12){c=Xp(h,e)|0;ea(m|0,c|0,4,0);if(!c){c=0;f=15}else f=13}if((f|0)==13){f=0;if((da((da(c+68|0,4,0,0)|0|0)+26|0,2,0,0)|0|0)==1)f=15;else{ea(n|0,58754|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}}if((f|0)==15)c=Xm(h,c,e)|0;d=da(m|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+68|0,4,0,0)|0|0,(k|0)!=0):0)Ag(k);if(c)break a;if(b){c=0;break a}else e=da(l|0,4,0,0)|0|0}ea(n|0,58734|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}else c=0}else c=0;while(0);i=o;return c|0}function Hp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;do if(!(da(d|0,4,0,0)|0)){n=da(a+56|0,4,0,0)|0|0;o=b<<1;p=da(a+64|0,4,0,0)|0|0;q=p+o|0;e=(da(q>>0|0,1,0,1)|0|0)<<8|(da(p+(o|1)>>0|0,1,0,1)|0|0);g=a+6|0;h=da(g>>0|0,1,0,1)|0|0;k=n+(h+5)|0;l=n+(h+6)|0;if(e>>>0>=((da(k>>0|0,1,0,1)|0|0)<<8|(da(l>>0|0,1,0,1)|0|0))>>>0?(m=a+52|0,(e+c|0)>>>0<=(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>0):0){c=Bq(a,e&65535,c&65535)|0;if(c){ea(d|0,c|0,4,0);break}c=a+18|0;e=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,e|0,2,0);if(!(e<<16>>16)){d=n+(h+1)|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);ea(n+(h+7)>>0|0,0|0,1,0);ea(k>>0|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>8|0,1,0);ea(l>>0|0,da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,1,0);ea(a+16|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+65528-(da(g>>0|0,1,0,1)|0|0)-(da(a+7>>0|0,1,0,1)|0|0)|0,2,0);break}else{kw(q|0,p+(o+2)|0,(e&65535)-b<<1|0)|0;ea(n+(h+3)>>0|0,(da(c|0,2,0,1)|0|0)>>>8|0,1,0);ea(n+(h+4)>>0|0,da(c|0,2,0,0)|0|0,1,0);n=a+16|0;ea(n|0,(da(n|0,2,0,1)|0|0)+2|0,2,0);break}}ea(f|0,58991|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);ea(d|0,11|0,4,0)}while(0);i=r;return}function Ip(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|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,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();k=y;u=y+12|0;q=y+8|0;a:do if(!(da(g|0,4,0,0)|0)){h=a+1|0;if((da(h>>0|0,1,0,0)|0|0)==0?(w=d+2|0,x=a+16|0,(w|0)<=(da(x|0,2,0,1)|0|0)):0){e=Fg(da(a+68|0,4,0,0)|0|0)|0;if(e){ea(g|0,e|0,4,0);break}r=da(a+56|0,4,0,0)|0|0;l=da(a+14|0,2,0,1)|0|0;s=a+18|0;t=(da(s|0,2,0,1)|0)<<1;n=b<<1;o=l+n|0;p=a+6|0;e=da(p>>0|0,1,0,1)|0|0;ea(u|0,0|0,4,0);b=t+l|0;l=r+(e+5)|0;m=r+(e+6)|0;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;b:do if((b|0)>(h|0)){ea(k|0,54326|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);e=11}else{k=b+2|0;do if((k|0)<=(h|0)){if((da(r+(e+1)>>0|0,1,0,0)|0|0)==0?(da(r+(e+2)>>0|0,1,0,0)|0|0)==0:0){v=20;break}ea(q|0,0|0,4,0);b=Cq(a,d,u,q)|0;e=da(u|0,4,0,0)|0|0;if(e)break b;if(!(da(q|0,4,0,0)|0))if(!b)v=20;else h=b-r|0;else v=21}else v=20;while(0);if((v|0)==20)if((k+d|0)>(h|0))v=21;else v=23;if((v|0)==21){e=DqDqdq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
8 dq(a,e)|0)break a;if(yg(da(o|0,4,0,0)|0|0,e,p,0)|0){b=8;break}k=da(p|0,4,0,0)|0|0;l=da(k+4|0,4,0,0)|0|0;do if(m)if((h|0)>0?(da((da(a|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0|0)!=0:0){cn(a,(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0),4,e);b=h}else b=h;else{g=(da(l+5>>0|0,1,0,1)|0)<<16|(da(l+4>>0|0,1,0,1)|0)<<24|(da(l+6>>0|0,1,0,1)|0)<<8|(da(l+7>>0|0,1,0,1)|0);f=da(a|0,4,0,0)|0|0;if(da(f+17>>0|0,1,0,0)|0){cn(a,e,2,0);f=da(a|0,4,0,0)|0|0}if((g|0)>(((da(f+36|0,4,0,0)|0|0)/4|0)+-2|0)){ea(q|0,e|0,4,0);en(a,44640,q);b=b+-2|0;break}b:do if((g|0)>0){b=0;while(1){e=b<<2;e=(da(l+(e+9)>>0|0,1,0,1)|0)<<16|(da(l+(e+8)>>0|0,1,0,1)|0)<<24|(da(l+(e+10)>>0|0,1,0,1)|0)<<8|(da(l+(e+11)>>0|0,1,0,1)|0);if(da(f+17>>0|0,1,0,0)|0)cn(a,e,2,0);dq(a,e)|0;b=b+1|0;if((b|0)==(g|0))break b;f=da(a|0,4,0,0)|0|0}}while(0);b=h-g|0}while(0);e=(da(l+1>>0|0,1,0,1)|0)<<16|(da(l>>0|0,1,0,1)|0)<<24|(da(l+2>>0|0,1,0,1)|0)<<8|(da(l+3>>0|0,1,0,1)|0);if(k)Ag(k);if((b|0)<=0)break a}if((b|0)==5){ea(q|0,e|0,4,0);ea(q+4|0,d|0,4,0);ea(q+8|0,c|0,4,0);en(a,44552,q);break}else if((b|0)==8){ea(q|0,e|0,4,0);en(a,44616,q);break}}while(0);i=r;return}function cn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();h=l;f=l+24|0;g=l+20|0;e=gp(da(a|0,4,0,0)|0|0,b,f,g)|0;if((e|0)==7|(e|0)==3082){ea(a+24|0,1|0,4,0);k=3}else if(!e){f=da(f>>0|0,1,0,0)|0|0;e=da(g|0,4,0,0)|0|0;if(!((e|0)==(d|0)?f<<24>>24==c<<24>>24:0)){ea(h|0,b|0,4,0);ea(h+4|0,c&255|0,4,0);ea(h+8|0,d|0,4,0);ea(h+12|0,f&255|0,4,0);ea(h+16|0,e|0,4,0);en(a,44496,h)}}else k=3;if((k|0)==3){ea(h|0,b|0,4,0);en(a,44464,h)}i=l;return}function dn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+64|0;if((i|0)>=(j|0))ba();N=U+40|0;h=U+56|0;I=U+32|0;J=U+24|0;F=U;S=I;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=J;ea(S|0,0|0,4,0);ea(S+4|0,0|0,4,0);S=a+28|0;T=da(S|0,4,0,0)|0|0;O=a+32|0;P=da(O|0,4,0,0)|0|0;Q=a+36|0;R=da(Q|0,4,0,0)|0|0;K=da(a|0,4,0,0)|0|0;E=K+36|0;L=da(E|0,4,0,0)|0|0;if((b|0)!=0?(dq{c=da(a>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=a;a=d+2|0;d=c}else break}}else{c=da(e>>0|0,1,0,0)|0|0;a=e}b=b+1|0}while(c<<24>>24!=0&a>>>0<f>>>0)}else b=0;return b|0}function Nn(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+48|0;if((i|0)>=(j|0))ba();p=t+32|0;q=t+16|0;r=t;e=da(a|0,4,0,0)|0|0;if((e|0)<0){ea(a|0,0|0,4,0);ea(a+4|0,-1|0,4,0);ea(a+12|0,0|0,2,0);ea(a+14>>0|0,0|0,1,0);e=0}l=c;m=da(l+4|0,4,0,0)|0|0;k=r;ea(k|0,da(l|0,4,0,0)|0|0,4,0);ea(k+4|0,m|0,4,0);m=a+8|0;ea(m|0,d|0,4,0);k=b&255;l=(b|0)==254;do{h=da(a+(e<<4)+12|0,2,0,0)|0|0;d=h&65535;c=37184+(d<<1)|0;a:do if((h&65535)>429)s=6;else{h=k;while(1){g=da(c|0,2,0,0)|0|0;f=g<<16>>16;if(g<<16>>16==-86){s=6;break a}g=h&255;e=f+g|0;if(e>>>0<=1496?(da(39336+e>>0|0,1,0,0)|0|0)==h<<24>>24:0){s=16;break}if(!(h<<24>>24))break;if((h&255)>=70){n=f;s=12;break}h=da(40840+g>>0|0,1,0,0)|0|0;if(!(h<<24>>24)){n=f;s=12;break}}if((s|0)==16){s=0;e=da(22184+(e<<1)|0,2,0,1)|0|0;break}if(((s|0)==12?(s=0,o=n+70|0,(o|0)>-1):0)?(da(39336+o>>0|0,1,0,0)|0|0)==70:0){e=da(22184+(o<<1)|0,2,0,1)|0|0;break}e=da(38048+(d<<1)|0,2,0,1)|0|0}while(0);if((s|0)==6){s=0;e=da(38048+(d<<1)|0,2,0,1)|0|0}if(e>>>0<642){s=18;break}if(e>>>0>=969){s=20;break}lq(a,e+-642|0);if(l)break;e=da(a|0,4,0,0)|0|0}while((e|0)>-1);if((s|0)==18){jq(a,e,b,r);n=a+4|0;ea(n|0,(da(n|0,4,0,0)|0|0)+-1|0,4,0)}else if((s|0)==20){ea(q+0|0,da(r+0|0,4,0,0)|0|0,4,0);ea(q+4|0,da(r+4|0,4,0,0)|0|0,4,0);ea(q+8|0,da(r+8|0,4,0,0)|0|0,4,0);n=da(m|0,4,0,0)|0|0;ea(p|0,q|0,4,0);sh(n,20432,p);ea(m|0,n|0,4,0);kq(a,k,r)}i=t;return}function On(a){a=a|0;var b=0;b=da(a|0,4,0,0)|0|0;if((b|0)>=0){kq(a,da(a+(b<<4)+14>>0|0,1,0,0)|0|0,a+(b<<4)+16|0);ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0)}return}function Pn(a,b){a=a|0;b=b|0;var c=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;do{Mk(a,da(b+(c<<4)+12|0,4,0,0)|0|0);Lk(a,da(b+(c<<4)+16|0,4,0,0)|0|0,1);lg(a,da(b+(c<<4)+8|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(b|0,4,0,0)|0|0))}lg(a,b)}return}function Qn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+328|0;c=da(g|0,4,0,0)|0|0;if(c){h=a+304|0;if((da(h|0,4,0,0)|0|0)>0){e=0;do{d=da(c+(e<<2)|0,4,0,0)|0|0;c=da(d+8|0,4,0,0)|0|0;if((c|0)!=0?(f=da((da(c|0,4,0,0)|0|0)+b|0,4,0,0)|0|0,(f|0)!=0):0)kc[(fa(f|0,127|0)|0)&127](c)|0;ea(d+20|0,0|0,4,0);zn(d);e=e+1|0;c=da(g|0,4,0,0)|0|0}while((e|0)<(da(h|0,4,0,0)|0|0))}lg(a,c);ea(h|0,0|0,4,0);ea(g|0,0|0,4,0)}return}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;do if((b|0)==-2)if(!(da(a+12|0,4,0,0)|0))b=(da(a+16|0,4,0,0)|0|0)==0?0:6;else b=6;else{e=da(a|0,2,0,0)|0|0;d=e<<16>>16;if(!((d|0)!=(b|0)&e<<16>>16>-1)){e=(d|0)==(b|0)?4:1;d=c&255;b=da(a+2|0,2,0,1)|0|0;if((d|0)==(b&3|0)){b=e|2;break}else return ((b&d)>>>1&1)+e|0}else b=0}while(0);return b|0}
11 0)>>>0<=(da(g|0,4,0,0)|0|0)>>>0:0)}else h=1;else if(!l)h=1;else h=((da(l+24|0,2,0,0)|0)&4)==0;g=da(a+60|0,4,0,0)|0|0;f=da(g|0,4,0,0)|0|0;do if(f){k=da(a+16>>0|0,1,0,0)|0|0;if((k&255)>3){if(!h){t=33;break}}else if(!(k<<24>>24==0&h)){t=33;break}c=da(u|0,4,0,0)|0|0;h=rw(c|0,((c|0)<0)<<31>>31|0,r+-1|0,0)|0;f=sc[(fa(da(f+12|0,4,0,0)|0|0,31|0)|0)&31](g,v,c,h,C)|0;h=a+32|0;if(r>>>0>(da(h|0,4,0,0)|0|0)>>>0)ea(h|0,r|0,4,0);h=da(a+88|0,4,0,0)|0|0;if(!h)k=l;else{$o(h,r,v);k=l}}else t=33;while(0);if((t|0)==33)if((d|0)==0&(l|0)==0){c=a+20|0;ea(c>>0|0,da(c>>0|0,1,0,1)|0|2|0,1,0);f=yg(a,r,s,1)|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&253|0,1,0);if(f)break;k=da(s|0,4,0,0)|0|0;f=k+24|0;ea(f|0,(da(f|0,2,0,1)|0)&65527|0,2,0);So(k);f=0}else{k=l;f=0}if(k){g=da(k+4|0,4,0,0)|0|0;jw(g|0,v|0,da(u|0,4,0,0)|0|0)|0;bc[(fa(da(a+196|0,4,0,0)|0|0,31|0)|0)&31](k);do if(w){if((e|0)!=0?(b,o=da(b+4|0,4,0,0)|0|0,h=a+80|0,c=da(h+4|0,4,0,0)|0|0,(o|0)>(c|0)|((o|0)==(c|0)?(da(b|0,4,0,0)|0|0)>>>0>(da(h|0,4,0,0)|0|0)>>>0:0)):0)break;wl(k)}while(0);if(n){b=a+104|0;g=g+24|0;h=b+16|0;do{ea(b>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;g=g+1|0}while((b|0)<(h|0))}nl(k)}}else f=0;else f=101}}while(0);i=x;return f|0}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a+24|0;if((da(d|0,4,0,0)|0|0)<=(b|0)){f=b+1|0;g=a+32|0;e=Wc(da(g|0,4,0,0)|0|0,f<<2)|0;if(!e){d=7;e=0}else{h=da(d|0,4,0,0)|0|0;ew(e+(h<<2)|0,0,f-h<<2|0)|0;ea(g|0,e|0,4,0);ea(d|0,f|0,4,0);h=5}}else{e=da(a+32|0,4,0,0)|0|0;h=5}if((h|0)==5){g=a+32|0;e=e+(b<<2)|0;do if(!(da(e|0,4,0,0)|0)){if((da(a+43>>0|0,1,0,0)|0|0)!=2){d=da(a+4|0,4,0,0)|0|0;d=sc[(fa(da((da(d|0,4,0,0)|0|0)+52|0,4,0,0)|0|0,31|0)|0)&31](d,b,32768,da(a+44>>0|0,1,0,1)|0|0,e)|0;if((d|0)!=8)break;d=a+46|0;ea(d>>0|0,da(d>>0|0,1,0,1)|0|2|0,1,0);d=0;break}d=pg(32768,0)|0;if(d)ew(d|0,0,32768)|0;ea((da(g|0,4,0,0)|0|0)+(b<<2)|0,d|0,4,0);d=(da((da(g|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0)==0?7:0}else d=0;while(0);e=da((da(g|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0}ea(c|0,e|0,4,0);return d|0}function xq(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;g=b+c|0;if(!d){f=0;c=0}else{f=da(d|0,4,0,0)|0|0;c=da(d+4|0,4,0,0)|0|0}if(!a)do{f=f+c+(mw(da(b|0,4,0,0)|0|0)|0)|0;c=f+c+(mw(da(b+4|0,4,0,0)|0|0)|0)|0;b=b+8|0}while(b>>>0<g>>>0);else do{f=f+c+(da(b|0,4,0,0)|0|0)|0;c=f+c+(da(b+4|0,4,0,0)|0|0)|0;b=b+8|0}while(b>>>0<g>>>0);ea(e|0,f|0,4,0);ea(e+4|0,c|0,4,0);return}function yq(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,i=0,j=0;g=a+8|0;f=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;if((g|0)>(e|0)|(g|0)==(e|0)&f>>>0>d>>>0?(h=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0,j=C,!((j|0)<(g|0)|(j|0)==(g|0)&h>>>0<f>>>0)):0){h=cw(f|0,g|0,d|0,e|0)|0;g=a+4|0;f=da(g|0,4,0,0)|0|0;f=sc[(fa(da((da(f|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](f,b,h,d,e)|0;if(!f){d=iw(h|0,((h|0)<0)<<31>>31|0,d|0,e|0)|0;e=C;f=da(g|0,4,0,0)|0|0;f=qc[(fa(da((da(f|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](f,(da(a+16|0,4,0,0)|0)&19)|0;if(!((h|0)==(c|0)|(f|0)!=0)){c=c-h|0;g=b+h|0;f=e;i=5}}}else{g=b;f=e;i=5}if((i|0)==5){e=da(a+4|0,4,0,0)|0|0;f=sc[(fa(da((da(e|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](e,g,c,d,f)|0}return f|0}function zq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g+4|0;d=g;ea(e|0,0|0,4,0);ea(f|0,0|0,4,0);ea(d|0,0|0,4,0);c=a+68|0;b=da(c|0,4,0,0)|0|0;if(b){Oo(a,(b+33|0)>>>12,e,f,d)|0;d=(da(c|0,4,0,0)|0|0)-(da(d|0,4,0,0)|0|0)|0;a=da(e|0,4,0,0)|0|0;c=0;do{b=a+(c<<1)|0;if((da(b|0,2,0,1)|0|0|0)>(d|0))ea(b|0,0|0,2,0);c=c+1|0}while((c|0)!=8192);b=(da(f|0,4,0,0)|0|0)+(d+1<<2)|0;ew(b|0,0,a-b|0)|0}i=g;return}function Aq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();c=e;f=a+204|0;d=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(f|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;d=hl(da(f|0,4,0,0)|0|0,b,d)|0;do if(!d)c=0;else{if((da(d+26|0,2,0,0)|0|0)==1){ll(d);c=0;break}ea(c|0,0|0,4,0);b=jl(da(a+208|0,4,0,0)|0|0,da(d+20|0,4,0,0)|0|0,c)|0;if(!b){b=kl(d,da(c|0,4,0,0)|0|0)|0;if(!b){bc[(fa(da(a+196|0,4,0,0)|0|0,31|0)|0)&31](d);b=0}}Ag(d);c=b}while(0);b=da(a+88|0,4,0,0)|0|0;if(b)do{ea(b+16|0,1|0,4,0);b=da(b+44|0,4,0,0)|0|0}while((b|0)!=0);i=e;return c|0}function Bq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();x=y;u=da(a+52|0,4,0,0)|0|0;l=(da(u+36|0,4,0,0)|0|0)+-4|0;q=b&65535;v=c&65535;p=v+q|0;w=da(a+56|0,4,0,0)|0|0;if((da(u+22|0,2,0,0)|0)&4)ew(w+q|0,0,v|0)|0;t=da(a+6>>0|0,1,0,1)|0|0;u=t+1|0;g=u&65535;d=u&65535;if((da(w+(d+1)>>0|0,1,0,0)|0|0)==0?(da(w+d>>0|0,1,0,0)|0|0)==0:0){n=c&255;l=(c&65535)>>>8&255;m=p;k=0;h=0;s=23}else{n=g;s=6}a:do if((s|0)==6){while(1){s=0;f=n&65535;h=da(w+(f+1)>>0|0,1,0,0)|0|0;e=h&255;m=(da(w+f>>0|0,1,0,1)|0)<<8|e;g=n;n=m&65535;if(!(m>>>0<q>>>0&(m|0)!=0)){k=h;o=m;break}if(m>>>0<(f+4|0)>>>0){s=8;break}else s=6}if((s|0)==8){ea(x|0,54420|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}if(o>>>0>l>>>0){ea(x|0,54423|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}d=c&255;l=(c&65535)>>>8&255;h=(n&65535)>>>8&255;do if((o+-1|0)>>>0<(p+3|0)>>>0)if(p>>>0>o>>>0){ea(x|0,54434|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break a}else{m=((da(w+(o+2)>>0|0,1,0,1)|0)<<8|(da(w+(o+3)>>0|0,1,0,1)|0))+o|0;l=m-q|0;n=l&255;l=(l&65535)>>>8&255;k=da(w+(o+1)>>0|0,1,0,0)|0|0;h=da(w+o>>0|0,1,0,0)|0|0;d=e-p&255;break}else{n=d;m=p;d=0}while(0);do if(f>>>0>u>>>0?(r=((da(w+(f+2)>>0|0,1,0,1)|0)<<8|(da(w+(f+3)>>0|0,1,0,1)|0))+f|0,(r+3|0)>=(q|0)):0)if((q|0)<(r|0)){ea(x|0,54447|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break a}else{l=m-f|0;b=g;n=l&255;l=(l&65535)>>>8&255;d=(d&255)+q-r&255;break}while(0);f=w+(t+7)|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)<(d&255)){ea(x|0,54453|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break}else{ea(f>>0|0,(e&255)-(d&255)|0,1,0);s=23;break}}while(0);b:do if((s|0)==23){d=b&65535;e=w+(t+5)|0;f=w+(t+6)|0;do if((d|0)==((da(e>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0)|0))if((g&65535|0)==(u|0)){ea(w+u>>0|0,h|0,1,0);ea(w+(t+2)>>0|0,k|0,1,0);ea(e>>0|0,m>>>8|0,1,0);ea(f>>0|0,m|0,1,0);break}else{ea(x|0,54460|0,4,0);ea(x+4|0,10788|0,4,0);ad(11,13600,x);d=11;break b}else{x=g&65535;ea(w+x>>0|0,(b&65535)>>>8|0,1,0);ea(w+(x+1)>>0|0,b|0,1,0);ea(w+d>>0|0,h|0,1,0);ea(w+(d+1)>>0|0,k|0,1,0);ea(w+(d+2)>>0|0,l|0,1,0);ea(w+(d+3)>>0|0,n|0,1,0)}while(0);d=a+16|0;ea(d|0,(da(d|0,2,0,1)|0|0)+v|0,2,0);d=0}while(0);i=y;return d|0}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;n=da(a+6>>0|0,1,0,1)|0|0;q=da(a+56|0,4,0,0)|0|0;m=da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0;g=m+-4|0;a=n+1|0;while(1){h=q+a|0;k=(da(h>>0|0,1,0,1)|0|0)<<8|(da(q+(a+1)>>0|0,1,0,1)|0|0);if(!k){a=0;break}if((k|0)>(g|0)|(k|0)<(a+4|0)){p=4;break}e=q+(k+2)|0;f=q+(k+3)|0;a=(da(e>>0|0,1,0,1)|0|0)<<8|(da(f>>0|0,1,0,1)|0|0);if((a|0)<(b|0))a=k;else{l=e;g=k;p=6;break}}a:do if((p|0)==4){ea(o|0,54252|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(c|0,11|0,4,0);a=0}else if((p|0)==6){e=a-b|0;do if((e|0)>=4)if((a+g|0)>(m|0)){ea(o|0,54275|0,4,0);ea(o+4|0,10788|0,4,0);ad(11,13600,o);ea(c|0,11|0,4,0);a=0;break a}else{ea(l>>0|0,e>>>8|0,1,0);ea(f>>0|0,e|0,1,0);break}else{a=q+(n+7)|0;if((da(a>>0|0,1,0,1)|0|0)<=59){n=q+g|0;n=da(n>>0|0,1,0,1)|0|(da(n+1>>0|0,1,0,1)|0)<<8;ea(h>>0|0,n|0,1,0);ea(h+1>>0|0,n>>8|0,1,0);ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)+e|0,1,0);break}if(!d){a=0;break a}ea(d|0,1|0,4,0);a=0;break a}while(0);a=q+(e+g)|0}while(0);i=r;return a|0}function Dq