LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_integer_seq(ma_ug_t*, ul_str_t*, long, long)
void print_integer_seq(ma_ug_t *ug, ul_str_t *str, int64_t id, int64_t is_header)
{
    uint64_t i;
    if(is_header) {
        fprintf(stderr,"[M::%s::tid->%ld] occ::%u\n", __func__, id, str[id].cn);
    }
    for (i = 0; i < str[id].cn; i++) {
        fprintf(stderr, "utg%.6d%c(%c)\t", (((uint32_t)str[id].a[i])>>1)+1, 
        "lc"[ug->u.a[(((uint32_t)str[id].a[i])>>1)].circ], "+-"[(((uint32_t)str[id].a[i])&1)]);
    }
    fprintf(stderr,"\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rcx, %rcx
jne 0x1f4fba
shlq $0x5, %r14
testl $0x7fffffff, 0x18(%r15,%r14) # imm = 0x7FFFFFFF
jne 0x1f4fc7
movq 0x95038(%rip), %rax     # 0x289fe0
movq (%rax), %rsi
movl $0xa, %edi
popq %rbx
popq %r14
popq %r15
jmp 0x2270
movq %r15, %rdi
movq %r14, %rsi
callq 0x2f85d
jmp 0x1f4f92
leaq (%r15,%r14), %rdi
leaq (%r15,%r14), %rdx
addq $0x18, %rdx
movq %rbx, %rsi
callq 0x2f894
jmp 0x1f4fa1
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: utg_cover_read_occ_by_qs(ma_ug_t*, long, long, uc_block_t*)
int64_t utg_cover_read_occ_by_qs(ma_ug_t *ug, int64_t oqs, int64_t oqe, uc_block_t *x)
{
    assert(oqs >= (int64_t)x->qs && oqs <= (int64_t)x->qe);
    assert(oqe >= (int64_t)x->qs && oqe <= (int64_t)x->qe);
    assert(oqe > oqs);
    int64_t s_off, e_off, k;
    s_off = get_offset_adjust(oqs-x->qs, x->qe-x->qs, x->te-x->ts);
	e_off = get_offset_adjust(x->qe-oqe, x->qe-x->qs, x->te-x->ts);
    if(x->rev) {
        k = s_off; s_off = e_off; e_off = k;
    }

    return ug_occ_w(x->ts + s_off, x->te - e_off, &(ug->u.a[x->hid]));
}

// Assembly:
pushq %rax
movq %rsi, %rax
movl 0x4(%rcx), %esi
cmpq %rax, %rsi
jg 0x1f51af
movl 0x8(%rcx), %r8d
cmpq %rax, %r8
jl 0x1f51af
cmpq %rdx, %rsi
jg 0x1f51ce
cmpq %rdx, %r8
jl 0x1f51ce
cmpq %rax, %rdx
jle 0x1f51ed
subl %esi, %eax
movl %r8d, %r10d
subl %esi, %r10d
movl 0x10(%rcx), %esi
movl 0xc(%rcx), %r9d
movl %esi, %r11d
subl %r9d, %r11d
cvtsi2sd %rax, %xmm0
cvtsi2sd %r10, %xmm1
divsd %xmm1, %xmm0
cvtsi2sd %r11, %xmm2
mulsd %xmm2, %xmm0
cvttsd2si %xmm0, %rax
movl %eax, %r10d
subl %edx, %r8d
xorps %xmm0, %xmm0
cvtsi2sd %r8, %xmm0
divsd %xmm1, %xmm0
mulsd %xmm2, %xmm0
cvttsd2si %xmm0, %rax
testb $0x20, 0x20(%rcx)
movl %eax, %eax
movq %r10, %r8
cmoveq %rax, %r8
movl (%rcx), %ecx
cmoveq %r10, %rax
addq %r9, %rax
leaq (%rcx,%rcx,4), %rdx
shlq $0x3, %rdx
addq 0x10(%rdi), %rdx
subq %r8, %rsi
movq %rax, %rdi
popq %rax
jmp 0x1f2d50
leaq 0x451df(%rip), %rdi     # 0x23a395
leaq 0x44168(%rip), %rsi     # 0x239325
leaq 0x45200(%rip), %rcx     # 0x23a3c4
movl $0x131c, %edx           # imm = 0x131C
callq 0x2110
leaq 0x4523b(%rip), %rdi     # 0x23a410
leaq 0x44149(%rip), %rsi     # 0x239325
leaq 0x451e1(%rip), %rcx     # 0x23a3c4
movl $0x131d, %edx           # imm = 0x131D
callq 0x2110
leaq 0x4524b(%rip), %rdi     # 0x23a43f
leaq 0x4412a(%rip), %rsi     # 0x239325
leaq 0x451c2(%rip), %rcx     # 0x23a3c4
movl $0x131e, %edx           # imm = 0x131E
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: uc_block_qse_cutoff(unsigned int, unsigned int, uc_block_t*, unsigned int*, unsigned int*)
void uc_block_qse_cutoff(uint32_t c_ts, uint32_t c_te, uc_block_t *x, uint32_t *nqs, uint32_t *nqe)
{
    uint32_t l, r;
    assert(c_ts >= x->ts && c_te <= x->te);
    if(!(x->rev)) {
        l = c_ts - x->ts; r = x->te - c_te;
    } else {
        r = c_ts - x->ts; l = x->te - c_te;
    }

    (*nqs) = x->qs + get_offset_adjust(l, x->te - x->ts, x->qe - x->qs);
    (*nqe) = x->qe - get_offset_adjust(r, x->te - x->ts, x->qe - x->qs);
    assert((*nqs) >= x->qs && (*nqe) <= x->qe);
}

// Assembly:
pushq %rax
movl 0xc(%rdx), %r9d
subl %r9d, %edi
jb 0x1f617f
movl 0x10(%rdx), %eax
movl %eax, %r10d
subl %esi, %r10d
jb 0x1f617f
testb $0x20, 0x20(%rdx)
movl %r10d, %esi
cmovel %edi, %esi
cmovel %r10d, %edi
subl %r9d, %eax
movl 0x4(%rdx), %r9d
movl 0x8(%rdx), %r10d
cvtsi2sd %rsi, %xmm0
cvtsi2sd %rax, %xmm1
subl %r9d, %r10d
divsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r10, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
addl %r9d, %eax
movl %eax, (%rcx)
movl 0x10(%rdx), %esi
subl 0xc(%rdx), %esi
movl 0x8(%rdx), %eax
movl %eax, %r9d
subl 0x4(%rdx), %r9d
xorps %xmm0, %xmm0
cvtsi2sd %rdi, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rsi, %xmm1
divsd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r9, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %rsi
subl %esi, %eax
movl %eax, (%r8)
movl (%rcx), %ecx
cmpl 0x4(%rdx), %ecx
jb 0x1f619e
cmpl 0x8(%rdx), %eax
ja 0x1f619e
popq %rax
retq
leaq 0x4466d(%rip), %rdi     # 0x23a7f3
leaq 0x43198(%rip), %rsi     # 0x239325
leaq 0x4467e(%rip), %rcx     # 0x23a812
movl $0x1467, %edx           # imm = 0x1467
callq 0x2110
leaq 0x446c0(%rip), %rdi     # 0x23a865
leaq 0x43179(%rip), %rsi     # 0x239325
leaq 0x4465f(%rip), %rcx     # 0x23a812
movl $0x1470, %edx           # imm = 0x1470
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: clean_poa_g_t(poa_g_t*)
void clean_poa_g_t(poa_g_t *g)
{
    uint64_t set_n = g->seq.n<<1;
    assert(g->arc.n >= g->update_arc); assert(g->seq.n >= g->update_seq);
    if(g->seq.n > g->update_seq) {
        kv_resize(uint64_t, g->idx, (g->seq.n<<1)); set_n = g->update_seq<<1;
        memset(g->idx.a + (g->update_seq<<1), 0, sizeof((*g->idx.a))*((g->seq.n<<1)-(g->update_seq<<1)));
        g->update_seq = g->seq.n; g->idx.n = (g->seq.n<<1);
    }

    if(g->arc.n > g->update_arc) {
        radix_sort_poa_arc_srt(g->arc.a, g->arc.a + g->arc.n);
        memset(g->idx.a, 0, sizeof((*g->idx.a))*set_n);
        int64_t k, last, n = g->arc.n;
        for (k = 1, last = 0; k <= n; ++k){
            if (k == n || g->arc.a[k-1].ul>>32 != g->arc.a[k].ul>>32) {
                g->idx.a[g->arc.a[k-1].ul>>32] = (((uint64_t)last<<32)) | (k - last), last = k;
            }
        }
        g->update_arc = g->arc.n;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x4c(%rdi), %eax
cmpq %rax, 0x18(%rdi)
jb 0x1f6c0f
movq %rdi, %rbx
movq (%rdi), %rax
leaq (%rax,%rax), %r14
movl 0x48(%rdi), %ecx
cmpq %rcx, %rax
jb 0x1f6c18
jbe 0x1f6b6b
cmpq %r14, 0x38(%rbx)
jae 0x1f6b37
decq %r14
movq %r14, %rax
shrq %rax
orq %r14, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x10, %rax
orq %rcx, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x38(%rbx)
movq 0x40(%rbx), %rdi
leaq 0x8(,%rax,8), %rsi
callq 0x2370
movq %rax, 0x40(%rbx)
movl 0x48(%rbx), %r14d
addl %r14d, %r14d
leaq (,%r14,8), %rax
movq 0x40(%rbx), %rdi
addq %rax, %rdi
movq (%rbx), %rdx
shlq $0x4, %rdx
subq %rax, %rdx
xorl %esi, %esi
callq 0x20e0
movq (%rbx), %rax
movl %eax, 0x48(%rbx)
addq %rax, %rax
movq %rax, 0x30(%rbx)
movq 0x18(%rbx), %rsi
movl 0x4c(%rbx), %eax
cmpq %rax, %rsi
jbe 0x1f6c07
movq 0x28(%rbx), %rdi
shlq $0x4, %rsi
addq %rdi, %rsi
callq 0x1e49b5
movq 0x40(%rbx), %rdi
shlq $0x3, %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x20e0
movq 0x18(%rbx), %rax
testq %rax, %rax
jle 0x1f6c01
negq %rax
movl $0x1, %ecx
xorl %edx, %edx
xorl %esi, %esi
movq %rax, %rdi
addq %rcx, %rdi
je 0x1f6bcd
movq 0x28(%rbx), %rdi
movq 0x10(%rdi,%rdx), %r8
xorq (%rdi,%rdx), %r8
shrq $0x20, %r8
je 0x1f6bed
movq %rcx, %rdi
subq %rsi, %rdi
shlq $0x20, %rsi
orq %rdi, %rsi
movq 0x28(%rbx), %rdi
movq 0x40(%rbx), %r8
movl 0x4(%rdi,%rdx), %edi
movq %rsi, (%r8,%rdi,8)
movq %rcx, %rsi
leaq (%rax,%rcx), %rdi
incq %rdi
incq %rcx
addq $0x10, %rdx
cmpq $0x1, %rdi
jne 0x1f6bb2
movl 0x18(%rbx), %eax
movl %eax, 0x4c(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x43d37(%rip), %rdi     # 0x23a94d
jmp 0x1f6c1f
leaq 0x43d66(%rip), %rdi     # 0x23a985
leaq 0x426ff(%rip), %rsi     # 0x239325
leaq 0x43d3a(%rip), %rcx     # 0x23a967
movl $0x1519, %edx           # imm = 0x1519
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: update_poa_nid_occ(ma_ug_t*, uc_block_t*, poa_g_t*, long, unsigned long*, long, long)
void update_poa_nid_occ(ma_ug_t *ug, uc_block_t *raw, poa_g_t *g, int64_t gidx, uint64_t *str, int64_t str_idx, int64_t is_rev)
{
    uint32_t g_v, str_v, new_occ; uc_block_t *z; 
    ///update 
    g_v = g->seq.a[gidx].nid;
    z = &(raw[str[str_idx]>>32]); str_v = ((uint32_t)str[str_idx]); if(is_rev) str_v ^= 1;
    assert(g_v == str_v); assert(g->seq.a[gidx].occ <= ug->u.a[g->seq.a[gidx].nid>>1].n);
    if(g->seq.a[gidx].occ != ug->u.a[g->seq.a[gidx].nid>>1].n) {
        new_occ = ug_occ_w(z->ts, z->te, &(ug->u.a[z->hid]));
        if(new_occ > g->seq.a[gidx].occ) g->seq.a[gidx].occ = new_occ;
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq 0x10(%rdx), %r14
movq (%r8,%r9,8), %rax
xorl %ecx, %ecx
cmpq $0x0, 0x20(%rsp)
setne %cl
xorl %eax, %ecx
cmpl %ecx, 0x4(%r14,%rbx,8)
jne 0x1f6f59
shrq $0x20, %rax
movl (%r14,%rbx,8), %ebp
movl 0x4(%r14,%rbx,8), %edx
movq 0x10(%rdi), %rcx
shrl %edx
leaq (%rdx,%rdx,4), %rdx
cmpl 0x10(%rcx,%rdx,8), %ebp
ja 0x1f6f62
je 0x1f6f54
leaq (%rax,%rax,8), %rax
leaq (%rsi,%rax,4), %rax
movl (%rax), %edx
movl 0xc(%rax), %edi
movl 0x10(%rax), %esi
leaq (%rdx,%rdx,4), %rax
leaq (%rcx,%rax,8), %rdx
callq 0x1f2d50
cmpl %eax, %ebp
jae 0x1f6f54
movl %eax, (%r14,%rbx,8)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x43a3f(%rip), %rdi     # 0x23a99f
jmp 0x1f6f69
leaq 0x43aa6(%rip), %rdi     # 0x23aa0f
leaq 0x423b5(%rip), %rsi     # 0x239325
leaq 0x43a35(%rip), %rcx     # 0x23a9ac
movl $0x1555, %edx           # imm = 0x1555
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: push_poa_arch_0(poa_g_t*, unsigned int, unsigned int, long, long, long)
void push_poa_arch_0(poa_g_t *g, uint32_t src, uint32_t des, int64_t str_id, int64_t str_src, int64_t str_des)
{
    poa_arc_t *ae; emap_t *em;
    kv_pushp(poa_arc_t, g->arc, &ae);
    ae->ul = des; ae->ul <<= 33; ae->ul += ((uint64_t)(0x100000000)); ae->ul += 1;
    ae->v = src; ae->v <<= 1; ae->v += 1;

    kv_pushp(poa_arc_t, g->arc, &ae);
    ae->ul = src; ae->ul <<= 33; ae->ul += 1;
    ae->v = des; ae->v <<= 1;

    kv_pushp(emap_t, g->e_idx, &em);
    em->pge = src; em->pge <<= 32; em->pge += des;
    em->ule = str_src; em->ule <<= 32; em->ule += str_des;
    em->ulid = str_id;

    // assert((g->seq.a[em->pge>>32].nid^(debug_is_rev?1:0)) == ((uint32_t)debug_str->a[em->ule>>32]));
    // assert((g->seq.a[(uint32_t)em->pge].nid^(debug_is_rev?1:0)) == ((uint32_t)debug_str->a[(uint32_t)em->ule]));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %r15
movq %rcx, (%rsp)
movl %edx, %ebp
movl %esi, %r13d
movq %rdi, %r12
movq 0x20(%rdi), %rax
cmpq %rax, 0x18(%rdi)
jne 0x1f726b
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x20(%r12)
movq 0x28(%r12), %rdi
shlq $0x4, %rsi
callq 0x2370
movq %rax, 0x28(%r12)
movq 0x18(%r12), %rax
movq 0x28(%r12), %rdi
leaq 0x1(%rax), %rcx
movq %rcx, 0x18(%r12)
shlq $0x4, %rax
movl %ebp, %ebx
movq %rbx, %rdx
shlq $0x21, %rdx
movabsq $0x100000001, %rsi      # imm = 0x100000001
orq %rdx, %rsi
movq %rsi, (%rdi,%rax)
leal 0x1(,%r13,2), %edx
movl %edx, 0x8(%rdi,%rax)
movq 0x20(%r12), %rax
cmpq %rax, %rcx
jne 0x1f72d5
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %esi
cmovneq %rcx, %rsi
movq %rsi, 0x20(%r12)
shlq $0x4, %rsi
callq 0x2370
movq %rax, 0x28(%r12)
movq 0x18(%r12), %rax
movq 0x28(%r12), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0x18(%r12)
shlq $0x4, %rax
movl %r13d, %r13d
movq %r13, %rdx
shlq $0x21, %rdx
incq %rdx
movq %rdx, (%rcx,%rax)
addl %ebp, %ebp
movl %ebp, 0x8(%rcx,%rax)
movq 0xd0(%r12), %rax
cmpq %rax, 0xc8(%r12)
jne 0x1f734a
leaq (%rax,%rax), %rcx
testq %rax, %rax
movl $0x2, %eax
cmovneq %rcx, %rax
movq %rax, 0xd0(%r12)
movq 0xd8(%r12), %rdi
shlq $0x3, %rax
leaq (%rax,%rax,2), %rsi
callq 0x2370
movq %rax, 0xd8(%r12)
movq 0xc8(%r12), %rax
movq 0xd8(%r12), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, 0xc8(%r12)
leaq (%rax,%rax,2), %rax
shlq $0x20, %r13
orq %rbx, %r13
movq %r13, (%rcx,%rax,8)
shlq $0x20, %r15
addq %r14, %r15
movq %r15, 0x8(%rcx,%rax,8)
movq (%rsp), %rdx
movl %edx, 0x10(%rcx,%rax,8)
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/gfa_ut.cpp
// Function: append_aligned_integer_seq(ma_ug_t*, uc_block_t*, poa_g_t*, long, unsigned long*, long, unsigned long, unsigned int*, unsigned int*, long)
void append_aligned_integer_seq(ma_ug_t *ug, uc_block_t *raw, poa_g_t *g, int64_t g_occ, uint64_t *str, int64_t str_occ, uint64_t is_rev,
uint32_t *match_g, uint32_t *match_str, int64_t match_occ)
{
    if(str_occ <= 0) return;
    int64_t k, p_str, p_g;
    
    if(is_rev == 0) {
        for (k = match_occ-1, p_str = 0, p_g = -1; k >= 0; k--) {
            fprintf(stderr, "+[M::%s::] match_str[%ld]::%u, match_occ::%ld, p_g::%ld\n", 
            __func__, k, match_str[k], match_occ, p_g);
            assert(((int64_t)match_str[k]) >= p_str); 
            // append_integer_seq_frag(ug, raw, g, p_g, match_g[k], str+p_str, match_str[k]+1-p_str, is_rev);
            p_str = match_str[k]; p_g = match_g[k]; 
        }
        // append_integer_seq_frag(ug, raw, g, p_g, -1, str+p_str, str_occ-p_str, is_rev);
    } else {
        for (k = match_occ-1, p_str = str_occ-1, p_g = -1; k >= 0; k--) {
            fprintf(stderr, "-[M::%s::] match_str[%ld]::%u, match_occ::%ld\n", 
            __func__, k, match_str[k], match_occ);
            assert(((int64_t)match_str[k]) <= p_str); 
            // append_integer_seq_frag(ug, raw, g, p_g, match_g[k], str+match_str[k], p_str+1-match_str[k], is_rev);
            p_str = match_str[k]; p_g = match_g[k];  
        }
        // append_integer_seq_frag(ug, raw, g, p_g, -1, str, p_str+1, is_rev);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %r9, %r9
jle 0x1f7965
movq 0x58(%rsp), %r14
movq 0x50(%rsp), %rbx
cmpq $0x0, 0x40(%rsp)
je 0x1f7960
movq %r9, %r15
decq %r15
leaq 0x43276(%rip), %r13     # 0x23ab76
movq %r14, %rbp
testq %rbp, %rbp
jle 0x1f7965
leaq -0x1(%rbp), %r12
movq 0x926cd(%rip), %rax     # 0x289fe0
movq (%rax), %rdi
movl -0x4(%rbx,%rbp,4), %r8d
leaq 0x4331d(%rip), %rsi     # 0x23ac3f
movq %r13, %rdx
movq %r12, %rcx
movq %r14, %r9
xorl %eax, %eax
callq 0x22b0
movl -0x4(%rbx,%rbp,4), %eax
movq %r12, %rbp
cmpq %rax, %r15
movq %rax, %r15
jge 0x1f7903
leaq 0x43326(%rip), %rdi     # 0x23ac6e
leaq 0x419d6(%rip), %rsi     # 0x239325
leaq 0x4325c(%rip), %rcx     # 0x23abb2
movl $0x1602, %edx           # imm = 0x1602
callq 0x2110
testq %r14, %r14
jg 0x1f7974
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x48(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2fc87
jmp 0x1f7965
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: poa_cns_chain(poa_g_t*, all_ul_t*, ma_ug_t*, ul_str_t*, ul_chain_t*, long, long, integer_t*, unsigned int*)
void poa_cns_chain(poa_g_t *g, all_ul_t *ul_idx, ma_ug_t *ug, ul_str_t *str, ul_chain_t *idx, int64_t idx_n, int64_t qid, integer_t *buf, uint32_t *is_circle)
{
    (*is_circle) = 0;
    int64_t k, tid, is_rev; 
    reset_poa_g_t(g); 

    append_unmatch_integer_seq(g, ug, ul_idx->a[qid].bb.a, &(str[qid]), 0, str[qid].cn, 0, qid);
    clean_poa_g_t(g); (*is_circle) = 1 - topo_srt_gen(g, qid, ug);
    if((*is_circle)) return;

    for (k = 0; k < idx_n; k++) {
        tid = idx[k].v>>1; is_rev = idx[k].v&1;
        // fprintf(stderr, "\n[M::%s::] k::%ld, tid::%ld, is_rev::%ld\n", __func__, k, tid, is_rev);
        // print_integer_seq(ug, str, tid, 1);
        poa_chain_0(g, ug, ul_idx->a[tid].bb.a, &(str[tid]), idx[k].t_sidx, idx[k].t_eidx, is_rev, buf, tid, qid, is_circle);
        if((*is_circle)) return;
        // print_integer_g(g, ug, 1);
    }

    gen_cns_by_poa(g);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r8
movq %rdi, %r13
movq 0x60(%rsp), %r12
movq 0x58(%rsp), %rax
movq %rax, (%rsp)
movq 0x50(%rsp), %rbp
movl $0x0, (%r12)
xorl %eax, %eax
movq %rax, 0x30(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, (%rdi)
movq %rax, 0xc8(%rdi)
movq %rax, 0x48(%rdi)
movq %rsi, 0x8(%rsp)
movq 0x48(%rsi), %rcx
imulq $0x58, %rbp, %rdx
movq 0x30(%rcx,%rdx), %rdx
movq %rbp, %rsi
shlq $0x5, %rsi
leaq (%r15,%rsi), %rcx
movl 0x18(%r15,%rsi), %r9d
andl $0x7fffffff, %r9d       # imm = 0x7FFFFFFF
movq %r8, 0x10(%rsp)
movq %r8, %rsi
xorl %r8d, %r8d
pushq %rbp
pushq %rax
callq 0x1f6c37
addq $0x10, %rsp
movq %r13, %rdi
callq 0x1f6ab3
movq %r13, %rdi
callq 0x1f7ad8
movl %eax, %ecx
xorl $0x1, %ecx
movl %ecx, (%r12)
testl %eax, %eax
je 0x1f9470
testq %rbx, %rbx
jle 0x1f945a
addq $0x24, %r14
movl -0x1c(%r14), %eax
movl -0x4(%r14), %r8d
movl %eax, %r10d
shrl %r10d
andl $0x1, %eax
movq 0x8(%rsp), %rcx
movq 0x48(%rcx), %rcx
imulq $0x58, %r10, %rdx
movq 0x30(%rcx,%rdx), %rdx
movq %r10, %rcx
shlq $0x5, %rcx
addq %r15, %rcx
movl (%r14), %r9d
subq $0x8, %rsp
movq %r13, %rdi
movq 0x18(%rsp), %rsi
pushq %r12
pushq %rbp
pushq %r10
pushq 0x20(%rsp)
pushq %rax
callq 0x1f89ba
addq $0x30, %rsp
cmpl $0x0, (%r12)
jne 0x1f9470
addq $0x28, %r14
decq %rbx
jne 0x1f93fb
movq %r13, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f8e0c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: poa_g_arc_w(poa_g_t*, unsigned int, unsigned int)
uint32_t poa_g_arc_w(poa_g_t *pg, uint32_t v, uint32_t w)
{
    poa_arc_t *av; uint32_t an, k;
    an = poa_arc_n(pg, v); av = poa_arc_a(pg, v);
    for (k = 0; k < an; k++) {
        if(av[k].v == w) return (uint32_t)av[k].ul;
    }
    return 0;
}

// Assembly:
movq 0x40(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rcx
xorl %eax, %eax
testl %ecx, %ecx
je 0x1f9c49
movq 0x28(%rdi), %rsi
movq %rcx, %rdi
shrq $0x20, %rdi
shlq $0x4, %rdi
addq %rdi, %rsi
addq $0x8, %rsi
cmpl %edx, (%rsi)
je 0x1f9c4a
addq $0x10, %rsi
decl %ecx
jne 0x1f9c3d
retq
movl -0x8(%rsi), %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: get_ul_o(ul2ul_idx_t*, unsigned int, unsigned int, unsigned int, unsigned int)
ul2ul_t *get_ul_o(ul2ul_idx_t *idx, uint32_t qid, uint32_t is_q_ul, uint32_t tid, uint32_t is_t_ul)
{
    ul2ul_item_t *z = get_ul_ovlp(idx, qid, is_q_ul); uint64_t k;
    if(!is_t_ul) tid += idx->uln;
    for (k = 0; k < z->n; k++) {
        if(z->a[k].hid == tid) return &(z->a[k]);
    }
    return NULL;
}

// Assembly:
movl %esi, %eax
testl %edx, %edx
jne 0x1faee4
addq 0x18(%rdi), %rax
movq 0x30(%rdi), %rdx
movl (%rdx,%rax,4), %eax
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpq %rdx, %rax
je 0x1faefe
shlq $0x5, %rax
addq (%rdi), %rax
jmp 0x1faf00
xorl %eax, %eax
testl %r8d, %r8d
jne 0x1faf08
addl 0x18(%rdi), %ecx
movq 0x8(%rax), %rdx
testq %rdx, %rdx
je 0x1faf21
movq (%rax), %rax
cmpl %ecx, (%rax)
je 0x1faf23
addq $0x28, %rax
decq %rdx
jne 0x1faf14
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: integer_normalize_ovlp_purge(ul_resolve_t*, unsigned int, ul2ul_item_t*, ul2ul_idx_t*)
void integer_normalize_ovlp_purge(ul_resolve_t *uidx, uint32_t qid, ul2ul_item_t *o, ul2ul_idx_t *ul2)
{
    if(o->is_del) return;
    ul2ul_t *z; uint64_t k, is_del;
    for (k = is_del = 0; k < o->n; k++) {
        if(o->a[k].is_del) continue;
        z = get_ul_o(ul2, o->a[k].hid, 1, qid, 1);
        if((!z) || (z->is_del)) {
            o->a[k].is_del = 1; is_del++;
        } 
    }

    if(is_del) {
        for (k = o->cn = 0; k < o->n; k++) {
            if(o->a[k].is_del) o->a[k].hid |= ((uint32_t)(0x80000000));
            else o->cn++;
        }

        radix_sort_ul2ul_srt(o->a, o->a + o->n);

        for (k = 0; k < o->n; k++) {
            if(o->a[k].hid&((uint32_t)(0x80000000))) {
                o->a[k].hid -= ((uint32_t)(0x80000000));
            }
        }
    }

    if(o->cn == 0) o->is_del = 1;
}

// Assembly:
cmpl $0x0, 0x18(%rdx)
js 0x1fb996
pushq %rbx
movq %rdx, %rbx
movq 0x8(%rdx), %r8
testq %r8, %r8
je 0x1fb928
xorl %eax, %eax
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %edi, %edi
movq (%rbx), %r8
leaq (%rdi,%rdi,4), %r9
testb $0x40, 0x24(%r8,%r9,8)
jne 0x1fb914
leaq (%r8,%r9,8), %r10
movl (%r10), %r10d
movq 0x30(%rcx), %r11
movl (%r11,%r10,4), %r10d
cmpq %rdx, %r10
je 0x1fb8df
shlq $0x5, %r10
addq (%rcx), %r10
jmp 0x1fb8e2
xorl %r10d, %r10d
movq 0x8(%r10), %r11
testq %r11, %r11
je 0x1fb8fc
movq (%r10), %r10
cmpl %esi, (%r10)
je 0x1fb8ff
addq $0x28, %r10
decq %r11
jne 0x1fb8ee
xorl %r10d, %r10d
testq %r10, %r10
je 0x1fb90b
testb $0x40, 0x24(%r10)
je 0x1fb914
orb $0x40, 0x24(%r8,%r9,8)
incq %rax
incq %rdi
movq 0x8(%rbx), %r8
cmpq %r8, %rdi
jb 0x1fb8b3
testq %rax, %rax
sete %al
jmp 0x1fb92a
movb $0x1, %al
testb %al, %al
jne 0x1fb98b
movl $0x0, 0x1c(%rbx)
testq %r8, %r8
je 0x1fb958
movq (%rbx), %rax
movq %r8, %rcx
testb $0x40, 0x24(%rax)
jne 0x1fb94b
incl 0x1c(%rbx)
jmp 0x1fb94f
orb $-0x80, 0x3(%rax)
addq $0x28, %rax
decq %rcx
jne 0x1fb940
movq (%rbx), %rdi
leaq (%r8,%r8,4), %rax
leaq (%rdi,%rax,8), %rsi
callq 0x1e433f
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x1fb98b
movq (%rbx), %rcx
movl (%rcx), %edx
testl %edx, %edx
jns 0x1fb982
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movl %edx, (%rcx)
addq $0x28, %rcx
decq %rax
jne 0x1fb974
cmpl $0x0, 0x1c(%rbx)
jne 0x1fb995
orb $-0x80, 0x1b(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: integer_node_del(ul2ul_idx_t*, unsigned long, unsigned long)
void integer_node_del(ul2ul_idx_t *ul2, uint64_t id, uint64_t is_ct)
{
    ul2ul_item_t *o = get_ul_ovlp(ul2, ulg_id(*ul2, id), ulg_type(*ul2, id));
    if(o) {
        uint64_t k; ul2ul_t *z;
        for (k = 0; k < o->cn; k++) {
            if(is_ct) o->a[k].is_ct = 1;
            else o->a[k].is_del = 1;
            z = get_ul_o(ul2, ulg_id(*ul2, o->a[k].hid), ulg_type(*ul2, o->a[k].hid), ulg_id(*ul2, id), ulg_type(*ul2, id));
            if(is_ct) z->is_ct = 1;
            else z->is_del = 1;
        }
        o->is_del = 1;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x30(%rdi), %rax
movl (%rax,%rsi,4), %r15d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %rax, %r15
je 0x1fbf0d
shlq $0x5, %r15
addq (%r14), %r15
jmp 0x1fbf10
xorl %r15d, %r15d
testq %r15, %r15
je 0x1fbf8b
cmpl $0x0, 0x1c(%r15)
je 0x1fbf86
testq %rdx, %rdx
movl $0x40, %eax
movl $0x80, %ebp
cmovel %eax, %ebp
xorl %r13d, %r13d
xorl %r12d, %r12d
movq (%r15), %rax
orb %bpl, 0x24(%rax,%r13)
movq (%r15), %rax
movl (%rax,%r13), %esi
movq 0x18(%r14), %rax
xorl %edx, %edx
cmpq %rsi, %rax
movl %eax, %ecx
movl $0x0, %edi
cmoval %edi, %ecx
seta %dl
subl %ecx, %esi
xorl %r8d, %r8d
cmpq %rbx, %rax
cmoval %edi, %eax
seta %r8b
movl %ebx, %ecx
subl %eax, %ecx
movq %r14, %rdi
callq 0x1faeda
orb %bpl, 0x24(%rax)
incq %r12
movl 0x1c(%r15), %eax
addq $0x28, %r13
cmpq %rax, %r12
jb 0x1fbf32
orb $-0x80, 0x1b(%r15)
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/gfa_ut.cpp
// Function: gen_integer_normalize(ul_resolve_t*)
void gen_integer_normalize(ul_resolve_t *uidx) 
{
    uint64_t k; ul2ul_idx_t *u2o = &(uidx->uovl); ul2ul_item_t *it;
    for (k = 0; k < u2o->uln; k++) {
        it = get_ul_ovlp(u2o, k, 1);
        if(!it) continue;
        assert(uidx->pstr.str.a[k].cn > 1);
        if(it->is_del) continue;
        integer_normalize_ovlp(uidx, k, it, u2o);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpq $0x0, 0x208(%rdi)
je 0x1fc367
movq %rdi, %rbx
leaq 0x1f0(%rdi), %r14
movl $0x18, %r12d
xorl %r15d, %r15d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x220(%rbx), %rax
movl (%rax,%r15,4), %edx
cmpq %r13, %rdx
je 0x1fc32e
shlq $0x5, %rdx
addq (%r14), %rdx
jmp 0x1fc330
xorl %edx, %edx
testq %rdx, %rdx
je 0x1fc357
movq 0x1d0(%rbx), %rax
testl $0x7ffffffe, (%rax,%r12) # imm = 0x7FFFFFFE
je 0x1fc371
cmpl $0x0, 0x18(%rdx)
js 0x1fc357
movl %r15d, %esi
movq %r14, %rcx
callq 0x1fb514
incq %r15
addq $0x20, %r12
cmpq 0x208(%rbx), %r15
jb 0x1fc315
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x3f0fb(%rip), %rdi     # 0x23b473
leaq 0x3cfa6(%rip), %rsi     # 0x239325
leaq 0x3f108(%rip), %rcx     # 0x23b48e
movl $0x1b46, %edx           # imm = 0x1B46
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: dd_path_connect(asg_t*, ul_str_t*)
uint64_t dd_path_connect(asg_t *g, ul_str_t *str)
{
    if(str->cn < 2) return 1;///actually should return 1, doesn't matter
    uint64_t i, v, w, nv, k; asg_arc_t *av;
    v = ((uint32_t)str->a[0]);
    for (i = 1; i < str->cn; i++) {
        w = ((uint32_t)str->a[i]);

        nv = asg_arc_n(g, v); av = asg_arc_a(g, v);
        for (k = 0; k < nv; k++) {
            if(av[k].del) continue;
            if(av[k].v == w) break;
        }
        if(k >= nv) return 0;

        nv = asg_arc_n(g, w^1); av = asg_arc_a(g, w^1);
        for (k = 0; k < nv; k++) {
            if(av[k].del) continue;
            if(av[k].v == (v^1)) break;
        }
        if(k >= nv) return 0;

        v = w;
    }
    return 1;
}

// Assembly:
movl 0x18(%rsi), %ecx
movl $0x1, %eax
testl $0x7ffffffe, %ecx       # imm = 0x7FFFFFFE
je 0x1fc4ba
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpl $0x2, %ecx
jb 0x1fc4ba
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x10(%rsi), %rdx
movl (%rdx), %r10d
movq 0x8(%rdi), %rsi
movq 0x28(%rdi), %rdi
addq $0xc, %rsi
movl $0x1, %r8d
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
movq (%rdi,%r10,8), %r15
movq %r15, %rax
andq %r9, %rax
setne %bl
je 0x1fc4af
movl (%rdx,%r8,8), %r11d
shrq $0x20, %r15
movq %rax, %r14
negq %r14
leaq (%r15,%r15,2), %r15
leaq (%rsi,%r15,8), %r15
movl $0x1, %r12d
cmpl $0x0, (%r15)
js 0x1fc416
cmpl %r11d, -0x4(%r15)
je 0x1fc432
cmpq %rax, %r12
setb %bl
leaq (%r14,%r12), %r13
incq %r13
incq %r12
addq $0x18, %r15
cmpq $0x1, %r13
jne 0x1fc40a
jmp 0x1fc4af
testb $0x1, %bl
je 0x1fc4af
movq %r11, %rax
xorq $0x1, %rax
movq (%rdi,%rax,8), %r15
movq %r15, %rax
andq %r9, %rax
setne %bl
je 0x1fc4af
shrq $0x20, %r15
movq %rax, %r14
negq %r14
leaq (%r15,%r15,2), %r15
leaq (%rsi,%r15,8), %r15
movl $0x1, %r12d
cmpl $0x0, (%r15)
js 0x1fc478
movl -0x4(%r15), %r13d
xorq %r10, %r13
cmpq $0x1, %r13
je 0x1fc494
cmpq %rax, %r12
setb %bl
leaq (%r14,%r12), %r13
incq %r13
incq %r12
addq $0x18, %r15
cmpq $0x1, %r13
jne 0x1fc465
jmp 0x1fc4af
testb $0x1, %bl
je 0x1fc4af
incq %r8
movl $0x1, %eax
movq %r11, %r10
cmpq %rcx, %r8
jne 0x1fc3db
jmp 0x1fc4b1
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: clean_srt_integer(ul_resolve_t*, unsigned int, ul2ul_item_t*, ul2ul_idx_t*)
void clean_srt_integer(ul_resolve_t *uidx, uint32_t qid, ul2ul_item_t *o, ul2ul_idx_t *ul2)
{
    uint64_t k, l, i, m; ul2ul_t *p;
    radix_sort_ul2ul_srt(o->a, o->a + o->n);
    for(k = 1, l = m = o->cn = 0; k <= o->n; k++) {
        if(k == o->n || o->a[k].hid != o->a[l].hid) {
            for (i = l, p = &(o->a[l]); i < k; i++) {
                if(((p->is_del) && (!o->a[i].is_del)) || 
                            ((o->a[i].qe - o->a[i].qs + o->a[i].te - o->a[i].ts) > (p->qe - p->qs + p->te - p->ts))) {
                    p = &(o->a[i]);
                }
            }
            if(!(p->is_del)) o->cn++;
            o->a[m++] = *p;
            l = k;
        }
    }
    o->n = m;
    if(o->n == o->cn) return;

    for (k = o->cn = 0; k < o->n; k++) {
        if(o->a[k].is_del) o->a[k].hid |= ((uint32_t)(0x80000000));
        else o->cn++;
    }
    radix_sort_ul2ul_srt(o->a, o->a + o->n);

    for (k = 0; k < o->n; k++) {
        if(o->a[k].hid&((uint32_t)(0x80000000))) {
            o->a[k].hid -= ((uint32_t)(0x80000000));
        }
    }
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
movq (%rdx), %rdi
movq 0x8(%rdx), %rax
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,8), %rsi
callq 0x1e433f
movl $0x0, 0x1c(%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x1fca0f
movl $0x1, %ecx
xorl %eax, %eax
xorl %edx, %edx
cmpq %rsi, %rcx
je 0x1fc976
movq (%rbx), %rsi
leaq (%rcx,%rcx,4), %rdi
movl (%rsi,%rdi,8), %edi
leaq (%rdx,%rdx,4), %r8
cmpl (%rsi,%r8,8), %edi
je 0x1fc9fd
movq (%rbx), %rsi
leaq (%rdx,%rdx,4), %r8
leaq (%rsi,%r8,8), %rdi
cmpq %rcx, %rdx
jae 0x1fc9d1
leaq (%rsi,%r8,8), %r8
testb $0x40, 0x24(%rdi)
je 0x1fc997
testb $0x40, 0x24(%r8)
je 0x1fc9c2
movl 0x8(%r8), %r9d
addl 0x10(%r8), %r9d
movl 0x4(%r8), %r10d
addl 0xc(%r8), %r10d
subl %r10d, %r9d
movl 0x4(%rdi), %r10d
movl 0x8(%rdi), %r11d
addl 0x10(%rdi), %r11d
addl 0xc(%rdi), %r10d
subl %r10d, %r11d
cmpl %r11d, %r9d
jbe 0x1fc9c5
movq %r8, %rdi
incq %rdx
addq $0x28, %r8
cmpq %rdx, %rcx
jne 0x1fc98a
testb $0x40, 0x24(%rdi)
jne 0x1fc9da
incl 0x1c(%rbx)
leaq (%rax,%rax,4), %rdx
incq %rax
movq 0x20(%rdi), %r8
movq %r8, 0x20(%rsi,%rdx,8)
movups (%rdi), %xmm0
movups 0x10(%rdi), %xmm1
movups %xmm1, 0x10(%rsi,%rdx,8)
movups %xmm0, (%rsi,%rdx,8)
movq %rcx, %rdx
incq %rcx
movq 0x8(%rbx), %rsi
cmpq %rsi, %rcx
jbe 0x1fc959
jmp 0x1fca11
xorl %eax, %eax
movq %rax, 0x8(%rbx)
movl 0x1c(%rbx), %ecx
cmpq %rcx, %rax
je 0x1fca7a
movl $0x0, 0x1c(%rbx)
testq %rax, %rax
je 0x1fca47
movq (%rbx), %rcx
movq %rax, %rdx
testb $0x40, 0x24(%rcx)
jne 0x1fca3a
incl 0x1c(%rbx)
jmp 0x1fca3e
orb $-0x80, 0x3(%rcx)
addq $0x28, %rcx
decq %rdx
jne 0x1fca2f
movq (%rbx), %rdi
leaq (%rax,%rax,4), %rax
leaq (%rdi,%rax,8), %rsi
callq 0x1e433f
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x1fca7a
movq (%rbx), %rcx
movl (%rcx), %edx
testl %edx, %edx
jns 0x1fca71
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movl %edx, (%rcx)
addq $0x28, %rcx
decq %rax
jne 0x1fca63
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: chimeric_integer_deal(ul_resolve_t*)
void chimeric_integer_deal(ul_resolve_t *uidx)
{
    uint64_t k; ul2ul_idx_t *u2o = &(uidx->uovl); ul2ul_item_t *it;
    kt_for(uidx->str_b.n_thread, worker_detect_chimeric, uidx, uidx->idx->n);
    for (k = 0; k < u2o->uln; k++) {
        it = get_ul_ovlp(u2o, k, 1);
        if(!it) continue;
        assert(uidx->pstr.str.a[k].cn > 1);
        integer_normalize_ovlp_purge(uidx, k, it, u2o);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl 0x1e0(%rdi), %edi
movq 0x30(%rbx), %rax
movq 0x50(%rax), %rcx
leaq 0x9d(%rip), %rsi        # 0x1fcb3a
movq %rbx, %rdx
callq 0x1047b4
cmpq $0x0, 0x208(%rbx)
je 0x1fcb11
leaq 0x1f0(%rbx), %r14
movl $0x18, %r12d
xorl %r15d, %r15d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x220(%rbx), %rax
movl (%rax,%r15,4), %edx
cmpq %r13, %rdx
je 0x1fcade
shlq $0x5, %rdx
addq (%r14), %rdx
jmp 0x1fcae0
xorl %edx, %edx
testq %rdx, %rdx
je 0x1fcb01
movq 0x1d0(%rbx), %rax
testl $0x7ffffffe, (%rax,%r12) # imm = 0x7FFFFFFE
je 0x1fcb1b
movl %r15d, %esi
movq %r14, %rcx
callq 0x1fb893
incq %r15
addq $0x20, %r12
cmpq 0x208(%rbx), %r15
jb 0x1fcac5
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x3e951(%rip), %rdi     # 0x23b473
leaq 0x3c7fc(%rip), %rsi     # 0x239325
leaq 0x3ea00(%rip), %rcx     # 0x23b530
movl $0x1c34, %edx           # imm = 0x1C34
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: worker_detect_chimeric(void*, long, int)
static void worker_detect_chimeric(void *data, long i, int tid) // callback for kt_for()
{
    ul_resolve_t *uidx = (ul_resolve_t *)data;
    integer_ml_t *sl = &(uidx->str_b); 
    integer_t *buf = &(sl->buf[tid]);
    ul2ul_item_t *it = get_ul_ovlp(&(uidx->uovl), i, 1);
    if(!it) return;
    assert(uidx->pstr.str.a[i].cn > 1);
    if(it->is_del) return;
    clip_integer_chimeric(uidx, i, it, &(uidx->uovl), buf, 1);
}

// Assembly:
movl %edx, %eax
movq 0x220(%rdi), %rcx
movl (%rcx,%rsi,4), %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rdx
je 0x1fcb5d
shlq $0x5, %rdx
addq 0x1f0(%rdi), %rdx
jmp 0x1fcb5f
xorl %edx, %edx
testq %rdx, %rdx
je 0x1fcb9e
movq 0x1d0(%rdi), %rcx
movq %rsi, %r8
shlq $0x5, %r8
testl $0x7ffffffe, 0x18(%rcx,%r8) # imm = 0x7FFFFFFE
je 0x1fcb9f
cmpl $0x0, 0x18(%rdx)
js 0x1fcb9e
cltq
imulq $0x328, %rax, %r8       # imm = 0x328
addq 0x1d8(%rdi), %r8
movl $0x1, %r9d
jmp 0x1fc4bb
retq
pushq %rax
leaq 0x41627(%rip), %rdi     # 0x23e1ce
leaq 0x3c777(%rip), %rsi     # 0x239325
leaq 0x41634(%rip), %rcx     # 0x23e1e9
movl $0x1c27, %edx           # imm = 0x1C27
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_primary_ul_chain(ul_str_t*, ul_vec_t*, ma_ug_t*)
void print_primary_ul_chain(ul_str_t *p_str, ul_vec_t *ul, ma_ug_t *ug)
{
    uc_block_t *z; uint64_t k, dd = 0;
    if(p_str) {
        for (k = 0; k < p_str->cn; k++) {
            z = &(ul->bb.a[p_str->a[k]>>32]);
            fprintf(stderr, "[M::%s::pk->%lu] utg%.6d%c(%c::len->%u), qs::%u, qe::%u, ts::%u, te::%u\n", __func__, k,
                    z->hid+1, "lc"[ug->u.a[z->hid].circ], "+-"[z->rev], ug->u.a[z->hid].len, 
                    z->qs, z->qe, z->ts, z->te);
            dd++;
        }
    } else {
        for (k = 0; k < ul->bb.n; k++) {
            z = &(ul->bb.a[k]);
            if(!z->pchain) continue;
            fprintf(stderr, "[M::%s::rk->%lu] utg%.6d%c(%c::len->%u), qs::%u, qe::%u, ts::%u, te::%u\n", __func__, k,
                    z->hid+1, "lc"[ug->u.a[z->hid].circ], "+-"[z->rev], ug->u.a[z->hid].len, 
                    z->qs, z->qe, z->ts, z->te);
            dd++;
        }
    }

    if(dd) fprintf(stderr, "*******************************************\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
testq %rdi, %rdi
je 0x1fcbf6
movq %rdi, %rsi
testl $0x7fffffff, 0x18(%rdi) # imm = 0x7FFFFFFF
je 0x1fccd5
leaq 0x18(%rsi), %rcx
movq %r14, %rdi
callq 0x2fd23
jmp 0x1fcce4
cmpq $0x0, 0x20(%r14)
je 0x1fccd5
xorl %r15d, %r15d
xorl %esi, %esi
xorl %r13d, %r13d
movq %rdx, (%rsp)
movq 0x30(%r14), %rax
movzbl 0x20(%rax,%r15), %ecx
testb $0x1f, %cl
jne 0x1fcc2e
incq %r13
addq $0x24, %r15
cmpq 0x20(%r14), %r13
jb 0x1fcc0d
jmp 0x1fccd0
movq %rsi, 0x10(%rsp)
movq 0x8d3a6(%rip), %rsi     # 0x289fe0
movq (%rsi), %rdi
movl (%rax,%r15), %r9d
movl 0x4(%rax,%r15), %esi
movq %rsi, 0x8(%rsp)
leal 0x1(%r9), %r8d
movq 0x10(%rdx), %rsi
leaq (%r9,%r9,4), %r9
movl (%rsi,%r9,8), %r11d
movl %r11d, %esi
shrl $0x1f, %esi
leaq 0x2b9c3(%rip), %rdx     # 0x22862b
movsbl (%rsi,%rdx), %r9d
btl $0x5, %ecx
leaq 0x2954b(%rip), %rcx     # 0x2261c3
adcq $0x0, %rcx
movsbl (%rcx), %r12d
andl $0x7fffffff, %r11d      # imm = 0x7FFFFFFF
movl 0x8(%rax,%r15), %ebx
movl 0xc(%rax,%r15), %ebp
movl 0x10(%rax,%r15), %r10d
leaq 0x3e91e(%rip), %rsi     # 0x23b5bb
leaq 0x3e900(%rip), %rdx     # 0x23b5a4
movq %r13, %rcx
xorl %eax, %eax
pushq %r10
pushq %rbp
pushq %rbx
pushq 0x20(%rsp)
pushq %r11
pushq %r12
callq 0x22b0
movq 0x40(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq $0x30, %rsp
incq %rsi
jmp 0x1fcc1c
testq %rsi, %rsi
jne 0x1fcce4
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x2fe0d
jmp 0x1fccd5
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: double_check_gconnect(asg_t*, unsigned int, unsigned int, unsigned int)
uint32_t double_check_gconnect(asg_t *g, uint32_t v, uint32_t w, uint32_t v2w_d)
{
    asg_arc_t *av = asg_arc_a(g, v); uint32_t nv = asg_arc_n(g, v), k;
    for (k = 0; k < nv; k++) {
        if(av[k].del) continue;
        if(av[k].v == w) break;
    }
    if(k < nv) return 1;
    return 0;
}

// Assembly:
movq 0x28(%rdi), %rax
movl %esi, %ecx
movq (%rax,%rcx,8), %rcx
movq %rcx, %rax
shlq $0x20, %rax
setne %al
je 0x1fcfd8
movq 0x8(%rdi), %rsi
movq %rcx, %rdi
shrq $0x20, %rdi
movl %ecx, %ecx
leaq (%rdi,%rdi,2), %rdi
leaq (%rsi,%rdi,8), %rsi
addq $0xc, %rsi
movq %rcx, %rdi
negq %rdi
movl $0x1, %r8d
cmpl $0x0, (%rsi)
js 0x1fcfbe
cmpl %edx, -0x4(%rsi)
je 0x1fcfd8
cmpq %rcx, %r8
setb %al
addq $0x18, %rsi
leaq (%rdi,%r8), %r9
incq %r9
incq %r8
cmpq $0x1, %r9
jne 0x1fcfb4
movzbl %al, %eax
andl $0x1, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: clean_ul_re_correct_buf(ul_resolve_t*, unsigned long, unsigned long*)
uint64_t clean_ul_re_correct_buf(ul_resolve_t *uidx, uint64_t clean_dump, uint64_t *tot_circle)
{
    uint64_t k, occ, n_circle;
    for (k = occ = n_circle = 0; k < uidx->str_b.n_thread; k++) {
        occ += uidx->str_b.buf[k].n_correct; 
        n_circle += uidx->str_b.buf[k].n_circle;
        uidx->str_b.buf[k].n_correct = 0;
        uidx->str_b.buf[k].n_circle = 0;
        if(clean_dump) uidx->str_b.buf[k].res_dump.n = 0;
        uidx->str_b.buf[k].q.n = 0;
        uidx->str_b.buf[k].t.n = 0;
        uidx->str_b.buf[k].b.n = 0;
        uidx->str_b.buf[k].f.n = 0;
        uidx->str_b.buf[k].p.n = 0;
        uidx->str_b.buf[k].o.n = 0;
        uidx->str_b.buf[k].u.n = 0;
        uidx->str_b.buf[k].vis.n = 0;
        uidx->str_b.buf[k].sc.n = 0;
        uidx->str_b.buf[k].snp.n = 0;
    }
    (*tot_circle) = n_circle;
    return occ;
}

// Assembly:
movq 0x1e0(%rdi), %rcx
testq %rcx, %rcx
je 0x1fdd10
movq 0x1d8(%rdi), %rdi
xorl %r8d, %r8d
xorps %xmm0, %xmm0
xorl %r9d, %r9d
xorl %eax, %eax
addq 0x318(%rdi), %rax
addq 0x320(%rdi), %r9
movups %xmm0, 0x318(%rdi)
testq %rsi, %rsi
je 0x1fdccf
movq $0x0, 0x300(%rdi)
movq %r8, (%rdi)
movq %r8, 0x18(%rdi)
movq %r8, 0x30(%rdi)
movq %r8, 0x48(%rdi)
movq %r8, 0x60(%rdi)
movq %r8, 0x78(%rdi)
movq %r8, 0x90(%rdi)
movq %r8, 0xa8(%rdi)
movq %r8, 0xc0(%rdi)
movq %r8, 0xd8(%rdi)
addq $0x328, %rdi            # imm = 0x328
decq %rcx
jne 0x1fdcaa
jmp 0x1fdd15
xorl %eax, %eax
xorl %r9d, %r9d
movq %r9, (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: rebuid_idx(ul_resolve_t*)
void rebuid_idx(ul_resolve_t *uidx)
{
    uint32_t k;
    free(uidx->idx->ridx.idx.a); free(uidx->idx->ridx.occ.a); 
    memset(&(uidx->idx->ridx), 0, sizeof((uidx->idx->ridx)));
    filter_ul_ug(uidx->l1_ug);
	gen_ul_vec_rid_t(uidx->idx, NULL, uidx->l1_ug);
    update_ug_arch_ul_mul(uidx->l1_ug);

    free(uidx->pstr.idx.a); free(uidx->pstr.occ.a); 
    for (k = 0; k < uidx->pstr.str.n; k++) {
        free(uidx->pstr.str.a[k].a);
    }
    free(uidx->pstr.str.a); 
    memset(&(uidx->pstr), 0, sizeof(uidx->pstr));
    init_ul_str_idx_t(uidx);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x30(%rdi), %rax
movq 0x28(%rax), %rdi
callq 0x2220
movq 0x30(%rbx), %rax
movq 0x40(%rax), %rdi
callq 0x2220
movq 0x30(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x18(%rax)
movq 0x18(%rbx), %rdi
callq 0x1d6fee
movq 0x18(%rbx), %rdx
movq 0x30(%rbx), %rdi
xorl %esi, %esi
callq 0x1d6bbe
movq 0x18(%rbx), %rdi
callq 0x1d6db6
movq 0x1a0(%rbx), %rdi
callq 0x2220
movq 0x1b8(%rbx), %rdi
callq 0x2220
cmpq $0x0, 0x1c0(%rbx)
je 0x1fddb8
movl $0x1, %ebp
xorl %eax, %eax
movq 0x1d0(%rbx), %rcx
shlq $0x5, %rax
movq 0x10(%rcx,%rax), %rdi
callq 0x2220
movl %ebp, %eax
incl %ebp
cmpq %rax, 0x1c0(%rbx)
ja 0x1fdd96
movq 0x1d0(%rbx), %rdi
callq 0x2220
xorps %xmm0, %xmm0
movups %xmm0, 0x1c0(%rbx)
movups %xmm0, 0x1b0(%rbx)
movups %xmm0, 0x1a0(%rbx)
movups %xmm0, 0x190(%rbx)
movq $0x0, 0x1d0(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1f2dbb
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: shrink_1b(ma_ug_t*, uc_block_t*, uc_block_t*, unsigned int)
void shrink_1b(ma_ug_t *ug, uc_block_t *z, uc_block_t *lim, uint32_t is_forward)
{
    if(z->ts != 0 || z->te != ug->g->seq[z->hid].len) return;
    uc_block_t bc = *z;
    if(z->ts + 1 < z->te && z->qs + 1 < z->qe) {
        uint32_t off = get_offset_adjust(1, z->te-z->ts, z->qe-z->qs);
        if(is_forward) {
            if((!z->rev)) {
                z->ts += 1; z->qs += off;
            } else {
                z->te -= 1; z->qs += off;
            }
            if((lim) && (!((z->qs <= lim->qs) && (z->qe <= lim->qe)))) *z = bc;
        } else {
            if((!z->rev)) {
                z->te -= 1; z->qe -= off;
            } else {
                z->ts += 1; z->qe -= off;
            }
            if((lim) && (!((z->qs >= lim->qs) && (z->qe >= lim->qe)))) *z = bc;
        }
        if((ugl_cover_check(bc.ts, bc.te, &(ug->u.a[bc.hid]))) && 
                                            (!ugl_cover_check(z->ts, z->te, &(ug->u.a[z->hid])))) {
            *z = bc;
        }
    }
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0xc(%rsi), %r14d
testq %r14, %r14
jne 0x1fdf5f
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %r13d
movl 0x10(%rsi), %r15d
movq 0x18(%rdi), %rax
movq 0x20(%rax), %rax
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl (%rax,%r13,8), %esi
cmpl %esi, %r15d
jne 0x1fdf5f
movq 0x4(%rbx), %rbp
movupd 0x14(%rbx), %xmm0
movapd %xmm0, (%rsp)
cmpl $0x2, %r15d
jb 0x1fdf5f
movl 0x4(%rbx), %esi
movl 0x8(%rbx), %eax
leal 0x1(%rsi), %edi
cmpl %eax, %edi
jae 0x1fdf5f
movl %r15d, %edi
subl %r14d, %edi
movl %eax, %r8d
subl %esi, %r8d
xorps %xmm0, %xmm0
cvtsi2sd %rdi, %xmm0
movsd 0x273ed(%rip), %xmm1    # 0x225270
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2sd %r8, %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %rdi
movb 0x20(%rbx), %r8b
testl %ecx, %ecx
je 0x1fdeaf
testb $0x20, %r8b
jne 0x1fdebe
movl $0x1, 0xc(%rbx)
jmp 0x1fdec5
testb $0x20, %r8b
jne 0x1fdedb
leal -0x1(%r15), %ecx
movl %ecx, 0x10(%rbx)
jmp 0x1fdee2
leal -0x1(%r15), %ecx
movl %ecx, 0x10(%rbx)
addl %edi, %esi
movl %esi, 0x4(%rbx)
testq %rdx, %rdx
je 0x1fdf02
cmpl 0x4(%rdx), %esi
ja 0x1fdef6
cmpl 0x8(%rdx), %eax
ja 0x1fdef6
jmp 0x1fdf02
movl $0x1, 0xc(%rbx)
subl %edi, %eax
movl %eax, 0x8(%rbx)
testq %rdx, %rdx
je 0x1fdf02
cmpl 0x4(%rdx), %esi
jb 0x1fdef6
cmpl 0x8(%rdx), %eax
jae 0x1fdf02
movq %rbp, 0x4(%rbx)
movl %r14d, 0xc(%rbx)
movl %r15d, 0x10(%rbx)
leaq (,%r13,4), %rdx
addq %r13, %rdx
shlq $0x3, %rdx
addq 0x10(%r12), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1d6d45
testl %eax, %eax
je 0x1fdf5f
movl (%rbx), %eax
movl 0xc(%rbx), %edi
movl 0x10(%rbx), %esi
leaq (%rax,%rax,4), %rdx
shlq $0x3, %rdx
addq 0x10(%r12), %rdx
callq 0x1d6d45
testl %eax, %eax
jne 0x1fdf5f
leaq 0x14(%rbx), %rax
movl %r13d, (%rbx)
movq %rbp, 0x4(%rbx)
movl %r14d, 0xc(%rbx)
movl %r15d, 0x10(%rbx)
movapd (%rsp), %xmm0
movupd %xmm0, (%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: shrink_uls(ul_resolve_t*)
void shrink_uls(ul_resolve_t *uidx)
{
    all_ul_t *uls = uidx->idx; uint64_t k, ul_n = uls->n; 
    for (k = 0; k < ul_n; k++) {
        // fprintf(stderr, "+[M::%s::k->%lu] ul_n::%lu, uls->n::%u\n", __func__, k, ul_n, uls->n);
        shrink_ul0(uls, &(uidx->pstr.str.a[k]), k, &(uidx->str_b.buf[0]), uidx->l1_ug);
        // fprintf(stderr, "-[M::%s::k->%lu] ul_n::%lu, uls->n::%u\n", __func__, k, ul_n, uls->n);
    }
    rebuid_idx(uidx);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %r14
movq 0x50(%r14), %r12
testq %r12, %r12
je 0x1fe9d5
xorl %r13d, %r13d
xorl %r15d, %r15d
movq 0x1d0(%rbx), %rsi
addq %r13, %rsi
movq 0x18(%rbx), %r8
movq 0x1d8(%rbx), %rcx
movq %r14, %rdi
movq %r15, %rdx
callq 0x1fe180
incq %r15
addq $0x20, %r13
cmpq %r15, %r12
jne 0x1fe9a9
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1fdd19
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: worker_integer_update(void*, long, int)
static void worker_integer_update(void *data, long i, int tid) // callback for kt_for()
{
    ul_resolve_t *uidx = (ul_resolve_t *)data;
    integer_ml_t *sl = &(uidx->str_b); 
    integer_t *buf = &(sl->buf[i]);///normally should be buf = &(sl->buf[tid])
    uint64_t k, l;
    for (k = 0, l = (uint64_t)-1; k <= buf->res_dump.n; k++) {
        if(k == buf->res_dump.n || (buf->res_dump.a[k]&((uint64_t)(0xffffffff))) == ((uint64_t)(0xffffffff))) {
            if(l != (uint64_t)-1 && k - l > 1) {
                update_integer_seq(uidx, buf, buf->res_dump.a[l]>>32, buf->res_dump.a + l + 1, k - l - 1, tid);
            }
            l = k;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x1d8(%rdi), %rax
imulq $0x328, %rsi, %rcx      # imm = 0x328
leaq (%rax,%rcx), %r14
movq 0x300(%rax,%rcx), %rax
movq $-0x1, %r8
xorl %r15d, %r15d
cmpq %rax, %r15
je 0x1fea7f
movq 0x310(%r14), %rax
cmpl $-0x1, (%rax,%r15,8)
jne 0x1feabf
movq %r15, %rcx
cmpq $-0x1, %r8
je 0x1feac2
movq %r15, %rax
subq %r8, %rax
movq %r15, %rcx
cmpq $0x2, %rax
jb 0x1feac2
movq 0x310(%r14), %rax
leaq (%rax,%r8,8), %rcx
addq $0x8, %rcx
movl -0x4(%rcx), %edx
notq %r8
addq %r15, %r8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1fcfdf
movq %r15, %rcx
jmp 0x1feac2
movq %r8, %rcx
incq %r15
movq 0x300(%r14), %rax
movq %rcx, %r8
cmpq %rax, %r15
jbe 0x1fea6c
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: append_utg_es(ul_resolve_t*)
void append_utg_es(ul_resolve_t *uidx)
{
    uint64_t k; ul2ul_idx_t *u2o = &(uidx->uovl); ul2ul_item_t *it;
    for (k = 0; k < u2o->uln; k++) {
        it = get_ul_ovlp(u2o, k, 1);
        if(!it) continue;
        assert(uidx->pstr.str.a[k].cn > 1);
        integer_append_ug_ovlp(uidx, k, it, u2o);
    }

    kt_for(uidx->str_b.n_thread, worker_integert_clean, uidx, u2o->tot);///all ul + ug

    for (k = 0; k < u2o->tot; k++) {
        it = get_ul_ovlp(u2o, ulg_id(*u2o, k), ulg_type(*u2o, k));
        if(!it) continue;
        integer_normalize_ovlp(uidx, k, it, u2o);
    }

    kt_for(uidx->str_b.n_thread, worker_integert_clean, uidx, u2o->tot);///all ul + ug
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x1f0(%rdi), %r14
cmpq $0x0, 0x208(%rdi)
je 0x1feb59
movl $0x18, %r12d
xorl %r15d, %r15d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x220(%rbx), %rax
movl (%rax,%r15,4), %edx
cmpq %r13, %rdx
je 0x1feb1f
shlq $0x5, %rdx
addq (%r14), %rdx
jmp 0x1feb21
xorl %edx, %edx
testq %rdx, %rdx
je 0x1feb49
movq 0x1d0(%rbx), %rax
testl $0x7ffffffe, (%rax,%r12) # imm = 0x7FFFFFFE
je 0x1fec0b
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rcx
callq 0x1fb997
incq %r15
addq $0x20, %r12
cmpq 0x208(%rbx), %r15
jb 0x1feb06
movl 0x1e0(%rbx), %edi
movq 0x218(%rbx), %rcx
leaq 0xbd(%rip), %rsi        # 0x1fec2a
movq %rbx, %rdx
callq 0x1047b4
movq 0x218(%rbx), %rcx
testq %rcx, %rcx
je 0x1febed
xorl %r15d, %r15d
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq 0x208(%rbx), %rax
movl $0x0, %ecx
cmpq %rax, %r15
cmovaeq %rax, %rcx
jae 0x1feba7
movq %r15, %rax
subq %rcx, %rax
jmp 0x1febb4
movq 0x208(%rbx), %rax
subq %rcx, %rax
addq %r15, %rax
movq 0x220(%rbx), %rcx
movl (%rcx,%rax,4), %edx
cmpq %r12, %rdx
je 0x1febcc
shlq $0x5, %rdx
addq (%r14), %rdx
jmp 0x1febce
xorl %edx, %edx
testq %rdx, %rdx
je 0x1febde
movl %r15d, %esi
movq %r14, %rcx
callq 0x1fb514
incq %r15
movq 0x218(%rbx), %rcx
cmpq %rcx, %r15
jb 0x1feb8a
movl 0x1e0(%rbx), %edi
leaq 0x30(%rip), %rsi        # 0x1fec2a
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1047b4
leaq 0x3c861(%rip), %rdi     # 0x23b473
leaq 0x3a70c(%rip), %rsi     # 0x239325
leaq 0x3ccc5(%rip), %rcx     # 0x23b8e5
movl $0x1eef, %edx           # imm = 0x1EEF
callq 0x2110