LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: asg_arc_del_short(asg_t*, float)
int asg_arc_del_short(asg_t *g, float drop_ratio)
{
	uint32_t v, n_vtx = g->n_seq * 2, n_short = 0;
	for (v = 0; v < n_vtx; ++v) {
		asg_arc_t *av = asg_arc_a(g, v);
		uint32_t i, thres, nv = asg_arc_n(g, v);
		///if there is just one overlap, do nothing
		if (nv < 2) continue;
		//av[0] has the most overlap length
		///remove short overlaps
		thres = (uint32_t)(av[0].ol * drop_ratio + .499);
		///av has been sorted by overlap length
		for (i = nv - 1; i >= 1 && av[i].ol < thres; --i);
		for (i = i + 1; i < nv; ++i)
			av[i].del = 1, ++n_short;
	}
	if (n_short) {
		asg_cleanup(g);
		asg_symm(g);
	}
	fprintf(stderr, "[M::%s] removed %d short overlaps\n", __func__, n_short);
	return n_short;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl 0x14(%rdi), %eax
xorl %ebx, %ebx
addl %eax, %eax
je 0x67ba
movl %eax, %eax
xorl %ecx, %ecx
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movsd 0x21b905(%rip), %xmm1   # 0x222010
pushq $0x1
popq %rsi
xorl %ebx, %ebx
movq 0x28(%r14), %rdi
movq (%rdi,%rcx,8), %rdi
cmpl $0x2, %edi
jb 0x67ae
movq 0x8(%r14), %r8
movq %rdi, %r9
shrq $0x20, %r9
imulq $0x18, %r9, %r11
leaq (%r8,%r11), %r9
movl 0xc(%r9), %r9d
andl %edx, %r9d
cvtsi2ss %r9d, %xmm2
mulss %xmm0, %xmm2
cvtss2sd %xmm2, %xmm2
addsd %xmm1, %xmm2
cvttsd2si %xmm2, %r15
movl %edi, %r9d
leal 0x1(%rdi), %r10d
imulq $0x18, %r9, %r12
leaq (%r8,%r11), %r13
addq $-0xc, %r13
cmpq $0x18, %r12
je 0x677f
movl (%r13,%r12), %ebp
andl %edx, %ebp
decl %r10d
addq $-0x18, %r12
cmpl %r15d, %ebp
jb 0x6764
jmp 0x6782
movl %esi, %r10d
cmpl %edi, %r10d
jae 0x67ae
movl %r10d, %r15d
addl %edi, %ebx
imulq $0x18, %r15, %rdi
addq %rdi, %r11
leaq (%r8,%r11), %rdi
addq $0xc, %rdi
subq %r15, %r9
orb $-0x80, 0x3(%rdi)
addq $0x18, %rdi
decq %r9
jne 0x679e
subl %r10d, %ebx
incq %rcx
cmpq %rax, %rcx
jne 0x6710
testl %ebx, %ebx
je 0x67db
movq %r14, %rdi
callq 0xa02fa
movq %r14, %rdi
callq 0xa0333
movq %r14, %rdi
callq 0xa03e9
orb $-0x80, 0x17(%r14)
movq 0x2837fe(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x2237be(%rip), %rsi    # 0x229faa
leaq 0x2237da(%rip), %rdx    # 0x229fcd
movl %ebx, %ecx
xorl %eax, %eax
callq 0x22b0
movl %ebx, %eax
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/Overlaps.cpp
// Function: asg_arc_del_short_diploid_unclean_exact(asg_t*, float, ma_hit_t_alloc*)
int asg_arc_del_short_diploid_unclean_exact(asg_t *g, float drop_ratio, ma_hit_t_alloc* sources)
{
	uint32_t v, n_vtx = g->n_seq * 2, n_short = 0;
	for (v = 0; v < n_vtx; ++v) 
    {
        if (g->seq[v>>1].del) continue;

		asg_arc_t *av = asg_arc_a(g, v);
		uint32_t i, nv = asg_arc_n(g, v);
		///if there is just one overlap, do nothing
		if (nv < 2) continue;
		///keep the longest one
        for (i = 1; i < nv; i++)
        {
            ///if it is an inexact overlap
            if(av[i].el == 0 && 
              sources[v>>1].is_fully_corrected == 1&& 
              sources[(av[i].v>>1)].is_fully_corrected == 1)
            {
                av[i].del = 1;
                ++n_short;
            }
        }

	}

	if (n_short) 
    {
		asg_cleanup(g);
		asg_symm(g);
	}
	fprintf(stderr, "[M::%s] removed %d inexact overlaps\n", __func__, n_short);
	return n_short;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl 0x14(%rdi), %eax
xorl %ebx, %ebx
addl %eax, %eax
je 0x6a37
movl %eax, %eax
xorl %ecx, %ecx
xorl %ebx, %ebx
movq 0x20(%r14), %rdi
movl %ecx, %edx
shrl %edx
cmpl $0x0, (%rdi,%rdx,8)
js 0x6a2f
movq 0x28(%r14), %rdi
movq (%rdi,%rcx,8), %rdi
testl $0xfffffffe, %edi       # imm = 0xFFFFFFFE
je 0x6a2f
movq 0x8(%r14), %r8
movq %rdi, %r9
shrq $0x20, %r9
imulq $0x18, %rdx, %rdx
addq %rsi, %rdx
addq $0x10, %rdx
movl %edi, %edi
imulq $0x18, %r9, %r9
addq %r9, %r8
addq $0x2a, %r8
decq %rdi
cmpb $0x0, (%r8)
jne 0x6a26
cmpb $0x1, (%rdx)
jne 0x6a26
movl -0xa(%r8), %r9d
shrl %r9d
imulq $0x18, %r9, %r9
cmpb $0x1, 0x10(%rsi,%r9)
jne 0x6a26
orb $-0x80, -0x3(%r8)
incl %ebx
addq $0x18, %r8
decq %rdi
jne 0x6a01
incq %rcx
cmpq %rax, %rcx
jne 0x69bd
testl %ebx, %ebx
je 0x6a58
movq %r14, %rdi
callq 0xa02fa
movq %r14, %rdi
callq 0xa0333
movq %r14, %rdi
callq 0xa03e9
orb $-0x80, 0x17(%r14)
movq 0x283581(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x2235b0(%rip), %rsi    # 0x22a019
leaq 0x2235ce(%rip), %rdx    # 0x22a03e
movl %ebx, %ecx
xorl %eax, %eax
callq 0x22b0
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: prt_scaf_stats(sec_t*, ma_ug_t*, char const*, unsigned long)
void prt_scaf_stats(sec_t *scp, ma_ug_t *ctg, const char* prefix, uint64_t id)
{
    uint64_t k, tl0, tl1; ma_utg_t *z = NULL; char name[32];
    for (k = tl0 = tl1 = 0; k < scp->n; k++) {
        z = &(ctg->u.a[((uint32_t)scp->a[k])>>1]); tl0 += z->len; tl1 += (scp->a[k]>>32);
    }
    sprintf(name, "%s%.6lu%c", prefix, id + 1, "lc"[scp->is_c]);

    fprintf(stderr, "[M::%s] [M::%s] tot::%lu\tel::%lu\tnl::%lu\tis_c::%lu\t#::%lu\t%s\n", __func__, name, tl0+tl1, tl0, tl1, scp->is_c, (uint64_t)scp->n, ((scp->n>1)?"scf":"ctg"));
    for (k = 0; k < scp->n; k++) {
        z = &(ctg->u.a[((uint32_t)scp->a[k])>>1]);
        fprintf(stderr, "%s%.6u%c(%c)\tlen::%u\tNs::%lu\n", 
        prefix, (((uint32_t)scp->a[k])>>1)+1, "lc"[z->circ], "+-"[(((uint32_t)scp->a[k])&1)], z->len, (scp->a[k]>>32));
    }
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x7774
xorl %r12d, %r12d
xorl %ebp, %ebp
jmp 0x77ae
movq 0x10(%r14), %rdx
movq 0x18(%r15), %rsi
xorl %ebp, %ebp
xorl %r12d, %r12d
xorl %edi, %edi
movq (%rsi,%rdi,8), %r8
movl %r8d, %r9d
shrl %r9d
imulq $0x28, %r9, %r9
movl (%rdx,%r9), %r9d
andl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
addq %r9, %r12
shrq $0x20, %r8
addq %r8, %rbp
incq %rdi
cmpq %rdi, %rax
jne 0x7783
incq %rcx
movq 0x10(%r15), %rax
leaq 0x220e6f(%rip), %rdx    # 0x22862b
movsbl (%rax,%rdx), %r8d
leaq 0x222b5a(%rip), %rsi    # 0x22a322
movq %rsp, %r13
movq %r13, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x282801(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq (%r12,%rbp), %r8
movq 0x8(%r15), %r10
cmpq $0x2, %r10
leaq 0x222b84(%rip), %rax    # 0x22a379
leaq 0x222b81(%rip), %r11    # 0x22a37d
cmovaeq %rax, %r11
leaq 0x222b25(%rip), %rsi    # 0x22a32c
leaq 0x222b5c(%rip), %rdx    # 0x22a36a
movq %r13, %rcx
movq %r12, %r9
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x10(%r15)
pushq %rbp
callq 0x22b0
addq $0x20, %rsp
cmpq $0x0, 0x8(%r15)
je 0x78a8
leaq 0x21e98d(%rip), %r13    # 0x2261c3
leaq 0x222b44(%rip), %r12    # 0x22a381
xorl %ebp, %ebp
movq 0x10(%r14), %rax
movq 0x18(%r15), %rcx
movq (%rcx,%rbp,8), %r10
movl %r10d, %ecx
shrl %ecx
imulq $0x28, %rcx, %rdx
movq 0x282785(%rip), %rsi    # 0x289fe0
movq (%rsi), %rdi
incl %ecx
movl (%rax,%rdx), %r11d
movl %r11d, %eax
shrl $0x1f, %eax
leaq 0x220dba(%rip), %rdx    # 0x22862b
movsbl (%rax,%rdx), %r8d
movl %r10d, %eax
andl $0x1, %eax
movsbl (%rax,%r13), %r9d
andl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
shrq $0x20, %r10
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x22b0
popq %rcx
popq %rdx
incq %rbp
cmpq 0x8(%r15), %rbp
jb 0x783f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: print_utg_stats(ma_ug_t*, char const*)
void print_utg_stats(ma_ug_t *ug, const char* command)
{
    uint32_t i;
    uint64_t len, occ_n, occ_m, occ_n_0;
    for (i = len = occ_n = occ_m = occ_n_0 = 0; i < ug->u.n; ++i) {
		ma_utg_t *u = &ug->u.a[i];
        len += u->len;
        occ_n += u->n;
        occ_m += u->m;
        if(u->n == 0) occ_n_0++;
    }

    fprintf(stderr, "%s: len: %lu, occ_n: %lu, occ_m: %lu, occ_n_0: %lu\n", 
                                command, len, occ_n, occ_m, occ_n_0);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rdx
movq (%rdi), %rsi
testq %rsi, %rsi
jne 0x7b43
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
jmp 0x7b8a
movq 0x10(%rdi), %rdi
addq $0x10, %rdi
pushq $0x1
popq %r10
xorl %eax, %eax
xorl %r9d, %r9d
xorl %r8d, %r8d
xorl %ecx, %ecx
movl -0x10(%rdi), %r11d
movl -0x4(%rdi), %ebx
andl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
addq %r11, %rcx
movl (%rdi), %r11d
addq %r11, %r8
addq %rbx, %r9
cmpq $0x1, %r11
adcq $0x0, %rax
movl %r10d, %r11d
addq $0x28, %rdi
incl %r10d
cmpq %r11, %rsi
ja 0x7b59
movq 0x28244f(%rip), %rsi    # 0x289fe0
movq (%rsi), %rdi
movq %rax, (%rsp)
leaq 0x222b51(%rip), %rsi    # 0x22a6f0
xorl %eax, %eax
callq 0x22b0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: print_buf_t(ma_ug_t*, buf_t*, char const*)
void print_buf_t(ma_ug_t *ug, buf_t* x, const char* command)
{
    fprintf(stderr, "%s\n", command);
    uint32_t i, ori;
    ma_utg_t* u = NULL;
    for (i = 0; i < x->b.n; i++)
    {
        u = &(ug->u.a[x->b.a[i]>>1]);
        if(u->n == 0) continue;
        ori = x->b.a[i] & 1;
        fprintf(stderr, "utg%.6ul\tori:%u\tocc:%u\tlen:%u\n", (x->b.a[i]>>1)+1, ori, (uint32_t)u->n, u->len);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28241c(%rip), %r12    # 0x289fe0
movq (%r12), %rdi
leaq 0x228572(%rip), %rsi    # 0x230141
xorl %eax, %eax
callq 0x22b0
cmpq $0x0, 0x38(%rbx)
je 0x7c36
pushq $0x1
popq %rbp
movl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
leaq 0x222bd9(%rip), %r15    # 0x22a7c6
xorl %ecx, %ecx
movq 0x10(%r14), %rax
movq 0x48(%rbx), %rdx
movl (%rdx,%rcx,4), %ecx
movl %ecx, %edx
shrl %edx
imulq $0x28, %rdx, %rsi
movl 0x10(%rax,%rsi), %r8d
testl %r8d, %r8d
jne 0x7c18
movl %ebp, %ecx
incl %ebp
cmpq %rcx, 0x38(%rbx)
ja 0x7bef
jmp 0x7c36
addq %rsi, %rax
andl $0x1, %ecx
movq (%r12), %rdi
incl %edx
movl (%rax), %r9d
andl %r13d, %r9d
movq %r15, %rsi
xorl %eax, %eax
callq 0x22b0
jmp 0x7c0c
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/Overlaps.cpp
// Function: debug_hapS(unsigned int*, unsigned int)
void debug_hapS(uint32_t *hapS, uint32_t rn)
{
    uint32_t i, p, tot, nt, max_tot = 0, *occ = NULL, *freq = NULL;
    for (i = 0; i < rn; i++) {
        for (p = hapS[i], tot = 0; p; p>>=1, tot++);   
        max_tot = MAX(max_tot, tot); 
    }
    fprintf(stderr, "[M::%s:] ==> %u haplotypes in total\n", __func__, max_tot);
    if(max_tot){
        CALLOC(occ, max_tot+1);
        CALLOC(freq, max_tot+1);
        for (i = 0; i < rn; i++) {
            for (p = hapS[i], tot = nt = 0; p; p>>=1, tot++){
                if(p&1) occ[tot+1]++, nt++;
            }
            freq[nt]++;
        }
        for (i = 1; i <= max_tot; i++) {
            fprintf(stderr, "[M::%s:] ==> # reads in hap%u: %u\n", __func__, i, occ[i]);
        }
        for (i = 0; i <= max_tot; i++) {
            fprintf(stderr, "[M::%s:] ==> # reads within %u haplotypes: %u\n", __func__, i, freq[i]);
        }
        free(occ); free(freq);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %r14
xorl %ebx, %ebx
movl %esi, %r15d
testl %esi, %esi
je 0x8194
xorl %eax, %eax
xorl %ebx, %ebx
movl (%r14,%rax,4), %ecx
bsrl %ecx, %edx
xorl $-0x20, %edx
addl $0x21, %edx
testl %ecx, %ecx
cmovel %ecx, %edx
cmpl %edx, %ebx
cmovbel %edx, %ebx
incq %rax
cmpq %rax, %r15
jne 0x8175
movq 0x281e45(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x222742(%rip), %rsi    # 0x22a8e7
leaq 0x222760(%rip), %rdx    # 0x22a90c
movl %ebx, %ecx
xorl %eax, %eax
callq 0x22b0
testl %ebx, %ebx
je 0x82ab
leal 0x1(%rbx), %r12d
pushq $0x4
popq %rsi
movq %r12, %rdi
callq 0x2120
movq %rax, %r13
movq %r12, %rdi
pushq $0x4
popq %rsi
callq 0x2120
movq %r13, %r9
movq %rax, %r12
testl %ebp, %ebp
je 0x8225
leaq 0x4(%r9), %rax
xorl %ecx, %ecx
movl (%r14,%rcx,4), %esi
testl %esi, %esi
je 0x8217
xorl %edx, %edx
movq %rax, %rdi
testb $0x1, %sil
je 0x8201
incl (%rdi)
incl %edx
movl %esi, %r8d
shrl %r8d
addq $0x4, %rdi
cmpl $0x1, %esi
movl %r8d, %esi
ja 0x81f7
movl %edx, %edx
jmp 0x8219
xorl %edx, %edx
incl (%r12,%rdx,4)
incq %rcx
cmpq %r15, %rcx
jne 0x81ea
pushq $0x1
popq %rbp
leaq 0x2226dd(%rip), %r13    # 0x22a90c
movq 0x281daa(%rip), %r15    # 0x289fe0
movq %r9, %r14
movq (%r15), %rdi
movl %ebp, %eax
movl (%r14,%rax,4), %r8d
leaq 0x2226ce(%rip), %rsi    # 0x22a917
movq %r13, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x22b0
incl %ebp
cmpl %ebx, %ebp
jbe 0x8239
movq %r14, (%rsp)
leaq 0x2226d4(%rip), %r14    # 0x22a93a
leaq 0x22269f(%rip), %r13    # 0x22a90c
xorl %ebp, %ebp
movq (%r15), %rdi
movl (%r12,%rbp,4), %r8d
movq %r14, %rsi
movq %r13, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x22b0
incq %rbp
cmpl %ebx, %ebp
jbe 0x826f
movq (%rsp), %rdi
callq 0x2220
movq %r12, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2220
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/Overlaps.cpp
// Function: dbg_prt_utg_trans(kv_u_trans_t*, ma_ug_t*, char const*)
void dbg_prt_utg_trans(kv_u_trans_t *ta, ma_ug_t *ug, const char *o_n)
{
    char* gfa_name = (char*)malloc(strlen(o_n)+100); 
    FILE *fn = NULL; sprintf(gfa_name, "%s.tran.dbg.ovlp.log", o_n);
    u_trans_t *p = NULL; uint32_t i; fn = fopen(gfa_name, "w");
    for (i = 0; i < ta->n; i++) {
        p = &(ta->a[i]);
        fprintf(fn, "utg%.6u%c\t%u\t%u\t%u\t%c\tutg%.6u%c\t%u\t%u\t%u\tw(%f)\tf(%u)\n", 
        p->qn+1, "lc"[ug->u.a[p->qn].circ], ug->u.a[p->qn].len, p->qs, p->qe, "+-"[p->rev],
        p->tn+1, "lc"[ug->u.a[p->tn].circ], ug->u.a[p->tn].len, p->ts, p->te, p->nw, p->f);
    }
    fclose(fn); free(gfa_name); fprintf(stderr, "[M::%s::] done\n", __func__);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x2090
leaq 0x64(%rax), %rdi
callq 0x2280
movq %rax, %r15
leaq 0x2227c6(%rip), %rsi    # 0x22aab2
movq %rax, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x2340fe(%rip), %rsi    # 0x23c3fe
movq %r15, 0x8(%rsp)
movq %r15, %rdi
callq 0x2210
movq %rax, (%rsp)
cmpq $0x0, (%r14)
je 0x8408
pushq $0x1
popq %rbp
xorl %ecx, %ecx
movq %rbx, 0x10(%rsp)
movq 0x10(%r14), %rax
imulq $0x30, %rcx, %rsi
movl 0x8(%rax,%rsi), %ecx
leal 0x1(%rcx), %edx
movq 0x10(%rbx), %rdi
imulq $0x28, %rcx, %rcx
movl (%rdi,%rcx), %r8d
movl %r8d, %ecx
shrl $0x1f, %ecx
leaq 0x2202de(%rip), %r9     # 0x22862b
movsbl (%rcx,%r9), %ecx
movl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
andl %r9d, %r8d
movl (%rax,%rsi), %r9d
movl 0x4(%rax,%rsi), %r10d
movq %r10, 0x20(%rsp)
movzbl 0x28(%rax,%rsi), %r12d
btl $0x6, %r12d
leaq 0x21de48(%rip), %r11    # 0x2261c3
adcq $0x0, %r11
movsbl (%r11), %r10d
movq %r10, 0x18(%rsp)
movl 0x14(%rax,%rsi), %r15d
leal 0x1(%r15), %ebx
imulq $0x28, %r15, %r15
movl (%rdi,%r15), %r15d
movl 0xc(%rax,%rsi), %r13d
movsd 0x20(%rax,%rsi), %xmm0
movq %r14, %r10
movl 0x10(%rax,%rsi), %r14d
movl %r15d, %eax
shrl $0x1f, %eax
leaq 0x220272(%rip), %rsi    # 0x22862b
movsbl (%rax,%rsi), %r11d
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andl %eax, %r15d
andl $0x3f, %r12d
movq (%rsp), %rdi
leaq 0x2226f2(%rip), %rsi    # 0x22aac7
movb $0x1, %al
pushq %r12
pushq %r14
movq %r10, %r14
pushq %r13
pushq %r15
pushq %r11
pushq %rbx
movq 0x40(%rsp), %rbx
pushq 0x48(%rsp)
pushq 0x58(%rsp)
callq 0x22b0
addq $0x40, %rsp
movl %ebp, %ecx
incl %ebp
cmpq %rcx, (%r14)
ja 0x8325
movq (%rsp), %rdi
callq 0x2190
movq 0x8(%rsp), %rdi
callq 0x2220
movq 0x281bbe(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x2226d1(%rip), %rsi    # 0x22aafd
leaq 0x2226da(%rip), %rdx    # 0x22ab0d
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: trans_sec_cut_filter_mmhap(kv_u_trans_t*, ma_ug_t*, asg_t*, ma_hit_t_alloc*)
void trans_sec_cut_filter_mmhap(kv_u_trans_t *ta, ma_ug_t *ug, asg_t *sg, ma_hit_t_alloc* src)
{
    uint64_t k, hom_cov, het_cov, hom_cut; 
    asg64_v b64; kv_init(b64);
    uint64_t *cc = gen_cov_rg(ug, sg, src);
    if(asm_opt.hom_global_coverage_set) {
        hom_cov = asm_opt.hom_global_coverage;
    } else {
        hom_cov = ((double)asm_opt.hom_global_coverage)/((double)HOM_PEAK_RATE);
    }
    het_cov = hom_cov/asm_opt.polyploidy;
    hom_cut = hom_cov + (het_cov*(0.5+(((double)asm_opt.polyploidy)*0.05)));

    fprintf(stderr, "+[M::%s]\thom_cov::%lu\thet_cov::%lu\thom_cut::%lu\n", __func__, 
        hom_cov, het_cov, hom_cut);

    for (k = 0; k < ug->g->n_seq; k++) {
        purge_ovlp_cov(k, ta, ug, sg, &b64, cc, hom_cut);
    }
    free(cc); kv_destroy(b64);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0xc5c39
movq %rax, %r12
leaq 0x2820c7(%rip), %rax    # 0x28a758
movslq 0x144(%rax), %rdx
cvtsi2sd %edx, %xmm1
divsd 0x2214c4(%rip), %xmm1   # 0x229b68
movsd 0x21cbbc(%rip), %xmm0   # 0x225268
cvttsd2si %xmm1, %rsi
subsd %xmm0, %xmm1
cvttsd2si %xmm1, %rdi
movq %rsi, %rcx
sarq $0x3f, %rcx
andq %rdi, %rcx
orq %rsi, %rcx
cmpl $0x0, 0x148(%rax)
cmovneq %rdx, %rcx
movslq 0x1bc(%rax), %rsi
movq %rcx, %rax
xorl %edx, %edx
divq %rsi
movq %rcx, %xmm1
movq 0x21cb52(%rip), %xmm2   # 0x225240
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x21cb56(%rip), %xmm3   # 0x225250
subpd %xmm3, %xmm1
movapd %xmm1, %xmm4
unpckhpd %xmm1, %xmm4            # xmm4 = xmm4[1],xmm1[1]
addsd %xmm1, %xmm4
movq %rax, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
cvtsi2sd %esi, %xmm3
mulsd 0x21cd9d(%rip), %xmm3   # 0x2254c8
addsd %xmm1, %xmm2
addsd 0x21cdb9(%rip), %xmm3   # 0x2254f0
mulsd %xmm2, %xmm3
addsd %xmm4, %xmm3
cvttsd2si %xmm3, %rdx
movq %rdx, %rsi
sarq $0x3f, %rsi
subsd %xmm0, %xmm3
cvttsd2si %xmm3, %r13
andq %rsi, %r13
orq %rdx, %r13
movq 0x28187f(%rip), %rdx    # 0x289fe0
movq (%rdx), %rdi
leaq 0x2224dc(%rip), %rsi    # 0x22ac47
leaq 0x222506(%rip), %rdx    # 0x22ac78
movq %rax, %r8
movq %r13, %r9
xorl %eax, %eax
callq 0x22b0
movq 0x18(%r14), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
je 0x87c3
xorl %ebp, %ebp
leaq 0x10(%rsp), %r15
movq %r13, (%rsp)
movl %ebp, %edi
movq 0x8(%rsp), %rsi
movq %r14, %rdx
movq %rbx, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0xc6d49
incq %rbp
movq 0x18(%r14), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %rbp
jb 0x8793
movq %r12, %rdi
callq 0x2220
movq 0x20(%rsp), %rdi
addq $0x28, %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/Overlaps.cpp
// Function: trans_sec_cut_filter_mmhap_adv(kv_u_trans_t*, ma_ug_t*, asg_t*, ma_hit_t_alloc*, ug_rid_cov_t*)
void trans_sec_cut_filter_mmhap_adv(kv_u_trans_t *ta, ma_ug_t *ug, asg_t *sg, ma_hit_t_alloc* src, ug_rid_cov_t *in)
{
    uint64_t k; asg64_v b64; kv_init(b64);
    ug_rid_cov_t *cc = ((in)?(in):(gen_ug_rid_cov_t(ug, sg, src)));

    fprintf(stderr, "+[M::%s]\thom_cov::%lu\thet_cov::%lu\thom_cut::%lu\n", __func__, 
        cc->hom_cov, cc->het_cov, cc->hom_max);

    for (k = 0; k < ug->g->n_seq; k++) {
        purge_ovlp_cov_adv(k, ta, &b64, cc, cc->hom_max);
    }

    if(!in) {destory_ug_rid_cov_t(cc); free(cc);} kv_destroy(b64);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rsi, %r14
movq %rdi, %r15
andq $0x0, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %r8, %r12
testq %r8, %r8
jne 0x8820
movq %r14, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0xc610d
movq %rax, %r12
movq 0x2817b9(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
movq 0x38(%r12), %r9
movq 0x40(%r12), %rcx
movq 0x48(%r12), %r8
leaq 0x222407(%rip), %rsi    # 0x22ac47
leaq 0x22244c(%rip), %rdx    # 0x22ac93
xorl %eax, %eax
callq 0x22b0
movq 0x18(%r14), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
je 0x888b
xorl %r13d, %r13d
movq %rsp, %rbp
movq 0x38(%r12), %r8
movl %r13d, %edi
movq %r15, %rsi
movq %rbp, %rdx
movq %r12, %rcx
callq 0xc6ffd
incq %r13
movq 0x18(%r14), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r13
jb 0x8861
testq %rbx, %rbx
jne 0x88a0
movq %r12, %rdi
callq 0xc637e
movq %r12, %rdi
callq 0x2220
movq 0x10(%rsp), %rdi
addq $0x18, %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/Overlaps.cpp
// Function: dbg_prt_trio_mmhap_label(ma_ug_t*, mmhap_t*, char const*)
void dbg_prt_trio_mmhap_label(ma_ug_t *ug, mmhap_t *rh, const char *o_n)
{
    char* gfa_name = (char*)malloc(strlen(o_n)+100); 
    FILE *fn = NULL; sprintf(gfa_name, "%s.mmhap.binning.log", o_n);
    uint32_t i, z; fn = fopen(gfa_name, "w");
    for (i = 0; i < ug->g->n_seq; i++) {
        fprintf(fn, "utg%.6u%c\tm::%u\tn::%u", i+1, "lc"[ug->u.a[i].circ], rh->h.a[i].m, rh->h.a[i].n);
        for (z = 0; z < rh->h.a[i].n; z++) {
            fprintf(fn, "\t%u", rh->a.a[rh->h.a[i].a+z]);
        }
        fprintf(fn, "\n");
    }
    fclose(fn); free(gfa_name); fprintf(stderr, "[M::%s::] done\n", __func__);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x2090
leaq 0x64(%rax), %rdi
callq 0x2280
movq %rax, %r12
leaq 0x221c6b(%rip), %rsi    # 0x22adcc
movq %rax, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x233289(%rip), %rsi    # 0x23c3fe
movq %r12, 0x8(%rsp)
movq %r12, %rdi
callq 0x2210
movq %rax, %r12
movq 0x18(%r14), %rax
testl $0x7fffffff, 0x14(%rax) # imm = 0x7FFFFFFF
je 0x9240
leaq 0x221c5a(%rip), %r15    # 0x22adf7
xorl %r13d, %r13d
movq %r14, 0x10(%rsp)
imulq $0x28, %r13, %rax
imulq $0xc, %r13, %rbp
incq %r13
movq 0x10(%r14), %rcx
movl (%rcx,%rax), %eax
shrl $0x1f, %eax
leaq 0x21f46a(%rip), %rcx    # 0x22862b
movsbl (%rax,%rcx), %ecx
movq 0x10(%rbx), %rax
movl (%rax,%rbp), %r9d
movl 0x4(%rax,%rbp), %r8d
movq %r12, %rdi
leaq 0x221c05(%rip), %rsi    # 0x22ade1
movl %r13d, %edx
xorl %eax, %eax
callq 0x22b0
movq 0x10(%rbx), %rax
cmpl $0x0, (%rax,%rbp)
je 0x921b
xorl %r14d, %r14d
movq 0x28(%rbx), %rcx
movl 0x8(%rax,%rbp), %eax
addl %r14d, %eax
movl (%rcx,%rax,4), %edx
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x22b0
incl %r14d
movq 0x10(%rbx), %rax
cmpl (%rax,%rbp), %r14d
jb 0x91f3
pushq $0xa
popq %rdi
movq %r12, %rsi
callq 0x2270
movq 0x10(%rsp), %r14
movq 0x18(%r14), %rax
movl 0x14(%rax), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r13
jb 0x91a5
movq %r12, %rdi
callq 0x2190
movq 0x8(%rsp), %rdi
callq 0x2220
movq 0x280d87(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x22189a(%rip), %rsi    # 0x22aafd
leaq 0x221b91(%rip), %rdx    # 0x22adfb
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: print_graph_statistic(asg_t*, char const*)
void print_graph_statistic(asg_t *g, const char* cmd)
{
    uint64_t n_arc = 0, n_node = 0, size = 0;
    uint32_t n_vtx = g->n_seq, v;

    for (v = 0; v < n_vtx; ++v)
    {
        if (g->seq[v].del || g->seq[v].c == ALTER_LABLE) continue;
        n_arc += get_real_length(g, v<<1, NULL) + get_real_length(g, (v<<1)+1, NULL);
        n_node++;
        size += g->seq[v].len;
    }

    fprintf(stderr, "%s->n_node: %lu, n_arc: %lu, size: %lu\n", cmd, n_node, n_arc, size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, -0x8(%rsp)
movl 0x14(%rdi), %eax
andq $0x7fffffff, %rax       # imm = 0x7FFFFFFF
jne 0xae87
xorl %ecx, %ecx
xorl %r9d, %r9d
xorl %r8d, %r8d
jmp 0xaf68
movq 0x20(%rdi), %rsi
xorl %r10d, %r10d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
xorl %r8d, %r8d
xorl %r9d, %r9d
xorl %ecx, %ecx
movslq (%rsi,%r10,8), %rbx
testq %rbx, %rbx
js 0xaf5c
cmpb $0x1, 0x4(%rsi,%r10,8)
je 0xaf5c
movq 0x28(%rdi), %r15
movq %r10, %r11
shlq $0x4, %r11
movq (%r15,%r11), %r12
xorl %ebp, %ebp
movq %r12, %r11
movl $0x0, %r14d
andq %r13, %r11
je 0xaf06
movq 0x8(%rdi), %r14
shrq $0x20, %r12
imulq $0x18, %r12, %r12
addq %r14, %r12
addq $0xc, %r12
imulq $0x18, %r11, %r13
xorl %r11d, %r11d
xorl %r14d, %r14d
movl (%r12,%r11), %edx
notl %edx
shrl $0x1f, %edx
addl %edx, %r14d
addq $0x18, %r11
cmpq %r11, %r13
jne 0xaef1
leaq (%r10,%r10), %rdx
movq 0x8(%r15,%rdx,8), %r15
movq %r15, %r11
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
andq %r13, %r11
je 0xaf4d
movq 0x8(%rdi), %rdx
shrq $0x20, %r15
imulq $0x18, %r15, %r15
addq %rdx, %r15
addq $0xc, %r15
imulq $0x18, %r11, %r12
xorl %r11d, %r11d
xorl %ebp, %ebp
movl (%r15,%r11), %edx
notl %edx
shrl $0x1f, %edx
addl %edx, %ebp
addq $0x18, %r11
cmpq %r11, %r12
jne 0xaf39
addl %r14d, %ebp
movslq %ebp, %rdx
addq %rdx, %r8
incq %rcx
addq %rbx, %r9
incq %r10
cmpq %rax, %r10
jne 0xae9c
movq 0x27f071(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x2204ec(%rip), %rsi    # 0x22b465
movq -0x8(%rsp), %rdx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: prt_phase_dbg_graph(char*, asg_t*, ma_sub_t*, ma_hit_t_alloc*, R_to_U*, int, int)
void prt_phase_dbg_graph(char *in, asg_t *sg, ma_sub_t *cov, ma_hit_t_alloc *src, R_to_U* ri, int max_hang, int min_ovlp)
{
    char* gfa_name = (char*)malloc(strlen(in)+100);
    sprintf(gfa_name, "%s.phase", in);
    uint64_t pscut = 0;
    pscut = (asm_opt.hom_global_coverage_set?(asm_opt.hom_global_coverage):(((double)asm_opt.hom_global_coverage)/((double)HOM_PEAK_RATE)));
    pscut *= PHASE_SEF; if(pscut < PHASE_SEP) pscut = PHASE_SEP;
    ma_ug_t *ug = ma_ug_gen_phase(sg, pscut, PHASE_SEP_RATE);
    print_debug_gfa(sg, ug, cov, gfa_name, src, ri, max_hang, min_ovlp, 0, 0, 0);
    ma_ug_destroy(ug);

    sprintf(gfa_name, "%s.raw", in);
    ug = ma_ug_gen(sg);
    print_debug_gfa(sg, ug, cov, gfa_name, src, ri, max_hang, min_ovlp, 0, 0, 0);
    ma_ug_destroy(ug);

    free(gfa_name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movq %r8, (%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %rbx
movl 0x60(%rsp), %r12d
callq 0x2090
leaq 0x64(%rax), %rdi
callq 0x2280
movq %rax, %r14
leaq 0x220559(%rip), %rsi    # 0x22b52a
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x27f773(%rip), %rax    # 0x28a758
cmpl $0x0, 0x148(%rax)
cvtsi2sdl 0x144(%rax), %xmm0
jne 0xaffe
divsd 0x21eb6a(%rip), %xmm0   # 0x229b68
cvttsd2si %xmm0, %rax
movq %rax, %rcx
subsd 0x21a25a(%rip), %xmm0   # 0x225268
cvttsd2si %xmm0, %rdx
sarq $0x3f, %rcx
andq %rcx, %rdx
orq %rax, %rdx
addq %rdx, %rdx
cmpq $0x41, %rdx
pushq $0x40
popq %rsi
cmovaeq %rdx, %rsi
movsd 0x21a4b5(%rip), %xmm0   # 0x2254e8
movq %rbp, %rdi
callq 0xb09be
movq %rax, %r15
subq $0x8, %rsp
movq %rbp, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %r14, %rcx
movq %r13, 0x18(%rsp)
movq 0x20(%rsp), %r13
movq %r13, %r8
movq 0x8(%rsp), %r9
pushq $0x0
pushq $0x0
pushq $0x0
pushq %r12
movq %r12, 0x30(%rsp)
movq 0x48(%rsp), %r12
pushq %r12
callq 0xa632
addq $0x30, %rsp
movq %r15, %rdi
callq 0xa0004
leaq 0x2204a7(%rip), %rsi    # 0x22b533
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq %rbp, %rdi
callq 0xb0285
movq %rax, %rbx
subq $0x8, %rsp
movq %rbp, %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
movq %r14, %rcx
movq %r13, %r8
movq 0x8(%rsp), %r9
pushq $0x0
pushq $0x0
pushq $0x0
pushq 0x28(%rsp)
pushq %r12
callq 0xa632
addq $0x30, %rsp
movq %rbx, %rdi
callq 0xa0004
movq %r14, %rdi
addq $0x28, %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/Overlaps.cpp
// Function: output_hap_sc_graph(kvect_sec_t*, asg_t*, ma_sub_t*, char*, unsigned char, ma_hit_t_alloc*, R_to_U*, char*)
void output_hap_sc_graph(kvect_sec_t *ug, asg_t *sg, /**kvec_asg_arc_t_warp *arcs,**/ ma_sub_t* coverage_cut, char* output_file_name, uint8_t flag, ma_hit_t_alloc* sources, R_to_U* ruIndex, /**int max_hang, int min_ovlp,**/ char *f_prefix)
{
    char* gfa_name = (char*)malloc(strlen(output_file_name)+100);
    sprintf(gfa_name, "%s.%s.p_ctg.gfa", output_file_name, f_prefix?f_prefix:(flag==FATHER?"hap1":"hap2"));
    FILE* output_file = fopen(gfa_name, "w");

    fprintf(stderr, "Writing %s to disk... \n", gfa_name);

    // ma_ug_seq(ug->ctg, sg, coverage_cut, sources, arcs, max_hang, min_ovlp, 0, 1);
    // ma_ug_print(ug, sg, coverage_cut, sources, ruIndex, (flag==FATHER?"h1tg":"h2tg"), output_file);
    ma_scg_print(ug, &R_INF, sg, coverage_cut, sources, ruIndex, 1, (flag==FATHER?"h1tg":"h2tg"), output_file);
    fclose(output_file);

    free(gfa_name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movl %r8d, %r14d
movq %rcx, %rbx
movq %rdx, 0x18(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %rbp
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x68(%rsp), %r13
movq %rcx, %rdi
callq 0x2090
leaq 0x64(%rax), %rdi
callq 0x2280
movq %rax, %r15
cmpl $0x1, %r14d
leaq 0x220195(%rip), %rax    # 0x22b54a
leaq 0x220193(%rip), %rcx    # 0x22b54f
cmoveq %rax, %rcx
leaq 0x22018d(%rip), %rax    # 0x22b554
leaq 0x22018b(%rip), %r12    # 0x22b559
cmoveq %rax, %r12
testq %r13, %r13
leaq 0x22015e(%rip), %rsi    # 0x22b53a
leaq 0x23101b(%rip), %r14    # 0x23c3fe
cmovneq %r13, %rcx
movq %r15, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq %r15, %rdi
movq %r14, %rsi
callq 0x2210
movq %rax, %rbx
movq 0x27ebd7(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
leaq 0x21f470(%rip), %rsi    # 0x22a883
movq %r15, %rdx
xorl %eax, %eax
callq 0x22b0
subq $0x8, %rsp
leaq 0x27fe08(%rip), %rsi    # 0x28b230
movq %rbp, %rdi
movq 0x10(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0x18(%rsp), %r9
pushq %rbx
pushq %r12
pushq $0x1
callq 0xb6f9a
addq $0x20, %rsp
movq %rbx, %rdi
callq 0x2190
movq %r15, %rdi
addq $0x28, %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/Overlaps.cpp
// Function: prt_scf_dbg_nds(u_trans_t*, unsigned int*, unsigned int*, unsigned int, ma_ug_t*, ma_ug_t*, ma_ug_t*, unsigned long, unsigned long, char const*)
void prt_scf_dbg_nds(u_trans_t *z, uint32_t *za, uint32_t *zd, uint32_t zn, ma_ug_t *ref, ma_ug_t *hu1, ma_ug_t *hu2, uint64_t s_end, uint64_t e_end, const char *cmd)
{
    uint64_t k, id, rev, ui, uid; ma_utg_t *u;

    id = z->tn; rev = z->rev;
    u = ((id<hu1->u.n)?&(hu1->u.a[id]):&(hu2->u.a[id-hu1->u.n]));
    ui = ((id<hu1->u.n)?1:2); uid = ((id<hu1->u.n)?(id):(id-hu1->u.n));

    fprintf(stderr, "\nCMD::%s[M::%s] h%lutg%.6lu%c(%c)\ts::%u\te::%u\ts_end::%lu\te_end::%lu\tref_n::%u\n", cmd, __func__,
    ui, uid+1, "lc"[u->circ], "+-"[rev], z->ts, z->te, s_end, e_end, (uint32_t)ref->u.n);
    for (k = 0; k < zn; k++) {
        fprintf(stderr, "[%u|%u]", (za[k]>>1), (za[k]&1));
        fprintf(stderr, "utg%.6u%c(%c)(d::%u),", (za[k]>>1)+1, "lc"[ref->u.a[(za[k]>>1)].circ], "+-"[za[k]&1], zd[k]);
    }
    fprintf(stderr, "\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %rax
movl %ecx, 0xc(%rsp)
movq %rdx, %r11
movq %rsi, %r15
movq 0x78(%rsp), %rdx
movq 0x70(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movq 0x68(%rsp), %rcx
movq %rcx, 0x18(%rsp)
movl 0x14(%rdi), %r9d
movzbl 0x28(%rdi), %ecx
shrl $0x6, %ecx
andl $0x1, %ecx
movq (%rax), %rsi
movq %r9, %r10
subq %rsi, %r10
movq %r11, 0x20(%rsp)
movq %r8, %r11
jae 0xb853
imulq $0x28, %r9, %r13
addq 0x10(%rax), %r13
pushq $0x1
popq %r8
xorl %esi, %esi
jmp 0xb864
movq 0x60(%rsp), %rax
imulq $0x28, %r10, %r13
addq 0x10(%rax), %r13
pushq $0x2
popq %r8
movq 0x27e775(%rip), %r12    # 0x289fe0
movq (%r12), %rax
subq %rsi, %r9
incq %r9
movl (%r13), %esi
shrl $0x1f, %esi
leaq 0x21cda8(%rip), %r10    # 0x22862b
movsbl (%rsi,%r10), %r13d
leaq 0x21a934(%rip), %rsi    # 0x2261c3
movsbl (%rcx,%rsi), %r14d
movl 0xc(%rdi), %r10d
movl 0x10(%rdi), %ebx
movl (%r11), %ebp
subq $0x8, %rsp
leaq 0x21ffdd(%rip), %rsi    # 0x22b886
leaq 0x220025(%rip), %rcx    # 0x22b8d5
movq %rax, %rdi
xorl %eax, %eax
pushq %rbp
pushq 0x20(%rsp)
pushq 0x30(%rsp)
pushq %rbx
movq %r11, %rbx
pushq %r10
pushq %r14
pushq %r13
callq 0x22b0
addq $0x40, %rsp
movl 0xc(%rsp), %eax
testl %eax, %eax
movq 0x20(%rsp), %r14
je 0xb952
movl %eax, %ebp
xorl %r13d, %r13d
movq (%r12), %rdi
movl (%r15,%r13,4), %ecx
movl %ecx, %edx
shrl %edx
andl $0x1, %ecx
leaq 0x21ffec(%rip), %rsi    # 0x22b8e5
xorl %eax, %eax
callq 0x22b0
movq (%r12), %rdi
movl (%r15,%r13,4), %eax
movl %eax, %ecx
shrl %ecx
imulq $0x28, %rcx, %rsi
movl %ecx, %edx
incl %edx
movq 0x10(%rbx), %rcx
movl (%rcx,%rsi), %ecx
shrl $0x1f, %ecx
leaq 0x21cd06(%rip), %rsi    # 0x22862b
movsbl (%rcx,%rsi), %ecx
andl $0x1, %eax
leaq 0x21a890(%rip), %rsi    # 0x2261c3
movsbl (%rax,%rsi), %r8d
movl (%r14,%r13,4), %r9d
leaq 0x21ffaa(%rip), %rsi    # 0x22b8ed
xorl %eax, %eax
callq 0x22b0
incq %r13
cmpq %r13, %rbp
jne 0xb8e3
movq (%r12), %rsi
pushq $0xa
popq %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: prt_gen_scaf_path_lst(unsigned long*, unsigned long, unsigned long, ma_ug_t*, ma_ug_t*)
uint64_t prt_gen_scaf_path_lst(uint64_t *a, uint64_t n, uint64_t is_circle, ma_ug_t *hu1, ma_ug_t *hu2)
{
    uint64_t k, nl, el, tl, id, rev, ui, uid; ma_utg_t *u;
    for (k = nl = el = tl = 0; k < n; k++) {
        nl += (a[k]>>32); id = ((uint32_t)a[k])>>1;
        u = ((id<hu1->u.n)?&(hu1->u.a[id]):&(hu2->u.a[id-hu1->u.n]));
        el += u->len;
    }
    tl = el + nl;
    fprintf(stderr, "[M::%s]tot::%lu\tel::%lu\tnl::%lu\tis_c::%lu\t#::%lu\t%s\n", __func__, tl, el, nl, is_circle, n, ((n>1)?"scf":"ctg"));
    for (k = 0; k < n; k++) {
        id = ((uint32_t)a[k])>>1; rev = ((uint32_t)a[k])&1;
        u = ((id<hu1->u.n)?&(hu1->u.a[id]):&(hu2->u.a[id-hu1->u.n]));
        ui = ((id<hu1->u.n)?1:2); nl = (a[k]>>32);
        uid = ((id<hu1->u.n)?(id):(id-hu1->u.n));
        fprintf(stderr, "[M::%s] h%lutg%.6lu%c(%c)\tlen::%u\tNs::%lu\n", __func__,
        ui, uid+1, "lc"[u->circ], "+-"[rev], u->len, nl);
    }
    return tl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r10
movq %rsi, %r15
movq %rdi, %r12
testq %rsi, %rsi
jne 0xb993
xorl %r8d, %r8d
xorl %r9d, %r9d
jmp 0xb9da
movq (%r14), %rax
xorl %ecx, %ecx
xorl %r9d, %r9d
xorl %r8d, %r8d
movq (%r12,%rcx,8), %rdx
movl %edx, %esi
shrl %esi
movq %rsi, %rdi
subq %rax, %rdi
jae 0xb9b8
imulq $0x28, %rsi, %rsi
addq 0x10(%r14), %rsi
jmp 0xb9c0
imulq $0x28, %rdi, %rsi
addq 0x10(%rbx), %rsi
shrq $0x20, %rdx
addq %rdx, %r9
movl (%rsi), %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
addq %rdx, %r8
incq %rcx
cmpq %rcx, %r15
jne 0xb99e
leaq (%r9,%r8), %rcx
movq 0x27e5fb(%rip), %rax    # 0x289fe0
movq (%rax), %rdi
cmpq $0x2, %r15
leaq 0x21e986(%rip), %rax    # 0x22a379
leaq 0x21e983(%rip), %r11    # 0x22a37d
cmovaeq %rax, %r11
subq $0x8, %rsp
leaq 0x21fefa(%rip), %rsi    # 0x22b903
leaq 0x21ff28(%rip), %rdx    # 0x22b938
movq %rcx, 0x8(%rsp)
xorl %eax, %eax
pushq %r11
pushq %r15
pushq %r10
callq 0x22b0
addq $0x20, %rsp
testq %r15, %r15
je 0xbad0
xorl %ebp, %ebp
movq (%r12,%rbp,8), %r10
movl %r10d, %r8d
shrl %r8d
movq (%r14), %rdx
movq %r8, %rax
subq %rdx, %rax
jae 0xba54
imulq $0x28, %r8, %rax
addq 0x10(%r14), %rax
xorl %edx, %edx
pushq $0x1
jmp 0xba5e
imulq $0x28, %rax, %rax
addq 0x10(%rbx), %rax
pushq $0x2
popq %rcx
movl %r10d, %esi
andl $0x1, %esi
shrq $0x20, %r10
movq 0x27e570(%rip), %rdi    # 0x289fe0
movq (%rdi), %rdi
subq %rdx, %r8
incq %r8
movl (%rax), %r11d
movl %r11d, %eax
shrl $0x1f, %eax
leaq 0x21cba2(%rip), %rdx    # 0x22862b
movsbl (%rax,%rdx), %r9d
leaq 0x21a72e(%rip), %rax    # 0x2261c3
movsbl (%rsi,%rax), %r13d
andl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
subq $0x8, %rsp
leaq 0x21fea2(%rip), %rsi    # 0x22b94e
leaq 0x21fe85(%rip), %rdx    # 0x22b938
xorl %eax, %eax
pushq %r10
pushq %r11
pushq %r13
callq 0x22b0
addq $0x20, %rsp
incq %rbp
cmpq %rbp, %r15
jne 0xba31
movq (%rsp), %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/Overlaps.cpp
// Function: output_read_graph(asg_t*, ma_sub_t*, char*, long long)
void output_read_graph(asg_t *sg, ma_sub_t* coverage_cut, char* output_file_name, long long n_read)
{
    fprintf(stderr, "Writing read GFA to disk... \n");
    char* gfa_name = (char*)malloc(strlen(output_file_name)+25);
    sprintf(gfa_name, "%s.read.gfa", output_file_name);
    FILE* output_file = fopen(gfa_name, "w");
    ma_sg_print(sg, &R_INF, coverage_cut, output_file);
    free(gfa_name);
    fclose(output_file);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x27e4e5(%rip), %rax    # 0x289fe0
movq (%rax), %rcx
leaq 0x22002a(%rip), %rdi    # 0x22bb2f
pushq $0x1d
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
movq %r15, %rdi
callq 0x2090
leaq 0x19(%rax), %rdi
callq 0x2280
movq %rax, %r12
leaq 0x220022(%rip), %rsi    # 0x22bb4d
movq %rax, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x2308bf(%rip), %rsi    # 0x23c3fe
movq %r12, %rdi
callq 0x2210
movq %rax, %r15
leaq 0x27f6df(%rip), %rsi    # 0x28b230
movq %r14, %rdi
movq %rbx, %rdx
movq %rax, %rcx
callq 0xb7d09
movq %r12, %rdi
callq 0x2220
movq %r15, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2190
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: write_ma_hit_ts(ma_hit_t_alloc*, long long, char*)
void write_ma_hit_ts(ma_hit_t_alloc* x, long long n_read, char* read_file_name)
{
    fprintf(stderr, "Writing ma_hit_ts to disk... \n");
    char* index_name = (char*)malloc(strlen(read_file_name)+15);
    sprintf(index_name, "%s.bin", read_file_name);
    FILE* fp = fopen(index_name, "w");
    long long i, k;
    fwrite(&n_read, sizeof(n_read), 1, fp);


    for (i = 0; i < n_read; i++)
    {
        fwrite(&(x[i].is_fully_corrected), sizeof(x[i].is_fully_corrected), 1, fp);
        fwrite(&(x[i].is_abnormal), sizeof(x[i].is_abnormal), 1, fp);
        fwrite(&(x[i].length), sizeof(x[i].length), 1, fp);
        for (k = 0; k < x[i].length; k++)
        {
            write_ma(x[i].buffer + k, fp);
        }  
        // fwrite(x[i].buffer, sizeof((*(x[i].buffer))), x[i].length, fp);
    }


    free(index_name);
    fflush(fp);    
    fclose(fp);
    fprintf(stderr, "ma_hit_ts has been written.\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x10(%rsp), %r12
movq %rsi, (%r12)
movq 0x27e104(%rip), %rax    # 0x289fe0
movq (%rax), %rcx
leaq 0x21fcae(%rip), %rdi    # 0x22bb94
pushq $0x1e
popq %rsi
pushq $0x1
popq %r13
movq %r13, %rdx
callq 0x2410
movq %r15, %rdi
callq 0x2090
leaq 0xf(%rax), %rdi
callq 0x2280
movq %rax, %r14
leaq 0x21872b(%rip), %rsi    # 0x22463b
movq %rax, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x2304da(%rip), %rsi    # 0x23c3fe
movq %r14, (%rsp)
movq %r14, %rdi
callq 0x2210
movq %rax, %r15
pushq $0x8
popq %rsi
movq %r12, %rdi
movq %r13, %rdx
movq %rax, %rcx
callq 0x2410
movq (%r12), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jle 0xbfc1
xorl %r12d, %r12d
imulq $0x18, %r12, %r13
leaq (%rbx,%r13), %rbp
addq $0xc, %rbp
movsbl 0x4(%rbp), %edi
movq %r15, %rsi
callq 0x2270
movsbl 0x5(%rbp), %edi
movq %r15, %rsi
callq 0x2270
movq %rbp, %rdi
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rcx
callq 0x2410
cmpl $0x0, (%rbp)
je 0xbfb7
addq %rbx, %r13
xorl %ebp, %ebp
xorl %r14d, %r14d
movq (%r13), %rdi
addq %rbp, %rdi
movq %r15, %rsi
callq 0xdff5b
incq %r14
movl 0xc(%r13), %eax
addq $0x28, %rbp
cmpq %rax, %r14
jb 0xbf98
incq %r12
cmpq 0x8(%rsp), %r12
jne 0xbf55
movq (%rsp), %rdi
callq 0x2220
movq %r15, %rdi
callq 0x2200
movq %r15, %rdi
callq 0x2190
movq 0x27dfff(%rip), %rax    # 0x289fe0
movq (%rax), %rcx
leaq 0x21fbc8(%rip), %rdi    # 0x22bbb3
pushq $0x1c
popq %rsi
pushq $0x1
popq %rdx
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2410
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: write_all_data_to_disk(ma_hit_t_alloc*, ma_hit_t_alloc*, All_reads*, char*)
void write_all_data_to_disk(ma_hit_t_alloc* sources, ma_hit_t_alloc* reverse_sources, All_reads *RNF, char* output_file_name)
{   
	char* gfa_name = (char*)malloc(strlen(output_file_name)+25);
	sprintf(gfa_name, "%s.ec", output_file_name);
	write_All_reads(RNF, gfa_name);

    if((ha_opt_triobin(&asm_opt)) && (asm_opt.fn_bin_yak[0] && asm_opt.fn_bin_yak[1])) {
        write_yak_binning(asm_opt.output_file_name, asm_opt.fn_bin_yak[0], asm_opt.fn_bin_yak[1]);
    }

	sprintf(gfa_name, "%s.ovlp.source", output_file_name);
	write_ma_hit_ts(sources, RNF->total_reads, gfa_name);

	sprintf(gfa_name, "%s.ovlp.reverse", output_file_name);
	write_ma_hit_ts(reverse_sources, RNF->total_reads, gfa_name);

	free(gfa_name);
    fprintf(stderr, "bin files have been written.\n");
    if(asm_opt.bin_only) exit(0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r13
movq %rcx, %rdi
callq 0x2090
leaq 0x19(%rax), %rdi
callq 0x2280
movq %rax, %r12
leaq 0x218b89(%rip), %rsi    # 0x224e88
movq %rax, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
movq %r14, %rdi
movq %r12, %rsi
callq 0x354d
leaq 0x27e43a(%rip), %rbp    # 0x28a758
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
testq %rsi, %rsi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
movb $0x1, %al
cmpb $0x1, %cl
jne 0xc34e
cmpq $0x0, 0x30(%rbp)
jne 0xc346
xorl %eax, %eax
jmp 0xc34e
cmpq $0x0, 0x38(%rbp)
setne %al
testq %rsi, %rsi
setne %cl
andb %al, %cl
testq %rdx, %rdx
setne %al
andb %cl, %al
cmpb $0x1, %al
jne 0xc36b
movq 0x10(%rbp), %rdi
callq 0xc130
leaq 0x21f8c7(%rip), %rsi    # 0x22bc39
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x50(%r14), %rsi
movq %r13, %rdi
movq %r12, %rdx
callq 0xbeb8
leaq 0x21f8b3(%rip), %rsi    # 0x22bc48
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x50(%r14), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0xbeb8
movq %r12, %rdi
callq 0x2220
movq 0x27dc20(%rip), %rax    # 0x289fe0
movq (%rax), %rcx
leaq 0x21f88e(%rip), %rdi    # 0x22bc58
pushq $0x1d
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
cmpb $0x0, 0x24e(%rbp)
jne 0xc3ed
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/Overlaps.cpp
// Function: output_tangles(unsigned int, unsigned int, unsigned int*, unsigned int, char const*)
void output_tangles(uint32_t startID, uint32_t endId, uint32_t* a, uint32_t n, const char* lable)
{
    kvec_t(uint32_t) u_vecs;
    u_vecs.a = a, u_vecs.n = n;

    fprintf(stderr, "\n%sstartID: %u, dir: %u\n", lable, startID>>1, startID&1);
    fprintf(stderr, "%sendID: %u, dir: %u\n", lable, endId>>1, endId&1);
    uint32_t ijk;
    for (ijk = 0; ijk < u_vecs.n; ijk++)
    {
        fprintf(stderr, "%stangleID: %u, dir: %u\n", lable, u_vecs.a[ijk]>>1, u_vecs.a[ijk]&1);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
movl %edi, %r8d
movq 0x27d463(%rip), %r12    # 0x289fe0
movq (%r12), %rdi
movl %r8d, %ecx
shrl %ecx
andl $0x1, %r8d
leaq 0x21f5f3(%rip), %rsi    # 0x22c184
movq %rbx, %rdx
xorl %eax, %eax
callq 0x22b0
movq (%r12), %rdi
movl %r15d, %ecx
shrl %ecx
andl $0x1, %r15d
leaq 0x21f5ee(%rip), %rsi    # 0x22c19d
movq %rbx, %rdx
movl %r15d, %r8d
xorl %eax, %eax
callq 0x22b0
testl %ebp, %ebp
je 0xcbf2
movl %ebp, %r13d
leaq 0x21f5e9(%rip), %r15    # 0x22c1b3
xorl %ebp, %ebp
movq (%r12), %rdi
movl (%r14,%rbp,4), %r8d
movl %r8d, %ecx
shrl %ecx
andl $0x1, %r8d
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x22b0
incq %rbp
cmpq %rbp, %r13
jne 0xcbcc
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/Overlaps.cpp
// Function: write_debug_graph(asg_t*, ma_hit_t_alloc*, ma_sub_t*, char*, ma_hit_t_alloc*, R_to_U*, all_ul_t*)
int write_debug_graph(asg_t *sg, ma_hit_t_alloc* sources, ma_sub_t* coverage_cut, 
char* output_file_name, ma_hit_t_alloc* reverse_sources, R_to_U* ruIndex, all_ul_t *ul_r_inf)
{

    char* gfa_name = (char*)malloc(strlen(output_file_name)+55);

    ////write_All_reads(&R_INF, gfa_name);
    sprintf(gfa_name, "%s.all.debug.source", output_file_name);
    write_debug_ma_hit_ts(sources, R_INF.total_reads, gfa_name);
    sprintf(gfa_name, "%s.all.debug.reverse", output_file_name);
    write_debug_ma_hit_ts(reverse_sources, R_INF.total_reads, gfa_name);
    if(coverage_cut) {
        sprintf(gfa_name, "%s.all.debug.coverage_cut", output_file_name);
        write_coverage_cut(coverage_cut, gfa_name, R_INF.total_reads);
    }
    sprintf(gfa_name, "%s.all.debug.ruIndex", output_file_name);
    write_ruIndex(ruIndex, gfa_name);
    if(sg) {
        sprintf(gfa_name, "%s.all.debug.asg_t", output_file_name);
        write_asg_t(sg, gfa_name);
    }
    if(ul_r_inf) {
        sprintf(gfa_name, "%s.all.debug.ul.rinfor", output_file_name);
        write_all_ul_t(ul_r_inf, gfa_name, NULL);
    }
    free(gfa_name);
    fprintf(stderr, "debug_graph has been written.\n");
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x8(%rsp)
movq %r8, %rbp
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, 0x10(%rsp)
movq %rcx, %rdi
callq 0x2090
leaq 0x37(%rax), %rdi
callq 0x2280
movq %rax, %r14
leaq 0x21effb(%rip), %rsi    # 0x22c73a
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x27dadd(%rip), %r15    # 0x28b230
movq 0x50(%r15), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0xc004
leaq 0x21efe5(%rip), %rsi    # 0x22c74e
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x50(%r15), %rsi
movq %rbp, %rdi
movq %r14, %rdx
callq 0xc004
testq %r13, %r13
je 0xd7ad
leaq 0x21efd2(%rip), %rsi    # 0x22c763
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x50(%r15), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0xf069b
movq 0x50(%rsp), %r13
leaq 0x21efc4(%rip), %rsi    # 0x22c77d
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xf073a
movq 0x10(%rsp), %r15
testq %r15, %r15
je 0xd7fc
leaq 0x21efae(%rip), %rsi    # 0x22c792
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq %r15, %rdi
movq %r14, %rsi
callq 0xf0959
testq %r13, %r13
je 0xd822
leaq 0x21ef9d(%rip), %rsi    # 0x22c7a5
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1dc067
movq %r14, %rdi
callq 0x2220
movq 0x27c7af(%rip), %rax    # 0x289fe0
movq (%rax), %rcx
leaq 0x21ef81(%rip), %rdi    # 0x22c7bc
pushq $0x1e
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
pushq $0x1
popq %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq