Home | History | Annotate | Download | only in sqlite3

Lines Matching refs:Lu

6 |0)+64|0;X=ta+(sa*80|0)+44|0;if(c[(c[h>>2]|0)+36>>2]&16384){H=d[X>>0]|0;R=g+(H*72|0)+8|0;W=c[Ha>>2]|0;v=Kq(f)|0;Y=c[ka>>2]|0;c[ka>>2]=Y+1;Y=sh(v,44,Y,0,0)|0;v=c[g+(H*72|0)+24>>2]|0;da=c[va>>2]|0;y=c[wa>>2]|0;Q=y+(da*48|0)|0;J=c[h>>2]|0;x:do if((da|0)>0){w=g+(H*72|0)+48|0;s=v+4|0;t=J+48|0;D=0;z=0;x=0;r=0;B=0;while(1){A=c[y>>2]|0;da=J;do if((c[da>>2]|0)==0&(c[da+4>>2]|0)==0){if(b[y+20>>1]&2)break;if(c[A+4>>2]&1)break;da=c[w>>2]|0;c[Ka+0>>2]=0;c[Ka+4>>2]=0;c[Ka+8>>2]=0;c[Ka+12>>2]=0;c[Ka+16>>2]=0;c[Ka+20>>2]=0;a[pa>>0]=3;c[Ka>>2]=78;c[qa>>2]=79;c[ra>>2]=da;ns(Ka,A)|0;if(!(a[pa>>0]|0))break;da=c[f>>2]|0;r=os(da,r,Ir(da,A,0,0)|0)|0}while(0);do if(!(Iu(y,R,q,p)|0)){F=D;A=z;h=x}else{A=c[y+12>>2]|0;if((A|0)>63){F=0;E=-2147483648}else{F=ew(1,0,A|0)|0;E=C}if(!(B<<24>>24)){B=c[(c[s>>2]|0)+(A*24|0)>>2]|0;c[Ka>>2]=c[v>>2];c[Ka+4>>2]=B;Zc(284,33960,Ka);B=1}if(!((F&D|0)==0&(E&z|0)==0)){F=D;A=z;h=x;break}h=x+1|0;if(Ju(c[f>>2]|0,J,h)|0)break x;c[(c[t>>2]|0)+(x<<2)>>2]=y;F=F|D;A=E|z}while(0);y=y+48|0;if(y>>>0>=Q>>>0){y=F;ua=207;break}else{D=F;z=A;x=h}}}else{A=0;y=0;h=0;r=0;ua=207}while(0);do if((ua|0)==207){ua=0;s=h&65535;b[J+40>>1]=s;b[J+24>>1]=s;s=J+36|0;c[s>>2]=16961;I=g+(H*72|0)+64|0;K=I;E=c[K+4>>2]|0;K=c[K>>2]&~y;M=E&((A|-2147483648)^2147483647);u=v+38|0;N=b[u>>1]|0;F=N<<16>>16;N=N<<16>>16>63?63:F;P=(N|0)>0;if(P){A=0;do{da=ew(1,0,A|0)|0;h=(((da&K|0)!=0|(C&M|0)!=0)&1)+h|0;A=A+1|0}while((A|0)!=(N|0))}if((E|0)<0)h=h+-63+F|0;L=h+1|0;G=qs(c[f>>2]|0,L&65535,0,La)|0;if(!G)break;c[J+28>>2]=G;c[G>>2]=33992;c[G+12>>2]=v;A=c[wa>>2]|0;if(A>>>0<Q>>>0){h=G+4|0;y=G+32|0;E=0;F=0;x=0;do{do if(Iu(A,R,q,p)|0){D=c[A+12>>2]|0;if((D|0)>63){B=0;z=-2147483648}else{B=ew(1,0,D|0)|0;z=C}if(!((B&E|0)==0&(z&F|0)==0))break;da=c[A>>2]|0;b[(c[h>>2]|0)+(x<<1)>>1]=D;D=Ku(f,c[da+12>>2]|0,c[da+16>>2]|0)|0;if(!D)D=11152;else D=c[D>>2]|0;c[(c[y>>2]|0)+(x<<2)>>2]=D;E=B|E;F=z|F;x=x+1|0}while(0);A=A+48|0}while(A>>>0<Q>>>0)}else x=0;if(P){A=G+4|0;z=G+32|0;h=0;do{da=ew(1,0,h|0)|0;if(!((da&K|0)==0&(C&M|0)==0)){b[(c[A>>2]|0)+(x<<1)>>1]=h;c[(c[z>>2]|0)+(x<<2)>>2]=11152;x=x+1|0}h=h+1|0}while((h|0)!=(N|0))}do if((c[I+4>>2]|0)<0){if((b[u>>1]|0)<=63)break;h=G+4|0;y=G+32|0;w=63;do{b[(c[h>>2]|0)+(x<<1)>>1]=w;c[(c[y>>2]|0)+(x<<2)>>2]=11152;x=x+1|0;w=w+1|0}while((w|0)<(b[u>>1]|0))}while(0);b[(c[G+4>>2]|0)+(x<<1)>>1]=-1;c[(c[G+32>>2]|0)+(x<<2)>>2]=11152;A=c[la>>2]|0;c[la>>2]=A+1;y=ta+(sa*80|0)+8|0;c[y>>2]=A;sh(W,56,A,L,0)|0;A=c[Ha>>2]|0;th(A,-1,ds(f,G)|0,-6);c[ma>>2]=(c[ma>>2]|0)+1;A=ta+(sa*80|0)+4|0;t=sh(W,108,c[A>>2]|0,0,0)|0;x=(r|0)!=0;if(x){w=ts(W)|0;ct(f,r,w,16);c[s>>2]=c[s>>2]|131072}else w=0;h=a[na>>0]|0;if(!(h<<24>>24)){s=(c[oa>>2]|0)+1|0;c[oa>>2]=s}else{s=h+-1<<24>>24;a[na>>0]=s;s=c[f+((s&255)<<2)+24>>2]|0}Lt(f,G,c[A>>2]|0,s,0,0,0,0)|0;sh(W,110,c[y>>2]|0,s,0)|0;z=W+4|0;h=c[z>>2]|0;if(h)a[h+(((c[W+32>>2]|0)+-1|0)*20|0)+3>>0]=16;if(x){y=c[W+24>>2]|0;x=~w;do if((w|0)<0){h=c[y+112>>2]|0;if(!h)break;c[h+(x<<2)>>2]=c[W+32>>2]}while(0);c[y+88>>2]=(c[W+32>>2]|0)+-1}sh(W,9,c[A>>2]|0,t+1|0,0)|0;h=c[z>>2]|0;y=c[W+32>>2]|0;if(h)a[h+((y+-1|0)*20|0)+3>>0]=3;if(y>>>0>t>>>0)c[h+(t*20|0)+8>>2]=y;h=W+24|0;c[(c[h>>2]|0)+88>>2]=y+-1;Wr(f,s);Zt(f);u=c[W+32>>2]|0;if(u>>>0>Y>>>0)c[(c[z>>2]|0)+(Y*20|0)+8>>2]=u;c[(c[h>>2]|0)+88>>2]=u+-1}while(0);Ck(c[f>>2]|0,r);if(a[xa>>0]|0)break b}LuLuf(It(e,f,p,X,W)|0){if(q)break a;if(!(a[T>>0]|0))break;else break a}m=lr(S,0,0,0)|0;if(m){H=c[p>>2]|0;c[m+24>>2]=H;o=m+16|0;c[o>>2]=c[H>>2];H=H+40|0;b[H>>1]=(b[H>>1]|0)+1<<16>>16;H=c[u>>2]|0;c[u>>2]=H+1;c[m+48>>2]=H;if(!v)cv(e,m,f,c[X>>2]|0,p,c[W>>2]|0,h,-1);if((!w?(U=a[p+x+25>>0]|0,cv(e,m,f,c[X>>2]|0,p,c[W>>2]|0,g,1),(a[n>>0]|0)==0):0)?!(U<<24>>24==7|U<<24>>24==9):0){H=c[s>>2]|0;a[((H|0)==0?e:H)+21>>0]=1}c[o>>2]=0;zo(S,m)}ig(S,c[W>>2]|0)}while(0);p=c[p+12>>2]|0}while((p|0)!=0)}}while(0);i=Z;return}function wt(b,d,f,g,h){b=b|0;d=d|0;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;s=i;i=i+16|0;if((i|0)>=(j|0))ba();r=s;q=c[b+8>>2]|0;l=c[d+8>>2]|0;a:do if(a[d+44>>0]&32){if(l){k=l;while(1){if((a[k+51>>0]&3)==2){p=5;break a}k=c[k+20>>2]|0;if(!k){k=0;p=5;break}}}}else{k=0;p=5}while(0);if((p|0)==5?(l|0)!=0:0){n=(h|0)==0;o=0;d=0;m=-1;while(1){if(n){if((l|0)!=(k|0))p=10}else if(!((l|0)==(k|0)?1:(c[h+(o<<2)>>2]|0)==0))p=10;if((p|0)==10){p=0;m=Lt(b,l,f,0,1,r,d,m)|0;sh(q,111,o+g|0,m,e[((a[l+51>>0]&8)==0?l+48|0:l+46|0)>>1]|0)|0;Mt(b,c[r>>2]|0);d=l}l=c[l+20>>2]|0;if(!l)break;else o=o+1|0}}i=s;return}function xt(d,e,f,g,h,i,j,k,l){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=Kq(d)|0;q=c[e+8>>2]|0;if(!q){n=e+44|0;p=0}else{r=(l|0)!=0;n=e+44|0;s=r?17:1;t=w+4|0;u=w+32|0;p=0;v=0;m=q;while(1){o=i+(v<<2)|0;q=c[o>>2]|0;do if(q){if(c[m+36>>2]|0){sh(w,76,q,(c[u>>2]|0)+2|0,0)|0;q=c[o>>2]|0}sh(w,110,v+g|0,q,0)|0;if((a[m+51>>0]&3)==2){q=(a[n>>0]&32)!=0;if(q|r)p=q?s:16;else{p=1;break}}else if(r)p=16;else{p=1;break}q=c[t>>2]|0;if(!q)p=1;else{a[q+(((c[u>>2]|0)+-1|0)*20|0)+3>>0]=p;p=1}}while(0);m=c[m+20>>2]|0;if(!m)break;else v=v+1|0}}if(!(a[n>>0]&32)){o=h+1|0;n=d+19|0;m=a[n>>0]|0;if(!(m<<24>>24)){i=d+72|0;q=(c[i>>2]|0)+1|0;c[i>>2]=q}else{q=m+-1<<24>>24;a[n>>0]=q;q=c[d+((q&255)<<2)+24>>2]|0}n=e+38|0;sh(w,49,o,b[n>>1]|0,q)|0;if(!(p<<24>>24))st(w,e,0);$s(d,o,b[n>>1]|0);o=d+18|0;if(!(a[o>>0]|0))m=(j|0)!=0?5:3;else m=0;if(k)m=(m&255|8)&255;if(!l)n=m;else n=(m&255|16)&255;sh(w,75,f,q,h)|0;if(!(a[o>>0]|0))th(w,-1,c[e>>2]|0,0);m=c[w+4>>2]|0;if(m)a[m+(((c[w+32>>2]|0)+-1|0)*20|0)+3>>0]=n}return}function yt(d,e,f,g,h,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var 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,V=0,W=0,X=0,Y=0;Y=i;i=i+64|0;if((i|0)>=(j|0))ba();R=Y+52|0;Q=Y+48|0;V=Y+8|0;U=Y;T=Y+40|0;W=Y+32|0;S=Y+24|0;if(((c[(c[d>>2]|0)+24>>2]&524288|0)!=0?(P=e+68|0,l=Zm((c[P>>2]|0)+56|0,c[e>>2]|0,Y+16|0)|0,(l|0)!=0):0)?(m=c[l+8>>2]|0,(m|0)!=0):0){O=(h|0)==0;H=(f|0)!=0;I=H&1;J=W+4|0;K=T+4|0;L=e+4|0;M=S+4|0;N=H?110:109;do{if(!(!O?(Zu(e,m,h,k)|0)==0:0)){E=c[d>>2]|0;D=a[m+I+25>>0]|0;F=D&255;G=m+(I<<2)+28|0;f=c[G>>2]|0;do if(!(D<<24>>24==0|(f|0)!=0)){c[R>>2]=0;c[Q>>2]=0;if(!(It(d,e,m,R,Q)|0)){r=m+20|0;if((c[r>>2]|0)>0){x=34352;w=c[x>>2]|0;x=c[x+4>>2]|0;z=34360;y=c[z>>2]|0;z=c[z+4>>2]|0;A=m+36|0;C=D<<24>>24!=6&(D<<24>>24!=9|H);B=0;o=0;l=0;n=0;do{f=V;c[f>>2]=w;c[f+4>>2]=x;f=U;c[f>>2]=y;c[f+4>>2]=z;f=c[Q>>2]|0;if(!f)f=A;else f=f+(B<<2)|0;q=c[f>>2]|0;s=c[R>>2]|0;if(!s)u=34368;else u=c[(c[L>>2]|0)+((b[(c[s+4>>2]|0)+(B<<1)>>1]|0)*24|0)>>2]|0;c[W>>2]=u;f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)>>2]|0;c[T>>2]=f;if(!u)t=0;else{v=u;while(1)if(!(a[v>>0]|0))break;else v=v+1|0;t=v-u&1073741823}c[J>>2]=t;if(!f)p=0;else{u=f;while(1)if(!(a[u>>0]|0))break;else u=u+1|0;p=u-f&1073741823}c[K>>2]=p;v=Vq(d,27,0,0,V)|0;v=Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0;n=os(E,n,Vq(d,79,v,Vq(d,27,0,0,T)|0,0)|0)|0;if(H){u=Vq(d,27,0,0,V)|0;u=Vq(d,122,u,Vq(d,27,0,0,W)|0,0)|0;v=Vq(d,27,0,0,U)|0;l=os(E,l,Vq(d,73,u,Vq(d,122,v,Vq(d,27,0,0,W)|0,0)|0,0)|0)|0}if(C){do if(D<<24>>24==8){f=c[(c[(c[m>>2]|0)+4>>2]|0)+(q*24|0)+4>>2]|0;if(!f){f=Vq(d,101,0,0,0)|0;break}else{f=Ir(E,f,0,0)|0;break}}else if(D<<24>>24==9){f=Vq(d,27,0,0,U)|0;f=Vq(d,122,f,Vq(d,27,0,0,W)|0,0)|0}else f=Vq(d,101,0,0,0)|0;while(0);o=hr(d,o,f)|0;ir(d,o,T,0)}B=B+1|0}while((B|0)<(c[r>>2]|0));f=m}else{f=m;o=0;l=0;n=0}ig(E,c[Q>>2]|0);v=c[c[f>>2]>>2]|0;if(!v)p=0;else{f=v;while(1)if(!(a[f>>0]|0))break;else f=f+1|0;p=f-v&1073741823}if(D<<24>>24==6){c[S>>2]=v;c[M>>2]=p;f=pt(E,57,34376)|0;if(f)a[f+1>>0]=2;u=hr(d,0,f)|0;u=gr(d,u,lr(E,0,S,0)|0,n,0,0,0,0,0,0)|0;t=0}else{u=0;t=n}q=E+250|0;r=a[q>>0]|0;a[q>>0]=0;f=p+77|0;s=ih(E,f,0)|0;if(s){bw(s|0,0,f|0)|0;n=s+36|0;c[s+28>>2]=n;D=s+76|0;c[s+48>>2]=D;c[s+52>>2]=p;gw(D|0,v|0,p|0)|0;c[s+56>>2]=Ir(E,t,1,0)|0;c[s+60>>2]=Lr(E,o,1)|0;c[s+44>>2]=cr(E,u,1)|0;if(!l){f=s;l=0}else{l=Vq(d,19,l,0,0)|0;c[s+12>>2]=Ir(E,l,1,0)|0;f=s}}else{f=0;n=0}a[q>>0]=r;Ck(E,t);Ck(E,l);Jk(E,o);Ik(E,u,1);if((a[E+65>>0]|0)==1){Gk(E,f);f=0;break}if((F|0)==6)a[n>>0]=119;else if((F|0)==9?!H:0)a[n>>0]=109;else X=49;if((X|0)==49){X=0;a[n>>0]=110}c[n+4>>2]=f;F=c[P>>2]|0;c[s+20>>2]=F;c[s+24>>2]=F;c[G>>2]=f;a[s+8>>0]=N}else f=0}while(0);if(f)$u(d,f,e,g,2,0)}m=c[m+12>>2]|0}while((m|0)!=0)}i=Y;return}function zt(d,e){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,o=0,p=0;f=b[d+46>>1]|0;a:do if(f<<16>>16==(b[e+46>>1]|0)?(a[d+50>>0]|0)==(a[e+50>>0]|0):0){if(f<<16>>16){g=c[e+4>>2]|0;h=c[d+4>>2]|0;i=e+28|0;j=d+28|0;k=e+32|0;l=d+32|0;p=0;do{if((b[g+(p<<1)>>1]|0)!=(b[h+(p<<1)>>1]|0)){f=0;break a}if((a[(c[i>>2]|0)+p>>0]|0)!=(a[(c[j>>2]|0)+p>>0]|0)){f=0;break a}m=c[(c[k>>2]|0)+(p<<2)>>2]|0;n=c[(c[l>>2]|0)+(p<<2)>>2]|0;o=(n|0)==0;if(!m){if(!o){f=0;break a}}else{if(o){f=0;break a}if($c(m,n)|0){f=0;break a}}p=p+1|0}while((p|0)<(f&65535|0))}f=(yu(c[e+36>>2]|0,c[d+36>>2]|0,-1)|0)==0&1}else f=0;while(0);return f|0}function At(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;do if(!(a[e+44>>0]&8))f=0;else{h=c[b+408>>2]|0;h=(h|0)==0?b:h;g=h+404|0;f=c[g>>2]|0;a:do if(!f)i=5;else while(1){if((c[f+4>>2]|0)==(e|0))break a;f=c[f>>2]|0;if(!f){i=5;break}}while(0);if((i|0)==5){f=ih(c[b>>2]|0,16,0)|0;if(!f){f=0;break}c[f>>2]=c[g>>2];c[g>>2]=f;c[f+4>>2]=e;c[f+8>>2]=d;b=h+72|0;g=c[b>>2]|0;c[f+12>>2]=g+2;c[b>>2]=g+3}f=c[f+12>>2]|0}while(0);return f|0}function Bt(a,d,e){a=a|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;g=b[e+36>>1]|0;h=c[a>>2]|0;f=c[e>>2]|0;if(g<<16>>16>-1){g=c[(c[e+4>>2]|0)+((g<<16>>16)*24|0)>>2]|0;c[k>>2]=f;c[k+4>>2]=g;g=1555;f=qh(h,27824,k)|0}else{c[k>>2]=f;g=2579;f=qh(h,34408,k)|0}vs(a,g,d,f,-1,2);i=l;return}function Ct(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b+316|0;h=c[g>>2]|0;d=hr(b,h,Ir(c[b>>2]|0,d,0,0)|0)|0;if(d){b=(c[d>>2]|0)+-1|0;h=c[d+4>>2]|0;c[h+(b*20|0)+16>>2]=e;b=h+(b*20|0)+13|0;a[b>>0]=a[b>>0]&-5|f<<2&4}c[g>>2]=d;return}function Dt(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[e>>2]|0;if(!(g+-1&g)){i=_((g|0)==0?1:g<<1,d)|0;a=no(a,b,i,((i|0)<0)<<31>>31)|0;if(!a){c[f>>2]=-1;a=b}else h=4}else{a=b;h=4}if((h|0)==4){bw(a+(_(g,d)|0)|0,0,d|0)|0;c[f>>2]=g;c[e>>2]=(c[e>>2]|0)+1}return a|0}function Et(a){a=a|0;var b=0,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;c[h>>2]=0;b=c[a+12>>2]|0;if((b|0)!=0?(d=c[b+24>>2]|0,(d|0)>0):0){c[h>>2]=d;b=d}else b=0;d=c[a+16>>2]|0;if((d|0)!=0?(e=c[d+24>>2]|0,(e|0)>(b|0)):0)c[h>>2]=e;f=a+4|0;b=a+20|0;if(!(c[f>>2]&2048)){d=c[b>>2]|0;if(d){pu(d,h);b=c[b>>2]|0;if((b|0)!=0?(g=c[b>>2]|0,(g|0)>0):0){e=c[b+4>>2]|0;d=0;b=0;do{b=c[(c[e+(d*20|0)>>2]|0)+4>>2]|b;d=d+1|0}while((d|0)!=(g|0));b=b&2097408}else b=0;c[f>>2]=c[f>>2]|b}}else As(c[b>>2]|0,h);c[a+24>>2]=(c[h>>2]|0)+1;i=k;return}function Ft(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Kq(b)|0;i=b+72|0;h=(c[i>>2]|0)+1|0;c[i>>2]=h;b=ih(c[b>>2]|0,8,0)|0;if(b){i=b;c[i>>2]=e;c[i+4>>2]=f}th(g,sh(g,26,0,h,0)|0,b,-13);eq(g,1);if(!(a[(c[g>>2]|0)+65>>0]|0))Tg(c[g+16>>2]|0,d,-1,1,0)|0;sh(g,35,h,1,0)|0;return}function Gt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=c[b>>2]|0;e=d+16|0;f=c[(c[e>>2]|0)+20>>2]|0;do if(!f)d=0;else{if((a[d+63>>0]|0)!=0?(a[f+8>>0]|0)==0:0){Il(f);c[(c[e>>2]|0)+20>>2]=0;Ag(d);d=0;break}ph(b,32128,g);d=1}while(0);i=h;return d|0}function Ht(b){b=b|0;var e=0,f=0,g=0;if((a[b+63>>0]|0)!=0?(e=c[b+20>>2]|0,(e|0)>0):0){g=b+24|0;f=c[b+16>>2]|0;while(1){e=e+-1|0;b=c[f+4>>2]|0;if(b)po(b,c[g>>2]&28|d[f+8>>0]);if((e|0)<=0)break;else f=f+16|0}}return}function It(d,f,g,h,k){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;var 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;z=i;i=i+16|0;if((i|0)>=(j|0))ba();w=z;x=c[g+20>>2]|0;m=c[g+40>>2]|0;if((x|0)==1){s=b[f+36>>1]|0;l=s<<16>>16;if(s<<16>>16>-1)if((m|0)!=0?($c(c[(c[f+4>>2]|0)+(l*24|0)>>2]|0,m)|0)!=0:0){v=0;y=8}else k=0;else{v=0;y=8}}else if(k){l=ih(c[d>>2]|0,x<<2,0)|0;if(!l)k=1;else{c[k>>2]=l;v=l;y=8}}else{v=0;y=8}a:do if((y|0)==8){k=c[f+8>>2]|0;b:do if(k){s=(m|0)==0;u=(x|0)>0;r=f+4|0;t=(v|0)==0;c:while(1){do if((e[k+46>>1]|0)==(x|0)?(a[k+50>>0]|0)!=0:0){if(s)if((a[k+51>>0]&3)==2){y=16;break c}else break;d:do if(u){n=c[k+4>>2]|0;o=c[r>>2]|0;p=c[k+32>>2]|0;q=0;while(1){f=b[n+(q<<1)>>1]|0;m=c[o+(f*24|0)+16>>2]|0;if($c(c[p+(q<<2)>>2]|0,(m|0)!=0?m:11152)|0){m=q;break d}m=c[o+(f*24|0)>>2]|0;l=0;while(1){f=l+1|0;if(!($c(c[g+(l<<3)+40>>2]|0,m)|0)){f=l;y=23;break}if((f|0)<(x|0))l=f;else break}if((y|0)==23){y=0;if(!t)c[v+(q<<2)>>2]=c[g+(f<<3)+36>>2]}m=q+1|0;if((f|0)==(x|0)){m=q;break d}if((m|0)<(x|0))q=m;else break}}else m=0;while(0);if((m|0)==(x|0))break c}while(0);k=c[k+20>>2]|0;if(!k)break b}if((y|0)==16)if(!(t|u^1)){l=0;do{c[v+(l<<2)>>2]=c[g+(l<<3)+36>>2];l=l+1|0}while((l|0)!=(x|0))}c[h>>2]=k;k=0;break a}while(0);if(!(a[d+438>>0]|0)){s=c[g+8>>2]|0;c[w>>2]=c[c[g>>2]>>2];c[w+4>>2]=s;ph(d,32008,w)}ig(c[d>>2]|0,v);k=1}while(0);i=z;return k|0}function Jt(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!(c[d+12>>2]|0)){c[h>>2]=0;l=c[b>>2]|0;g=d+4|0;d=c[g>>2]|0;Vr(l,c[d+(e*24|0)+4>>2]|0,a[l+62>>0]|0,a[d+(e*24|0)+21>>0]|0,h)|0;d=c[h>>2]|0;if(d)th(b,-1,d,-8);if((a[(c[g>>2]|0)+(e*24|0)+21>>0]|0)==69)sh(b,39,f,0,0)|0}i=k;return}function Kt(c,d,f){c=c|0;d=d|0;f=f|0;var g=0;if(!d)g=0;else{g=d;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=g-d&1073741823}g=Oh(c,d,g,2,1,0)|0;if(g){g=g+2|0;b[g>>1]=e[g>>1]|f&255}return}function Lt(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[d+8>>2]|0;r=c[e+12>>2]|0;do if(i){l=e+36|0;if(!(c[l>>2]|0)){c[i>>2]=0;break}else{c[i>>2]=ts(q)|0;c[d+96>>2]=f;p=d+100|0;c[p>>2]=(c[p>>2]|0)+1;ct(d,c[l>>2]|0,c[i>>2]|0,16);break}}while(0);if((h|0)!=0?(a[e+51>>0]&8)!=0:0)l=e+46|0;else l=e+48|0;l=b[l>>1]|0;n=l&65535;o=d+60|0;h=c[o>>2]|0;p=d+56|0;i=c[p>>2]|0;if((i|0)<(n|0)){h=d+72|0;m=c[h>>2]|0;c[h>>2]=m+n;m=m+1|0}else{c[o>>2]=h+n;c[p>>2]=i-n;m=h}do if(!j)h=0;else{if((m|0)==(k|0)?(c[j+36>>2]|0)==0:0){h=j;break}h=0}while(0);if(l<<16>>16){j=(h|0)==0;k=e+4|0;i=h+4|0;l=0;do{if(!j){h=b[(c[k>>2]|0)+(l<<1)>>1]|0;if((b[(c[i>>2]|0)+(l<<1)>>1]|0)!=h<<16>>16)s=21}else{h=b[(c[k>>2]|0)+(l<<1)>>1]|0;s=21}if((s|0)==21){s=0;jt(q,r,f,h<<16>>16,l+m|0);Lq(q,39)|0}l=l+1|0}while((l|0)<(n|0))}if(g)sh(q,49,m,n,g)|0;$s(d,m,n);if((c[p>>2]|0)<(n|0)){c[p>>2]=n;c[o>>2]=m}return m|0}function Mt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(b){d=c[a+8>>2]|0;e=c[d+24>>2]|0;f=~b;if((b|0)<0?(g=c[e+112>>2]|0,(g|0)!=0):0)c[g+(f<<2)>>2]=c[d+32>>2];c[e+88>>2]=(c[d+32>>2]|0)+-1;Zt(a)}return}function Nt(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();g=h;e=c[d+16>>2]|0;a:do if((e|0)!=0?(f=c[d+64>>2]|0,(f|0)!=0):0){e=c[e+8>>2]|0;b:do if(e){while(1){if(!($c(c[e>>2]|0,f)|0))break;e=c[e+20>>2]|0;if(!e)break b}c[d+68>>2]=e;e=0;break a}while(0);c[g>>2]=f;c[g+4>>2]=0;ph(b,28104,g);a[b+17>>0]=1;e=1}else e=0;while(0);i=h;return e|0}function Ot(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=Pt(a,b)|0;if(b&1){e=Ot(c[a+12>>2]|0,b)|0;return e+d+(Ot(c[a+16>>2]|0,b)|0)|0}}else d=0;return d|0}
7 lu&32){p=c[I+8>>2]|0;break}k=p+0|0;l=k+52|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));b[p+46>>1]=1;b[p+48>>1]=1;c[p+4>>2]=n;c[p+8>>2]=o;a[p+50>>0]=5;c[p+12>>2]=I;b[p+44>>1]=b[I+42>>1]|0;b[o>>1]=b[I+28>>1]|0;b[o+2>>1]=0;if(!(a[G+(H*72|0)+45>>0]&1))c[p+20>>2]=c[(c[m>>2]|0)+8>>2]}else p=k;while(0);o=b[I+28>>1]|0;if(o<<16>>16<11)B=0;else{B=o<<16>>16;B=((bs(B,((B|0)<0)<<31>>31)|0)&65535)+65503&65535}if(((((((c[f+16>>2]|0)==0?(b[aa+34>>1]&128)==0:0)?(c[(c[c[aa>>2]>>2]|0)+24>>2]&1048576|0)!=0:0)?(c[Y>>2]|0)==0:0)?(q=a[G+(H*72|0)+45>>0]|0,(q&5)==0):0)?(F=I+44|0,(q&10|a[F>>0]&32)<<24>>24==0):0)?(D=c[X+20>>2]|0,V=c[X+12>>2]|0,E=D+(V*48|0)|0,(V|0)>0):0){v=$+8|0;w=$+24|0;x=$+42|0;y=$+28|0;z=$+40|0;A=$+48|0;r=(B&65535)+(o&65535)|0;n=r+4&65535;m=$+18|0;l=I+12|0;r=r+28&65535;s=$+22|0;t=$+20|0;u=$+36|0;o=D;do{q=o+32|0;V=q;U=v;if(((c[U>>2]&c[V>>2]|0)==0?(c[U+4>>2]&c[V+4>>2]|0)==0:0)?(Iu(o,W,0,0)|0)!=0:0){b[w>>1]=1;b[x>>1]=0;c[y>>2]=0;b[z>>1]=1;c[c[A>>2]>>2]=o;b[m>>1]=n;if((c[l>>2]|0)==0?(a[F>>0]&2)==0:0)b[m>>1]=r;b[s>>1]=43;b[t>>1]=Cv(B,43)|0;c[u>>2]=16384;U=q;V=c[U+4>>2]|h;k=$;c[k>>2]=c[U>>2]|g;c[k+4>>2]=V;k=Bv(f,$)|0}else k=0;o=o+48|0}while((k|0)==0&o>>>0<E>>>0)}else k=0;V=$+36|0;a:do if((k|0)==0&(p|0)!=0){M=$+24|0;N=$+42|0;O=$+40|0;P=$+17|0;Q=$+18|0;R=$+22|0;S=$+28|0;T=G+(H*72|0)+48|0;U=$+20|0;K=G+(H*72|0)+64|0;L=I+42|0;t=I+44|0;s=aa+34|0;r=X+12|0;G=X+20|0;J=1;while(1){u=c[p+36>>2]|0;v=c[T>>2]|0;b:do if(u){k=c[r>>2]|0;if((k|0)>0){m=0;n=c[G>>2]|0;while(1){l=c[n>>2]|0;if(Dv(l,u,v)|0){if(!(c[l+4>>2]&1)){ca=32;break b}if((b[l+36>>1]|0)==(v|0)){ca=32;break b}}m=m+1|0;if((m|0)>=(k|0)){k=0;break}else n=n+48|0}}else k=0}else ca=32;while(0);if((ca|0)==32){ca=0;H=b[c[p+8>>2]>>1]|0;b[M>>1]=0;b[N>>1]=0;b[O>>1]=0;a[P>>0]=0;b[Q>>1]=0;I=$;c[I>>2]=g;c[I+4>>2]=h;b[R>>1]=H;c[S>>2]=p;I=p+51|0;w=a[I>>0]|0;c:do if(((w&4)==0?(Z=c[(c[f>>2]|0)+8>>2]|0,(Z|0)!=0):0)?(_=c[Z>>2]|0,(_|0)>0):0){F=c[Z+4>>2]|0;E=p+46|0;y=p+4|0;x=0;while(1){B=c[F+(x*20|0)>>2]|0;d:do if(!B)B=0;else while(1){A=c[B+4>>2]|0;if(!(A&4096))break d;if(!(A&262144))B=B+12|0;else B=c[(c[B+20>>2]|0)+4>>2]|0;B=c[B>>2]|0;if(!B){B=0;break}}while(0);if((a[B>>0]|0)!=-102){x=0;break c}if((c[B+28>>2]|0)==(v|0)){A=b[B+32>>1]|0;if(A<<16>>16<0){x=1;break c}B=b[E>>1]|0;if(B<<16>>16){z=c[y>>2]|0;B=B&65535;D=0;do{if(A<<16>>16==(b[z+(D<<1)>>1]|0)){x=1;break c}D=D+1|0}while((D|0)<(B|0))}}x=x+1|0;if((x|0)>=(_|0)){x=0;break}}}else x=0;while(0);do if((c[p+40>>2]|0)<1){c[V>>2]=256;a[P>>0]=(x|0)!=0?J&255:0;b[U>>1]=(H&65535)+16;Ev(X,$,H);k=Bv(f,$)|0;b[R>>1]=H;if(k)break a}else{if(!(w&32)){E=K;F=c[E>>2]|0;E=c[E+4>>2]|0;D=p+4|0;B=0;A=0;z=e[p+48>>1]|0;e:while(1){y=z;while(1){z=y+-1|0;if((y|0)<=0)break e;y=b[(c[D>>2]|0)+(z<<1)>>1]|0;if((y&65535)<63)break;else y=z}q=ew(1,0,y<<16>>16|0)|0;B=q|B;A=C|A}q=F&~B;u=E&~A;B=q;A=u;u=(q|0)==0&(u|0)==0?576:512}else{B=0;A=0;u=576}c[V>>2]=u;q=(x|0)!=0;if(!q?(a[t>>0]&32)==0:0){if(!((B|0)==0&(A|0)==0))break;if(a[I>>0]&4)break;if((b[p+44>>1]|0)>=(b[L>>1]|0))break;if(!((b[s>>1]&4)==0&(c[2190]|0)!=0))break;if(b[(c[c[aa>>2]>>2]|0)+60>>1]&64)break}a[P>>0]=q?J&255:0;o=H<<16>>16;q=o+1+(((b[p+44>>1]|0)*15|0)/(b[L>>1]|0)|0)&65535;if(!((B|0)==0&(A|0)==0))q=Cv(q,o+16&65535)|0;b[U>>1]=q;Ev(X,$,H);k=Bv(f,$)|0;b[R>>1]=H;if(k)break a}while(0);k=Fv(f,W,p,0)|0;if(c[Y>>2]|0)break a}p=c[p+20>>2]|0;if(!((k|0)==0&(p|0)!=0))break;else J=J+1|0}}while(0);i=da;return k|0}function Eu(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0;$=i;i=i+608|0;if((i|0)>=(j|0))ba();Z=$+168|0;X=$+576|0;Y=$+112|0;V=$+56|0;W=$;k=c[f>>2]|0;S=c[f+4>>2]|0;o=c[S+20>>2]|0;n=c[S+12>>2]|0;U=o+(n*48|0)|0;R=c[f+12>>2]|0;l=Y+0|0;m=l+56|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));m=c[k+4>>2]|0;l=d[R+16>>0]|0;Q=c[m+(l*72|0)+48>>2]|0;a:do if((n|0)>0){A=R+8|0;B=X+8|0;C=X+16|0;D=R+40|0;E=R+48|0;F=R+36|0;G=R+18|0;H=R+17|0;I=R+24|0;J=R+20|0;K=R+22|0;L=Z+4|0;M=Z+8|0;N=Z+12|0;O=Z+20|0;P=X+4|0;w=m+(l*72|0)+24|0;x=W+8|0;y=Y+8|0;z=V+8|0;while(1){b:do if((b[o+18>>1]&256)!=0?(T=c[o+12>>2]|0,t=T+408|0,s=A,!((c[s>>2]&c[t>>2]|0)==0?(c[s+4>>2]&c[t+4>>2]|0)==0:0)):0){n=T+20|0;v=(c[n>>2]|0)+((c[T+12>>2]|0)*48|0)|0;c[X+0>>2]=c[f+0>>2];c[X+4>>2]=c[f+4>>2];c[X+8>>2]=c[f+8>>2];c[X+12>>2]=c[f+12>>2];c[B>>2]=0;c[C>>2]=V;n=c[n>>2]|0;c:do if(n>>>0<v>>>0){l=1;k=0;d:while(1){if(!(b[n+18>>1]&512))if((c[n+8>>2]|0)==(Q|0)){c[Z>>2]=c[S>>2];c[L>>2]=S;a[M>>0]=72;c[N>>2]=1;c[O>>2]=n;m=Z;_=10}else m=l;else{m=c[n+12>>2]|0;_=10}do if((_|0)==10){_=0;c[P>>2]=m;b[V>>1]=0;if(!(a[(c[w>>2]|0)+44>>0]&16))k=Du(X,g,h)|0;else k=Cu(X,g,h)|0;if(!k)k=Eu(X,g,h)|0;m=b[V>>1]|0;if(!(m<<16>>16))break d;if(l){b[Y>>1]=m;gw(y|0,z|0,(m&65535)<<4|0)|0;m=0;break}t=b[Y>>1]|0;b[W>>1]=t;u=t&65535;gw(x|0,y|0,u<<4|0)|0;b[Y>>1]=0;if(!(t<<16>>16))m=0;else{t=0;do{if(!(m<<16>>16))m=0;else{p=W+(t<<4)+8|0;l=c[p>>2]|0;p=c[p+4>>2]|0;q=b[W+(t<<4)+16>>1]|0;r=b[W+(t<<4)+18>>1]|0;s=0;do{aa=V+(s<<4)+8|0;ca=c[aa>>2]|l;aa=c[aa+4>>2]|p;m=Cv(q,b[V+(s<<4)+16>>1]|0)|0;Gv(Y,ca,aa,m,Cv(r,b[V+(s<<4)+18>>1]|0)|0);s=s+1|0;m=b[V>>1]|0}while((s|0)<(m&65535|0))}t=t+1|0}while((t|0)<(u|0));m=0}}while(0);n=n+48|0;if(n>>>0>=v>>>0)break c;else l=m}b[Y>>1]=0}else k=0;while(0);b[D>>1]=1;c[c[E>>2]>>2]=o;c[F>>2]=8192;b[G>>1]=0;a[H>>0]=0;c[I+0>>2]=0;c[I+4>>2]=0;c[I+8>>2]=0;if(k)break a;n=e[Y>>1]|0;m=0;while(1){if((m|0)>=(n|0))break b;b[J>>1]=(e[Y+(m<<4)+16>>1]|0)+1;b[K>>1]=b[Y+(m<<4)+18>>1]|0;s=Y+(m<<4)+8|0;t=c[s+4>>2]|0;k=R;c[k>>2]=c[s>>2];c[k+4>>2]=t;k=Bv(f,R)|0;if(!k)m=m+1|0;else break a}}while(0);o=o+48|0;if(o>>>0>=U>>>0){k=0;break}}}else k=0;while(0);i=$;return k|0}function Fu(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=d+48|0;f=c[e>>2]|0;g=d+56|0;if((f|0)!=(g|0))ig(a,f);Hv(a,d);c[e>>2]=g;b[d+40>>1]=0;b[d+44>>1]=3;c[d+36>>2]=0;return}function Gu(d,f){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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0;la=i;i=i+32|0;if((i|0)>=(j|0))ba();ca=la+24|0;Z=la+16|0;fa=la+8|0;ka=la;aa=c[d>>2]|0;ha=c[aa>>2]|0;o=a[d+41>>0]|0;ia=o&255;if((o&255)<2)V=1;else V=o<<24>>24==2?5:10;ja=d+8|0;l=c[ja>>2]|0;da=f<<16>>16==0;if((l|0)==0|da)U=0;else U=c[l>>2]|0;m=U<<1;ga=m+(_((ia<<3)+64|0,V)|0)|0;ga=ih(ha,ga,((ga|0)<0)<<31>>31)|0;do if(ga){l=ga+(V<<5)|0;c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;c[l+24>>2]=0;c[l+28>>2]=0;g=V<<1;n=_(V,-2)|0;n=ga+((_((((n|0)>-1?n:1073741823)+(V<<1)<<2)+4|0,ia)|0)+(V<<6))|0;k=g;h=ga;g=ga+(g<<5)|0;while(1){c[h+24>>2]=g;k=k+-1|0;if((k|0)<=0)break;else{h=h+32|0;g=g+(ia<<2)|0}}k=(U|0)!=0;if(k)bw(n|0,0,m|0)|0;else n=0;T=c[aa+424>>2]|0;b[ga+(V<<5)+16>>1]=T>>>0<48?T&65535:48;if(k)a[ga+(V<<5)+22>>0]=o<<24>>24!=0?-1:U&255;T=o<<24>>24==0;if(!T){P=d+16|0;Q=d+34|0;R=f<<16>>16<11;S=(f&65535)+16|0;M=f<<16>>16;N=((M|0)<0)<<31>>31;O=V>>>0>1;g=ga;L=0;m=0;o=0;f=0;h=1;while(1){if((h|0)>0){G=L&65535;H=L<<2;I=g+18|0;J=g+16|0;K=0;k=0;F=l;while(1){p=c[P>>2]|0;if(p){A=F+22|0;B=F+16|0;C=F+20|0;D=F+24|0;E=F+8|0;z=k;while(1){r=a[A>>0]|0;s=Z;c[s>>2]=0;c[s+4>>2]=0;s=p;k=F;q=c[k>>2]|0;k=c[k+4>>2]|0;a:do if(((c[s>>2]&~q|0)==0?(c[s+4>>2]&~k|0)==0:0)?(W=p+8|0,Y=W,X=c[Y>>2]|0,Y=c[Y+4>>2]|0,(X&q|0)==0&(Y&k|0)==0):0){v=e[B>>1]|0;x=Cv(b[p+18>>1]|0,v+(e[p+20>>1]|0)&65535)|0;x=Cv(x,b[C>>1]|0)|0;v=(e[p+22>>1]|0)+v|0;y=v&65535;u=X|q;s=Y|k;if(r<<24>>24<0)w=Iv(d,c[ja>>2]|0,F,b[Q>>1]|0,G,p,Z)|0;else{k=E;q=c[k+4>>2]|0;w=Z;c[w>>2]=c[k>>2];c[w+4>>2]=q;w=r}r=w<<24>>24;if(w<<24>>24>-1&(U|0)>(r|0)){t=n+(r<<1)|0;q=b[t>>1]|0;if(!(q<<16>>16)){r=((U-r|0)*100|0)/(U|0)|0;r=(bs(r,((r|0)<0)<<31>>31)|0)&65535;if(R)k=0;else k=((bs(M,N)|0)&65535)+65503&65535;r=S+(((r<<16)+-4325376|0)>>>16)+k|0;if(b[Q>>1]&1024)r=(r&65535)+16|0;q=r&65535;b[t>>1]=q}t=Cv(x,q)|0}else t=x;b:do if((z|0)>0){r=0;q=g;while(1){k=q;if(((c[k>>2]|0)==(u|0)?(c[k+4>>2]|0)==(s|0):0)?(a[q+22>>0]^w)<<24>>24>-1:0)break;r=r+1|0;if((r|0)>=(z|0)){$=35;break b}else q=q+32|0}k=b[q+18>>1]|0;if(k<<16>>16<t<<16>>16){k=z;break a}if(k<<16>>16!=t<<16>>16){k=z;break}if((b[q+16>>1]|0)>(v<<16>>16|0))k=z;else{k=z;break a}}else $=35;while(0);if(($|0)==35){$=0;q=(z|0)<(V|0);if(!q){if(t<<16>>16>m<<16>>16){k=z;break}if(!(t<<16>>16!=m<<16>>16?1:x<<16>>16<f<<16>>16)){k=z;break}}k=(q&1)+z|0;q=g+((q?z:o)<<5)|0}r=F;v=W;s=c[v+4>>2]|c[r+4>>2];u=q;c[u>>2]=c[v>>2]|c[r>>2];c[u+4>>2]=s;u=Z;s=c[u+4>>2]|0;r=q+8|0;c[r>>2]=c[u>>2];c[r+4>>2]=s;b[q+16>>1]=y;b[q+18>>1]=t;b[q+20>>1]=x;a[q+22>>0]=w;q=q+24|0;gw(c[q>>2]|0,c[D>>2]|0,H|0)|0;c[(c[q>>2]|0)+(L<<2)>>2]=p;if((k|0)<(V|0))break;m=b[I>>1]|0;f=b[J>>1]|0;if(O){s=g;t=1;r=m;o=0;q=f}else{o=0;break}while(1){m=b[s+50>>1]|0;do if(m<<16>>16<=r<<16>>16){if(m<<16>>16!=r<<16>>16){m=r;f=q;break}f=b[s+52>>1]|0;if(f<<16>>16>q<<16>>16)$=48;else{m=r;f=q}}else{f=b[s+52>>1]|0;$=48}while(0);s=s+32|0;if(($|0)==48){$=0;o=t}t=t+1|0;if((t|0)>=(V|0))break;else{r=m;q=f}}}else k=z;while(0);p=c[p+52>>2]|0;if(!p)break;else z=k}}K=K+1|0;if((K|0)==(h|0)){h=k;break}else F=F+32|0}}else h=0;L=L+1|0;if((L|0)>=(ia|0))break;else{K=g;g=l;l=K}}if(!h){ph(aa,34008,ca);ig(ha,ga);break}if((h|0)>1){k=1;l=g;do{if((b[l+18>>1]|0)>(b[g+(k<<5)+18>>1]|0))l=g+(k<<5)|0;k=k+1|0}while((k|0)!=(h|0))}else l=g;if(!T){h=d+4|0;k=c[l+24>>2]|0;g=0;do{$=c[k+(g<<2)>>2]|0;c[d+(g*80|0)+800>>2]=$;$=a[$+16>>0]|0;a[d+(g*80|0)+780>>0]=$;c[d+(g*80|0)+740>>2]=c[(c[h>>2]|0)+(($&255)*72|0)+48>>2];g=g+1|0}while((g|0)<(ia|0))}}h=d+34|0;if(((b[h>>1]&1536)==1024?(ea=d+40|0,!((a[ea>>0]|0)!=0|da)):0)?($=d+12|0,Z=ia+-1|0,Z=(Iv(d,c[$>>2]|0,l,512,Z&65535,c[(c[l+24>>2]|0)+(Z<<2)>>2]|0,fa)|0)<<24>>24,(Z|0)==(c[c[$>>2]>>2]|0)):0)a[ea>>0]=2;k=c[ja>>2]|0;if(k){g=b[h>>1]|0;h=a[l+22>>0]|0;if(g&512){if((h<<24>>24|0)==(c[k>>2]|0))a[d+40>>0]=2}else{a[d+36>>0]=h<<24>>24<0?0:h;Y=l+8|0;Z=c[Y+4>>2]|0;$=d+24|0;c[$>>2]=c[Y>>2];c[$+4>>2]=Z}if(((g&2048)!=0?(a[d+36>>0]|0)==(c[k>>2]|0):0)?($=ka,c[$>>2]=0,c[$+4>>2]=0,$=ia+-1|0,$=(Iv(d,k,l,0,$&65535,c[(c[l+24>>2]|0)+($<<2)>>2]|0,ka)|0)<<24>>24,($|0)==(c[c[ja>>2]>>2]|0)):0){a[d+37>>0]=1;Y=ka;Z=c[Y+4>>2]|0;$=d+24|0;c[$>>2]=c[Y>>2];c[$+4>>2]=Z}}b[d+32>>1]=b[l+16>>1]|0;ig(ha,ga)}while(0);i=la;return}function Hu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(g=c[b>>2]|0,(g|0)>0):0){e=c[b+4>>2]|0;d=0;b=0;f=0;do{h=wv(a,c[e+(f*20|0)>>2]|0)|0;d=h|d;b=C|b;f=f+1|0}while((f|0)<(g|0))}else{b=0;d=0}C=b;return d|0}function Iu(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;do if((((c[d+8>>2]|0)==(c[e+40>>2]|0)?(b[d+18>>1]&2)!=0:0)?(i=d+32|0,(c[i>>2]&f|0)==0?(c[i+4>>2]&g|0)==0:0):0)?(h=c[d+12>>2]|0,(h|0)>=0):0){f=a[(c[(c[e+16>>2]|0)+4>>2]|0)+(h*24|0)+21>>0]|0;g=(jv(c[d>>2]|0)|0)<<24>>24;if((g|0)==65){g=1;break}else if((g|0)==66){g=f<<24>>24==66&1;break}else{g=f<<24>>24>66&1;break}}else g=0;while(0);return g|0}function Ju(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0;j=d+44|0;if((e[j>>1]|0|0)<(f|0)){g=f+7&-8;h=ih(a,g<<2,0)|0;if(!h)f=7;else{i=d+48|0;gw(h|0,c[i>>2]|0,(e[j>>1]|0)<<2|0)|0;f=c[i>>2]|0;if((f|0)!=(d+56|0))ig(a,f);c[i>>2]=h;b[j>>1]=g;f=0}}else f=0;return f|0}function Ku(a,b,d){a=a|0;b=b|0;d=d|0;do if(!(c[b+4>>2]&256)){if((d|0)!=0?(c[d+4>>2]&256|0)!=0:0){b=_t(a,d)|0;break}b=_t(a,b)|0;if(!b)b=_t(a,d)|0}else b=_t(a,b)|0;while(0);return b|0}function Lu
16 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}})