LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cigar_gen(overlap_region*, Candidates_list*, ul_ov_t*, unsigned long, unsigned long, unsigned long, ul_idx_t const*, hpc_t*, All_reads*, char*, UC_Read*, bit_extz_t*, double, long, unsigned long, ul_ov_t*)
uint64_t cigar_gen(overlap_region *z, Candidates_list *cl, ul_ov_t *ov, uint64_t on, uint64_t qn, uint64_t wl,  
const ul_idx_t *uref, hpc_t *hpc_g, All_reads *rref, char* qstr, UC_Read *tu, bit_extz_t *exz, double e_rate, 
int64_t ql, uint64_t rid, ul_ov_t *des)
{
    if(on <= 0) return 0;
    uint64_t i; 
    // des[0] = ov[0]; 
    // for (i = m = 1; i < on; i++) {
    //     fusion_merge();
    // }
    

    for (i = 0; i < on; i++) {
        assert((i<=0)||(ov[i].qs > ov[i-1].qe));
        sub_ciagar_gen(z, cl, ov[i].qs, ov[i].qe, wl, uref, hpc_g, rref, qstr, tu, exz, e_rate, ql, rid);
    }
    return on;
    // uint64_t i, qs = (uint64_t)-1, qe = (uint64_t)-1;
    // for (i = 0; i < on && ov[i].qn == qn; i++) {
    //     assert((i<=0)||(ov[i].qs >= ov[i-1].qe));
    //     if(ov[i].qs <= qe && qe != (uint64_t)-1) {
    //         qe = ov[i].qe;
    //     } else {
    //         if(qs != (uint64_t)-1) sub_ciagar_gen(z, cl, qs, qe, wl, uref, hpc_g, rref, qstr, tu, exz, e_rate, ql, rid);
    //         qs = ov[i].qs; qe = ov[i].qe;
    //     }
    // }
    // if(qs != (uint64_t)-1) sub_ciagar_gen(z, cl, qs, qe, wl, uref, hpc_g, rref, qstr, tu, exz, e_rate, ql, rid);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movsd %xmm0, (%rsp)
testq %rcx, %rcx
je 0x61c93
movq %r9, %r14
movq %rcx, %rbx
movq %rdx, %r15
movq %rdi, %r12
movq 0x40(%rsp), %r13
addq $0x8, %r15
xorl %ebp, %ebp
testq %rbp, %rbp
je 0x61c38
movl -0x4(%r15), %eax
cmpl -0x1c(%r15), %eax
jbe 0x61ca7
movl -0x4(%r15), %edx
movl (%r15), %ecx
subq $0x10, %rsp
movq %r12, %rdi
movq %r14, %r8
movq %r13, %r9
movsd 0x10(%rsp), %xmm0
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
callq 0x618f0
addq $0x40, %rsp
incq %rbp
addq $0x1c, %r15
cmpq %rbp, %rbx
jne 0x61c29
jmp 0x61c95
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c4ac8(%rip), %rdi    # 0x226776
leaq 0x1c398e(%rip), %rsi    # 0x225643
leaq 0x1c4ada(%rip), %rcx    # 0x226796
movl $0x3993, %edx           # imm = 0x3993
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_weight_khits0(unsigned int, unsigned int, k_mer_hit*, long, long, unsigned long)
int64_t gen_weight_khits0(uint32_t qs, uint32_t qe, k_mer_hit *a, int64_t an, int64_t k, uint64_t dp)///[qs, qe)
{
    for (; k >= 0 && a[k].self_offset >= qs; k--); 
    for (k = ((k>=0)?k:0); k < an && a[k].self_offset < qe; k++) {
        if((a[k].self_offset >= qs) && (a[k].self_offset < qe) && (!is_alnw(a[k]))) {
            a[k].readID = dp;
        }
    }
    return k;
}

// Assembly:
testq %r8, %r8
js 0x62020
movq %r8, %rax
shlq $0x4, %r8
addq %rdx, %r8
addq $0x8, %r8
cmpl %edi, (%r8)
jb 0x62022
leaq -0x1(%rax), %r10
addq $-0x10, %r8
testq %rax, %rax
movq %r10, %rax
jg 0x6200b
xorl %eax, %eax
cmpq %rcx, %rax
jge 0x62074
andl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
movq %rax, %r8
shlq $0x4, %r8
addq %r8, %rdx
movl 0x8(%rdx), %r8d
cmpl %esi, %r8d
jae 0x62074
cmpl %edi, %r8d
jb 0x62065
movl (%rdx), %r8d
movl %r8d, %r10d
notl %r10d
testl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
je 0x62065
andl $0x80000000, %r8d       # imm = 0x80000000
orl %r9d, %r8d
movl %r8d, (%rdx)
incq %rax
addq $0x10, %rdx
cmpq %rax, %rcx
jne 0x62038
movq %rcx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_weight_khits(asg64_v*, k_mer_hit*, long)
void gen_weight_khits(asg64_v* idx, k_mer_hit *a, int64_t an)
{
    int64_t i, idx_n = idx->n, dp, old_dp, beg, end, k;
    // fprintf(stderr, "[M::%s::] idx->n::%ld\n", __func__, (int64_t)idx->n);
    for (i = k = 0, dp = old_dp = 0, beg = 0, end = -1; i < idx_n; ++i) {///[beg, end) but coordinates in idx is [, ]
        ///if idx->a.a[] is qe
        old_dp = dp;
        if ((idx->a[i]>>32)&1) {
            --dp; end = (idx->a[i]>>33)+1;
        }else {
            //meet a new overlap; the overlaps are pushed by the x_pos_s
            ++dp; end = (idx->a[i]>>33);
        }
        // fprintf(stderr, "[M::%s::] beg::%ld, end::%ld, old_dp::%ld\n", __func__, beg, end, old_dp);
        if(end > beg) k = gen_weight_khits0(beg, end, a, an, k, old_dp);
        beg = end;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq (%rdi), %rbp
testq %rbp, %rbp
jle 0x62109
movq %rdi, %rsi
xorl %eax, %eax
movabsq $0x100000000, %r15      # imm = 0x100000000
xorl %edi, %edi
xorl %r12d, %r12d
xorl %r14d, %r14d
movq %rsi, (%rsp)
movq 0x10(%rsi), %rcx
movq (%rcx,%r14,8), %rcx
movq %rcx, %r13
andq %r15, %r13
shrq $0x21, %rcx
btq $0x20, %r13
movl $0x0, %ebx
sbbq %rbx, %rbx
shrq $0x20, %r13
addq %rcx, %r13
cmpq %rdi, %r13
jbe 0x620f7
movl %r13d, %esi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
movq %rax, %r8
movq %r12, %r9
callq 0x61ff8
movq (%rsp), %rsi
orq $0x1, %rbx
addq %rbx, %r12
incq %r14
movq %r13, %rdi
cmpq %r14, %rbp
jne 0x620b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: prt_khit(Candidates_list*, overlap_region_alloc*, overlap_region*, unsigned long, char const*)
void prt_khit(Candidates_list *cl, overlap_region_alloc* ol, overlap_region *z, uint64_t utg_id, const char *cmd)
{
    uint64_t k, cid; int64_t i; 
    if(!z) {
        for (k = 0; k < ol->length; k++) {
            z = &(ol->list[k]);
            if(z->y_id == utg_id) break;
        }
    }
    if((z) || (z->y_id == utg_id)) {
            fprintf(stderr, "[M::%s::cmd->%s] ******\n", __func__, (char *)cmd);
        for (i = z->shared_seed, cid = cl->list[i].readID; i < cl->length && cl->list[i].readID == cid; i++) {
            fprintf(stderr, "[M::%s::i->%lu] qoff::%u, toff::%u, cid::%lu, cl->length::%lld\n", __func__, i, 
                        cl->list[i].self_offset, cl->list[i].offset, cid, cl->length);
        }
    }
}

// Assembly:
pushq %rax
movq %rdi, %rax
testq %rdx, %rdx
je 0x62134
testq %rdx, %rdx
jne 0x6216f
movl 0x10, %esi
cmpq %rcx, %rsi
je 0x6216f
popq %rax
retq
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
je 0x6216b
movq (%rsi), %rdx
imulq $0xa8, %rdi, %rsi
addq %rdx, %rsi
addq $-0xa8, %rsi
movl 0x10(%rdx), %r9d
cmpq %rcx, %r9
je 0x62121
addq $0xa8, %rdx
decq %rdi
jne 0x62151
movq %rsi, %rdx
jmp 0x62121
xorl %edx, %edx
jmp 0x62121
movq %r8, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x5d7b
jmp 0x62132
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cigar_gen_cns(overlap_region*, Candidates_list*, ul_ov_t*, unsigned long, unsigned long, unsigned long, ul_idx_t const*, hpc_t*, All_reads*, char*, UC_Read*, bit_extz_t*, double, long, unsigned long, asg64_v*, ul_ov_t*)
uint64_t cigar_gen_cns(overlap_region *z, Candidates_list *cl, ul_ov_t *ov, uint64_t on, uint64_t qn, uint64_t wl,  
const ul_idx_t *uref, hpc_t *hpc_g, All_reads *rref, char* qstr, UC_Read *tu, bit_extz_t *exz, double e_rate, 
int64_t ql, uint64_t rid, asg64_v* iidx, ul_ov_t *des)
{
    if(on <= 0 || iidx->n <= 0) return 0;
    uint64_t i; 
    for (i = 0; i < on; i++) {
        assert((i<=0)||(ov[i].qs > ov[i-1].qe));
        sub_ciagar_gen(z, cl, ov[i].qs, ov[i].qe, wl, uref, hpc_g, rref, qstr, tu, exz, e_rate, ql, rid);
    }
    return on;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movsd %xmm0, (%rsp)
testq %rcx, %rcx
je 0x623d3
movq 0x80(%rsp), %rax
cmpq $0x0, (%rax)
je 0x623d3
movq %r9, %r14
movq %rcx, %rbx
movq %rdx, %r15
movq %rdi, %r12
movq 0x40(%rsp), %r13
addq $0x8, %r15
xorl %ebp, %ebp
testq %rbp, %rbp
je 0x62378
movl -0x4(%r15), %eax
cmpl -0x1c(%r15), %eax
jbe 0x623e7
movl -0x4(%r15), %edx
movl (%r15), %ecx
subq $0x10, %rsp
movq %r12, %rdi
movq %r14, %r8
movq %r13, %r9
movsd 0x10(%rsp), %xmm0
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
pushq 0x80(%rsp)
callq 0x618f0
addq $0x40, %rsp
incq %rbp
addq $0x1c, %r15
cmpq %rbp, %rbx
jne 0x62369
jmp 0x623d5
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c4388(%rip), %rdi    # 0x226776
leaq 0x1c324e(%rip), %rsi    # 0x225643
leaq 0x1c45a3(%rip), %rcx    # 0x22699f
movl $0x3a3e, %edx           # imm = 0x3A3E
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: k_hits_bcheck(All_reads*, ul_idx_t const*, overlap_region_alloc*, Candidates_list*, unsigned long, unsigned long*, unsigned long, char*, char*, char*)
uint64_t k_hits_bcheck(All_reads *rref, const ul_idx_t *uref, overlap_region_alloc* ol, Candidates_list *cl, 
uint64_t khit, uint64_t *a, uint64_t a_n, char* qstr, char *str0, char *str1)
{
    if(a_n < 2) return 1;
    uint64_t k, e; char *ref0, *ref1; overlap_region *z;

    e = cl->list[(uint32_t)a[0]].offset; 
    if(e >= khit) e-=khit;
    else return 0;
    z = &(ol->list[cl->list[(uint32_t)a[0]].readID]);
    ref0 = retrive_str_piece_exz(rref, uref, str0, e, khit, z->y_pos_strand, z->y_id);
    // fprintf(stderr, "\n[M::%s::] qstr::%.*s\n", __func__, 
    // (int32_t)khit, qstr+cl->list[(uint32_t)a[0]].self_offset-khit);
    // fprintf(stderr, "[M::%s::qoff->%u::toff->%u::%c] tstr0::%.*s\n", __func__, 
    // cl->list[(uint32_t)a[0]].self_offset, cl->list[(uint32_t)a[0]].offset, "+-"[z->y_pos_strand], (int32_t)khit, ref0);

    for (k = 1; k < a_n; k++) {
        e = cl->list[(uint32_t)a[k]].offset; 
        if(e >= khit) e-=khit;
        else return 0;
        z = &(ol->list[cl->list[(uint32_t)a[k]].readID]);
        ref1 = retrive_str_piece_exz(rref, uref, str1, e, khit, z->y_pos_strand, z->y_id);
        // fprintf(stderr, "[M::%s::qoff->%u::toff->%u::%c] tstr1::%.*s\n", __func__, 
        // cl->list[(uint32_t)a[k]].self_offset, cl->list[(uint32_t)a[k]].offset, "+-"[z->y_pos_strand], (int32_t)khit, ref1);
        if(memcmp(ref0, ref1, khit)) return 0;
    }
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movl $0x1, %eax
cmpq $0x2, 0x50(%rsp)
jb 0x624b8
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq (%rcx), %rax
movl (%r9), %esi
shlq $0x4, %rsi
movl 0x4(%rax,%rsi), %ecx
subq %r8, %rcx
jae 0x624c7
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdi, %rbp
movq 0x60(%rsp), %rdx
addq %rsi, %rax
movq 0x10(%rsp), %rsi
movq (%rsi), %rsi
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
imulq $0xa8, %rax, %rax
movl 0x10(%rsi,%rax), %edi
movl 0x1c(%rsi,%rax), %r9d
movq %rdi, (%rsp)
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
movq %r14, %r8
callq 0x62406
movq %rax, %r12
movl $0x1, %r13d
movq (%r15), %rax
movl (%rbx,%r13,8), %edx
shlq $0x4, %rdx
movl 0x4(%rax,%rdx), %ecx
subq %r14, %rcx
jb 0x624b6
addq %rdx, %rax
movq 0x10(%rsp), %rdx
movq (%rdx), %rdx
movl (%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
imulq $0xa8, %rax, %rax
movl 0x10(%rdx,%rax), %esi
movl 0x1c(%rdx,%rax), %r9d
movq %rsi, (%rsp)
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %r14, %r8
callq 0x62406
movq %r12, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x21a0
testl %eax, %eax
jne 0x624b6
incq %r13
cmpq %r13, 0x50(%rsp)
jne 0x6250e
movl $0x1, %eax
jmp 0x624b8
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_global(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_global(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_global_64_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_global_128_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_global_infi_w_trace(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x64271
cmpl $0x2, %eax
jne 0x6427a
addq $0x18, %rsp
jmp 0x8e379
addq $0x18, %rsp
jmp 0x8cac9
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x90988
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_global_simi(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_global_simi(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_global_64_w(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_global_128_w(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_global_infi_w(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x642b4
cmpl $0x2, %eax
jne 0x642bd
addq $0x18, %rsp
jmp 0x93bc4
addq $0x18, %rsp
jmp 0x93949
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x94137
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_extension_0(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_extension_0(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_extension_64_0_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_extension_128_0_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_extension_infi_0_w_trace(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x642f7
cmpl $0x2, %eax
jne 0x64300
addq $0x18, %rsp
jmp 0x8ebf7
addq $0x18, %rsp
jmp 0x8cffc
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x91465
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_extension_0_simi(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_extension_0_simi(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_extension_64_0_w(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_extension_128_0_w(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_extension_infi_0_w(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x6433a
cmpl $0x2, %eax
jne 0x64343
addq $0x18, %rsp
jmp 0x94c37
addq $0x18, %rsp
jmp 0x948c3
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x952db
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_extension_1(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_extension_1(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_extension_64_1_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_extension_128_1_w_trace(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_extension_infi_1_w_trace(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x6437d
cmpl $0x2, %eax
jne 0x64386
addq $0x18, %rsp
jmp 0x8f5ef
addq $0x18, %rsp
jmp 0x8d669
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x920ec
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_extension_1_simi(char*, int, char*, int, int, bit_extz_t*)
void cal_exz_extension_1_simi(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_extension_64_1_w(pstr, pn, tstr, tn, thre, ez);
    } else if(nword == 2) {
        ed_band_cal_extension_128_1_w(pstr, pn, tstr, tn, thre, ez);
    } else {
        ed_band_cal_extension_infi_1_w(pstr, pn, tstr, tn, thre, &nword, ez);
    }
}

// Assembly:
subq $0x18, %rsp
leal (%r8,%r8), %r10d
sarl $0x6, %r10d
leal 0x1(%r10), %eax
movl %eax, 0x14(%rsp)
testl %r10d, %r10d
jle 0x643c0
cmpl $0x2, %eax
jne 0x643c9
addq $0x18, %rsp
jmp 0x95fcc
addq $0x18, %rsp
jmp 0x95bd9
movq %r9, (%rsp)
leaq 0x14(%rsp), %r9
callq 0x96711
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_semi(char*, int, char*, int, int, int, bit_extz_t*)
void cal_exz_semi(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, int32_t aux_beg, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_semi_64_w_absent_diag_trace(pstr, pn, tstr, tn, thre, aux_beg, ez);
    } else if(nword == 2) {
        ed_band_cal_semi_128_w_absent_diag_trace(pstr, pn, tstr, tn, thre, aux_beg, ez);
    } else {
        ed_band_cal_semi_infi_w_absent_diag_trace(pstr, pn, tstr, tn, thre, aux_beg, &nword, ez);
    }
}

// Assembly:
pushq %rax
movq 0x10(%rsp), %rax
leal (%r8,%r8), %r11d
sarl $0x6, %r11d
leal 0x1(%r11), %r10d
movl %r10d, 0x4(%rsp)
testl %r11d, %r11d
jle 0x64404
cmpl $0x2, %r10d
jne 0x64410
popq %rax
jmp 0x90059
subq $0x8, %rsp
pushq %rax
callq 0x8dd8a
jmp 0x6441d
leaq 0x4(%rsp), %r10
pushq %rax
pushq %r10
callq 0x92e05
addq $0x10, %rsp
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_exz_semi_simi(char*, int, char*, int, int, int, bit_extz_t*)
void cal_exz_semi_simi(char *pstr, int32_t pn, char *tstr, int32_t tn, int32_t thre, int32_t aux_beg, bit_extz_t *ez)
{
    int32_t bd, nword;
    bd = (((thre)<<1)+1); nword = ((bd>>bitw)+(!!(bd&bitz)));

    if(nword <= 1) {
        ed_band_cal_semi_64_w_absent_diag(pstr, pn, tstr, tn, thre, aux_beg, ez);
    } else if(nword == 2) {
        ed_band_cal_semi_128_w_absent_diag(pstr, pn, tstr, tn, thre, aux_beg, ez);
    } else {
        ed_band_cal_semi_infi_w_absent_diag(pstr, pn, tstr, tn, thre, aux_beg, &nword, ez);
    }
}

// Assembly:
pushq %rax
movq 0x10(%rsp), %rax
leal (%r8,%r8), %r11d
sarl $0x6, %r11d
leal 0x1(%r11), %r10d
movl %r10d, 0x4(%rsp)
testl %r11d, %r11d
jle 0x6444b
cmpl $0x2, %r10d
jne 0x64457
popq %rax
jmp 0x970d1
subq $0x8, %rsp
pushq %rax
callq 0x8c179
jmp 0x64464
leaq 0x4(%rsp), %r10
pushq %rax
pushq %r10
callq 0x976a0
addq $0x10, %rsp
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: adjust_ext_offset_fixed_t(long*, long*, long*, long*, long, long, long, long, long, long)
void adjust_ext_offset_fixed_t(int64_t *qs, int64_t *qe, int64_t *ts, int64_t *te, 
int64_t qmin, int64_t qmax, int64_t tmin, int64_t tmax, int64_t thre, int64_t mode)
{
    int64_t qoff, toff;
    if(mode == 1) {///forward extension
        qoff = qmax - (*qs); toff = tmax - (*ts);
        if(qoff <= toff) {
            (*qe) = qmax; (*te) = (*ts) + qoff + thre;
        } else {
            (*te) = tmax; (*qe) = (*qs) + toff + thre;
        }
    } else if(mode == 2) {///backward extension
        qoff = (*qe) - qmin; toff = (*te) - tmin;
        if(qoff <= toff) {
            (*qs) = qmin; (*ts) = (*te) - qoff - thre;
        } else {
            (*ts) = tmin; (*qs) = (*qe) - toff - thre;
        }
    }
    if((*qs) < qmin) (*qs) = qmin;
    if((*ts) < tmin) (*ts) = tmin;
    if((*qe) > qmax) (*qe) = qmax;
    if((*te) > tmax) (*te) = tmax;
}

// Assembly:
pushq %r14
pushq %rbx
movq 0x30(%rsp), %rbx
movq 0x28(%rsp), %r11
movq 0x20(%rsp), %rax
movq 0x18(%rsp), %r10
cmpq $0x2, %rbx
je 0x6524b
cmpq $0x1, %rbx
jne 0x6528a
movq %r9, %rbx
subq (%rdi), %rbx
movq %rax, %r14
subq (%rdx), %r14
cmpq %r14, %rbx
jle 0x6526d
movq %rax, (%rcx)
addq %r11, %r14
addq (%rdi), %r14
movq %r14, (%rsi)
jmp 0x6528a
movq (%rsi), %rbx
subq %r8, %rbx
movq (%rcx), %r14
subq %r10, %r14
cmpq %r14, %rbx
jle 0x6527b
movq %r10, (%rdx)
movq (%rsi), %rbx
addq %r11, %r14
subq %r14, %rbx
movq %rbx, (%rdi)
jmp 0x6528a
movq %r9, (%rsi)
addq %r11, %rbx
addq (%rdx), %rbx
movq %rbx, (%rcx)
jmp 0x6528a
movq %r8, (%rdi)
movq (%rcx), %r14
addq %r11, %rbx
subq %rbx, %r14
movq %r14, (%rdx)
cmpq %r8, (%rdi)
jge 0x65292
movq %r8, (%rdi)
cmpq %r10, (%rdx)
jge 0x6529a
movq %r10, (%rdx)
cmpq %r9, (%rsi)
jle 0x652a2
movq %r9, (%rsi)
cmpq %rax, (%rcx)
jle 0x652aa
movq %rax, (%rcx)
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: push_unmap_alnw(overlap_region*, int, long, long, long, long)
void push_unmap_alnw(overlap_region *aux_o, int32_t qs, int64_t qe, int64_t ts, int64_t te, int64_t mode)
{
    window_list *p = NULL;
    kv_pushp(window_list, aux_o->w_list, &p);
    p->x_start = qs; p->x_end = qe;
    p->y_start = ts; p->y_end = te;
    p->error_threshold = mode; p->error = INT16_MAX;
    p->extra_begin = p->extra_end = -1;
    p->cidx = p->clen = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %r13
movq 0x50(%rdi), %rax
cmpq %rax, 0x48(%rdi)
jne 0x65e95
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x50(%r13)
movq 0x58(%r13), %rdi
shlq $0x5, %rsi
callq 0x2370
movq %rax, 0x58(%r13)
movq 0x48(%r13), %rax
movq 0x58(%r13), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x48(%r13)
shlq $0x5, %rax
movl %ebp, (%rcx,%rax)
movl %r12d, 0x4(%rcx,%rax)
movl %r15d, 0x8(%rcx,%rax)
movl %r14d, 0xc(%rcx,%rax)
movw %bx, 0x16(%rcx,%rax)
movw $0x7fff, 0x14(%rcx,%rax) # imm = 0x7FFF
movl $0xffffffff, 0x10(%rcx,%rax) # imm = 0xFFFFFFFF
movq $0x0, 0x18(%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: push_replace_alnw(overlap_region*, int, long, long, long, long)
void push_replace_alnw(overlap_region *aux_o, int32_t qs, int64_t qe, int64_t ts, int64_t te, int64_t mode)
{
    window_list *p = NULL;
    kv_pushp(window_list, aux_o->w_list, &p);
    p->x_start = qs; p->x_end = qe;
    p->y_start = ts; p->y_end = te;
    p->error_threshold = mode; p->error = 0;
    p->extra_begin = p->extra_end = 0;
    p->cidx = p->clen = 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %r13
movq 0x50(%rdi), %rax
cmpq %rax, 0x48(%rdi)
jne 0x65f32
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x50(%r13)
movq 0x58(%r13), %rdi
shlq $0x5, %rsi
callq 0x2370
movq %rax, 0x58(%r13)
movq 0x48(%r13), %rax
movq 0x58(%r13), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x48(%r13)
shlq $0x5, %rax
movl %ebp, (%rcx,%rax)
movl %r12d, 0x4(%rcx,%rax)
movl %r15d, 0x8(%rcx,%rax)
movl %r14d, 0xc(%rcx,%rax)
movw %bx, 0x16(%rcx,%rax)
movw $0x0, 0x14(%rcx,%rax)
movl $0x0, 0x10(%rcx,%rax)
movq $0x0, 0x18(%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: set_exact_exz(bit_extz_t*, long, long, long, long)
void set_exact_exz(bit_extz_t *exz, int64_t qs, int64_t qe, int64_t ts, int64_t te)
{
    clear_align(*exz); exz->thre = 0; exz->cigar.n = 0;
    exz->err = 0; push_trace(&(exz->cigar), 0, qe - qs);
    exz->pl = te - ts; exz->ps = 0; exz->pe = exz->pl-1;
    exz->tl = qe - qs; exz->ts = 0; exz->te = exz->tl-1;
    exz->ps += ts; exz->pe += ts;
    exz->ts += qs; exz->te += qs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, (%rsp)
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
xorl %eax, %eax
movq %rax, 0x28(%rdi)
movq %rax, 0xa8(%rdi)
subl %r15d, %ebx
movl %ebx, %ebp
cmpl $0x3fff, %ebx           # imm = 0x3FFF
jb 0x6677c
movl $0x2, %r13d
movl %ebx, %ebp
movq 0xb0(%r14), %rax
cmpq %rax, 0xa8(%r14)
jne 0x6674f
leaq (%rax,%rax), %rsi
testq %rax, %rax
cmoveq %r13, %rsi
movq %rsi, 0xb0(%r14)
movq 0xb8(%r14), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0xb8(%r14)
movq 0xa8(%r14), %rax
movq 0xb8(%r14), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0xa8(%r14)
movw $0x3fff, (%rcx,%rax,2)  # imm = 0x3FFF
addl $0xffffc001, %ebp       # imm = 0xFFFFC001
cmpl $0x3ffe, %ebp           # imm = 0x3FFE
ja 0x66717
testl %ebp, %ebp
je 0x667da
movq 0xb0(%r14), %rax
cmpq %rax, 0xa8(%r14)
jne 0x667bd
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0xb0(%r14)
movq 0xb8(%r14), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0xb8(%r14)
movq 0xa8(%r14), %rax
movq 0xb8(%r14), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0xa8(%r14)
movw %bp, (%rcx,%rax,2)
movl %r12d, %eax
movq (%rsp), %rcx
subl %ecx, %eax
movl %eax, 0x18(%r14)
movl %ebx, 0x24(%r14)
movl %ecx, 0x10(%r14)
decl %r12d
movl %r12d, 0x14(%r14)
movl %r15d, 0x1c(%r14)
leal (%rbx,%r15), %eax
decl %eax
movl %eax, 0x20(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: debug_iter_k_mer_hit(k_mer_hit*, long, unsigned long, unsigned long, long, long)
void debug_iter_k_mer_hit(k_mer_hit *ch_a, int64_t ch_n, uint64_t s, uint64_t e, int64_t ibeg, int64_t iend)
{
    int64_t i, beg = -1, end = -1;
    for (i = 0; i < ch_n; i++) {
        if((ch_a[i].self_offset >= s) && (ch_a[i].self_offset < e)) {
            if(beg == -1) beg = i;
            end = i+1;
        }
    }
    assert(ibeg==beg && iend==end);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rsi, %rsi
jle 0x672bd
addq $0x8, %rdi
movq $-0x1, %rax
xorl %r11d, %r11d
movq $-0x1, %r10
movl (%rdi), %ebx
cmpq %rdx, %rbx
setae %bpl
cmpq %rcx, %rbx
setb %bl
leaq 0x1(%r11), %r14
cmpq $-0x1, %r10
cmovneq %r10, %r11
testb %bl, %bpl
cmovneq %r11, %r10
cmovneq %r14, %rax
addq $0x10, %rdi
movq %r14, %r11
cmpq %r14, %rsi
jne 0x67289
jmp 0x672cb
movq $-0x1, %r10
movq $-0x1, %rax
cmpq %r8, %r10
jne 0x672da
cmpq %r9, %rax
jne 0x672da
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1bf97a(%rip), %rdi    # 0x226c5b
leaq 0x1be35b(%rip), %rsi    # 0x225643
leaq 0x1bf983(%rip), %rcx    # 0x226c72
movl $0x3ff7, %edx           # imm = 0x3FF7
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: cigar_gen_by_chain(overlap_region*, Chain_Data*, k_mer_hit*, long, ul_ov_t*, long, unsigned long, ul_idx_t const*, hpc_t*, All_reads*, char*, UC_Read*, bit_extz_t*, double, long, unsigned long)
void cigar_gen_by_chain(overlap_region *z, Chain_Data *dp, k_mer_hit *ch_a, int64_t ch_n, ul_ov_t *ov, int64_t on, uint64_t wl,  
const ul_idx_t *uref, hpc_t *hpc_g, All_reads *rref, char* qstr, UC_Read *tu, bit_extz_t *exz, double e_rate, 
int64_t ql, uint64_t rid)
{
    if(on <= 0) return;
    int64_t i, ch_i, tl, id = z->y_id; uint64_t pe = (uint64_t)-1;
    if(hpc_g) tl = hpc_len(*hpc_g, id);
    else if(uref) tl = uref->ug->u.a[id].len;
    else tl = Get_READ_LENGTH((*rref), id);
    // for (i = 0; i < wn; i++) z->w_list.a[i].clen = 0;///clean cigar
    // if(on > 1) {
    //     fprintf(stderr, "[M::%s::] rid::%lu, on::%ld\n", __func__, rid, on);
    // }
    // if(z->y_id == 126) prt_k_mer_hit(ch_a, ch_n);
    for (i = ch_i = 0; i < on; i++) {
        assert((i<=0)||(ov[i].qs > ov[i-1].qe));
        ch_i = sub_base_aln(z, dp, ch_a, ch_n, pe, ov[i].qs, ov[i].qe, wl, uref, hpc_g, rref, qstr, tu, exz, e_rate, ql, tl, ch_i, rid);
        pe = ov[i].qe;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movsd %xmm0, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
testq %r9, %r9
jle 0x67a64
movq %r8, %rbx
movq 0x70(%rsp), %r15
movq 0x68(%rsp), %r12
movq 0x8(%rsp), %rax
movl 0x10(%rax), %eax
testq %r15, %r15
je 0x679b0
movq (%r15), %rcx
movq 0x10(%rcx), %rcx
leaq (%rax,%rax,4), %rax
movl (%rcx,%rax,8), %r13d
shrl %r13d
andl $0x3fffffff, %r13d      # imm = 0x3FFFFFFF
jmp 0x679db
testq %r12, %r12
je 0x679ce
movq (%r12), %rcx
movq 0x10(%rcx), %rcx
leaq (%rax,%rax,4), %rax
movl (%rcx,%rax,8), %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
jmp 0x679db
movq 0x78(%rsp), %rcx
movq 0x18(%rcx), %rcx
movq (%rcx,%rax,8), %r13
cmpq $0x2, %r9
movl $0x1, %ebp
cmovgeq %r9, %rbp
addq $0x8, %rbx
xorl %r14d, %r14d
xorl %eax, %eax
testq %r14, %r14
je 0x679fe
movl -0x4(%rbx), %ecx
cmpl -0x1c(%rbx), %ecx
jbe 0x67a73
movl -0x4(%rbx), %r9d
movl (%rbx), %esi
subq $0x8, %rsp
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movsd 0x28(%rsp), %xmm0
pushq %rax
pushq %r13
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq %r15
pushq %r12
pushq 0xb0(%rsp)
pushq %rsi
callq 0x6753e
addq $0x60, %rsp
incq %r14
addq $0x1c, %rbx
cmpq %r14, %rbp
jne 0x679f1
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1becfc(%rip), %rdi    # 0x226776
leaq 0x1bdbc2(%rip), %rsi    # 0x225643
leaq 0x1bf334(%rip), %rcx    # 0x226dbc
movl $0x409c, %edx           # imm = 0x409C
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: fusion_chain_ovlp(overlap_region*, k_mer_hit*, long, ul_ov_t*, long, unsigned long, long, long)
int64_t fusion_chain_ovlp(overlap_region *z, k_mer_hit *ch_a, int64_t ch_n, ul_ov_t *ov, int64_t on, uint64_t wl, int64_t ql, int64_t tl)
{
    int64_t i, srt, ch_i, m, os, oe, ovlp; ul_ov_t *p;
    for (i = ch_i = 0, srt = 1; i < on; i++) {
        // fprintf(stderr, "[M::%s::i->%ld] ovq::[%u, %u)\n", __func__, i, ov->qs, ov->qe);
        ov[i].sec = 6;///do not know the aln type
        ch_i = adjust_base_coordinates(z, ch_a, ch_n, &(ov[i]), wl, ql, tl, ch_i);
        if(i > 0 && ov[i].qs < ov[i-1].qe) srt = 0;
    }
    if(on <= 1) return on;

    if(!srt) radix_sort_uov_srt_qs(ov, ov+on);
    for (i = m = 1; i < on; i++) {
        p = &(ov[m-1]);
        os = MAX(p->qs, ov[i].qs); 
        oe = MIN(p->qe, ov[i].qe);
        ovlp = oe - os;
        if(ovlp >= 0) {//merge
            p->qe = MAX(p->qe, ov[i].qe);
            p->te = MAX(p->te, ov[i].te);
            p->tn = MAX(p->tn, ov[i].tn);
        } else {//new
            ov[m++] = ov[i]; 
        }
    }

    on = m;
    return on;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, 0x10(%rsp)
testq %r8, %r8
jle 0x67c8a
movq %rsi, %r12
movl $0x1, %r13d
movq %r14, %rbp
xorl %r15d, %r15d
xorl %eax, %eax
movl 0x18(%rbp), %ecx
movl $0xc0000000, %edx       # imm = 0xC0000000
andl %edx, %ecx
orl $0x6, %ecx
movl %ecx, 0x18(%rbp)
movq %rax, 0x8(%rsp)
movq %r12, %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rcx
movq 0x50(%rsp), %r9
callq 0x67a92
testq %r15, %r15
je 0x67c76
movl 0x4(%rbp), %ecx
cmpl -0x14(%rbp), %ecx
movl $0x0, %ecx
cmovbq %rcx, %r13
incq %r15
addq $0x1c, %rbp
cmpq %r15, %rbx
jne 0x67c38
testq %r13, %r13
sete %al
jmp 0x67c8c
xorl %eax, %eax
cmpq $0x2, %rbx
jl 0x67d41
testb %al, %al
je 0x67cb0
leaq (%rbx,%rbx,8), %rax
leaq (%rax,%rax,2), %rsi
addq %r14, %rsi
addq %rbx, %rsi
movq %r14, %rdi
callq 0x46de0
cmpq $0x3, %rbx
movl $0x2, %eax
cmovgeq %rbx, %rax
decq %rax
leaq 0x30(%r14), %rcx
movl $0x1, %ebx
leaq (%rbx,%rbx,8), %rdx
leaq (%rdx,%rdx,2), %rsi
addq %rbx, %rsi
leaq (%r14,%rsi), %rdx
movl -0x18(%r14,%rsi), %r8d
movl -0x14(%r14,%rsi), %esi
movl -0x10(%rcx), %r9d
movl -0xc(%rcx), %edi
cmpl %r9d, %r8d
cmoval %r8d, %r9d
cmpl %edi, %esi
movl %edi, %r8d
cmovbl %esi, %r8d
cmpl %r9d, %r8d
jae 0x67d15
leaq -0x14(%rcx), %rsi
incq %rbx
movups (%rsi), %xmm0
movups 0xc(%rsi), %xmm1
movups %xmm1, 0xc(%rdx)
movups %xmm0, (%rdx)
jmp 0x67d38
cmpl %edi, %esi
cmoval %esi, %edi
movl %edi, -0x14(%rdx)
movl -0x8(%rdx), %esi
movl (%rcx), %edi
cmpl %edi, %esi
cmoval %esi, %edi
movl -0x10(%rdx), %esi
movl %edi, -0x8(%rdx)
movl -0x8(%rcx), %edi
cmpl %edi, %esi
cmoval %esi, %edi
movl %edi, -0x10(%rdx)
addq $0x1c, %rcx
decq %rax
jne 0x67cc9
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_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: retrieve_cigar_err_debug(bit_extz_t*, long, long)
int64_t retrieve_cigar_err_debug(bit_extz_t *ez, int64_t s, int64_t e)
{
    if(!ez->cigar.n) return 0;
    int64_t err = 0, xk = ez->ts; int64_t ws, we, os, oe, ovlp;
    uint32_t ck = 0, cl; uint16_t op;

    os = MAX(s, ez->ts); oe = MIN(e, ez->te+1);
    ovlp = ((oe>os)? (oe-os):0); 
    if(!ovlp) {
        fprintf(stderr, "[M::%s::] s::%ld, e::%ld, ez->ts::%u, ez->te::%u\n", 
        __func__, s, e, ez->ts, ez->te);
    }
    assert(ovlp);

    //some cigar will span s or e
    while (ck < ez->cigar.n && xk < e) {//[s, e)
        ws = xk; 
        ck = pop_trace(&(ez->cigar), ck, &op, &cl);
        if(op!=2) xk += cl;
        we = xk;
        os = MAX(s, ws); oe = MIN(e, we);
        ovlp = ((oe>os)? (oe-os):0);
        if((op==2) && (ws>=s) && (ws<e)) {
            ovlp = cl;
        }
        if((!ovlp) || (!op)) continue;
        err += ovlp;
    }
    return err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r8
movq 0xa8(%rdi), %rdx
testq %rdx, %rdx
je 0x6b8bb
movq %rsi, %rcx
movslq 0x1c(%rdi), %r9
cmpq %rsi, %r9
cmovgq %r9, %rsi
movslq 0x20(%rdi), %rax
leaq 0x1(%rax), %r10
cmpq %r8, %r10
cmovgeq %r8, %r10
cmpq %rsi, %r10
jle 0x6b8cc
xorl %esi, %esi
cmpq %r8, %r9
jge 0x6b8bb
movq 0xb8(%rdi), %rdi
xorl %r11d, %r11d
xorl %r10d, %r10d
xorl %eax, %eax
movzwl (%rdi,%r11,2), %r11d
movl %r11d, %ebx
shrl $0xe, %ebx
movl %r11d, %ebp
andl $0x3fff, %ebp           # imm = 0x3FFF
incl %r10d
cmpq %r10, %rdx
jbe 0x6b84b
movzwl (%rdi,%r10,2), %r14d
movl %r14d, %r15d
shrl $0xe, %r15d
cmpl %ebx, %r15d
jne 0x6b84b
andl $0x3fff, %r14d          # imm = 0x3FFF
addl %r14d, %ebp
jmp 0x6b826
movl %ebp, %r15d
cmpw $0x2, %bx
movq %r15, %r14
cmoveq %rsi, %r14
addq %r9, %r14
cmpq %rcx, %r9
movq %rcx, %r12
cmovgq %r9, %r12
cmpq %r8, %r14
movq %r8, %r13
cmovlq %r14, %r13
subq %r12, %r13
cmovleq %rsi, %r13
cmpq %rcx, %r9
cmovlq %r13, %r15
cmpw $0x2, %bx
cmovneq %r13, %r15
movzwl %r11w, %r9d
cmpl $0x4000, %r9d           # imm = 0x4000
movl $0x0, %r9d
cmovaeq %r15, %r9
testq %r15, %r15
cmoveq %r15, %r9
addq %r9, %rax
movl %r10d, %r11d
cmpq %r11, %rdx
jbe 0x6b8bd
movq %r14, %r9
cmpq %r8, %r14
jl 0x6b812
jmp 0x6b8bd
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x21e70d(%rip), %rdx    # 0x289fe0
movq (%rdx), %rdi
movl %eax, (%rsp)
leaq 0x1bc0eb(%rip), %rsi    # 0x2279cb
leaq 0x1bc116(%rip), %rdx    # 0x2279fd
xorl %eax, %eax
callq 0x22b0
leaq 0x1ce69b(%rip), %rdi    # 0x239f90
leaq 0x1b9d47(%rip), %rsi    # 0x225643
leaq 0x1bc113(%rip), %rcx    # 0x227a16
movl $0x4648, %edx           # imm = 0x4648
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: retrieve_cigar_err(bit_extz_t*, long, long, long*, long*)
int64_t retrieve_cigar_err(bit_extz_t *ez, int64_t s, int64_t e, int64_t *xk, int64_t *ck)
{
    if(!ez->cigar.n) return 0;
    int64_t cn = ez->cigar.n, op, err = 0; int64_t ws, we, os, oe, ovlp;
    if(((*ck) < 0) || ((*ck) > cn)) {//(*ck) == cn is allowed
        (*ck) = 0; (*xk) = ez->ts; 
    }

    while ((*ck) > 0 && (*xk) > s) {
        --(*ck);
        op = ez->cigar.a[(*ck)]>>14;
        if(op!=2) (*xk) -= (ez->cigar.a[(*ck)]&(0x3fff));
    }

    //some cigar will span s or e
    while ((*ck) < cn && (*xk) < e) {//[s, e)
        ws = (*xk); 
        op = ez->cigar.a[(*ck)]>>14;
        if(op!=2) (*xk) += (ez->cigar.a[(*ck)]&(0x3fff));
        we = (*xk);
        os = MAX(s, ws); oe = MIN(e, we);
        ovlp = ((oe>os)? (oe-os):0);
        if((op==2) && (ws>=s) && (ws<e)) {
            ovlp = (ez->cigar.a[(*ck)]&(0x3fff));
        }

        // if(s == 22694 && e == 38018) {
        //     fprintf(stderr, "[M::%s]\tw::[%ld,\t%ld)\tc::%ld\top::%ld\terr::%ld\n", __func__, ws, we, (*ck), op, err + (op?ovlp:0));
        // } 
        (*ck)++;
        if((!ovlp) || (!op)) continue;
        err += ovlp;
    }

    // int64_t debug_err = retrieve_cigar_err_debug(ez, s, e);
    // if(!(err == debug_err)) {
    //     fprintf(stderr, "[M::%s::] err::%ld, debug_err::%ld, s::%ld, e::%ld, ez->ts::%u, ez->te::%u\n", 
    //     __func__, err, debug_err, s, e, ez->ts, ez->te);
    // }
    // assert(err == debug_err);
    return err;
}

// Assembly:
movq 0xa8(%rdi), %r9
testq %r9, %r9
je 0x6bbfc
movq (%r8), %rax
testq %rax, %rax
setns %r10b
cmpq %r9, %rax
setle %al
testb %al, %r10b
jne 0x6bb24
movq $0x0, (%r8)
movslq 0x1c(%rdi), %rax
movq %rax, (%rcx)
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%r8), %rax
testq %rax, %rax
jle 0x6bb6a
cmpq %rsi, (%rcx)
jle 0x6bb6a
leaq -0x1(%rax), %r10
movq %r10, (%r8)
movq 0xb8(%rdi), %r10
movzwl -0x2(%r10,%rax,2), %eax
movl %eax, %r10d
andl $0xc000, %r10d          # imm = 0xC000
cmpl $0x8000, %r10d          # imm = 0x8000
je 0x6bb2c
andl $0x3fff, %eax           # imm = 0x3FFF
subq %rax, (%rcx)
jmp 0x6bb2c
movq (%r8), %r12
cmpq %r9, %r12
jge 0x6bbff
xorl %r10d, %r10d
xorl %eax, %eax
movq (%rcx), %r15
cmpq %rdx, %r15
jge 0x6bc01
movq 0xb8(%rdi), %rbx
movzwl (%rbx,%r12,2), %r11d
movl %r11d, %ebp
shrl $0xe, %ebp
cmpl $0x2, %ebp
je 0x6bbaa
movl %r11d, %r14d
andl $0x3fff, %r14d          # imm = 0x3FFF
addq %r15, %r14
movq %r14, (%rcx)
cmpq %rsi, %r15
movq %rsi, %r12
cmovgq %r15, %r12
movq (%rcx), %r14
cmpq %rdx, %r14
cmovgeq %rdx, %r14
subq %r12, %r14
cmovleq %r10, %r14
cmpq %rsi, %r15
jl 0x6bbde
cmpl $0x2, %ebp
jne 0x6bbde
movq (%r8), %r14
movzwl (%rbx,%r14,2), %r14d
andl $0x3fff, %r14d          # imm = 0x3FFF
movq (%r8), %r12
incq %r12
movq %r12, (%r8)
cmpl $0x4000, %r11d          # imm = 0x4000
cmovbq %r10, %r14
addq %r14, %rax
cmpq %r9, %r12
jl 0x6bb7b
jmp 0x6bc01
xorl %eax, %eax
retq
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: query_gen_gov_idx(asg64_v*, unsigned long, unsigned long)
uint64_t query_gen_gov_idx(asg64_v *ovidx, uint64_t v, uint64_t w)
{
    uint64_t m, s, e;
    if(v > w) {
        m = v; v = w; w = m;
    }
    s = ovidx->a[v]>>32; e = s + (uint32_t)ovidx->a[v];
    for (m = s; m < e; m++) {
        if(ovidx->a[m] == w) return 1;
    }
    return 0;
}

// Assembly:
cmpq %rdx, %rsi
movq %rdx, %rcx
cmovaq %rsi, %rcx
cmovbq %rsi, %rdx
movq 0x10(%rdi), %rsi
movq (%rsi,%rdx,8), %rdx
movl %edx, %edi
testq %rdi, %rdi
je 0x6bff3
shrq $0x20, %rdx
addq %rdx, %rdi
xorl %eax, %eax
cmpq %rcx, (%rsi,%rdx,8)
je 0x6bff6
incq %rdx
cmpq %rdi, %rdx
jb 0x6bfe4
retq
xorl %eax, %eax
retq
movl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: push_sec_aln(overlap_region*, long, long, long)
void push_sec_aln(overlap_region *z, int64_t s, int64_t e, int64_t sec_err)
{
    window_list *p;
    if(z->align_length > 0) {
        p = z->w_list.a + z->w_list.n + z->align_length - 1;
        if((p->x_end == s) && ((!!(p->clen)) == (!!sec_err))) {
            p->x_end = e; p->clen += sec_err;
            return;
        }
    }
    if((z->w_list.n+z->align_length)==z->w_list.m) {
        z->w_list.m = z->w_list.m? z->w_list.m<<1 : 2; 
        z->w_list.a = (window_list*)realloc(z->w_list.a, sizeof(window_list)*z->w_list.m); 
    }
    p = &(z->w_list.a[z->w_list.n+z->align_length]); z->align_length++; memset(p, 0, sizeof((*p)));
    p->x_start = s; p->x_end = e; p->clen += sec_err;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl 0x28(%rdi), %ecx
testq %rcx, %rcx
je 0x6c059
movq 0x48(%r12), %rax
shlq $0x5, %rax
addq 0x58(%r12), %rax
movq %rcx, %rdx
shlq $0x5, %rdx
movslq -0x1c(%rdx,%rax), %rsi
cmpq %r15, %rsi
jne 0x6c059
addq %rdx, %rax
movl -0x4(%rax), %edx
testl %edx, %edx
setne %sil
testq %rbx, %rbx
sete %dil
cmpb %sil, %dil
je 0x6c059
movl %r14d, -0x1c(%rax)
addq $-0x4, %rax
jmp 0x6c0cb
addq 0x48(%r12), %rcx
movq 0x50(%r12), %rax
cmpq %rax, %rcx
jne 0x6c090
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x50(%r12)
movq 0x58(%r12), %rdi
shlq $0x5, %rsi
callq 0x2370
movq %rax, 0x58(%r12)
movq 0x48(%r12), %rax
shlq $0x5, %rax
addq 0x58(%r12), %rax
movl 0x28(%r12), %ecx
leal 0x1(%rcx), %edx
shlq $0x5, %rcx
movl %edx, 0x28(%r12)
xorps %xmm0, %xmm0
addq %rcx, %rax
addq $0x1c, %rax
movups %xmm0, -0x1c(%rax)
movups %xmm0, -0xc(%rax)
movl %r15d, -0x1c(%rax)
movl %r14d, -0x18(%rax)
movl (%rax), %edx
addl %edx, %ebx
movl %ebx, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: reassign_sec_err(overlap_region*, asg64_v*, asg64_v*, unsigned long)
void reassign_sec_err(overlap_region* ol, asg64_v *ovidx, asg64_v *buf, uint64_t bid0)
{
    uint64_t bn = buf->n, bid = bid0, oid, mid, m, s, e;
    if(buf->a[bid]&id_set) return;
    kv_push(uint64_t, *buf, bid);
    while (buf->n > bn) {
        bid = buf->a[--buf->n];
        if(buf->a[bid]&id_set) continue;
        buf->a[bid]|=id_set;

        oid = id_get(buf->a[bid]);
        s = ovidx->a[oid]>>32; e = (uint32_t)ovidx->a[oid];
        for (m = s; m < e; m++) {
            mid = ol[(uint32_t)ovidx->a[m]].overlapLen;
            if(mid == (uint32_t)-1) continue;
            if(buf->a[mid]&id_set) continue;
            kv_push(uint64_t, *buf, mid);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq 0x10(%rdx), %rdi
cmpq $0x0, (%rdi,%rcx,8)
js 0x6c2da
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r14
movq (%rdx), %rcx
movq 0x8(%rdx), %rax
movq %rcx, (%rsp)
cmpq %rax, %rcx
jne 0x6c1fc
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x8(%rbx)
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x10(%rbx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, (%rbx)
movq %r12, (%rcx,%rax,8)
movq (%rbx), %rax
cmpq (%rsp), %rax
jbe 0x6c2da
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq 0x10(%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, (%rbx)
movq -0x8(%rcx,%rax,8), %rdx
movq (%rcx,%rdx,8), %rax
testq %rax, %rax
js 0x6c2cd
movq %rax, %rsi
btsq $0x3f, %rsi
movq %rsi, (%rcx,%rdx,8)
movl %eax, %eax
movq 0x10(%r14), %rcx
movq (%rcx,%rax,8), %rbp
movl %ebp, %r13d
shrq $0x20, %rbp
cmpq %r13, %rbp
jae 0x6c2cd
movq 0x10(%r14), %rax
movl (%rax,%rbp,8), %eax
imulq $0xa8, %rax, %rax
movl 0x20(%r15,%rax), %r12d
cmpq %r8, %r12
je 0x6c2c5
movq 0x10(%rbx), %rdi
cmpq $0x0, (%rdi,%r12,8)
js 0x6c2c5
movq 0x8(%rbx), %rax
cmpq %rax, (%rbx)
jne 0x6c2b3
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%rbx)
shlq $0x3, %rsi
callq 0x2370
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq %rax, 0x10(%rbx)
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, (%rbx)
movq %r12, (%rcx,%rax,8)
incq %rbp
cmpq %rbp, %r13
jne 0x6c260
movq (%rbx), %rax
cmpq (%rsp), %rax
ja 0x6c221
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: is_mask_ov(mask_ul_ov_t*, unsigned long*, unsigned long, unsigned long)
uint64_t is_mask_ov(mask_ul_ov_t *mk, uint64_t *bes_id, uint64_t bes_n, uint64_t sec_id)
{
    uint64_t s = mk->idx.a[sec_id]>>32, e = (uint32_t)(mk->idx.a[sec_id]), bk, si;
    bk = 0; si = s;
    while (bk < bes_n && si < e) {
        if (bes_id[bk] < mk->srt.a[si].tn) {
            bk++;
        } else if(mk->srt.a[si].tn < bes_id[bk]) {
            si++;
        } else {///bes_id[bk] == mk->srt.a[si].tn
            if(!(mk->srt.a[si].qs)) return 1;
            return 0;
        }
    }
    return 0;
}

// Assembly:
xorl %eax, %eax
testq %rdx, %rdx
je 0x6e9be
movq 0x10(%rdi), %r8
movq (%r8,%rcx,8), %r8
movl %r8d, %ecx
shrq $0x20, %r8
cmpl %ecx, %r8d
jae 0x6e9be
movq 0x18(%rdi), %rdi
xorl %eax, %eax
xorl %r9d, %r9d
leaq (%r8,%r8,8), %r10
leaq (%r10,%r10,2), %r11
addq %r8, %r11
leaq (%rdi,%r11), %r10
movl 0xc(%rdi,%r11), %r11d
cmpq %r11, (%rsi,%r9,8)
jae 0x6e9af
incq %r9
jmp 0x6e9b4
jbe 0x6e9bf
incq %r8
cmpq %rdx, %r9
jae 0x6e9be
cmpq %rcx, %r8
jb 0x6e990
retq
xorl %eax, %eax
cmpl $0x0, 0x4(%r10)
sete %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Correct.cpp
// Function: hc_phase_robust_rr(overlap_region*, All_reads*, haplotype_evdience_alloc*, char*, unsigned long, UC_Read*, unsigned long*, unsigned long, unsigned long, unsigned long, ul_ov_t*, long, unsigned char, unsigned long)
uint64_t hc_phase_robust_rr(overlap_region* ol, All_reads *rref, haplotype_evdience_alloc* hp, char* qstr, uint64_t ql, UC_Read* tu, uint64_t *id_a, uint64_t id_n, uint64_t s, uint64_t e, ul_ov_t *c_idx, int64_t set_f, uint8_t occ_thres, uint64_t hpc_len/**, uint8_t is_dbg**/)
{
    uint64_t k, q[2], rr = 0, os, oe; ul_ov_t *p; overlap_region *z;
    for (k = 0; k < id_n; k++) {
        p = &(c_idx[id_a[k]]); z = &(ol[ovlp_id(*p)]); 
        q[0] = z->w_list.a[ovlp_cur_wid(*p)].x_start+ovlp_bd(*p);
        q[1] = z->w_list.a[ovlp_cur_wid(*p)].x_end+1-ovlp_bd(*p);
        if(q[1] <= e) rr = 1;
        os = MAX(q[0], s); oe = MIN(q[1], e);
        if(oe > os) {
            // if(is_dbg) fprintf(stderr, "[M::%s]\ttn::%u\t%c\to::[%lu,\t%lu)\n", __func__, z->y_id, "+-"[z->y_pos_strand], os, oe);
            extract_sub_cigar_hc(z, rref, hp, qstr, ql, tu, os, oe, p, set_f, hp->flag + os - s, occ_thres, hpc_len/**, is_dbg**/);
        }
    }
    return rr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq 0x68(%rsp), %r11
testq %r11, %r11
je 0x6f035
movq %rdi, %r12
movq 0x80(%rsp), %r14
movq 0x78(%rsp), %rbx
movq 0x70(%rsp), %r13
movq 0x60(%rsp), %rbp
movq %rdx, %rax
subq %r13, %rax
addq $0x18, %rax
movq %rax, 0x8(%rsp)
xorl %r15d, %r15d
movq $0x0, (%rsp)
movq (%rbp,%r15,8), %rcx
leaq (%rcx,%rcx,8), %rax
leaq (%rax,%rax,2), %rax
addq %rcx, %rax
movl (%r14,%rax), %ecx
movl 0xc(%r14,%rax), %esi
imulq $0xa8, %rsi, %rdi
movq 0x58(%r12,%rdi), %r9
shlq $0x5, %rcx
movslq (%r9,%rcx), %r8
movl 0x18(%r14,%rax), %esi
andl $0x3fffffff, %esi       # imm = 0x3FFFFFFF
addq %rsi, %r8
movl 0x4(%r9,%rcx), %ecx
subl %esi, %ecx
incl %ecx
movslq %ecx, %r10
cmpq %r13, %r8
cmovbeq %r13, %r8
cmpq %rbx, %r10
movq (%rsp), %rcx
movl $0x1, %esi
cmovbeq %rsi, %rcx
movq %rcx, (%rsp)
cmovaeq %rbx, %r10
cmpq %r8, %r10
jbe 0x6f027
addq %r14, %rax
addq %r12, %rdi
movq %rbx, %r13
movq %r11, %rbx
movq 0x8(%rsp), %rcx
leaq (%rcx,%r8), %r11
subq $0x8, %rsp
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rcx
movq %r14, %rbp
movq %r12, %r14
movq %rdx, %r12
movq 0x28(%rsp), %r9
pushq 0xa0(%rsp)
pushq $0x0
pushq %r11
pushq 0xa8(%rsp)
pushq %rax
pushq %r10
pushq %r8
callq 0x6d010
movq %rbx, %r11
movq %r13, %rbx
movq 0xb0(%rsp), %r13
movq %r12, %rdx
movq %r14, %r12
movq %rbp, %r14
movq 0xa0(%rsp), %rbp
addq $0x40, %rsp
incq %r15
cmpq %r15, %r11
jne 0x6ef4c
jmp 0x6f03d
movq $0x0, (%rsp)
movq (%rsp), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq