// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: ed_band_cal_semi_infi_w_absent_diag_trace(char*, int, char*, int, int, int, int*, bit_extz_t*)
inline void ed_band_cal_semi_infi_w_absent_diag_trace(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, int32_t abs_diag, 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->pe = -1; ez->ts = 0; ez->te = tn-1;
	} else if(ez->err == 0) {//diff
        push_trace(&(ez->cigar), 0, ez->te+1-ez->ts); //diff
        ez->ps = ez->pe - (ez->te-ez->ts);//diff
        return;//diff
    }
	int32_t bd, i, err = abs_diag, i_bd, cut = thre+(thre<<1), tn0 = tn - 1, wz, wz1, ws, Peq_i; w_sig c, ad, Peq_m;
	if((pn > tn + cut) || (tn > pn + cut)) return;

	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);
	memset((ez->VP).a, 0, wz);
	w_infi_set_bit_lsub(ez->VN, abs_diag, ez->nword); /**VN = (((Word)1)<<(abs_diag))-1; ;**/ 

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

	memset((ez->Peq[4]).a, 0, wz);

	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[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;

		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 - abs_diag;/**up bound**/
    /**in most cases, ai = (thre<<1)**/
    int32_t ai = pn - tn + abs_diag, uge = INT32_MAX; i = 0;
	if(ez->err > thre) {//diff
		for (i = 0; site < 0 && i < ai; i++, site++) {
			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 ((err <= thre) && (err <= ez->err)) {
			ez->err = err; ez->pe = site;
		}
		site -= i;
		while (i < ai) {
			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));
			++i;
			if ((err <= thre) && (err <= ez->err)) {
				ez->err = err; ez->pe = site + i;
			}
			if(i == thre) uge = err;
		}
		if((uge <= thre) && (uge == ez->err)) ez->pe = site + thre;
	}
	gen_trace(ez, abs_diag, 1);//diff
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %r9d, (%rsp)
movl %r8d, %r15d
movl %ecx, %r8d
movq %rdx, 0x50(%rsp)
movl %esi, %r12d
movq 0xb8(%rsp), %rbx
movq 0xb0(%rsp), %rax
movq $0x0, 0xa8(%rbx)
movl 0x2c(%rbx), %ecx
cmpl %r15d, %ecx
jle 0x92de8
movl %r15d, 0x28(%rbx)
movl $0x7fffffff, 0x2c(%rbx) # imm = 0x7FFFFFFF
movl %r12d, 0x18(%rbx)
movl %r8d, 0x24(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $-0x1, 0x10(%rbx)
movl $0x0, 0x1c(%rbx)
leal -0x1(%r8), %ecx
movq %rcx, 0x8(%rsp)
movl %ecx, 0x20(%rbx)
jmp 0x92df5
testl %ecx, %ecx
je 0x92e37
leal -0x1(%r8), %ecx
movq %rcx, 0x8(%rsp)
movq %rdi, 0x48(%rsp)
leal (%r15,%r15,2), %edx
leal (%rdx,%r8), %ecx
cmpl %r12d, %ecx
setl %cl
movq %rdx, 0x30(%rsp)
addl %r12d, %edx
movq %r8, 0x10(%rsp)
cmpl %r8d, %edx
setl %dl
orb %cl, %dl
jne 0x938ab
leal (%r15,%r15), %ebp
testq %rax, %rax
je 0x92eb5
movl (%rax), %ecx
jmp 0x92ebc
movl 0x20(%rbx), %ebp
subl 0x1c(%rbx), %ebp
incl %ebp
cmpl $0x3fff, %ebp           # imm = 0x3FFF
jb 0x9380c
movq 0xb8(%rbx), %rax
xorl %edx, %edx
movl $0x2, %r14d
cmpq 0xb0(%rbx), %rdx
jne 0x92e8e
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 0x92e5a
jmp 0x9380e
movl %ebp, %ecx
sarl $0x6, %ecx
incl %ecx
movl %ecx, 0x30(%rbx)
cmpl %r15d, 0x3c(%rbx)
jge 0x92fbc
movl %ebp, %eax
shrl $0x6, %eax
leal (%rax,%rax,2), %eax
leal 0xc(,%rax,4), %eax
movl %eax, 0x3c(%rbx)
cmpl 0x38(%rbx), %eax
jbe 0x92fb8
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 %r15d, 0x3c(%rbx)
shll $0x3, %ecx
movq 0x48(%rbx), %rdi
movslq %ecx, %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, %rdx
callq 0x20e0
movq 0x78(%rbx), %rdi
xorl %esi, %esi
movq %r14, 0x20(%rsp)
movq %r14, %rdx
callq 0x20e0
movq 0x80(%rbx), %rdi
movslq 0x30(%rbx), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
movl (%rsp), %ecx
movl %ecx, %eax
sarl $0x6, %eax
movslq %eax, %r14
cmpl $0x40, %ecx
jb 0x9305a
movq 0x80(%rbx), %rdi
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movl (%rsp), %ecx
andl $0x3f, %ecx
je 0x9307a
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x80(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movl %ebp, %eax
orl $0x1, %eax
subl (%rsp), %eax
cmpl %r12d, %eax
cmovgel %r12d, %eax
testl %eax, %eax
movq 0x48(%rsp), %r10
jle 0x930cd
movl %eax, %eax
movl (%rsp), %edx
xorl %esi, %esi
leaq 0x1a6b80(%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 0x930a0
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq 0x20(%rsp), %rdx
callq 0x20e0
movl 0x30(%rbx), %eax
movq 0x10(%rsp), %rdx
movl %edx, %ecx
imull %eax, %ecx
leal (%rcx,%rcx,4), %ecx
movslq %ecx, %rcx
movq %rcx, 0xc0(%rbx)
cmpq %rcx, 0xc8(%rbx)
jae 0x93162
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 0x10(%rsp), %rdx
movq %rax, 0xd0(%rbx)
movl 0x30(%rbx), %eax
movq $0x0, 0xc0(%rbx)
movl %ebp, %ecx
andb $0x3e, %cl
movl $0x1, %esi
shlq %cl, %rsi
movq %rsi, 0x68(%rsp)
cmpl $0x2, %edx
movq %r15, 0x40(%rsp)
movq %r12, 0x38(%rsp)
jl 0x934db
movl %ebp, %ecx
movl (%rsp), %edx
subl %edx, %ecx
sarl $0x6, %ebp
movslq %ebp, %rsi
movq %rsi, 0x60(%rsp)
movslq %ecx, %rcx
movq %rcx, 0x58(%rsp)
movslq %r12d, %rcx
movq %rcx, 0x70(%rsp)
movl 0x8(%rsp), %ecx
movq %rcx, 0x18(%rsp)
movq $0x0, 0x28(%rsp)
movl %edx, %ebp
movq 0x90(%rbx), %rsi
testl %eax, %eax
jle 0x9330c
movl %ebp, 0x4(%rsp)
movq 0x50(%rsp), %rcx
movq 0x28(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
leaq 0x1a6a30(%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 %r12d, %r12d
xorl %r13d, %r13d
movq (%r8,%r12,8), %r15
orq (%rdx,%r12,8), %r15
movq %r15, (%r9,%r12,8)
andq (%rdi,%r12,8), %r15
addq %r13, %r15
setb %r13b
movq %r15, (%rsi,%r12,8)
addq (%rdi,%r12,8), %r15
movq %r15, (%rsi,%r12,8)
movq (%rdi,%r12,8), %rbp
cmpq %rbp, %r15
setb %r14b
xorq %rbp, %r15
movq %r15, (%rsi,%r12,8)
orq (%r9,%r12,8), %r15
orb %r13b, %r14b
movq %r15, (%rsi,%r12,8)
andq (%rdi,%r12,8), %r15
movq %r15, (%r10,%r12,8)
movq (%rsi,%r12,8), %r15
orq (%rdi,%r12,8), %r15
notq %r15
movq %r15, (%r11,%r12,8)
orq (%r8,%r12,8), %r15
movzbl %r14b, %r13d
movq %r15, (%r11,%r12,8)
incq %r12
cmpq %r12, %rcx
jne 0x93221
testl %eax, %eax
movq 0x40(%rsp), %r15
movq 0x38(%rsp), %r12
movl 0x4(%rsp), %ebp
jle 0x9330c
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 0x932c4
testb $0x1, (%rsi)
jne 0x9331d
cmpl 0x30(%rsp), %ebp
jge 0x938ab
incl %ebp
movq %r12, %r13
leal -0x1(%rax), %ecx
movq 0x48(%rbx), %rdx
movq 0x50(%rbx), %rdi
movq 0x58(%rbx), %r8
movq 0x60(%rbx), %r9
cmpl $0x2, %eax
jl 0x9338d
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 0x9333d
movq %r15, %r12
movslq %ecx, %rax
shrq (%rdx,%rax,8)
shrq (%rdi,%rax,8)
shrq (%r8,%rax,8)
shrq (%r9,%rax,8)
movq 0x58(%rsp), %rdi
incq %rdi
cmpq 0x70(%rsp), %rdi
jge 0x933df
movq 0x48(%rsp), %rax
movzbl (%rax,%rdi), %eax
leaq 0x1a685e(%rip), %rcx    # 0x239c20
movzbl (%rcx,%rax), %eax
cmpq $0x3, %rax
ja 0x933df
movq 0x48(%rbx,%rax,8), %rax
movq 0x68(%rsp), %rcx
movq 0x60(%rsp), %rdx
orq %rcx, (%rax,%rdx,8)
movq %rdi, 0x58(%rsp)
movq 0x28(%rsp), %r15
incq %r15
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x20(%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 %r15, 0x28(%rsp)
cmpq 0x18(%rsp), %r15
movq %r12, %r15
movq %r13, %r12
jne 0x931c8
jmp 0x934e7
movq $0x0, 0x18(%rsp)
movl (%rsp), %ebp
testl %eax, %eax
jle 0x93634
movl %ebp, 0x4(%rsp)
movq 0x50(%rsp), %rcx
movq 0x18(%rsp), %rdx
movzbl (%rcx,%rdx), %ecx
leaq 0x1a6718(%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 0x93540
testl %eax, %eax
movq 0x40(%rsp), %r15
movq 0x38(%rsp), %r12
movl 0x4(%rsp), %ebp
jle 0x93634
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 0x935ea
jmp 0x9363b
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
jne 0x9364c
cmpl 0x30(%rsp), %ebp
jge 0x938ab
incl %ebp
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x20(%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)
movl 0x2c(%rbx), %eax
cmpl %r15d, %eax
jle 0x9386b
subl 0x10(%rsp), %r12d
movl (%rsp), %ecx
addl %ecx, %r12d
movq 0x8(%rsp), %r10
subl %ecx, %r10d
sets %cl
testl %r12d, %r12d
setg %dl
andb %cl, %dl
xorl %ecx, %ecx
cmpb $0x1, %dl
jne 0x93791
movq 0x78(%rbx), %rdx
movq 0x80(%rbx), %rsi
xorl %ecx, %ecx
leal (%r10,%rcx), %edi
movl %ecx, %r8d
shrl $0x6, %r8d
movq (%rdx,%r8,8), %r9
btq %rcx, %r9
adcl $0x0, %ebp
movq (%rsi,%r8,8), %r8
btq %rcx, %r8
sbbl $0x0, %ebp
incl %ecx
cmpl $-0x1, %edi
je 0x9378e
cmpl %r12d, %ecx
jl 0x93761
addl %ecx, %r10d
cmpl %r15d, %ebp
jg 0x9379f
movl %ebp, 0x2c(%rbx)
movl %r10d, 0x14(%rbx)
movl %ebp, %eax
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
cmpl %r12d, %ecx
jge 0x93855
movq 0x78(%rbx), %rsi
movq 0x80(%rbx), %rdi
leal -0x1(%r15), %r8d
movq %r10, %r13
leal 0x1(%r10), %r9d
movl %ecx, %r10d
movl %r10d, %r11d
shrl $0x6, %r11d
movq (%rsi,%r11,8), %r14
btq %r10, %r14
adcl $0x0, %ebp
movq (%rdi,%r11,8), %r11
btq %r10, %r11
sbbl $0x0, %ebp
cmpl %r15d, %ebp
jg 0x937f5
cmpl %eax, %ebp
jg 0x937f5
movl %ebp, 0x2c(%rbx)
movl %r9d, 0x14(%rbx)
movl %ebp, %eax
cmpl %r10d, %r8d
cmovel %ebp, %edx
leal 0x1(%r10), %r11d
incl %r9d
movl %r11d, %r10d
cmpl %r12d, %r11d
jl 0x937c6
jmp 0x93858
xorl %ecx, %ecx
testl %ebp, %ebp
je 0x9389f
cmpq 0xb0(%rbx), %rcx
jne 0x93889
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 0x93890
movq %r10, %r13
cmpl %r15d, %edx
jg 0x9386b
cmpl %eax, %edx
jne 0x9386b
subl %ecx, %r13d
addl %r15d, %r13d
movl %r13d, 0x14(%rbx)
movq %rbx, %rdi
movl (%rsp), %esi
movl $0x1, %edx
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9cb86
movq 0xb8(%rbx), %rax
leaq 0x1(%rcx), %rdx
movq %rdx, 0xa8(%rbx)
movw %bp, (%rax,%rcx,2)
movl 0x14(%rbx), %eax
subl 0x20(%rbx), %eax
addl 0x1c(%rbx), %eax
movl %eax, 0x10(%rbx)
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq