// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: ed_band_cal_global_infi_w_trace(char*, int, char*, int, int, int*, bit_extz_t*)
inline void ed_band_cal_global_infi_w_trace(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, int32_t *nword, bit_extz_t *ez)
{
	ez->cigar.n = 0;//diff
	if(ez->err > thre) {//diff
		init_base_ed(*ez, thre, pn, tn); ez->ps = ez->ts = 0;
	} else if(ez->err == 0) {//diff
        push_trace(&(ez->cigar), 0, ez->te+1-ez->ts); return;//diff
    }
	if((pn > tn + thre) || (tn > pn + thre)) return;
	int32_t i, err, tn0 = tn - 1, cut = thre+(thre<<1), bd, i_bd, wz, wz1, Peq_i, ws; 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;
	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));
    while (i < tn0) {
		// fprintf(stderr, "\ni::%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;
        }

		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;
		// fprintf(stderr, "c::%u\n", c);
		// print_bits(ez->Peq[c].a, (((thre<<1))+1), "Peq[c]");

		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**/
	if(ez->err > thre) {//diff
		for (cut = pn - 1, i = 0; site < cut; site++, 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));
		}
		
		if (site == cut && err <= thre) {
			ez->err = err; 
			ez->pe = pn-1; ez->te = tn-1;
		}
	}
	gen_trace(ez, thre, 1);//diff
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %ecx, %r15d
movq %rdx, 0x40(%rsp)
movq 0xb0(%rsp), %rbx
movq $0x0, 0xa8(%rbx)
movl 0x2c(%rbx), %eax
cmpl %r8d, %eax
jle 0x9040c
movl %r8d, 0x28(%rbx)
movl $0x7fffffff, 0x2c(%rbx) # imm = 0x7FFFFFFF
movl %esi, 0x18(%rbx)
movl %r15d, 0x24(%rbx)
xorl %eax, %eax
movl %eax, 0x1c(%rbx)
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx)
movl %eax, 0x10(%rbx)
jmp 0x90410
testl %eax, %eax
je 0x90459
movq %rdi, 0x38(%rsp)
leal (%r8,%r15), %eax
cmpl %esi, %eax
setl %al
movq %r8, 0x8(%rsp)
movq %rsi, 0x18(%rsp)
leal (%r8,%rsi), %ecx
subl %r15d, %ecx
movq %rcx, 0x48(%rsp)
setl %cl
orb %al, %cl
jne 0x90fa5
movq 0x8(%rsp), %r14
leal (%r14,%r14), %r13d
testq %r9, %r9
je 0x904d7
movl (%r9), %ecx
jmp 0x904df
movl 0x20(%rbx), %ebp
subl 0x1c(%rbx), %ebp
incl %ebp
cmpl $0x3fff, %ebp           # imm = 0x3FFF
jb 0x90f4a
movq 0xb8(%rbx), %rax
xorl %edx, %edx
movl $0x2, %r14d
cmpq 0xb0(%rbx), %rdx
jne 0x904b0
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 0x9047c
jmp 0x90f4c
movl %r13d, %ecx
sarl $0x6, %ecx
incl %ecx
movl %ecx, 0x30(%rbx)
cmpl %r14d, 0x3c(%rbx)
jge 0x905e0
movl %r13d, %eax
shrl $0x6, %eax
leal (%rax,%rax,2), %eax
leal 0xc(,%rax,4), %eax
movl %eax, 0x3c(%rbx)
cmpl 0x38(%rbx), %eax
jbe 0x905dc
movq 0x40(%rbx), %rdi
movl %eax, %esi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x40(%rbx)
movl 0x30(%rbx), %ecx
movl 0x3c(%rbx), %esi
movl $0xaaaaaaab, %edx       # imm = 0xAAAAAAAB
imulq %rsi, %rdx
movq %rdx, %rsi
shrq $0x20, %rsi
shrq $0x23, %rdx
movl %edx, 0x3c(%rbx)
movq %rax, 0x48(%rbx)
andl $-0x8, %esi
leaq (%rax,%rsi), %rdi
movq %rdi, 0x50(%rbx)
leal (%rdx,%rdx), %edi
leaq (%rax,%rdi,8), %r8
movq %r8, 0x58(%rbx)
leal (%rdx,%rdx,2), %r8d
leaq (%rax,%r8,8), %r8
movq %r8, 0x60(%rbx)
leal (,%rdx,4), %r8d
leaq (%rax,%r8,8), %r9
movq %r9, 0x68(%rbx)
leal (%rdx,%rdx,4), %r9d
leaq (%rax,%r9,8), %r10
movq %r10, 0x70(%rbx)
leal (%rdi,%rdi,2), %r10d
leaq (%rax,%r10,8), %r10
movq %r10, 0x78(%rbx)
leal (,%rdx,8), %r10d
subl %edx, %r10d
leaq (%rax,%r10,8), %r10
movq %r10, 0x80(%rbx)
leaq (%rax,%rsi,8), %rsi
movq %rsi, 0x88(%rbx)
leal (%rdx,%rdx,8), %esi
leaq (%rax,%rsi,8), %rsi
movq %rsi, 0x90(%rbx)
leal (%rdi,%rdi,4), %esi
leaq (%rax,%rsi,8), %rsi
movq %rsi, 0x98(%rbx)
leal (%rdx,%r9,2), %esi
leaq (%rax,%rsi,8), %rax
movq %rax, 0xa0(%rbx)
leal (%r8,%r8,2), %eax
movl %eax, 0x38(%rbx)
movl %edx, 0x34(%rbx)
movl %r14d, 0x3c(%rbx)
shll $0x3, %ecx
movq 0x48(%rbx), %rdi
movslq %ecx, %r12
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
movq 0x50(%rbx), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
movq 0x58(%rbx), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
movq 0x60(%rbx), %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x20e0
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq %r12, 0x28(%rsp)
movq %r12, %rdx
callq 0x20e0
leal 0x1(%r14), %eax
movq 0x18(%rsp), %rcx
cmpl %ecx, %eax
cmovgel %ecx, %eax
testl %eax, %eax
movq 0x38(%rsp), %r10
jle 0x90683
movl %eax, %eax
movl %r14d, %edx
xorl %esi, %esi
leaq 0x1a95ca(%rip), %rdi    # 0x239c20
leal (%rdx,%rsi), %ecx
movl $0x1, %r8d
shlq %cl, %r8
movzbl (%r10,%rsi), %r9d
movzbl (%rdi,%r9), %r9d
movq 0x48(%rbx,%r9,8), %r9
sarl $0x6, %ecx
movslq %ecx, %rcx
orq %r8, (%r9,%rcx,8)
incq %rsi
cmpq %rsi, %rax
jne 0x90656
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq 0x28(%rsp), %rdx
callq 0x20e0
movq 0x80(%rbx), %rdi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
movl %r14d, %eax
sarl $0x6, %eax
movq %r14, %rcx
movslq %eax, %r14
cmpl $0x40, %ecx
jb 0x906d3
movq 0x80(%rbx), %rdi
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movq 0x8(%rsp), %rax
movl %eax, %ecx
andl $0x3f, %ecx
je 0x906f7
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x80(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movq 0x78(%rbx), %rdi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
movl %r13d, %eax
sarl $0x6, %eax
cmpl $0x3f, %r13d
ja 0x9071a
movl %eax, %edx
jmp 0x90736
movq 0x78(%rbx), %rdi
movslq %eax, %r14
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movq %r14, %rdx
movq 0x8(%rsp), %r14
andl $0x3e, %r13d
leal 0x1(%r13), %ecx
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x78(%rbx), %rcx
movq %rdx, 0x58(%rsp)
movq %rax, (%rcx,%rdx,8)
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x9077f
movq 0x80(%rbx), %rdx
xorl %esi, %esi
movq (%rdx,%rsi,8), %rdi
xorq %rdi, (%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %rax
jne 0x9076f
movl %r15d, %ecx
imull %eax, %ecx
leal (%rcx,%rcx,4), %ecx
movslq %ecx, %rcx
movq %rcx, 0xc0(%rbx)
cmpq %rcx, 0xc8(%rbx)
jae 0x907f8
decq %rcx
movq %rcx, %rax
shrq %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x10, %rax
orq %rcx, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0xc8(%rbx)
movq 0xd0(%rbx), %rdi
leaq 0x8(,%rax,8), %rsi
callq 0x2370
movq %rax, 0xd0(%rbx)
movl 0x30(%rbx), %eax
leal -0x1(%r15), %edx
leal (%r14,%r14,2), %ecx
movl %ecx, 0x14(%rsp)
movq $0x0, 0xc0(%rbx)
movl $0x1, %esi
movl %r13d, %ecx
shlq %cl, %rsi
movq %rsi, 0x50(%rsp)
cmpl $0x2, %r15d
movl %edx, 0x34(%rsp)
jl 0x90b47
movslq %r14d, %r15
movslq 0x18(%rsp), %rcx
movq %rcx, 0x60(%rsp)
movl %edx, %ecx
movq %rcx, 0x20(%rsp)
xorl %r12d, %r12d
movl %r14d, 0x4(%rsp)
movq 0x90(%rbx), %rsi
testl %eax, %eax
jle 0x9098a
movq %r15, 0x70(%rsp)
movq 0x40(%rsp), %rcx
movq %r12, 0x68(%rsp)
movzbl (%rcx,%r12), %ecx
leaq 0x1a93ad(%rip), %rdx    # 0x239c20
movzbl (%rdx,%rcx), %ecx
movq 0x48(%rbx,%rcx,8), %rdx
movq 0x78(%rbx), %rdi
movq 0x80(%rbx), %r8
movq 0x88(%rbx), %r9
movq 0x98(%rbx), %r10
movq 0xa0(%rbx), %r11
movl %eax, %ecx
xorl %r13d, %r13d
xorl %ebp, %ebp
movq (%r8,%r13,8), %r12
orq (%rdx,%r13,8), %r12
movq %r12, (%r9,%r13,8)
andq (%rdi,%r13,8), %r12
addq %rbp, %r12
setb %bpl
movq %r12, (%rsi,%r13,8)
addq (%rdi,%r13,8), %r12
movq %r12, (%rsi,%r13,8)
movq (%rdi,%r13,8), %r14
cmpq %r14, %r12
setb %r15b
xorq %r14, %r12
movq %r12, (%rsi,%r13,8)
orq (%r9,%r13,8), %r12
orb %bpl, %r15b
movq %r12, (%rsi,%r13,8)
andq (%rdi,%r13,8), %r12
movq %r12, (%r10,%r13,8)
movq (%rsi,%r13,8), %r14
orq (%rdi,%r13,8), %r14
notq %r14
movq %r14, (%r11,%r13,8)
orq (%r8,%r13,8), %r14
movzbl %r15b, %ebp
movq %r14, (%r11,%r13,8)
incq %r13
cmpq %r13, %rcx
jne 0x908a3
testl %eax, %eax
movq 0x70(%rsp), %r15
movq 0x68(%rsp), %r12
jle 0x9098a
movq 0x88(%rbx), %rdx
movq 0xa0(%rbx), %rdi
movq 0x78(%rbx), %r8
movq 0x80(%rbx), %r9
movq 0x98(%rbx), %r10
incq %rcx
xorl %r11d, %r11d
movq -0x10(%rsi,%rcx,8), %r14
shrq %r14
orq %r11, %r14
movq %r14, -0x10(%rdx,%rcx,8)
movq -0x10(%rsi,%rcx,8), %r11
andq -0x10(%rdi,%rcx,8), %r14
movq %r14, -0x10(%r9,%rcx,8)
movq -0x10(%rdi,%rcx,8), %r14
orq -0x10(%rdx,%rcx,8), %r14
notq %r14
movq %r14, -0x10(%r8,%rcx,8)
orq -0x10(%r10,%rcx,8), %r14
shlq $0x3f, %r11
movq %r14, -0x10(%r8,%rcx,8)
decq %rcx
cmpq $0x1, %rcx
ja 0x90942
testb $0x1, (%rsi)
jne 0x909a3
movl 0x4(%rsp), %ecx
cmpl 0x14(%rsp), %ecx
jge 0x90fa5
incl %ecx
movl %ecx, 0x4(%rsp)
leal -0x1(%rax), %ecx
movq 0x48(%rbx), %rdx
movq 0x50(%rbx), %rdi
movq 0x58(%rbx), %r8
movq 0x60(%rbx), %r9
cmpl $0x2, %eax
jl 0x90a10
movl %ecx, %eax
xorl %r10d, %r10d
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)
movq (%r9,%r10,8), %r11
movq 0x8(%r9,%r10,8), %r14
shldq $0x3f, %r11, %r14
movq %r14, (%r9,%r10,8)
incq %r10
cmpq %r10, %rax
jne 0x909c0
movslq %ecx, %rax
shrq (%rdx,%rax,8)
shrq (%rdi,%rax,8)
shrq (%r8,%rax,8)
shrq (%r9,%rax,8)
incq %r15
cmpq 0x60(%rsp), %r15
jge 0x90a5b
movq 0x38(%rsp), %rax
movzbl (%rax,%r15), %eax
leaq 0x1a91e2(%rip), %rcx    # 0x239c20
movzbl (%rcx,%rax), %eax
cmpq $0x3, %rax
ja 0x90a5b
movq 0x48(%rbx,%rax,8), %rax
movq 0x58(%rsp), %rcx
movq 0x50(%rsp), %rdx
orq %rdx, (%rax,%rcx,8)
incq %r12
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x28(%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)
cmpq 0x20(%rsp), %r12
jne 0x90849
movq 0x8(%rsp), %r14
jmp 0x90b55
movq $0x0, 0x20(%rsp)
movl %r14d, 0x4(%rsp)
testl %eax, %eax
jle 0x90c95
movq 0x40(%rsp), %rcx
movq 0x20(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
leaq 0x1a90ae(%rip), %rdx    # 0x239c20
movzbl (%rdx,%rcx), %ecx
movq 0x48(%rbx,%rcx,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
movl %eax, %ecx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rdi,%r14,8), %r12
orq (%rdx,%r14,8), %r12
movq %r12, (%r8,%r14,8)
andq (%rsi,%r14,8), %r12
addq %r15, %r12
setb %bpl
movq %r12, (%r9,%r14,8)
addq (%rsi,%r14,8), %r12
movq %r12, (%r9,%r14,8)
movq (%rsi,%r14,8), %r15
cmpq %r15, %r12
setb %r13b
xorq %r15, %r12
movq %r12, (%r9,%r14,8)
orq (%r8,%r14,8), %r12
orb %bpl, %r13b
movq %r12, (%r9,%r14,8)
andq (%rsi,%r14,8), %r12
movq %r12, (%r10,%r14,8)
movq (%r9,%r14,8), %r12
orq (%rsi,%r14,8), %r12
notq %r12
movq %r12, (%r11,%r14,8)
orq (%rdi,%r14,8), %r12
movzbl %r13b, %r15d
movq %r12, (%r11,%r14,8)
incq %r14
cmpq %r14, %rcx
jne 0x90baa
testl %eax, %eax
movq 0x8(%rsp), %r14
jle 0x90c95
movq 0x90(%rbx), %rsi
movq 0x88(%rbx), %rax
movq 0xa0(%rbx), %rdx
movq 0x78(%rbx), %rdi
movq 0x80(%rbx), %r8
movq 0x98(%rbx), %r9
incq %rcx
xorl %r10d, %r10d
movq -0x10(%rsi,%rcx,8), %r11
shrq %r11
orq %r10, %r11
movq %r11, -0x10(%rax,%rcx,8)
movq -0x10(%rsi,%rcx,8), %r10
andq -0x10(%rdx,%rcx,8), %r11
movq %r11, -0x10(%r8,%rcx,8)
movq -0x10(%rdx,%rcx,8), %r11
orq -0x10(%rax,%rcx,8), %r11
notq %r11
movq %r11, -0x10(%rdi,%rcx,8)
orq -0x10(%r9,%rcx,8), %r11
shlq $0x3f, %r10
movq %r11, -0x10(%rdi,%rcx,8)
decq %rcx
cmpq $0x1, %rcx
ja 0x90c4b
jmp 0x90c9c
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
jne 0x90cba
movl 0x4(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x90fa5
incl %eax
movl %eax, 0x4(%rsp)
movq 0x8(%rsp), %r14
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x28(%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 %rax, 0xc0(%rbx)
cmpl %r14d, 0x2c(%rbx)
movq 0x18(%rsp), %r10
movl 0x34(%rsp), %r11d
jle 0x90f2c
movl %r11d, %eax
subl %r14d, %eax
decl %r10d
cmpl %r10d, %eax
jge 0x90f11
movq 0x78(%rbx), %rax
movq 0x80(%rbx), %rcx
movq 0x48(%rsp), %rsi
leal 0x1(%rsi), %edx
andl $-0x2, %edx
decl %esi
movd 0x4(%rsp), %xmm10
movd %esi, %xmm0
pshufd $0x50, %xmm0, %xmm0     # xmm0 = xmm0[0,0,1,1]
movq 0x1a0729(%rip), %xmm1   # 0x231510
xorl %esi, %esi
movdqa 0x1a04ef(%rip), %xmm2   # 0x2312e0
pxor %xmm2, %xmm0
movdqa 0x1a0743(%rip), %xmm3   # 0x231540
pcmpeqd %xmm4, %xmm4
pxor %xmm5, %xmm5
movaps 0x19fdc3(%rip), %xmm8   # 0x230bd0
movdqa 0x1a073a(%rip), %xmm9   # 0x231550
movdqa %xmm10, %xmm7
movdqa %xmm1, %xmm6
pxor %xmm2, %xmm6
pcmpgtd %xmm0, %xmm6
movl %esi, %edi
shrl $0x6, %edi
movd %xmm6, %r8d
notl %r8d
testb $0x1, %r8b
je 0x90e40
movq (%rax,%rdi,8), %xmm10
movdqa %xmm6, %xmm11
pxor %xmm4, %xmm11
pextrw $0x2, %xmm11, %r9d
testb $0x1, %r9b
je 0x90e61
movq (%rax,%rdi,8), %xmm11
punpcklqdq %xmm11, %xmm10  # xmm10 = xmm10[0],xmm11[0]
testb $0x1, %r8b
je 0x90e6d
movq (%rcx,%rdi,8), %xmm11
testb $0x1, %r9b
je 0x90e7e
movq (%rcx,%rdi,8), %xmm12
punpcklqdq %xmm12, %xmm11  # xmm11 = xmm11[0],xmm12[0]
movdqa %xmm1, %xmm12
pand %xmm3, %xmm12
movdqa %xmm12, %xmm13
punpckldq %xmm5, %xmm13   # xmm13 = xmm13[0],xmm5[0],xmm13[1],xmm5[1]
movdqa %xmm10, %xmm14
psrlq %xmm13, %xmm14
psrlq $0x20, %xmm12
psrlq %xmm12, %xmm10
movsd %xmm14, %xmm10          # xmm10 = xmm14[0],xmm10[1]
shufps $0xe8, %xmm10, %xmm10   # xmm10 = xmm10[0,2,2,3]
movdqa %xmm11, %xmm12
psrlq %xmm13, %xmm12
andps %xmm8, %xmm10
pshufd $0xee, %xmm13, %xmm13   # xmm13 = xmm13[2,3,2,3]
psrlq %xmm13, %xmm11
paddd %xmm7, %xmm10
movsd %xmm12, %xmm11          # xmm11 = xmm12[0],xmm11[1]
shufps $0xe8, %xmm11, %xmm11   # xmm11 = xmm11[0,2,2,3]
andps %xmm8, %xmm11
psubd %xmm11, %xmm10
addl $0x2, %esi
paddd %xmm9, %xmm1
cmpl %esi, %edx
jne 0x90e16
pand %xmm6, %xmm7
pandn %xmm10, %xmm6
por %xmm7, %xmm6
pshufd $0x55, %xmm6, %xmm0     # xmm0 = xmm6[1,1,1,1]
paddd %xmm6, %xmm0
movd %xmm0, 0x4(%rsp)
movl %r10d, %eax
cmpl %r10d, %eax
jne 0x90f2c
cmpl %r14d, 0x4(%rsp)
jg 0x90f2c
movl 0x4(%rsp), %eax
movl %eax, 0x2c(%rbx)
movl %r10d, 0x14(%rbx)
movl %r11d, 0x20(%rbx)
movq %rbx, %rdi
movl %r14d, %esi
movl $0x1, %edx
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9cb86
xorl %ecx, %ecx
testl %ebp, %ebp
je 0x90fa5
cmpq 0xb0(%rbx), %rcx
jne 0x90f8f
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 0x90f96
movq 0xb8(%rbx), %rax
leaq 0x1(%rcx), %rdx
movq %rdx, 0xa8(%rbx)
movw %bp, (%rax,%rcx,2)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq