LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: osg_arc_rm(osg_t*)
void osg_arc_rm(osg_t *g)
{
	uint32_t e, n;
	///just clean arc requiring: 1. arc it self must be available 2. both the query and target are available
	for (e = n = 0; e < g->n_arc; ++e) {
		//u and v is the read id
		uint32_t u = g->arc[e].u, v = g->arc[e].v;
		if (!g->arc[e].del && !g->seq[u>>1].del && !g->seq[v>>1].del)
			g->arc[n++] = g->arc[e];
	}
	if (n < g->n_arc) { // arc index is out of sync
		if (g->idx) free(g->idx);
		g->idx = 0;
	}
	g->n_arc = n;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
andl 0x4(%rdi), %edx
je 0x174d31
xorl %eax, %eax
xorl %ecx, %ecx
xorl %ebp, %ebp
movq 0x8(%rbx), %rdx
cmpl $0x0, 0x8(%rdx,%rax)
js 0x174d1a
movl 0x4(%rdx,%rax), %edi
movq 0x18(%rbx), %rsi
shrl %edi
leaq (%rdi,%rdi,4), %rdi
cmpb $0x0, 0x20(%rsi,%rdi,8)
jne 0x174d1a
movl (%rdx,%rax), %edi
shrl %edi
leaq (%rdi,%rdi,4), %rdi
cmpb $0x0, 0x20(%rsi,%rdi,8)
jne 0x174d1a
leaq (%rdx,%rax), %rsi
movl %ebp, %edi
incl %ebp
shlq $0x5, %rdi
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movups %xmm1, 0x10(%rdx,%rdi)
movups %xmm0, (%rdx,%rdi)
incq %rcx
movl 0x4(%rbx), %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
addq $0x20, %rax
cmpq %rdx, %rcx
jb 0x174cce
jmp 0x174d33
xorl %ebp, %ebp
cmpl %edx, %ebp
jae 0x174d4d
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x174d45
callq 0x2220
movq $0x0, 0x20(%rbx)
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movl $0x80000000, %eax       # imm = 0x80000000
andl 0x4(%rbx), %eax
orl %ebp, %eax
movl %eax, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: osg_arc_index_core(unsigned long, unsigned long, osg_arc_t const*)
uint64_t *osg_arc_index_core(size_t max_seq, size_t n, const osg_arc_t *a)
{
	size_t i, last;
	uint64_t *idx;
	idx = (uint64_t*)calloc(max_seq * 2, 8);

	for (i = 1, last = 0; i <= n; ++i)
		if (i == n || a[i-1].u != a[i].u)
			idx[a[i-1].u] = (uint64_t)last<<32 | (i - last), last = i;
	return idx;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
addq %rdi, %rdi
movl $0x8, %esi
callq 0x2120
testq %r14, %r14
je 0x174dcd
leaq 0x1(%r14), %rdx
cmpq $0x3, %rdx
movl $0x2, %ecx
cmovaeq %rdx, %rcx
addq $0x4, %rbx
movl $0x1, %edx
xorl %esi, %esi
cmpq %rdx, %r14
je 0x174dab
movl (%rbx), %edi
cmpl 0x20(%rbx), %edi
je 0x174dc1
movq %rdx, %rdi
subq %rsi, %rdi
shlq $0x20, %rsi
orq %rdi, %rsi
movl (%rbx), %edi
movq %rsi, (%rax,%rdi,8)
movq %rdx, %rsi
incq %rdx
addq $0x20, %rbx
cmpq %rdx, %rcx
jne 0x174d9f
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: osg_cleanup(osg_t*)
void osg_cleanup(osg_t *g)
{
	osg_arc_rm(g);
	if (!g->is_srt) {
        radix_sort_osg(g->arc, g->arc + g->n_arc);
		g->is_srt = 1;
	}

	if (g->idx == 0) osg_arc_index(g);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x174cb8
movslq 0x4(%rbx), %rsi
testq %rsi, %rsi
js 0x174e2d
movq 0x8(%rbx), %rdi
shlq $0x5, %rsi
addq %rdi, %rsi
callq 0x16c76a
orb $-0x80, 0x7(%rbx)
cmpq $0x0, 0x20(%rbx)
je 0x174e36
popq %rbx
retq
movq %rbx, %rdi
popq %rbx
jmp 0x174dd5
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: get_max_weight(unsigned int, unsigned int, osg_t*)
double get_max_weight(uint32_t u, uint32_t v, osg_t *g)
{
    double max = 0;
    uint32_t i, nv;
	osg_arc_t *av = NULL;

    nv = asg_arc_n(g, u);
    av = asg_arc_a(g, u);
    for (i = 0; i < nv; i++)
    {
        if(av[i].v == v) continue;
        max = MAX(max, av[i].w);
    }
    
    nv = asg_arc_n(g, v);
    av = asg_arc_a(g, v);
    for (i = 0; i < nv; i++)
    {
        if(av[i].v == u) continue;
        max = MAX(max, av[i].w);
    }

    return max;
}

// Assembly:
movq 0x8(%rdx), %rax
movq 0x20(%rdx), %rcx
movl %edi, %edx
movq (%rcx,%rdx,8), %rdx
testl %edx, %edx
je 0x174ea5
movq %rdx, %r8
shrq $0x20, %r8
movl %edx, %edx
shlq $0x5, %r8
addq %rax, %r8
addq $0x10, %r8
shlq $0x5, %rdx
xorpd %xmm0, %xmm0
xorl %r9d, %r9d
cmpl %esi, -0x10(%r8,%r9)
je 0x174e9a
movsd (%r8,%r9), %xmm1
movapd %xmm1, %xmm2
cmplesd %xmm0, %xmm2
movapd %xmm2, %xmm3
andnpd %xmm1, %xmm3
andpd %xmm0, %xmm2
orpd %xmm3, %xmm2
movapd %xmm2, %xmm0
addq $0x20, %r9
cmpq %r9, %rdx
jne 0x174e70
jmp 0x174ea9
xorpd %xmm0, %xmm0
movl %esi, %edx
movq (%rcx,%rdx,8), %rcx
testl %ecx, %ecx
je 0x174efe
movq %rcx, %rdx
shrq $0x20, %rdx
movl %ecx, %ecx
shlq $0x5, %rdx
addq %rdx, %rax
addq $0x10, %rax
shlq $0x5, %rcx
xorl %edx, %edx
cmpl %edi, -0x10(%rax,%rdx)
je 0x174ef5
movsd (%rax,%rdx), %xmm1
movapd %xmm1, %xmm2
cmplesd %xmm0, %xmm2
movapd %xmm2, %xmm3
andnpd %xmm1, %xmm3
andpd %xmm0, %xmm2
orpd %xmm3, %xmm2
movapd %xmm2, %xmm0
addq $0x20, %rdx
cmpq %rdx, %rcx
jne 0x174ecd
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: get_osg_arc(osg_t*, unsigned int, unsigned int)
osg_arc_t *get_osg_arc(osg_t *g, uint32_t u, uint32_t v)
{
    osg_arc_t *au = asg_arc_a(g, u);
    uint32_t i, nu = asg_arc_n(g, u);
    for (i = 0; i < nu; i++)
    {
        if(au[i].del) continue;
        if(au[i].v == v) return &(au[i]);
    }
    
    return NULL;
}

// Assembly:
movq 0x20(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rcx
testl %ecx, %ecx
je 0x175eca
movq %rcx, %rax
shrq $0x1b, %rax
andq $-0x20, %rax
addq 0x8(%rdi), %rax
movl %ecx, %ecx
cmpl $0x0, 0x8(%rax)
js 0x175ec1
cmpl %edx, (%rax)
je 0x175ecc
addq $0x20, %rax
decq %rcx
jne 0x175eb7
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: get_vis_occ(unsigned char*, unsigned int)
uint32_t get_vis_occ(uint8_t *vis, uint32_t n)
{
    uint32_t i, occ;
    n <<= 1;
    for (i = occ = 0; i < n; i++)
    {
        if(vis[i]) occ++;
    }
    return occ;
}

// Assembly:
addl %esi, %esi
je 0x1762db
movl %esi, %ecx
xorl %edx, %edx
xorl %eax, %eax
cmpb $0x1, (%rdi,%rdx)
sbbl $-0x1, %eax
incq %rdx
cmpq %rdx, %rcx
jne 0x1762cb
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: get_sl_occ(sc_lay_t*)
uint32_t get_sl_occ(sc_lay_t *sl)
{
    uint32_t i, occ;
    for (i = occ = 0; i < sl->n; i++)
    {
        occ += sl->a[i].n;
    }
    return occ;
}

// Assembly:
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x176305
movq (%rdi), %rdx
addq $0x8, %rdx
xorl %eax, %eax
movl $0x1, %esi
addl (%rdx), %eax
movl %esi, %edi
addq $0x18, %rdx
incl %esi
cmpq %rdi, %rcx
ja 0x1762f5
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: get_nuid(sc_lay_t*, unsigned long*)
uint64_t get_nuid(sc_lay_t *sl, uint64_t *p)
{
    uint64_t k, ouid[2];
    for (k = 0; k < sl->n; k++)
    {
        ouid[0] = sl->a[k].a[0]; 
        ouid[1] = sl->a[k].a[sl->a[k].n - 1];
        if((*p) == ouid[0])
        {
            (*p) = (k<<1);
            return 1;
        } 

        if((*p) == ouid[1])
        {
            (*p) = (k<<1)+1;
            return 1;
        }
    }

    return 0;
}

// Assembly:
movq 0x8(%rdi), %rdx
testq %rdx, %rdx
je 0x17684d
movq (%rdi), %rdi
movq (%rsi), %r8
addq $0x8, %rdi
movl $0x1, %ecx
xorl %eax, %eax
movq -0x8(%rdi), %r9
movl (%r9), %r10d
cmpq %r10, %r8
je 0x176850
movq (%rdi), %r10
movl -0x4(%r9,%r10,4), %r9d
cmpq %r9, %r8
je 0x176853
addq $0x2, %rcx
addq $0x18, %rdi
decq %rdx
jne 0x176826
retq
xorl %eax, %eax
retq
decq %rcx
movq %rcx, (%rsi)
movl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: update_avoids(horder_t*, sc_lay_t*)
void update_avoids(horder_t *h, sc_lay_t *sl)
{
    uint64_t i, m, ps, pe;
    for (i = m = 0; i < h->avoid.n; i++)
    {
        ps = h->avoid.a[i]>>32; 
        pe = (uint32_t)h->avoid.a[i];
        if(get_nuid(sl, &ps) && get_nuid(sl, &pe))
        {
            h->avoid.a[m] = (ps<<32)|pe;
            m++;
        }
    }
    h->avoid.n = m;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x1768dc
movq %rsi, %r14
movq 0x10(%rbx), %rbp
xorl %r13d, %r13d
leaq 0x10(%rsp), %r15
xorl %r12d, %r12d
movq (%rbp,%r12,8), %rax
movl %eax, %ecx
shrq $0x20, %rax
movq %rax, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x17680c
testq %rax, %rax
je 0x1768d2
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x17680c
testq %rax, %rax
je 0x1768d2
movq 0x10(%rsp), %rax
shlq $0x20, %rax
orq 0x8(%rsp), %rax
movq %rax, (%rbp,%r13,8)
incq %r13
incq %r12
cmpq (%rbx), %r12
jb 0x176885
jmp 0x1768df
xorl %r13d, %r13d
movq %r13, (%rbx)
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/horder.cpp
// Function: update_ug_by_layout(horder_t*, sc_lay_t*, ma_ug_t*)
void update_ug_by_layout(horder_t *h, sc_lay_t *sl, ma_ug_t* i_ug)
{
    uint32_t i;
    lay_t *p = NULL;
    ma_utg_t *pu = NULL;
    ma_ug_t *sug = NULL;
    kvec_t_u64_warp n_avoids; kv_init(n_avoids.a);
    sug = (ma_ug_t*)calloc(1, sizeof(ma_ug_t));
    for (i = 0; i < sl->n; i++)
    {
        p = &(sl->a[i]);
        kv_pushp(ma_utg_t, sug->u, &pu);
        generate_scaffold(pu, p, i_ug?i_ug:h->ug, h->r_g);
    }
    ma_ug_destroy(h->ug);
    h->ug = sug;
    kv_destroy(n_avoids.a);
    update_avoids(h, sl);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x38, %esi
callq 0x2120
movq %rax, %r12
cmpq $0x0, 0x8(%rbx)
je 0x1769af
movl $0x1, %ebp
xorl %eax, %eax
leaq (%rax,%rax,2), %r13
shlq $0x3, %r13
addq (%rbx), %r13
movq 0x8(%r12), %rax
cmpq %rax, (%r12)
jne 0x17696b
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rcx
movq %rcx, 0x8(%r12)
movq 0x10(%r12), %rdi
shlq $0x3, %rcx
leaq (%rcx,%rcx,4), %rsi
callq 0x2370
movq %rax, 0x10(%r12)
movq (%r12), %rax
leaq (%rax,%rax,4), %rdi
shlq $0x3, %rdi
addq 0x10(%r12), %rdi
incq %rax
movq %rax, (%r12)
movq %r15, %rdx
testq %r15, %r15
jne 0x176992
movq 0xc8(%r14), %rdx
movq 0xd0(%r14), %rcx
movq %r13, %rsi
callq 0x17640e
movl %ebp, %eax
incl %ebp
cmpq %rax, 0x8(%rbx)
ja 0x176929
movq 0xc8(%r14), %rdi
callq 0xa0004
movq %r12, 0xc8(%r14)
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17685c
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: output_hic_rtg(ma_ug_t*, asg_t*, ug_opt_t*, char*)
void output_hic_rtg(ma_ug_t *ug, asg_t *rg, ug_opt_t *opt, char* output_file_name)
{
    char* gfa_name = (char*)malloc(strlen(output_file_name)+50);
    sprintf(gfa_name, "%s.all.noseq.gfa", output_file_name);
    FILE* output_file = fopen(gfa_name, "w");
    ma_ug_print_simple(ug, rg, opt->coverage_cut, opt->sources, opt->ruIndex, "utg", output_file);
    fclose(output_file);
    free(gfa_name);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movq %rcx, %rdi
callq 0x2090
leaq 0x32(%rax), %rdi
callq 0x2280
movq %rax, %r14
leaq 0xbaf69(%rip), %rsi     # 0x2319b4
movq %rax, %rdi
movq %r13, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0xc599f(%rip), %rsi     # 0x23c3fe
movq %r14, %rdi
callq 0x2210
movq %rax, %r13
movq (%r12), %rdx
movq 0x8(%r12), %rcx
movq 0x30(%r12), %r8
movq %rax, (%rsp)
leaq 0xb90b8(%rip), %r9      # 0x22fb3b
movq %r15, %rdi
movq %rbx, %rsi
callq 0xb7f45
movq %r13, %rdi
callq 0x2190
movq %r14, %rdi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: cpy_u_hits(kvec_pe_hit*, kvec_pe_hit*, unsigned int)
void cpy_u_hits(kvec_pe_hit *u_hits, kvec_pe_hit *i_hits, uint32_t u_n)
{
    uint64_t i;
    memset(u_hits, 0, sizeof(kvec_pe_hit));
    u_hits->pos_mode = i_hits->pos_mode;
    u_hits->uID_bits = i_hits->uID_bits;
    u_hits->a.n = u_hits->a.m = i_hits->a.n;
    MALLOC(u_hits->a.a, u_hits->a.n);
    memcpy(u_hits->a.a, i_hits->a.a, u_hits->a.n*sizeof(pe_hit));
    for (i = 0; i < u_hits->a.n; i++) u_hits->a.a[i].id = 1;
    idx_hits(u_hits, u_n);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq $0x0, 0x50(%rdi)
movq 0x50(%rsi), %rax
movq %rax, 0x50(%rdi)
movq 0x48(%rsi), %rax
movq %rax, 0x48(%rdi)
movq (%rsi), %r13
movq %r13, 0x8(%rdi)
movq %r13, (%rdi)
movq %r13, %r12
shlq $0x5, %r12
movq %r12, %rdi
callq 0x2280
movq %rax, %r14
movq %rax, 0x10(%rbx)
movq 0x10(%r15), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x2160
testq %r13, %r13
je 0x177df6
addq $0x10, %r14
movq $0x1, (%r14)
addq $0x20, %r14
decq %r13
jne 0x177de6
movl %ebp, %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16eaec
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: scf_g(sc_lay_t*, ma_ug_t*)
spg_t *scf_g(sc_lay_t *sl, ma_ug_t* ug)
{
    spg_t *scg = NULL; CALLOC(scg, 1); scg->ug = ug;    
    uint64_t i, k;
    lay_t *p = NULL;
    for (i = 0; i < sl->n; i++){
        p = &(sl->a[i]);
        kv_push(uint64_t, scg->idx, (uint64_t)scg->dst.n << 32 | (p->n>>1));
        for (k = 0; k < p->n; k+=2) kv_push(uint32_t, scg->dst, p->a[k]);        
    }
    return scg;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r12
movl $0x1, %edi
movl $0x38, %esi
callq 0x2120
movq %rax, %r14
movq %r15, (%rax)
cmpq $0x0, 0x8(%r12)
je 0x1781d4
xorl %r15d, %r15d
movq %r12, (%rsp)
leaq (%r15,%r15,2), %r13
shlq $0x3, %r13
addq (%r12), %r13
movq 0x8(%r14), %rbx
movq 0x10(%r14), %rax
cmpq %rax, %rbx
jne 0x178140
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x10(%r14)
movq 0x18(%r14), %rdi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x18(%r14)
movq 0x18(%r14), %rax
movq 0x20(%r14), %rcx
shlq $0x20, %rcx
movq 0x8(%r13), %rdx
shrq %rdx
orq %rcx, %rdx
leaq 0x1(%rbx), %rcx
movq %rcx, 0x8(%r14)
movq %rdx, (%rax,%rbx,8)
cmpq $0x0, 0x8(%r13)
je 0x1781c6
movq 0x20(%r14), %rbp
movq 0x28(%r14), %rcx
movq 0x30(%r14), %rax
xorl %ebx, %ebx
cmpq %rcx, %rbp
jne 0x17819f
leaq (%rcx,%rcx), %r12
testq %rcx, %rcx
movl $0x2, %ecx
cmoveq %rcx, %r12
leaq (,%r12,4), %rsi
movq %rax, %rdi
callq 0x2370
movq %r12, %rcx
movq (%r13), %rdx
movl (%rdx,%rbx,4), %edx
movl %edx, (%rax,%rbp,4)
incq %rbp
addq $0x2, %rbx
cmpq 0x8(%r13), %rbx
jb 0x178177
movq %rbp, 0x20(%r14)
movq %rcx, 0x28(%r14)
movq %rax, 0x30(%r14)
movq (%rsp), %r12
incq %r15
cmpq 0x8(%r12), %r15
jb 0x178102
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/horder.cpp
// Function: destory_horder_t(horder_t**)
void destory_horder_t(horder_t **h)
{
    kv_destroy((*h)->r_hits.a);
    kv_destroy((*h)->r_hits.idx);
    kv_destroy((*h)->r_hits.occ);

    kv_destroy((*h)->u_hits.a);
    kv_destroy((*h)->u_hits.idx);
    kv_destroy((*h)->u_hits.occ);

    kv_destroy((*h)->avoid);

    osg_destroy((*h)->sg.g);

    ma_ug_destroy((*h)->ug);
    asg_destroy((*h)->r_g);
    free((*h));
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x28(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x40(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x58(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x80(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x98(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0xb0(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0x10(%rax), %rdi
callq 0x2220
movq (%rbx), %rax
movq 0xd8(%rax), %rdi
callq 0x174c02
movq (%rbx), %rax
movq 0xc8(%rax), %rdi
callq 0xa0004
movq (%rbx), %rax
movq 0xd0(%rax), %rdi
callq 0x9fcdb
movq (%rbx), %rdi
popq %rbx
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: destroy_cns_gfa(cns_gfa*)
void destroy_cns_gfa(cns_gfa *p)
{
    size_t k;
    for (k = 0; k < p->m; k++) {
        kv_destroy(p->a[k].arc);
    }
    free(p->a); kdq_destroy(uint32_t, p->q);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x179393
movl $0x20, %r14d
xorl %r15d, %r15d
movq 0x10(%rbx), %rax
movq (%rax,%r14), %rdi
callq 0x2220
incq %r15
addq $0x28, %r14
cmpq 0x8(%rbx), %r15
jb 0x179379
movq 0x10(%rbx), %rdi
callq 0x2220
movq 0x38(%rbx), %rbx
testq %rbx, %rbx
je 0x1793bb
movq 0x18(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2220
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: destroy_ec_ovec_buf_t(ec_ovec_buf_t*)
void destroy_ec_ovec_buf_t(ec_ovec_buf_t *p)
{
    uint32_t k; ec_ovec_buf_t0 *z = NULL;
    for (k = 0; k < p->n; k++) {
        z = &(p->a[k]); z->rr = 0;
        destory_UC_Read(&z->self_read);
        destory_UC_Read(&z->ovlp_read);
        destory_Candidates_list(&z->clist);
	    destory_overlap_region_alloc(&z->olist);

        // destory_fake_cigar(&(z->tmp.f_cigar));
        // free(z->tmp.w_list.a); free(z->tmp.w_list.c.a);

        // kv_destroy(z->r_buf.a);
        kv_destroy(z->k_flag.a);
        kv_destroy(z->sp);
        kv_destroy(z->pidx);
	    kv_destroy(z->v64);
        kv_destroy(z->v32);
        kv_destroy(z->v16);
        kv_destroy(z->v8q);
        kv_destroy(z->v8t);
        destroy_bit_extz_t(&(z->exz));

        ha_abuf_destroy(z->ab);
        
        destoryHaplotypeEvdience(&z->hap);
        destroy_cns_gfa(&(z->cns));

    }
    free(p->a); free(p->cr); free(p);

    // fprintf(stderr, "[M::%s-chains] #->%lld\n", __func__, asm_opt.num_bases);
    // fprintf(stderr, "[M::%s-passed-chains-0] #->%lld\n", __func__, asm_opt.num_corrected_bases);
    // fprintf(stderr, "[M::%s-cis-chains-1] #->%lld\n", __func__, asm_opt.num_recorrected_bases);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
je 0x1794f2
movl $0x580, %r12d           # imm = 0x580
xorl %r13d, %r13d
movq (%rbx), %rbp
leaq (%r12,%rbp), %r14
leaq (%r12,%rbp), %rdi
addq $-0x580, %rdi           # imm = 0xFA80
movq $0x0, 0xf0(%rdi)
callq 0x33667
leaq (%r12,%rbp), %rdi
addq $-0x560, %rdi           # imm = 0xFAA0
callq 0x33667
leaq (%r12,%rbp), %rdi
addq $-0x540, %rdi           # imm = 0xFAC0
callq 0x3fd27
leaq (%r12,%rbp), %r15
addq $-0x4e8, %r15           # imm = 0xFB18
movq %r15, %rdi
callq 0x3db85
movq 0x4c0(%r15), %rdi
callq 0x2220
movq 0x4e0(%r15), %rdi
callq 0x2220
movq 0x420(%r15), %rdi
callq 0x2220
movq 0x448(%r15), %rdi
callq 0x2220
movq 0x460(%r15), %rdi
callq 0x2220
movq 0x478(%r15), %rdi
callq 0x2220
movq 0x490(%r15), %rdi
callq 0x2220
movq 0x4a8(%r15), %rdi
callq 0x2220
movq 0x388(%r15), %rdi
callq 0x2220
movq 0x418(%r15), %rdi
callq 0x2220
movq 0x400(%r15), %rdi
callq 0x2220
movq 0x20(%r15), %rdi
callq 0x122a2b
leaq (%r12,%rbp), %rdi
addq $-0x488, %rdi           # imm = 0xFB78
callq 0x3cbda
movq %r14, %rdi
callq 0x179361
incq %r13
movl 0x8(%rbx), %eax
addq $0x5c0, %r12            # imm = 0x5C0
cmpq %rax, %r13
jb 0x1793e2
movq (%rbx), %rdi
callq 0x2220
movq 0x10(%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2220
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: fetch_aux_ovlp(overlap_region_alloc*)
overlap_region *fetch_aux_ovlp(overlap_region_alloc* ol) /// exactly same to gen_aux_ovlp
{
	if (ol->length + 1 >= ol->size) {
		uint64_t sl = ol->size;
        ol->size = ol->length + 1;
        kroundup64(ol->size);
        REALLOC(ol->list, ol->size);
        /// need to set new space to be 0
        memset(ol->list + sl, 0, sizeof(overlap_region)*(ol->size - sl));
	}
    ///debug for memory
    // if(ol->length + 1 >= ol->size) {
    //     fprintf(stderr, "[M::%s] length::%lu, size::%lu\n", __func__, ol->length, ol->size);
    // }
	return &(ol->list[ol->length+1]);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %r14
movq 0x10(%rdi), %rax
leaq 0x1(%rax), %rcx
cmpq %r14, %rcx
jb 0x1795bb
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x20, %rax
orq %rcx, %rax
incq %rax
movq %rax, 0x8(%rbx)
movq (%rbx), %rdi
imulq $0xa8, %rax, %rsi
callq 0x2370
movq %rax, (%rbx)
imulq $0xa8, %r14, %rdi
addq %rax, %rdi
movq 0x8(%rbx), %rax
subq %r14, %rax
imulq $0xa8, %rax, %rdx
xorl %esi, %esi
callq 0x20e0
imulq $0xa8, 0x10(%rbx), %rax
addq (%rbx), %rax
addq $0xa8, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: push_cns_c1(cns_gfa*, unsigned long, char*, unsigned long, unsigned int, asg32_v*, unsigned long, unsigned int)
uint32_t push_cns_c1(cns_gfa *cns, uint64_t s0, char *tstr, uint64_t tl, uint32_t plus0, asg32_v* b32, uint64_t max_trace, uint32_t rid)
{
    if(tl <= 0) return s0;
    uint32_t rr = plus0, k, re = s0; 
    k = trace_cns_bp(cns, s0, tstr, tl, b32, plus0, &re, max_trace, 1);
    if(k > 0) rr = 1;

    // if(s0 == 2863) {
    //     fprintf(stderr, "[M::%s] (%.*s)\ts0::%lu\tk::%u\ttl::%lu\tre::%u\n", __func__, tstr?((int)(tl)):0, tstr, s0, k, tl, re);
    // }
    //     fprintf(stderr, "[M::%s] s0::%u, s::%u\n", __func__, k-1, k);
        //     prt_cns_arc(cns, k-1, __func__); prt_cns_arc(cns, k, __func__);

    for (; k < tl; k++) {///the weight of (s0 -> tstr[0]) might be 0
        re = add_cns_arc_bp(cns, re, seq_nt6_table[(uint32_t)(tstr[k])], rr, rid, 1); rr = 1;
    }
    
    return re;
}

// Assembly:
movq %rsi, %rax
testq %rcx, %rcx
je 0x17ae15
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq 0x40(%rsp), %r10
leaq 0x4(%rsp), %r12
movl %eax, (%r12)
subq $0x8, %rsp
movq %rax, %rsi
movq %r9, %r8
movl %ebp, %r9d
pushq $0x1
pushq %r10
pushq %r12
callq 0x17a92f
addq $0x20, %rsp
movl %eax, %ecx
movl (%r12), %eax
movl %ecx, %ecx
cmpq %rbx, %rcx
jae 0x17ae07
testq %rcx, %rcx
movl $0x1, %edx
cmovnel %edx, %ebp
leal 0x1(%rcx), %r13d
leaq 0x10f85c(%rip), %r12    # 0x28a630
movsbq (%r14,%rcx), %rcx
movl %ecx, %ecx
movzbl (%r12,%rcx), %edx
movq %r15, %rdi
movl %eax, %esi
movl %ebp, %ecx
movl 0x48(%rsp), %r8d
movl $0x1, %r9d
callq 0x18d265
movl %r13d, %ecx
incl %r13d
movl $0x1, %ebp
cmpq %rbx, %rcx
jb 0x17add4
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/ecovlp.cpp
// Function: append_cns_g(cns_gfa*, char*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, asg32_v*, unsigned long, unsigned int, long)
uint64_t append_cns_g(cns_gfa *cns, char *tstr, uint64_t tl, uint64_t qs, uint64_t qe, uint64_t cp, uint64_t cl, uint64_t pe, asg32_v* b32, uint64_t max_trace, uint32_t rid, int64_t insert_pos)
{
    // fprintf(stderr, ">q::[%lu, %lu)\n", qs, qe);
    uint64_t s0 = pe, plus0 = 1, ns = qs + cns->off, ne = qe + cns->off;
    if(pe == ((uint64_t)-1)) {
        if(qs > 0) {
            s0 = qs - 1 + cns->off;///just before node in backbone
        } else {
            s0 = 0;//beg
        }
        // plus0 = 0;
    }

    // fprintf(stderr, "+n_nodes::%u, tl::%lu, qs::%lu, qe::%lu\n", (uint32_t)cns->n, tl, qs, qe);

    if(cp == 0) {
        if((cl == 0) && (cp == 0) && (qs == qe) && (((int64_t)qe) == insert_pos)) {
            s0 = 0;//beg
            ns = ne = 1;//end
            plus0 = 1;
        }
        // if(cp == 0) {
        //     fprintf(stderr, "cp::%lu, cl::%lu, qs::%lu, qe::%lu, s0::%lu, ns::%lu, ne::%lu, plus0::%lu\n", cp, cl, qs, qe, s0, ns, ne, plus0);
        // }
        return push_cns_c0(cns, s0, ns, ne, plus0, rid);
    } else if(cp == 1 || cp == 2) { ///cp == 2: more y -> insertion
        return push_cns_c1(cns, s0, tstr, tl, plus0, b32, max_trace, rid);
    } else { ///more x -> do nothing
        return s0;
    }
}

// Assembly:
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r11
movq %rsi, %rdx
movq 0x18(%rsp), %rax
movl 0x20(%rdi), %ecx
cmpq $-0x1, %rax
jne 0x17ae3e
testq %rbx, %rbx
je 0x17ae3c
leaq (%rcx,%rbx), %rax
decq %rax
jmp 0x17ae3e
xorl %eax, %eax
movl 0x30(%rsp), %r10d
testq %r9, %r9
je 0x17ae70
cmpq $0x2, %r9
ja 0x17aead
movq 0x20(%rsp), %r9
movq %rax, %rsi
movq %r11, %rcx
movl $0x1, %r8d
pushq %r10
pushq 0x30(%rsp)
callq 0x17ad64
addq $0x10, %rsp
jmp 0x17aeab
leaq (%rcx,%rbx), %rdx
xorq %r8, %rbx
orq 0x10(%rsp), %rbx
addq %r8, %rcx
xorq 0x38(%rsp), %r8
xorl %esi, %esi
orq %rbx, %r8
cmoveq %rsi, %rax
movl $0x1, %esi
cmoveq %rsi, %rdx
cmoveq %rsi, %rcx
movq %rax, %rsi
movl $0x1, %r8d
movl %r10d, %r9d
callq 0x17a4f8
movl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: get_sub_seq(rr_seq_t*, unsigned long, unsigned long)
char *get_sub_seq(rr_seq_t *ssq, uint64_t s, uint64_t e)
{
    if(s >= e) return NULL;

    if(s >= ssq->s && e <= ssq->e) {
        return ssq->tu->seq + s - ssq->s;
    }

    uint64_t l = e - s;
    if(ssq->s >= ssq->e) {
        if(l < ssq->n0) l = ssq->n0;
    } else {
        if(l < ssq->n1) l = ssq->n1;
    }

    ssq->s = s; ssq->e = s + l;
    if(ssq->e > Get_READ_LENGTH((*(ssq->rref)), ssq->id)) {
        ssq->e = Get_READ_LENGTH((*(ssq->rref)), ssq->id);
        l = ssq->e - ssq->s;
    }
    UC_Read_resize((*(ssq->tu)), ((int64_t)l)); 
    recover_UC_Read_sub_region(ssq->tu->seq, ssq->s, l, ssq->rev, ssq->rref, ssq->id);
    return ssq->tu->seq;
}

// Assembly:
movq %rdx, %rcx
subq %rsi, %rcx
jbe 0x17af5e
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
cmpq %rax, %rsi
ja 0x17aed8
cmpq %rdx, 0x18(%rbx)
jae 0x17af61
xorl %edx, %edx
cmpq 0x18(%rbx), %rsi
setb %dl
movq 0x20(%rbx,%rdx,8), %r14
cmpq %r14, %rcx
cmovaq %rcx, %r14
movq %rax, 0x10(%rbx)
leaq (%r14,%rax), %rdx
movq %rdx, 0x18(%rbx)
movq (%rbx), %rcx
movq 0x30(%rbx), %rsi
movq 0x18(%rcx), %rcx
movq (%rcx,%rsi,8), %rcx
cmpq %rcx, %rdx
jbe 0x17af17
movq %rcx, 0x18(%rbx)
subq %rax, %rcx
movq %rcx, %r14
movq 0x8(%rbx), %rax
cmpq %r14, 0x10(%rax)
jge 0x17af37
movq (%rax), %rdi
movq %r14, %rsi
callq 0x2370
movq 0x8(%rbx), %rcx
movq %rax, (%rcx)
movq %r14, 0x10(%rcx)
movq (%rbx), %r8
movq 0x8(%rbx), %rax
movq (%rax), %rdi
movq 0x10(%rbx), %rsi
movzbl 0x38(%rbx), %ecx
movq 0x30(%rbx), %r9
movq %r14, %rdx
callq 0x337f7
movq 0x8(%rbx), %rax
movq (%rax), %rax
jmp 0x17af6b
xorl %eax, %eax
retq
movq 0x8(%rbx), %rcx
addq (%rcx), %rax
subq %rsi, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: prt_cigar0(unsigned long, long)
void prt_cigar0(uint64_t in, int64_t len)
{
    int64_t k; uint64_t mp;
    char cm[4]; cm[0] = 'M'; cm[1] = 'S'; cm[2] = 'I'; cm[3] = 'D';  
    for (k = 0; k < len; k++) {
        mp = len - 1 - k; mp <<= 1;
        fprintf(stderr, "%c", cm[(in >> mp)&3]);
    }
    fprintf(stderr, "\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl $0x4449534d, 0x4(%rsp)  # imm = 0x4449534D
testq %rsi, %rsi
jle 0x17b9fc
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x2(,%rsi,2), %r15
movq 0x10e607(%rip), %r12    # 0x289fe0
movq %r14, %rax
movl %r15d, %ecx
shrq %cl, %rax
movq (%r12), %rsi
andl $0x3, %eax
movsbl 0x4(%rsp,%rax), %edi
callq 0x2270
addq $-0x2, %r15
decq %rbx
jne 0x17b9d9
movq 0x10e5dd(%rip), %rax    # 0x289fe0
movq (%rax), %rsi
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: prt_bp0(unsigned long, long)
void prt_bp0(uint64_t in, int64_t len)
{
    int64_t k; uint64_t mp;
    char cm[4]; cm[0] = 'A'; cm[1] = 'C'; cm[2] = 'G'; cm[3] = 'T';  
    for (k = 0; k < len; k++) {
        mp = len - 1 - k; mp <<= 1;
        fprintf(stderr, "%c", cm[(in >> mp)&3]);
    }
    fprintf(stderr, "\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl $0x54474341, 0x4(%rsp)  # imm = 0x54474341
testq %rsi, %rsi
jle 0x17ba68
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x2(,%rsi,2), %r15
movq 0x10e59b(%rip), %r12    # 0x289fe0
movq %r14, %rax
movl %r15d, %ecx
shrq %cl, %rax
movq (%r12), %rsi
andl $0x3, %eax
movsbl 0x4(%rsp,%rax), %edi
callq 0x2270
addq $-0x2, %r15
decq %rbx
jne 0x17ba45
movq 0x10e571(%rip), %rax    # 0x289fe0
movq (%rax), %rsi
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: push_correct0(window_list*, window_list_alloc*, unsigned int, unsigned int)
uint64_t push_correct0(window_list *idx, window_list_alloc *res, uint32_t len0, uint32_t rc)
{
    uint64_t nec = 0;
    // fprintf(stderr, "[M::%s] NULL(idx)::%u\n", __func__, idx?0:1);
    if(len0 != ((uint32_t)-1)) {
        push_trace_bp(((asg16_v *)(&(res->c))), 0, (uint16_t)-1, len0, ((idx->clen>0)?1:0)); 
        idx->clen = res->c.n - idx->cidx;
    } else if(rc != ((uint32_t)-1)) {
        // fprintf(stderr, "[M::%s]\t", __func__);
        uint32_t cc = (rc<<4)>>20, cn = rc>>28, ck = 0, cs, cp;
        uint32_t bc = (rc<<20)>>20, bn = (rc<<16)>>28, bk = 0, bs, bp;
        ///debug
        // prt_cigar0(cc, cn);
        // prt_bp0(bc, bn);

        for (ck = 0; ck < cn; ck++) {
            cs = (cn-1-ck)<<1; cp = (cc>>cs)&3;

            bp = (uint32_t)-1;
            if(cp != 3) {///bp == 3: more x
                bs = (bn-1-bk)<<1; bp = (bc>>bs)&3; 
                bk++;
            }
            // fprintf(stderr, "[M::%s] cp::%u, bp::%u\n", __func__, cp, bp);

            push_trace_bp(((asg16_v *)(&(res->c))), cp, bp, 1, ((idx->clen>0)?1:0)); 
            idx->clen = res->c.n - idx->cidx;
            // fprintf(stderr, "%c", cm[(in >> mp)&3]);

            // fprintf(stderr, "%c", "MSID"[cp]);
            if(cp != 0) nec++;
        }

        // fprintf(stderr, "\n");
    }

    return nec;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpl $-0x1, %edx
je 0x17e399
movl %edx, %eax
leaq 0x18(%r14), %rdi
xorl %r8d, %r8d
cmpl $0x0, 0x1c(%rbx)
setne %r8b
xorl %r15d, %r15d
xorl %esi, %esi
movl $0xffff, %edx           # imm = 0xFFFF
movl %eax, %ecx
callq 0x18d881
movl 0x18(%r14), %eax
subl 0x18(%rbx), %eax
movl %eax, 0x1c(%rbx)
jmp 0x17e44b
cmpl $-0x1, %ecx
je 0x17e3a8
xorl %ebp, %ebp
cmpl $0x10000000, %ecx       # imm = 0x10000000
jae 0x17e3b0
xorl %r15d, %r15d
jmp 0x17e44b
movl %ecx, %eax
shrl $0x10, %eax
movl $0xfff, %edx            # imm = 0xFFF
andl %edx, %eax
movl %eax, 0x14(%rsp)
movl %ecx, %eax
shrl $0x1c, %eax
andl %ecx, %edx
movl %edx, 0xc(%rsp)
shrl $0xc, %ecx
andl $0xf, %ecx
movl %ecx, 0x10(%rsp)
addq $0x18, %r14
leal -0x2(,%rax,2), %r12d
xorl %r15d, %r15d
movl 0x14(%rsp), %r13d
movl %r12d, %ecx
shrl %cl, %r13d
andl $0x3, %r13d
movw $0xffff, %ax            # imm = 0xFFFF
cmpl $0x3, %r13d
je 0x17e412
movl %ebp, %ecx
notl %ecx
addl 0x10(%rsp), %ecx
addl %ecx, %ecx
movl 0xc(%rsp), %eax
shrl %cl, %eax
incl %ebp
andl $0x3, %eax
xorl %r8d, %r8d
cmpl $0x0, 0x1c(%rbx)
setne %r8b
movzwl %ax, %edx
movq %r14, %rdi
movl %r13d, %esi
movl $0x1, %ecx
callq 0x18d881
movl (%r14), %eax
subl 0x18(%rbx), %eax
movl %eax, 0x1c(%rbx)
cmpl $0x1, %r13d
sbbq $-0x1, %r15
addl $-0x2, %r12d
cmpl $-0x2, %r12d
jne 0x17e3e4
movq %r15, %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/ecovlp.cpp
// Function: cal_cigar_xlen(overlap_region*)
uint32_t cal_cigar_xlen(overlap_region *in)
{
    assert(in->w_list.n == 1);
    uint32_t cn = in->w_list.a[0].clen; uint16_t *a = in->w_list.c.a + in->w_list.a[0].cidx;
    uint32_t ci, len, xk, yk; uint16_t c, b; asg16_v scc; scc.n = scc.m = cn; scc.a = a;

    ci = 0; xk = yk = 0;
    while (ci < cn) {
        ci = pop_trace_bp(&scc, ci, &c, &b, &len);
        if(c != 2) xk += len;
        if(c != 3) yk += len;
    }

    return xk;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpq $0x1, 0x48(%rdi)
jne 0x17e976
movq 0x58(%rdi), %rax
movl 0x1c(%rax), %ecx
testl %ecx, %ecx
je 0x17e96b
movq 0x70(%rdi), %rdx
movl 0x18(%rax), %eax
leaq (%rdx,%rax,2), %rdx
xorl %esi, %esi
movl $0xfff, %edi            # imm = 0xFFF
movl $0xffff, %r8d           # imm = 0xFFFF
xorl %eax, %eax
xorl %r9d, %r9d
movl %r9d, %r10d
movzwl (%rdx,%r10,2), %ebx
movl %ebx, %r10d
shrl $0xe, %r10d
leal -0x1(%r10), %ebp
cmpw $0x2, %bp
movl $0x3fff, %r11d          # imm = 0x3FFF
cmovbl %edi, %r11d
andl %ebx, %r11d
incl %r9d
cmpl %r9d, %ecx
jbe 0x17e954
shrl $0xc, %ebx
andl $0x3, %ebx
cmpw $0x2, %bp
cmovael %r8d, %ebx
movl %r9d, %r14d
leaq (%rdx,%r14,2), %r14
movzwl (%r14), %r15d
movl %r15d, %r12d
shrl $0xe, %r12d
cmpl %r10d, %r12d
jne 0x17e954
cmpw $0x1, %bp
ja 0x17e930
movl %r15d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
andl $0xfff, %r15d           # imm = 0xFFF
jmp 0x17e93d
andl $0x3fff, %r15d          # imm = 0x3FFF
movl $0xffff, %r12d          # imm = 0xFFFF
cmpl %ebx, %r12d
jne 0x17e954
addl %r15d, %r11d
incl %r9d
addq $0x2, %r14
cmpl %r9d, %ecx
jne 0x17e906
movl %ecx, %r9d
cmpw $0x2, %r10w
cmovel %esi, %r11d
addl %r11d, %eax
cmpl %ecx, %r9d
jb 0x17e8c5
jmp 0x17e96d
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb3883(%rip), %rdi     # 0x232200
leaq 0xb3467(%rip), %rsi     # 0x231deb
leaq 0xb3887(%rip), %rcx     # 0x232212
movl $0x81f, %edx            # imm = 0x81F
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: cal_cigar_xlen_fhc(overlap_region*)
uint32_t cal_cigar_xlen_fhc(overlap_region *in)
{
    assert(in->w_list.n == 1);
    uint32_t cn = in->w_list.a[0].clen; uint16_t *a = in->w_list.c.a + in->w_list.a[0].cidx;
    uint32_t ci, len, xk, yk; uint16_t c, bq, bt; asg16_v scc; scc.n = scc.m = cn; scc.a = a;

    ci = 0; xk = yk = 0;
    while (ci < cn) {
        ci = pop_trace_bp_f(&scc, ci, &c, &bq, &bt, &len);
        if(c != 2) xk += len;
        if(c != 3) yk += len;
    }

    return xk;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x1, 0x48(%rdi)
jne 0x17eaf0
movq 0x58(%rdi), %rax
movl 0x1c(%rax), %ecx
testl %ecx, %ecx
je 0x17eadf
movq 0x70(%rdi), %rdx
movl 0x18(%rax), %eax
leaq (%rdx,%rax,2), %rdx
xorl %eax, %eax
xorl %esi, %esi
xorl %edi, %edi
movl %edi, %r8d
movzwl (%rdx,%r8,2), %r10d
movl %r10d, %r8d
shrl $0xe, %r8d
leal -0x2(%r8), %r9d
cmpl $0x2, %r9d
jae 0x17e9fe
movl %r10d, %r9d
shrl $0xc, %r9d
andl $0x3, %r9d
andl $0xfff, %r10d           # imm = 0xFFF
movl $0xffff, %r11d          # imm = 0xFFFF
jmp 0x17ea34
testl %r8d, %r8d
jne 0x17ea17
andl $0x3fff, %r10d          # imm = 0x3FFF
movl $0xffff, %r11d          # imm = 0xFFFF
movw $0xffff, %r9w           # imm = 0xFFFF
jmp 0x17ea34
movl %r10d, %r9d
shrl $0xc, %r9d
andl $0x3, %r9d
movl %r10d, %r11d
shrl $0xa, %r11d
andl $0x3, %r11d
andl $0x3ff, %r10d           # imm = 0x3FF
movzwl %r10w, %r10d
incl %edi
cmpl %edi, %ecx
jbe 0x17eac9
movl %edi, %ebx
leaq (%rdx,%rbx,2), %rbx
movzwl %r8w, %r14d
leal -0x2(%r14), %ebp
movzwl (%rbx), %r15d
movl %r15d, %r12d
shrl $0xe, %r12d
cmpl %r8d, %r12d
jne 0x17eac9
cmpl $0x2, %ebp
jae 0x17ea79
movl %r15d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
andl $0xfff, %r15d           # imm = 0xFFF
jmp 0x17ea8a
testl %r14d, %r14d
jne 0x17ea92
andl $0x3fff, %r15d          # imm = 0x3FFF
movw $0xffff, %r12w          # imm = 0xFFFF
movl $0xffff, %r13d          # imm = 0xFFFF
jmp 0x17eaaf
movl %r15d, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
movl %r15d, %r13d
shrl $0xa, %r13d
andl $0x3, %r13d
andl $0x3ff, %r15d           # imm = 0x3FF
cmpl %r11d, %r13d
jne 0x17eac9
cmpw %r12w, %r9w
jne 0x17eac9
addl %r15d, %r10d
incl %edi
addq $0x2, %rbx
cmpl %edi, %ecx
jne 0x17ea50
movl %ecx, %edi
cmpw $0x2, %r8w
cmovel %esi, %r10d
addl %r10d, %eax
cmpl %ecx, %edi
jb 0x17e9cb
jmp 0x17eae1
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb3709(%rip), %rdi     # 0x232200
leaq 0xb32ed(%rip), %rsi     # 0x231deb
leaq 0xb3737(%rip), %rcx     # 0x23223c
movl $0x82f, %edx            # imm = 0x82F
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: push_nec_re(overlap_region*, asg16_v*)
void push_nec_re(overlap_region *in, asg16_v *ou)
{
    assert(in->w_list.n == 1);
    uint32_t n1 = in->w_list.a[0].clen;
    if(n1 > ou->m) {
        REALLOC(ou->a, n1); ou->m = n1;
    }
    ou->n = n1;
    memcpy(ou->a, in->w_list.c.a + in->w_list.a[0].cidx, n1*sizeof((*(in->w_list.c.a))));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq $0x1, 0x48(%rdi)
jne 0x17fb63
movq %rsi, %r15
movq %rdi, %rbx
movq 0x58(%rdi), %rax
movl 0x1c(%rax), %r14d
cmpq %r14, 0x8(%rsi)
jae 0x17fb3e
movq 0x10(%r15), %rdi
leaq (%r14,%r14), %rsi
callq 0x2370
movq %rax, 0x10(%r15)
movq %r14, 0x8(%r15)
movq %r14, (%r15)
movq 0x10(%r15), %rdi
movq 0x58(%rbx), %rax
movl 0x18(%rax), %esi
addq %rsi, %rsi
addq 0x70(%rbx), %rsi
addq %r14, %r14
movq %r14, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x2160
leaq 0xb2696(%rip), %rdi     # 0x232200
leaq 0xb227a(%rip), %rsi     # 0x231deb
leaq 0xb2872(%rip), %rcx     # 0x2323ea
movl $0x97c, %edx            # imm = 0x97C
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: stderr_phase_ovlp(overlap_region_alloc*)
void stderr_phase_ovlp(overlap_region_alloc* ol)
{
    int64_t on = ol->length, k; overlap_region *z;
    if(!on) return;
    uint64_t qry_n = 0, rid, ref_n, qid;
    rid = ol->list[0].x_id; ref_n = Get_NAME_LENGTH(R_INF, rid);
    
    for (k = 0; k < on; k++) {
        z = &(ol->list[k]); qid = ol->list[k].y_id; 
        qry_n = Get_NAME_LENGTH(R_INF, qid); 

        fprintf(stderr, "%.*s(qid::%lu)\tql::%lu\tq::[%u,\t%u)\t%c\t%.*s(tid::%lu)\ttl::%lu\tt::[%u,\t%u)\ttrans::%u\n", 
        (int32_t)Get_NAME_LENGTH(R_INF, rid), Get_NAME(R_INF, rid), rid, ref_n, z->x_pos_s, z->x_pos_e + 1, "+-"[z->y_pos_strand], 
        (int32_t)Get_NAME_LENGTH(R_INF, qid), Get_NAME(R_INF, qid), qid, qry_n, z->y_pos_s, z->y_pos_e + 1, ((z->is_match==1)?(0):(1)));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x10(%rdi), %r13
testq %r13, %r13
je 0x181713
jle 0x181713
movq (%rdi), %rax
movl (%rax), %ecx
leaq 0x109c0a(%rip), %rax    # 0x28b230
movq 0x40(%rax), %rax
movq 0x8(%rax,%rcx,8), %rdx
movq %rcx, 0x10(%rsp)
subq (%rax,%rcx,8), %rdx
movq %rdx, 0x8(%rsp)
movl $0x4, %r12d
movq %rdi, 0x18(%rsp)
movq (%rdi), %rax
movl 0xc(%rax,%r12), %r10d
leaq 0x109bd9(%rip), %rcx    # 0x28b230
movq 0x8(%rcx), %r11
movq 0x40(%rcx), %rcx
movq (%rcx,%r10,8), %rsi
movq 0x8(%rcx,%r10,8), %rbp
subq %rsi, %rbp
movq 0x10896e(%rip), %rdx    # 0x289fe0
movq (%rdx), %rdi
movq 0x10(%rsp), %r8
movl 0x8(%rcx,%r8,8), %edx
movq (%rcx,%r8,8), %rcx
subl %ecx, %edx
addq %r11, %rcx
movl (%rax,%r12), %r9d
movq %r9, 0x30(%rsp)
movl 0x4(%rax,%r12), %ebx
incl %ebx
movl 0x18(%rax,%r12), %r9d
leaq 0xa4b1f(%rip), %r14     # 0x2261c3
movsbl (%r9,%r14), %r9d
movq %r9, 0x28(%rsp)
addq %rsi, %r11
movl 0x14(%rax,%r12), %r15d
incl %r15d
xorl %r14d, %r14d
cmpb $0x1, 0x28(%rax,%r12)
movl 0x10(%rax,%r12), %eax
movq %rax, 0x20(%rsp)
setne %r14b
leaq 0xb0eb9(%rip), %rsi     # 0x232590
movq 0x8(%rsp), %r9
xorl %eax, %eax
pushq %r14
pushq %r15
pushq 0x30(%rsp)
pushq %rbp
pushq %r10
pushq %r11
pushq %rbp
pushq 0x60(%rsp)
pushq %rbx
pushq 0x78(%rsp)
callq 0x22b0
movq 0x68(%rsp), %rdi
addq $0x50, %rsp
addq $0xa8, %r12
decq %r13
jne 0x181648
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: is_uncorrected_read(overlap_region_alloc*, asg64_v*, long, long)
uint32_t is_uncorrected_read(overlap_region_alloc* ov, asg64_v *idx, int64_t len, int64_t min_len)
{
    uint64_t k, s, e; int64_t dp, old_dp, st = 0, ed;
    for (k = idx->n = 0; k < ov->length; k++) {
        s = ov->list[k].x_pos_s; e = ov->list[k].x_pos_e + 1;
        kv_push(uint64_t, (*idx), (s<<1));
        kv_push(uint64_t, (*idx), (e<<1)|1);
    }

    radix_sort_ec64(idx->a, idx->a + idx->n);
    for (k = 0, dp = 0, st = ed = 0; k < idx->n; ++k) {
        old_dp = dp;
        ///if a[j] is qe
        if (idx->a[k]&1) --dp;
        else ++dp;

        ed = idx->a[k]>>1;
        if(ed > st) {
            if(old_dp == 0) {
                if((ed - st) >= min_len) return 1;
            }
        }
        st = ed;
    }


    ed = len; old_dp = dp;
    if(ed > st) {
        if(old_dp == 0) {
            if((ed - st) >= min_len) return 1;
            if((ed - st) >= len) return 1;
        }
    }
    
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, %r15
movq $0x0, (%rsi)
cmpq $0x0, 0x10(%rdi)
je 0x181c79
movq %rdi, %r12
movl $0x8, %r13d
xorl %ebp, %ebp
movq (%r12), %rax
movl -0x4(%rax,%r13), %r14d
movl (%rax,%r13), %ebx
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
jne 0x181c09
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%r15)
movq 0x10(%r15), %rdi
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x10(%r15)
addq %r14, %r14
movq (%r15), %rax
movq 0x10(%r15), %rdi
leaq 0x1(%rax), %rcx
movq %rcx, (%r15)
movq %r14, (%rdi,%rax,8)
movq 0x8(%r15), %rax
cmpq %rax, (%r15)
jne 0x181c48
leaq (%rax,%rax), %rsi
testq %rax, %rax
movl $0x2, %eax
cmoveq %rax, %rsi
movq %rsi, 0x8(%r15)
shlq $0x3, %rsi
callq 0x2370
movq %rax, 0x10(%r15)
incl %ebx
leaq 0x1(,%rbx,2), %rax
movq (%r15), %rcx
movq 0x10(%r15), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rax, (%rdx,%rcx,8)
incq %rbp
addq $0xa8, %r13
cmpq 0x10(%r12), %rbp
jb 0x181bce
movq (%r15), %rax
movq 0x10(%r15), %rdi
leaq (%rdi,%rax,8), %rsi
callq 0x178fc2
movq (%r15), %rcx
testq %rcx, %rcx
je 0x181cef
movq 0x10(%r15), %rdx
xorl %eax, %eax
xorl %esi, %esi
xorl %edi, %edi
movq 0x8(%rsp), %rbx
movq %rax, %r9
movq (%rdx,%rdi,8), %r8
movq %r8, %rax
shrq %rax
movq %rax, %r10
subq %r9, %r10
setbe %r9b
testq %rsi, %rsi
setne %r11b
orb %r9b, %r11b
cmpq %rbx, %r10
setl %r9b
orb %r11b, %r9b
cmpb $0x1, %r9b
jne 0x181d1f
andl $0x1, %r8d
negq %r8
orq $0x1, %r8
addq %r8, %rsi
incq %rdi
cmpq %rdi, %rcx
jne 0x181ca0
testq %rsi, %rsi
sete %cl
jmp 0x181cf8
movb $0x1, %cl
xorl %eax, %eax
movq 0x8(%rsp), %rbx
movq 0x10(%rsp), %rdx
subq %rax, %rdx
jle 0x181d1b
testb %cl, %cl
je 0x181d1b
cmpq %rbx, %rdx
setge %cl
testq %rax, %rax
sete %al
orb %cl, %al
movl $0x1, %eax
jne 0x181d24
xorl %eax, %eax
jmp 0x181d24
movl $0x1, %eax
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/ecovlp.cpp
// Function: cal_cov_re(asg64_v*, long*, unsigned long, unsigned long)
uint64_t cal_cov_re(asg64_v *idx, int64_t *k, uint64_t s, uint64_t e)
{
    uint64_t *a = idx->a, ws, we, cn, os, oe, ovlp, tot = 0; int64_t n = idx->n;
    if(n <= 0) return 0;
    if((*k) >= n) (*k) = 0;
    while (((*k) > 0) && (((uint32_t)a[*k]) > s)) (*k) -= 2;
    if((*k) < 0) (*k) = 0;

    while (((*k) < n) && ((a[*k]>>32) < e)) {
        ws = (a[*k]>>32); we = ((uint32_t)a[*k]); cn = a[(*k) + 1];
        os = MAX(s, ws); oe = MIN(e, we);
        ovlp = ((oe>os)? (oe-os):0);
        tot += (ovlp*cn);
        (*k) += 2;
    }

    return tot;
}

// Assembly:
movq (%rdi), %r8
testq %r8, %r8
jle 0x1827fc
movq 0x10(%rdi), %rdi
cmpq %r8, (%rsi)
jl 0x182780
movq $0x0, (%rsi)
movq (%rsi), %rax
testq %rax, %rax
jle 0x1827a3
movl (%rdi,%rax,8), %r9d
cmpq %rdx, %r9
jbe 0x1827a3
leaq -0x2(%rax), %r9
movq %r9, (%rsi)
cmpq $0x2, %rax
movq %r9, %rax
jg 0x182788
jmp 0x1827a6
movq %rax, %r9
testq %r9, %r9
jns 0x1827b2
movq $0x0, (%rsi)
movq (%rsi), %r9
xorl %eax, %eax
cmpq %r8, %r9
jge 0x1827fe
movq (%rdi,%r9,8), %r11
movq %r11, %r10
shrq $0x20, %r10
cmpq %rcx, %r10
jae 0x1827fe
movl %r11d, %r11d
cmpq %rdx, %r10
cmovbeq %rdx, %r10
cmpq %rcx, %r11
cmovaeq %rcx, %r11
subq %r10, %r11
movl $0x0, %r10d
cmovaeq %r11, %r10
imulq 0x8(%rdi,%r9,8), %r10
addq %r10, %rax
addq $0x2, %r9
movq %r9, (%rsi)
jmp 0x1827b7
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/ecovlp.cpp
// Function: flip_paf_rc(unsigned long, ma_hit_t_alloc*, All_reads*)
void flip_paf_rc(uint64_t rid, ma_hit_t_alloc *paf, All_reads *rref)
{
    ma_hit_t *z; uint64_t k, m; int64_t ql = Get_READ_LENGTH((*rref), rid), tl, qs, qe, ts, te;
    for (k = m = 0; k < paf->length; k++) {
        z = &(paf->buffer[k]); tl = Get_READ_LENGTH((*rref), z->tn);
        qs = (uint32_t)z->qns; if(qs < 0) qs = 0; if(qs > ql) qs = ql;
        qe = z->qe; if(qe < 0) qe = 0; if(qe > ql) qe = ql;
        ts = z->ts; if(ts < 0) ts = 0; if(ts > tl) ts = tl;
        te = z->te; if(te < 0) te = 0; if(te > tl) te = tl;
        if(qe > qs && te > ts) {
            z->qns >>= 32; z->qns <<= 32;  
            z->qns |= ((uint64_t)(ql - qe));
            z->qe = ql - qs;
            z->ts = tl - te;
            z->te = tl - ts;
            paf->buffer[m++] = *z;
        }
    }
    paf->length = m;
}

// Assembly:
cmpl $0x0, 0xc(%rsi)
je 0x182f76
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x18(%rdx), %rax
movq (%rax,%rdi,8), %r9
movl $0x14, %edi
xorl %r8d, %r8d
xorl %eax, %eax
movq (%rsi), %r10
movq 0x18(%rdx), %r11
movl -0x8(%r10,%rdi), %ebx
movq (%r11,%rbx,8), %r11
movq -0x14(%r10,%rdi), %r12
movl %r12d, %ebx
movl -0xc(%r10,%rdi), %ebp
cmpq %rbp, %r9
cmovlq %r9, %rbp
movl (%r10,%rdi), %r14d
cmpq %r14, %r11
cmovlq %r11, %r14
cmpq %rbp, %rbx
jge 0x182f57
movl -0x4(%r10,%rdi), %r13d
cmpq %r13, %r14
jle 0x182f57
leaq (%r10,%rdi), %r15
addq $-0x14, %r15
cmpq %r13, %r11
cmovlq %r11, %r13
cmpq %r9, %rbx
cmovgeq %r9, %rbx
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
andq %rcx, %r12
movq %r9, %rcx
subq %rbp, %rcx
orq %r12, %rcx
movq %rcx, (%r15)
movl %r9d, %ecx
subl %ebx, %ecx
movl %ecx, 0x8(%r15)
movl %r11d, %ecx
subl %r14d, %ecx
movl %ecx, 0x10(%r15)
subl %r13d, %r11d
movl %r11d, 0x14(%r15)
leaq (%rax,%rax,4), %rcx
incq %rax
movq 0x20(%r15), %r11
movq %r11, 0x20(%r10,%rcx,8)
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%r10,%rcx,8)
movups %xmm0, (%r10,%rcx,8)
incq %r8
movl 0xc(%rsi), %ecx
addq $0x28, %rdi
cmpq %rcx, %r8
jb 0x182eac
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x182f78
xorl %eax, %eax
movl %eax, 0xc(%rsi)
retq