// File: /workspace/github_cpp_makefile_star2_O1/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, 0x4(%rsp)
movq %rdx, 0x40(%rsp)
movq 0xb8(%rsp), %rbx
movq 0xb0(%rsp), %rax
movq $0x0, 0xa8(%rbx)
movl 0x2c(%rbx), %edx
cmpl %r8d, %edx
jle 0x92e6e
movl %r8d, 0x28(%rbx)
movl $0x7fffffff, 0x2c(%rbx) # imm = 0x7FFFFFFF
movl %esi, 0x18(%rbx)
movl %ecx, 0x24(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $-0x1, 0x10(%rbx)
movl $0x0, 0x1c(%rbx)
leal -0x1(%rcx), %edx
movl %edx, 0x20(%rbx)
jmp 0x92e72
testl %edx, %edx
je 0x92ec4
movq %rdi, 0x18(%rsp)
movq %r8, 0x8(%rsp)
leal (%r8,%r8,2), %r8d
leal (%r8,%rcx), %edx
cmpl %esi, %edx
setl %dil
movq %rsi, 0x10(%rsp)
movq %r8, 0x38(%rsp)
leal (%r8,%rsi), %edx
movq %rcx, 0x30(%rsp)
cmpl %ecx, %edx
setl %dl
orb %dil, %dl
jne 0x9393a
movq 0x8(%rsp), %r14
leal (%r14,%r14), %ebp
testq %rax, %rax
je 0x92fae
movl (%rax), %eax
jmp 0x92fb5
movl 0x20(%rbx), %ebp
subl 0x1c(%rbx), %ebp
incl %ebp
cmpl $0x3fff, %ebp           # imm = 0x3FFF
jb 0x92f3f
movl $0x2, %r14d
movq 0xb0(%rbx), %rax
cmpq %rax, 0xa8(%rbx)
jne 0x92f12
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 0x92eda
testl %ebp, %ebp
je 0x92f9d
movq 0xb0(%rbx), %rax
cmpq %rax, 0xa8(%rbx)
jne 0x92f80
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)
movl 0x14(%rbx), %eax
subl 0x20(%rbx), %eax
addl 0x1c(%rbx), %eax
movl %eax, 0x10(%rbx)
jmp 0x9393a
movl %ebp, %eax
sarl $0x6, %eax
incl %eax
movq 0x18(%rsp), %r15
movl %eax, 0x30(%rbx)
cmpl %r14d, 0x3c(%rbx)
jge 0x930b4
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 0x930b0
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 %r14d, 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, %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 0x4(%rsp), %ecx
movl %ecx, %eax
sarl $0x6, %eax
movslq %eax, %r14
cmpl $0x40, %ecx
jb 0x93156
movq 0x80(%rbx), %rdi
leaq (,%r14,8), %rdx
movl $0xff, %esi
callq 0x20e0
movl 0x4(%rsp), %ecx
andl $0x3f, %ecx
je 0x93177
movq $-0x1, %rax
shlq %cl, %rax
notq %rax
movq 0x80(%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movl %ebp, %eax
orl $0x1, %eax
subl 0x4(%rsp), %eax
movq 0x10(%rsp), %rcx
cmpl %ecx, %eax
cmovgel %ecx, %eax
testl %eax, %eax
jle 0x931ca
movl %eax, %eax
movl 0x4(%rsp), %edx
xorl %esi, %esi
leaq 0x19a873(%rip), %rdi    # 0x22da10
leal (%rdx,%rsi), %ecx
movl $0x1, %r8d
shlq %cl, %r8
movzbl (%r15,%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 0x9319d
movq 0x68(%rbx), %rdi
xorl %esi, %esi
movq 0x20(%rsp), %rdx
callq 0x20e0
movl 0x30(%rbx), %eax
movq 0x30(%rsp), %r14
imull %r14d, %eax
leal (%rax,%rax,4), %eax
cltq
movq %rax, 0xc0(%rbx)
cmpq %rax, 0xc8(%rbx)
jae 0x93255
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 %rax, 0xd0(%rbx)
leal -0x1(%r14), %edx
movq $0x0, 0xc0(%rbx)
movl %ebp, %ecx
andb $0x3e, %cl
movl $0x1, %eax
shlq %cl, %rax
movq %rax, 0x60(%rsp)
cmpl $0x2, %r14d
movq %rdx, 0x50(%rsp)
jl 0x935d6
movl %ebp, %eax
movl 0x4(%rsp), %ecx
subl %ecx, %eax
sarl $0x6, %ebp
movslq %ebp, %rsi
movq %rsi, 0x58(%rsp)
movslq %eax, %r12
movslq 0x10(%rsp), %rax
movq %rax, 0x70(%rsp)
movl %edx, %eax
movq %rax, 0x68(%rsp)
xorl %r14d, %r14d
movl %ecx, %r13d
movq %r12, 0x48(%rsp)
movl %r13d, 0x2c(%rsp)
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x9337b
movq 0x40(%rsp), %rcx
movzbl (%rcx,%r14), %ecx
leaq 0x19a736(%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 %r12d, %r12d
movq (%rsi,%r11,8), %r13
orq (%rcx,%r11,8), %r13
movq %r13, (%rdi,%r11,8)
andq (%rdx,%r11,8), %r13
addq %r12, %r13
setb %r12b
movq %r13, (%r8,%r11,8)
addq (%rdx,%r11,8), %r13
movq %r13, (%r8,%r11,8)
movq (%rdx,%r11,8), %r15
cmpq %r15, %r13
setb %bpl
xorq %r15, %r13
movq %r13, (%r8,%r11,8)
orq (%rdi,%r11,8), %r13
orb %r12b, %bpl
movq %r13, (%r8,%r11,8)
andq (%rdx,%r11,8), %r13
movq %r13, (%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 %bpl, %r12d
movq %r15, (%r10,%r11,8)
incq %r11
cmpq %r11, %rax
jne 0x93310
testl %eax, %eax
jle 0x933f5
movq 0x90(%rbx), %rcx
movq 0x88(%rbx), %rdx
movq 0xa0(%rbx), %rsi
movq 0x78(%rbx), %rdi
movq 0x80(%rbx), %r8
movq 0x98(%rbx), %r9
leaq 0x1(%rax), %r10
xorl %r11d, %r11d
movq -0x10(%rcx,%r10,8), %r15
shrq %r15
orq %r11, %r15
movq %r15, -0x10(%rdx,%r10,8)
movq -0x10(%rcx,%r10,8), %r11
andq -0x10(%rsi,%r10,8), %r15
movq %r15, -0x10(%r8,%r10,8)
movq -0x10(%rsi,%r10,8), %r15
orq -0x10(%rdx,%r10,8), %r15
notq %r15
movq %r15, -0x10(%rdi,%r10,8)
orq -0x10(%r9,%r10,8), %r15
shlq $0x3f, %r11
movq %r15, -0x10(%rdi,%r10,8)
decq %r10
cmpq $0x1, %r10
jg 0x933ad
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
movl 0x2c(%rsp), %r13d
jne 0x9341b
cmpl 0x38(%rsp), %r13d
movq 0x48(%rsp), %r12
jge 0x9393a
incl %r13d
jmp 0x93420
movq 0x48(%rsp), %r12
cmpl $0x2, %eax
jl 0x9348c
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), %r15
shldq $0x3f, %r11, %r15
movq %r15, (%rcx,%r10,8)
movq (%rdx,%r10,8), %r11
movq 0x8(%rdx,%r10,8), %r15
shldq $0x3f, %r11, %r15
movq %r15, (%rdx,%r10,8)
movq (%rdi,%r10,8), %r11
movq 0x8(%rdi,%r10,8), %r15
shldq $0x3f, %r11, %r15
movq %r15, (%rdi,%r10,8)
movq (%r8,%r10,8), %r11
movq 0x8(%r8,%r10,8), %r15
shldq $0x3f, %r11, %r15
movq %r15, (%r8,%r10,8)
incq %r10
cmpq %r10, %r9
jne 0x9343c
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)
incq %r12
movl $0x4, %eax
cmpq 0x70(%rsp), %r12
jge 0x934d4
movq 0x18(%rsp), %rax
movzbl (%rax,%r12), %eax
leaq 0x19a540(%rip), %rcx    # 0x22da10
movzbl (%rcx,%rax), %eax
cmpl $0x3, %eax
ja 0x934ec
movq 0x48(%rbx,%rax,8), %rax
movq 0x60(%rsp), %rcx
movq 0x58(%rsp), %rdx
orq %rcx, (%rax,%rdx,8)
incq %r14
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x20(%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)
cmpq 0x68(%rsp), %r14
jne 0x932b2
movl %r14d, %ecx
jmp 0x935dd
xorl %ecx, %ecx
movl 0x4(%rsp), %r13d
movslq 0x30(%rbx), %rax
testq %rax, %rax
jle 0x9369b
movq 0x40(%rsp), %rdx
movzbl (%rdx,%rcx), %ecx
leaq 0x19a416(%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 0x93630
testl %eax, %eax
jle 0x93714
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 0x936cc
movq 0x90(%rbx), %rsi
testb $0x1, (%rsi)
jne 0x9372e
cmpl 0x38(%rsp), %r13d
jge 0x9393a
incl %r13d
movq 0x8(%rsp), %r14
movq 0xc0(%rbx), %rdi
shlq $0x3, %rdi
addq 0xd0(%rbx), %rdi
movq 0x20(%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)
movl 0x2c(%rbx), %ecx
cmpl %r14d, %ecx
jle 0x9391b
movq 0x10(%rsp), %r10
subl 0x30(%rsp), %r10d
movl 0x4(%rsp), %eax
addl %eax, %r10d
movq 0x50(%rsp), %r12
subl %eax, %r12d
sets %al
testl %r10d, %r10d
setg %dl
andb %al, %dl
xorl %eax, %eax
cmpb $0x1, %dl
jne 0x93880
movq 0x78(%rbx), %rdx
movq 0x80(%rbx), %rsi
xorl %eax, %eax
leal (%r12,%rax), %edi
movl %eax, %r8d
shrl $0x6, %r8d
movq (%rdx,%r8,8), %r9
btq %rax, %r9
adcl $0x0, %r13d
movq (%rsi,%r8,8), %r8
btq %rax, %r8
sbbl $0x0, %r13d
incl %eax
cmpl $-0x2, %edi
jg 0x9387d
cmpl %r10d, %eax
jl 0x9384e
addl %eax, %r12d
cmpl %r14d, %r13d
setg %dl
cmpl %ecx, %r13d
setg %cl
orb %dl, %cl
jne 0x93898
movl %r13d, 0x2c(%rbx)
movl %r12d, 0x14(%rbx)
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl %r10d, %eax
jge 0x93907
movq 0x78(%rbx), %rdx
movq 0x80(%rbx), %rsi
leal -0x1(%r14), %edi
leal 0x1(%r12), %r8d
movl %eax, %r9d
movq %r10, %r15
movl %r9d, %r10d
shrl $0x6, %r10d
movq (%rdx,%r10,8), %r11
btq %r9, %r11
adcl $0x0, %r13d
movq (%rsi,%r10,8), %r10
btq %r9, %r10
sbbl $0x0, %r13d
cmpl %r14d, %r13d
jg 0x938ee
cmpl 0x2c(%rbx), %r13d
jg 0x938ee
movl %r13d, 0x2c(%rbx)
movl %r8d, 0x14(%rbx)
cmpl %r9d, %edi
cmovel %r13d, %ecx
leal 0x1(%r9), %r10d
incl %r8d
movl %r10d, %r9d
cmpl %r15d, %r10d
movq %r15, %r10
jl 0x938b9
cmpl %r14d, %ecx
jg 0x9391b
cmpl 0x2c(%rbx), %ecx
jne 0x9391b
subl %eax, %r12d
addl %r14d, %r12d
movl %r12d, 0x14(%rbx)
movq %rbx, %rdi
movl 0x4(%rsp), %esi
movl $0x1, %edx
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x9c469
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq