// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: ed_band_cal_extension_64_1_w_trace(char*, int, char*, int, int, bit_extz_t*)
inline void ed_band_cal_extension_64_1_w_trace(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
	int32_t done = 1;//diff
	ez->cigar.n = 0; ez->nword = 1;//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;
	int32_t poff, pe = pn-1, tmp_e = INT32_MAX, k, pidx = ez->pe, tidx = ez->te;
	Word c, Peq[5] = {0}, VP, VN, X, D0, HN, HP, mm;

	bd = thre+1; bd = ((bd<=pn)?bd:pn); i_bd = thre;
	for (i = 0, mm = (((Word)1)<<i_bd); i < bd; i++) {
        Peq[seq_nt4_table[(uint8_t)pstr[pidx-i]]] |= mm; mm <<= 1;
    }	
	bd = thre+1, i_bd = thre; Peq[4] = 0; err = thre;
	VN = (((Word)1)<<(thre))-1; VP = (((Word)1)<<((thre<<1)+1))-1; 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; mm = ((Word)1 << (thre<<1));
	// X = D0 = HN = HP = mm = 0;//for debug
	while (i < tn0) {
		// fprintf(stderr, "i::%d\n", i);
		// prt_vector(Peq, VP, VN, X, D0, HN, HP, ((thre<<1)+1));
		ed_core_64(Peq, VP, VN, X, D0, HN, HP, (uint8_t)tstr[tidx-i]);
		if (!(D0&(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)++) {
                        tmp_e += ((VP>>k)&(1ULL)); tmp_e -= ((VN>>k)&(1ULL));
                    } 
                } else {
                    k = (thre<<1) - k; 
                    if(k >= 0) {
                        tmp_e += ((HP>>k)&(1ULL)); tmp_e -= ((HN>>k)&(1ULL)); 
                    }
                }
                if(tmp_e <= (*ez).thre && tmp_e < (*ez).err) {
					(*ez).err = tmp_e; (*ez).ps = pidx - pe; (*ez).ts = tidx-i;
                }
            }
        }
		// fprintf(stderr, "i::%d, tmp_e::%d, err::%d\n", i, tmp_e, err);

		Peq[0] >>= 1; Peq[1] >>= 1; Peq[2] >>= 1; Peq[3] >>= 1;
		++i; ++i_bd;
        if(i_bd < pn) {
            c = seq_nt4_table[(uint8_t)pstr[pidx-i_bd]]; 
            if(c < 4) Peq[c] |= mm;
        }

		ez->path.a[ez->path.n++] = D0;//diff
        ez->path.a[ez->path.n++] = VP;//diff
        ez->path.a[ez->path.n++] = VN;//diff
        ez->path.a[ez->path.n++] = HP;//diff
        ez->path.a[ez->path.n++] = HN;//diff
	}
	ed_core_64(Peq, VP, VN, X, D0, HN, HP, (uint8_t)tstr[tidx-i]);
	if (!(D0&(1ULL))) {
		++err; if (err>cut) return;
	}
	ez->path.a[ez->path.n++] = D0;//diff
	ez->path.a[ez->path.n++] = VP;//diff
	ez->path.a[ez->path.n++] = VN;//diff
	ez->path.a[ez->path.n++] = HP;//diff
	ez->path.a[ez->path.n++] = HN;//diff

	int32_t site = tn - 1 - thre;/**up bound; site:[tn - 1 - thre, tn - 1 + thre]**/\
	if(!done) {//diff
		for (cut = pn - 1; site < cut; ) {
			err += VP&(1ULL); VP >>= 1; err -= VN&(1ULL); VN >>= 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 $0xc8, %rsp
movq %r9, %rbx
movl %r8d, %ebp
movl %ecx, %r9d
movq %rdx, 0x68(%rsp)
movq %rdi, 0x60(%rsp)
movq $0x0, 0xa8(%rbx)
movl $0x1, 0x30(%rbx)
movl 0x2c(%rbx), %ecx
cmpl %r8d, %ecx
jle 0x8caed
movl %ebp, 0x28(%rbx)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, 0x2c(%rbx)
movl %esi, 0x18(%rbx)
movl %r9d, 0x24(%rbx)
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx)
movl %eax, 0x1c(%rbx)
movl %eax, 0x10(%rbx)
leal -0x1(%rsi), %edx
movl %edx, 0x14(%rbx)
leal -0x1(%r9), %eax
movq %rax, 0x18(%rsp)
movl %eax, 0x20(%rbx)
leal (%r9,%rbp), %eax
cmpl %esi, %eax
movl %ecx, 0x14(%rsp)
jge 0x8cb1c
movl %eax, %esi
jmp 0x8cb26
testl %ecx, %ecx
je 0x8d251
movl %ecx, 0x14(%rsp)
movl 0x10(%rbx), %eax
movl 0x14(%rbx), %edx
negl %eax
leal (%rdx,%rax), %esi
incl %esi
movl 0x20(%rbx), %ecx
movl 0x1c(%rbx), %eax
negl %eax
movq %rcx, 0x18(%rsp)
leal (%rcx,%rax), %r9d
incl %r9d
jmp 0x8cb26
leal (%rsi,%rbp), %eax
cmpl %r9d, %eax
cmovll %eax, %r9d
leal (,%rbp,2), %eax
movl %eax, 0x10(%rsp)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x80(%rsp)
leal 0x1(%rbp), %eax
cmpl %esi, %eax
cmovgel %esi, %eax
movl $0x1, %r14d
movl %ebp, %ecx
shlq %cl, %r14
movdqa %xmm0, 0x70(%rsp)
movq $0x0, 0x90(%rsp)
movq %rdx, 0x50(%rsp)
movslq %edx, %rcx
movq %rcx, 0x58(%rsp)
testl %eax, %eax
jle 0x8cbac
movl %eax, %eax
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %rdx
addq %rdx, %rcx
negq %rax
xorl %edx, %edx
leaq 0x1ad091(%rip), %r10    # 0x239c20
movq %r14, %rdi
movzbl (%rcx,%rdx), %r8d
movzbl (%r10,%r8), %r8d
orq %rdi, 0x70(%rsp,%r8,8)
addq %rdi, %rdi
decq %rdx
cmpq %rdx, %rax
jne 0x8cb92
movl 0x10(%rsp), %eax
movl %eax, %ecx
orb $0x1, %cl
movq $-0x1, %r13
shlq %cl, %r13
movq $0x0, 0x90(%rsp)
movq %r14, %r15
negq %r15
leal (%r9,%r9,4), %eax
cltq
movq %rax, 0xc0(%rbx)
cmpq %rax, 0xc8(%rbx)
movq %r9, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
jae 0x8cc55
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 0x40(%rsp), %rsi
movq 0x48(%rsp), %r9
movq %rax, 0xd0(%rbx)
leal -0x1(%r9), %edi
leal (%rbp,%rbp,2), %eax
movl %eax, 0x24(%rsp)
leal -0x1(%rsi), %r11d
decq %r14
movl $0x1, %eax
movl 0x10(%rsp), %ecx
shlq %cl, %rax
movq %rax, 0xa8(%rsp)
xorq %r15, %r13
movq $0x0, 0xc0(%rbx)
xorl %edx, %edx
cmpl $0x2, %r9d
movl %edi, 0x20(%rsp)
jl 0x8d079
movl %ebp, %eax
subl %esi, %eax
incl %eax
movl %eax, 0x38(%rsp)
movq 0x50(%rsp), %rax
subl %r11d, %eax
movl %eax, 0x34(%rsp)
movslq %ebp, %r10
movslq %esi, %rax
movq %rax, 0xb8(%rsp)
movslq 0x18(%rsp), %rax
movq %rax, 0xc0(%rsp)
movslq %r11d, %rax
movl %edi, %ecx
movq %rcx, 0xb0(%rsp)
addq %r10, %rax
movq %rax, 0xa0(%rsp)
movl $0x1, %edi
subl %ebp, %edi
leal -0x1(%rbp), %esi
movl $0x7fffffff, 0xc(%rsp)  # imm = 0x7FFFFFFF
xorl %r9d, %r9d
movaps 0x1a47f1(%rip), %xmm2   # 0x2314f0
movdqa 0x1a4829(%rip), %xmm3   # 0x231530
movdqa 0x1a45d1(%rip), %xmm4   # 0x2312e0
movl %ebp, %ecx
movq %rbp, 0x28(%rsp)
movl %r11d, 0x3c(%rsp)
cmpl %r11d, %edi
movl %r11d, %r12d
cmovgl %edi, %r12d
movl %r9d, %r8d
subl %ebp, %r8d
incl %r8d
cmpl %r11d, %r8d
cmovlel %r11d, %r8d
movq 0xc0(%rsp), %rdx
subq %r9, %rdx
movq 0x68(%rsp), %rax
movzbl (%rax,%rdx), %eax
leaq 0x1aced0(%rip), %r11    # 0x239c20
movzbl (%r11,%rax), %eax
movq 0x70(%rsp,%rax,8), %rax
orq %r14, %rax
movq %rax, %r15
andq %r13, %r15
addq %r13, %r15
xorq %r13, %r15
orq %rax, %r15
testb $0x1, %r15b
jne 0x8cd7e
cmpl 0x24(%rsp), %ecx
jge 0x8d23f
incl %ecx
movq %r15, %r11
andq %r13, %r11
orq %r15, %r13
notq %r13
movq %r14, %rbp
orq %r13, %rbp
movq %r15, %r13
shrq %r13
movq %rbp, %r14
andq %r13, %r14
orq %rbp, %r13
notq %r13
orq %r11, %r13
movl 0x14(%rsp), %eax
cmpl 0x28(%rsp), %eax
jle 0x8cf7b
movl 0x38(%rsp), %eax
addl %r9d, %eax
js 0x8cf7b
cmpl $0x7fffffff, 0xc(%rsp)  # imm = 0x7FFFFFFF
jne 0x8cf3e
movl %ecx, %eax
cmpq 0xa0(%rsp), %r9
jge 0x8cf60
addl %esi, %r12d
addq $0x4, %r12
andq $-0x4, %r12
movl %r9d, %eax
notl %eax
addl 0x28(%rsp), %eax
addl %eax, %r8d
movd %ecx, %xmm5
movd %r8d, %xmm6
pshufd $0x44, %xmm6, %xmm7     # xmm7 = xmm6[0,1,0,1]
movq %r13, %xmm6
pshufd $0x44, %xmm6, %xmm1     # xmm1 = xmm6[0,1,0,1]
movq %r14, %xmm6
pshufd $0x44, %xmm6, %xmm11    # xmm11 = xmm6[0,1,0,1]
movdqa 0x1a44af(%rip), %xmm12  # 0x2312d0
movdqa 0x1a4496(%rip), %xmm13  # 0x2312c0
movdqa %xmm5, %xmm6
movdqa %xmm13, %xmm9
movdqa %xmm12, %xmm8
movdqa %xmm1, %xmm14
psrlq %xmm12, %xmm14
pshufd $0xee, %xmm12, %xmm15   # xmm15 = xmm12[2,3,2,3]
movdqa %xmm1, %xmm5
psrlq %xmm15, %xmm5
movsd %xmm14, %xmm5           # xmm5 = xmm14[0],xmm5[1]
movdqa %xmm1, %xmm14
psrlq %xmm13, %xmm14
pshufd $0xee, %xmm13, %xmm0    # xmm0 = xmm13[2,3,2,3]
movdqa %xmm1, %xmm10
psrlq %xmm0, %xmm10
movsd %xmm14, %xmm10          # xmm10 = xmm14[0],xmm10[1]
movdqa %xmm11, %xmm14
psrlq %xmm12, %xmm14
shufps $0x88, %xmm10, %xmm5    # xmm5 = xmm5[0,2],xmm10[0,2]
movdqa %xmm11, %xmm10
psrlq %xmm15, %xmm10
andps %xmm2, %xmm5
movdqa %xmm11, %xmm15
psrlq %xmm0, %xmm15
paddd %xmm6, %xmm5
movdqa %xmm11, %xmm0
psrlq %xmm13, %xmm0
movsd %xmm14, %xmm10          # xmm10 = xmm14[0],xmm10[1]
movsd %xmm0, %xmm15           # xmm15 = xmm0[0],xmm15[1]
shufps $0x88, %xmm15, %xmm10   # xmm10 = xmm10[0,2],xmm15[0,2]
andps %xmm2, %xmm10
psubd %xmm10, %xmm5
paddq %xmm3, %xmm12
paddq %xmm3, %xmm13
addq $-0x4, %r12
jne 0x8ce2a
pxor %xmm4, %xmm7
pxor %xmm4, %xmm8
movdqa %xmm8, %xmm0
pcmpgtd %xmm7, %xmm0
pxor %xmm4, %xmm9
movdqa %xmm9, %xmm1
pcmpgtd %xmm7, %xmm1
movdqa %xmm0, %xmm10
shufps $0x88, %xmm1, %xmm10    # xmm10 = xmm10[0,2],xmm1[0,2]
pcmpeqd %xmm7, %xmm8
pcmpeqd %xmm7, %xmm9
shufps $0xdd, %xmm9, %xmm8     # xmm8 = xmm8[1,3],xmm9[1,3]
andps %xmm10, %xmm8
shufps $0xdd, %xmm1, %xmm0     # xmm0 = xmm0[1,3],xmm1[1,3]
orps %xmm8, %xmm0
pand %xmm0, %xmm6
pandn %xmm5, %xmm0
por %xmm6, %xmm0
pshufd $0xee, %xmm0, %xmm1     # xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $0x55, %xmm1, %xmm0     # xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
jmp 0x8cf60
movl 0x10(%rsp), %r8d
subl %eax, %r8d
js 0x8cf5c
btq %r8, %r11
movl 0xc(%rsp), %eax
sbbl $0x0, %eax
btq %r8, %rbp
adcl $0x0, %eax
jmp 0x8cf60
movl 0xc(%rsp), %eax
cmpl 0x28(%rbx), %eax
movl %eax, 0xc(%rsp)
jg 0x8cf7b
cmpl 0x2c(%rbx), %eax
jge 0x8cf7b
movl %eax, 0x2c(%rbx)
movl 0x34(%rsp), %eax
movl %eax, 0x10(%rbx)
movl %edx, 0x1c(%rbx)
movdqa 0x70(%rsp), %xmm0
movdqa 0x80(%rsp), %xmm1
psrlq $0x1, %xmm0
movdqa %xmm0, 0x70(%rsp)
psrlq $0x1, %xmm1
movdqa %xmm1, 0x80(%rsp)
incq %r10
cmpq 0xb8(%rsp), %r10
jge 0x8cfdf
movq 0x58(%rsp), %rax
subq %r10, %rax
movq 0x60(%rsp), %rdx
movzbl (%rdx,%rax), %eax
leaq 0x1acc58(%rip), %rdx    # 0x239c20
movzbl (%rdx,%rax), %eax
cmpq $0x3, %rax
ja 0x8cfdf
movq 0xa8(%rsp), %rdx
orq %rdx, 0x70(%rsp,%rax,8)
incq %r9
movq 0xc0(%rbx), %rax
movq 0xd0(%rbx), %rdx
leaq 0x1(%rax), %r8
movq %r8, 0xc0(%rbx)
movq %r15, (%rdx,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %r8
movq %r8, 0xc0(%rbx)
movq %r13, (%rdx,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %r8
movq %r8, 0xc0(%rbx)
movq %r14, (%rdx,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %r8
movq %r8, 0xc0(%rbx)
movq %rbp, (%rdx,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %r8
movq %r8, 0xc0(%rbx)
movq %r11, (%rdx,%rax,8)
incl %edi
decl %esi
cmpq 0xb0(%rsp), %r9
movq 0x28(%rsp), %rbp
movl 0x3c(%rsp), %r11d
jne 0x8cd1b
movl 0x20(%rsp), %edx
jmp 0x8d07b
movl %ebp, %ecx
movq 0x18(%rsp), %rax
subl %edx, %eax
cltq
movq 0x68(%rsp), %rdx
movzbl (%rdx,%rax), %eax
leaq 0x1acb8c(%rip), %rdx    # 0x239c20
movzbl (%rdx,%rax), %eax
movq 0x70(%rsp,%rax,8), %rax
orq %r14, %rax
movq %rax, %rdi
andq %r13, %rdi
addq %r13, %rdi
xorq %r13, %rdi
orq %rax, %rdi
testb $0x1, %dil
jne 0x8d0c1
cmpl 0x24(%rsp), %ecx
jge 0x8d23f
incl %ecx
movq %rdi, %r8
andq %r13, %r8
orq %rdi, %r13
notq %r13
orq %r13, %r14
movq %rdi, %rdx
shrq %rdx
movq %r14, %rsi
andq %rdx, %rsi
orq %r14, %rdx
notq %rdx
orq %r8, %rdx
movq 0xc0(%rbx), %rax
movq 0xd0(%rbx), %r9
leaq 0x1(%rax), %r10
movq %r10, 0xc0(%rbx)
movq %rdi, (%r9,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %rdi
movq %rdi, 0xc0(%rbx)
movq %rdx, (%r9,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %rdi
movq %rdi, 0xc0(%rbx)
movq %rsi, (%r9,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %rdi
movq %rdi, 0xc0(%rbx)
movq %r14, (%r9,%rax,8)
movq 0xc0(%rbx), %rax
leaq 0x1(%rax), %rdi
movq %rdi, 0xc0(%rbx)
movq %r8, (%r9,%rax,8)
cmpl %ebp, 0x14(%rsp)
movq 0x50(%rsp), %r14
movq 0x48(%rsp), %r9
movl 0x20(%rsp), %edi
jle 0x8d1e6
subl %ebp, %edi
cmpl %r11d, %edi
jge 0x8d1c5
movq 0x18(%rsp), %rax
movl %eax, %edi
subl %r9d, %edi
incl %edi
movq 0x40(%rsp), %r10
addl %ebp, %r10d
subl %r9d, %r10d
leal (%r14,%rbp), %r8d
subl %r9d, %r8d
movl %edx, %eax
andl $0x1, %eax
addl %eax, %ecx
movl %esi, %eax
andl $0x1, %eax
subl %eax, %ecx
cmpl %ebp, %ecx
jg 0x8d1b4
cmpl 0x2c(%rbx), %ecx
jge 0x8d1b4
movl %ecx, 0x2c(%rbx)
movl %r8d, 0x10(%rbx)
movl %edi, 0x1c(%rbx)
shrq %rdx
shrq %rsi
decl %r8d
decl %r10d
jne 0x8d193
movl %r11d, %edi
cmpl %ebp, %ecx
jg 0x8d1e6
cmpl 0x2c(%rbx), %ecx
jge 0x8d1e6
movl %ecx, 0x2c(%rbx)
movl %r14d, %eax
subl %edi, %eax
movl %eax, 0x10(%rbx)
movq 0x18(%rsp), %rax
subl %r9d, %eax
incl %eax
movl %eax, 0x1c(%rbx)
movl 0x20(%rbx), %ecx
subl 0x1c(%rbx), %ecx
incl %ecx
cmpl %r9d, %ecx
je 0x8d210
movslq %r9d, %rsi
movq 0xc0(%rbx), %rax
xorl %edx, %edx
divq %rsi
movslq %ecx, %rcx
imulq %rax, %rcx
movq %rcx, 0xc0(%rbx)
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 %ebp, %esi
xorl %edx, %edx
callq 0x9cb86
movl %r14d, %eax
subl 0x14(%rbx), %eax
subl 0x10(%rbx), %r14d
movl %eax, 0x10(%rbx)
movl %r14d, 0x14(%rbx)
addq $0xc8, %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 0x8d2c8
movq 0xb8(%rbx), %rax
xorl %edx, %edx
movl $0x2, %r14d
cmpq 0xb0(%rbx), %rdx
jne 0x8d2a4
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
cmoveq %r14, %rsi
movq %rsi, 0xb0(%rbx)
addq %rsi, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0xb8(%rbx)
movq 0xa8(%rbx), %rdx
leaq 0x1(%rdx), %rcx
movq %rcx, 0xa8(%rbx)
movw $0x3fff, (%rax,%rdx,2)  # imm = 0x3FFF
addl $0xffffc001, %ebp       # imm = 0xFFFFC001
movq %rcx, %rdx
cmpl $0x3ffe, %ebp           # imm = 0x3FFE
ja 0x8d270
jmp 0x8d2ca
xorl %ecx, %ecx
testl %ebp, %ebp
je 0x8d23f
cmpq 0xb0(%rbx), %rcx
jne 0x8d311
leaq (%rcx,%rcx), %rax
testq %rcx, %rcx
movl $0x2, %esi
cmovneq %rax, %rsi
movq %rsi, 0xb0(%rbx)
movq 0xb8(%rbx), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0xb8(%rbx)
movq 0xa8(%rbx), %rcx
jmp 0x8d318
movq 0xb8(%rbx), %rax
leaq 0x1(%rcx), %rdx
movq %rdx, 0xa8(%rbx)
movw %bp, (%rax,%rcx,2)
jmp 0x8d23f