LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: debug_inter(overlap_region_alloc*, kv_ul_ov_t*, unsigned long*, long, unsigned long*, long, long, long)
void debug_inter(overlap_region_alloc* ol, kv_ul_ov_t *c_idx, uint64_t *idx, int64_t idx_n, uint64_t *res, int64_t res_n, int64_t s, int64_t e)
{
    ul_ov_t *cp; int64_t q[2], a_n = 0, i, k = 0, os, oe; 
    for (i = 0; i < idx_n; i++) {
        cp = &(c_idx->a[(uint32_t)idx[i]]);
        q[0] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_start+ovlp_bd(*cp);
        q[1] = ol->list[ovlp_id(*cp)].w_list.a[ovlp_cur_wid(*cp)].x_end+1-ovlp_bd(*cp);
        os = MAX(q[0], s); oe = MIN(q[1], e);
        if(oe > os) {
            a_n++; assert(((uint32_t)idx[i]) == res[k++]);
        }
    }
    // if(a_n != res_n) {
    //     fprintf(stderr, "[M::%s] a_n::%ld\tres_n::%ld\ts::%ld\te::%ld\n", __func__, a_n, res_n, s, e);
    // }
    assert(a_n == res_n);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
testq %rcx, %rcx
jle 0x701ef
movq 0x48(%rsp), %r9
movq 0x40(%rsp), %r11
movq (%rsi), %rsi
movq (%rdi), %rdi
xorl %eax, %eax
xorl %ebx, %ebx
xorl %r14d, %r14d
movl (%rdx,%rbx,8), %r15d
leaq (%r15,%r15,8), %r12
leaq (%r12,%r12,2), %r12
addq %r15, %r12
movl (%rsi,%r12), %r13d
movl 0xc(%rsi,%r12), %ebp
imulq $0xa8, %rbp, %rbp
movq 0x58(%rdi,%rbp), %rbp
shlq $0x5, %r13
movslq (%rbp,%r13), %r10
movl 0x18(%rsi,%r12), %r12d
andl $0x3fffffff, %r12d      # imm = 0x3FFFFFFF
addq %r12, %r10
movl 0x4(%rbp,%r13), %ebp
subl %r12d, %ebp
incl %ebp
movslq %ebp, %r12
cmpq %r11, %r10
cmovleq %r11, %r10
cmpq %r9, %r12
cmovgeq %r9, %r12
cmpq %r10, %r12
jle 0x701e5
cmpq (%r8,%r14,8), %r15
jne 0x70206
incq %rax
incq %r14
incq %rbx
cmpq %rbx, %rcx
jne 0x7017d
jmp 0x701f1
xorl %eax, %eax
cmpq (%rsp), %rax
jne 0x70225
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c3ff0(%rip), %rdi    # 0x2341fd
leaq 0x1c153f(%rip), %rsi    # 0x231753
leaq 0x1c4001(%rip), %rcx    # 0x23421c
movl $0x4c5b, %edx           # imm = 0x4C5B
callq 0x2110
leaq 0x1c4063(%rip), %rdi    # 0x23428f
leaq 0x1c1520(%rip), %rsi    # 0x231753
leaq 0x1c3fe2(%rip), %rcx    # 0x23421c
movl $0x4c61, %edx           # imm = 0x4C61
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: debug_snp_site(overlap_region*, All_reads*, UC_Read*, haplotype_evdience*, long)
void debug_snp_site(overlap_region* ol, All_reads *rref, UC_Read *qu, haplotype_evdience *a, int64_t a_n)
{
    int64_t k; char ystr; 
    for (k = 0; k < a_n; k++) {
        recover_UC_Read_sub_region(&ystr, a[k].overlapSite, 1, ol[a[k].overlapID].y_pos_strand, rref, ol[a[k].overlapID].y_id);
        // if(a[k].misBase == ystr) fprintf(stderr, "[M::%s] misBase::%c\tystr::%c\n", __func__, a[k].misBase, ystr);
        assert(a[k].misBase == ystr);
        if(a[k].type == 0) {
            assert(qu->seq[a[k].site] == ystr);
        } else {
            assert(qu->seq[a[k].site] != ystr);
        }
    }
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %r8, %r8
jle 0x702bf
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
leaq 0x7(%rsp), %rbp
movl 0x4(%r14), %eax
movl 0x8(%r14), %esi
imulq $0xa8, %rax, %rax
movzbl 0x1c(%r13,%rax), %ecx
movl 0x10(%r13,%rax), %r9d
movl $0x1, %edx
movq %rbp, %rdi
movq %r12, %r8
callq 0x32ef8
movb 0x14(%r14), %al
cmpb 0x7(%rsp), %al
jne 0x702ce
cmpb $0x0, 0xc(%r14)
movq (%r15), %rcx
movl (%r14), %edx
movb (%rcx,%rdx), %cl
je 0x702b2
cmpb %al, %cl
jne 0x702b6
jmp 0x702ed
cmpb %al, %cl
jne 0x7030c
addq $0x18, %r14
decq %rbx
jne 0x70268
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c3fc7(%rip), %rdi    # 0x23429c
leaq 0x1c1477(%rip), %rsi    # 0x231753
leaq 0x1c3fce(%rip), %rcx    # 0x2342b1
movl $0x4c6a, %edx           # imm = 0x4C6A
callq 0x2110
leaq 0x1c4035(%rip), %rdi    # 0x234329
leaq 0x1c1458(%rip), %rsi    # 0x231753
leaq 0x1c3faf(%rip), %rcx    # 0x2342b1
movl $0x4c6e, %edx           # imm = 0x4C6E
callq 0x2110
leaq 0x1c3ffb(%rip), %rdi    # 0x23430e
leaq 0x1c1439(%rip), %rsi    # 0x231753
leaq 0x1c3f90(%rip), %rcx    # 0x2342b1
movl $0x4c6c, %edx           # imm = 0x4C6C
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: cal_lindel_dd(ul_ov_t*, ul_ov_t*, double, unsigned long, double, unsigned long)
double cal_lindel_dd(ul_ov_t *a, ul_ov_t *b, double ol_r, uint64_t ol_w, double err_dif, uint64_t c_sz)
{
    if(a->tn == b->tn) return -1;
    uint64_t os, oe, ol; int64_t ea, eb, ed;
    os = MAX(a->qs, b->qs); oe = MIN(a->qe, b->qe);
    if(oe <= os + ol_w) return -1;
    ol = oe - os;
    // if((ol < ((a->qe - a->qs)*ol_r)) || (ol < ((b->qe - b->qs)*ol_r))) return -1;
    if((ol < ((a->qe - a->qs)*ol_r)) && (ol < ((b->qe - b->qs)*ol_r))) return -1;

    ea = a->qn; eb = b->qn;
    ed = ((ea >= eb)?(ea - eb):(eb - ea));
    if((ed > (ea * err_dif)) || (ed > (eb * err_dif))) return -1;

    double sc;
    sc = ((double)(ea - ed + eb - ed))/((double)(ea + eb));
    sc += ((double)(ol + ol)) / ((double)(a->qe - a->qs + b->qe - b->qs));
    return sc;
}

// Assembly:
movapd %xmm0, %xmm2
movl 0xc(%rdi), %eax
movsd 0x1c08d1(%rip), %xmm0   # 0x231638
cmpl 0xc(%rsi), %eax
je 0x70e8b
movl 0x4(%rdi), %eax
movl 0x4(%rsi), %ecx
cmpl %ecx, %eax
movl %ecx, %r11d
cmoval %eax, %r11d
movl 0x8(%rdi), %r8d
movl 0x8(%rsi), %r9d
cmpl %r9d, %r8d
movl %r9d, %r10d
cmovbl %r8d, %r10d
addq %r11, %rdx
cmpq %r10, %rdx
jae 0x70e8b
subq %r11, %r10
movq %r10, %xmm4
punpckldq 0x1c04d3(%rip), %xmm4 # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1]
subpd 0x1c04db(%rip), %xmm4   # 0x231290
movapd %xmm4, %xmm3
unpckhpd %xmm4, %xmm3            # xmm3 = xmm3[1],xmm4[1]
movl %r8d, %edx
subl %eax, %edx
cvtsi2sd %rdx, %xmm5
addsd %xmm4, %xmm3
mulsd %xmm2, %xmm5
ucomisd %xmm3, %xmm5
jbe 0x70df0
movl %r9d, %edx
subl %ecx, %edx
xorps %xmm4, %xmm4
cvtsi2sd %rdx, %xmm4
mulsd %xmm2, %xmm4
ucomisd %xmm3, %xmm4
ja 0x70e8b
movl (%rdi), %edi
movl (%rsi), %edx
movq %rdi, %r11
subq %rdx, %r11
movq %rdx, %rsi
subq %rdi, %rsi
cmpl %edx, %edi
cmovaeq %r11, %rsi
xorps %xmm2, %xmm2
cvtsi2sd %rsi, %xmm2
xorps %xmm3, %xmm3
cvtsi2sd %rdi, %xmm3
mulsd %xmm1, %xmm3
ucomisd %xmm3, %xmm2
ja 0x70e8b
xorps %xmm3, %xmm3
cvtsi2sd %rdx, %xmm3
mulsd %xmm1, %xmm3
ucomisd %xmm3, %xmm2
ja 0x70e8b
addq %rdi, %rdx
addq %rsi, %rsi
xorps %xmm0, %xmm0
cvtsi2sd %rdx, %xmm0
subq %rsi, %rdx
xorps %xmm1, %xmm1
cvtsi2sd %rdx, %xmm1
divsd %xmm0, %xmm1
addq %r10, %r10
movq %r10, %xmm2
punpckldq 0x1c0421(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x1c0429(%rip), %xmm2   # 0x231290
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
addl %eax, %ecx
subl %ecx, %r8d
addl %r9d, %r8d
xorps %xmm2, %xmm2
cvtsi2sd %r8, %xmm2
divsd %xmm2, %xmm0
addsd %xmm1, %xmm0
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_aln_ul_ov_t(long, long, overlap_region*, ul_ov_t*)
int64_t gen_aln_ul_ov_t(int64_t in_id, int64_t tl, overlap_region *in, ul_ov_t *ou)
{
    int64_t zwn; memset(ou, 0, sizeof((*ou)));
    zwn = in->w_list.n; if(!zwn) return 0;

    ///in_id -> ovlp id
    ou->qn = in_id; ou->tn = in->y_id; 
    ou->rev = in->y_pos_strand;
    ou->qs = in->w_list.a[0].x_start;
    ou->qe = in->w_list.a[zwn-1].x_end+1;
    
    if(!(ou->rev)) {
        ou->ts = in->w_list.a[0].y_start;
        ou->te = in->w_list.a[zwn-1].y_end+1;
    } else {
        ou->ts = tl-(in->w_list.a[zwn-1].y_end+1);
        ou->te = tl-in->w_list.a[0].y_start;
    }
    return 1;
}

// Assembly:
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rcx)
movups %xmm0, (%rcx)
movq 0x48(%rdx), %rax
testq %rax, %rax
je 0x73628
movl %edi, (%rcx)
movl 0x10(%rdx), %edi
movl %edi, 0xc(%rcx)
movl 0x1c(%rdx), %edi
shll $0x1f, %edi
movl %edi, 0x18(%rcx)
movq 0x58(%rdx), %rdx
movl (%rdx), %r8d
movl %r8d, 0x4(%rcx)
decq %rax
shlq $0x5, %rax
movl 0x4(%rdx,%rax), %r8d
incl %r8d
movl %r8d, 0x8(%rcx)
testl %edi, %edi
je 0x7362b
movl 0xc(%rdx,%rax), %eax
notl %eax
addl %esi, %eax
movl %eax, 0x10(%rcx)
subl 0x8(%rdx), %esi
jmp 0x73637
xorl %eax, %eax
retq
movl 0x8(%rdx), %esi
movl %esi, 0x10(%rcx)
movl 0xc(%rdx,%rax), %esi
incl %esi
movl %esi, 0x14(%rcx)
movl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: if_direct_mask(ul_idx_t const*, ug_opt_t const*, ul_ov_t*, ul_ov_t*, unsigned long, double)
uint64_t if_direct_mask(const ul_idx_t *uref, const ug_opt_t *uopt, ul_ov_t *p, ul_ov_t *q, uint64_t bw, double len_diff)
{
    ul_ov_t *li, *lj; uint64_t os, oe, ovlp;
    if(p->qe > q->qe) li = p, lj = q;
    else if(p->qe == q->qe && p->qs >= q->qs) li = p, lj = q;
    else lj = p, li = q;
    os = MAX(li->qs, lj->qs), oe = MIN(li->qe, lj->qe);
    ovlp = ((oe > os)? (oe - os):0);
    if(!ovlp) return 0;//no overlap

    if(lj->qs <= li->qs+G_CHAIN_INDEL) {
        if(govlp_check(uref, uopt, bw, len_diff, li, lj)) return 1;
    } else if((lj->qe+G_CHAIN_INDEL>=li->qe) && (lj->qs+G_CHAIN_INDEL>=li->qs)) {
        if(govlp_check(uref, uopt, bw, len_diff, lj, li)) return 1;
    }
    return 0;
}

// Assembly:
movq %rcx, %rax
movl 0x8(%rdx), %r9d
movl 0x8(%rcx), %ecx
cmpl %ecx, %r9d
jbe 0x769e7
movl %ecx, %r10d
movl %r9d, %ecx
movq %rax, %r9
movq %rdx, %rax
jmp 0x769f9
jne 0x769f3
movl 0x4(%rdx), %r10d
cmpl 0x4(%rax), %r10d
jae 0x76a6c
movl %r9d, %r10d
movq %rdx, %r9
pushq %rbp
pushq %rbx
pushq %rax
movl 0x4(%rax), %edx
movl 0x4(%r9), %r11d
cmpl %r11d, %edx
movl %r11d, %ebx
cmoval %edx, %ebx
cmpl %r10d, %ecx
movl %r10d, %ebp
cmovbl %ecx, %ebp
cmpl %ebx, %ebp
jbe 0x76a63
leal 0x80(%rdx), %ebx
cmpl %ebx, %r11d
jbe 0x76a4a
movl $0x80, %ebx
addl %ebx, %r10d
cmpl %ecx, %r10d
setb %cl
addl %ebx, %r11d
cmpl %edx, %r11d
setb %dl
orb %cl, %dl
jne 0x76a63
movq %r8, %rdx
movq %r9, %rcx
movq %rax, %r8
jmp 0x76a53
movq %r8, %rdx
movq %rax, %rcx
movq %r9, %r8
callq 0x6f0a2
movl %eax, %ecx
movl $0x1, %eax
testl %ecx, %ecx
jne 0x76a65
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl %r9d, %r10d
jmp 0x769dc
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: get_chain_x_by_y(overlap_region*, long)
int64_t get_chain_x_by_y(overlap_region* ot, int64_t q)
{
	int64_t x, y, off, i, lx = -1, ly = -1; Fake_Cigar* o = &(ot->f_cigar);
	x = get_fake_gap_pos(o, o->length - 1); 
	off = get_fake_gap_shift(o, o->length - 1);
	y = x - ot->x_pos_s + ot->y_pos_s + off;
	if(y == q) return x;

	for (i = 0; i < (int64_t)o->length; i++){
		x = get_fake_gap_pos(o, i); off = get_fake_gap_shift(o, i);
		y = x - ot->x_pos_s + ot->y_pos_s + off;
		if(q < y) {
			lx = x; ly = y;
			break;
		}
	}

    assert((i!=0)&&(i!=(int64_t)o->length));
	x = get_fake_gap_pos(o, i-1); off = get_fake_gap_shift(o, i-1);
	y = x - ot->x_pos_s + ot->y_pos_s + off;
	y = (((double)(q - y))/((double)(ly - y)))*((double)(lx -x)) + x;
	if(y < ot->x_pos_s) y = ot->x_pos_s;
	if(y > ot->x_pos_e) y = ot->x_pos_e;
	return y;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rdi), %r15
movl 0x40(%rdi), %esi
decl %esi
movq %r15, %rdi
callq 0x3d110
movslq %eax, %r12
movl 0x40(%rbx), %esi
decl %esi
movq %r15, %rdi
callq 0x3d11b
cltq
movl 0x4(%rbx), %ecx
movl 0x14(%rbx), %edx
addq %r12, %rax
subq %rcx, %rax
addq %rdx, %rax
cmpq %r14, %rax
jne 0x7b9e7
movq %r12, %rax
jmp 0x7bacd
cmpl $0x0, 0x40(%rbx)
je 0x7badc
xorl %r12d, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x3d110
movslq %eax, %r13
movq %r15, %rdi
movl %r12d, %esi
callq 0x3d11b
movslq %eax, %rbp
movl 0x4(%rbx), %eax
movl 0x14(%rbx), %ecx
addq %r13, %rbp
subq %rax, %rbp
addq %rcx, %rbp
cmpq %r14, %rbp
jg 0x7ba3f
incq %r12
movl 0x40(%rbx), %eax
cmpq %rax, %r12
jb 0x7b9f4
movq $-0x1, %rbp
movq $-0x1, %r13
jmp 0x7ba48
testq %r12, %r12
je 0x7badc
movl 0x40(%rbx), %eax
cmpq %rax, %r12
je 0x7badc
decl %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x3d110
cltq
movq %rax, (%rsp)
movq %r15, %rdi
movl %r12d, %esi
callq 0x3d11b
movslq %eax, %rcx
movl 0x4(%rbx), %eax
movl 0x14(%rbx), %edx
movq (%rsp), %rsi
addq %rsi, %rcx
subq %rax, %rcx
addq %rdx, %rcx
subq %rcx, %r14
cvtsi2sd %r14, %xmm0
subq %rcx, %rbp
cvtsi2sd %rbp, %xmm1
divsd %xmm1, %xmm0
movq %rsi, %rcx
subq %rsi, %r13
xorps %xmm1, %xmm1
cvtsi2sd %r13, %xmm1
cvtsi2sd %ecx, %xmm2
mulsd %xmm0, %xmm1
addsd %xmm1, %xmm2
cvttsd2si %xmm2, %rcx
movl 0x8(%rbx), %edx
cmpq %rax, %rcx
cmovgq %rcx, %rax
cmpq %rdx, %rax
cmovgeq %rdx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b92c2(%rip), %rdi    # 0x234da5
leaq 0x1b5c69(%rip), %rsi    # 0x231753
leaq 0x1b92d4(%rip), %rcx    # 0x234dc5
movl $0x5809, %edx           # imm = 0x5809
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_sub_ov(ul_idx_t const*, overlap_region*, kv_ul_ov_t*, unsigned long, unsigned long)
uint64_t gen_sub_ov(const ul_idx_t *udb, overlap_region* o, kv_ul_ov_t *res, uint64_t xs, uint64_t xe)
{
	uint64_t ts, te, i, l, rn = res->n, rev = o->y_pos_strand; ul_ov_t *z;
	utg_ct_t p; ma_utg_t *u = &(udb->ug->u.a[o->y_id]);
    if(!rev){
        ts = o->y_pos_s; te = o->y_pos_e + 1;
    } else {
        ts = u->len - (o->y_pos_e+1); te = u->len - o->y_pos_s;
    }

    for (i = l = 0; i < u->n; i++) {
        p.x = u->a[i]>>32; p.s = l; p.e = l + Get_READ_LENGTH(R_INF, (u->a[i]>>33));
        l += (uint32_t)u->a[i];
        if(p.e <= ts) continue; 
        if(p.s >= te) break;
        if(gen_contain_ov(udb, &p, o, res)) {
            z = &(res->a[res->n-1]);
            if(z->qs >= xe) break;
            if(z->qe <= xs) res->n--; 
        }
    }
    return res->n-rn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
movq %rdx, %r15
movq %rsi, %rdx
movq %rdi, 0x40(%rsp)
movq (%rdi), %rax
movl 0x10(%rsi), %esi
movl 0x18(%rdx), %r14d
leaq (%rsi,%rsi,4), %r10
shlq $0x3, %r10
addq 0x10(%rax), %r10
cmpl $0x0, 0x1c(%rdx)
je 0x7bd33
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl (%r10), %eax
notl %r14d
movl %r14d, %esi
addl %eax, %esi
subl 0x14(%rdx), %eax
movl %eax, %r14d
jmp 0x7bd39
movl 0x14(%rdx), %esi
incl %r14d
movq 0x8(%r15), %r8
cmpl $0x0, 0x10(%r10)
movq %r8, %rax
je 0x7be33
movq %r8, 0x28(%rsp)
movl %esi, %r11d
leaq 0x21a4d6(%rip), %rax    # 0x296230
movq 0x18(%rax), %r9
xorl %r13d, %r13d
xorl %ebx, %ebx
movq %r10, 0x10(%rsp)
movq %r11, 0x8(%rsp)
movq 0x18(%r10), %rax
movq (%rax,%r13,8), %r12
movq %r12, %rax
shrq $0x20, %rax
movl %eax, 0x1c(%rsp)
movl %ebx, 0x20(%rsp)
movq %r12, %rax
shrq $0x21, %rax
movl (%r9,%rax,8), %eax
addl %ebx, %eax
movl %eax, 0x24(%rsp)
cmpl %r11d, %eax
jbe 0x7be17
cmpl %ebx, %r14d
jbe 0x7be2a
movq 0x40(%rsp), %rdi
leaq 0x1c(%rsp), %rsi
movq %rdx, %rbp
movq %r15, %rcx
callq 0x7bafb
leaq 0x21a471(%rip), %rcx    # 0x296230
movq 0x18(%rcx), %r9
testq %rax, %rax
je 0x7be0a
movq (%r15), %r8
movq 0x8(%r15), %rax
leaq (%rax,%rax,8), %rsi
leaq (%rsi,%rsi,2), %rsi
addq %rax, %rsi
movl -0x18(%r8,%rsi), %edi
cmpq 0x38(%rsp), %rdi
movq 0x10(%rsp), %r10
movq 0x8(%rsp), %r11
jae 0x7be2a
movq %rbp, %rdx
addq %rsi, %r8
movl -0x14(%r8), %esi
cmpq 0x30(%rsp), %rsi
ja 0x7be17
decq %rax
movq %rax, 0x8(%r15)
jmp 0x7be17
movq %rbp, %rdx
movq 0x10(%rsp), %r10
movq 0x8(%rsp), %r11
addq %r12, %rbx
incq %r13
movl 0x10(%r10), %eax
cmpq %rax, %r13
jb 0x7bd6d
movq 0x8(%r15), %rax
movq 0x28(%rsp), %r8
subq %r8, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_conta_ov(ul_idx_t const*, overlap_region*, utg_ct_t*, long, kv_ul_ov_t*, unsigned long, unsigned long)
uint64_t gen_conta_ov(const ul_idx_t *udb, overlap_region* o, utg_ct_t *ct_a, int64_t ct_n, kv_ul_ov_t *res, uint64_t xs, uint64_t xe)
{
	int64_t i; uint64_t ys, ye, rn = res->n; ma_utg_t *u = &(udb->ug->u.a[o->y_id]);
     ul_ov_t *z; utg_ct_t *p;

    if(o->y_pos_strand == 0){
        ys = o->y_pos_s; ye = o->y_pos_e + 1;
    } else {
        ys = u->len - (o->y_pos_e+1); ye = u->len - o->y_pos_s;
    }

    for (i = 0; i < ct_n; i++) {
        p = &(ct_a[i]);
        if(p->e <= ys) continue; 
        if(p->s >= ye) break;
        if(gen_contain_ov(udb, p, o, res)) {
            z = &(res->a[res->n-1]);
            if(z->qs >= xe) break;
            if(z->qe <= xs) res->n--; 
        }
    }
    return res->n-rn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r13
cmpl $0x0, 0x1c(%rsi)
je 0x7be97
movq (%r13), %rax
movq 0x10(%rax), %rax
movl 0x10(%rbp), %ecx
movl 0x18(%rbp), %r14d
leaq (%rcx,%rcx,4), %rcx
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl (%rax,%rcx,8), %esi
notl %r14d
addl %esi, %r14d
subl 0x14(%rbp), %esi
movl %esi, 0x4(%rsp)
jmp 0x7bea4
movl 0x14(%rbp), %r14d
movl 0x18(%rbp), %eax
incl %eax
movl %eax, 0x4(%rsp)
movq 0x8(%rbx), %rcx
movq %rcx, %rax
testq %r15, %r15
jle 0x7bf21
movq %rcx, 0x8(%rsp)
cmpl %r14d, 0x8(%r12)
jbe 0x7bf0f
movl 0x4(%rsp), %eax
cmpl %eax, 0x4(%r12)
jae 0x7bf18
movq %r13, %rdi
movq %r12, %rsi
movq %rbp, %rdx
movq %rbx, %rcx
callq 0x7bafb
testq %rax, %rax
je 0x7bf0f
movq (%rbx), %rcx
movq 0x8(%rbx), %rax
leaq (%rax,%rax,8), %rsi
leaq (%rsi,%rsi,2), %r8
addq %rax, %r8
movl -0x18(%rcx,%r8), %esi
cmpq 0x50(%rsp), %rsi
jae 0x7bf18
addq %r8, %rcx
movl -0x14(%rcx), %ecx
cmpq 0x10(%rsp), %rcx
ja 0x7bf0f
decq %rax
movq %rax, 0x8(%rbx)
addq $0xc, %r12
decq %r15
jne 0x7beb5
movq 0x8(%rbx), %rax
movq 0x8(%rsp), %rcx
subq %rcx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: return_t_chain(overlap_region*, Candidates_list*)
int64_t return_t_chain(overlap_region *z, Candidates_list *cl)
{
    int64_t i, cn = cl->length, scn; uint64_t pid; k_mer_hit *ca;

    // if(z->y_id == 30129) {
    //     fprintf(stderr, "\n-0-[M::%s]\tutg%.6ul\tx::[%u,\t%u)\t%c\tutg%.6ul\ty::[%u,\t%u)\n", 
    //         __func__, z->x_id+1, z->x_pos_s, z->x_pos_e+1,
	// 		"+-"[z->y_pos_strand], z->y_id+1, z->y_pos_s, z->y_pos_e+1);
    //     i = z->shared_seed; pid = cl->list[i].readID;
    //     for (; i < cn && cl->list[i].readID == pid && cl->list[i].readID != ((uint32_t)(0x7fffffff)); i++) {
    //         fprintf(stderr, "i::%ld[M::%s]\treadID::%u\tself_offset::%u\toffset::%u\t%c\n", 
    //             i, __func__, cl->list[i].readID, cl->list[i].self_offset, cl->list[i].offset, 
    //             "+-"[cl->list[i].strand]);
    //     }
    // }



    i = z->shared_seed; pid = cl->list[i].readID;
    for (; i < cn && cl->list[i].readID == pid && cl->list[i].readID != ((uint32_t)(0x7fffffff)); i++);
    scn = i - z->shared_seed; ca = cl->list+z->shared_seed;
    i = lchain_refine(ca, scn, ca, &(cl->chainDP), 50, 5000, 512, 16); cn = i;
    for (; i < scn; i++) ca[i].readID = ((uint32_t)(0x7fffffff));
    // if(z->y_id == 30129) fprintf(stderr, "\n-a-[M::%s]\tcn::%ld\n", __func__, cn);


    // if(z->y_id == 30129) {
    //     fprintf(stderr, "\n-1-[M::%s]\tutg%.6ul\tx::[%u,\t%u)\t%c\tutg%.6ul\ty::[%u,\t%u)\n", 
    //         __func__, z->x_id+1, z->x_pos_s, z->x_pos_e+1,
	// 		"+-"[z->y_pos_strand], z->y_id+1, z->y_pos_s, z->y_pos_e+1);
    //     i = z->shared_seed; pid = cl->list[i].readID; cn = cl->length;
    //     for (; i < cn && cl->list[i].readID == pid && cl->list[i].readID != ((uint32_t)(0x7fffffff)); i++) {
    //         fprintf(stderr, "i::%ld[M::%s]\treadID::%u\tself_offset::%u\toffset::%u\t%c\n", 
    //             i, __func__, cl->list[i].readID, cl->list[i].self_offset, cl->list[i].offset, 
    //             "+-"[cl->list[i].strand]);
    //     }
    // }
    return cn;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rcx
movq (%rsi), %r14
movq 0x8(%rsi), %rdx
movslq 0x24(%rdi), %rax
movq %rax, %r15
shlq $0x4, %r15
leaq (%r14,%r15), %rdi
movq %rax, %rbx
cmpq %rax, %rdx
jle 0x7d250
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
movl (%r14,%r15), %r8d
andl %esi, %r8d
movq %rdi, %r9
movq %rax, %rbx
movl (%r9), %r10d
andl %esi, %r10d
cmpl %r8d, %r10d
jne 0x7d250
cmpl $0x7fffffff, %r10d      # imm = 0x7FFFFFFF
je 0x7d250
incq %rbx
addq $0x10, %r9
cmpq %rbx, %rdx
jne 0x7d22d
movq %rdx, %rbx
subq %rax, %rbx
addq $0x18, %rcx
movl $0x32, %r8d
movl $0x1388, %r9d           # imm = 0x1388
movq %rbx, %rsi
movq %rdi, %rdx
pushq $0x10
pushq $0x200                  # imm = 0x200
callq 0x438d5
addq $0x10, %rsp
cmpq %rbx, %rax
jge 0x7d2a1
movq %rax, %rcx
shlq $0x4, %rcx
addq %r15, %r14
addq %rcx, %r14
movq %rax, %rcx
orl $0x7fffffff, (%r14)     # imm = 0x7FFFFFFF
incq %rcx
addq $0x10, %r14
cmpq %rbx, %rcx
jl 0x7d28e
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: debug_aln_err(overlap_region*, long, long, long, long, double, long, ul_idx_t const*, char*, UC_Read*, bit_extz_t*)
int64_t debug_aln_err(overlap_region *o, int64_t qs, int64_t qe, int64_t ts, int64_t te, double e_rate, 
int64_t estz_err, const ul_idx_t *uref, char* qstr, UC_Read *tu, bit_extz_t *exz)
{
    int64_t ql = qe - qs, tl = te - ts, id = o->y_id, rev = o->y_pos_strand;
    if((!ql) && (!tl)) return 0;
    if((!ql) && (tl)) return tl;
    if((ql) && (!tl)) return ql;
    if(estz_err < 0) estz_err = -1;
    if(hc_aln_exz_simi_adv(id, rev, uref, NULL, NULL, qstr, tu, qs, qe, ts, te, 
                            qs, qe, ts, te, 0, exz, ql, e_rate, MAX_CNS_L, MAX_CNS_E, FORCE_CNS_L, estz_err, NULL, 0)) {
        return exz->err;
    } else {
        return gen_err_unaligned(ql, tl); 
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdx, %r15
subq %rsi, %r15
movq %r8, %rbx
subq %rcx, %rbx
movq %r15, %rax
orq %rbx, %rax
je 0x7eaf4
testq %rbx, %rbx
setne %al
testq %r15, %r15
sete %r10b
testb %al, %r10b
jne 0x7eaf6
testq %r15, %r15
sete %al
testq %rbx, %rbx
setne %r10b
orb %al, %r10b
cmpb $0x1, %r10b
jne 0x7eb0a
movq 0xd8(%rsp), %r12
movq 0xd0(%rsp), %r13
movq 0xc8(%rsp), %rax
movq 0xc0(%rsp), %r10
movl 0x10(%rdi), %r11d
movl 0x1c(%rdi), %r14d
testq %r9, %r9
movq $-0x1, %rdi
cmovnsq %r9, %rdi
xorpd %xmm1, %xmm1
movupd %xmm1, 0x80(%rsp)
movq %r12, 0x50(%rsp)
movq %r8, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %r13, (%rsp)
movq %rdi, 0x78(%rsp)
movq $0x100, 0x70(%rsp)      # imm = 0x100
movq $0x3ff, 0x68(%rsp)      # imm = 0x3FF
movq $0xc00, 0x60(%rsp)      # imm = 0xC00
movq $0x0, 0x48(%rsp)
movq %r11, %rdi
movq %r14, %rsi
movq %r10, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %rax, %r9
callq 0x7d60e
testq %rax, %rax
je 0x7eb0f
movslq 0x2c(%r12), %rbx
jmp 0x7eaf6
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %r15, %rbx
jmp 0x7eaf6
cmpq $0x200, %r15            # imm = 0x200
jg 0x7eb26
cmpq %rbx, %r15
cmovgq %r15, %rbx
cvtsi2sd %rbx, %xmm0
jmp 0x7eb5f
cmpq %rbx, %r15
cmovlq %r15, %rbx
xorps %xmm1, %xmm1
cvtsi2sd %rbx, %xmm1
cvtsi2sd %r15, %xmm2
mulsd 0x1b2b06(%rip), %xmm2   # 0x231648
addsd 0x1b27c6(%rip), %xmm2   # 0x231310
movapd %xmm2, %xmm0
cmplesd %xmm1, %xmm0
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
cvttsd2si %xmm0, %rbx
jmp 0x7eaf6
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: append_cigar(window_list*, window_list_alloc*, unsigned short, unsigned int)
void append_cigar(window_list *idx, window_list_alloc *res, uint16_t c, uint32_t l)
{
    if(l <= 0) return;
    uint16_t c0 = (uint16_t)-1; uint32_t l0 = 0; 
    ///last item of old cigar
    if(idx->clen > 0) {
        c0 = (res->c.a[res->c.n-1]>>14); 
        l0 = (res->c.a[res->c.n-1]&(0x3fff));
    }
    ///first item of new cigar
    if(c0 == c) {l += l0; res->c.n--; idx->clen--;}

    push_trace(((asg16_v *)(&(res->c))), c, l); 
    idx->clen = res->c.n-idx->cidx;
}

// Assembly:
testl %ecx, %ecx
je 0x834fa
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x1c(%rdi), %eax
testl %eax, %eax
je 0x83407
movq 0x18(%r14), %rcx
movq 0x28(%r14), %rdx
movzwl -0x2(%rdx,%rcx,2), %ecx
movl %ecx, %edx
shrl $0xe, %edx
andl $0x3fff, %ecx           # imm = 0x3FFF
jmp 0x8340e
xorl %ecx, %ecx
movl $0xffff, %edx           # imm = 0xFFFF
movzwl %bp, %esi
cmpl %esi, %edx
jne 0x8342a
addl %ecx, %r15d
movq 0x18(%r14), %rcx
decq %rcx
movq %rcx, 0x18(%r14)
decl %eax
movl %eax, 0x1c(%rbx)
jmp 0x8342e
movq 0x18(%r14), %rcx
shll $0xe, %ebp
cmpl $0x3fff, %r15d          # imm = 0x3FFF
jb 0x83498
movl %ebp, %r12d
orl $0x3fff, %r12d          # imm = 0x3FFF
movq 0x28(%r14), %rax
movl $0x2, %r13d
cmpq 0x20(%r14), %rcx
jne 0x83476
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r13, %rsi
movq %rsi, 0x20(%r14)
addq %rsi, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x28(%r14)
movq 0x18(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x18(%r14)
movw %r12w, (%rax,%rcx,2)
addl $0xffffc001, %r15d      # imm = 0xFFFFC001
movq %rdx, %rcx
cmpl $0x3ffe, %r15d          # imm = 0x3FFE
ja 0x8344e
jmp 0x8349b
movq %rcx, %rdx
testl %r15d, %r15d
je 0x834e6
orl %r15d, %ebp
cmpq 0x20(%r14), %rdx
jne 0x834d3
leaq (%rdx,%rdx), %rax
testq %rdx, %rdx
movl $0x2, %esi
cmovneq %rax, %rsi
movq %rsi, 0x20(%r14)
movq 0x28(%r14), %rdi
addq %rsi, %rsi
callq 0x2370
movq %rax, 0x28(%r14)
movq 0x18(%r14), %rdx
jmp 0x834d7
movq 0x28(%r14), %rax
leaq 0x1(%rdx), %rcx
movq %rcx, 0x18(%r14)
movw %bp, (%rax,%rdx,2)
movq %rcx, %rdx
subl 0x18(%rbx), %edx
movl %edx, 0x1c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: ajust_end_cigar(window_list*, window_list_alloc*)
uint16_t ajust_end_cigar(window_list *idx, window_list_alloc *res)
{
    uint16_t *ca = res->c.a+idx->cidx, p, rr = 0; int64_t ci, cn = idx->clen, op, cl;
    if(cn <= 0) return rr;
    for (ci = 0; ci < cn; ci++) {
        op = ca[ci]>>14; cl = (ca[ci]&(0x3fff)); 
        if(op != 1) break;
        p = 3; p <<= 14; p += cl; ca[ci] = p; idx->y_start += cl; rr = 1;
    }

    for (ci = cn-1; ci >= 0; ci--) {
        op = ca[ci]>>14; cl = (ca[ci]&(0x3fff)); 
        if(op != 1) break;
        p = 3; p <<= 14; p += cl; ca[ci] = p; idx->y_end -= cl; rr = 1;
    }

    // if(rr) fprintf(stderr, "[M::%s] rr::%u\n", __func__, rr);

    return rr;
}

// Assembly:
movl 0x1c(%rdi), %ecx
testq %rcx, %rcx
je 0x83ad6
pushq %rbx
movq 0x28(%rsi), %rsi
movl 0x18(%rdi), %r8d
leaq (%rsi,%r8,2), %rdx
movzwl (%rdx), %eax
movzwl %ax, %r11d
movl %r11d, %r9d
andl $0xc000, %r9d           # imm = 0xC000
cmpl $0x4000, %r9d           # imm = 0x4000
jne 0x83ad9
movl 0x8(%rdi), %r10d
movl $0x1, %r9d
movl %r10d, %ebx
andl $0x3fff, %r11d          # imm = 0x3FFF
movl %r11d, %r10d
addl %ebx, %r10d
orl $0xc000, %eax           # imm = 0xC000
movw %ax, -0x2(%rdx,%r9,2)
cmpq %r9, %rcx
je 0x83acc
movzwl (%rdx,%r9,2), %eax
movzwl %ax, %r11d
movl %r11d, %ebx
andl $0xc000, %ebx           # imm = 0xC000
incq %r9
cmpl $0x4000, %ebx           # imm = 0x4000
je 0x83a8f
movl %r10d, 0x8(%rdi)
movw $0x1, %ax
jmp 0x83adb
xorl %eax, %eax
retq
xorl %eax, %eax
movzwl -0x2(%rdx,%rcx,2), %r9d
movzwl %r9w, %r11d
movl %r11d, %r10d
andl $0xc000, %r10d          # imm = 0xC000
cmpl $0x4000, %r10d          # imm = 0x4000
jne 0x83b5d
leaq -0x1(%rcx), %rax
leaq (%rdx,%rcx,2), %rbx
addq $-0x2, %rbx
movl 0xc(%rdi), %r10d
leaq (%rsi,%r8,2), %rsi
addq $-0x4, %rsi
andl $0x3fff, %r11d          # imm = 0x3FFF
subl %r11d, %r10d
orl $0xc000, %r9d           # imm = 0xC000
movw %r9w, (%rbx)
cmpq $0x1, %rcx
jle 0x83b55
leaq (%rdx,%rax,2), %rbx
addq $-0x2, %rbx
decq %rax
movzwl (%rsi,%rcx,2), %r9d
movzwl %r9w, %r11d
movl %r11d, %r8d
andl $0xc000, %r8d           # imm = 0xC000
decq %rcx
cmpl $0x4000, %r8d           # imm = 0x4000
je 0x83b10
movl %r10d, 0xc(%rdi)
movw $0x1, %ax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: is_ovlp_debug(long, long, long, long, long)
uint32_t is_ovlp_debug(int64_t s, int64_t e, int64_t ws, int64_t we, int64_t op)
{
    int64_t os, oe, ovlp;
    os = MAX(s, ws); oe = MIN(e, we);
    ovlp = ((oe>os)? (oe-os):0); 
    if(op != 2) {
        return (!!ovlp);
    } else {
        if(ws >= s && we <= e) return 1;
    }
    return 0;
}

// Assembly:
cmpq $0x2, %r8
jne 0x840bc
cmpq %rdi, %rdx
setge %dl
cmpq %rsi, %rcx
setle %al
andb %dl, %al
jmp 0x840d0
cmpq %rcx, %rsi
cmovlq %rsi, %rcx
cmpq %rdx, %rdi
cmovgq %rdi, %rdx
cmpq %rdx, %rcx
setg %al
movzbl %al, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Correct.cpp
// Function: gen_nkhits(Candidates_list*, overlap_region*)
uint64_t gen_nkhits(Candidates_list *cl, overlap_region *z)
{
    uint64_t pid, kn; int64_t k;
    pid = cl->list[z->shared_seed].readID;kn = 0;
    for (k = z->shared_seed; k < cl->length && cl->list[k].readID == pid; k++) kn++;
    return kn;
}

// Assembly:
movq 0x8(%rdi), %rcx
movslq 0x24(%rsi), %rdx
subq %rdx, %rcx
jle 0x849d6
movq (%rdi), %rax
shlq $0x4, %rdx
movl (%rax,%rdx), %esi
addq %rax, %rdx
xorl %eax, %eax
movl (%rdx), %edi
xorl %esi, %edi
testl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
jne 0x849d8
incq %rax
addq $0x10, %rdx
cmpq %rax, %rcx
jne 0x849ba
movq %rcx, %rax
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/./POA.h
// Function: delete_Node_DAGCon(Graph*, Node*)
uint64_t inline delete_Node_DAGCon(Graph* g, Node* node)
{
    g->g_nodes.delete_length++;
    g->g_nodes.list[(*node).ID].base = 'D';
    g->g_nodes.list[(*node).ID].num_insertions = (uint64_t)-1;
    g->g_nodes.list[(*node).ID].weight = (uint64_t)-1;


    RSet iter;
    Edge* e;
    clear_RSet(&iter);
    while (getOutputEdges(&iter, g, node, &e))
    {
        remove_and_check_bi_direction_edge_from_edge(g, e);
    }

    clear_RSet(&iter);
    while (getInputEdges(&iter, g, node, &e))
    {
        remove_and_check_bi_direction_edge_from_edge(g, e);
    }


    
    clear_Edge_alloc(&(g->g_nodes.list[(*node).ID].insertion_edges));
    clear_Edge_alloc(&(g->g_nodes.list[(*node).ID].mismatch_edges));
    clear_Edge_alloc(&(g->g_nodes.list[(*node).ID].deletion_edges));

    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
incq 0x68(%rdi)
movq 0x18(%rdi), %rax
movq (%rsi), %rcx
shlq $0x7, %rcx
movb $0x44, 0x18(%rax,%rcx)
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x8(%rax,%rcx)
movq 0x50(%rsi), %rax
testq %rax, %rax
jle 0x85fea
xorl %r15d, %r15d
imulq $0x38, %r15, %rsi
incq %r15
addq 0x40(%rbx), %rsi
negq %rax
cmpq $-0x1, 0x8(%rsi)
jne 0x85fd9
addq $0x38, %rsi
leaq (%rax,%r15), %rcx
incq %rcx
incq %r15
cmpq $0x1, %rcx
jne 0x85fbc
jmp 0x85fea
movq %r14, %rdi
callq 0x445dd
movq 0x50(%rbx), %rax
cmpq %rax, %r15
jl 0x85fae
movq 0x70(%rbx), %rax
testq %rax, %rax
jle 0x86032
xorl %r15d, %r15d
imulq $0x38, %r15, %rsi
incq %r15
addq 0x60(%rbx), %rsi
negq %rax
cmpq $-0x1, 0x8(%rsi)
jne 0x86021
addq $0x38, %rsi
leaq (%rax,%r15), %rcx
incq %rcx
incq %r15
cmpq $0x1, %rcx
jne 0x86004
jmp 0x86032
movq %r14, %rdi
callq 0x445dd
movq 0x70(%rbx), %rax
cmpq %rax, %r15
jl 0x85ff6
movq 0x18(%r14), %rax
movq (%rbx), %rcx
shlq $0x7, %rcx
leaq (%rax,%rcx), %rdi
addq $0x60, %rdi
callq 0x442c8
movq 0x18(%r14), %rax
movq (%rbx), %rcx
shlq $0x7, %rcx
leaq (%rax,%rcx), %rdi
addq $0x20, %rdi
callq 0x442c8
movq 0x18(%r14), %rax
movq (%rbx), %rcx
shlq $0x7, %rcx
leaq (%rax,%rcx), %rdi
addq $0x40, %rdi
callq 0x442c8
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 $0x18, %rsp
movq %rsi, 0x8(%rsp)
movq 0xa8(%rdx), %rcx
testq %rcx, %rcx
movq %rdx, 0x10(%rsp)
je 0x8bccf
movl 0x10(%rdx), %esi
movl 0x1c(%rdx), %r11d
movq 0xb8(%rdx), %r8
xorl %ebx, %ebx
xorl %r10d, %r10d
xorl %edx, %edx
movzwl (%r8,%rbx,2), %r14d
movl %r14d, %ebp
shrl $0xe, %ebp
movl %r14d, %ebx
andl $0x3fff, %ebx           # imm = 0x3FFF
incl %r10d
cmpq %r10, %rcx
jbe 0x8bc0d
movzwl (%r8,%r10,2), %eax
movl %eax, %r15d
shrl $0xe, %r15d
cmpl %ebp, %r15d
jne 0x8bc0d
andl $0x3fff, %eax           # imm = 0x3FFF
addl %eax, %ebx
jmp 0x8bbeb
movzwl %r14w, %eax
cmpl $0x3fff, %eax           # imm = 0x3FFF
ja 0x8bc4a
testl %ebx, %ebx
je 0x8bc60
movslq %r11d, %r15
movslq %esi, %r12
leal (%rbx,%rsi), %ebp
leal (%rbx,%r11), %r13d
addq %rdi, %r12
addq 0x8(%rsp), %r15
movl %ebx, %eax
xorl %r14d, %r14d
movb (%r12,%r14), %r9b
cmpb (%r15,%r14), %r9b
jne 0x8bca4
incq %r14
cmpl %r14d, %eax
jne 0x8bc36
jmp 0x8bc9d
addl %ebx, %edx
cmpw $0x3, %bp
je 0x8bc65
movzwl %bp, %eax
cmpl $0x2, %eax
jne 0x8bc6d
addl %esi, %ebx
movl %ebx, %esi
jmp 0x8bcc1
xorl %r14d, %r14d
jmp 0x8bcaa
addl %r11d, %ebx
movl %ebx, %r11d
jmp 0x8bcc1
testl %ebx, %ebx
je 0x8bcb1
movslq %r11d, %r15
movslq %esi, %r12
leal (%rbx,%rsi), %ebp
leal (%rbx,%r11), %r13d
addq %rdi, %r12
addq 0x8(%rsp), %r15
movl %ebx, %eax
xorl %r14d, %r14d
movb (%r12,%r14), %r9b
cmpb (%r15,%r14), %r9b
je 0x8bcb6
incq %r14
cmpl %r14d, %eax
jne 0x8bc8b
movl %ebp, %esi
movl %r13d, %r11d
jmp 0x8bcc1
addl %r14d, %r11d
addl %r14d, %esi
cmpl %ebx, %r14d
je 0x8bcc1
jmp 0x8bd0f
xorl %r14d, %r14d
jmp 0x8bcbc
addl %r14d, %r11d
addl %r14d, %esi
cmpl %ebx, %r14d
jne 0x8bd16
movl %r10d, %ebx
cmpq %rbx, %rcx
ja 0x8bbd7
jmp 0x8bcd1
xorl %edx, %edx
movq 0x10(%rsp), %rax
movl 0x2c(%rax), %ecx
movl $0x1, %ebx
cmpl %ecx, %edx
jne 0x8bcf3
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2092e6(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x1a9e68(%rip), %rsi    # 0x235b6c
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x22b0
jmp 0x8bce2
callq 0x5f2b
jmp 0x8bd1b
callq 0x5f0f
xorl %ebx, %ebx
jmp 0x8bce2
// File: /workspace/github_cpp_makefile_star2_O3/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 0x98bcf
movl (%r9), %r12d
shll $0x8, %r12d
testl %r15d, %r15d
je 0x98c95
cmpl $0xff, %r15d
jb 0x98c5c
movl %r12d, %r13d
orl $0xff, %r13d
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x98c23
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
movl $0x2, %ecx
cmoveq %rcx, %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
movl $0x0, (%rax,%rcx)
movl %ebp, 0x8(%rax,%rcx)
movl %ebx, 0x4(%rax,%rcx)
movl %r13d, 0xc(%rax,%rcx)
addl $0xffffff01, %r15d      # imm = 0xFFFFFF01
cmpl $0xfe, %r15d
ja 0x98bef
testl %r15d, %r15d
je 0x98ce8
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x98c90
leaq (%rcx,%rcx), %rdx
testq %rcx, %rcx
movl $0x2, %esi
cmovneq %rdx, %rsi
movq %rsi, 0x10(%r14)
shlq $0x4, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r14)
movq 0x8(%r14), %rcx
orl %r15d, %r12d
jmp 0x98cc9
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq 0x10(%r14), %rcx
jne 0x98cc9
leaq (%rcx,%rcx), %rdx
testq %rcx, %rcx
movl $0x2, %esi
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
movl $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_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r12
movl $0x0, 0x18(%rdi)
xorl %eax, %eax
movq %rax, 0x20(%rdi)
movl %esi, 0x8(%rdi)
movl %edx, 0xc(%rdi)
movq %rax, 0x10(%rdi)
movl %esi, %r15d
movl $0x50, %esi
movq %r15, %rdi
callq 0x2120
movq %rax, (%r12)
testl %ebp, %ebp
je 0xa02da
movq %rax, %r14
addl %ebx, %ebx
shlq $0x4, %r15
leaq (%r15,%r15,4), %r15
xorl %r12d, %r12d
movl $0xc, %esi
movq %rbx, %rdi
callq 0x2120
movq %rax, (%r14,%r12)
addq $0x50, %r12
cmpq %r12, %r15
jne 0xa02c0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
pushq %rax
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 0xa034a
movl %eax, 0xc(%rbx)
cmpl $0x0, 0x8(%rbx)
je 0xa0393
movq (%rbx), %rcx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rcx,%r14), %rdi
movl 0xc(%rbx), %eax
addl %eax, %eax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rsi
callq 0x2370
movq (%rbx), %rcx
movq %rax, (%rcx,%r14)
incq %r15
movl 0x8(%rbx), %eax
addq $0x50, %r14
cmpq %rax, %r15
jb 0xa031c
jmp 0xa034d
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0xa0393
xorl %r14d, %r14d
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rax
movq %r14, 0x38(%rax,%r15)
movq %r14, 0x20(%rax,%r15)
movq %r14, 0x8(%rax,%r15)
movq (%rax,%r15), %rdi
movl 0xc(%rbx), %eax
addl %eax, %eax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rdx
xorl %esi, %esi
callq 0x20e0
incq %r12
movl 0x8(%rbx), %eax
addq $0x50, %r15
cmpq %rax, %r12
jb 0xa035a
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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
cmpl $0x0, 0x8(%rdi)
je 0xa03f5
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rbx), %rax
movq (%rax,%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
movl 0x8(%rbx), %eax
addq $0x50, %r14
cmpq %rax, %r15
jb 0xa03b3
movq (%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O3/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 0x9dc69
testl %ebp, %ebp
je 0xa047e
movq (%rbx), %rsi
cmpq $0x2, %rsi
jb 0xa047e
movq 0x10(%rbx), %rax
movq $-0x8, %rcx
xorl %edx, %edx
movq (%rax,%rdx,8), %rdi
leaq (%rax,%rsi,8), %rsi
movq (%rcx,%rsi), %rsi
movq %rsi, (%rax,%rdx,8)
movq (%rbx), %rsi
leaq (%rax,%rsi,8), %rsi
movq %rdi, (%rcx,%rsi)
incq %rdx
movq (%rbx), %rsi
movq %rsi, %rdi
shrq %rdi
addq $-0x8, %rcx
cmpq %rdi, %rdx
jb 0xa044e
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: asg_destroy(asg_t*)
void asg_destroy(asg_t *g)
{
	if (g == 0) return;
	free(g->seq); free(g->idx); free(g->arc); free(g->seq_vis);
     
    if(g->n_F_seq > 0 && g->F_seq)
    {
        uint32_t i = 0;
        for (i = 0; i < g->n_F_seq; i++)
        {
            if(g->F_seq[i].a) free(g->F_seq[i].a);
            if(g->F_seq[i].s) free(g->F_seq[i].s);
        }

        free(g->F_seq);
    }
    

    free(g);
}

// Assembly:
testq %rdi, %rdi
je 0xa0527
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
callq 0x2220
movq 0x28(%rbx), %rdi
callq 0x2220
movq 0x8(%rbx), %rdi
callq 0x2220
movq 0x30(%rbx), %rdi
callq 0x2220
cmpl $0x0, 0x38(%rbx)
je 0xa051a
cmpq $0x0, 0x40(%rbx)
je 0xa051a
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x40(%rbx), %rax
movq 0x18(%rax,%r14), %rdi
testq %rdi, %rdi
je 0xa04f3
callq 0x2220
movq 0x40(%rbx), %rax
movq 0x20(%rax,%r14), %rdi
testq %rdi, %rdi
je 0xa0502
callq 0x2220
incq %r15
movl 0x38(%rbx), %eax
addq $0x28, %r14
cmpq %rax, %r15
jb 0xa04dc
movq 0x40(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2220
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: add_overlaps(ma_hit_t_alloc*, ma_hit_t_alloc*, unsigned long*, long long)
void add_overlaps(ma_hit_t_alloc* source_paf, ma_hit_t_alloc* dest_paf, uint64_t* source_index, long long listLen)
{
    long long i;
    ma_hit_t* tmp;
    for (i = 0; i < listLen; i++)
    {
        tmp = &(source_paf->buffer[(uint32_t)(source_index[i])]);
        add_ma_hit_t_alloc(dest_paf, tmp);
    }
}

// Assembly:
testq %rcx, %rcx
jle 0xa058b
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xorl %r13d, %r13d
movl (%r14,%r13,8), %eax
leaq (%rax,%rax,4), %rsi
shlq $0x3, %rsi
addq (%r12), %rsi
movq %r15, %rdi
callq 0xa058c
incq %r13
cmpq %r13, %rbx
jne 0xa0562
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: add_ma_hit_t_alloc(ma_hit_t_alloc*, ma_hit_t*)
void add_ma_hit_t_alloc(ma_hit_t_alloc* x, ma_hit_t* element)
{
	if (x->length + 1 > x->size) {
		x->size = x->length + 1;
		kroundup32(x->size);
		REALLOC(x->buffer, x->size);
	}
	x->buffer[x->length++] = *element;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0xc(%rdi), %ecx
leal 0x1(%rcx), %edx
movq (%rdi), %rax
cmpl 0x8(%rdi), %edx
jbe 0xa05e6
movl %ecx, %edx
shrl %edx
orl %ecx, %edx
movl %edx, %ecx
shrl $0x2, %ecx
orl %edx, %ecx
movl %ecx, %edx
shrl $0x4, %edx
orl %ecx, %edx
movl %edx, %ecx
shrl $0x8, %ecx
orl %edx, %ecx
movl %ecx, %edx
shrl $0x10, %edx
orl %ecx, %edx
incl %edx
movl %edx, 0x8(%r14)
shlq $0x3, %rdx
leaq (%rdx,%rdx,4), %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, (%r14)
movl 0xc(%r14), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0xc(%r14)
movl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movq 0x20(%rbx), %rdx
movq %rdx, 0x20(%rax,%rcx,8)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups %xmm1, 0x10(%rax,%rcx,8)
movups %xmm0, (%rax,%rcx,8)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/Overlaps.cpp
// Function: remove_overlaps(ma_hit_t_alloc*, unsigned long*, long long)
void remove_overlaps(ma_hit_t_alloc* source_paf, uint64_t* source_index, long long listLen)
{
    long long i, m;
    for (i = 0; i < listLen; i++)
    {
        source_paf->buffer[(uint32_t)(source_index[i])].qns = (uint64_t)(-1);
    }

    m = 0;
    for (i = 0; i < source_paf->length; i++)
    {
        if(source_paf->buffer[i].qns != (uint64_t)(-1))
        {
            source_paf->buffer[m] = source_paf->buffer[i];
            m++;
        }
    }
    source_paf->length = m;
}

// Assembly:
testq %rdx, %rdx
jle 0xa0633
movq (%rdi), %rax
xorl %ecx, %ecx
movl (%rsi,%rcx,8), %r8d
leaq (%r8,%r8,4), %r8
movq $-0x1, (%rax,%r8,8)
incq %rcx
cmpq %rcx, %rdx
jne 0xa061b
movl 0xc(%rdi), %esi
testl %esi, %esi
je 0xa0684
xorl %ecx, %ecx
xorl %eax, %eax
xorl %edx, %edx
movq (%rdi), %r8
cmpq $-0x1, (%r8,%rcx)
je 0xa0673
leaq (%r8,%rcx), %rsi
leaq (%rax,%rax,4), %r9
movq 0x20(%rsi), %r10
movq %r10, 0x20(%r8,%r9,8)
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movups %xmm1, 0x10(%r8,%r9,8)
movups %xmm0, (%r8,%r9,8)
incq %rax
movl 0xc(%rdi), %esi
incq %rdx
movl %esi, %r8d
addq $0x28, %rcx
cmpq %r8, %rdx
jb 0xa0640
jmp 0xa0686
xorl %eax, %eax
movl %eax, 0xc(%rdi)
retq