LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Correct.h
// Function: init_DP_matrix(DP_matrix*, unsigned int)
inline void init_DP_matrix(DP_matrix* dp, uint32_t snp_num)
{

    if(snp_num > dp->snp_size)
    {
        dp->snp_size = snp_num;
        dp->max = (uint32_t*)realloc(dp->max, dp->snp_size * sizeof(uint32_t));
        dp->max_for_sort = (uint64_t*)realloc(dp->max_for_sort, dp->snp_size * sizeof(uint64_t));
        dp->visit = (uint8_t*)realloc(dp->visit, dp->snp_size * sizeof(uint8_t));
        dp->buffer = (uint32_t*)realloc(dp->buffer, dp->snp_size * sizeof(uint32_t));
        dp->max_buffer = (uint32_t*)realloc(dp->max_buffer, dp->snp_size * sizeof(uint32_t));


        
        dp->backtrack_length = (uint32_t*)realloc(dp->backtrack_length, dp->snp_size * sizeof(uint32_t));

        dp->backtrack_size = snp_num*snp_num;
        dp->backtrack = (uint32_t*)realloc(dp->backtrack, dp->backtrack_size * sizeof(uint32_t));
    }

    dp->snp_num = snp_num;

    clear_SNP_IDs(&(dp->SNP_IDs));


}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
cmpl %esi, 0x20(%rdi)
jae 0x539f4
movl %ebp, 0x20(%rbx)
movq 0x10(%rbx), %rdi
movl %ebp, %esi
shlq $0x2, %rsi
callq 0x2370
movq %rax, 0x10(%rbx)
movq 0x18(%rbx), %rdi
movl 0x20(%rbx), %esi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x18(%rbx)
movq 0x8(%rbx), %rdi
movl 0x20(%rbx), %esi
callq 0x2370
movq %rax, 0x8(%rbx)
movq 0x40(%rbx), %rdi
movl 0x20(%rbx), %esi
shlq $0x2, %rsi
callq 0x2370
movq %rax, 0x40(%rbx)
movq 0x48(%rbx), %rdi
movl 0x20(%rbx), %esi
shlq $0x2, %rsi
callq 0x2370
movq %rax, 0x48(%rbx)
movq 0x28(%rbx), %rdi
movl 0x20(%rbx), %esi
shlq $0x2, %rsi
callq 0x2370
movq %rax, 0x28(%rbx)
movl %ebp, %esi
imull %esi, %esi
movl %esi, 0x38(%rbx)
movq 0x30(%rbx), %rdi
shlq $0x2, %rsi
callq 0x2370
movq %rax, 0x30(%rbx)
movl %ebp, (%rbx)
andq $0x0, 0x68(%rbx)
andq $0x0, 0x88(%rbx)
orq $-0x1, 0x70(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: check_informative_site(haplotype_evdience_alloc*, SnpStats*)
inline int check_informative_site(haplotype_evdience_alloc* hap, SnpStats* snp)
{
    long long vectorID = snp->id;
    int8_t *vector = Get_SNP_Vector((*hap), vectorID);
    snp->occ_0 = 0;
    snp->occ_1 = 0;
    snp->occ_2 = 0;
    long long i;
    for (i = 0; i < Get_SNP_Vector_Length((*hap)); i++)
    {
        if(vector[i] == 0)
        {
            snp->occ_0++;
        }
        else if(vector[i] == 1)
        {
            snp->occ_1++;
        }
        else if(vector[i] == 2)
        {
            snp->occ_2++;
        }
    }

    if(snp->occ_0 >= 2 || snp->occ_1 >= 2)
    {
        return 1;
    }

    return 0;
}

// Assembly:
movl (%rsi), %eax
movl 0x1c8(%rdi), %ecx
imulq %rcx, %rax
addq 0x1d0(%rdi), %rax
andq $0x0, 0x8(%rsi)
andl $0x0, 0x10(%rsi)
xorl %edi, %edi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
cmpq %r9, %rcx
je 0x53a6a
movzbl (%rax,%r9), %r10d
cmpl $0x2, %r10d
je 0x53a60
cmpl $0x1, %r10d
je 0x53a59
testl %r10d, %r10d
jne 0x53a65
incl %r8d
movl %r8d, 0x8(%rsi)
jmp 0x53a65
incl %edx
movl %edx, 0xc(%rsi)
jmp 0x53a65
incl %edi
movl %edi, 0x10(%rsi)
incq %r9
jmp 0x53a35
cmpl $0x2, %r8d
setae %al
cmpl $0x2, %edx
setae %cl
orb %al, %cl
movzbl %cl, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: pop_trace(asg16_v*, unsigned int, unsigned short*, unsigned int*)
inline uint32_t pop_trace(asg16_v *res, uint32_t i, uint16_t *c, uint32_t *len)
{
	(*c) = (res->a[i]>>14); (*len) = (res->a[i]&(0x3fff));
	for (i++; (i < res->n) && ((*c) == (res->a[i]>>14)); i++) {
		(*len) += (res->a[i]&(0x3fff));
	}
	return i;
}

// Assembly:
movl %esi, %eax
movq 0x10(%rdi), %rsi
movl %eax, %r9d
movzwl (%rsi,%r9,2), %r8d
shrl $0xe, %r8d
movw %r8w, (%rdx)
movzwl (%rsi,%r9,2), %edx
andl $0x3fff, %edx           # imm = 0x3FFF
movq (%rdi), %rdi
incl %eax
movl %eax, %eax
cmpq %rax, %rdi
jbe 0x53ac7
movzwl (%rsi,%rax,2), %r9d
movl %r9d, %r10d
shrl $0xe, %r10d
cmpl %r8d, %r10d
jne 0x53ac7
andl $0x3fff, %r9d           # imm = 0x3FFF
addl %r9d, %edx
jmp 0x53aa1
movl %edx, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: simi_pass(long, long, unsigned int, double, double*)
uint32_t inline simi_pass(int64_t ol, int64_t aln_ol, uint32_t second_ck, double o_rate, double *e_rate)
{
    if(aln_ol == 0 || ol == 0) return 0;
    if((!second_ck) && (!e_rate)) {
        // if((ol*OVERLAP_THRESHOLD_FILTER) <= aln_ol) return 1;
        if((ol*o_rate) <= aln_ol) return 1;
    } else if(e_rate) {
        if((ol*((double)(((double)1.0)-(*e_rate)))) <= aln_ol) return 1;
    } else if(second_ck) {
        if(((ol*MIN_UL_ALIN_RATE) <= aln_ol) && (aln_ol >= MIN_UL_ALIN_LEN)) return 1;
    }

    // if(rref) {
    //     if((ol*OVERLAP_THRESHOLD_FILTER) <= aln_ol) return 1;
    // } else if(uref) {
    //     if(e_rate) {
    //         if((ol*((double)(((double)1.0)-(*e_rate)))) <= aln_ol) return 1;
    //     } else {
    //         if(((ol*MIN_UL_ALIN_RATE) <= aln_ol) && (aln_ol >= MIN_UL_ALIN_LEN)) return 1;
    //     }
    // }

    return 0;
}

// Assembly:
testq %rsi, %rsi
sete %r8b
testq %rdi, %rdi
sete %r9b
xorl %eax, %eax
orb %r8b, %r9b
jne 0x56b7b
testl %edx, %edx
setne %r8b
testq %rcx, %rcx
setne %r9b
orb %r8b, %r9b
je 0x56b67
testq %rcx, %rcx
je 0x56b7c
cvtsi2sd %rdi, %xmm0
movsd 0x18c73f(%rip), %xmm1   # 0x1e32a0
subsd (%rcx), %xmm1
jmp 0x56b6c
cvtsi2sd %rdi, %xmm1
mulsd %xmm0, %xmm1
cvtsi2sd %rsi, %xmm0
ucomisd %xmm1, %xmm0
jae 0x56ba1
retq
testl %edx, %edx
je 0x56b7b
cmpq $0x1c2, %rsi            # imm = 0x1C2
jl 0x56b7b
cvtsi2sd %rdi, %xmm0
mulsd 0x18c9b2(%rip), %xmm0   # 0x1e3548
cvtsi2sd %rsi, %xmm1
ucomisd %xmm0, %xmm1
jb 0x56b7b
pushq $0x1
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: return_str_seq(char*, long, long, unsigned char, hpc_t*, ul_idx_t const*, long, long, long)
inline char *return_str_seq(char *buf, int64_t s, int64_t pri_l, uint8_t rev, hpc_t *hpc_g, const ul_idx_t *uref, int64_t id, int64_t aux_beg, int64_t aux_end)
{
    if(!hpc_g) {
        memset(buf, 'N', aux_beg);
        retrieve_u_seq(NULL, buf+aux_beg, &(uref->ug->u.a[id]), rev, s, pri_l, NULL);
        memset(buf+aux_beg+pri_l, 'N', aux_end);
        return buf;
    } else {
        char *z = hpc_str(*hpc_g, id, rev);
        if((aux_beg == 0) && (aux_end == 0)) {
            return z+s;
        } else {
            memset(buf, 'N', aux_beg);
            memcpy(buf+aux_beg, z+s, pri_l);
            memset(buf+aux_beg+pri_l, 'N', aux_end);
            return buf;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r14d
movq %rdx, %r15
movq %rdi, %rbx
movq 0x60(%rsp), %rdx
movq 0x58(%rsp), %r12
movq 0x50(%rsp), %r13
testq %r8, %r8
je 0x56bf3
movq (%r8), %rax
movq 0x10(%rax), %rax
imulq $0x28, %r13, %rcx
movq 0x20(%rax,%rcx), %rbp
testb %r14b, %r14b
je 0x56c40
addq %rcx, %rax
movl (%rax), %eax
shrl %eax
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
jmp 0x56c42
movq %r9, %rbp
pushq $0x4e
popq %rax
movq %rbx, %rdi
movq %rsi, 0x10(%rsp)
movl %eax, %esi
movq %r12, %rdx
callq 0x20e0
addq %rbx, %r12
movq (%rbp), %rax
imulq $0x28, %r13, %rdx
addq 0x10(%rax), %rdx
andq $0x0, (%rsp)
movzbl %r14b, %ecx
xorl %edi, %edi
movq %r12, %rsi
movq 0x10(%rsp), %r8
movq %r15, %r9
callq 0x9f29
addq %r15, %r12
movq %r12, %rdi
pushq $0x4e
popq %rsi
jmp 0x56c7f
xorl %eax, %eax
addq %rax, %rbp
movq %rdx, %rax
orq %r12, %rax
je 0x56c8b
pushq $0x4e
popq %r14
movq %rbx, %rdi
movq %rsi, %r13
movl %r14d, %esi
movq %r12, %rdx
callq 0x20e0
addq %rbx, %r12
addq %r13, %rbp
movq %r12, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x2160
addq %r15, %r12
movq %r12, %rdi
movl %r14d, %esi
movq 0x60(%rsp), %rdx
callq 0x20e0
jmp 0x56c91
addq %rsi, %rbp
movq %rbp, %rbx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: return_str_seq_exz(char*, long, long, unsigned char, hpc_t*, ul_idx_t const*, long)
inline char *return_str_seq_exz(char *buf, int64_t s, int64_t pri_l, uint8_t rev, hpc_t *hpc_g, const ul_idx_t *uref, int64_t id)
{
    if(!hpc_g) {
        retrieve_u_seq(NULL, buf, &(uref->ug->u.a[id]), rev, s, pri_l, NULL);
        return buf;
    } else {
        return hpc_str(*hpc_g, id, rev) + s;
    }
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rax
movq %rsi, %r10
movq 0x20(%rsp), %rdx
testq %r8, %r8
je 0x5790e
movq (%r8), %rax
movq 0x10(%rax), %rax
imulq $0x28, %rdx, %rdx
movq 0x20(%rax,%rdx), %rbx
testb %cl, %cl
je 0x57936
addq %rdx, %rax
movl (%rax), %eax
shrl %eax
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
jmp 0x57938
movq %rdi, %rbx
movq (%r9), %rsi
imulq $0x28, %rdx, %rdx
addq 0x10(%rsi), %rdx
andq $0x0, (%rsp)
movzbl %cl, %ecx
xorl %edi, %edi
movq %rbx, %rsi
movq %r10, %r8
movq %rax, %r9
callq 0x9f29
jmp 0x5793e
xorl %eax, %eax
addq %r10, %rax
addq %rax, %rbx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: traceback_sc(k_mer_hit const*, k_mer_hit const*)
int64_t inline traceback_sc(const k_mer_hit *ai, const k_mer_hit *aj)
{
    int64_t qsi = ai->self_offset-ai->cnt, qej = aj->self_offset;
    int64_t tsi = ai->offset-ai->cnt, tej = aj->offset;
    if(qsi >= qej && tsi >= tej) return ai->cnt;
    return INT32_MIN;
}

// Assembly:
movl 0x8(%rdi), %edx
movl 0xc(%rdi), %ecx
subl %ecx, %edx
movq $-0x80000000, %rax      # imm = 0x80000000
cmpl 0x8(%rsi), %edx
jb 0x580d7
movl 0x4(%rdi), %eax
subl %ecx, %eax
cmpl 0x4(%rsi), %eax
movq $-0x80000000, %rax      # imm = 0x80000000
cmovaeq %rcx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: cigar_check_dbg(char*, char*, bit_extz_t*)
inline uint32_t cigar_check_dbg(char *pstr, char *tstr, bit_extz_t *ez)
{
	int32_t pi = ez->ps, ti = ez->ts, err = 0; uint32_t ci = 0, cl, k; uint16_t c;
	while (ci < ez->cigar.n) {
		ci = pop_trace(&(ez->cigar), ci, &c, &cl);
		// fprintf(stderr, "# %u = %u, cigar_n::%u\n", c, cl, (uint32_t)ez->cigar.n); 
		if(c == 0) {
			for (k=0;(k<cl)&&(pstr[pi]==tstr[ti]);k++,pi++,ti++);
			if(k!=cl) {
				fprintf(stderr, "ERROR-d-0\n"); 
				return 0;
			}
		} else {
			err += cl;
			if(c == 1) {
				for (k=0;(k<cl)&&(pstr[pi]!=tstr[ti]);k++,pi++,ti++);
				if(k!=cl) {
					fprintf(stderr, "ERROR-d-1\n"); 
					return 0;
				}
			} else if(c == 2) {///more p
				pi+=cl;
			} else if(c == 3) {
				ti+=cl;
			}
		}
	}
	if(err != ez->err) {
		fprintf(stderr, "ERROR-err, err::%d, ez->err::%d\n", err, ez->err); 
		return 0;
	}
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
movl 0x10(%rdx), %r12d
movl 0x1c(%rdx), %r14d
movq %rdx, 0x20(%rsp)
leaq 0xa8(%rdx), %r13
xorl %ebx, %ebx
leaq 0xa(%rsp), %rbp
leaq 0xc(%rsp), %r15
xorl %eax, %eax
movl %eax, %ecx
cmpq %rcx, (%r13)
jbe 0x581e2
movq %r13, %rdi
movl %eax, %esi
movq %rbp, %rdx
movq %r15, %rcx
callq 0x53a7d
movzwl 0xa(%rsp), %r9d
movl 0xc(%rsp), %esi
movslq %r12d, %rdi
movslq %r14d, %r8
movl %r8d, %ecx
movl %edi, %edx
testl %r9d, %r9d
je 0x58187
addl %esi, %ebx
cmpl $0x3, %r9d
je 0x581b2
cmpl $0x2, %r9d
je 0x581ba
cmpl $0x1, %r9d
jne 0x58112
leal (%rdi,%rsi), %r12d
movl %esi, %r14d
addl %r8d, %r14d
addq 0x18(%rsp), %r8
addq 0x10(%rsp), %rdi
xorl %r9d, %r9d
cmpl %r9d, %esi
je 0x58112
movb (%rdi,%r9), %r10b
cmpb (%r8,%r9), %r10b
je 0x581cc
incq %r9
jmp 0x58173
addl %esi, %r12d
addl %esi, %r14d
addq 0x18(%rsp), %r8
addq 0x10(%rsp), %rdi
xorl %r9d, %r9d
cmpl %r9d, %esi
je 0x58112
movb (%rdi,%r9), %r10b
cmpb (%r8,%r9), %r10b
jne 0x581c5
incq %r9
jmp 0x5819a
addl %esi, %r14d
jmp 0x58112
addl %r12d, %esi
movl %esi, %r12d
jmp 0x58112
cmpl %r9d, %esi
je 0x581d1
jmp 0x58220
cmpl %r9d, %esi
jne 0x58233
addq %r9, %rcx
addq %r9, %rdx
movl %edx, %r12d
movl %ecx, %r14d
jmp 0x58112
movq 0x20(%rsp), %rax
movl 0x2c(%rax), %ecx
cmpl %ecx, %ebx
jne 0x58202
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1fadd7(%rip), %rax    # 0x252fe0
movq (%rax), %rdi
leaq 0x18f8a9(%rip), %rsi    # 0x1e7abc
xorl %ebp, %ebp
movl %ebx, %edx
xorl %eax, %eax
callq 0x22b0
jmp 0x581f1
movq 0x1fadb9(%rip), %rax    # 0x252fe0
movq (%rax), %rcx
leaq 0x18f875(%rip), %rdi    # 0x1e7aa6
jmp 0x58244
movq 0x1fada6(%rip), %rax    # 0x252fe0
movq (%rax), %rcx
leaq 0x18f86d(%rip), %rdi    # 0x1e7ab1
pushq $0xa
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
xorl %ebp, %ebp
jmp 0x581f1
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: khit_long_gap(k_mer_hit*, k_mer_hit*, double, long)
inline int64_t khit_long_gap(k_mer_hit *a, k_mer_hit *b, double small_bw_rate, int64_t min_small_bw)
{
    int64_t dq, dr, dd, dm;
    dq = b->self_offset-a->self_offset;
    dr = b->offset-a->offset;
	dd = dq>=dr? ((dq)-(dr)): ((dr)-(dq));

    dm = dq>=dr?dr:dq;
    if((dd > (dm*small_bw_rate)) && (dd > min_small_bw)) return 0;
    return 1;
}

// Assembly:
movl 0x8(%rsi), %eax
subl 0x8(%rdi), %eax
movl 0x4(%rsi), %ecx
subl 0x4(%rdi), %ecx
movq %rax, %rsi
subq %rcx, %rsi
movq %rcx, %rdi
subq %rax, %rdi
cmpl %ecx, %eax
cmovaeq %rsi, %rdi
cmovbl %eax, %ecx
cvtsi2sd %rdi, %xmm1
cvtsi2sd %rcx, %xmm2
mulsd %xmm0, %xmm2
ucomisd %xmm2, %xmm1
setbe %al
cmpq %rdx, %rdi
setle %cl
orb %al, %cl
movzbl %cl, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: retrieve_str_seq_exz(UC_Read*, long, long, long, long, unsigned char, ul_idx_t const*, hpc_t*, All_reads*, long)
inline char *retrieve_str_seq_exz(UC_Read *tu, int64_t s, int64_t l, 
int64_t ps, int64_t pl, uint8_t rev, const ul_idx_t *uref, hpc_t *hpc_g, 
All_reads *rref, int64_t id)
{
    if(!hpc_g) {
        char *str; int64_t ss = s, sl = l; tu->length = l;
        UC_Read_resize(*tu, sl); str = tu->seq; 
        if(s == ps) {
            if(l <= pl) return tu->seq;
            str = tu->seq + pl; ss = ps + pl; sl = l - pl;
        }
        if(uref) {
            retrieve_u_seq(NULL, str, &(uref->ug->u.a[id]), rev, ss, sl, NULL);
        } else if(rref) {
            recover_UC_Read_sub_region(str, ss, sl, rev, rref, id);
        }
        return tu->seq;
    } else {
        return hpc_str(*hpc_g, id, rev) + s;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebp
movq %rsi, %rbx
movq 0x58(%rsp), %r9
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x62640
movq (%rax), %rax
movq 0x10(%rax), %rcx
imulq $0x28, %r9, %rdx
movq 0x20(%rcx,%rdx), %rax
testb %bpl, %bpl
je 0x626b0
addq %rdx, %rcx
movl (%rcx), %ecx
shrl %ecx
andl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
jmp 0x626b2
movq %r8, %r13
movq %rcx, %r12
movq %rdx, %r15
movq %rdi, %r14
movq %rdx, 0x8(%rdi)
movq (%rdi), %rax
cmpq %rdx, 0x10(%rdi)
jge 0x62670
movq %rax, %rdi
movq %r15, %rsi
callq 0x2370
movq 0x58(%rsp), %r9
movq %rax, (%r14)
movq %r15, 0x10(%r14)
cmpq %r12, %rbx
jne 0x62680
subq %r13, %r15
jle 0x626d9
addq %r13, %rax
addq %r13, %rbx
movq 0x40(%rsp), %rcx
testq %rcx, %rcx
je 0x626ba
movq (%rcx), %rcx
imulq $0x28, %r9, %rdx
addq 0x10(%rcx), %rdx
andq $0x0, (%rsp)
movzbl %bpl, %ecx
xorl %edi, %edi
movq %rax, %rsi
movq %rbx, %r8
movq %r15, %r9
callq 0x9f29
jmp 0x626d6
xorl %ecx, %ecx
addq %rbx, %rcx
addq %rcx, %rax
jmp 0x626d9
movq 0x50(%rsp), %r8
testq %r8, %r8
je 0x626d6
movzbl %bpl, %ecx
movq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x6c9e
movq (%r14), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: cigar_check(char*, char*, bit_extz_t*)
inline uint32_t cigar_check(char *pstr, char *tstr, bit_extz_t *ez)
{
	int32_t pi = ez->ps, ti = ez->ts, err = 0; uint32_t ci = 0, cl, k; uint16_t c;
	while (ci < ez->cigar.n) {
		ci = pop_trace(&(ez->cigar), ci, &c, &cl);
		// fprintf(stderr, "# %u = %u\n", c, cl); 
		if(c == 0) {
			for (k=0;(k<cl)&&(pstr[pi]==tstr[ti]);k++,pi++,ti++);
			if(k!=cl) {
				fprintf(stderr, "ERROR-d-0, pi::%d, ti::%d\n", pi, ti); 
				return 0;
			}
		} else {
			err += cl;
			if(c == 1) {
				for (k=0;(k<cl)&&(pstr[pi]!=tstr[ti]);k++,pi++,ti++);
				if(k!=cl) {
					fprintf(stderr, "ERROR-d-1, pi::%d, ti::%d\n", pi, ti);  
					return 0;
				}
			} else if(c == 2) {///more p
				pi+=cl;
			} else if(c == 3) {
				ti+=cl;
			}
		}
	}
	if(err != ez->err) {
		fprintf(stderr, "ERROR-err\n"); 
		return 0;
	}
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
movl 0x10(%rdx), %ebx
movl 0x1c(%rdx), %r14d
movq %rdx, 0x20(%rsp)
leaq 0xa8(%rdx), %rbp
xorl %r15d, %r15d
leaq 0xa(%rsp), %r12
leaq 0xc(%rsp), %r13
xorl %eax, %eax
movl %eax, %ecx
cmpq %rcx, (%rbp)
jbe 0x62806
movq %rbp, %rdi
movl %eax, %esi
movq %r12, %rdx
movq %r13, %rcx
callq 0x53a7d
movzwl 0xa(%rsp), %r9d
movl 0xc(%rsp), %esi
movslq %ebx, %rdi
movslq %r14d, %r8
movl %r8d, %ecx
movl %edi, %edx
testl %r9d, %r9d
je 0x6279d
addl %esi, %r15d
cmpl $0x3, %r9d
je 0x627d9
cmpl $0x2, %r9d
je 0x627e1
cmpl $0x1, %r9d
jne 0x62722
leal (%rdi,%rsi), %r9d
movl %r9d, 0x4(%rsp)
movl %esi, %r11d
addl %r8d, %r11d
addq 0x18(%rsp), %r8
addq 0x10(%rsp), %rdi
xorl %r9d, %r9d
cmpl %r9d, %esi
je 0x627cb
movb (%rdi,%r9), %r10b
cmpb (%r8,%r9), %r10b
je 0x627f1
incq %r9
jmp 0x62789
leal (%rbx,%rsi), %r9d
movl %r9d, 0x4(%rsp)
leal (%r14,%rsi), %r11d
addq 0x18(%rsp), %r8
addq 0x10(%rsp), %rdi
xorl %r9d, %r9d
cmpl %r9d, %esi
je 0x627cb
movb (%rdi,%r9), %r10b
cmpb (%r8,%r9), %r10b
jne 0x627ea
incq %r9
jmp 0x627b7
movl 0x4(%rsp), %ecx
movl %ecx, %ebx
movl %r11d, %r14d
jmp 0x62722
addl %esi, %r14d
jmp 0x62722
addl %ebx, %esi
movl %esi, %ebx
jmp 0x62722
cmpl %r9d, %esi
je 0x627f6
jmp 0x62845
cmpl %r9d, %esi
jne 0x6285e
addq %r9, %rcx
addq %r9, %rdx
movl %edx, %ebx
movl %ecx, %r14d
jmp 0x62722
movq 0x20(%rsp), %rax
cmpl 0x2c(%rax), %r15d
jne 0x62825
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1f07b4(%rip), %rax    # 0x252fe0
movq (%rax), %rcx
leaq 0x1852dd(%rip), %rdi    # 0x1e7b13
pushq $0xa
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
xorl %ebp, %ebp
jmp 0x62814
movq 0x1f0794(%rip), %rax    # 0x252fe0
movq (%rax), %rdi
addl %r9d, %r14d
addl %r9d, %ebx
leaq 0x185281(%rip), %rsi    # 0x1e7add
jmp 0x62875
movq 0x1f077b(%rip), %rax    # 0x252fe0
movq (%rax), %rdi
addl %r9d, %r14d
addl %r9d, %ebx
leaq 0x185283(%rip), %rsi    # 0x1e7af8
xorl %ebp, %ebp
movl %ebx, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x22b0
jmp 0x62814
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: push_trace(asg16_v*, unsigned short, unsigned int)
inline void push_trace(asg16_v *res, uint16_t c, uint32_t len)
{
    uint16_t p; c <<= 14; 
	while (len >= (0x3fff)) {
		p = (c + (0x3fff)); kv_push(uint16_t, *res, p); len -= (0x3fff);
	}
	if(len) {
		p = (c + len); kv_push(uint16_t, *res, p);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
shll $0xe, %r14d
movl %r14d, %r12d
orl $0x3fff, %r12d          # imm = 0x3FFF
pushq $0x2
popq %r15
cmpl $0x3fff, %ebp           # imm = 0x3FFF
jb 0x628f1
movq (%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rcx
jne 0x628dd
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r15, %rsi
movq %rsi, 0x8(%rbx)
addq %rsi, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movw %r12w, (%rax,%rcx,2)
addl $0xffffc001, %ebp       # imm = 0xFFFFC001
jmp 0x628a7
testl %ebp, %ebp
je 0x62936
movzwl %r14w, %r14d
addl %ebp, %r14d
movq (%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rcx
jne 0x6292a
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r15, %rsi
movq %rsi, 0x8(%rbx)
addq %rsi, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%rbx)
movq (%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, (%rbx)
movw %r14w, (%rax,%rcx,2)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: push_khit(Candidates_list*, int, int, unsigned int, unsigned int, unsigned int*)
inline void push_khit(Candidates_list *res, int32_t xs, int32_t ys, uint32_t len, uint32_t h_khit, uint32_t *ic)
{
    uint32_t p, c; k_mer_hit *z;
    c = ((len >= h_khit)?1:2); if(ic) c = *ic; c <<= 8;
    if(len > 0) {
        while (len >= (0xffu)) {
            p = (c + (0xffu)); 
            kv_pushp_cl(k_mer_hit, (*res), &z); 
            memset(z, 0, sizeof((*z)));
            z->self_offset = xs; z->offset = ys; z->cnt = p;
            len -= (0xffu);
        }
        if(len) {
            p = (c + len); 
            kv_pushp_cl(k_mer_hit, (*res), &z); 
            memset(z, 0, sizeof((*z)));
            z->self_offset = xs; z->offset = ys; z->cnt = p;
        }
    } else {
        p = (c + len); 
        kv_pushp_cl(k_mer_hit, (*res), &z); 
        memset(z, 0, sizeof((*z)));
        z->self_offset = xs; z->offset = ys; z->cnt = p;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
xorl %r12d, %r12d
cmpl %r8d, %ecx
adcl $0x1, %r12d
testq %r9, %r9
je 0x62966
movl (%r9), %r12d
shll $0x8, %r12d
testl %r15d, %r15d
je 0x62a23
movl %r12d, 0x4(%rsp)
orl $0xff, %r12d
pushq $0x2
popq %r13
cmpl $0xff, %r15d
jb 0x629e1
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x629bb
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r13, %rsi
movq %rsi, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r14)
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
shlq $0x4, %rcx
andl $0x0, (%rax,%rcx)
movl %ebp, 0x8(%rax,%rcx)
movl %ebx, 0x4(%rax,%rcx)
movl %r12d, 0xc(%rax,%rcx)
addl $0xffffff01, %r15d      # imm = 0xFFFFFF01
jmp 0x62983
testl %r15d, %r15d
je 0x62a71
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x62a19
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r13, %rsi
movq %rsi, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r14)
movq 0x8(%r14), %rcx
movl 0x4(%rsp), %r12d
addl %r15d, %r12d
jmp 0x62a55
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x62a55
leaq (%rcx,%rcx), %rdx
testq %rcx, %rcx
pushq $0x2
popq %rsi
cmovneq %rdx, %rsi
movq %rsi, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r14)
movq 0x8(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r14)
shlq $0x4, %rcx
addq %rax, %rcx
andl $0x0, (%rcx)
movl %ebp, 0x8(%rcx)
movl %ebx, 0x4(%rcx)
movl %r12d, 0xc(%rcx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: set_cgid(ul_ov_t*, unsigned long*, unsigned long*, unsigned long, unsigned long*, unsigned long, overlap_region*, long*)
inline uint64_t set_cgid(ul_ov_t *z, uint64_t *ia, uint64_t *iak, uint64_t ian, uint64_t *ca, uint64_t ci, overlap_region *oa, int64_t *gni)
{
    assert(ca[z->tn] <= 1);
    if(z->ts != ((uint32_t)-1)) return 0;
    if(ca[z->tn] != 0) {
        // fprintf(stderr, "+[M::%s] sec::%u\trid::%u\t%.*s\tq::[%u,%u)\terr::%u\tca[z->tn]::%lu\n", __func__, z->sec, oa[z->tn].y_id, (int)Get_NAME_LENGTH(R_INF, oa[z->tn].y_id), Get_NAME(R_INF, oa[z->tn].y_id), z->qs, z->qe, z->qn, ca[z->tn]);
        return 0;
    }

    z->ts = ci; ca[z->tn]++; 
    ia[(*iak)++] = z->tn;
    assert((*iak) <= ian);
    (*gni)++;
    // fprintf(stderr, "-[M::%s] sec::%u\trid::%u\t%.*s\tq::[%u,%u)\terr::%u\tca[z->tn]::%lu\n", __func__, z->sec, oa[z->tn].y_id, (int)Get_NAME_LENGTH(R_INF, oa[z->tn].y_id), Get_NAME(R_INF, oa[z->tn].y_id), z->qs, z->qe, z->qn, ca[z->tn]);
    
    return 1;
}

// Assembly:
pushq %rax
movl 0xc(%rdi), %r10d
movq (%r8,%r10,8), %r11
cmpq $0x2, %r11
jae 0x62ac8
xorl %eax, %eax
testq %r11, %r11
jne 0x62ac6
cmpl $-0x1, 0x10(%rdi)
jne 0x62ac6
movl %r9d, 0x10(%rdi)
movq $0x1, (%r8,%r10,8)
movq (%rdx), %rax
leaq 0x1(%rax), %rdi
movq %rdi, (%rdx)
movq %r10, (%rsi,%rax,8)
cmpq %rcx, (%rdx)
ja 0x62ae7
movq 0x18(%rsp), %rax
incq (%rax)
pushq $0x1
popq %rax
popq %rcx
retq
leaq 0x18504f(%rip), %rdi    # 0x1e7b1e
leaq 0x180bcd(%rip), %rsi    # 0x1e36a3
leaq 0x185050(%rip), %rcx    # 0x1e7b2d
movl $0x4d32, %edx           # imm = 0x4D32
callq 0x2110
leaq 0x1850b1(%rip), %rdi    # 0x1e7b9f
leaq 0x180bae(%rip), %rsi    # 0x1e36a3
leaq 0x185031(%rip), %rcx    # 0x1e7b2d
movl $0x4d3b, %edx           # imm = 0x4D3B
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: ovlp_win_check(overlap_region*, unsigned int, unsigned int, long, double, long)
inline uint32_t ovlp_win_check(overlap_region *z, uint32_t id0, uint32_t id1, int64_t max_lgap, double small_bw_rate, int64_t min_small_bw)
{
    if(id0 == (uint32_t)-1 || id1 == (uint32_t)-1) return 1;
    int64_t qs0, qe0, ts0, te0, qs1, qe1, ts1, te1, err, dd, dm, dq, dr;
    if(!get_win_aln(z, id0, &ts0, &te0, &err)) return 1; 
    qs0 = z->w_list.a[id0].x_start; qe0 = z->w_list.a[id0].x_end+1;
    if(!get_win_aln(z, id1, &ts1, &te1, &err)) return 1; 
    qs1 = z->w_list.a[id1].x_start; qe1 = z->w_list.a[id1].x_end+1;

    if(qs1 < qs0 || qe1 < qe0) return 0; 
    if(ts1 < ts0 || te1 < te0) return 0; 
    dq = qe1 - qs0; dr = te1 - ts0; dd = dq>=dr? ((dq)-(dr)): ((dr)-(dq));
    if((ts1 < te0) && (qe0 == qs1)) {//has overlap in y
        dm = dq>=dr?dr:dq;
        if((dd > (dm*small_bw_rate)) && (dd > min_small_bw)) return 0;
    } else {
        if(dd > max_lgap) return 0;
    }
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r14
cmpl $-0x1, %esi
sete %al
cmpl $-0x1, %edx
sete %cl
orb %al, %cl
je 0x62dac
pushq $0x1
popq %rax
jmp 0x62eb0
movq %r8, %rbx
movl %edx, %ebp
movq %rdi, %r15
movsd %xmm0, 0x8(%rsp)
movl %esi, %r12d
leaq 0x30(%rsp), %rdx
leaq 0x28(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %r12, %rsi
callq 0x62eca
pushq $0x1
popq %rcx
testq %rax, %rax
je 0x62eae
movq %rbx, (%rsp)
movq 0x58(%r15), %rax
shlq $0x5, %r12
movslq (%rax,%r12), %rbx
movl 0x4(%rax,%r12), %r13d
movl %ebp, %r12d
leaq 0x20(%rsp), %rdx
leaq 0x18(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %r15, %rdi
movq %r12, %rsi
callq 0x62eca
testq %rax, %rax
je 0x62da4
movq 0x58(%r15), %rax
shlq $0x5, %r12
movl (%rax,%r12), %ecx
movl 0x4(%rax,%r12), %esi
cmpl %ebx, %ecx
setl %dl
cmpl %r13d, %esi
setl %dil
xorl %eax, %eax
orb %dl, %dil
jne 0x62eb0
movq 0x20(%rsp), %rdi
movq 0x30(%rsp), %r8
cmpq %r8, %rdi
jl 0x62eb0
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %r9
cmpq %r9, %rdx
jl 0x62eb0
movslq %esi, %rsi
incq %rsi
subq %rbx, %rsi
subq %r8, %rdx
movq %rsi, %r10
subq %rdx, %r10
movq %r10, %r8
negq %r8
cmovsq %r10, %r8
cmpq %r9, %rdi
jge 0x62ebf
incl %r13d
cmpl %ecx, %r13d
jne 0x62ebf
cmpq %rdx, %rsi
cmovlq %rsi, %rdx
cmpq (%rsp), %r8
jle 0x62da4
cvtsi2sd %r8, %xmm0
cvtsi2sd %rdx, %xmm1
mulsd 0x8(%rsp), %xmm1
ucomisd %xmm1, %xmm0
ja 0x62eb0
jmp 0x62da4
movl %ecx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq %r14, %r8
jle 0x62da4
jmp 0x62eb0
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: get_win_aln(overlap_region*, unsigned long, long*, long*, long*)
uint64_t inline get_win_aln(overlap_region *z, uint64_t wid, int64_t *ys, int64_t *ye, int64_t *err)
{
	(*err) = -2;
	if((wid > 0) && (z->w_list.a[wid].y_end != -1) && (z->w_list.a[wid-1].y_end != -1) && (z->w_list.a[wid].y_end > z->w_list.a[wid-1].y_end)) {
		(*ys) = z->w_list.a[wid-1].y_end+1; 
		(*ye) = z->w_list.a[wid].y_end+1; 
		(*err) = z->w_list.a[wid].error;
		return 1;
	}
	return 0;
}

// Assembly:
movq $-0x2, (%r8)
testq %rsi, %rsi
je 0x62f1b
movq 0x58(%rdi), %rax
shlq $0x5, %rsi
movslq 0xc(%rax,%rsi), %rdi
cmpq $-0x1, %rdi
je 0x62f1b
movslq -0x14(%rax,%rsi), %r9
cmpl $-0x1, %r9d
sete %r10b
cmpl %r9d, %edi
setle %r11b
orb %r10b, %r11b
jne 0x62f1b
incq %r9
movq %r9, (%rdx)
incq %rdi
movq %rdi, (%rcx)
movswq 0x14(%rax,%rsi), %rax
movq %rax, (%r8)
pushq $0x1
popq %rax
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: pop_trace_back(asg16_v*, int, unsigned short*, unsigned int*)
inline int32_t pop_trace_back(asg16_v *res, int32_t i, uint16_t *c, uint32_t *len)
{
	(*c) = (res->a[i]>>14); (*len) = (res->a[i]&(0x3fff));
	for (i--; (i >= 0) && ((*c) == (res->a[i]>>14)); i--) {
		(*len) += (res->a[i]&(0x3fff));
	}
	return i;
}

// Assembly:
movq 0x10(%rdi), %rdi
movslq %esi, %r9
movzwl (%rdi,%r9,2), %esi
shrl $0xe, %esi
movw %si, (%rdx)
movzwl (%rdi,%r9,2), %edx
andl $0x3fff, %edx           # imm = 0x3FFF
movl %r9d, %r8d
movl %r9d, %eax
sarl $0x1f, %eax
andl %r9d, %eax
decl %eax
testl %r8d, %r8d
jle 0x62f7b
leaq -0x1(%r8), %r9
movl %r9d, %r10d
movzwl (%rdi,%r10,2), %r10d
movl %r10d, %r11d
shrl $0xe, %r11d
cmpl %esi, %r11d
jne 0x62f75
andl $0x3fff, %r10d          # imm = 0x3FFF
addl %r10d, %edx
movq %r9, %r8
jmp 0x62f49
decl %r8d
movl %r8d, %eax
movl %edx, (%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: update_trace_idx(rtrace_t*, long, long, long, long, long, long, long)
inline void update_trace_idx(rtrace_t *tc, int64_t wid, int64_t wid_s, int64_t wid_e, 
int64_t qs, int64_t qe, int64_t ts, int64_t te)
{
    if(qs < tc->c_qs || ts < tc->c_ts) {
        tc->c_qs = qs; 
        tc->c_ts = ts;
        tc->c_wsid = wid;
        tc->c_wsii = wid_s;
    }

    if(qe > tc->c_qe || te > tc->c_te) {
        tc->c_qe = qe; 
        tc->c_te = te;
        tc->c_weid = wid;
        tc->c_weii = wid_e;
    }
}

// Assembly:
movq 0x8(%rsp), %rax
movslq (%rdi), %r10
cmpq %r8, %r10
jg 0x62f94
movslq 0x8(%rdi), %r10
cmpq %rax, %r10
jle 0x62fa0
movl %r8d, (%rdi)
movl %eax, 0x8(%rdi)
movl %esi, 0x10(%rdi)
movl %edx, 0x18(%rdi)
movq 0x10(%rsp), %rax
movslq 0x4(%rdi), %rdx
cmpq %r9, %rdx
jl 0x62fb7
movslq 0xc(%rdi), %rdx
cmpq %rax, %rdx
jge 0x62fc4
movl %r9d, 0x4(%rdi)
movl %eax, 0xc(%rdi)
movl %esi, 0x14(%rdi)
movl %ecx, 0x1c(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: try_cigar(char*, int, char*, int, int, char*, int, int*, int*)
inline int try_cigar(char *pattern, int p_length,
	char *text, int t_length, int end_site, char* path,
	int error, 
	int* return_start_site, 
	int* return_path_length)
{
	int i = 0;
	int tmp_err = 0;
	///start pos of y
	int start_site = end_site - t_length + 1;

	if (start_site >= 0)
	{

		for (i = 0; i < t_length; i++)
		{
			///path[i] = 0;
			///path is saved backwards
			path[t_length - i - 1] = 0;
			if (text[i] != pattern[i + start_site])
			{
				path[t_length - i - 1] = 1;
				tmp_err++;

				if (tmp_err > error)
				{
					return 0;
				}
			}
		}

		if (tmp_err == error)
		{
			(*return_path_length) = t_length;

			(*return_start_site) = start_site;

			return 6;
		}
	}


	return 0;
}

// Assembly:
subl %ecx, %r8d
cmpl $-0x1, %r8d
jl 0x635be
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rax
movl 0x30(%rsp), %r10d
incl %r8d
xorl %r11d, %r11d
testl %ecx, %ecx
movl $0x0, %ebx
cmovgl %ecx, %ebx
movl %r8d, %r14d
addq %r14, %rdi
leal -0x1(%rcx), %ebp
xorl %r14d, %r14d
cmpq %r11, %rbx
je 0x635c1
movslq %ebp, %r15
movb $0x0, (%r9,%r15)
movb (%rdx,%r11), %r12b
cmpb (%rdi,%r11), %r12b
je 0x635b7
movb $0x1, (%r9,%r15)
cmpl %r10d, %r14d
jge 0x635d2
incl %r14d
incq %r11
decl %ebp
jmp 0x63593
xorl %eax, %eax
retq
cmpl %r10d, %r14d
jne 0x635d2
movl %ecx, (%rsi)
movl %r8d, (%rax)
movl $0x6, %eax
jmp 0x635d4
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./POA.h
// Function: push_to_Queue(Queue*, long long)
inline void push_to_Queue(Queue* q, long long nodeID)
{
    if(is_full_Queue(q))
    {
        long long move_length = q->beg;
        ///end is the index of next input data, instead of the index of last data
        long long current_length = q->end - q->beg;
        ///recalloc directly
        if(move_length == 0)
        {
            q->size = q->size * 2;
            q->buffer = (long long*)realloc(q->buffer, q->size*sizeof(long long));     
        }
        else
        {
            ///won't overlap
            if(current_length <= move_length)
            {
                memcpy(q->buffer, q->buffer+q->beg, sizeof(long long)*current_length);
            }
            else///may overlap
            {
                memmove(q->buffer, q->buffer+q->beg, sizeof(long long)*current_length);
            }

            q->beg = 0;
            q->end = current_length;
        }
    }
    

    q->buffer[q->end] = nodeID;
    q->end++;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %r15
movq 0x18(%rdi), %rsi
cmpq %rsi, %r15
jl 0x637db
movq (%rbx), %rax
testq %rax, %rax
je 0x637af
subq %rax, %r15
leaq (,%r15,8), %rdx
movq 0x20(%rbx), %rdi
leaq (%rdi,%rax,8), %rsi
cmpq %rax, %r15
jle 0x637ce
callq 0x2360
jmp 0x637d3
leaq (%rsi,%rsi), %rax
movq %rax, 0x18(%rbx)
movq 0x20(%rbx), %rdi
shlq $0x4, %rsi
callq 0x2370
movq %rax, 0x20(%rbx)
movq 0x8(%rbx), %r15
jmp 0x637db
callq 0x2160
andq $0x0, (%rbx)
movq %r15, 0x8(%rbx)
movq 0x20(%rbx), %rax
movq %r14, (%rax,%r15,8)
incq 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./POA.h
// Function: pop_from_Queue(Queue*, long long*)
inline int is_empty_Queue(Queue* q)
{
    ///end is the index of next input data, instead of the index of last data
    if(q->beg == q->end)
    {
        return 1;
    }
    else
    {
        return 0;
    }
}

// Assembly:
movq (%rdi), %rax
cmpq 0x8(%rdi), %rax
jne 0x637fd
orq $-0x1, (%rsi)
xorl %eax, %eax
retq
movq 0x20(%rdi), %rcx
movq (%rcx,%rax,8), %rax
movq %rax, (%rsi)
incq (%rdi)
pushq $0x1
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: alignment_extension(char*, int, char*, int, unsigned short, int, unsigned int*, int*, int*, int*)
inline int alignment_extension(char *pattern, int p_length, char *text, int t_length, 
unsigned short errthold, int direction, unsigned int* return_err, int* return_p_end, 
int* return_t_end, int* return_aligned_t_len)
{
	(*return_aligned_t_len) = 0;
	
	if(direction == 0)
	{
		Reserve_Banded_BPM_Extension(pattern, p_length, text, t_length, errthold, return_err, 
		return_p_end, return_t_end);
		if((*return_p_end) != -1 && (*return_t_end) != -1)
		{
			(*return_aligned_t_len) = (*return_t_end) + 1;
			return 1;
		}
		else
		{
			return -1;
		}
		
	}
	else
	{
		reverse_string(pattern, p_length);
		reverse_string(text, t_length);

		Reserve_Banded_BPM_Extension(pattern, p_length, text, t_length, errthold, return_err, 
		return_p_end, return_t_end);

		reverse_string(pattern, p_length);
		reverse_string(text, t_length);

		if((*return_p_end) != -1 && (*return_t_end) != -1)
		{
			(*return_aligned_t_len) = (*return_t_end) + 1;
			(*return_p_end) = p_length - (*return_p_end);
			(*return_t_end) = t_length - (*return_t_end);
			return 1;
		}
		else
		{
			return -1;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %r13d
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
movq 0x58(%rsp), %rax
movq 0x48(%rsp), %r10
movq 0x40(%rsp), %r12
andl $0x0, (%rax)
testl %r9d, %r9d
je 0x64ab6
movq %r15, %rdi
movl %ebp, %esi
callq 0x64de3
movq %r14, %rdi
movl %ebx, %esi
callq 0x64de3
movzwl %r13w, %r8d
movq %r15, %rdi
movl %ebp, %esi
movq %r14, %rdx
movl %ebx, %ecx
movq %r12, %r9
movq 0x50(%rsp), %r12
pushq %r12
movq 0x50(%rsp), %r13
pushq %r13
callq 0x64b04
popq %rcx
popq %rdx
movq %r15, %rdi
movl %ebp, %esi
callq 0x64de3
movq %r14, %rdi
movl %ebx, %esi
callq 0x64de3
pushq $-0x1
popq %rax
cmpl $-0x1, (%r13)
je 0x64af5
movl (%r12), %ecx
cmpl $-0x1, %ecx
je 0x64af5
incl %ecx
movq 0x58(%rsp), %rax
movl %ecx, (%rax)
subl (%r13), %ebp
movl %ebp, (%r13)
subl (%r12), %ebx
movl %ebx, (%r12)
jmp 0x64af2
movzwl %r13w, %r8d
movq %r15, %rdi
movl %ebp, %esi
movq %r14, %rdx
movl %ebx, %ecx
movq %r12, %r9
movq 0x50(%rsp), %rbx
pushq %rbx
pushq %r10
movq %r10, %r14
callq 0x64b04
popq %rcx
popq %rdx
pushq $-0x1
popq %rax
cmpl $-0x1, (%r14)
je 0x64af5
movl (%rbx), %ecx
cmpl $-0x1, %ecx
je 0x64af5
incl %ecx
movq 0x58(%rsp), %rax
movl %ecx, (%rax)
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: reverse_string(char*, int)
inline void reverse_string(char* str, int strLen)
{
	int i, Len;
	char k;
	Len = strLen / 2;
	for (i = 0; i < Len; i++)
	{
		k = str[i];
		str[i] = str[strLen - i - 1];
		str[strLen - i - 1] = k;
	}
}

// Assembly:
pushq $0x2
popq %rcx
movl %esi, %eax
cltd
idivl %ecx
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
decl %esi
cmpq %rcx, %rax
je 0x64e0f
movb (%rdi,%rcx), %dl
movslq %esi, %rsi
movb (%rdi,%rsi), %r8b
movb %r8b, (%rdi,%rcx)
movb %dl, (%rdi,%rsi)
incq %rcx
jmp 0x64df2
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/./Levenshtein_distance.h
// Function: get_error(int, int, int, unsigned long, unsigned long, unsigned int*, int*)
inline void get_error(int t_length, int errthold, int init_err, Word VP, Word VN, 
unsigned int* return_err, int* back_site)
{
	(*return_err) = (unsigned int)-1;
	int site = t_length - 1;
	int return_site = -1;
	///in most cases, p_length should be t_length + 2 * errthold
	///int available_i = p_length - t_length;
	int available_i = 2 * errthold;
	

	if ((init_err <= errthold) && ((unsigned int)init_err <= (*return_err)))
	{
		(*return_err) = init_err;
		return_site = site;
	}


	int i = 0;
	unsigned int ungap_error = (unsigned int)-1;

	while (i < available_i)
	{
		init_err = init_err + ((VP >> i)&(Word)1);
		init_err = init_err - ((VN >> i)&(Word)1);
		++i;

		if ((init_err <= errthold) && ((unsigned int)init_err <= *return_err))
		{
			*return_err = init_err;
			return_site = site + i;
		}

		/****************************may have bugs********************************/
		if(i == errthold)
		{
			ungap_error = init_err;
		}
		/****************************may have bugs********************************/
	}

	/****************************may have bugs********************************/
	if((ungap_error<=(unsigned int)errthold) && (ungap_error == (*return_err)))
	{
		return_site = site + errthold;
	}
	/****************************may have bugs********************************/

	(*back_site) = return_site;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x38(%rsp), %rax
leal -0x1(%rdi), %r10d
cmpl %esi, %edx
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
movl %edx, %ebp
cmovgl %r11d, %ebp
leal (%rsi,%rsi), %r14d
movl %r10d, %ebx
cmovgl %r11d, %ebx
movl %ebp, (%r9)
movl %esi, %r15d
xorl %r12d, %r12d
testl %r14d, %r14d
cmovlel %r12d, %r14d
movl %edi, %edi
leaq -0x1(%r15), %r13
cmpq %r12, %r14
je 0x64e83
btq %r12, %rcx
adcl $0x0, %edx
btq %r12, %r8
sbbl $0x0, %edx
cmpl %r15d, %edx
jg 0x64e77
cmpl %ebp, %edx
ja 0x64e77
movl %edx, (%r9)
leal (%rdi,%r12), %ebx
movl %edx, %ebp
cmpq %r12, %r13
cmovel %edx, %r11d
incq %r12
jmp 0x64e52
addl %esi, %r10d
cmpl %ebp, %r11d
cmovnel %ebx, %r10d
cmpl %esi, %r11d
cmoval %ebx, %r10d
movl %r10d, (%rax)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: update_des_str(char*, long, long, unsigned char, All_reads*, hpc_t*, ul_idx_t const*, long, long, long, char*)
inline char *update_des_str(char *des, int64_t s, int64_t pri_l, uint8_t rev, All_reads *rref, hpc_t *hpc_g, 
    const ul_idx_t *uref, int64_t id, int64_t aux_beg, int64_t aux_end, char *src)
{
    if(src) {
        // memcpy(des, src, (pri_l+aux_beg+aux_end));
        // return des;
        return src;
    } else {
        if(rref) {
            fill_subregion(des, s, pri_l, rev, rref, id, aux_beg, aux_end); 
            return des;
        } else {
            return return_str_seq(des, s, pri_l, rev, hpc_g, uref, id, aux_beg, aux_end);
        }
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x40(%rsp), %rax
testq %rax, %rax
jne 0x65913
movq %rdi, %rbx
movq 0x38(%rsp), %r14
movq 0x30(%rsp), %r11
movq 0x28(%rsp), %rax
testq %r8, %r8
je 0x6591b
movzbl %cl, %ecx
movq %rbx, %rdi
movq %rax, %r9
pushq %r14
pushq %r11
callq 0x1b475
popq %rax
popq %rcx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x20(%rsp), %r10
subq $0x8, %rsp
movzbl %cl, %ecx
movq %rbx, %rdi
movq %r9, %r8
movq %r10, %r9
pushq %r14
pushq %r11
pushq %rax
callq 0x56ba5
addq $0x28, %rsp
jmp 0x65917
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Correct.cpp
// Function: recal_boundary_non_retrieve_exz(char*, char*, long, long, long, long, long, long, long, long, long, unsigned int, bit_extz_t*, long*, long*, long*)
inline int recal_boundary_non_retrieve_exz(char* qstr, char* tstr, int64_t t_tot_l, 
int64_t ql0, int64_t tl0, int64_t thres,
int64_t toff, int64_t ts0, int64_t te0, int64_t err0, 
int64_t tid, uint32_t rev, bit_extz_t *exz,
int64_t *ts_r, int64_t *aux_beg_r, int64_t *aux_end_r)
{
    int64_t ts, tl, aux_beg, aux_end, t_pri_l, aln_l = ql0 + (thres << 1);
    char *q_string = qstr, *t_string; 

    if(ts0 == 0) {//left boundary
        ts = toff;
    } else if((te0 + 1) == tl0) {//right boundary
        ts = toff + te0 - ql0 + 1;
    } else {
        return 0;
    }
    if(!init_waln(thres, ts, t_tot_l, aln_l, &aux_beg, &aux_end, &ts, &t_pri_l)) return 0;
    if(ts == toff && tl0 == t_pri_l) return 0;//unchanged, make no sense

    tl = t_pri_l; t_string = tstr + ts;

    clear_align(*exz); 
    ed_band_cal_semi_64_w_absent_diag_trace(t_string, tl, q_string, ql0, thres, aux_beg, exz);

    if(is_align(*exz) && exz->err < err0) {
        (*aux_beg_r) = aux_beg;
        (*aux_end_r) = aux_end;
        (*ts_r) = ts;
        return 1;
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %r13
movq %rcx, %r14
movq %rsi, %r12
movq 0x70(%rsp), %r15
cmpq $0x0, 0x78(%rsp)
movq %r15, %rsi
je 0x65b8d
movq 0x80(%rsp), %rax
leaq 0x1(%rax), %rcx
xorl %ebp, %ebp
cmpq %r13, %rcx
jne 0x65c60
movq %r15, %rcx
subq %r14, %rcx
leaq (%rcx,%rax), %rsi
incq %rsi
movq %rdi, 0x10(%rsp)
leaq (%r14,%rbx,2), %rcx
leaq 0x30(%rsp), %rax
movq %rsi, (%rax)
leaq 0x18(%rsp), %r10
leaq 0x28(%rsp), %r8
leaq 0x20(%rsp), %r9
movq %rbx, %rdi
pushq %r10
pushq %rax
callq 0x1c7e7
popq %rcx
popq %rdx
xorl %ebp, %ebp
testl %eax, %eax
je 0x65c60
movq 0x30(%rsp), %rax
xorq %rax, %r15
movq 0x18(%rsp), %rsi
xorq %rsi, %r13
orq %r15, %r13
je 0x65c60
movq 0xa0(%rsp), %r15
movq %rax, 0x8(%rsp)
addq %rax, %r12
movl $0x7fffffff, 0x2c(%r15) # imm = 0x7FFFFFFF
movq 0x28(%rsp), %r13
subq $0x8, %rsp
movq %r12, %rdi
movq 0x18(%rsp), %rdx
movl %r14d, %ecx
movl %ebx, %r8d
movl %r13d, %r9d
pushq %r15
callq 0x59275
popq %rax
popq %rcx
movslq 0x2c(%r15), %rax
cmpl 0x28(%r15), %eax
setg %cl
cmpq 0x88(%rsp), %rax
setge %al
orb %cl, %al
jne 0x65c60
movq 0xb8(%rsp), %rax
movq 0xb0(%rsp), %rcx
movq 0xa8(%rsp), %rdx
movq %r13, (%rcx)
movq 0x20(%rsp), %rcx
movq %rcx, (%rax)
movq 0x8(%rsp), %rax
movq %rax, (%rdx)
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Overlaps.cpp
// Function: init_bub_label_t(bub_label_t*, unsigned int, unsigned int)
void init_bub_label_t(bub_label_t* x, uint32_t n_thres, uint32_t n_reads)
{
    uint32_t i;
    x->check_cross = 0;
    x->bub_dist = 0;
    x->n_thres = n_thres;
    x->n_reads = n_reads;
    x->g = NULL;
    CALLOC(x->b, x->n_thres);
    for (i = 0; i < x->n_thres; i++)
    {
        CALLOC(x->b[i].a, x->n_reads<<1);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
andl $0x0, 0x18(%rdi)
andq $0x0, 0x20(%rdi)
movl %edx, %ebx
movl %esi, 0x8(%rdi)
movl %edx, 0xc(%rdi)
andq $0x0, 0x10(%rdi)
movl %esi, %r12d
pushq $0x50
popq %rsi
movq %r12, %rdi
callq 0x2120
movq %rax, %r14
movq %rax, (%r15)
addl %ebx, %ebx
imulq $0x50, %r12, %r12
xorl %r13d, %r13d
pushq $0xc
popq %r15
cmpq %r13, %r12
je 0x68de5
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2120
movq %rax, (%r14,%r13)
addq $0x50, %r13
jmp 0x68dcb
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Overlaps.cpp
// Function: reset_bub_label_t(bub_label_t*, asg_t*, unsigned long, unsigned int)
void reset_bub_label_t(bub_label_t* x, asg_t *g, uint64_t bub_dist, uint32_t check_cross)
{
    uint32_t i;
    x->bub_dist = bub_dist;
    x->check_cross = check_cross;
    x->g = g;
    if(x->n_reads < x->g->n_seq)
    {
        x->n_reads = x->g->n_seq;
        for (i = 0; i < x->n_thres; i++)
        {
            REALLOC(x->b[i].a, x->n_reads<<1);
        }
    }

    for (i = 0; i < x->n_thres; i++)
    {
        x->b[i].S.n = x->b[i].b.n = x->b[i].e.n = 0;
        memset(x->b[i].a, 0, (x->n_reads<<1)*sizeof(binfo_s_t));
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq %rdx, 0x20(%rdi)
movl %ecx, 0x18(%rdi)
movq %rsi, 0x10(%rdi)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl 0x14(%rsi), %eax
cmpl %eax, 0xc(%rdi)
jae 0x68e45
movl %eax, 0xc(%rbx)
xorl %r14d, %r14d
xorl %r15d, %r15d
movl 0x8(%rbx), %eax
cmpq %rax, %r15
jae 0x68e45
movq (%rbx), %rax
movq (%rax,%r14), %rdi
movl 0xc(%rbx), %eax
addl %eax, %eax
imulq $0xc, %rax, %rsi
callq 0x2370
movq (%rbx), %rcx
movq %rax, (%rcx,%r14)
incq %r15
addq $0x50, %r14
jmp 0x68e18
xorl %r14d, %r14d
xorl %r15d, %r15d
movl 0x8(%rbx), %eax
cmpq %rax, %r15
jae 0x68e85
movq (%rbx), %rax
andq $0x0, 0x38(%rax,%r14)
andq $0x0, 0x20(%rax,%r14)
andq $0x0, 0x8(%rax,%r14)
movq (%rax,%r14), %rdi
movl 0xc(%rbx), %eax
addl %eax, %eax
imulq $0xc, %rax, %rdx
xorl %esi, %esi
callq 0x20e0
incq %r15
addq $0x50, %r14
jmp 0x68e4b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Overlaps.cpp
// Function: destory_bub_label_t(bub_label_t*)
void destory_bub_label_t(bub_label_t* x)
{
    uint32_t i;
    for (i = 0; i < x->n_thres; i++)
    {
        free(x->b[i].a); 
        free(x->b[i].S.a); 
        free(x->b[i].b.a); 
        free(x->b[i].e.a);
    }
    free(x->b);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movl 0x8(%rbx), %eax
movq (%rbx), %rdi
cmpq %rax, %r15
jae 0x68edd
movq (%rdi,%r14), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x18(%rax,%r14), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x30(%rax,%r14), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x48(%rax,%r14), %rdi
callq 0x2220
incq %r15
addq $0x50, %r14
jmp 0x68e99
popq %rbx
popq %r14
popq %r15
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/Overlaps.cpp
// Function: sort_kvec_t_u64_warp(kvec_t_u64_warp*, unsigned int)
void sort_kvec_t_u64_warp(kvec_t_u64_warp* u_vecs, uint32_t is_descend)
{
    radix_sort_arch64(u_vecs->a.a, u_vecs->a.a + u_vecs->a.n);
    if(is_descend)
    {
        uint64_t i, uInfor;
        for (i = 0; i < (u_vecs->a.n>>1); ++i) 
        {
            uInfor = u_vecs->a.a[i];
            u_vecs->a.a[i] = u_vecs->a.a[u_vecs->a.n - i - 1];
            u_vecs->a.a[u_vecs->a.n - i - 1] = uInfor;
        }
    }
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x10(%rdi), %rdi
leaq (%rdi,%rax,8), %rsi
callq 0x66c25
testl %ebp, %ebp
je 0x68f56
pushq $-0x8
popq %rax
xorl %ecx, %ecx
movq (%rbx), %rdx
movq %rdx, %rsi
shrq %rsi
cmpq %rsi, %rcx
jae 0x68f56
movq 0x10(%rbx), %rsi
movq (%rsi,%rcx,8), %rdi
leaq (%rsi,%rdx,8), %rdx
movq (%rax,%rdx), %rdx
movq %rdx, (%rsi,%rcx,8)
movq (%rbx), %rdx
leaq (%rsi,%rdx,8), %rdx
movq %rdi, (%rax,%rdx)
incq %rcx
addq $-0x8, %rax
jmp 0x68f20
addq $0x8, %rsp
popq %rbx
popq %rbp
retq