// File: /workspace/github_cpp_makefile_star2_O1/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movl %r8d, %r13d
movq %rdx, 0x58(%rsp)
movq %rdi, 0x50(%rsp)
movq 0xf0(%rsp), %rbx
movq $0x0, 0xa8(%rbx)
movl 0x2c(%rbx), %eax
cmpl %r8d, %eax
jle 0x92164
movl %esi, %r15d
movl %eax, 0x8(%rsp)
movl %r13d, 0x28(%rbx)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, 0x2c(%rbx)
movl %esi, 0x18(%rbx)
movl %ecx, 0x24(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movl %eax, 0x1c(%rbx)
movl %eax, 0x10(%rbx)
leal -0x1(%r15), %eax
movl %eax, 0x14(%rbx)
leal -0x1(%rcx), %eax
movl %eax, 0x20(%rbx)
leal (%rcx,%r13), %eax
cmpl %esi, %eax
jge 0x92185
movl %eax, %r15d
jmp 0x9218e
testl %eax, %eax
je 0x92d23
movl %eax, 0x8(%rsp)
movl 0x14(%rbx), %r15d
movl 0x20(%rbx), %ecx
subl 0x10(%rbx), %r15d
incl %r15d
subl 0x1c(%rbx), %ecx
incl %ecx
jmp 0x9218e
leal (%r15,%r13), %eax
cmpl %ecx, %eax
cmovll %eax, %ecx
leal (,%r13,2), %esi
testq %r9, %r9
je 0x921a0
movl (%r9), %eax
jmp 0x921a7
movl %esi, %eax
sarl $0x6, %eax
incl %eax
movslq 0x14(%rbx), %rdx
movq %rdx, 0x10(%rsp)
movslq 0x20(%rbx), %rdx
movq %rdx, 0x30(%rsp)
movl %eax, 0x30(%rbx)
cmpl %r13d, 0x3c(%rbx)
movq %rcx, 0x38(%rsp)
movl %esi, 0x4(%rsp)
jge 0x922bc
movl %esi, %eax
shrl $0x6, %eax
leal (%rax,%rax,2), %eax
leal 0xc(,%rax,4), %eax
movl %eax, 0x3c(%rbx)
cmpl 0x38(%rbx), %eax
jbe 0x922b8
movq 0x40(%rbx), %rdi
movl %eax, %esi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x40(%rbx)
movl 0x3c(%rbx), %edx
movl $0xaaaaaaab, %ecx       # imm = 0xAAAAAAAB
imulq %rdx, %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
shrq $0x23, %rcx
movl %ecx, 0x3c(%rbx)
movq %rax, 0x48(%rbx)
andl $-0x8, %edx
leaq (%rax,%rdx), %rsi
movq %rsi, 0x50(%rbx)
leal (%rcx,%rcx), %esi
leaq (%rax,%rsi,8), %rdi
movq %rdi, 0x58(%rbx)
leal (%rcx,%rcx,2), %edi
leaq (%rax,%rdi,8), %rdi
movq %rdi, 0x60(%rbx)
leal (,%rcx,4), %edi
leaq (%rax,%rdi,8), %r8
movq %r8, 0x68(%rbx)
leal (%rcx,%rcx,4), %r8d
leaq (%rax,%r8,8), %r9
movq %r9, 0x70(%rbx)
leal (%rsi,%rsi,2), %r9d
leaq (%rax,%r9,8), %r9
movq %r9, 0x78(%rbx)
leal (,%rcx,8), %r9d
subl %ecx, %r9d
leaq (%rax,%r9,8), %r9
movq %r9, 0x80(%rbx)
leaq (%rax,%rdx,8), %rdx
movq %rdx, 0x88(%rbx)
leal (%rcx,%rcx,8), %edx
leaq (%rax,%rdx,8), %rdx
movq %rdx, 0x90(%rbx)
leal (%rsi,%rsi,4), %edx
leaq (%rax,%rdx,8), %rdx
movq %rdx, 0x98(%rbx)
leal (%rcx,%r8,2), %edx
leaq (%rax,%rdx,8), %rax
movq %rax, 0xa0(%rbx)
leal (%rdi,%rdi,2), %eax
movl %eax, 0x38(%rbx)
movl %ecx, 0x34(%rbx)
movl %r13d, 0x3c(%rbx)
movl 0x30(%rbx), %eax
shll $0x3, %eax
movq 0x48(%rbx), %rdi
movslq %eax, %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x20e0
movq 0x50(%rbx), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x20e0
movq 0x58(%rbx), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x20e0
movq 0x60(%rbx), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x20e0
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq %r14, 0x40(%rsp)
movq %r14, %rdx
callq 0x20e0
leal 0x1(%r13), %eax
cmpl %r15d, %eax
cmovgel %r15d, %eax
testl %eax, %eax
jle 0x9236d
movl %eax, %eax
movq 0x10(%rsp), %rcx
movq 0x50(%rsp), %rdx
addq %rcx, %rdx
negq %rax
xorl %esi, %esi
leaq 0x19b6d6(%rip), %rdi    # 0x22da10
movl %r13d, %ecx
movl $0x1, %r8d
shlq %cl, %r8
movzbl (%rdx,%rsi), %r9d
movzbl (%rdi,%r9), %r9d
movq 0x48(%rbx,%r9,8), %r9
movl %ecx, %r10d
sarl $0x6, %r10d
movslq %r10d, %r10
orq %r8, (%r9,%r10,8)
incl %ecx
decq %rsi
cmpq %rsi, %rax
jne 0x9233d
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq 0x40(%rsp), %rdx
callq 0x20e0
movq 0x80(%rbx), %rdi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
movl %r13d, %eax
sarl $0x6, %eax
movslq %eax, %r14
cmpl $0x40, %r13d
jb 0x923bb
movq 0x80(%rbx), %rdi
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movl %r13d, %ecx
andl $0x3f, %ecx
je 0x923db
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x80(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movq %r15, 0x28(%rsp)
movq 0x78(%rbx), %rdi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
movl 0x4(%rsp), %ecx
movl %ecx, %eax
sarl $0x6, %eax
movslq %eax, %r14
cmpl $0x40, %ecx
jb 0x9241e
movq 0x78(%rbx), %rdi
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movl 0x4(%rsp), %ecx
movl %ecx, %r15d
andl $0x3e, %r15d
leal 0x1(%r15), %ecx
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x78(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x92460
movq 0x80(%rbx), %rdx
xorl %esi, %esi
movq (%rdx,%rsi,8), %rdi
xorq %rdi, (%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %rax
jne 0x92450
movq 0x38(%rsp), %rdx
imull %edx, %eax
leal (%rax,%rax,4), %eax
cltq
movq %rax, 0xc0(%rbx)
cmpq %rax, 0xc8(%rbx)
jae 0x924dc
decq %rax
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
leaq 0x1(%rcx), %rax
movq %rax, 0xc8(%rbx)
movq 0xd0(%rbx), %rdi
leaq 0x8(,%rcx,8), %rsi
callq 0x2370
movq 0x38(%rsp), %rdx
movq %rax, 0xd0(%rbx)
leal -0x1(%rdx), %eax
movl %eax, 0x1c(%rsp)
leal (%r13,%r13,2), %eax
movl %eax, 0x20(%rsp)
movq 0x28(%rsp), %rax
leal -0x1(%rax), %esi
movl $0x1, %eax
movl %r15d, %ecx
shlq %cl, %rax
movq %rax, 0x90(%rsp)
movq $0x0, 0xc0(%rbx)
xorl %r12d, %r12d
movl %r13d, %ebp
cmpl $0x2, %edx
movl %esi, 0x24(%rsp)
jl 0x929c0
movq %r14, 0x88(%rsp)
movl %r13d, %eax
movq 0x28(%rsp), %rcx
subl %ecx, %eax
incl %eax
movl %eax, 0x4c(%rsp)
movq 0x10(%rsp), %rax
subl %esi, %eax
movl %eax, 0x48(%rsp)
movslq %r13d, %rax
movslq %esi, %rdx
movq %rdx, 0x78(%rsp)
movslq %ecx, %rcx
movq %rcx, 0xa0(%rsp)
movl 0x1c(%rsp), %ecx
movq %rcx, 0x98(%rsp)
movl %r13d, %ecx
negl %ecx
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq %rax, 0x80(%rsp)
movq %rax, 0x68(%rsp)
movl %r13d, %ebp
movq %r13, 0xa8(%rsp)
movq %rcx, 0x70(%rsp)
movl %ebp, 0xc(%rsp)
movq 0x30(%rsp), %rax
movq %r12, 0xb0(%rsp)
subq %r12, %rax
movq %rax, 0x60(%rsp)
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x92670
movq 0x58(%rsp), %rcx
movq 0x60(%rsp), %rdx
movzbl (%rcx,%rdx), %edx
leaq 0x19b440(%rip), %rcx    # 0x22da10
movzbl (%rcx,%rdx), %edx
movq 0x48(%rbx,%rdx,8), %rdx
movq 0x78(%rbx), %rsi
movq 0x80(%rbx), %rdi
movq 0x88(%rbx), %r8
movq 0x90(%rbx), %r9
movq 0x98(%rbx), %r10
movq 0xa0(%rbx), %r11
xorl %r13d, %r13d
xorl %ebp, %ebp
movq (%rdi,%r13,8), %rcx
orq (%rdx,%r13,8), %rcx
movq %rcx, (%r8,%r13,8)
andq (%rsi,%r13,8), %rcx
addq %rbp, %rcx
setb %bpl
movq %rcx, (%r9,%r13,8)
addq (%rsi,%r13,8), %rcx
movq %rcx, (%r9,%r13,8)
movq (%rsi,%r13,8), %r12
cmpq %r12, %rcx
setb %r14b
xorq %r12, %rcx
movq %rcx, (%r9,%r13,8)
orq (%r8,%r13,8), %rcx
orb %bpl, %r14b
movq %rcx, (%r9,%r13,8)
andq (%rsi,%r13,8), %rcx
movq %rcx, (%r10,%r13,8)
movq (%r9,%r13,8), %rcx
orq (%rsi,%r13,8), %rcx
notq %rcx
movq %rcx, (%r11,%r13,8)
orq (%rdi,%r13,8), %rcx
movzbl %r14b, %ebp
movq %rcx, (%r11,%r13,8)
incq %r13
cmpq %r13, %rax
jne 0x92605
testl %eax, %eax
jle 0x926ea
movq 0x90(%rbx), %rdx
movq 0x88(%rbx), %rsi
movq 0xa0(%rbx), %rdi
movq 0x78(%rbx), %r8
movq 0x80(%rbx), %r9
movq 0x98(%rbx), %r10
leaq 0x1(%rax), %r11
xorl %r13d, %r13d
movq -0x10(%rdx,%r11,8), %rcx
shrq %rcx
orq %r13, %rcx
movq %rcx, -0x10(%rsi,%r11,8)
movq -0x10(%rdx,%r11,8), %r13
andq -0x10(%rdi,%r11,8), %rcx
movq %rcx, -0x10(%r9,%r11,8)
movq -0x10(%rdi,%r11,8), %rcx
orq -0x10(%rsi,%r11,8), %rcx
notq %rcx
movq %rcx, -0x10(%r8,%r11,8)
orq -0x10(%r10,%r11,8), %rcx
shlq $0x3f, %r13
movq %rcx, -0x10(%r8,%r11,8)
decq %r11
cmpq $0x1, %r11
jg 0x926a2
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
movq 0xa8(%rsp), %r13
movl 0xc(%rsp), %ebp
jne 0x9270e
cmpl 0x20(%rsp), %ebp
jge 0x92d11
incl %ebp
cmpl %r13d, 0x8(%rsp)
movl 0x24(%rsp), %r10d
movq 0xb0(%rsp), %r12
movq 0x70(%rsp), %r11
jle 0x927eb
movl 0x4c(%rsp), %edi
addl %r12d, %edi
js 0x927eb
cmpl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
jne 0x92795
movq %r12, %rcx
subq 0x80(%rsp), %rcx
movl %ebp, %r15d
cmpq 0x78(%rsp), %rcx
jge 0x927cc
movq 0x78(%rbx), %rdx
movq 0x80(%rbx), %rdi
xorl %r8d, %r8d
movl %ebp, %r15d
movl %r8d, %ecx
shrl $0x6, %ecx
movq (%rdx,%rcx,8), %r9
btq %r8, %r9
adcl $0x0, %r15d
movq (%rdi,%rcx,8), %rcx
btq %r8, %rcx
sbbl $0x0, %r15d
leal (%r11,%r8), %ecx
incl %ecx
incl %r8d
cmpl %r10d, %ecx
jl 0x92767
jmp 0x927cc
movl 0x4(%rsp), %ecx
movl %ecx, %edx
subl %edi, %edx
js 0x927cc
movq 0x98(%rbx), %rcx
movq 0xa0(%rbx), %rdi
movl %edx, %r8d
shrl $0x6, %r8d
movq (%rdi,%r8,8), %rdi
btq %rdx, %rdi
adcl $0x0, %r15d
movq (%rcx,%r8,8), %rcx
btq %rdx, %rcx
sbbl $0x0, %r15d
cmpl 0x28(%rbx), %r15d
jg 0x927eb
cmpl 0x2c(%rbx), %r15d
jge 0x927eb
movl %r15d, 0x2c(%rbx)
movl 0x48(%rsp), %ecx
movl %ecx, 0x10(%rbx)
movq 0x60(%rsp), %rcx
movl %ecx, 0x1c(%rbx)
cmpl $0x2, %eax
jl 0x92857
movq 0x48(%rbx), %rcx
movq 0x50(%rbx), %rdx
movq 0x58(%rbx), %rdi
movq 0x60(%rbx), %r8
leal -0x1(%rax), %r9d
xorl %r10d, %r10d
movq (%rcx,%r10,8), %r11
movq 0x8(%rcx,%r10,8), %r14
shldq $0x3f, %r11, %r14
movq %r14, (%rcx,%r10,8)
movq (%rdx,%r10,8), %r11
movq 0x8(%rdx,%r10,8), %r14
shldq $0x3f, %r11, %r14
movq %r14, (%rdx,%r10,8)
movq (%rdi,%r10,8), %r11
movq 0x8(%rdi,%r10,8), %r14
shldq $0x3f, %r11, %r14
movq %r14, (%rdi,%r10,8)
movq (%r8,%r10,8), %r11
movq 0x8(%r8,%r10,8), %r14
shldq $0x3f, %r11, %r14
movq %r14, (%r8,%r10,8)
incq %r10
cmpq %r10, %r9
jne 0x92807
movq 0x48(%rbx), %rcx
shrq -0x8(%rcx,%rax,8)
movq 0x50(%rbx), %rcx
shrq -0x8(%rcx,%rax,8)
movq 0x58(%rbx), %rcx
shrq -0x8(%rcx,%rax,8)
movq 0x60(%rbx), %rcx
shrq -0x8(%rcx,%rax,8)
movq 0x68(%rsp), %rdx
incq %rdx
movl $0x4, %eax
cmpq 0xa0(%rsp), %rdx
jge 0x928ae
movq 0x10(%rsp), %rax
subq %rdx, %rax
movq 0x50(%rsp), %rcx
movzbl (%rcx,%rax), %eax
leaq 0x19b166(%rip), %rcx    # 0x22da10
movzbl (%rcx,%rax), %eax
movq %rdx, 0x68(%rsp)
cmpl $0x3, %eax
ja 0x928d1
movq 0x48(%rbx,%rax,8), %rax
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %rdx
orq %rdx, (%rax,%rcx,8)
incq %r12
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x40(%rsp), %r14
movq %r14, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x78(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x80(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0xa0(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x98(%rbx), %rsi
movq %r14, %rdx
callq 0x2160
movslq 0x30(%rbx), %rax
addq %rax, 0xc0(%rbx)
movq 0x70(%rsp), %rcx
incl %ecx
cmpq 0x98(%rsp), %r12
jne 0x92590
movl %ebp, 0xc(%rsp)
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x92a8d
movq 0x30(%rsp), %rcx
subl %r12d, %ecx
movslq %ecx, %rcx
movq 0x58(%rsp), %rdx
movzbl (%rdx,%rcx), %ecx
leaq 0x19b024(%rip), %rdx    # 0x22da10
movzbl (%rdx,%rcx), %ecx
movq 0x48(%rbx,%rcx,8), %rcx
movq 0x78(%rbx), %rdx
movq 0x80(%rbx), %rsi
movq 0x88(%rbx), %rdi
movq 0x90(%rbx), %r8
movq 0x98(%rbx), %r9
movq 0xa0(%rbx), %r10
xorl %r11d, %r11d
xorl %r14d, %r14d
movq (%rsi,%r11,8), %r15
orq (%rcx,%r11,8), %r15
movq %r15, (%rdi,%r11,8)
andq (%rdx,%r11,8), %r15
addq %r14, %r15
setb %bpl
movq %r15, (%r8,%r11,8)
addq (%rdx,%r11,8), %r15
movq %r15, (%r8,%r11,8)
movq (%rdx,%r11,8), %r14
cmpq %r14, %r15
setb %r12b
xorq %r14, %r15
movq %r15, (%r8,%r11,8)
orq (%rdi,%r11,8), %r15
orb %bpl, %r12b
movq %r15, (%r8,%r11,8)
andq (%rdx,%r11,8), %r15
movq %r15, (%r9,%r11,8)
movq (%r8,%r11,8), %r15
orq (%rdx,%r11,8), %r15
notq %r15
movq %r15, (%r10,%r11,8)
orq (%rsi,%r11,8), %r15
movzbl %r12b, %r14d
movq %r15, (%r10,%r11,8)
incq %r11
cmpq %r11, %rax
jne 0x92a22
testl %eax, %eax
jle 0x92b06
movq 0x90(%rbx), %rcx
movq 0x88(%rbx), %rdx
movq 0xa0(%rbx), %rsi
movq 0x78(%rbx), %rdi
movq 0x80(%rbx), %r8
movq 0x98(%rbx), %r9
incq %rax
xorl %r10d, %r10d
movq -0x10(%rcx,%rax,8), %r11
shrq %r11
orq %r10, %r11
movq %r11, -0x10(%rdx,%rax,8)
movq -0x10(%rcx,%rax,8), %r10
andq -0x10(%rsi,%rax,8), %r11
movq %r11, -0x10(%r8,%rax,8)
movq -0x10(%rsi,%rax,8), %r11
orq -0x10(%rdx,%rax,8), %r11
notq %r11
movq %r11, -0x10(%rdi,%rax,8)
orq -0x10(%r9,%rax,8), %r11
shlq $0x3f, %r10
movq %r11, -0x10(%rdi,%rax,8)
decq %rax
cmpq $0x1, %rax
jg 0x92abe
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
movl 0xc(%rsp), %r12d
jne 0x92b25
cmpl 0x20(%rsp), %r12d
jge 0x92d11
incl %r12d
movq 0x28(%rsp), %r14
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x40(%rsp), %r15
movq %r15, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x78(%rbx), %rsi
movq %r15, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x80(%rbx), %rsi
movq %r15, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0xa0(%rbx), %rsi
movq %r15, %rdx
callq 0x2160
movslq 0x30(%rbx), %rdi
addq 0xc0(%rbx), %rdi
movq %rdi, 0xc0(%rbx)
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x98(%rbx), %rsi
movq %r15, %rdx
callq 0x2160
movslq 0x30(%rbx), %rax
addq 0xc0(%rbx), %rax
movq %rax, 0xc0(%rbx)
cmpl %r13d, 0x8(%rsp)
movq 0x38(%rsp), %r11
jle 0x92cb7
movl 0x1c(%rsp), %ecx
subl %r13d, %ecx
movl %ecx, %ebp
cmpl 0x24(%rsp), %ecx
jge 0x92c91
movq 0x78(%rbx), %rcx
movq 0x80(%rbx), %rdx
movq 0x30(%rsp), %rsi
subl %r11d, %esi
incl %esi
addl %r13d, %r14d
subl %r11d, %r14d
movq 0x10(%rsp), %rdi
addl %r13d, %edi
subl %r11d, %edi
xorl %r8d, %r8d
movl %r8d, %r9d
shrl $0x6, %r9d
movq (%rcx,%r9,8), %r10
btq %r8, %r10
adcl $0x0, %r12d
movq (%rdx,%r9,8), %r9
btq %r8, %r9
sbbl $0x0, %r12d
cmpl %r13d, %r12d
jg 0x92c84
cmpl 0x2c(%rbx), %r12d
jge 0x92c84
movl %r12d, 0x2c(%rbx)
movl %edi, 0x10(%rbx)
movl %esi, 0x1c(%rbx)
incl %r8d
decl %edi
cmpl %r8d, %r14d
jne 0x92c50
addl %r8d, %ebp
cmpl %r13d, %r12d
jg 0x92cb7
cmpl 0x2c(%rbx), %r12d
jge 0x92cb7
movl %r12d, 0x2c(%rbx)
movq 0x10(%rsp), %rcx
subl %ebp, %ecx
movl %ecx, 0x10(%rbx)
movq 0x30(%rsp), %rcx
subl %r11d, %ecx
incl %ecx
movl %ecx, 0x1c(%rbx)
movl 0x20(%rbx), %ecx
subl 0x1c(%rbx), %ecx
incl %ecx
cmpl %r11d, %ecx
je 0x92cda
movslq %r11d, %rsi
xorl %edx, %edx
divq %rsi
movslq %ecx, %rcx
imulq %rax, %rcx
movq %rcx, 0xc0(%rbx)
movq 0x10(%rsp), %r14
movl %r14d, %eax
subl 0x14(%rbx), %eax
movl %r14d, %ecx
subl 0x10(%rbx), %ecx
movl %eax, 0x10(%rbx)
movl %ecx, 0x14(%rbx)
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x9c469
movl 0x14(%rbx), %eax
movl %r14d, %ecx
subl %eax, %ecx
subl 0x10(%rbx), %r14d
movl %ecx, 0x10(%rbx)
movl %r14d, 0x14(%rbx)
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x20(%rbx), %ebp
subl 0x1c(%rbx), %ebp
incl %ebp
cmpl $0x3fff, %ebp           # imm = 0x3FFF
jb 0x92d9e
movl $0x2, %r14d
movq 0xb0(%rbx), %rax
cmpq %rax, 0xa8(%rbx)
jne 0x92d71
leaq (%rax,%rax), %rsi
testq %rax, %rax
cmoveq %r14, %rsi
movq %rsi, 0xb0(%rbx)
movq 0xb8(%rbx), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0xb8(%rbx)
movq 0xa8(%rbx), %rax
movq 0xb8(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0xa8(%rbx)
movw $0x3fff, (%rcx,%rax,2)  # imm = 0x3FFF
addl $0xffffc001, %ebp       # imm = 0xFFFFC001
cmpl $0x3ffe, %ebp           # imm = 0x3FFE
ja 0x92d39
testl %ebp, %ebp
je 0x92d11
movq 0xb0(%rbx), %rax
cmpq %rax, 0xa8(%rbx)
jne 0x92de3
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0xb0(%rbx)
movq 0xb8(%rbx), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0xb8(%rbx)
movq 0xa8(%rbx), %rax
movq 0xb8(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0xa8(%rbx)
movw %bp, (%rcx,%rax,2)
jmp 0x92d11