// File: chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: ed_band_cal_extension_infi_0_w_trace(char*, int, char*, int, int, int*, bit_extz_t*)
inline void ed_band_cal_extension_infi_0_w_trace(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, int32_t *nword, bit_extz_t *ez)
{
	int32_t done = 1;//diff
	ez->cigar.n = 0; //diff
	if(ez->err > thre) {//diff
		init_base_ed(*ez, thre, pn, tn); ez->ps = ez->ts = 0; ez->pe = ez->te = -1;
		if(pn > tn + thre) pn = tn + thre;
		else if(tn > pn + thre) tn = pn + thre;
		done = 0;//diff
	} else if(ez->err == 0) {//diff
        push_trace(&(ez->cigar), 0, ez->te+1-ez->ts); return;//diff
    } else {
        pn = ez->pe + 1 - ez->ps; tn = ez->te + 1 - ez->ts; //diff
    }
    int32_t i, err, tn0 = tn - 1, cut = thre+(thre<<1), bd, i_bd, k_bd, wz, wz1, ws, Peq_i; w_sig c, ad, Peq_m;
    int32_t poff, pe = pn-1, tmp_e = INT32_MAX, k;
	if(nword) {
        ez->nword = (*nword);
    } else {
        bd = (((thre)<<1)+1); ez->nword = ((bd>>bitw)+(!!(bd&bitz)));
    }
    resize_bit_extz_t((*ez), (thre)); 
	wz = ws = sizeof(*(ez->a))*(ez->nword);//diff
    memset((ez->Peq[0]).a, 0, wz);
    memset((ez->Peq[1]).a, 0, wz);
    memset((ez->Peq[2]).a, 0, wz);
    memset((ez->Peq[3]).a, 0, wz);
    memset((ez->Peq[4]).a, 0, wz);

	bd = thre+1; bd = ((bd<=pn)?bd:pn); i_bd = thre;
    ed_init_core(i, bd, i_bd, pstr, ez->Peq);
    bd = thre+1, i_bd = thre;

	memset((ez->Peq[4]).a, 0, wz);
    err = thre;
	w_infi_set_bit_lsub(ez->VN, thre, ez->nword); /**VN = (((Word)1)<<(thre))-1;**/ 
    w_infi_set_bit_lsub(ez->VP, (thre<<1)+1, ez->nword); /**VP = (((Word)1)<<((thre<<1)+1))-1;**/
    w_infi_self_xor(ez->VP, ez->VN, ez->nword, wz) /**VP ^= VN;**/

	ez->path.n=(ez->nword*tn*5);//diff
    kv_resize(w_sig, ez->path, ez->path.n); ez->path.n=0;//diff

	i = 0;
	/**for the incoming char/last char; mm = ((Word)1 << (thre<<1))**/
    Peq_i = (((thre<<1))>>bitw); Peq_m = (((w_sig)1)<<(((thre<<1))&bitz));
	//for debug
	// memset((ez->X).a, 0, sizeof(*(ez->a))*(ez->nword));
	// memset((ez->D0).a, 0, sizeof(*(ez->a))*(ez->nword));
	// memset((ez->HN).a, 0, sizeof(*(ez->a))*(ez->nword));
	// memset((ez->HP).a, 0, sizeof(*(ez->a))*(ez->nword));
	while (i < tn0) {
		// fprintf(stderr, "i::%d\n", i);
		// prt_bit_extz_t((*ez), ((thre<<1)+1));
        ed_infi_core(ez->Peq, ez->VP, ez->VN, ez->X, ez->D0, ez->HN, ez->HP, (uint8_t)tstr[i], c, ad, wz, ez->nword);
        if (!(ez->D0.a[0]&(1ULL))) {
            ++err; if (err>cut) return;
        }

		if(!done) {//diff
            poff = i-thre; k = i+thre-pe;/**poff:[i-thre, i+thre]**/
			if(k >= 0) {
				if(tmp_e == INT32_MAX) {
					tmp_e = err;
					for ((k) = 0; (poff) < (pe); (poff)++, (k)++) {
						bd = (k>>bitw); k_bd = (k&bitz);
						(tmp_e) += (((*ez).VP.a[bd]>>k_bd)&((w_sig)1)); 
						(tmp_e) -= (((*ez).VN.a[bd]>>k_bd)&((w_sig)1));
					} 
				} else {
					k = (thre<<1) - k; 
					if(k >= 0) {
						bd = (k>>bitw); k_bd = (k&bitz);
						(tmp_e) += (((*ez).HP.a[bd]>>k_bd)&((w_sig)1)); 
						(tmp_e) -= (((*ez).HN.a[bd]>>k_bd)&((w_sig)1));
					}
				}
				if((tmp_e) <= (*ez).thre && (tmp_e) < (*ez).err) {
                    (*ez).err = tmp_e; (*ez).pe = pe; (*ez).te = i;
				}
			}
			// if(dbg_ext_err(i, thre, err, pe, &((*ez).VP), &((*ez).VN))!=tmp_e) {
			// 	fprintf(stderr, "i::%d, tmp_e::%d, dbg_ext_err::%d\n", i, tmp_e, dbg_ext_err(i, thre, err, pe, &((*ez).VP), &((*ez).VN)));
			// }
        }

        ed_infi_post_Peq(ez->Peq, wz, wz1, ez->nword);
        ++i; ++i_bd; c = 4;
        if(i_bd < pn) c = seq_nt4_table[(uint8_t)pstr[i_bd]];
        if(c < 4) ez->Peq[c].a[Peq_i]|=Peq_m;

		memcpy(ez->path.a+ez->path.n, ez->D0.a, ws); ez->path.n += ez->nword;//diff
        memcpy(ez->path.a+ez->path.n, ez->VP.a, ws); ez->path.n += ez->nword;//diff
        memcpy(ez->path.a+ez->path.n, ez->VN.a, ws); ez->path.n += ez->nword;//diff
        memcpy(ez->path.a+ez->path.n, ez->HP.a, ws); ez->path.n += ez->nword;//diff
        memcpy(ez->path.a+ez->path.n, ez->HN.a, ws); ez->path.n += ez->nword;//diff
    }
    ed_infi_core(ez->Peq, ez->VP, ez->VN, ez->X, ez->D0, ez->HN, ez->HP, (uint8_t)tstr[i], c, ad, wz, ez->nword);
    if (!(ez->D0.a[0]&(1ULL))) {
        ++err; if (err>cut) return;
    }
	memcpy(ez->path.a+ez->path.n, ez->D0.a, ws); ez->path.n += ez->nword;//diff
	memcpy(ez->path.a+ez->path.n, ez->VP.a, ws); ez->path.n += ez->nword;//diff
	memcpy(ez->path.a+ez->path.n, ez->VN.a, ws); ez->path.n += ez->nword;//diff
	memcpy(ez->path.a+ez->path.n, ez->HP.a, ws); ez->path.n += ez->nword;//diff
	memcpy(ez->path.a+ez->path.n, ez->HN.a, ws); ez->path.n += ez->nword;//diff

    int32_t site = tn - 1 - thre;/**up bound; site:[tn - 1 - thre, tn - 1 + thre]**/
	if(!done) {//diff
		for (cut = pn - 1, i = 0; site < cut; i++) {
			bd = (i>>bitw); i_bd = (i&bitz);
			err += (((*ez).VP.a[bd]>>i_bd)&((w_sig)1));
			err -= (((*ez).VN.a[bd]>>i_bd)&((w_sig)1));
			site++;
			if(err <= thre && err < ez->err) {
				ez->err = err; ez->pe = site; ez->te = tn-1;
			}
		}
		if(err <= thre && err < ez->err) {
			ez->err = err; ez->pe = site; ez->te = tn-1;
		}
	}

	if((ez->te-ez->ts+1) != tn) {//diff
        ez->path.n /= tn; ez->path.n *= (ez->te+1-ez->ts);//diff
    }//diff
    gen_trace(ez, thre, 1);//diff
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movl $0x1, -0x2c(%rbp)
movq 0x10(%rbp), %rax
movq $0x0, 0xa8(%rax)
movq 0x10(%rbp), %rax
movl 0x2c(%rax), %eax
cmpl -0x20(%rbp), %eax
jle 0xb2d24
movl -0x20(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x28(%rax)
movq 0x10(%rbp), %rax
movl $0x7fffffff, 0x2c(%rax) # imm = 0x7FFFFFFF
movl -0xc(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x18(%rax)
movl -0x1c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x24(%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0xc(%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0x4(%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0x8(%rax)
movq 0x10(%rbp), %rax
movl $0x0, (%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0x1c(%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0x10(%rax)
movq 0x10(%rbp), %rax
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movq 0x10(%rbp), %rax
movl $0xffffffff, 0x14(%rax) # imm = 0xFFFFFFFF
movl -0xc(%rbp), %eax
movl -0x1c(%rbp), %ecx
addl -0x20(%rbp), %ecx
cmpl %ecx, %eax
jle 0xb2d03
movl -0x1c(%rbp), %eax
addl -0x20(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0xb2d1b
movl -0x1c(%rbp), %eax
movl -0xc(%rbp), %ecx
addl -0x20(%rbp), %ecx
cmpl %ecx, %eax
jle 0xb2d19
movl -0xc(%rbp), %eax
addl -0x20(%rbp), %eax
movl %eax, -0x1c(%rbp)
jmp 0xb2d1b
movl $0x0, -0x2c(%rbp)
jmp 0xb2d80
movq 0x10(%rbp), %rax
cmpl $0x0, 0x2c(%rax)
jne 0xb2d56
movq 0x10(%rbp), %rdi
addq $0xa8, %rdi
movq 0x10(%rbp), %rax
movl 0x20(%rax), %edx
addl $0x1, %edx
movq 0x10(%rbp), %rax
subl 0x1c(%rax), %edx
xorl %esi, %esi
callq 0xc1070
jmp 0xb440b
movq 0x10(%rbp), %rax
movl 0x14(%rax), %eax
addl $0x1, %eax
movq 0x10(%rbp), %rcx
subl 0x10(%rcx), %eax
movl %eax, -0xc(%rbp)
movq 0x10(%rbp), %rax
movl 0x20(%rax), %eax
addl $0x1, %eax
movq 0x10(%rbp), %rcx
subl 0x1c(%rcx), %eax
movl %eax, -0x1c(%rbp)
jmp 0xb2d80
movl -0x1c(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x38(%rbp)
movl -0x20(%rbp), %eax
movl -0x20(%rbp), %ecx
shll %ecx
addl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x78(%rbp)
movl $0x7fffffff, -0x7c(%rbp) # imm = 0x7FFFFFFF
cmpq $0x0, -0x28(%rbp)
je 0xb2dbc
movq -0x28(%rbp), %rax
movl (%rax), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x30(%rax)
jmp 0xb2deb
movl -0x20(%rbp), %eax
shll %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %ecx
sarl $0x6, %ecx
movl -0x40(%rbp), %eax
andl $0x3f, %eax
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
addl %eax, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x30(%rax)
jmp 0xb2ded
movl -0x20(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x3c(%rcx), %eax
jle 0xb30f2
movl -0x20(%rbp), %ecx
shll %ecx
addl $0x1, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x3c(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %eax
shrl $0x6, %eax
movq 0x10(%rbp), %rcx
movl 0x3c(%rcx), %ecx
andl $0x3f, %ecx
cmpl $0x0, %ecx
setne %cl
xorb $-0x1, %cl
xorb $-0x1, %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
imull $0xc, %eax, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x3c(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movq 0x10(%rbp), %rcx
cmpl 0x38(%rcx), %eax
jbe 0xb30e8
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rdi
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, %esi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x40(%rax)
movq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movl 0x3c(%rax), %eax
movl $0xc, %ecx
xorl %edx, %edx
divl %ecx
movl %eax, %ecx
movq -0x90(%rbp), %rax
movl %ecx, 0x3c(%rax)
movq 0x10(%rbp), %rax
movl $0x0, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x48(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x50(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x58(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x60(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x68(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x70(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x78(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x80(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x88(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x90(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0x98(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movq 0x40(%rax), %rcx
movq 0x10(%rbp), %rax
movl 0x38(%rax), %eax
shlq $0x3, %rax
addq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0xa0(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
addl 0x38(%rax), %ecx
movl %ecx, 0x38(%rax)
movq 0x10(%rbp), %rax
movl 0x3c(%rax), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x34(%rax)
movl -0x20(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x3c(%rax)
jmp 0xb30f4
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rax
shlq $0x3, %rax
movl %eax, -0x54(%rbp)
movl %eax, -0x4c(%rbp)
movq 0x10(%rbp), %rax
movq 0x48(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movq 0x10(%rbp), %rax
movq 0x50(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movq 0x10(%rbp), %rax
movq 0x58(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movq 0x10(%rbp), %rax
movq 0x60(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movq 0x10(%rbp), %rax
movq 0x68(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0xc(%rbp), %eax
jg 0xb3181
movl -0x40(%rbp), %eax
movl %eax, -0x94(%rbp)
jmp 0xb318a
movl -0xc(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x94(%rbp), %eax
movl %eax, -0x40(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x44(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x40(%rbp), %eax
jge 0xb3201
movl -0x44(%rbp), %eax
andl $0x3f, %eax
movl %eax, %eax
movl %eax, %ecx
movl $0x1, %edx
shlq %cl, %rdx
movq 0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq -0x30(%rbp), %rsi
movzbl (%rcx,%rsi), %ecx
movl %ecx, %esi
leaq 0x2d760d(%rip), %rcx    # 0x38a7e0
movzbl (%rcx,%rsi), %ecx
movq 0x48(%rax,%rcx,8), %rax
movl -0x44(%rbp), %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xb31a0
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x44(%rbp)
movq 0x10(%rbp), %rax
movq 0x68(%rax), %rdi
movslq -0x4c(%rbp), %rdx
xorl %esi, %esi
callq 0x2100
movl -0x20(%rbp), %eax
movl %eax, -0x34(%rbp)
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rdi
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x2100
movl -0x20(%rbp), %eax
sarl $0x6, %eax
cmpl $0x0, %eax
je 0xb3274
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rdi
movl -0x20(%rbp), %eax
sarl $0x6, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x2100
movl -0x20(%rbp), %eax
andl $0x3f, %eax
cmpl $0x0, %eax
je 0xb32ad
movl -0x20(%rbp), %eax
andl $0x3f, %eax
movl %eax, %eax
movl %eax, %ecx
movl $0x1, %edx
shlq %cl, %rdx
subq $0x1, %rdx
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movl -0x20(%rbp), %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0xb32af
jmp 0xb32b1
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rdi
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x2100
movl -0x20(%rbp), %eax
shll %eax
addl $0x1, %eax
sarl $0x6, %eax
cmpl $0x0, %eax
je 0xb3300
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rdi
movl -0x20(%rbp), %eax
shll %eax
addl $0x1, %eax
sarl $0x6, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
movl $0xff, %esi
callq 0x2100
movl -0x20(%rbp), %eax
shll %eax
addl $0x1, %eax
andl $0x3f, %eax
cmpl $0x0, %eax
je 0xb3345
movl -0x20(%rbp), %eax
shll %eax
addl $0x1, %eax
andl $0x3f, %eax
movl %eax, %eax
movl %eax, %ecx
movl $0x1, %edx
shlq %cl, %rdx
subq $0x1, %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movl -0x20(%rbp), %ecx
shll %ecx
addl $0x1, %ecx
sarl $0x6, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0xb3347
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb338c
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
xorq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xb334e
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
imull -0x1c(%rbp), %eax
imull $0x5, %eax, %eax
movslq %eax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq 0x10(%rbp), %rcx
cmpq 0xc0(%rcx), %rax
jae 0xb34d7
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
shrq %rcx
movq 0x10(%rbp), %rax
orq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
shrq $0x2, %rcx
movq 0x10(%rbp), %rax
orq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
shrq $0x4, %rcx
movq 0x10(%rbp), %rax
orq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
shrq $0x8, %rcx
movq 0x10(%rbp), %rax
orq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
shrq $0x10, %rcx
movq 0x10(%rbp), %rax
orq 0xc8(%rax), %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xc8(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc8(%rax), %rsi
shlq $0x3, %rsi
callq 0x2360
movq %rax, %rcx
movq 0x10(%rbp), %rax
movq %rcx, 0xd0(%rax)
jmp 0xb34d9
movq 0x10(%rbp), %rax
movq $0x0, 0xc0(%rax)
movl $0x0, -0x30(%rbp)
movl -0x20(%rbp), %eax
shll %eax
sarl $0x6, %eax
movl %eax, -0x58(%rbp)
movl -0x20(%rbp), %eax
shll %eax
andl $0x3f, %eax
movl %eax, %eax
movl %eax, %ecx
movl $0x1, %eax
shlq %cl, %rax
movq %rax, -0x70(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0xb3d74
movq -0x18(%rbp), %rax
movslq -0x30(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d72ad(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb375c
movq 0x10(%rbp), %rax
movq -0x60(%rbp), %rcx
movq 0x48(%rax,%rcx,8), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x68(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
addq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -0x68(%rbp), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
addq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x10(%rbp), %rcx
movq 0x78(%rcx), %rcx
movslq -0x4c(%rbp), %rdx
cmpq (%rcx,%rdx,8), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
orq -0x68(%rbp), %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
xorq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
xorq $-0x1, %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xb354a
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
subl $0x1, %eax
movl %eax, -0x4c(%rbp)
movq $0x0, -0x68(%rbp)
cmpl $0x0, -0x4c(%rbp)
jl 0xb386b
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
orq -0x68(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
xorq $-0x1, %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xb3771
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpq $0x0, %rax
jne 0xb389b
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jle 0xb3899
jmp 0xb440b
jmp 0xb389b
cmpl $0x0, -0x2c(%rbp)
jne 0xb3a12
movl -0x30(%rbp), %eax
subl -0x20(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x30(%rbp), %eax
addl -0x20(%rbp), %eax
subl -0x78(%rbp), %eax
movl %eax, -0x80(%rbp)
cmpl $0x0, -0x80(%rbp)
jl 0xb3a10
cmpl $0x7fffffff, -0x7c(%rbp) # imm = 0x7FFFFFFF
jne 0xb395f
movl -0x34(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl $0x0, -0x80(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x78(%rbp), %eax
jge 0xb395d
movl -0x80(%rbp), %eax
sarl $0x6, %eax
movl %eax, -0x40(%rbp)
movl -0x80(%rbp), %eax
andl $0x3f, %eax
movl %eax, -0x48(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x48(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x7c(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x7c(%rbp)
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x48(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x7c(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x7c(%rbp)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
movl -0x80(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x80(%rbp)
jmp 0xb38de
jmp 0xb39d8
movl -0x20(%rbp), %eax
shll %eax
subl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
cmpl $0x0, -0x80(%rbp)
jl 0xb39d6
movl -0x80(%rbp), %eax
sarl $0x6, %eax
movl %eax, -0x40(%rbp)
movl -0x80(%rbp), %eax
andl $0x3f, %eax
movl %eax, -0x48(%rbp)
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x48(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x7c(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x7c(%rbp)
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x48(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x7c(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x7c(%rbp)
jmp 0xb39d8
movl -0x7c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
jg 0xb3a0e
movl -0x7c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb3a0e
movl -0x7c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x78(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
movl -0x30(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x20(%rax)
jmp 0xb3a10
jmp 0xb3a12
movl $0x0, -0x4c(%rbp)
movl $0x1, -0x50(%rbp)
movl -0x50(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb3b2f
movq 0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq 0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x50(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
orq %rax, %rdx
movq 0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x50(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq 0x10(%rbp), %rax
movq 0x50(%rax), %rax
movslq -0x50(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
orq %rax, %rdx
movq 0x10(%rbp), %rax
movq 0x50(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x58(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq 0x10(%rbp), %rax
movq 0x58(%rax), %rax
movslq -0x50(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
orq %rax, %rdx
movq 0x10(%rbp), %rax
movq 0x58(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq 0x10(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x50(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
orq %rax, %rdx
movq 0x10(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
jmp 0xb3a20
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
subl $0x1, %eax
movl %eax, -0x4c(%rbp)
movq 0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x50(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x58(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x60(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
movq $0x4, -0x60(%rbp)
movl -0x44(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xb3bd7
movq -0x8(%rbp), %rax
movslq -0x44(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d6c11(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x60(%rbp)
cmpq $0x4, -0x60(%rbp)
jae 0xb3bfb
movq -0x70(%rbp), %rdx
movq 0x10(%rbp), %rax
movq -0x60(%rbp), %rcx
movq 0x48(%rax,%rcx,8), %rax
movslq -0x58(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
jmp 0xb3512
movq -0x18(%rbp), %rax
movslq -0x30(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d6a57(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb3fb2
movq 0x10(%rbp), %rax
movq -0x60(%rbp), %rcx
movq 0x48(%rax,%rcx,8), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x68(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
addq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq -0x68(%rbp), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
addq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x10(%rbp), %rcx
movq 0x78(%rcx), %rcx
movslq -0x4c(%rbp), %rdx
cmpq (%rcx,%rdx,8), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
orq -0x68(%rbp), %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
xorq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
xorq $-0x1, %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xb3da0
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
subl $0x1, %eax
movl %eax, -0x4c(%rbp)
movq $0x0, -0x68(%rbp)
cmpl $0x0, -0x4c(%rbp)
jl 0xb40c1
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
orq -0x68(%rbp), %rdx
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
shlq $0x3f, %rax
movq %rax, -0x68(%rbp)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
andq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x88(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
xorq $-0x1, %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x4c(%rbp), %rcx
orq (%rax,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
movl -0x4c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xb3fc7
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpq $0x0, %rax
jne 0xb40f1
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jle 0xb40ef
jmp 0xb440b
jmp 0xb40f1
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0xa0(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq 0x10(%rbp), %rax
movq 0xc0(%rax), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq 0x10(%rbp), %rax
movq 0x98(%rax), %rsi
movslq -0x54(%rbp), %rdx
callq 0x2180
movq 0x10(%rbp), %rax
movslq 0x30(%rax), %rcx
movq 0x10(%rbp), %rax
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
subl -0x20(%rbp), %eax
movl %eax, -0x84(%rbp)
cmpl $0x0, -0x2c(%rbp)
jne 0xb4391
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jge 0xb4357
movl -0x30(%rbp), %eax
sarl $0x6, %eax
movl %eax, -0x40(%rbp)
movl -0x30(%rbp), %eax
andl $0x3f, %eax
movl %eax, -0x44(%rbp)
movq 0x10(%rbp), %rax
movq 0x78(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x44(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x34(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x34(%rbp)
movq 0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x44(%rbp), %ecx
shrq %cl, %rax
movq %rax, %rcx
andq $0x1, %rcx
movslq -0x34(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x34(%rbp)
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x20(%rbp), %eax
jg 0xb4347
movl -0x34(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb4347
movl -0x34(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x84(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x20(%rax)
jmp 0xb4349
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xb428e
movl -0x34(%rbp), %eax
cmpl -0x20(%rbp), %eax
jg 0xb438f
movl -0x34(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb438f
movl -0x34(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x84(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x20(%rax)
jmp 0xb4391
movq 0x10(%rbp), %rax
movl 0x20(%rax), %eax
movq 0x10(%rbp), %rcx
subl 0x1c(%rcx), %eax
addl $0x1, %eax
cmpl -0x1c(%rbp), %eax
je 0xb43fa
movslq -0x1c(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq 0xc0(%rax), %rax
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq -0xa0(%rbp), %rax
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rax
movl 0x20(%rax), %eax
addl $0x1, %eax
movq 0x10(%rbp), %rcx
subl 0x1c(%rcx), %eax
movslq %eax, %rcx
movq 0x10(%rbp), %rax
imulq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0x10(%rbp), %rdi
movl -0x20(%rbp), %esi
movl $0x1, %edx
callq 0xc78f0
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop