Lines Matching refs:Fr
11 Fr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0,0,0);break}case 252:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,0);break}case 253:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,0);break}case 254:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,1);break}case 255:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,1);break}case 264:{h=c[(f+(da+-3<<4)&p)+16>>2]|0;l=(c[(f+(da<<4)&p)+16>>2]|0)-h+(c[(f+(da<<4)&p)+20>>2]|0)|0;k=c[(f+(da+-1<<4)&p)+16>>2]|0;aa=ca+488|0;z=c[(aa&p)>>2]|0;A=c[(ca&p)>>2]|0;c[(aa&p)>>2]=0;g:do if((c[(ca&p)+64>>2]|0)==0&(z|0)!=0){y=c[(z&p)>>2]|0;m=z+20|0;v=c[(m&p)>>2]|0;h:do if(v){u=c[(A&p)+20>>2]|0;if((u|0)>0){s=c[(A&p)+16>>2]|0;q=0;while(1){r=q+1|0;if((c[(s+(q<<4)&p)+12>>2]|0)==(v|0))break h;if((r|0)<(u|0))q=r;else{q=r;break}}}else q=0}else q=-1e6;while(0);c[(z&p)+28>>2]=k;x=(k|0)==0;if(!x){s=k;do{c[(s&p)+4>>2]=z;s=c[(s&p)+32>>2]|0}while((s|0)!=0)}c[(_&p)>>2]=y;if(!y)s=0;else{s=y;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;s=s-y&1073741823}c[(_&p)+4>>2]=s;c[($&p)>>2]=ca;w=A+16|0;v=c[(w&p)>>2]|0;c[($&p)+12>>2]=c[(v+(q<<4)&p)>>2];c[($&p)+4>>2]=c[(v+(q<<4)&p)+12>>2];c[($&p)+16>>2]=10720;c[($&p)+20>>2]=_;v=(q|0)==1;c[($&p)+8>>2]=v&1;if(!x)do{if(frfr=a[(g&n)>>0]|0}if(h<<24>>24!=10){h=0;W=134;break c}a[(g&n)>>0]=a[(L&n)>>0]|0;h=0;break c}while(0);h=X+145|0;do if(!(a[(h&n)>>0]|0)){if(c[(f&p)+64>>2]|0){W=126;break}if(!((a[(Q&n)>>0]&32)==0|U)){W=126;break}u=f+72|0;r=(c[(u&p)>>2]|0)+1|0;c[(u&p)>>2]=r;u=Oq(f)|0;if(!u){h=0;u=0;W=134;break c}J=c[(f&p)+408>>2]|0;J=(J|0)==0?f:J;Ar(f,v);I=J+328|0;c[(I&p)>>2]=c[(I&p)>>2]|1<<v;J=J+20|0;a[(J&n)>>0]=d[(J&n)>>0]|1;wh(u,120,v,r,0)|0;if(!q)g=0;else{g=c[(c[(T&p)>>2]&p)>>2]|0;J=(c[(f&p)+504>>2]|0)-g+(c[(f&p)+508>>2]|0)|0;I=J+-1|0;J=(a[(g+I&n)>>0]|0)==59?I:J;c[(V&p)>>2]=(m|0)==0?10360:36288;c[(V&p)+4>>2]=J;c[(V&p)+8>>2]=g;g=uh(X,36264,V)|0}I=c[(P&p)>>2]|0;J=c[(x&p)>>2]|0;c[(V&p)>>2]=c[((c[(R&p)>>2]|0)+(v<<4)&p)>>2];c[(V&p)+4>>2]=O;c[(V&p)+8>>2]=I;c[(V&p)+12>>2]=J;c[(V&p)+16>>2]=r;c[(V&p)+20>>2]=g;Br(f,36296,V);mg(X,g);if(!U)break;vs(f,P,r);Dr(f,v);c[(V&p)>>2]=c[(P&p)>>2];Ir(u,v,uh(X,36344,V)|0);wh(u,144,0,0,0)|0;W=126}else{if(Ik((c[(K&p)>>2]|0)+24|0,c[(P&p)>>2]|0,P)|0){a[(S&n)>>0]=1;h=0;u=0;W=134;break c}J=X+24|0;c[(J&p)>>2]=c[(J&p)>>2]|2;if(!U)break;c[(P&p)+40>>2]=c[(X&p)+140>>2];W=126}while(0);if((W|0)==126?!((a[(h&n)>>0]|0)!=0|(k|0)==0):0){h=0;u=0;W=134;break}h=c[(x&p)+8>>2]|0;do if((m|0)==5){if(!h){h=0;break}if((a[(h&n)+50>>0]|0)==5)break;do{u=h+20|0;h=c[(u&p)>>2]|0;if(!h){h=0;break}}while((a[(h&n)+50>>0]|0)!=5);c[(P&p)+20>>2]=h;c[(u&p)>>2]=P;r=0;u=P;h=w;break a}while(0);c[(P&p)+20>>2]=h;c[(x&p)+8>>2]=P;r=0;u=P;h=w;break a}else{h=r;u=0;W=134}while(0);if((W|0)==134)if(!P){r=h;h=w;break}Jk(X,P);r=h;h=w}else{u=0;h=w}}else{u=0;h=0}while(0);Gk(X,r);Nk(X,l);Do(X,k);mg(X,h);i=Y;return u|0}function ar(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[(e&p)+484>>2]|0;h=c[(e&p)>>2]|0;if(((g|0)!=0?(a[(e&n)+451>>0]|0)==0:0)?(b[((c[((c[((c[(h&p)+16>>2]|0)+(d[(h&n)+144>>0]<<4)&p)+4>>2]|0)&p)+4>>2]|0)&o)+22>>1]&1)==0:0){h=g+24|0;g=lr(e,c[(h&p)>>2]|0,f)|0;c[(h&p)>>2]=g;if(c[(e&p)+324>>2]|0)mr(e,g,e+320|0,1)}else Gk(h,f);return}function br(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=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;F=i;i=i+16|0;if((i|0)>=(j|0))fa();C=F;E=c[(d&p)>>2]|0;D=c[(d&p)+484>>2]|0;a:do if((D|0)!=0?(a[(d&n)+451>>0]|0)==0:0){z=(e|0)==0;do if(z){B=b[(D&o)+38>>1]|0;l=(B<<16>>16)+-1|0;if(B<<16>>16<1){k=0;break a}if(g)if((c[(g&p)>>2]|0)==1){l=1;k=13}else{c[(C&p)>>2]=c[((c[(D&p)+4>>2]|0)+(l*24|0)&p)>>2];c[(C&p)+4>>2]=f;th(d,35712,C);k=0;break a}else{l=1;k=12}}else{if(!g){l=c[(e&p)>>2]|0;k=12;break}l=c[(g&p)>>2]|0;if((l|0)==(c[(e&p)>>2]|0))k=13;else{th(d,35776,C);k=0;break a}}while(0);if((k|0)==12){m=f+4|0;s=m;w=0;m=(l<<3)+37+(c[(m&p)>>2]|0)|0;B=l}else if((k|0)==13){s=f+4|0;m=(l<<3)+37+(c[(s&p)>>2]|0)|0;t=c[(g&p)>>2]|0;if((t|0)>0){u=c[(g&p)+4>>2]|0;v=0;do{r=c[(u+(v*20|0)&p)+4>>2]|0;if(!r)k=1;else{q=r;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;k=(q-r&1073741823)+1|0}m=k+m|0;v=v+1|0}while((v|0)<(t|0));w=1;B=l}else{w=1;B=l}}k=mh(E,m,((m|0)<0)<<31>>31)|0;if(k){fw(k|0,0,m|0)|0;c[(k&p)>>2]=D;A=D+16|0;c[(k&p)+4>>2]=c[(A&p)>>2];x=k+36|0;q=x+(B<<3)|0;y=k+8|0;c[(y&p)>>2]=q;kw(q|0,c[(f&p)>>2]|0,c[(s&p)>>2]|0)|0;a[(q+(c[(s&p)>>2]|0)&n)>>0]=0;lo(q);q=q+((c[(s&p)>>2]|0)+1)|0;c[(k&p)+20>>2]=B;b:do if(!z){if((B|0)>0){m=D+4|0;f=e+4|0;r=b[(D&o)+38>>1]|0;l=0;while(1){c:do if(r<<16>>16>0){v=c[(m&p)>>2]|0;u=c[((c[(f&p)>>2]|0)+(l*20|0)&p)+4>>2]|0;t=0;while(1){s=t+1|0;if(!(dd(c[(v+(t*24|0)&p)>>2]|0,u)|0)){s=t;break}if((s|0)<(r<<16>>16|0))t=s;else break c}c[(x+(l<<3)&p)>>2]=s}else s=0;while(0);if((s|0)>=(r<<16>>16|0))break;l=l+1|0;if((l|0)>=(B|0))break b}c[(C&p)>>2]=c[((c[(f&p)>>2]|0)+(l*20|0)&p)+4>>2];th(d,35872,C);break a}}else c[(x&p)>>2]=(b[(D&o)+38>>1]|0)+-1;while(0);if(w&(B|0)>0){r=g+4|0;s=0;while(1){m=c[((c[(r&p)>>2]|0)+(s*20|0)&p)+4>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[(x+(s<<3)&p)+4>>2]=q;kw(q|0,m|0,l|0)|0;a[(q+l&n)>>0]=0;s=s+1|0;if((s|0)==(B|0))break;else q=q+(l+1)|0}}a[(k&n)+24>>0]=0;a[(k&n)+25>>0]=h;a[(k&n)+26>>0]=h>>>8;l=Ik((c[(D&p)+68>>2]|0)+56|0,c[(y&p)>>2]|0,k)|0;if((l|0)==(k|0)){a[(E&n)+65>>0]=1;break}if(l){c[(k&p)+12>>2]=l;c[(l&p)+16>>2]=k}c[(A&p)>>2]=k;k=0}else k=0}else k=0;while(0);mg(E,k);Nk(E,e);Nk(E,g);i=F;return}function cr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[(b&p)>>2]|0;f=a[(e&n)+62>>0]|0;g=a[(e&n)+145>>0]|0;e=Yn(e,f,d,g&255)|0;do if(!(g<<24>>24)){if((e|0)!=0?(c[(e&p)+12>>2]|0)!=0:0)break;e=ws(b,f,e,d)|0}while(0);return e|0}function dr(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=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;B=i;i=i+16|0;if((i|0)>=(j|0))fa();z=B;v=B+12|0;A=c[(e&p)>>2]|0;do if(!(a[(A&n)+65>>0]|0)){h=(h|0)!=0;if(h){u=A+68|0;a[(u&n)>>0]=(a[(u&n)>>0]|0)+1<<24>>24;y=Ur(e,g,f+8|0)|0;a[(u&n)>>0]=(a[(u&n)>>0]|0)+-1<<24>>24}else y=Ur(e,g,f+8|0)|0;if(!y){if(!h)break;zr(e,c[(f&p)+12>>2]|0);break}s=y+68|0;l=c[(s&p)>>2]|0;a:do if(l){h=c[(A&p)+20>>2]|0;if((h|0)>0){k=c[(A&p)+16>>2]|0;q=0;while(1){m=q+1|0;if((c[(k+(q<<4)&p)+12>>2]|0)==(l|0)){m=q;break a}if((m|0)<(h|0))q=m;else break}}else m=0}else m=-1e6;while(0);w=y+44|0;if((a[(w&n)>>0]&16)!=0?(hr(e,y)|0)!=0:0)break;q=(m|0)==1;x=q?13184:13208;h=c[((c[(A&p)+16>>2]|0)+(m<<4)&p)>>2]|0;if(!(Sq(e,9,x,0,h)|0)){k=(g|0)!=0;do if(k){l=q?15:17;q=0}else{if(!(a[(w&n)>>0]&16)){l=q?13:11;q=0;break}q=y+60|0;while(1){q=c[(q&p)>>2]|0;if((c[(q&p)>>2]|0)==(A|0))break;else q=q+24|0}l=30;q=c[((c[(q&p)+4>>2]|0)&p)+4>>2]|0}while(0);if((Sq(e,l,c[(y&p)>>2]|0,q,h)|0)==0?(Sq(e,9,c[(y&p)>>2]|0,0,h)|0)==0:0){q=c[(y&p)>>2]|0;if((Fc(q,25568,7)|0)==0?(Fc(q,35488,11)|0)!=0:0){c[(z&p)>>2]=q;th(e,35504,z);break}h=y+12|0;l=(c[(h&p)>>2]|0)==0;if(k){if(l){c[(z&p)>>2]=q;th(e,35536,z);break}}else if(!l){c[(z&p)>>2]=q;th(e,35576,z);break}if(Oq(e)|0){t=e+408|0;l=c[(t&p)>>2]|0;l=(l|0)==0?e:l;Ar(e,m);u=1<<m;k=l+328|0;c[(k&p)>>2]=c[(k&p)>>2]|u;l=l+20|0;a[(l&n)>>0]=d[(l&n)>>0]|1;Cr(e,m,28544,c[(y&p)>>2]|0);l=c[(e&p)>>2]|0;k=l+24|0;b:do if(((c[(k&p)>>2]&524288|0)!=0?(a[(w&n)>>0]&16)==0:0)?(c[(h&p)>>2]|0)==0:0){r=Oq(e)|0;v=bn((c[(s&p)>>2]|0)+56|0,c[(y&p)>>2]|0,v)|0;if((v|0)!=0?(c[(v&p)+8>>2]|0)!=0:0)q=0;else{q=c[(y&p)+16>>2]|0;if(!q)break;while(1){if(a[(q&n)+24>>0]|0)break;if(c[(k&p)>>2]&16777216)break;q=c[(q&p)+4>>2]|0;if(!q)break b}q=xs(r)|0;wh(r,135,1,q,0)|0}v=e+438|0;a[(v&n)>>0]=1;rr(e,ys(l,f,0)|0,0);a[(v&n)>>0]=0;if(!(c[(k&p)>>2]&16777216)){wh(r,135,0,(c[(r&p)+32>>2]|0)+2|0,0)|0;zs(e,787,2,0,-2,4)}if(q){l=c[(r&p)+24>>2]|0;h=~q;do if((q|0)<0){q=c[(l&p)+112>>2]|0;if(!q)break;c[(q+(h<<2)&p)>>2]=c[(r&p)+32>>2]}while(0);c[(l&p)+88>>2]=(c[(r&p)+32>>2]|0)+-1}}while(0);r=c[(e&p)>>2]|0;s=r+16|0;l=c[(s&p)>>2]|0;h=Oq(e)|0;v=c[(t&p)>>2]|0;v=(v|0)==0?e:v;Ar(e,m);t=v+328|0;c[(t&p)>>2]=c[(t&p)>>2]|u;v=v+20|0;a[(v&n)>>0]=d[(v&n)>>0]|1;if(a[(w&n)>>0]&16)wh(h,146,0,0,0)|0;q=As(e,y)|0;if(q)do{Qr(e,q);q=c[(q&p)+32>>2]|0}while((q|0)!=0);l=l+(m<<4)|0;if(a[(w&n)>>0]&8){v=c[(y&p)>>2]|0;c[(z&p)>>2]=c[(l&p)>>2];c[(z&p)+4>>2]=v;Br(e,35608,z)}v=c[(y&p)>>2]|0;c[(z&p)>>2]=c[(l&p)>>2];c[(z&p)+4>>2]=x;c[(z&p)+8>>2]=v;Br(e,35656,z);if((g|0)==0?(a[(w&n)>>0]&16)==0:0)Bs(e,y);if(a[(w&n)>>0]&16){v=c[(y&p)>>2]|0;xh(h,wh(h,148,m,0,0)|0,v,0)}k=c[(y&p)>>2]|0;xh(h,wh(h,124,m,0,0)|0,k,0);Dr(e,m);h=c[((c[(s&p)>>2]|0)+(m<<4)&p)+12>>2]|0;k=b[(h&o)+78>>1]|0;if(k&2){l=c[(h&p)+16>>2]|0;if(l){k=l;do{h=c[(k&p)+8>>2]|0;if(c[(h&p)+12>>2]|0){Lk(r,h);c[(h&p)+4>>2]=0;b[(h&o)+38>>1]=0}k=c[(k&p)>>2]|0}while((k|0)!=0);k=c[((c[(s&p)>>2]|0)+(m<<4)&p)+12>>2]|0;h=k;k=b[(k&o)+78>>1]|0}b[(h&o)+78>>1]=k&65533}}}}}while(0);Do(A,f);i=B;return}function er(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;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;h=c[(b&p)>>2]|0;do if((f|0)!=0?(c[(f&p)+4>>2]|0)!=0:0){if(a[(h&n)+145>>0]|0){th(b,28488,k);f=b+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=-1;break}c[(g&p)>>2]=f;g=Wq(h,e)|0;f=Vh(h,g)|0;mg(h,g);if((f|0)<0){c[(k&p)>>2]=e;th(b,28512,k);f=b+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=-1}}else l=7;while(0);if((l|0)==7){f=d[(h&n)+144>>0]|0;c[(g&p)>>2]=e}i=m;return f|0}function fr(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Hr(a,c[(b&p)>>2]|0)|0){b=1;break a}if(Kr(a,c[(b&p)+32>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+36>>2]|0)|0){b=1;break a}if(Hr(a,c[(b&p)+40>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+44>>2]|0)|0){b=1;break a}if(Hr(a,c[(b&p)+48>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+60>>2]|0)|0){b=1;break a}if(Gr(a,c[(b&p)+64>>2]|0)|0){b=1;break a}b=c[(b&p)+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function gr(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if((f|0)!=0?(h=mh(d,72,0)|0,(h|0)!=0):0){c[(h&p)>>2]=Pr(d,c[(f&p)>>2]|0,g)|0;c[(h&p)+32>>2]=ys(d,c[(f&p)+32>>2]|0,g)|0;c[(h&p)+36>>2]=Mr(d,c[(f&p)+36>>2]|0,g,0)|0;c[(h&p)+40>>2]=Pr(d,c[(f&p)+40>>2]|0,g)|0;c[(h&p)+44>>2]=Mr(d,c[(f&p)+44>>2]|0,g,0)|0;c[(h&p)+48>>2]=Pr(d,c[(f&p)+48>>2]|0,g)|0;a[(h&n)+4>>0]=a[(f&n)+4>>0]|0;j=gr(d,c[(f&p)+52>>2]|0,g)|0;c[(h&p)+52>>2]=j;if(j)c[(j&p)+56>>2]=h;c[(h&p)+56>>2]=0;c[(h&p)+60>>2]=Mr(d,c[(f&p)+60>>2]|0,g,0)|0;c[(h&p)+64>>2]=Mr(d,c[(f&p)+64>>2]|0,g,0)|0;c[(h&p)+8>>2]=0;c[(h&p)+12>>2]=0;b[(h&o)+6>>1]=(e[(f&o)+6>>1]|0)&65527;c[(h&p)+16>>2]=-1;c[(h&p)+20>>2]=-1;l=f+24|0;j=c[(l&p)+4>>2]|0;g=h+24|0;c[(g&p)>>2]=c[(l&p)>>2];c[(g&p)+4>>2]=j;g=c[(f&p)+68>>2]|0;if((g|0)!=0?(k=c[(g&p)>>2]<<4|8,i=mh(d,k,((k|0)<0)<<31>>31)|0,(i|0)!=0):0){fw(i|0,0,k|0)|0;c[(i&p)>>2]=c[(g&p)>>2];if((c[(g&p)>>2]|0)>0){f=i+8|0;j=0;do{c[(f+(j<<4)&p)+8>>2]=gr(d,c[(g+(j<<4)&p)+16>>2]|0,0)|0;c[(f+(j<<4)&p)+4>>2]=Pr(d,c[(g+(j<<4)&p)+12>>2]|0,0)|0;c[(f+(j<<4)&p)>>2]=kh(d,c[(g+(j<<4)&p)+8>>2]|0)|0;j=j+1|0}while((j|0)<(c[(g&p)>>2]|0))}}else i=0;c[(h&p)+68>>2]=i}else h=0;return h|0}function hr(d,f){d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();s=w;k=w+8|0;m=w+4|0;v=c[(d&p)>>2]|0;q=f+44|0;h=a[(q&n)>>0]|0;a:do if(!(h&16))t=11;else{g=c[(f&p)+60>>2]|0;if(g)do{if((c[(g&p)>>2]|0)==(v|0)){t=11;break a}g=c[(g&p)+24>>2]|0}while((g|0)!=0);g=f+56|0;h=bn(v+308|0,c[(c[(g&p)>>2]&p)>>2]|0,k)|0;if((h|0)!=0?(l=c[(h&p)+8>>2]|0,(l|0)!=0):0){c[(m&p)>>2]=0;l=(zn(v,f,l,c[((c[(l&p)>>2]|0)&p)+8>>2]|0,m)|0)==0;h=c[(m&p)>>2]|0;if(l){mg(v,h);h=a[(q&n)>>0]|0;t=11;break}else{c[(s&p)>>2]=h;th(d,10344,s);mg(v,h);g=1;break}}c[(s&p)>>2]=c[(c[(g&p)>>2]&p)>>2];th(d,28320,s);g=1}while(0);do if((t|0)==11)if((h&16)==0?(u=f+38|0,r=b[(u&o)>>1]|0,r<<16>>16<=0):0){if(r<<16>>16<0){c[(s&p)>>2]=c[(f&p)>>2];th(d,26752,s);g=1;break}h=gr(v,c[(f&p)+12>>2]|0,0)|0;if(!h)g=1;else{r=v+250|0;q=a[(r&n)>>0]|0;t=d+68|0;s=c[(t&p)>>2]|0;Cs(d,c[(h&p)+32>>2]|0);b[(u&o)>>1]=-1;a[(r&n)>>0]=0;m=v+284|0;l=c[(m&p)>>2]|0;c[(m&p)>>2]=0;g=ns(d,h)|0;c[(m&p)>>2]=l;a[(r&n)>>0]=q;c[(t&p)>>2]=s;if(!g){b[(u&o)>>1]=0;g=1}else{d=g+38|0;b[(u&o)>>1]=b[(d&o)>>1]|0;t=g+4|0;c[(f&p)+4>>2]=c[(t&p)>>2];b[(d&o)>>1]=0;c[(t&p)>>2]=0;kg(v,g);g=(c[(f&p)+68>>2]|0)+78|0;b[(g&o)>>1]=e[(g&o)>>1]|0|2;g=0}Mk(v,h,1)}}else g=0;while(0);i=w;return g|0}
12 Frfr(b,c[(e&p)>>2]|0)|0){d=1;break a}if(Gr(b,c[(f&p)+16>>2]|0)|0){d=1;break a}f=c[(f&p)+12>>2]|0;if(!f){d=0;break a}}c[(g&p)>>2]=c[(b&p)+16>>2];th(d,29984,g);d=1}while(0);i=h;return d|0}function Hr(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if((b|0)!=0?(c[(b&p)>>2]|0)>0:0){d=0;e=c[(b&p)+4>>2]|0;while(1){if(Gr(a,c[(e&p)>>2]|0)|0){d=1;break a}d=d+1|0;if((d|0)>=(c[(b&p)>>2]|0)){d=0;break}else e=e+20|0}}else d=0;while(0);return d|0}function Ir(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;xh(a,wh(a,122,b,0,0)|0,d,-1);d=c[((c[(a&p)>>2]|0)&p)+20>>2]|0;if((d|0)>0){e=a+96|0;b=c[(e&p)>>2]|0;a=0;do{b=b|1<<a;a=a+1|0}while((a|0)<(d|0));c[(e&p)>>2]=b}return}function Jr(a,d){a=a|0;d=d|0;var e=0,f=0;e=d+8|0;f=Ur(a,0,e)|0;d=d+24|0;kg(c[(a&p)>>2]|0,c[(d&p)>>2]|0);c[(d&p)>>2]=f;if(f){d=f+40|0;b[(d&o)>>1]=(b[(d&o)>>1]|0)+1<<16>>16}e=(Rt(a,e)|0)==0;return (e?f:0)|0}function Kr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))fa();m=n;a:do if((b|0)!=0?(f=c[(a&p)+12>>2]|0,(c[(b&p)>>2]|0)>0):0){g=a+8|0;h=a+4|0;k=0;l=b+8|0;while(1){if(!(c[(g&p)>>2]|0)){e=l+4|0;d=c[(e&p)>>2]|0;if((d|0)!=0?(dd(d,f)|0)!=0:0)break;mg(c[(c[(a&p)>>2]&p)>>2]|0,d);c[(e&p)>>2]=0;c[(l&p)>>2]=c[(h&p)>>2]}if(fr(a,c[(l&p)+20>>2]|0)|0){d=1;break a}if(Gr(a,c[(l&p)+44>>2]|0)|0){d=1;break a}k=k+1|0;if((k|0)>=(c[(b&p)>>2]|0)){d=0;break a}else l=l+72|0}b=c[(a&p)>>2]|0;l=c[(a&p)+20>>2]|0;c[(m&p)>>2]=c[(a&p)+16>>2];c[(m&p)+4>>2]=l;c[(m&p)+8>>2]=d;th(b,29936,m);d=1}else d=0;while(0);i=n;return d|0}function Lr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;g=c[(b&p)>>2]|0;if((((a[(g&n)+145>>0]|0)==0?(a[(b&n)+18>>0]|0)==0:0)?(c[(g&p)+24>>2]&2048|0)==0:0)?(Fc(d,25568,7)|0)==0:0){c[(e&p)>>2]=d;th(b,28440,e);b=1}else b=0;i=f;return b|0}function Mr(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,o=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))fa();w=x;do if(d){t=e&1;v=(f|0)!=0;if(v){g=c[(f&p)>>2]|0;r=32768}else{g=St(d,e)|0;g=mh(b,g,((g|0)<0)<<31>>31)|0;r=0}c[(w&p)>>2]=g;if(g){l=(t|0)==0;if(!l)if(!(c[(d&p)+12>>2]|0))q=(c[(d&p)+20>>2]|0)==0?16396:8220;else q=8220;else q=48;s=q&60;u=d+4|0;m=c[(u&p)>>2]|0;if((m&1024|0)==0?(h=c[(d&p)+8>>2]|0,(h|0)!=0):0){k=h;while(1)if(!(a[(k&n)>>0]|0))break;else k=k+1|0;o=(k-h&1073741823)+1|0}else o=0;if(l){if(!(m&16384))k=(m&8192|0)==0?48:28;else k=12;kw(g|0,d|0,k|0)|0;fw(g+k|0,0,48-k|0)|0}else kw(g|0,d|0,s|0)|0;m=g+4|0;h=q&24576|r|c[(m&p)>>2]&-122881;c[(m&p)>>2]=h;if(o){h=g+s|0;c[(g&p)+8>>2]=h;kw(h|0,c[(d&p)+8>>2]|0,o|0)|0;h=c[(m&p)>>2]|0}k=c[(u&p)>>2]|0;do if(!((h|k)&16384)){h=d+20|0;if(!(k&2048)){c[(g&p)+20>>2]=Pr(b,c[(h&p)>>2]|0,t)|0;break}else{c[(g&p)+20>>2]=gr(b,c[(h&p)>>2]|0,t)|0;break}}while(0);h=c[(m&p)>>2]|0;if(!(h&24576)){if(c[(u&p)>>2]&16384)break;c[(g&p)+12>>2]=Mr(b,c[(d&p)+12>>2]|0,0,0)|0;c[(g&p)+16>>2]=Mr(b,c[(d&p)+16>>2]|0,0,0)|0;break}t=Tt(d,e)|0;c[(w&p)>>2]=(c[(w&p)>>2]|0)+t;if(h&8192){c[(g&p)+12>>2]=Mr(b,c[(d&p)+12>>2]|0,1,w)|0;c[(g&p)+16>>2]=Mr(b,c[(d&p)+16>>2]|0,1,w)|0}if(v)c[(f&p)>>2]=c[(w&p)>>2]}}else g=0;while(0);i=x;return g|0}function Nr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;a:do if((b|0)!=0?(d=mh(a,8,0)|0,(d|0)!=0):0){g=b+4|0;c[(d&p)+4>>2]=c[(g&p)>>2];e=mh(a,c[(g&p)>>2]<<3,0)|0;c[(d&p)>>2]=e;if(!e){mg(a,d);d=0;break}if((c[(g&p)>>2]|0)>0){f=0;while(1){h=c[(b&p)>>2]|0;c[(e+(f<<3)&p)>>2]=kh(a,c[(h+(f<<3)&p)>>2]|0)|0;c[(e+(f<<3)&p)+4>>2]=c[(h+(f<<3)&p)+4>>2];f=f+1|0;if((f|0)>=(c[(g&p)>>2]|0))break a;e=c[(d&p)>>2]|0}}}else d=0;while(0);return d|0}function Or(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=e+4|0;g=(c[(f&p)>>2]|0)+40|0;b=mh(b,g,0)|0;if(b){fw(b|0,0,g|0)|0;g=b+40|0;kw(g|0,c[(e&p)>>2]|0,c[(f&p)>>2]|0)|0;c[(b&p)+12>>2]=g;c[(b&p)+16>>2]=c[(f&p)>>2];a[(b&n)>>0]=d}return b|0}function Pr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;do if((d|0)!=0?(f=mh(b,8,0)|0,(f|0)!=0):0){g=c[(d&p)>>2]|0;c[(f&p)>>2]=g;if(!(e&1)){h=c[(d&p)>>2]|0;g=1;while(1)if((g|0)<(h|0))g=g<<1;else break}g=mh(b,g*20|0,0)|0;c[(f&p)+4>>2]=g;if(!g){mg(b,f);f=0;break}if((c[(d&p)>>2]|0)>0){i=0;h=c[(d&p)+4>>2]|0;while(1){c[(g&p)>>2]=Mr(b,c[(h&p)>>2]|0,e,0)|0;c[(g&p)+4>>2]=kh(b,c[(h&p)+4>>2]|0)|0;c[(g&p)+8>>2]=kh(b,c[(h&p)+8>>2]|0)|0;a[(g&n)+12>>0]=a[(h&n)+12>>0]|0;j=g+13|0;k=a[(j&n)>>0]|0;a[(j&n)>>0]=k&-2;a[(j&n)>>0]=a[(h&n)+13>>0]&2|k&-4;c[(g&p)+16>>2]=c[(h&p)+16>>2];i=i+1|0;if((i|0)>=(c[(d&p)>>2]|0))break;else{g=g+20|0;h=h+20|0}}}}else f=0;while(0);return f|0}function Qr(a,b){a=a|0;b=b|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+16|0;if((i|0)>=(j|0))fa();k=o;l=c[(a&p)>>2]|0;f=c[(b&p)+20>>2]|0;a:do if(f){e=c[(l&p)+20>>2]|0;if((e|0)>0){d=c[(l&p)+16>>2]|0;h=0;while(1){g=h+1|0;if((c[(d+(h<<4)&p)+12>>2]|0)==(f|0)){g=h;break a}if((g|0)<(e|0))h=g;else break}}else g=0}else g=-1e6;while(0);d=bn((c[(b&p)+24>>2]|0)+8|0,c[(b&p)+4>>2]|0,k)|0;if(!d)f=0;else f=c[(d&p)+8>>2]|0;d=c[((c[(l&p)+16>>2]|0)+(g<<4)&p)>>2]|0;e=(g|0)==1;if((((Sq(a,e?14:16,c[(b&p)>>2]|0,c[(f&p)>>2]|0,d)|0)==0?(Sq(a,9,e?13184:13208,0,d)|0)==0:0)?(m=Oq(a)|0,(m|0)!=0):0)?(n=c[(a&p)+408>>2]|0,Ar(a,g),n=((n|0)==0?a:n)+328|0,c[(n&p)>>2]=c[(n&p)>>2]|1<<g,js(a,g),n=yh(m,9,29624)|0,xh(m,n+1|0,c[(b&p)>>2]|0,0),xh(m,n+4|0,10720,-2),Dr(a,g),wh(m,61,0,0,0)|0,n=c[(b&p)>>2]|0,xh(m,wh(m,126,g,0,0)|0,n,0),n=a+72|0,(c[(n&p)>>2]|0)<3):0)c[(n&p)>>2]=3;i=o;return}function Rr(d,e,f,g,h,k,l){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+32|0;if((i|0)>=(j|0))fa();m=v;t=c[(d&p)>>2]|0;c[(m&p)>>2]=0;c[(m&p)+4>>2]=0;c[(m&p)+8>>2]=0;c[(m&p)+12>>2]=0;c[(m&p)+16>>2]=0;c[(m&p)+20>>2]=0;c[(m&p)+24>>2]=0;c[(m&p)+28>>2]=0;c[(m&p)>>2]=d;do if(h)if((a[(h&n)>>0]|0)!=27)if(!(ls(m,h)|0)){u=5;break}else{u=13;break}else{a[(h&n)>>0]=97;u=5;break}else u=5;while(0);a:do if((u|0)==5){do if(k)if((a[(k&n)>>0]|0)!=27)if(!(ls(m,k)|0))break;else{u=13;break a}else{a[(k&n)>>0]=97;break}while(0);do if(l)if((a[(l&n)>>0]|0)!=27)if(!(ls(m,l)|0))break;else{u=13;break a}else{a[(l&n)>>0]=97;break}while(0);if(g){if((a[(g&n)>>0]|0)==97)g=c[(g&p)+8>>2]|0;else g=0;if(Sq(d,e,g,0,0)|0)break}s=Oq(d)|0;m=d+60|0;g=c[(m&p)>>2]|0;q=d+56|0;r=c[(q&p)>>2]|0;if((r|0)<4){r=d+72|0;g=c[(r&p)>>2]|0;c[(r&p)>>2]=g+4;g=g+1|0}else{c[(m&p)>>2]=g+4;c[(q&p)>>2]=r+-4}Rq(d,h,g);Rq(d,k,g+1|0);Rq(d,l,g+2|0);if(s){g=g+3|0;wh(s,1,0,g-(b[(f&o)>>1]|0)|0,g)|0;g=c[(s&p)+4>>2]|0;if(g)a[(g+(((c[(s&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=b[(f&o)>>1];xh(s,-1,f,-5);wh(s,144,(e|0)==24&1,0,0)|0}}while(0);if((u|0)==13){f=d+64|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1}Gk(t,h);Gk(t,k);Gk(t,l);i=v;return}function Sr(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+16|0;if((i|0)>=(j|0))fa();l=m;g=m+4|0;h=c[(b&p)>>2]|0;a:do if(!(Gn(b)|0)){if(!d){Ut(b,0);break}if(!((e|0)!=0?(c[(e&p)>>2]|0)!=0:0))f=6;do if((f|0)==6){f=Wq(c[(b&p)>>2]|0,d)|0;if(!f)break a;if(!(Yn(h,a[(h&n)+62>>0]|0,f,0)|0)){mg(h,f);break}else{Ut(b,f);mg(h,f);break a}}while(0);d=er(b,d,e,g)|0;if((d|0)>=0?(k=Wq(h,c[(g&p)>>2]|0)|0,(k|0)!=0):0){e=c[((c[(h&p)+16>>2]|0)+(d<<4)&p)>>2]|0;f=_h(h,k,e)|0;if(f){Vt(b,f,0);mg(h,k);break}e=bq(h,k,e)|0;mg(h,k);if(!e){th(b,28872,l);break}else{f=c[(b&p)+408>>2]|0;Ar(b,d);f=((f|0)==0?b:f)+328|0;c[(f&p)>>2]=c[(f&p)>>2]|1<<d;vs(b,e,-1);break}}}while(0);i=m;return}function Tr(a,b,d){a=a|0;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))fa();f=h;g=c[(a&p)>>2]|0;if(!(Gn(a)|0)){do if(!b){b=g+20|0;e=c[(b&p)>>2]|0;if((e|0)>0){d=0;do{if((d|0)!=1){Wt(a,d);e=c[(b&p)>>2]|0}d=d+1|0}while((d|0)<(e|0))}}else{if(c[(d&p)+4>>2]|0){e=er(a,b,d,f)|0;if((e|0)<=-1)break;e=c[((c[(g&p)+16>>2]|0)+(e<<4)&p)>>2]|0;b=Wq(g,c[(f&p)>>2]|0)|0;if(!b)break;d=bq(g,b,e)|0;if(!d){e=sh(a,0,b,e)|0;if(e)Xt(a,e,0)}else Xt(a,c[(d&p)+12>>2]|0,d);mg(g,b);break}d=Wq(g,b)|0;e=Vh(g,d)|0;mg(g,d);if((e|0)>-1){Wt(a,e);break}d=Wq(g,b)|0;if(d){e=bq(g,d,0)|0;if(!e){e=sh(a,0,d,0)|0;if(e)Xt(a,e,0)}else Xt(a,c[(e&p)+12>>2]|0,e);mg(g,d)}}while(0);e=Oq(a)|0;if(e)wh(e,144,0,0,0)|0}i=h;return}function Ur(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=c[(d&p)>>2]|0;if(!f)e=d+4|0;else{i=c[(a&p)>>2]|0;g=c[(i&p)+20>>2]|0;i=c[(i&p)+16>>2]|0;a:do if((g|0)>0){h=0;while(1){e=h+1|0;if((c[(i+(h<<4)&p)+12>>2]|0)==(f|0)){e=h;break a}if((e|0)<(g|0))h=e;else break}}else e=0;while(0);e=i+(e<<4)|0}return sh(a,b,c[(d&p)+8>>2]|0,c[(e&p)>>2]|0)|0}function Vr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;if(d){e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;if((e-d&1073741823)>>>0>6?(Fc(d,25568,7)|0)==0:0){c[(f&p)>>2]=d;th(b,25576,f);e=1}else e=0}else e=0;i=g;return e|0}function Wr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;if(!b){c[(e&p)>>2]=d;a=uh(a,25992,e)|0}else{c[(e&p)>>2]=b;c[(e&p)+4>>2]=d;e=uh(a,26e3,e)|0;mg(a,b);a=e}i=f;return a|0}function Xr(a,b){a=a|0;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))fa();g=h;e=c[(a&p)>>2]|0;f=c[((c[(e&p)+16>>2]|0)&p)+28>>2]|0;if((c[(b&p)+68>>2]|0)!=(f|0)?(d=As(a,b)|0,(d|0)!=0):0){b=d;d=0;do{if((c[(b&p)+20>>2]|0)==(f|0))d=Wr(e,d,c[(b&p)>>2]|0)|0;b=c[(b&p)+32>>2]|0}while((b|0)!=0);if(d){b=c[(a&p)>>2]|0;c[(g&p)>>2]=d;b=uh(b,25968,g)|0;mg(c[(a&p)>>2]|0,d);d=b}else d=0}else d=0;i=h;return d|0}function Yr(a,b,d){a=a|0;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,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();n=r;o=Oq(a)|0;if(o){e=c[(a&p)>>2]|0;h=c[(b&p)+68>>2]|0;a:do if(h){k=c[(e&p)+20>>2]|0;if((k|0)>0){f=c[(e&p)+16>>2]|0;g=0;while(1){e=g+1|0;if((c[(f+(g<<4)&p)+12>>2]|0)==(h|0))break a;if((e|0)<(k|0))g=e;else{g=e;break}}}else g=0}else g=-1e6;while(0);e=As(a,b)|0;if(e)do{f=c[(a&p)>>2]|0;l=c[(e&p)+20>>2]|0;b:do if(l){m=c[(f&p)+20>>2]|0;if((m|0)>0){k=c[(f&p)+16>>2]|0;h=0;while(1){f=h+1|0;if((c[(k+(h<<4)&p)+12>>2]|0)==(l|0)){f=h;break b}if((f|0)<(m|0))h=f;else break}}else f=0}else f=-1e6;while(0);m=c[(e&p)>>2]|0;xh(o,wh(o,126,f,0,0)|0,m,0);e=c[(e&p)+32>>2]|0}while((e|0)!=0);e=c[(b&p)>>2]|0;xh(o,wh(o,124,g,0,0)|0,e,0);e=c[(a&p)>>2]|0;c[(n&p)>>2]=d;e=uh(e,25952,n)|0;if((e|0)!=0?(Ir(o,g,e),q=Xr(a,b)|0,(q|0)!=0):0)Ir(o,1,q)}i=r;return}