LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: print_debug_gchain(ul_idx_t const*, mg_lchain_t*, long, ul_vec_t*)
void print_debug_gchain(const ul_idx_t *uref, mg_lchain_t *a, int64_t a_n, ul_vec_t *rch)
{
	int64_t k;
	fprintf(stderr, "\n[M::%s] a_n->%ld\n", __func__, a_n);
	for (k = 0; k < a_n; k++) {
		fprintf(stderr, "[M::%s::k->%ld] utg%.6d%c(%c), qs->%d, qe->%d, rs->%u, re->%u, qlen->%u\n", __func__, k, 
		(int32_t)(a[k].v>>1)+1, "lc"[uref->ug->u.a[(a[k].v>>1)].circ], "+-"[(a[k].v&1)],
		a[k].off<0?-1:a[k].qs, a[k].off<0?-1:a[k].qe, a[k].rs, a[k].re, rch->rlen);
	}
	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x10(%rsp)
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, (%rsp)
movq 0x270b12(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21ec65(%rip), %rsi    # 0x24313d
leaq 0x21ec71(%rip), %rdx    # 0x243150
movq %rbx, %rcx
xorl %eax, %eax
callq 0x22b0
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
jle 0x245a5
addq $0x18, %r15
xorl %r13d, %r13d
cmpl $0x0, -0x18(%r15)
pushq $-0x1
popq %rax
movl %eax, %r10d
movl %eax, %r11d
js 0x24515
movl -0x4(%r15), %r10d
movl (%r15), %r11d
movq 0x270ac4(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
movl -0x10(%r15), %eax
movl %eax, %ecx
shrl %ecx
imulq $0x28, %rcx, %rdx
movl %ecx, %r8d
incl %r8d
movq (%rsp), %rcx
movq (%rcx), %rcx
movq 0x10(%rcx), %rcx
movl (%rcx,%rdx), %ecx
shrl $0x1f, %ecx
leaq 0x2101f2(%rip), %rdx    # 0x23473b
movsbl (%rcx,%rdx), %r9d
andl $0x1, %eax
leaq 0x20dd7b(%rip), %rcx    # 0x2322d3
movsbl (%rax,%rcx), %ebp
movl -0xc(%r15), %ebx
movl -0x8(%r15), %r12d
movq 0x10(%rsp), %rax
movl 0x18(%rax), %r14d
leaq 0x21ebef(%rip), %rsi    # 0x243163
leaq 0x21ebd5(%rip), %rdx    # 0x243150
movq %r13, %rcx
xorl %eax, %eax
pushq %r14
pushq %r12
pushq %rbx
pushq %r11
pushq %r10
pushq %rbp
callq 0x22b0
addq $0x30, %rsp
incq %r13
addq $0x28, %r15
cmpq %r13, 0x8(%rsp)
jne 0x244fe
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: work_ul_gchains_consensus(uldat_t*)
uint64_t work_ul_gchains_consensus(uldat_t *sl)
{
	utepdat_t s; uint64_t i; memset(&s, 0, sizeof(s));
	s.id = 0; s.uopt = sl->uopt; s.rg = sl->rg; s.opt = sl->opt; ///s.ug = sl->ug; s.uu = sl->uu; 
	//  CALLOC(s.buf, sl->n_thread); CALLOC(s.gdp, sl->n_thread); CALLOC(s.mzs, sl->n_thread); 
	CALLOC(s.hab, sl->n_thread); CALLOC(s.ll, sl->n_thread); ///CALLOC(s.sps, sl->n_thread); 

	for (i = 0; i < sl->n_thread; ++i) {
		s.hab[i] = ha_ovec_init(0, 0, 1); ///s.buf[i] = mg_tbuf_init();
	}

	// detect_outlier_len("+++work_ul_gchains");

	//debug
    // overall_zdbg = init_mul_debug_prt_t(UL_INF.n);

	kt_for(sl->n_thread, worker_for_contain_consensus, &s, UL_INF.n);

	// detect_outlier_len("---work_ul_gchains");

	for (i = 0; i < sl->n_thread; ++i) {
		s.sum_len += s.hab[i]->num_read_base; s.n += s.hab[i]->num_correct_base;
		// hc_gdpchain_destroy(&(s.gdp[i])); kv_destroy(s.mzs[i]); mg_tbuf_destroy(s.buf[i]); 
		ha_ovec_destroy(s.hab[i]); hc_glchain_destroy(&(s.ll[i])); ///kv_destroy(s.sps[i]);
	}

	// free(s.buf); free(s.gdp); free(s.mzs); 
	free(s.hab); free(s.ll); ///free(s.sps);
	fprintf(stderr, "[M::%s::] # try:%d, # done:%d\n", __func__, s.sum_len, s.n); 
	return s.sum_len;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r12
xorl %r14d, %r14d
movl $0xc8, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x20e0
movups 0x20(%rbx), %xmm0
movups %xmm0, 0x18(%r12)
movq 0x10(%rbx), %rax
movq %rax, -0x8(%r12)
movq 0x58(%rbx), %r13
pushq $0x8
popq %rsi
movq %r13, %rdi
callq 0x2120
movq %rax, %r15
movq %rax, 0x78(%r12)
pushq $0x68
popq %rsi
movq %r13, %rdi
callq 0x2120
movq %rax, 0x80(%r12)
testq %r13, %r13
je 0x25101
xorl %r12d, %r12d
pushq $0x1
popq %rbp
xorl %edi, %edi
xorl %esi, %esi
movl %ebp, %edx
callq 0x387f4
movq %rax, (%r15,%r12,8)
incq %r12
movq 0x58(%rbx), %r14
cmpq %r14, %r12
jb 0x250e6
leaq 0x271210(%rip), %rax    # 0x296318
movq 0x50(%rax), %rcx
leaq 0x1ba260(%rip), %rsi    # 0x1df373
leaq 0x8(%rsp), %rdx
movl %r14d, %edi
callq 0x108f2c
cmpq $0x0, 0x58(%rbx)
je 0x2516f
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x88(%rsp), %rax
movq (%rax,%r15,8), %rdi
movl 0xf0(%rdi), %eax
addl %eax, 0x48(%rsp)
movl 0xf8(%rdi), %eax
addl %eax, 0x40(%rsp)
callq 0x38b4b
movq 0x90(%rsp), %rdi
addq %r14, %rdi
callq 0x1a1e15
incq %r15
addq $0x68, %r14
cmpq 0x58(%rbx), %r15
jb 0x2512d
movq 0x88(%rsp), %rdi
callq 0x2220
movq 0x90(%rsp), %rdi
callq 0x2220
movq 0x26fe50(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
movl 0x40(%rsp), %r8d
movl 0x48(%rsp), %ecx
leaq 0x21e9bd(%rip), %rsi    # 0x243b60
leaq 0x21eab0(%rip), %rdx    # 0x243c5a
xorl %eax, %eax
callq 0x22b0
movslq 0x48(%rsp), %rax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: print_all_ul_t_stat(all_ul_t*)
void print_all_ul_t_stat(all_ul_t *x)
{
	uint64_t k, i, ucov_occ = 0, cov_occ = 0, ucov_len = 0, cov_len = 0;
	ul_vec_t *p = NULL;
	for (k = 0; k < x->n; k++) {
		p = &(x->a[k]);
		for (i = 0; i < p->bb.n; i++) {
			if(p->bb.a[i].base/**.hid&x->mm**/) {
				ucov_occ++;
				ucov_len += (p->bb.a[i].qe-(p->bb.a[i].hid&FLANK_M)) - 
					(p->bb.a[i].qs+((p->bb.a[i].hid>>15)&FLANK_M));
			} else {
				cov_occ++;
			}
		}
		cov_len += p->rlen;
	}
	cov_len -= ucov_len;
	fprintf(stderr, "[M::%s::] ==>cov_occ:%lu, ucov_occ:%lu\n", __func__, cov_occ, ucov_occ);
	fprintf(stderr, "[M::%s::] ==>cov_len:%lu, ucov_len:%lu\n", __func__, cov_len, ucov_len);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x50(%rdi), %rax
testq %rax, %rax
jne 0x2551b
xorl %r8d, %r8d
xorl %ecx, %ecx
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp 0x2558c
movq 0x48(%rdi), %rdx
xorl %ebx, %ebx
movl $0x7fff, %esi           # imm = 0x7FFF
xorl %r14d, %r14d
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %edi, %edi
imulq $0x58, %rdi, %r10
leaq (%rdx,%r10), %r9
movq 0x20(%rdx,%r10), %r10
testq %r10, %r10
je 0x2557d
movq 0x30(%r9), %r11
testb $0x40, 0x20(%r11)
jne 0x25552
incq %rcx
jmp 0x25574
incq %r8
movl (%r11), %ebp
movl 0x8(%r11), %r15d
movl %ebp, %r12d
andl %esi, %r12d
shrl $0xf, %ebp
addl 0x4(%r11), %r12d
andl %esi, %ebp
addl %ebp, %r12d
subl %r12d, %r15d
addq %r15, %r14
addq $0x24, %r11
decq %r10
jne 0x25546
movl 0x18(%r9), %r9d
addq %r9, %rbx
incq %rdi
cmpq %rax, %rdi
jne 0x25530
subq %r14, %rbx
movq 0x26fa4a(%rip), %r12    # 0x294fe0
movq (%r12), %rdi
leaq 0x21e9ec(%rip), %rsi    # 0x243f8d
leaq 0x21ea0d(%rip), %r15    # 0x243fb5
movq %r15, %rdx
xorl %eax, %eax
callq 0x22b0
movq (%r12), %rdi
leaq 0x21ea0c(%rip), %rsi    # 0x243fc9
movq %r15, %rdx
movq %rbx, %rcx
movq %r14, %r8
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: print_ovlp_src_bl_stat(all_ul_t*, ug_opt_t const*)
void print_ovlp_src_bl_stat(all_ul_t *x, const ug_opt_t *uopt)
{
	uint64_t k, z, tc, ta;
	ma_hit_t_alloc* src = uopt->sources;
	for (k = tc = ta = 0; k < R_INF.total_reads; k++) {
		if(x->ridx.idx.a[k+1] - x->ridx.idx.a[k] == 0) continue;
		tc++;
		for (z = 0; z < src[k].length; z++) {
			if(src[k].buffer[z].bl) {
				ta++;
				break;
			}
		}
	}
	
	fprintf(stderr, "[M::%s::] ==> # HiFi reads:%lu, # covered HiFi reads:%lu, # chained HiFi reads:%lu\n", 
	__func__, R_INF.total_reads, tc, ta);

	uint64_t tt[4] = {0};
	for (k = 0; k < x->n; k++) {
		tt[x->a[k].dd]++;
		// if(x->a[k].dd == 1) {
		// 	fprintf(stderr, "(%lu) %.*s\n", k, (int32_t)x->nid.a[k].n, x->nid.a[k].a);
		// }
	}

	fprintf(stderr, "[M::%s::] ==> # passed UL reads:%lu, # fully corrected UL reads:%lu, # almost fully corrected UL reads:%lu, # UL reads have primary chains:%lu\n", 
	__func__, tt[0]+tt[1]+tt[2]+tt[3], tt[1], tt[2], tt[3]);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x270c48(%rip), %rax    # 0x296230
movq 0x50(%rax), %rcx
testq %rcx, %rcx
jne 0x255f9
xorl %r8d, %r8d
xorl %r9d, %r9d
jmp 0x25656
movq 0x8(%rsi), %rax
movq 0x28(%rbx), %rdx
movl (%rdx), %esi
xorl %edi, %edi
xorl %r9d, %r9d
xorl %r8d, %r8d
movl %esi, %r10d
movl 0x4(%rdx,%rdi,4), %esi
cmpl %r10d, %esi
je 0x2564e
incq %r8
imulq $0x18, %rdi, %r10
movl 0xc(%rax,%r10), %r11d
testq %r11, %r11
je 0x2564e
addq %rax, %r10
movq (%r10), %r10
imulq $0x28, %r11, %r11
xorl %r14d, %r14d
testl $0x7fffffff, 0x1c(%r10,%r14) # imm = 0x7FFFFFFF
jne 0x2564b
addq $0x28, %r14
cmpq %r14, %r11
jne 0x25635
jmp 0x2564e
incq %r9
incq %rdi
cmpq %rcx, %rdi
jne 0x2560b
movq 0x26f983(%rip), %r14    # 0x294fe0
movq (%r14), %rdi
leaq 0x21e98a(%rip), %rsi    # 0x243ff1
leaq 0x21e9d7(%rip), %rdx    # 0x244045
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x22b0
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq 0x50(%rbx), %rax
testq %rax, %rax
jne 0x25698
xorl %r9d, %r9d
xorl %r8d, %r8d
xorl %ecx, %ecx
jmp 0x256c5
movq 0x48(%rbx), %rcx
addq $0x50, %rcx
movzbl (%rcx), %edx
incq 0x10(%rsp,%rdx,8)
addq $0x58, %rcx
decq %rax
jne 0x256a0
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x20(%rsp), %r9
movq 0x28(%rsp), %r15
movq (%r14), %rdi
addq %r8, %rcx
addq %r9, %rcx
addq %r15, %rcx
movq %r15, (%rsp)
leaq 0x21e980(%rip), %rsi    # 0x24405c
leaq 0x21e962(%rip), %rdx    # 0x244045
xorl %eax, %eax
callq 0x22b0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: print_ul_alignment(ma_ug_t*, all_ul_t*, unsigned int, char const*)
void print_ul_alignment(ma_ug_t *ug, all_ul_t *aln, uint32_t id, const char* cmd)
{
	uc_block_t *a = NULL; int64_t k, a_n;
	a = aln->a[id].bb.a; a_n = aln->a[id].bb.n;
	fprintf(stderr, "\n%s::[M::%s::ul_id->%u::a_n->%ld]\n", cmd, __func__, id, a_n);
	for (k = 0; k < a_n; k++) {
		fprintf(stderr, "[k->%ld::utg%.6d%c(len->%u)]\tts::%u\tte::%u\t%c\tqs::%u\tqe::%u\tpchain::%u\tpidx::%u\taidx::%u\tpdis::%u\n", 
			k, a[k].hid + 1, "lc"[ug->u.a[a[k].hid].circ], ug->u.a[a[k].hid].len, 
			a[k].ts, a[k].te, "+-"[a[k].rev], a[k].qs, a[k].qe, a[k].pchain, a[k].pidx, a[k].aidx, a[k].pdis);
		
	}
	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, %r8d
movq %rdi, %rbx
movq 0x48(%rsi), %rax
movl %edx, %edx
imulq $0x58, %rdx, %rdx
movq 0x20(%rax,%rdx), %r14
movq 0x30(%rax,%rdx), %r13
movq 0x26f8bd(%rip), %rbp    # 0x294fe0
movq (%rbp), %rdi
leaq 0x21e9be(%rip), %rsi    # 0x2440ec
leaq 0x21e9da(%rip), %rax    # 0x24410f
movq %rcx, %rdx
movq %rax, %rcx
movq %r14, %r9
xorl %eax, %eax
callq 0x22b0
testq %r14, %r14
jle 0x25825
addq $0x20, %r13
xorl %r12d, %r12d
movq %rbx, 0x10(%rsp)
movq %r14, 0x8(%rsp)
movq (%rbp), %rdi
movl -0x20(%r13), %eax
movl -0x1c(%r13), %ecx
movq %rcx, 0x30(%rsp)
leal 0x1(%rax), %ecx
movq 0x10(%rbx), %rdx
imulq $0x28, %rax, %rax
movl (%rdx,%rax), %r9d
movl %r9d, %eax
shrl $0x1f, %eax
leaq 0x20efaf(%rip), %rdx    # 0x23473b
movsbl (%rax,%rdx), %r8d
andl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
movl -0x14(%r13), %eax
movq %rax, 0x28(%rsp)
movl -0x10(%r13), %eax
movq %rax, 0x20(%rsp)
movzbl (%r13), %ebx
btl $0x5, %ebx
leaq 0x20cb19(%rip), %rax    # 0x2322d3
adcq $0x0, %rax
movsbl (%rax), %eax
movq %rax, 0x18(%rsp)
movl -0x18(%r13), %r14d
andl $0x1f, %ebx
movl -0xc(%r13), %r10d
movl -0x4(%r13), %r11d
movl -0x8(%r13), %r15d
subq $0x8, %rsp
leaq 0x21e93e(%rip), %rsi    # 0x244122
movq %r12, %rdx
xorl %eax, %eax
pushq %r15
pushq %r11
pushq %r10
pushq %rbx
movq 0x38(%rsp), %rbx
pushq %r14
movq 0x38(%rsp), %r14
pushq 0x60(%rsp)
pushq 0x50(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0x22b0
addq $0x50, %rsp
incq %r12
addq $0x24, %r13
cmpq %r12, %r14
jne 0x2575f
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: get_asm_cov(ma_ug_t*, unsigned long, mul_ov_t*)
void get_asm_cov(ma_ug_t *ug, uint64_t ul_base, mul_ov_t *aov)
{
	int64_t ss = asm_opt.hg_size;
	if(ss < 0) {
		uint64_t i, k, an;
		int64_t sp;
		asg_t *g = ug->g;
		asg_arc_t *av = NULL;
		for (i = 0, ss = 0; i < g->n_seq; i++) {
			sp = g->seq[i].len; av = asg_arc_a(g, i); an = asg_arc_n(g, i);
			for (k = 0; k < an; k++) {
				if(av[k].del) continue;
				if((av[k].v) < i) {
					sp -= ((int64_t)av[k].ol);
				}
			}
			if(sp > 0) ss += sp;
		}		
	} else {
		ss *= asm_opt.polyploidy;
	}

	if(ss <= 0) ss = 1;
	
	aov->asm_cov = ul_base/ss; aov->asm_size = ss;
	fprintf(stderr, "[M::%s::] ==> asm_cov: %lu, asm_size: %lu\n", __func__, aov->asm_cov, aov->asm_size);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, -0x8(%rsp)
movq %rsi, %rax
leaq 0x26fd00(%rip), %rsi    # 0x295758
movq 0x200(%rsi), %rdx
testq %rdx, %rdx
jns 0x25a7b
movq 0x18(%rdi), %rdx
movl 0x14(%rdx), %esi
andq $0x7fffffff, %rsi       # imm = 0x7FFFFFFF
jne 0x25a88
xorl %edx, %edx
jmp 0x25aff
movslq 0x1bc(%rsi), %rcx
imulq %rcx, %rdx
jmp 0x25aff
movq 0x8(%rdx), %rdi
movq 0x20(%rdx), %r8
movq 0x28(%rdx), %r9
addq $0xc, %rdi
xorl %r10d, %r10d
movl $0xffffffff, %r11d      # imm = 0xFFFFFFFF
xorl %edx, %edx
xorl %ebx, %ebx
movl (%r8,%rbx,8), %r14d
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movq (%r9,%rbx,8), %r12
movq %r12, %r15
andq %r11, %r15
je 0x25aed
shrq $0x20, %r12
imulq $0x18, %r15, %r15
imulq $0x18, %r12, %r12
addq %rdi, %r12
xorl %r13d, %r13d
movslq (%r12,%r13), %rbp
testq %rbp, %rbp
js 0x25ae4
movl -0x4(%r12,%r13), %ecx
cmpq %rcx, %rbx
jbe 0x25ae4
subq %rbp, %r14
addq $0x18, %r13
cmpq %r13, %r15
jne 0x25ace
testq %r14, %r14
cmovleq %r10, %r14
addq %r14, %rdx
incq %rbx
cmpq %rsi, %rbx
jne 0x25aa5
cmpq $0x2, %rdx
movabsq $0x1, %r8
cmovgeq %rdx, %r8
xorl %edx, %edx
divq %r8
movq -0x8(%rsp), %rcx
movq %rax, 0x8(%rcx)
movq %r8, (%rcx)
movq 0x26f4b7(%rip), %rcx    # 0x294fe0
movq (%rcx), %rdi
leaq 0x21ea3c(%rip), %rsi    # 0x24456f
leaq 0x21ea60(%rip), %rdx    # 0x24459a
movq %rax, %rcx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: ul_align(mg_idxopt_t*, ug_opt_t const*, asg_t const*, enzyme const*, void*, ha_pt_s*, ma_ug_t*)
int ul_align(mg_idxopt_t *opt, const ug_opt_t *uopt, const asg_t *rg, const enzyme *fn, void *ha_flt_tab, ha_pt_t *ha_idx, ma_ug_t *ug)
{
    uldat_t sl; memset(&sl, 0, sizeof(sl));
    sl.ha_flt_tab = ha_flt_tab;
    sl.ha_idx = ha_idx;
    sl.opt = opt;   
    sl.chunk_size = 200000000;
    sl.n_thread = asm_opt.thread_num;
    sl.ug = ug;
	sl.rg = rg;
	sl.uopt = uopt;
	if(!load_ul_hits(&sl.hits, &sl.nn, asm_opt.output_file_name)) {
    	alignment_ul_pipeline(&sl, fn);
		write_ul_hits(&sl.hits, &sl.nn, asm_opt.output_file_name);
	}

	mul_ov_t aov; memset(&aov, 0, sizeof(aov));
	get_asm_cov(ug, sl.hits.total_base, &aov);
	fprintf(stderr, "[M::%s::] ==> total_pair: %lu, total_base: %lu, n: %d\n", 
										__func__, sl.hits.total_pair, sl.hits.total_base, (int32_t)sl.hits.n);



	get_ul_g(&aov, &sl.hits, ug, rg, 0.51, 0.1, 500, 1000);

	

	// print_gaf(ug, &(sl.hits), &(sl.nn));
	mg_gres_a_des(&(sl.hits)); free(sl.nn.a); free(sl.nn.cc.a);
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r9, %r15
movq %r8, %r13
movq %rcx, 0x8(%rsp)
movq %rdx, %rbx
movq %rsi, %rbp
movq %rdi, %r14
leaq 0x50(%rsp), %r12
movl $0xb8, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x20e0
movq %r13, -0x30(%r12)
movq %r15, -0x28(%r12)
movq %r14, -0x20(%r12)
movq $0xbebc200, 0x20(%r12)  # imm = 0xBEBC200
leaq 0x26f8c7(%rip), %r14    # 0x295758
movslq 0x7c(%r14), %rax
movq %rax, 0x28(%r12)
movq 0x140(%rsp), %rax
movq %rax, -0x18(%r12)
movq %rbx, -0x10(%r12)
movq %rbp, -0x8(%r12)
leaq 0x90(%rsp), %r15
leaq 0xb8(%rsp), %r13
movq 0x10(%r14), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x1e292b
testl %eax, %eax
jne 0x25ef2
leaq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x1cd604
movq 0x10(%r14), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x25834
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r12
movaps %xmm0, (%r12)
movq 0xa8(%rsp), %rsi
movq 0x140(%rsp), %r14
movq %r14, %rdi
movq %r12, %rdx
callq 0x25a3f
movq 0x26f0bf(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
movq 0xb0(%rsp), %rcx
movq 0xa8(%rsp), %r8
movl 0x90(%rsp), %r9d
leaq 0x21e79d(%rip), %rsi    # 0x2446e0
leaq 0x21e7cd(%rip), %rdx    # 0x244717
xorl %eax, %eax
callq 0x22b0
movsd 0x20b6ef(%rip), %xmm0   # 0x231648
movsd 0x20acaf(%rip), %xmm1   # 0x230c10
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
movl $0x1f4, %r8d            # imm = 0x1F4
movl $0x3e8, %r9d            # imm = 0x3E8
callq 0x1e2ca8
movq %r15, %rdi
callq 0x1a1f53
movq 0xc8(%rsp), %rdi
callq 0x2220
movq 0xe8(%rsp), %rdi
callq 0x2220
pushq $0x1
popq %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: ul_resolve(ma_ug_t*, asg_t const*, ug_opt_t const*, int)
void ul_resolve(ma_ug_t *ug, const asg_t *rg, const ug_opt_t *uopt, int hap_n)
{
	fprintf(stderr, "[M::%s::] ==> UL\n", __func__);
    mg_idxopt_t opt;
    init_mg_opt(&opt, 0, 19, 10, hap_n, 0, 0, 0.05, asm_opt.ul_error_rate_low, asm_opt.ul_error_rate_hpc, asm_opt.ul_ec_round);
	int exist = (asm_opt.load_index_from_disk? uidx_load(&ha_flt_tab, &ha_idx, asm_opt.output_file_name, NULL) : 0);
    if(exist == 0) uidx_build(ug, &opt);
	if(exist == 0) uidx_write(ha_flt_tab, ha_idx, asm_opt.output_file_name, NULL);
    ul_align(&opt, uopt, rg, asm_opt.ar, ha_flt_tab, ha_idx, ug);
    uidx_destory();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq 0x26f008(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21e73e(%rip), %rsi    # 0x244720
leaq 0x21e749(%rip), %rdx    # 0x244732
xorl %eax, %eax
callq 0x22b0
leaq 0x26f761(%rip), %r12    # 0x295758
movl 0x240(%r12), %eax
movl %ebp, 0x24(%rsp)
andl $0x0, 0x20(%rsp)
movaps 0x219b01(%rip), %xmm0   # 0x23fb10
movaps %xmm0, 0x10(%rsp)
movaps 0x219a75(%rip), %xmm0   # 0x23fa90
movups %xmm0, 0x38(%rsp)
movsd 0x219a78(%rip), %xmm0   # 0x23faa0
movsd %xmm0, 0x60(%rsp)
movaps 0x219a7b(%rip), %xmm0   # 0x23fab0
movups %xmm0, 0x28(%rsp)
movaps 0x219a7f(%rip), %xmm0   # 0x23fac0
movups %xmm0, 0x48(%rsp)
movabsq $0x500000006, %rcx      # imm = 0x500000006
movq %rcx, 0x58(%rsp)
movl $0x3f4ccccd, 0x68(%rsp) # imm = 0x3F4CCCCD
andl $0x0, 0x90(%rsp)
xorps %xmm0, %xmm0
movhps 0x20b559(%rip), %xmm0   # xmm0 = xmm0[0,1],mem[0,1]
movaps %xmm0, 0x70(%rsp)
movups 0x230(%r12), %xmm0
movaps %xmm0, 0x80(%rsp)
movl %eax, 0x94(%rsp)
cmpl $0x0, 0xf0(%r12)
je 0x260b5
movq 0x10(%r12), %rdx
leaq 0x27038d(%rip), %rdi    # 0x296430
leaq 0x27038e(%rip), %rsi    # 0x296438
xorl %ecx, %ecx
callq 0x11b7de
testl %eax, %eax
jne 0x260e2
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x2391e
leaq 0x270367(%rip), %rax    # 0x296430
movq (%rax), %rdi
leaq 0x270365(%rip), %rax    # 0x296438
movq (%rax), %rsi
movq 0x10(%r12), %rdx
xorl %ecx, %ecx
callq 0x11b631
movq 0x68(%r12), %rcx
leaq 0x270342(%rip), %r12    # 0x296430
movq (%r12), %r8
leaq 0x27033f(%rip), %r13    # 0x296438
movq (%r13), %r9
movq %r15, (%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x25e39
movq (%r12), %rdi
callq 0x11a4e8
movq (%r13), %rdi
callq 0x1193ff
andq $0x0, (%r12)
andq $0x0, (%r13)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: gen_UL_reovlps(uldat_t*, ma_ug_t*, asg_t*, char*, int, int)
void gen_UL_reovlps(uldat_t *sl, ma_ug_t *ug, asg_t *sg, char* gfa_name, int32_t cutoff, int32_t is_emask)
{
	ul_idx_t *uu = gen_ul_idx(sl->uopt, ug, sg);
	int exist = (asm_opt.load_index_from_disk? uidx_load(&ha_flt_tab, &ha_idx, gfa_name, ug) : 0);
    if(exist == 0) uidx_l_build(uu->ug, (mg_idxopt_t *)sl->opt, cutoff);
	if(exist == 0) uidx_write(ha_flt_tab, ha_idx, gfa_name, ug);
	sl->ha_flt_tab = ha_flt_tab; sl->ha_idx = (ha_pt_t *)ha_idx; sl->uu = uu;	
	if(is_emask) {
		if((!(asm_opt.load_index_from_disk)) || (!load_emask_t(&(sl->mm), gfa_name, ug))) {
			sl->mm = graph_ovlp_binning(ug, sg, sl->uopt);
			write_emask_t(sl->mm, gfa_name, ug);
		}
	}

	init_ucr_file_t(sl, gfa_name, 1);
	ul_v_recall(sl, asm_opt.ar);
	destory_ucr_file_t(sl);
	///do not free ug
	uu->ug = NULL; destroy_ul_idx_t(uu); ha_ft_destroy(ha_flt_tab); ha_pt_destroy(ha_idx);
	sl->ha_flt_tab = NULL; sl->ha_idx = NULL; sl->uu = NULL;
	destroy_idx_emask_t(sl->mm); free(sl->mm); sl->mm = NULL;
	// exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebp
movl %r8d, 0x4(%rsp)
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0x272c0
movq %rax, %r14
leaq 0x26e2d0(%rip), %rax    # 0x295758
cmpl $0x0, 0xf0(%rax)
je 0x2759a
leaq 0x26ef94(%rip), %rdi    # 0x296430
leaq 0x26ef95(%rip), %rsi    # 0x296438
movq %r15, %rdx
movq %r12, %rcx
callq 0x11b7de
testl %eax, %eax
je 0x2759a
leaq 0x26ef73(%rip), %rax    # 0x296430
movq (%rax), %rax
movq %rax, (%rbx)
leaq 0x26ef6e(%rip), %rax    # 0x296438
movq (%rax), %rax
movq %rax, 0x8(%rbx)
movq %r14, 0x30(%rbx)
testl %ebp, %ebp
leaq 0x26e27a(%rip), %rbp    # 0x295758
je 0x2751d
cmpl $0x0, 0xf0(%rbp)
je 0x274fc
leaq 0x38(%rbx), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1e63b4
testl %eax, %eax
jne 0x2751d
movq 0x28(%rbx), %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x1e64c3
movq %rax, 0x38(%rbx)
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1e6449
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1cdcb0
movq 0x68(%rbp), %rsi
movq %rbx, %rdi
callq 0x1e1f27
movq %rbx, %rdi
callq 0x1cdd4d
andq $0x0, (%r14)
movq %r14, %rdi
callq 0x1e623f
leaq 0x26eede(%rip), %rax    # 0x296430
movq (%rax), %rdi
callq 0x11a4e8
leaq 0x26eed7(%rip), %rax    # 0x296438
movq (%rax), %rdi
callq 0x1193ff
andq $0x0, 0x30(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq 0x38(%rbx), %rdi
callq 0x1e635e
movq 0x38(%rbx), %rdi
callq 0x2220
andq $0x0, 0x38(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r14), %rdi
movq 0x10(%rbx), %rsi
movl 0x4(%rsp), %edx
callq 0x2389e
leaq 0x26ee7f(%rip), %rax    # 0x296430
movq (%rax), %rdi
leaq 0x26ee7d(%rip), %rax    # 0x296438
movq (%rax), %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x11b631
jmp 0x274b6
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: clean_contain_g0(uldat_t*)
void clean_contain_g0(uldat_t *sl)
{
	kt_for(sl->n_thread, clean_contained_chg, sl, R_INF.total_reads);
	asg_t *sg = (asg_t *)sl->rg; uint32_t k, cnt;
	for (k = cnt = 0; k < sg->n_seq; k++) {
		// if(is_contain_r((*(sl->uopt->ruIndex)), k)) {
		// 	fprintf(stderr, "[M::%s::]\t%.*s\n", __func__, (int)Get_NAME_LENGTH(R_INF, k), Get_NAME(R_INF, k));
		// }
		if(sg->seq_vis[k]) {
			asg_seq_del(sg, k); cnt++;
		}
		sg->seq_vis[k] = 0; 
	}
	if(cnt) asg_cleanup(sg);
	fprintf(stderr, "[M::%s::] # discard cread::%u\n", __func__, cnt); 
	// exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x58(%rdi), %edi
leaq 0x26ea8c(%rip), %rax    # 0x296230
movq 0x50(%rax), %rcx
leaq 0x1bf562(%rip), %rsi    # 0x1e6d11
movq %rbx, %rdx
callq 0x108f2c
movq 0x20(%rbx), %rdi
testl $0x7fffffff, 0x14(%rdi) # imm = 0x7FFFFFFF
je 0x278b0
xorl %eax, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
pushq $0x1
popq %rdx
xorl %ebx, %ebx
movq 0x30(%rdi), %rsi
cmpb $0x0, (%rsi,%rax)
je 0x27893
movq 0x20(%rdi), %rsi
orl $0x80000000, (%rsi,%rax,8) # imm = 0x80000000
leaq (%rax,%rax), %rsi
movb $0x1, %r8b
xorl %r9d, %r9d
orq %rsi, %r9
movq 0x28(%rdi), %r10
movq (%r10,%r9,8), %r11
movq %r11, %r10
andq %rcx, %r10
je 0x2787a
shrq $0x20, %r11
imulq $0x18, %r11, %r11
addq 0x8(%rdi), %r11
xorl %r14d, %r14d
imulq $0x18, %r14, %r15
orb $-0x80, 0xf(%r11,%r15)
movl 0x8(%r11,%r15), %r15d
xorq $0x1, %r15
movq 0x28(%rdi), %r12
movq (%r12,%r15,8), %r12
movq %r12, %r15
andq %rcx, %r15
je 0x27872
movq 0x8(%rdi), %r13
shrq $0x20, %r12
imulq $0x18, %r15, %r15
imulq $0x18, %r12, %r12
addq %r13, %r12
addq $0xc, %r12
xorl %r13d, %r13d
movl -0x4(%r12,%r13), %ebp
xorl %r9d, %ebp
cmpl $0x1, %ebp
jne 0x27869
orb $-0x80, 0x3(%r12,%r13)
addq $0x18, %r13
cmpq %r13, %r15
jne 0x27856
incq %r14
cmpq %r10, %r14
jne 0x27819
movq %rdx, %r9
testb $0x1, %r8b
movl $0x0, %r8d
jne 0x277f7
incl %ebx
movq 0x30(%rdi), %rsi
movb $0x0, (%rsi,%rax)
incq %rax
movl 0x14(%rdi), %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
cmpq %rsi, %rax
jb 0x277d4
testl %ebx, %ebx
jne 0x278b4
xorl %ebx, %ebx
jmp 0x278b9
callq 0xa0a7d
movq 0x26d720(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21d054(%rip), %rsi    # 0x24491e
leaq 0x21d06c(%rip), %rdx    # 0x24493d
movl %ebx, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/inter.cpp
// Function: gen_contig_path(ug_opt_t const*, asg_t*, ma_ug_t*, ma_ug_t*)
scaf_res_t *gen_contig_path(const ug_opt_t *uopt, asg_t *sg, ma_ug_t *ctg, ma_ug_t *ref)
{
	mg_idxopt_t opt; uldat_t sl; int32_t cutoff; 
	init_aux_table(); ha_opt_update_cov(&asm_opt, asm_opt.hom_cov);
	cutoff = asm_opt.max_n_chain;
	init_mg_opt(&opt, !(asm_opt.flag&HA_F_NO_HPC), 19, 10, cutoff, asm_opt.max_n_chain, asm_opt.ul_error_rate, asm_opt.ul_error_rate, asm_opt.ul_error_rate_low, asm_opt.ul_error_rate_hpc, asm_opt.ul_ec_round);
	ul_idx_t *uu = gen_ul_idx_t(uopt, ref, sg, 0, 0, 1);
	init_uldat_t(&sl, NULL, NULL, &opt, CHUNK_SIZE, asm_opt.thread_num, uopt, uu); sl.rg = sg; sl.ug = ctg;

	scaf_res_t *res = work_ctg_path_gchains(&sl); uu->ug = NULL;
	destroy_ul_idx_t(uu);
	return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rcx, %r13
movq %rdx, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %r15
callq 0x32d70
leaq 0x26da7b(%rip), %r12    # 0x295758
movl 0xd0(%r12), %esi
movq %r12, %rdi
callq 0x2f59
movl (%r12), %eax
movl 0xe8(%r12), %ecx
notl %eax
andl $0x1, %eax
movsd 0x238(%r12), %xmm0
movl 0x240(%r12), %edx
leaq 0x100(%rsp), %rbp
movl %ecx, 0x14(%rbp)
movl %eax, 0x10(%rbp)
movaps 0x217deb(%rip), %xmm1   # 0x23fb10
movaps %xmm1, (%rbp)
movaps 0x217d60(%rip), %xmm1   # 0x23fa90
movups %xmm1, 0x28(%rbp)
movsd 0x217d64(%rip), %xmm1   # 0x23faa0
movsd %xmm1, 0x50(%rbp)
movaps 0x217d68(%rip), %xmm1   # 0x23fab0
movups %xmm1, 0x18(%rbp)
movaps 0x217d6d(%rip), %xmm1   # 0x23fac0
movups %xmm1, 0x38(%rbp)
movabsq $0x500000006, %rax      # imm = 0x500000006
movq %rax, 0x48(%rbp)
movl $0x3f4ccccd, 0x58(%rbp) # imm = 0x3F4CCCCD
movl %ecx, 0x80(%rbp)
movups 0x228(%r12), %xmm1
movlps %xmm1, 0x60(%rbp)
movups %xmm1, 0x68(%rbp)
movsd %xmm0, 0x78(%rbp)
movl %edx, 0x84(%rbp)
pushq $0x1
popq %r9
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1e60c8
movq %rax, %r13
movslq 0x7c(%r12), %rbx
leaq 0x48(%rsp), %r12
movl $0xb0, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x20e0
xorps %xmm0, %xmm0
movaps %xmm0, -0x38(%r12)
movq %rbp, -0x28(%r12)
movq $0x3b9aca00, 0x18(%r12) # imm = 0x3B9ACA00
movq %rbx, 0x20(%r12)
movq %r13, -0x8(%r12)
movq %r15, -0x10(%r12)
movq %r14, -0x18(%r12)
movq 0x8(%rsp), %rax
movq %rax, -0x20(%r12)
leaq 0x10(%rsp), %rdi
callq 0x24812
movq %rax, %rbx
andq $0x0, (%r13)
movq %r13, %rdi
callq 0x1e623f
movq %rbx, %rax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: stats_chimeric(asg_t*, ma_hit_t_alloc*, asg64_v*)
void stats_chimeric(asg_t *g, ma_hit_t_alloc* src, asg64_v *in)
{
    asg64_v tx = {0,0,0}, *b = NULL;
    uint32_t v, s[2] = {0};
    if(in) b = in;
    else b = &tx;
    b->n = 0;

    for (v = 0; v < g->n_seq; ++v) {
        if (g->seq[v].del) continue;
        s[if_sup_chimeric(&(src[v]), g->seq[v].len, b, 1)]++;
    }

    fprintf(stderr, "[M::%s::] ==> # non-chimeric:%u, # chimeric:%u\n", __func__, s[0], s[1]);
    if(!in) free(tx.a);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
leaq 0x10(%rsp), %r15
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
andq $0x0, 0x8(%rsp)
movaps %xmm0, (%r15)
testq %rdx, %rdx
cmovneq %rdx, %r15
andq $0x0, (%r15)
movl 0x14(%rdi), %eax
xorl %r8d, %r8d
movl $0x0, %ecx
testl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
je 0x2a8e0
movq %rsi, %r14
movq %rdi, %r12
xorl %r13d, %r13d
pushq $0x1
popq %rbp
movq 0x20(%r12), %rcx
movslq (%rcx,%r13,8), %rsi
testq %rsi, %rsi
js 0x2a8c3
movq %r14, %rdi
movq %r15, %rdx
movl %ebp, %ecx
callq 0x1ef642
movl %eax, %eax
incl 0x8(%rsp,%rax,4)
movl 0x14(%r12), %eax
incq %r13
movl %eax, %ecx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
addq $0x18, %r14
cmpq %rcx, %r13
jb 0x2a89d
movl 0x8(%rsp), %ecx
movl 0xc(%rsp), %r8d
movq 0x26a6f9(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21ac42(%rip), %rsi    # 0x245533
leaq 0x21ac6b(%rip), %rdx    # 0x245563
xorl %eax, %eax
callq 0x22b0
testq %rbx, %rbx
je 0x2a913
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
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_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: debug_edges(asg64_v*, unsigned int*, unsigned int)
void debug_edges(asg64_v *dbg, uint32_t *l, uint32_t l_n) {
    uint32_t k, k_n, i, m;
    for (i = k = 0; i < l_n; i++) {
        fprintf(stderr, "# gid-%u: %u\n", i, l[i]);
        for (k_n = k + l[i]; k < k_n; k++) {
            dbg->a[k] <<= 32; dbg->a[k] += i;
        }
    }
    fprintf(stderr, "# dbg->n: %u\n", (uint32_t)dbg->n);
    
    radix_sort_srt64(dbg->a, dbg->a + dbg->n);
    for (k = 1, i = 0; k <= dbg->n; k++) {
        if(k == dbg->n || (dbg->a[k]>>32) != (dbg->a[i]>>32)) {
            if(k - i < l_n) {
                
                for (m = i; m < k; m++) {
                    fprintf(stderr, "eid->%lu, gid->%u\n", dbg->a[m]>>32, (uint32_t)dbg->a[m]);
                }
            }
            i = k;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl %edx, 0x4(%rsp)
testl %edx, %edx
je 0x2ab45
movq %rsi, %r15
movl 0x4(%rsp), %ebp
leaq 0x21b07c(%rip), %r12    # 0x245b6e
xorl %r13d, %r13d
xorl %ebx, %ebx
movq 0x26a4e2(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
movl (%r15,%r13,4), %ecx
movq %r12, %rsi
movl %r13d, %edx
xorl %eax, %eax
callq 0x22b0
movl (%r15,%r13,4), %eax
addl %ebx, %eax
cmpl %eax, %ebx
jae 0x2ab3d
movq 0x10(%r14), %rcx
movl %ebx, %edx
movl %eax, %esi
movq (%rcx,%rdx,8), %rdi
shlq $0x20, %rdi
orq %r13, %rdi
movq %rdi, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rsi
jne 0x2ab24
movl %eax, %ebx
incq %r13
cmpq %rbp, %r13
jne 0x2aaf7
movq 0x26a494(%rip), %r12    # 0x294fe0
movq (%r12), %rdi
movl (%r14), %edx
leaq 0x21b022(%rip), %rsi    # 0x245b7c
xorl %eax, %eax
callq 0x22b0
movq (%r14), %rax
movq 0x10(%r14), %rdi
leaq (%rdi,%rax,8), %rsi
callq 0x1ee586
movq (%r14), %rax
testq %rax, %rax
je 0x2abf1
pushq $0x1
popq %r13
pushq $0x1
popq %rdx
leaq 0x21b003(%rip), %r15    # 0x245b8a
xorl %ecx, %ecx
movl %ecx, %ebx
cmpq %rdx, %rax
je 0x2aba2
movq 0x10(%r14), %rsi
movq (%rsi,%rbx,8), %rdi
xorq (%rsi,%rdx,8), %rdi
shrq $0x20, %rdi
je 0x2abe6
movl %r13d, %edx
subl %ecx, %edx
setbe %cl
cmpl 0x4(%rsp), %edx
setae %dl
orb %cl, %dl
movl %r13d, %ecx
jne 0x2abe6
movl %r13d, %ebp
movq (%r12), %rdi
movq 0x10(%r14), %rax
movq (%rax,%rbx,8), %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
movq %r15, %rsi
xorl %eax, %eax
callq 0x22b0
incq %rbx
cmpq %rbx, %rbp
jne 0x2abbb
movq (%r14), %rax
movl %r13d, %ecx
incl %r13d
movq %r13, %rdx
cmpq %r13, %rax
jae 0x2ab89
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_cns_seq(ma_ug_t*, ul_str_t*, unsigned long*, unsigned long)
void print_cns_seq(ma_ug_t *ug, ul_str_t *str, uint64_t *cns_seq, uint64_t cns_occ)
{
    fprintf(stderr,"[M::%s::]\t", __func__);
    uint64_t k, ck;
    for (k = ck = 0; k < str->cn; k++) {
        for (; ck < cns_occ; ck++) {
            if(cns_seq[ck] >= k) break;
        }
        if(ck < cns_occ && cns_seq[ck] == k) {
            fprintf(stderr, "utg%.6d%c(%c)\t", (((uint32_t)str->a[k])>>1)+1, 
                    "lc"[ug->u.a[(((uint32_t)str->a[k])>>1)].circ], "+-"[(((uint32_t)str->a[k])&1)]);
        } else {
            fprintf(stderr, "*\t");
        }
    }
    fprintf(stderr,"\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, (%rsp)
movq 0x269e88(%rip), %rbp    # 0x294fe0
movq (%rbp), %rdi
leaq 0x21b4ec(%rip), %rsi    # 0x24664f
leaq 0x21b4f0(%rip), %rdx    # 0x24665a
xorl %eax, %eax
callq 0x22b0
testl $0x7fffffff, 0x18(%r15) # imm = 0x7FFFFFFF
je 0x2b218
xorl %ebx, %ebx
xorl %r13d, %r13d
cmpq %r12, %rbx
jae 0x2b1ed
cmpq %r13, (%r14,%rbx,8)
jae 0x2b19c
incq %rbx
cmpq %rbx, %r12
jne 0x2b189
movq %r12, %rbx
jmp 0x2b1ed
jne 0x2b1ed
movq (%rbp), %rdi
movq 0x10(%r15), %rax
movq (%rax,%r13,8), %rax
movl %eax, %ecx
shrl %ecx
leal 0x1(%rcx), %edx
movq (%rsp), %rsi
movq 0x10(%rsi), %rsi
imulq $0x28, %rcx, %rcx
movl (%rsi,%rcx), %ecx
shrl $0x1f, %ecx
leaq 0x209571(%rip), %rsi    # 0x23473b
movsbl (%rcx,%rsi), %ecx
andl $0x1, %eax
leaq 0x2070fb(%rip), %rsi    # 0x2322d3
movsbl (%rax,%rsi), %r8d
leaq 0x214a21(%rip), %rsi    # 0x23fc05
xorl %eax, %eax
callq 0x22b0
jmp 0x2b203
movq (%rbp), %rcx
leaq 0x21b470(%rip), %rdi    # 0x246668
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
callq 0x2410
incq %r13
movl 0x18(%r15), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r13
jb 0x2b184
movq (%rbp), %rsi
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_res_seq(poa_g_t*, ma_ug_t*, unsigned int*, unsigned int)
void print_res_seq(poa_g_t *pg, ma_ug_t *ug, uint32_t *cns_seq, uint32_t cns_occ)
{
    fprintf(stderr,"[M::%s::]\t", __func__);
    uint64_t k;
    for (k = 0; k < cns_occ; k++) {
        fprintf(stderr, "utg%.6d%c(%c)\t", (pg->seq.a[(cns_seq[k]>>1)].nid>>1)+1, 
                "lc"[ug->u.a[(pg->seq.a[(cns_seq[k]>>1)].nid>>1)].circ], 
                "+-"[(pg->seq.a[(cns_seq[k]>>1)].nid&1)]);
        
    }
    fprintf(stderr,"\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x269d91(%rip), %r13    # 0x294fe0
movq (%r13), %rdi
leaq 0x21b3f5(%rip), %rsi    # 0x24664f
leaq 0x21b40a(%rip), %rdx    # 0x24666b
xorl %eax, %eax
callq 0x22b0
testl %ebp, %ebp
je 0x2b2c9
movl %ebp, %ebp
xorl %r12d, %r12d
movq (%r13), %rdi
movq 0x10(%r15), %rax
movl (%rbx,%r12,4), %ecx
shrl %ecx
movl 0x4(%rax,%rcx,8), %eax
movl %eax, %ecx
shrl %ecx
imulq $0x28, %rcx, %rsi
movl %ecx, %edx
incl %edx
movq 0x10(%r14), %rcx
movl (%rcx,%rsi), %ecx
shrl $0x1f, %ecx
leaq 0x20949b(%rip), %rsi    # 0x23473b
movsbl (%rcx,%rsi), %ecx
andl $0x1, %eax
leaq 0x207025(%rip), %rsi    # 0x2322d3
movsbl (%rax,%rsi), %r8d
leaq 0x21494b(%rip), %rsi    # 0x23fc05
xorl %eax, %eax
callq 0x22b0
incq %r12
cmpq %r12, %rbp
jne 0x2b271
movq (%r13), %rsi
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_ul_seq(ul_resolve_t*, unsigned long)
void print_ul_seq(ul_resolve_t *uidx, uint64_t id)
{
    uint64_t i; ul_str_t *str = &(uidx->pstr.str.a[id]); ma_ug_t *ug = uidx->init_ug;
    fprintf(stderr, "%.*s\tid::%lu\t", (int32_t)uidx->idx->nid.a[id].n, 
                                                        uidx->idx->nid.a[id].a, id);
    for (i = 0; i < str->cn; i++) {
        fprintf(stderr, "utg%.6d%c(%c)\t", (((uint32_t)str->a[i])>>1)+1, 
        "lc"[ug->u.a[(((uint32_t)str->a[i])>>1)].circ], "+-"[(((uint32_t)str->a[i])&1)]);
    }
    fprintf(stderr,"\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r8
movq 0x1d0(%rdi), %r14
movq %rsi, %rbx
shlq $0x5, %rbx
movq 0x8(%rdi), %r15
movq 0x30(%rdi), %rax
movq 0x269ab3(%rip), %r12    # 0x294fe0
movq (%r12), %rdi
movq 0x10(%rax), %rax
movq %rsi, %rcx
shlq $0x4, %rcx
movl 0x8(%rax,%rcx), %edx
movq (%rax,%rcx), %rcx
leaq 0x2146ac(%rip), %rsi    # 0x23fbf7
xorl %eax, %eax
callq 0x22b0
testl $0x7fffffff, 0x18(%r14,%rbx) # imm = 0x7FFFFFFF
je 0x2b5c0
addq %rbx, %r14
leaq 0x206d6c(%rip), %rbp    # 0x2322d3
leaq 0x214697(%rip), %rbx    # 0x23fc05
xorl %r13d, %r13d
movq (%r12), %rdi
movq 0x10(%r14), %rax
movq (%rax,%r13,8), %rax
movl %eax, %ecx
shrl %ecx
leal 0x1(%rcx), %edx
movq 0x10(%r15), %rsi
imulq $0x28, %rcx, %rcx
movl (%rsi,%rcx), %ecx
shrl $0x1f, %ecx
leaq 0x2091a2(%rip), %rsi    # 0x23473b
movsbl (%rcx,%rsi), %ecx
andl $0x1, %eax
movsbl (%rax,%rbp), %r8d
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22b0
incq %r13
movl 0x18(%r14), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %rax, %r13
jb 0x2b571
movq (%r12), %rsi
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_integert_ovlp_stat(ul2ul_idx_t*)
void print_integert_ovlp_stat(ul2ul_idx_t *ul2)
{
    uint64_t i, k, occ_r = 0, occ_o = 0; ul2ul_item_t *o;
    for (i = 0; i < ul2->uln; i++) {
        o = get_ul_ovlp(ul2, ulg_id(*ul2, i), ulg_type(*ul2, i));
        if((!o) || (o->is_del)) continue;
        occ_r++;
        for (k = 0; k < o->n; k++) {
            if(o->a[k].is_del || o->a[k].is_ct || (!ulg_type(*ul2, o->a[k].hid))) continue;
            occ_o++;
        }
    }
    fprintf(stderr, "[M::%s::] # UL reads::%lu, # UL ovlps::%lu\n", __func__, occ_r, occ_o);
}

// Assembly:
pushq %rbx
movq 0x18(%rdi), %rax
testq %rax, %rax
jne 0x2b5eb
xorl %ecx, %ecx
xorl %r8d, %r8d
jmp 0x2b64c
movq 0x30(%rdi), %rdx
xorl %esi, %esi
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
xorl %r8d, %r8d
xorl %ecx, %ecx
movl (%rdx,%rsi,4), %r10d
cmpq %r9, %r10
je 0x2b644
movq (%rdi), %r11
testq %r11, %r11
je 0x2b644
shlq $0x5, %r10
addq %r10, %r11
cmpl $0x0, 0x18(%r11)
js 0x2b644
incq %rcx
movq 0x8(%r11), %r10
testq %r10, %r10
je 0x2b644
movq (%r11), %r11
cmpb $0x3f, 0x24(%r11)
ja 0x2b63b
movl (%r11), %ebx
cmpq %rax, %rbx
adcq $0x0, %r8
addq $0x28, %r11
decq %r10
jne 0x2b62a
incq %rsi
cmpq %rax, %rsi
jne 0x2b5fc
movq 0x26998d(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x21c58f(%rip), %rsi    # 0x247bec
leaq 0x21c5b4(%rip), %rdx    # 0x247c18
xorl %eax, %eax
popq %rbx
jmp 0x22b0
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: prt_sub_integer_path(asg64_v*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)
void prt_sub_integer_path(asg64_v *res, uint64_t it, uint64_t w0, uint64_t w1, uint64_t z_n, uint64_t z)
{
    uint64_t k;
    fprintf(stderr, "(it::%lu) res->n::%u, w0::%lu, w1::%lu, z_n::%lu, z::%lu\n", it, (uint32_t)res->n, 
    w0, w1, z_n, z);
    for (k = 0; k < res->n; k++) {
        fprintf(stderr, "(it::%lu) utg%.6dl,", it, (int32_t)(res->a[k]>>1)+1);
    }
    fprintf(stderr, "\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %r10
movq %r8, %r11
movq %rcx, %r9
movq %rdx, %r8
movq %rsi, %rbx
movq %rdi, %r14
movq 0x269952(%rip), %r12    # 0x294fe0
movq (%r12), %rdi
movl (%r14), %ecx
leaq 0x21dd69(%rip), %rsi    # 0x249405
movq %rbx, %rdx
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0x22b0
addq $0x10, %rsp
cmpq $0x0, (%r14)
je 0x2b6e4
leaq 0x21dd84(%rip), %r15    # 0x24943f
xorl %r13d, %r13d
movq (%r12), %rdi
movq 0x10(%r14), %rax
movq (%rax,%r13,8), %rcx
shrq %rcx
incl %ecx
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x22b0
incq %r13
cmpq (%r14), %r13
jb 0x2b6be
movq (%r12), %rsi
pushq $0xa
popq %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2270
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/CommandLines.cpp
// Function: destory_enzyme(enzyme*)
void destory_enzyme(enzyme* f)
{
    int i;
    if(f != NULL)
    {
        for (i = 0; i < f->n; i++)
        {
            free(f->a[i]);
        }
        free(f->a);
        free(f->l);
        free(f);
    }
}

// Assembly:
testq %rdi, %rdi
je 0x2f798
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
jle 0x2f778
xorl %r14d, %r14d
movq 0x10(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x2220
incq %r14
movslq 0x8(%rbx), %rax
cmpq %rax, %r14
jl 0x2f75f
movq 0x10(%rbx), %rdi
callq 0x2220
movq (%rbx), %rdi
callq 0x2220
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2220
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/CommandLines.cpp
// Function: destory_opt(hifiasm_opt_t*)
void destory_opt(hifiasm_opt_t* asm_opt)
{
    if(asm_opt->read_file_names != NULL) free(asm_opt->read_file_names);
    if(asm_opt->hic_enzymes != NULL) destory_enzyme(asm_opt->hic_enzymes);
    if(asm_opt->hic_reads[0] != NULL) destory_enzyme(asm_opt->hic_reads[0]);
    if(asm_opt->hic_reads[1] != NULL) destory_enzyme(asm_opt->hic_reads[1]);
    if(asm_opt->ar != NULL) destory_enzyme(asm_opt->ar);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x2f7ab
callq 0x2220
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x2f7b9
callq 0x2f74a
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x2f7c7
callq 0x2f74a
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x2f7d5
callq 0x2f74a
movq 0x68(%rbx), %rdi
testq %rdi, %rdi
je 0x2f7e4
popq %rbx
jmp 0x2f74a
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/CommandLines.cpp
// Function: check_file(char*, char const*)
static int check_file(char* name, const char* opt)
{
    if(!name)
    {
        fprintf(stderr, "[ERROR] file does not exist (-%s)\n", opt);
        return 0;
    } 
    FILE* is_exist = NULL;
    is_exist = fopen(name,"r");
    if(!is_exist)
    {
        fprintf(stderr, "[ERROR] %s does not exist (-%s)\n", name, opt);
        return 0;
    } 

    fclose(is_exist);
    return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
testq %rdi, %rdi
je 0x2fd84
movq %rdi, %r14
leaq 0x20fa91(%rip), %rsi    # 0x23f7f7
callq 0x2210
testq %rax, %rax
je 0x2fda3
movq %rax, %rdi
callq 0x2190
movl $0x1, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x265255(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x20056d(%rip), %rsi    # 0x230302
xorl %ebp, %ebp
movq %rbx, %rdx
xorl %eax, %eax
callq 0x22b0
jmp 0x2fd7d
movq 0x265236(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
leaq 0x200571(%rip), %rsi    # 0x230325
xorl %ebp, %ebp
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x22b0
jmp 0x2fd7d
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/CommandLines.cpp
// Function: check_fq_files(enzyme*, char const*, int)
static int check_fq_files(enzyme* f, const char* opt, int32_t is_fq)
{
    int32_t i, ret; gzFile dfp; kseq_t *ks = NULL;
    for (i = 0; i < f->n; i++) {
        if(!(f->a[i])) {
            fprintf(stderr, "[ERROR] input file does not exist (%s)\n", opt);
            return 0;
        }

        dfp = gzopen(f->a[i], "r");
        if (dfp == 0) {
            fprintf(stderr, "[ERROR] Cannot find the input file: %s (%s)\n", f->a[i], opt);
            return 0;
        } else if(is_fq){
            ks = kseq_init(dfp);
            while (((ret = kseq_read(ks)) >= 0)) {
                if((ks->qual.l == 0) || (ks->qual.s == NULL)) {
                    fprintf(stderr, "[ERROR] %s is in fasta format rather than fastq format (%s)\n", f->a[i], opt);
                    fprintf(stderr, "[ERROR] set --ul-m 0 for fasta files\n");
                    return 0;
                }
                break;
            }
            kseq_destroy(ks); ks = NULL;
        }
        gzclose(dfp);
    }
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0x1, %ebx
cmpl $0x0, 0x8(%rdi)
jle 0x2fea0
movl %esi, %ebp
movq %rdi, %r12
leaq 0x10(%rdi), %r15
xorl %r14d, %r14d
movq (%r15), %rax
movq (%rax,%r14,8), %rdi
testq %rdi, %rdi
je 0x2feb1
leaq 0x20f9af(%rip), %rsi    # 0x23f7f7
callq 0x22d0
testq %rax, %rax
je 0x2feb8
movq %rax, %rbx
testl %ebp, %ebp
je 0x2fe86
movq %rbx, %rdi
callq 0x2ffef
movq %rax, %r13
movq %rax, %rdi
callq 0x30039
testl %eax, %eax
js 0x2fe7e
cmpq $0x0, 0x48(%r13)
je 0x2fee2
cmpq $0x0, 0x58(%r13)
je 0x2fee2
movq %r13, %rdi
callq 0x303a2
movq %rbx, %rdi
callq 0x2390
incq %r14
movslq 0x8(%r12), %rax
cmpq %rax, %r14
jl 0x2fe35
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x34cc
jmp 0x2feed
movq 0x265121(%rip), %rax    # 0x294fe0
movq (%rax), %rdi
movq (%r15), %rax
movq (%rax,%r14,8), %rdx
leaq 0x20049e(%rip), %rsi    # 0x23036e
leaq 0x2001be(%rip), %rcx    # 0x230095
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x22b0
jmp 0x2fea0
movq %r15, %rdi
movq %r14, %rsi
callq 0x348c
xorl %ebx, %ebx
jmp 0x2fea0
// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/CommandLines.cpp
// Function: get_queries(int, char**, ketopt_t*, hifiasm_opt_t*)
void get_queries(int argc, char *argv[], ketopt_t* opt, hifiasm_opt_t* asm_opt)
{
    if(opt->ind == argc) {
        return;
    }

    asm_opt->num_reads = argc - opt->ind;
    asm_opt->read_file_names = (char**)malloc(sizeof(char*)*asm_opt->num_reads);
    
    long long i; int ret;
    gzFile dfp; kseq_t *ks = NULL;
    for (i = 0; i < asm_opt->num_reads; i++) {
        asm_opt->read_file_names[i] = argv[i + opt->ind];
        dfp = gzopen(asm_opt->read_file_names[i], "r");
        if (dfp == 0) {
            fprintf(stderr, "[ERROR] Cannot find the input read file: %s\n", 
                    asm_opt->read_file_names[i]);
		    exit(0);
        } else if(asm_opt->is_sc){
            ks = kseq_init(dfp);
            while (((ret = kseq_read(ks)) >= 0)) {
                if((ks->qual.l == 0) || (ks->qual.s == NULL)) {
                    fprintf(stderr, "[ERROR] %s is in fasta format rather than fastq format\n", asm_opt->read_file_names[i]);
                    asm_opt->is_sc = 0;
                    exit(0);
                }
                break;
            }
            kseq_destroy(ks); ks = NULL;
        }
        gzclose(dfp);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
subl (%rdx), %edi
je 0x2ffc7
movq %rcx, %rbx
movl %edi, 0x4(%rcx)
movslq %edi, %r14
leaq (,%r14,8), %rdi
callq 0x2280
movq %rax, 0x8(%rbx)
testl %r14d, %r14d
jle 0x2ffc7
leaq 0x8(%rbx), %r12
leaq 0x2b0(%rbx), %rbp
xorl %r13d, %r13d
movq 0x10(%rsp), %rax
movslq (%rax), %rax
movq 0x8(%rsp), %rcx
leaq (%rcx,%rax,8), %rax
movq (%rax,%r13,8), %rax
movq (%r12), %rcx
movq %rax, (%rcx,%r13,8)
movq (%r12), %rax
movq (%rax,%r13,8), %rdi
leaq 0x20f889(%rip), %rsi    # 0x23f7f7
callq 0x22d0
testq %rax, %rax
je 0x2ffd6
movq %rax, %r15
cmpq $0x0, (%rbp)
je 0x2ffaf
movq %r15, %rdi
callq 0x2ffef
movq %rax, %r14
movq %rax, %rdi
callq 0x30039
testl %eax, %eax
js 0x2ffa7
cmpq $0x0, 0x48(%r14)
je 0x2ffe1
cmpq $0x0, 0x58(%r14)
je 0x2ffe1
movq %r14, %rdi
callq 0x303a2
movq %r15, %rdi
callq 0x2390
incq %r13
movslq 0x4(%rbx), %rax
cmpq %rax, %r13
jl 0x2ff42
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
movq %r13, %rsi
callq 0x351c
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x34eb