Lines Matching refs:Ot
6 ;A=0;B=c[(e&p)+40>>2]|0;f=0;while(1){k=c[((c[(B&p)>>2]|0)&p)+20>>2]|0;if(!k){g=0;i=0}else{g=c[(k&p)>>2]|0;i=c[(z&p)>>2]|0;h=c[(y&p)>>2]|0;if((h|0)<(g|0)){i=c[(u&p)>>2]|0;c[(u&p)>>2]=i+g;i=i+1|0}else{c[(z&p)>>2]=i+g;c[(y&p)>>2]=h-g}bt(d,k,i,1)}h=B+12|0;if((c[(h&p)>>2]|0)>-1){q=xs(D)|0;zu(d,c[(h&p)>>2]|0,q,1,i)}else q=0;m=B+4|0;h=c[(m&p)>>2]|0;if(b[(h&o)+2>>1]&32){if((g|0)>0){l=0;k=c[(k&p)+4>>2]|0;while(1){h=cu(d,c[(k&p)>>2]|0)|0;l=l+1|0;j=(h|0)!=0;if(!((l|0)<(g|0)&(j^1)))break;else k=k+20|0}if(!j)C=15}else C=15;if((C|0)==15){C=0;h=c[((c[(d&p)>>2]|0)&p)+8>>2]|0}if(!f)if(!(c[(t&p)>>2]|0))f=0;else{f=(c[(u&p)>>2]|0)+1|0;c[(u&p)>>2]=f}xh(D,wh(D,36,f,0,0)|0,h,-4);h=c[(m&p)>>2]|0}xh(D,wh(D,10,0,i,c[(B&p)+8>>2]|0)|0,h,-5);h=c[(w&p)>>2]|0;if(h)a[(h+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=g;dt(d,i,g);dt(d,i,g);if((c[(y&p)>>2]|0)<(g|0)){c[(y&p)>>2]=g;c[(z&p)>>2]=i}if(q){i=c[(r&p)>>2]|0;h=~q;if((q|0)<0?(x=c[(i&p)+112>>2]|0,(x|0)!=0):0)c[(x+(h<<2)&p)>>2]=c[(s&p)>>2];c[(i&p)+88>>2]=(c[(s&p)>>2]|0)+-1;at(d)}A=A+1|0;if((A|0)>=(c[(v&p)>>2]|0))break;else B=B+16|0}if(f)i=wh(D,45,f,0,0)|0;else i=0}else i=0;at(d);f=e+36|0;if((c[(f&p)>>2]|0)>0){g=0;h=c[(e&p)+28>>2]|0;while(1){Rq(d,c[(h&p)+20>>2]|0,c[(h&p)+16>>2]|0);g=g+1|0;if((g|0)>=(c[(f&p)>>2]|0))break;else h=h+24|0}}a[(e&n)>>0]=0;at(d);if(i){f=c[(D&p)+32>>2]|0;if(f>>>0>i>>>0)c[((c[(D&p)+4>>2]|0)+(i*20|0)&p)+8>>2]=f;c[((c[(D&p)+24>>2]|0)&p)+88>>2]=f+-1}return}function ft(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[(a&p)+8>>2]|0;e=b+44|0;if((c[(e&p)>>2]|0)>0){f=0;b=c[(b&p)+40>>2]|0;while(1){a=c[((c[(b&p)>>2]|0)&p)+20>>2]|0;if(!a)a=0;else a=c[(a&p)>>2]|0;g=c[(b&p)+4>>2]|0;xh(d,wh(d,142,c[(b&p)+8>>2]|0,a,0)|0,g,-5);f=f+1|0;if((f|0)>=(c[(e&p)>>2]|0))break;else b=b+16|0}}return}function gt(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,o=0,q=0,r=0,s=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();o=r+4|0;q=r;m=c[(b&p)+8>>2]|0;c[(o&p)>>2]=0;c[(q&p)>>2]=0;if(!((m|0)==0|(e|0)==0)){s=d[(e&n)>>0]|0;h=s^1;a:do switch(s|0){case 75:{if(g){fu(b,e,f,f);break a}k=xs(m)|0;fu(b,e,f,k);h=c[(m&p)+24>>2]|0;f=~k;if((k|0)<0?(l=c[(h&p)+112>>2]|0,(l|0)!=0):0)c[(l+(f<<2)&p)>>2]=c[(m&p)+32>>2];c[(h&p)+88>>2]=(c[(m&p)+32>>2]|0)+-1;break}case 71:{l=xs(m)|0;Zu(b,c[(e&p)+12>>2]|0,l,g^16);h=b+100|0;c[(h&p)>>2]=(c[(h&p)>>2]|0)+1;gt(b,c[(e&p)+16>>2]|0,f,g);f=c[(m&p)+24>>2]|0;h=~l;if((l|0)<0?(k=c[(f&p)+112>>2]|0,(k|0)!=0):0)c[(k+(h<<2)&p)>>2]=c[(m&p)+32>>2];c[(f&p)+88>>2]=(c[(m&p)+32>>2]|0)+-1;bu(b);break}case 72:{gt(b,c[(e&p)+12>>2]|0,f,g);m=b+100|0;c[(m&p)>>2]=(c[(m&p)>>2]|0)+1;gt(b,c[(e&p)+16>>2]|0,f,g);bu(b);break}case 79:case 78:case 83:case 80:case 81:case 82:{s=e+12|0;l=$t(b,c[(s&p)>>2]|0,o)|0;k=e+16|0;m=$t(b,c[(k&p)>>2]|0,q)|0;au(b,c[(s&p)>>2]|0,c[(k&p)>>2]|0,h,l,m,f,g);break}case 148:case 73:{g=e+12|0;l=$t(b,c[(g&p)>>2]|0,o)|0;k=e+16|0;m=$t(b,c[(k&p)>>2]|0,q)|0;au(b,c[(g&p)>>2]|0,c[(k&p)>>2]|0,(a[(e&n)>>0]|0)==73?78:79,l,m,f,128);break}case 19:{Zu(b,c[(e&p)+12>>2]|0,f,g);break}case 77:case 76:{wh(m,h,$t(b,c[(e&p)+12>>2]|0,o)|0,f,0)|0;break}case 74:{_u(b,e,f,0,g);break}default:{if(mu(e)|0){wh(m,16,0,f,0)|0;break a}if(!($u(e)|0))wh(m,46,$t(b,e,o)|0,f,(g|0)!=0&1)|0}}while(0);_r(b,c[(o&p)>>2]|0);_r(b,c[(q&p)>>2]|0)}i=r;return}function ht(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();k=l;f=c[(a&p)+8>>2]|0;g=b+44|0;if((c[(g&p)>>2]|0)!=(0-(c[(b&p)+32>>2]|0)|0)?(wh(f,28,0,c[(b&p)+16>>2]|0,c[(b&p)+20>>2]|0)|0,(c[(g&p)>>2]|0)>0):0){h=0;e=c[(b&p)+40>>2]|0;while(1){b=e+12|0;do if((c[(b&p)>>2]|0)>-1){d=c[((c[(e&p)>>2]|0)&p)+20>>2]|0;if((d|0)!=0?(c[(d&p)>>2]|0)==1:0){d=Us(a,d,0,0)|0;xh(f,wh(f,57,c[(b&p)>>2]|0,0,0)|0,d,-6);break}th(a,34944,k);c[(b&p)>>2]=-1}while(0);h=h+1|0;if((h|0)>=(c[(g&p)>>2]|0))break;else e=e+16|0}}i=l;return}function it(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if((b|0)>0){e=wh(a,138,b,0,-1)|0;wh(a,16,0,d,0)|0;b=c[(a&p)+32>>2]|0;if(b>>>0>e>>>0)c[((c[(a&p)+4>>2]|0)+(e*20|0)&p)+8>>2]=b;c[((c[(a&p)+24>>2]|0)&p)+88>>2]=b+-1}return}function jt(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0;if((c[((c[(a&p)>>2]|0)&p)+24>>2]&8388608|0)!=0?(h=As(a,b)|0,(h|0)!=0):0){a=0;b=h;do{if((d[(b&n)+8>>0]|0|0)==(e|0)?(av(c[(b&p)+16>>2]|0,f)|0)!=0:0)a=d[(b&n)+9>>0]|0|a;b=c[(b&p)+32>>2]|0}while((b|0)!=0)}else{a=0;h=0}if(g)c[(g&p)>>2]=a;return ((a|0)!=0?h:0)|0}function kt(b,d,e){b=b|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))fa();k=l;h=a[(d&n)+44>>0]|0;if(h&16){g=c[(b&p)>>2]|0;f=d+60|0;while(1){f=c[(f&p)>>2]|0;if((c[(f&p)>>2]|0)==(g|0))break;else f=f+24|0}if(!(c[((c[(c[(f&p)+4>>2]&p)>>2]|0)&p)+52>>2]|0))g=8;else g=5}else g=5;do if((g|0)==5){if(((h&1)!=0?(c[((c[(b&p)>>2]|0)&p)+24>>2]&2048|0)==0:0)?(a[(b&n)+18>>0]|0)==0:0){g=8;break}if((e|0)==0?(c[(d&p)+12>>2]|0)!=0:0){c[(k&p)>>2]=c[(d&p)>>2];th(b,34456,k);f=1}else f=0}while(0);if((g|0)==8){c[(k&p)>>2]=c[(d&p)>>2];th(b,34424,k);f=1}i=l;return f|0}function lt(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;r=i;i=i+32|0;if((i|0)>=(j|0))fa();q=r;o=c[(b&p)>>2]|0;h=c[(d&p)+68>>2]|0;a:do if(h){g=c[(o&p)+20>>2]|0;if((g|0)>0){l=c[(o&p)+16>>2]|0;m=0;while(1){k=m+1|0;if((c[(l+(m<<4)&p)+12>>2]|0)==(h|0)){k=m;break a}if((k|0)<(g|0))m=k;else break}}else k=0}else k=-1e6;while(0);g=Mr(o,e,0,0)|0;h=pr(o,0,0,0)|0;if(h){c[(h&p)+16>>2]=kh(o,c[(d&p)>>2]|0)|0;c[(h&p)+12>>2]=kh(o,c[((c[(o&p)+16>>2]|0)+(k<<4)&p)>>2]|0)|0}e=kr(b,0,h,g,0,0,0,0,0,0)|0;a[(q&n)>>0]=12;c[(q&p)+4>>2]=f;a[(q&n)+1>>0]=0;c[(q&p)+8>>2]=0;c[(q&p)+12>>2]=0;ir(b,e,q)|0;Mk(o,e,1);i=r;return}function mt(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();q=r+4|0;h=r;a:do if(c[((c[(a&p)>>2]|0)&p)+24>>2]&524288){if(!e){f=bn((c[(d&p)+68>>2]|0)+56|0,c[(d&p)>>2]|0,h)|0;if((f|0)!=0?(c[(f&p)+8>>2]|0)!=0:0)g=1;else g=(c[(d&p)+16>>2]|0)!=0;g=g&1;break}a=c[(d&p)+16>>2]|0;if(a){m=d+36|0;n=(f|0)!=0;do{h=c[(a&p)+20>>2]|0;if((h|0)>0){l=0;do{k=c[(a+(l<<3)&p)+36>>2]|0;if((c[(e+(k<<2)&p)>>2]|0)>-1){g=1;break a}l=l+1|0;if((k|0)==(b[(m&o)>>1]|0)&n){g=1;break a}}while((l|0)<(h|0))}a=c[(a&p)+4>>2]|0}while((a|0)!=0)}h=bn((c[(d&p)+68>>2]|0)+56|0,c[(d&p)>>2]|0,q)|0;if((h|0)!=0?(g=c[(h&p)+8>>2]|0,(g|0)!=0):0)while(1){if(bv(d,g,e,f)|0){g=1;break a}g=c[(g&p)+12>>2]|0;if(!g){g=0;break}}else g=0}else g=0;while(0);i=r;return g|0}function nt(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,q=0;if((h|0)>=0?(b[(f&o)+36>>1]|0)!=(h|0):0){j=d[(f&n)+44>>0]|0;q=(j&16|0)!=0?150:47;if(!(j&32))j=h;else{j=c[(f&p)+8>>2]|0;a:do if(!j)j=0;else while(1){if((a[(j&n)+51>>0]&3)==2)break a;j=c[(j&p)+20>>2]|0;if(!j){j=0;break}}while(0);m=h&65535;k=b[(j&o)+48>>1]|0;b:do if(!(k<<16>>16))j=-1;else{l=c[(j&p)+4>>2]|0;k=k&65535;j=0;while(1){if((b[(l+(j<<1)&o)>>1]|0)==m<<16>>16)break b;j=j+1|0;if((j|0)>=(k|0)){j=-1;break}}}while(0);j=j<<16>>16}wh(e,q,g,j,i)|0}else wh(e,103,g,i,0)|0;if((h|0)>-1)Nt(e,f,h,i);return}function otOt(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&n)>>0]|0))break;else g=g+1|0;g=g-d&1073741823}g=Sh(c,d,g,2,1,0)|0;if(g){g=g+2|0;b[(g&o)>>1]=e[(g&o)>>1]|f&255}return}function Pt(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,q=0,r=0,s=0,t=0,u=0,v=0;t=c[(d&p)+8>>2]|0;u=c[(e&p)+12>>2]|0;do if(i){l=e+36|0;if(!(c[(l&p)>>2]|0)){c[(i&p)>>2]=0;break}else{c[(i&p)>>2]=xs(t)|0;c[(d&p)+96>>2]=f;s=d+100|0;c[(s&p)>>2]=(c[(s&p)>>2]|0)+1;gt(d,c[(l&p)>>2]|0,c[(i&p)>>2]|0,16);break}}while(0);if((h|0)!=0?(a[(e&n)+51>>0]&8)!=0:0)l=e+46|0;else l=e+48|0;l=b[(l&o)>>1]|0;q=l&65535;r=d+60|0;h=c[(r&p)>>2]|0;s=d+56|0;i=c[(s&p)>>2]|0;if((i|0)<(q|0)){h=d+72|0;m=c[(h&p)>>2]|0;c[(h&p)>>2]=m+q;m=m+1|0}else{c[(r&p)>>2]=h+q;c[(s&p)>>2]=i-q;m=h}do if(!j)h=0;else{if((m|0)==(k|0)?(c[(j&p)+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&p)>>2]|0)+(l<<1)&o)>>1]|0;if((b[((c[(i&p)>>2]|0)+(l<<1)&o)>>1]|0)!=h<<16>>16)v=21}else{h=b[((c[(k&p)>>2]|0)+(l<<1)&o)>>1]|0;v=21}if((v|0)==21){v=0;nt(t,u,f,h<<16>>16,l+m|0);Pq(t,39)|0}l=l+1|0}while((l|0)<(q|0))}if(g)wh(t,49,m,q,g)|0;dt(d,m,q);if((c[(s&p)>>2]|0)<(q|0)){c[(s&p)>>2]=q;c[(r&p)>>2]=m}return m|0}function Qt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(b){d=c[(a&p)+8>>2]|0;e=c[(d&p)+24>>2]|0;f=~b;if((b|0)<0?(g=c[(e&p)+112>>2]|0,(g|0)!=0):0)c[(g+(f<<2)&p)>>2]=c[(d&p)+32>>2];c[(e&p)+88>>2]=(c[(d&p)+32>>2]|0)+-1;bu(a)}return}function Rt(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))fa();g=h;e=c[(d&p)+16>>2]|0;a:do if((e|0)!=0?(f=c[(d&p)+64>>2]|0,(f|0)!=0):0){e=c[(e&p)+8>>2]|0;b:do if(e){while(1){if(!(dd(c[(e&p)>>2]|0,f)|0))break;e=c[(e&p)+20>>2]|0;if(!e)break b}c[(d&p)+68>>2]=e;e=0;break a}while(0);c[(g&p)>>2]=f;c[(g&p)+4>>2]=0;th(b,28104,g);a[(b&n)+17>>0]=1;e=1}else e=0;while(0);i=h;return e|0}function St(a,b){a=a|0;b=b|0;var d=0,e=0;if(a){d=Tt(a,b)|0;if(b&1){e=St(c[(a&p)+12>>2]|0,b)|0;return e+d+(St(c[(a&p)+16>>2]|0,b)|0)|0}}else d=0;return d|0}
7 ot(u,w)|0)|0;t=(w|0)!=0;if(!t)a[((c[(d&p)>>2]|0)&n)+65>>0]=1;if(s<<16>>16){g=c[(e&p)+8>>2]|0;j=(f|0)!=0;wh(u,j?105:108,g,0,0)|0;k=wh(u,16,0,0,0)|0;l=s&65535;j=wh(u,j?62:65,g,0,i)|0;xh(u,j,l,-14);c[(e&p)+20>>2]=j;j=c[(u&p)+32>>2]|0;if(j>>>0>k>>>0)c[((c[(u&p)+4>>2]|0)+(k*20|0)&p)+8>>2]=j;c[((c[(u&p)+24>>2]|0)&p)+88>>2]=j+-1;k=0;do{wh(u,47,g,k,k+i|0)|0;k=k+1|0}while((k|0)<(l|0))}if((s&65535)<(q&65535)){m=m+48|0;l=e+12|0;q=(r|0)==1;r=s&65535;k=i;while(1){j=c[((c[(m&p)>>2]|0)+(r<<2)&p)>>2]|0;g=r+k|0;i=Qu(d,j,e,r,f,g)|0;do if((i|0)!=(g|0))if(q){_r(d,k);break}else{wh(u,34,i,g,0)|0;i=k;break}else i=k;while(0);if(!(b[(j&o)+18>>1]&129)){g=c[((c[(j&p)>>2]|0)&p)+16>>2]|0;if(Uu(g)|0)wh(u,76,i+r|0,c[(l&p)>>2]|0,0)|0;if(t){j=w+r|0;if((Bu(g,a[(j&n)>>0]|0)|0)<<24>>24==65){a[(j&n)>>0]=65;k=65}else k=a[(j&n)>>0]|0;if(Vu(g,k)|0)a[(j&n)>>0]=65}}r=r+1|0;if((r|0)>=(v|0))break;else k=i}}c[(h&p)>>2]=w;return i|0}function Uu(d){d=d|0;var e=0;e=a[(d&n)>>0]|0;if((e+99&255)<2)do{d=c[(d&p)+12>>2]|0;e=a[(d&n)>>0]|0}while((e+99&255)<2);if(e<<24>>24==-97)e=a[(d&n)+38>>0]|0;switch(e&255|0){case 134:case 133:case 97:case 132:{d=0;break}case 154:{if(!(c[(d&p)+4>>2]&1048576)){e=b[(d&o)+32>>1]|0;if(e<<16>>16>-1)d=(a[((c[((c[(d&p)+44>>2]|0)&p)+4>>2]|0)+((e<<16>>16)*24|0)&n)+20>>0]|0)==0;else d=0}else d=1;d=d&1;break}default:d=1}return d|0}function Vu(d,e){d=d|0;e=e|0;var f=0;a:do if(e<<24>>24==65)d=1;else{f=a[(d&n)>>0]|0;if((f+99&255)<2)do{d=c[(d&p)+12>>2]|0;f=a[(d&n)>>0]|0}while((f+99&255)<2);if(f<<24>>24==-97)f=a[(d&n)+38>>0]|0;switch(f&255|0){case 132:{d=(e+-67&255)<2&1;break a}case 97:{d=e<<24>>24==66&1;break a}case 154:{if((b[(d&o)+32>>1]|0)<0)d=(e+-67&255)<2;else d=0;d=d&1;break a}case 134:{d=1;break a}case 133:{d=(e<<24>>24==69|e<<24>>24==67)&1;break a}default:{d=0;break a}}}while(0);return d|0}function Wu(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=c[(b&p)+8>>2]|0;do if(f){a:do if((e|0)>0)while(1){if((a[(f&n)>>0]|0)!=65){g=f;break a}e=e+-1|0;d=d+1|0;f=f+1|0;if((e|0)<=0){g=f;break}}else g=f;while(0);while(1){if((e|0)<=1){i=8;break}f=e+-1|0;if((a[(g+f&n)>>0]|0)==65)e=f;else break}if((i|0)==8)if((e|0)<=0)break;wh(h,48,d,e,0)|0;xh(h,-1,g,e);dt(b,d,e)}while(0);return}function Xu(a,b){a=a|0;b=b|0;var d=0,e=0;if(b){Ov(b+328|0);e=b+16|0;d=c[(e&p)>>2]|0;if(d)do{c[(e&p)>>2]=c[(d&p)+52>>2];Ju(a,d);mg(a,d);d=c[(e&p)>>2]|0}while((d|0)!=0);mg(a,b)}return}function Yu(a,b){a=a|0;b=b|0;var d=0,e=0;d=i;i=i+32|0;if((i|0)>=(j|0))fa();e=d;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;c[(e&p)+8>>2]=0;c[(e&p)+12>>2]=0;c[(e&p)+16>>2]=0;c[(e&p)+20>>2]=0;c[(e&p)>>2]=80;c[(e&p)+4>>2]=81;c[(e&p)+24>>2]=a;rs(e,b)|0;i=d;return}function Zu(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;r=i;i=i+16|0;if((i|0)>=(j|0))fa();o=r+4|0;q=r;m=c[(b&p)+8>>2]|0;c[(o&p)>>2]=0;c[(q&p)>>2]=0;if(!((m|0)==0|(d|0)==0)){h=a[(d&n)>>0]|0;g=h&255;a:do switch(g|0){case 75:{k=xs(m)|0;fu(b,d,k,(f|0)!=0?e:k);wh(m,16,0,e,0)|0;h=c[(m&p)+24>>2]|0;g=~k;if((k|0)<0?(l=c[(h&p)+112>>2]|0,(l|0)!=0):0)c[(l+(g<<2)&p)>>2]=c[(m&p)+32>>2];c[(h&p)+88>>2]=(c[(m&p)+32>>2]|0)+-1;break}case 77:case 76:{wh(m,g,$t(b,c[(d&p)+12>>2]|0,o)|0,e,0)|0;break}case 148:case 73:{f=d+12|0;l=$t(b,c[(f&p)>>2]|0,o)|0;k=d+16|0;m=$t(b,c[(k&p)>>2]|0,q)|0;au(b,c[(f&p)>>2]|0,c[(k&p)>>2]|0,h<<24>>24==73?79:78,l,m,e,128);break}case 71:{Zu(b,c[(d&p)+12>>2]|0,e,f);m=b+100|0;c[(m&p)>>2]=(c[(m&p)>>2]|0)+1;Zu(b,c[(d&p)+16>>2]|0,e,f);bu(b);break}case 79:case 78:case 83:case 80:case 81:case 82:{h=d+12|0;l=$t(b,c[(h&p)>>2]|0,o)|0;k=d+16|0;m=$t(b,c[(k&p)>>2]|0,q)|0;au(b,c[(h&p)>>2]|0,c[(k&p)>>2]|0,g,l,m,e,f);break}case 72:{l=xs(m)|0;gt(b,c[(d&p)+12>>2]|0,l,f^16);g=b+100|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;Zu(b,c[(d&p)+16>>2]|0,e,f);g=c[(m&p)+24>>2]|0;h=~l;if((l|0)<0?(k=c[(g&p)+112>>2]|0,(k|0)!=0):0)c[(k+(h<<2)&p)>>2]=c[(m&p)+32>>2];c[(g&p)+88>>2]=(c[(m&p)+32>>2]|0)+-1;bu(b);break}case 19:{gt(b,c[(d&p)+12>>2]|0,e,f);break}case 74:{_u(b,d,e,1,f);break}default:{if($u(d)|0){wh(m,16,0,e,0)|0;break a}if(!(mu(d)|0))wh(m,45,$t(b,d,o)|0,e,(f|0)!=0&1)|0}}while(0);_r(b,c[(o&p)>>2]|0);_r(b,c[(q&p)>>2]|0)}i=r;return}function _u(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;r=i;i=i+208|0;if((i|0)>=(j|0))fa();l=r+152|0;h=r+104|0;k=r+56|0;m=r+8|0;o=r;c[(o&p)>>2]=0;q=m+0|0;s=(c[(d&p)+12>>2]|0)+0|0;t=q+48|0;do{c[(q&p)>>2]=c[(s&p)>>2];q=q+4|0;s=s+4|0}while((q|0)<(t|0));a[(l&n)>>0]=72;c[(l&p)+12>>2]=h;c[(l&p)+16>>2]=k;a[(h&n)>>0]=83;c[(h&p)+12>>2]=m;d=c[((c[(d&p)+20>>2]|0)&p)+4>>2]|0;c[(h&p)+16>>2]=c[(d&p)>>2];a[(k&n)>>0]=81;c[(k&p)+12>>2]=m;c[(k&p)+16>>2]=c[(d&p)+20>>2];d=$t(b,m,o)|0;a[(m&n)+38>>0]=a[(m&n)>>0]|0;a[(m&n)>>0]=-97;c[(m&p)+28>>2]=d;d=m+4|0;c[(d&p)>>2]=c[(d&p)>>2]&-4097;if(!f)gt(b,l,e,g);else Zu(b,l,e,g);_r(b,c[(o&p)>>2]|0);i=r;return}function $u(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;c[(b&p)>>2]=0;if((c[(a&p)+4>>2]&1|0)==0?(Ms(a,b)|0)!=0:0)a=(c[(b&p)>>2]|0)!=0&1;else a=0;i=d;return a|0}function av(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!((a|0)==0|(b|0)==0)){e=c[(b&p)>>2]|0;if((e|0)>0){b=c[(b&p)+4>>2]|0;d=0;while(1){if((wv(a,c[(b+(d*20|0)&p)+4>>2]|0)|0)>-1){b=1;break a}d=d+1|0;if((d|0)>=(e|0)){b=0;break}}}else b=0}else b=1;while(0);return b|0}function bv(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;m=c[(e&p)+20>>2]|0;a:do if((m|0)>0){q=b[(d&o)+38>>1]|0;r=q<<16>>16>0;s=d+4|0;l=d+36|0;i=(g|0)!=0;j=0;while(1){g=c[(e+(j<<3)&p)+40>>2]|0;if(r){d=(g|0)==0;k=0;do{if(!((c[(f+(k<<2)&p)>>2]|0)<=-1?!((k|0)==(b[(l&o)>>1]|0)&i):0))t=7;do if((t|0)==7){t=0;h=c[(s&p)>>2]|0;if(d)if(!(a[(h+(k*24|0)&n)+23>>0]&1))break;else{d=1;break a}else if(!(dd(c[(h+(k*24|0)&p)>>2]|0,g)|0)){d=1;break a}else break}while(0);k=k+1|0}while((k|0)<(q<<16>>16|0))}j=j+1|0;if((j|0)>=(m|0)){d=0;break}}}else d=0;while(0);return d|0}function cv(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+48|0;if((i|0)>=(j|0))fa();m=x;s=x+8|0;w=c[(b&p)+408>>2]|0;w=(w|0)==0?b:w;l=w+528|0;g=c[(l&p)>>2]|0;a:do if(!g)k=5;else while(1){if((c[(g&p)>>2]|0)==(d|0)?(c[(g&p)+12>>2]|0)==(f|0):0)break a;g=c[(g&p)+4>>2]|0;if(!g){k=5;break}}while(0);do if((k|0)==5){u=c[(b&p)>>2]|0;g=mh(u,24,0)|0;if(g){k=g+0|0;h=k+24|0;do{a[(k&n)>>0]=0;k=k+1|0}while((k|0)<(h|0));c[(g&p)+4>>2]=c[(l&p)>>2];c[(l&p)>>2]=g;t=mh(u,28,0)|0;if(!t){c[(g&p)+8>>2]=0;g=0;break}k=t+0|0;h=k+24|0;do{a[(k&n)>>0]=0;k=k+1|0}while((k|0)<(h|0));c[(g&p)+8>>2]=t;o=(c[(w&p)+8>>2]|0)+192|0;c[(t&p)+24>>2]=c[(o&p)>>2];c[(o&p)>>2]=t;c[(g&p)>>2]=d;c[(g&p)+12>>2]=f;o=g+16|0;c[(o&p)>>2]=-1;q=g+20|0;c[(q&p)>>2]=-1;r=mh(u,536,0)|0;if(r){fw(r|0,0,536)|0;c[(s&p)>>2]=0;c[(s&p)+4>>2]=0;c[(s&p)+8>>2]=0;c[(s&p)+12>>2]=0;c[(s&p)+16>>2]=0;c[(s&p)+20>>2]=0;c[(s&p)+24>>2]=0;c[(s&p)+28>>2]=0;c[(s&p)>>2]=r;c[(r&p)>>2]=u;c[(r&p)+412>>2]=e;c[(r&p)+408>>2]=w;c[(r&p)+492>>2]=c[(d&p)>>2];a[(r&n)+436>>0]=a[(d&n)+8>>0]|0;c[(r&p)+424>>2]=c[(b&p)+424>>2];e=Oq(r)|0;if(e){c[(m&p)>>2]=c[(d&p)>>2];xh(e,-1,uh(u,34152,m)|0,-1);k=c[(d&p)+12>>2]|0;if(!k)l=0;else{h=Mr(u,k,0,0)|0;if((ls(s,h)|0)==0?(a[(u&n)+65>>0]|0)==0:0){k=xs(e)|0;gt(r,h,k,16)}else k=0;Gk(u,h);l=k}Pv(r,c[(d&p)+28>>2]|0,f);if(l){k=c[(e&p)+24>>2]|0;h=~l;if((l|0)<0?(v=c[(k&p)+112>>2]|0,(v|0)!=0):0)c[(v+(h<<2)&p)>>2]=c[(e&p)+32>>2];c[(k&p)+88>>2]=(c[(e&p)+32>>2]|0)+-1}wh(e,24,0,0,0)|0;h=b+64|0;k=c[(r&p)+4>>2]|0;if(!(c[(h&p)>>2]|0)){c[(b&p)+4>>2]=k;c[(h&p)>>2]=c[(r&p)+64>>2]}else mg(c[(r&p)>>2]|0,k);if(!(a[(u&n)+65>>0]|0)){m=e+4|0;s=c[(m&p)>>2]|0;Jn(e,w+392|0);c[(t&p)+4>>2]=c[(e&p)+32>>2];c[(m&p)>>2]=0;c[(t&p)>>2]=s}c[(t&p)+8>>2]=c[(r&p)+72>>2];c[(t&p)+12>>2]=c[(r&p)+68>>2];c[(t&p)+16>>2]=c[(r&p)+80>>2];c[(t&p)+20>>2]=d;c[(o&p)>>2]=c[(r&p)+428>>2];c[(q&p)>>2]=c[(r&p)+432>>2];Pl(e)}Ch(r);mg(u,r)}else g=0}else g=0}while(0);i=x;return g|0}function dv(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;i=Oq(b)|0;e=cv(b,d,e,g)|0;if(e){if(!(c[(d&p)>>2]|0))g=0;else g=((c[((c[(b&p)>>2]|0)&p)+24>>2]|0)>>>18&1^1)&255;b=b+72|0;d=(c[(b&p)>>2]|0)+1|0;c[(b&p)>>2]=d;wh(i,131,f,h,d)|0;xh(i,-1,c[(e&p)+8>>2]|0,-18);e=c[(i&p)+4>>2]|0;if(e)a[(e+(((c[(i&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=g}return}function ev(a,b,d,e){a=a|0;b=b|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))fa();k=l;f=c[(a&p)>>2]|0;h=c[((c[(f&p)+16>>2]|0)+(e<<4)&p)>>2]|0;g=kc[c[(f&p)+284>>2]&7](c[(f&p)+288>>2]|0,20,b,d,h,c[(a&p)+492>>2]|0)|0;if((g|0)==1){if((e|0)!=0?1:(c[(f&p)+20>>2]|0)>2){c[(k&p)>>2]=h;c[(k&p)+4>>2]=b;c[(k&p)+8>>2]=d;th(a,27688,k)}else{c[(k&p)>>2]=b;c[(k&p)+4>>2]=d;th(a,27728,k)}c[(a&p)+12>>2]=23}else if(!((g|0)==0|(g|0)==2)){th(a,25232,k);c[(a&p)+12>>2]=1}i=l;return g|0}function fv(e,f,g,h,i,j,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var 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;B=Oq(e)|0;D=(c[(e&p)+68>>2]|0)+-1|0;E=xs(B)|0;if((l|0)<0)wh(B,135,d[(i&n)+24>>0]|0,E,0)|0;q=i+20|0;r=c[(q&p)>>2]|0;if((r|0)>0){t=k+1|0;s=0;do{wh(B,76,t+(c[(j+(s<<2)&p)>>2]|0)|0,E,0)|0;s=s+1|0;r=c[(q&p)>>2]|0}while((s|0)<(r|0))}do if(!m){if(!h){r=e+19|0;q=a[(r&n)>>0]|0;if(!(q<<24>>24)){h=e+72|0;t=(c[(h&p)>>2]|0)+1|0;c[(h&p)>>2]=t}else{t=q+-1<<24>>24;a[(r&n)>>0]=t;t=c[(e+((t&255)<<2)&p)+24>>2]|0}wh(B,34,k+1+(c[(j&p)>>2]|0)|0,t,0)|0;s=wh(B,38,t,0,0)|0;if(((l|0)==1?(c[(i&p)>>2]|0)==(g|0):0)?(wh(B,79,k,E,t)|0,u=c[(B&p)+4>>2]|0,(u|0)!=0):0)a[(u+(((c[(B&p)+32>>2]|0)+-1|0)*20|0)&n)+3>>0]=-112;Qq(e,D,f,g,54);wh(B,70,D,0,t)|0;wh(B,16,0,E,0)|0;q=c[(B&p)+32>>2]|0;if(q>>>0>1)c[((c[(B&p)+4>>2]|0)+((q+-2|0)*20|0)&p)+8>>2]=q;m=q+-1|0;r=(c[(B&p)+24>>2]|0)+88|0;c[(r&p)>>2]=m;if(q>>>0>s>>>0)c[((c[(B&p)+4>>2]|0)+(s*20|0)&p)+8>>2]=q;c[(r&p)>>2]=m;_r(e,t);break}z=e+60|0;t=c[(z&p)>>2]|0;A=e+56|0;s=c[(A&p)>>2]|0;if((s|0)<(r|0)){y=e+72|0;t=c[(y&p)>>2]|0;c[(y&p)>>2]=t+r;t=t+1|0}else{c[(z&p)>>2]=t+r;c[(A&p)>>2]=s-r}s=e+19|0;q=a[(s&n)>>0]|0;if(!(q<<24>>24)){m=e+72|0;y=(c[(m&p)>>2]|0)+1|0;c[(m&p)>>2]=y}else{y=q+-1<<24>>24;a[(s&n)>>0]=y;y=c[(e+((y&255)<<2)&p)+24>>2]|0}wh(B,54,D,c[(h&p)+40>>2]|0,f)|0;m=c[(e&p)+8>>2]|0;xh(m,-1,hs(e,h)|0,-6);m=(r|0)>0;if(m){s=k+1|0;q=0;do{wh(B,33,s+(c[(j+(q<<2)&p)>>2]|0)|0,q+t|0,0)|0;q=q+1|0}while((q|0)!=(r|0))}if((l|0)==1?(c[(i&p)>>2]|0)==(g|0):0){w=B+32|0;x=r+1+(c[(w&p)>>2]|0)|0;if(m){f=k+1|0;v=h+4|0;s=g+36|0;q=B+4|0;u=0;do{m=b[((c[(v&p)>>2]|0)+(u<<1)&o)>>1]|0;wh(B,78,f+(c[(j+(u<<2)&p)>>2]|0)|0,x,(m<<16>>16==(b[(s&o)>>1]|0)?0:(m<<16>>16)+1|0)+k|0)|0;m=c[(q&p)>>2]|0;if(m)a[(m+(((c[(w&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=16;u=u+1|0}while((u|0)!=(r|0))}wh(B,16,0,E,0)|0}k=ot
12 ototOt(W,19232,12);Otot(K,l)|0;l=c[(q&p)>>2]|0;xh(K,wh(K,49,J,m,I)|0,k,l);xh(K,wh(K,69,y,w,I)|0,0,-14)}while(0);wh(K,103,0,F,0)|0;l=c[(x&p)>>2]|0;xh(K,wh(K,97,0,G,0)|0,l,0);wh(K,25,y+-1|0,A,0)|0;wh(K,35,H,4,0)|0;l=c[(E&p)>>2]|0;m=~w;do if((w|0)<0){w=c[(l&p)+112>>2]|0;if(!w)break;c[(w+(m<<2)&p)>>2]=c[(v&p)>>2]}while(0);c[(l&p)+88>>2]=(c[(v&p)>>2]|0)+-1;mg(W,c[(N&p)>>2]|0);g=c[(g&p)+4>>2]|0;if(!g)break;else y=y+1|0}}wh(K,9,0,s+1|0,0)|0;g=c[(v&p)>>2]|0;if(g>>>0>s>>>0)c[((c[(D&p)>>2]|0)+(s*20|0)&p)+8>>2]=g;c[((c[(E&p)>>2]|0)&p)+88>>2]=g+-1}if(!B)break;else w=B}break}case 23:{Jt(f,31016,0,0);break a}case 31:{if(!U){Jt(f,31032,d[(W&n)+64>>0]|0,0);break a}l=a[(U&n)>>0]|0;if((l+-48&255)>=3)if(!(dd(U,31352)|0))l=1;else{l=(dd(U,15168)|0)==0;l=l?2:0}else l=(l<<24>>24)+-48|0;m=(c[(f&p)>>2]|0)+64|0;if((d[(m&n)>>0]|0)==(l|0))break a;if(Kt(f)|0)break a;a[(m&n)>>0]=l;break a}case 29:{if(!U){G=(d[(C+(Q<<4)&n)+8>>0]|0)+-1|0;Jt(f,31104,G,((G|0)<0)<<31>>31);break a}if(!(a[(W&n)+63>>0]|0)){th(f,31120,G);break a}else{a[(C+(Q<<4)&n)+8>>0]=((ii(U,0,1)|0)&255)+1;Lt(W);break a}}case 4:if(!U){G=c[((c[(C+(Q<<4)&p)+12>>2]|0)&p)+80>>2]|0;Jt(f,30848,G,((G|0)<0)<<31>>31);break a}else{c[(G&p)>>2]=0;Dn(U,G)|0;G=c[(G&p)>>2]|0;c[((c[(C+(Q<<4)&p)+12>>2]|0)&p)+80>>2]=G;pq(c[(C+(Q<<4)&p)+4>>2]|0,G);break a}default:{if(!U)l=c[(W&p)+492>>2]|0;else{c[(G&p)>>2]=0;Dn(U,G)|0;l=c[(G&p)>>2]|0;G=(l|0)>0;l=G?l:0;c[(W&p)+444>>2]=G?74:0;c[(W&p)+448>>2]=G?W:0;c[(r&p)>>2]=0;c[(W&p)+492>>2]=l}Jt(f,31968,l,((l|0)<0)<<31>>31);break a}}while(0)}else{k=c[(q&p)>>2]|0;if(k){c[(G&p)>>2]=k;th(f,10344,G);Wc(c[(q&p)>>2]|0)}G=f+64|0;c[(G&p)>>2]=(c[(G&p)>>2]|0)+1;c[(f&p)+12>>2]=g;break}}while(0);mg(W,V);mg(W,U)}}while(0);i=X;return}function Gr(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))fa();g=h;a:do if(!d)d=0;else{f=d;while(1){if((a[(f&n)>>0]|0)==-121){d=c[(b&p)>>2]|0;if(!(a[((c[(d&p)>>2]|0)&n)+145>>0]|0))break;a[(f&n)>>0]=101}d=c[(f&p)+4>>2]|0;if(d&16384){d=0;break a}e=f+20|0;if(!(d&2048)){if(Hr(b,c[(e&p)>>2]|0)|0){d=1;break a}}else if(fr(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}