// File: chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: ed_band_cal_extension_infi_1_w_trace(char*, int, char*, int, int, int*, bit_extz_t*)
inline void ed_band_cal_extension_infi_1_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 = INT32_MAX; ez->pe = pn-1; ez->te = tn-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; 
    int32_t poff, pe = pn-1, tmp_e = INT32_MAX, k, pidx = ez->pe, tidx = ez->te; w_sig c, ad, Peq_m;
	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;
	for (i = 0; i < bd; i++, i_bd++) { 
		w_bit((ez->Peq)[seq_nt4_table[(uint8_t)(pstr)[pidx-i]]], (i_bd));
	}
    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));
	while (i < tn0) {
        ed_infi_core(ez->Peq, ez->VP, ez->VN, ez->X, ez->D0, ez->HN, ez->HP, (uint8_t)tstr[tidx-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).ps = pidx - pe; (*ez).ts = tidx-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[pidx-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[tidx-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->ps = pidx-site; ez->ts = tidx+1-tn;
			}
		}
		if(err <= thre && err < ez->err) {
			ez->err = err; ez->ps = pidx-site; ez->ts = tidx+1-tn;
		}
	}

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

    poff = ez->ps; ez->ps = pidx - ez->pe; ez->pe = pidx - poff;//diff
    gen_trace(ez, thre, 0);//diff
    poff = ez->ps; ez->ps = pidx - ez->pe; ez->pe = pidx - poff;//diff
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %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 0xb4528
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 $0x7fffffff, 0x1c(%rax) # imm = 0x7FFFFFFF
movq 0x10(%rbp), %rax
movl $0x7fffffff, 0x10(%rax) # imm = 0x7FFFFFFF
movl -0xc(%rbp), %ecx
subl $0x1, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x20(%rax)
movl -0xc(%rbp), %eax
movl -0x1c(%rbp), %ecx
addl -0x20(%rbp), %ecx
cmpl %ecx, %eax
jle 0xb4507
movl -0x1c(%rbp), %eax
addl -0x20(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0xb451f
movl -0x1c(%rbp), %eax
movl -0xc(%rbp), %ecx
addl -0x20(%rbp), %ecx
cmpl %ecx, %eax
jle 0xb451d
movl -0xc(%rbp), %eax
addl -0x20(%rbp), %eax
movl %eax, -0x1c(%rbp)
jmp 0xb451f
movl $0x0, -0x2c(%rbp)
jmp 0xb4584
movq 0x10(%rbp), %rax
cmpl $0x0, 0x2c(%rax)
jne 0xb455a
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 0xb5c9c
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 0xb4584
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, -0x60(%rbp)
movl $0x7fffffff, -0x64(%rbp) # imm = 0x7FFFFFFF
movq 0x10(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, -0x6c(%rbp)
movq 0x10(%rbp), %rax
movl 0x20(%rax), %eax
movl %eax, -0x70(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0xb45d4
movq -0x28(%rbp), %rax
movl (%rax), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x30(%rax)
jmp 0xb4603
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 0xb4605
movl -0x20(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x3c(%rcx), %eax
jle 0xb490a
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 0xb4900
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, -0x98(%rbp)
movl 0x3c(%rax), %eax
movl $0xc, %ecx
xorl %edx, %edx
divl %ecx
movl %eax, %ecx
movq -0x98(%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 0xb490c
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 0xb4999
movl -0x40(%rbp), %eax
movl %eax, -0x9c(%rbp)
jmp 0xb49a2
movl -0xc(%rbp), %eax
movl %eax, -0x9c(%rbp)
movl -0x9c(%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 0xb4a1e
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
movl -0x6c(%rbp), %esi
subl -0x30(%rbp), %esi
movslq %esi, %rsi
movzbl (%rcx,%rsi), %ecx
movl %ecx, %esi
leaq 0x2d5df0(%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 -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0xb49b8
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 0xb4a91
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 0xb4aca
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 0xb4acc
jmp 0xb4ace
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 0xb4b1d
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 0xb4b62
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 0xb4b64
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb4ba9
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 0xb4b6b
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 0xb4cf4
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 0xb4cf6
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, -0x88(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0xb55a7
movq -0x18(%rbp), %rax
movl -0x70(%rbp), %ecx
subl -0x30(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d5a88(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x78(%rbp)
movq $0x0, -0x80(%rbp)
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb4f81
movq 0x10(%rbp), %rax
movq -0x78(%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 -0x80(%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 -0x80(%rbp), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
movq %rax, -0x80(%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 -0x80(%rbp), %rax
movq %rax, -0x80(%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 0xb4d6f
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
subl $0x1, %eax
movl %eax, -0x4c(%rbp)
movq $0x0, -0x80(%rbp)
cmpl $0x0, -0x4c(%rbp)
jl 0xb5090
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
orq -0x80(%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, -0x80(%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 0xb4f96
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpq $0x0, %rax
jne 0xb50c0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jle 0xb50be
jmp 0xb5c9c
jmp 0xb50c0
cmpl $0x0, -0x2c(%rbp)
jne 0xb523d
movl -0x30(%rbp), %eax
subl -0x20(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x30(%rbp), %eax
addl -0x20(%rbp), %eax
subl -0x60(%rbp), %eax
movl %eax, -0x68(%rbp)
cmpl $0x0, -0x68(%rbp)
jl 0xb523b
cmpl $0x7fffffff, -0x64(%rbp) # imm = 0x7FFFFFFF
jne 0xb5184
movl -0x34(%rbp), %eax
movl %eax, -0x64(%rbp)
movl $0x0, -0x68(%rbp)
movl -0x5c(%rbp), %eax
cmpl -0x60(%rbp), %eax
jge 0xb5182
movl -0x68(%rbp), %eax
sarl $0x6, %eax
movl %eax, -0x40(%rbp)
movl -0x68(%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 -0x64(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x64(%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 -0x64(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x64(%rbp)
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xb5103
jmp 0xb51fd
movl -0x20(%rbp), %eax
shll %eax
subl -0x68(%rbp), %eax
movl %eax, -0x68(%rbp)
cmpl $0x0, -0x68(%rbp)
jl 0xb51fb
movl -0x68(%rbp), %eax
sarl $0x6, %eax
movl %eax, -0x40(%rbp)
movl -0x68(%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 -0x64(%rbp), %rax
addq %rcx, %rax
movl %eax, -0x64(%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 -0x64(%rbp), %rax
subq %rcx, %rax
movl %eax, -0x64(%rbp)
jmp 0xb51fd
movl -0x64(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x28(%rcx), %eax
jg 0xb5239
movl -0x64(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb5239
movl -0x64(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x6c(%rbp), %ecx
subl -0x60(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movl -0x70(%rbp), %ecx
subl -0x30(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x1c(%rax)
jmp 0xb523b
jmp 0xb523d
movl $0x0, -0x4c(%rbp)
movl $0x1, -0x50(%rbp)
movl -0x50(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb535a
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 0xb524b
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, -0x78(%rbp)
movl -0x44(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xb5407
movq -0x8(%rbp), %rax
movl -0x6c(%rbp), %ecx
subl -0x44(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d53e1(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x78(%rbp)
cmpq $0x4, -0x78(%rbp)
jae 0xb542e
movq -0x88(%rbp), %rdx
movq 0x10(%rbp), %rax
movq -0x78(%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 0xb4d32
movq -0x18(%rbp), %rax
movl -0x70(%rbp), %ecx
subl -0x30(%rbp), %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x2d521f(%rip), %rax    # 0x38a7e0
movzbl (%rax,%rcx), %eax
movq %rax, -0x78(%rbp)
movq $0x0, -0x80(%rbp)
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x30(%rcx), %eax
jge 0xb57ea
movq 0x10(%rbp), %rax
movq -0x78(%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 -0x80(%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 -0x80(%rbp), %rax
setb %al
andb $0x1, %al
movzbl %al, %eax
movq %rax, -0x80(%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 -0x80(%rbp), %rax
movq %rax, -0x80(%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 0xb55d8
movq 0x10(%rbp), %rax
movl 0x30(%rax), %eax
subl $0x1, %eax
movl %eax, -0x4c(%rbp)
movq $0x0, -0x80(%rbp)
cmpl $0x0, -0x4c(%rbp)
jl 0xb58f9
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
shrq %rdx
orq -0x80(%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, -0x80(%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 0xb57ff
movq 0x10(%rbp), %rax
movq 0x90(%rax), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpq $0x0, %rax
jne 0xb5929
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jle 0xb5927
jmp 0xb5c9c
jmp 0xb5929
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, -0x8c(%rbp)
cmpl $0x0, -0x2c(%rbp)
jne 0xb5bd5
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x8c(%rbp), %eax
cmpl -0x3c(%rbp), %eax
jge 0xb5b95
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 -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x20(%rbp), %eax
jg 0xb5b85
movl -0x34(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb5b85
movl -0x34(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x6c(%rbp), %ecx
subl -0x8c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movl -0x70(%rbp), %ecx
addl $0x1, %ecx
subl -0x1c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x1c(%rax)
jmp 0xb5b87
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xb5ac6
movl -0x34(%rbp), %eax
cmpl -0x20(%rbp), %eax
jg 0xb5bd3
movl -0x34(%rbp), %eax
movq 0x10(%rbp), %rcx
cmpl 0x2c(%rcx), %eax
jge 0xb5bd3
movl -0x34(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x6c(%rbp), %ecx
subl -0x8c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movl -0x70(%rbp), %ecx
addl $0x1, %ecx
subl -0x1c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x1c(%rax)
jmp 0xb5bd5
movq 0x10(%rbp), %rax
movl 0x20(%rax), %eax
movq 0x10(%rbp), %rcx
subl 0x1c(%rcx), %eax
addl $0x1, %eax
cmpl -0x1c(%rbp), %eax
je 0xb5c3e
movslq -0x1c(%rbp), %rcx
movq 0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq 0xc0(%rax), %rax
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq -0xa8(%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), %rax
movl 0x10(%rax), %eax
movl %eax, -0x5c(%rbp)
movl -0x6c(%rbp), %ecx
movq 0x10(%rbp), %rax
subl 0x14(%rax), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movl -0x6c(%rbp), %ecx
subl -0x5c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
movq 0x10(%rbp), %rdi
movl -0x20(%rbp), %esi
xorl %edx, %edx
callq 0xc78f0
movq 0x10(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x5c(%rbp)
movl -0x6c(%rbp), %ecx
movq 0x10(%rbp), %rax
subl 0x14(%rax), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movl -0x6c(%rbp), %ecx
subl -0x5c(%rbp), %ecx
movq 0x10(%rbp), %rax
movl %ecx, 0x14(%rax)
addq $0xb0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop