LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/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
xorl %r8d, %r8d
xorps %xmm0, %xmm0
xorl %eax, %eax
xorl %r9d, %r9d
subq $0x1, %rcx
jb 0x1bcfb6
movq 0x1d8(%rdi), %r10
addq 0x318(%r10,%r8), %rax
addq 0x320(%r10,%r8), %r9
movups %xmm0, 0x318(%r10,%r8)
testq %rsi, %rsi
je 0x1bcf63
andq $0x0, 0x300(%r10,%r8)
andq $0x0, (%r10,%r8)
andq $0x0, 0x18(%r10,%r8)
andq $0x0, 0x30(%r10,%r8)
andq $0x0, 0x48(%r10,%r8)
andq $0x0, 0x60(%r10,%r8)
andq $0x0, 0x78(%r10,%r8)
andq $0x0, 0x90(%r10,%r8)
andq $0x0, 0xa8(%r10,%r8)
andq $0x0, 0xc0(%r10,%r8)
andq $0x0, 0xd8(%r10,%r8)
addq $0x328, %r8             # imm = 0x328
jmp 0x1bcf2b
movq %r9, (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
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 0x193fe3
movq 0x18(%rbx), %rdx
movq 0x30(%rbx), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
callq 0x193ac1
movq 0x18(%rbx), %rdi
callq 0x193c86
movq 0x1a0(%rbx), %rdi
callq 0x2220
movq 0x1b8(%rbx), %rdi
callq 0x2220
movl %r14d, %r14d
cmpq %r14, 0x1c0(%rbx)
jbe 0x1bd053
movq 0x1d0(%rbx), %rax
movq %r14, %rcx
shlq $0x5, %rcx
movq 0x10(%rax,%rcx), %rdi
callq 0x2220
incl %r14d
jmp 0x1bd02a
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)
andq $0x0, 0x1d0(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1b2376
// File: /workspace/github_cpp_makefile_star2_O2/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:
cmpl $0x0, 0xc(%rsi)
je 0x1bd09c
retq
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r15
movl (%rsi), %r12d
movl 0x10(%rsi), %r14d
movq 0x18(%rdi), %rax
movq 0x20(%rax), %rax
movl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
andl (%rax,%r12,8), %esi
cmpl %esi, %r14d
jne 0x1bd1d6
movq 0x4(%rbx), %r13
movupd 0x14(%rbx), %xmm0
movapd %xmm0, (%rsp)
cmpl $0x2, %r14d
jb 0x1bd1d6
movq %r13, %rax
shrq $0x20, %rax
leal 0x1(%r13), %esi
cmpl %eax, %esi
jae 0x1bd1d6
movl %eax, %esi
subl %r13d, %esi
cvtsi2sd %r14d, %xmm0
movsd 0x26193(%rip), %xmm1    # 0x1e32a0
divsd %xmm0, %xmm1
cvtsi2sd %rsi, %xmm0
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %rsi
movb 0x20(%rbx), %dil
testl %ecx, %ecx
je 0x1bd136
testb $0x20, %dil
jne 0x1bd145
movl $0x1, 0xc(%rbx)
jmp 0x1bd14c
testb $0x20, %dil
jne 0x1bd163
leal -0x1(%r14), %ecx
movl %ecx, 0x10(%rbx)
jmp 0x1bd16a
leal -0x1(%r14), %ecx
movl %ecx, 0x10(%rbx)
addl %r13d, %esi
movl %esi, 0x4(%rbx)
testq %rdx, %rdx
je 0x1bd18b
cmpl 0x4(%rdx), %esi
ja 0x1bd17f
cmpl %eax, 0x8(%rdx)
jb 0x1bd17f
jmp 0x1bd18b
movl $0x1, 0xc(%rbx)
subl %esi, %eax
movl %eax, 0x8(%rbx)
testq %rdx, %rdx
je 0x1bd18b
cmpl %r13d, 0x4(%rdx)
ja 0x1bd17f
cmpl 0x8(%rdx), %eax
jae 0x1bd18b
movq %r13, 0x4(%rbx)
andl $0x0, 0xc(%rbx)
movl %r14d, 0x10(%rbx)
imulq $0x28, %r12, %rdx
addq 0x10(%r15), %rdx
xorl %edi, %edi
movq %r14, %rsi
callq 0x193c23
testl %eax, %eax
je 0x1bd1d6
movl (%rbx), %eax
movl 0xc(%rbx), %edi
movl 0x10(%rbx), %esi
imulq $0x28, %rax, %rdx
addq 0x10(%r15), %rdx
callq 0x193c23
testl %eax, %eax
jne 0x1bd1d6
movl %r12d, (%rbx)
movq %r13, 0x4(%rbx)
andl $0x0, 0xc(%rbx)
leaq 0x14(%rbx), %rax
movl %r14d, 0x10(%rbx)
movapd (%rsp), %xmm0
movupd %xmm0, (%rax)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
xorl %r13d, %r13d
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x1bdbca
movq 0x1d0(%rbx), %rsi
addq %r13, %rsi
movq 0x18(%rbx), %r8
movq 0x1d8(%rbx), %rcx
movq %r14, %rdi
movq %r15, %rdx
callq 0x1bd3fe
incq %r15
addq $0x20, %r13
jmp 0x1bdb9c
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1bcfba
// File: /workspace/github_cpp_makefile_star2_O2/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 %rsi, %r14
shlq $0x5, %r14
addq 0x1d0(%rdi), %r14
movq 0x8(%rdi), %r15
movq 0x30(%rdi), %rax
movq 0x953da(%rip), %r12     # 0x252fe0
movq (%r12), %rdi
movq 0x10(%rax), %rax
movq %rsi, %rcx
shlq $0x4, %rcx
movl 0x8(%rax,%rcx), %edx
movq (%rax,%rcx), %rcx
leaq 0x33e9b(%rip), %rsi     # 0x1f1abf
xorl %eax, %eax
callq 0x22b0
leaq 0x265f1(%rip), %rbp     # 0x1e4223
leaq 0x33e94(%rip), %rbx     # 0x1f1acd
xorl %r13d, %r13d
movl 0x18(%r14), %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq (%r12), %rsi
cmpq %rax, %r13
jae 0x1bdc90
movq 0x10(%r14), %rax
movq (%rax,%r13,8), %rax
movl %eax, %ecx
shrl %ecx
leal 0x1(%rcx), %edx
movq 0x10(%r15), %rdi
imulq $0x28, %rcx, %rcx
movl (%rdi,%rcx), %ecx
shrl $0x1f, %ecx
leaq 0x28a19(%rip), %rdi     # 0x1e668b
movsbl (%rcx,%rdi), %ecx
andl $0x1, %eax
movsbl (%rax,%rbp), %r8d
movq %rsi, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22b0
incq %r13
jmp 0x1bdc3c
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_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: ul_re_correct(ul_resolve_t*, unsigned long)
void ul_re_correct(ul_resolve_t *uidx, uint64_t n_r)
{   
    // print_ul_seq(uidx, 2062); print_ul_seq(uidx, 2093);
    uint64_t k, occ, n_circle; ///uidx->str_b.n_thread = 1;
    for (k = 0; k < n_r; k++) {
        kt_for(uidx->str_b.n_thread, worker_integer_correction, uidx, uidx->idx->n);
        occ = clean_ul_re_correct_buf(uidx, 0, &n_circle);
        fprintf(stderr, "+[M::%s::round->%lu] # corrected UL reads::%lu, # circle UL reads::%lu\n", 
                                                                                __func__, k, occ, n_circle);
        kt_for(uidx->str_b.n_thread, worker_integer_update, uidx, uidx->str_b.n_thread);
        occ = clean_ul_re_correct_buf(uidx, 1, &n_circle);
        fprintf(stderr, "-[M::%s::round->%lu] # corrected UL reads::%lu, # circle UL reads::%lu\n", 
                                                                                __func__, k, occ, n_circle);
        rebuid_idx(uidx);
        // print_ul_seq(uidx, 2062); print_ul_seq(uidx, 2093);
        // exit(1);
    }

    shrink_uls(uidx);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq 0x9531f(%rip), %r15     # 0x252fe0
leaq 0x3be6a(%rip), %rbp     # 0x1f9b32
xorl %r13d, %r13d
cmpq %r13, %r14
je 0x1bdd70
movl 0x1e0(%rbx), %edi
movq 0x30(%rbx), %rax
movq 0x50(%rax), %rcx
leaq 0x9d(%rip), %rsi        # 0x1bdd86
movq %rbx, %rdx
callq 0xc67c0
movq %rbx, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x1bcf19
movq (%r15), %rdi
movq (%rsp), %r9
leaq 0x3bdde(%rip), %rsi     # 0x1f9aea
movq %rbp, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x22b0
movq 0x1e0(%rbx), %rcx
movl %ecx, %edi
leaq 0x88(%rip), %rsi        # 0x1bddb4
movq %rbx, %rdx
callq 0xc67c0
movq %rbx, %rdi
pushq $0x1
popq %rsi
movq %r12, %rdx
callq 0x1bcf19
movq (%r15), %rdi
movq (%rsp), %r9
leaq 0x3bdf0(%rip), %rsi     # 0x1f9b40
movq %rbp, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x22b0
movq %rbx, %rdi
callq 0x1bcfba
incq %r13
jmp 0x1bdccb
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1bdb82
// File: /workspace/github_cpp_makefile_star2_O2/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
imulq $0x328, %rsi, %r14      # imm = 0x328
addq 0x1d8(%rdi), %r14
pushq $-0x1
popq %r8
xorl %r15d, %r15d
cmpq 0x300(%r14), %r15
ja 0x1bde35
je 0x1bddea
movq 0x310(%r14), %rax
cmpl $-0x1, (%rax,%r15,8)
jne 0x1bde2a
movq %r15, %rax
cmpq $-0x1, %r8
je 0x1bde2d
movq %r15, %rcx
subq %r8, %rcx
movq %r15, %rax
cmpq $0x2, %rcx
jb 0x1bde2d
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 0x1bc390
movq %r15, %rax
jmp 0x1bde2d
movq %r8, %rax
incq %r15
movq %rax, %r8
jmp 0x1bddd1
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x18
popq %r12
xorl %r15d, %r15d
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmpq 0x208(%rbx), %r15
jae 0x1bdeaf
movq 0x220(%rbx), %rax
movl (%rax,%r15,4), %eax
cmpq %r13, %rax
je 0x1bdea6
movq (%r14), %rdx
testq %rdx, %rdx
je 0x1bdea6
movq 0x1d0(%rbx), %rcx
testl $0x7ffffffe, (%rcx,%r12) # imm = 0x7FFFFFFE
je 0x1bdf36
shlq $0x5, %rax
addq %rax, %rdx
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rcx
callq 0x1bae08
incq %r15
addq $0x20, %r12
jmp 0x1bde5b
movl 0x1e0(%rbx), %edi
movq 0x218(%rbx), %rcx
leaq 0x92(%rip), %rsi        # 0x1bdf55
movq %rbx, %rdx
callq 0xc67c0
xorl %r15d, %r15d
movq 0x218(%rbx), %rcx
cmpq %rcx, %r15
jae 0x1bdf18
movq 0x208(%rbx), %rax
xorl %edx, %edx
cmpq %rax, %r15
setb %dl
movl $0x0, %ecx
cmovaeq %rax, %rcx
movq %r15, %rsi
subq %rcx, %rsi
movq %r14, %rdi
callq 0x1ba426
testq %rax, %rax
je 0x1bdf13
movl %r15d, %esi
movq %rax, %rdx
movq %r14, %rcx
callq 0x1baa1e
incq %r15
jmp 0x1bdece
movl 0x1e0(%rbx), %edi
leaq 0x30(%rip), %rsi        # 0x1bdf55
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xc67c0
leaq 0x3b7d9(%rip), %rdi     # 0x1f9716
leaq 0x39595(%rip), %rsi     # 0x1f74d9
leaq 0x3bc3d(%rip), %rcx     # 0x1f9b88
movl $0x1eef, %edx           # imm = 0x1EEF
callq 0x2110
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: worker_integert_clean(void*, long, int)
static void worker_integert_clean(void *data, long i, int tid) // callback for kt_for()
{
    ul_resolve_t *uidx = (ul_resolve_t *)data;
    ul2ul_item_t *it = get_ul_ovlp(&(uidx->uovl), ulg_id(uidx->uovl, (uint32_t)i), 
                                                            ulg_type(uidx->uovl, (uint32_t)i));
    if(!it) return;
    if((uint32_t)i >= uidx->uovl.uln) it->id = i;
    clean_srt_integer(uidx, i, it, &(uidx->uovl));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movl %ebx, %r14d
movq 0x208(%rdi), %r15
addq $0x1f0, %rdi            # imm = 0x1F0
xorl %eax, %eax
xorl %edx, %edx
cmpq %r15, %r14
setb %dl
cmovaeq %r15, %rax
movq %r14, %rsi
subq %rax, %rsi
callq 0x1ba426
testq %rax, %rax
je 0x1bdfb1
cmpq %r15, %r14
jb 0x1bdfa4
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
movl $0x80000000, %ecx       # imm = 0x80000000
andl 0x18(%rax), %ecx
orl %ebx, %ecx
movl %ecx, 0x18(%rax)
movq %rax, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x1bbc82
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: remove_integert_containment(ul_resolve_t*, unsigned int)
void remove_integert_containment(ul_resolve_t *uidx, uint32_t keep_raw_utg)
{
    ul2ul_idx_t *u2o = &(uidx->uovl); ul2ul_item_t *o;
    uint64_t k, kn = keep_raw_utg?u2o->uln:u2o->tot; 
    for (k = 0; k < kn; k++) {
        o = get_ul_ovlp(u2o, ulg_id(*u2o, k), ulg_type(*u2o, k));
        if(!o) continue;
        integer_containment_purge(uidx, k, o, u2o, keep_raw_utg);
    }

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x1f0(%rdi), %r14
xorl %eax, %eax
testl %esi, %esi
sete %al
shll $0x4, %eax
movq 0x208(%rdi,%rax), %r12
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x1be029
movq 0x208(%rbx), %rax
xorl %edx, %edx
cmpq %rax, %r15
setb %dl
movl $0x0, %ecx
cmovaeq %rax, %rcx
movq %r15, %rsi
subq %rcx, %rsi
movq %r14, %rdi
callq 0x1ba426
testq %rax, %rax
je 0x1be024
movq %rbx, %rdi
movl %r15d, %esi
movq %rax, %rdx
movq %r14, %rcx
movl %ebp, %r8d
callq 0x1bb3c6
incq %r15
jmp 0x1bdfe0
movl 0x1e0(%rbx), %edi
movq 0x218(%rbx), %rcx
leaq -0xe8(%rip), %rsi       # 0x1bdf55
movq %rbx, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xc67c0
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq 0x18(%rdi), %rbp
xorl %ebx, %ebx
pushq $0x1
popq %r12
xorl %r14d, %r14d
xorl %r13d, %r13d
cmpq %rbp, %r13
je 0x1be0b7
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x1ba426
testq %rax, %rax
je 0x1be0b2
cmpl $0x0, 0x18(%rax)
js 0x1be0b2
movq 0x8(%rax), %rcx
xorl %edx, %edx
subq $0x1, %rcx
jb 0x1be0af
movq (%rax), %rsi
cmpb $0x3f, 0x24(%rsi,%rdx)
ja 0x1be0a9
movl (%rsi,%rdx), %esi
cmpq %rbp, %rsi
adcq $0x0, %r14
addq $0x28, %rdx
jmp 0x1be08f
incq %rbx
incq %r13
jmp 0x1be06b
movq 0x94f22(%rip), %rax     # 0x252fe0
movq (%rax), %rdi
leaq 0x3bae3(%rip), %rsi     # 0x1f9bab
leaq 0x3bb08(%rip), %rdx     # 0x1f9bd7
movq %rbx, %rcx
movq %r14, %r8
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_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: output_integer_graph(ul_resolve_t*, ma_ug_t*, char const*, unsigned int)
void output_integer_graph(ul_resolve_t *uidx, ma_ug_t *iug, const char *nn, uint32_t is_seq)
{
    char* gfa_name = NULL; MALLOC(gfa_name, strlen(nn)+50);
	sprintf(gfa_name, "%s.integer.noseq.gfa", nn);
    FILE* fp = fopen(gfa_name, "w"); free(gfa_name);
	if (!fp) return;
    ma_integer_ug_print0(iug, uidx, 0, "itg", fp, is_seq);
    fclose(fp);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
movq %rdx, %rdi
callq 0x2090
leaq 0x32(%rax), %rdi
callq 0x2280
movq %rax, %r13
leaq 0x3acec(%rip), %rsi     # 0x1f9c94
movq %rax, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x3b6e5(%rip), %rsi     # 0x1fa6a1
movq %r13, %rdi
callq 0x2210
movq %rax, %r12
movq %r13, %rdi
callq 0x2220
testq %r12, %r12
je 0x1beffd
leaq 0x3acce(%rip), %rcx     # 0x1f9ca9
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %r8
movl %ebx, %r9d
callq 0x1be75b
movq %r12, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2190
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_raw_uls_seq(ul_resolve_t*, char const*)
void print_raw_uls_seq(ul_resolve_t *uidx, const char *nn)
{
    char* gfa_name = NULL; MALLOC(gfa_name, strlen(nn)+70);
    sprintf(gfa_name, "%s.raw.integer.seq.log", nn);
    FILE* fp = fopen(gfa_name, "w"); free(gfa_name);
    if (!fp) return;
    ma_ug_t *ug = uidx->init_ug; all_ul_t *aln = uidx->idx;
    uint64_t id; uc_block_t *a = NULL; int64_t k, a_n;
    for (id = 0; id < aln->n; id++) {
        a = aln->a[id].bb.a; a_n = aln->a[id].bb.n; k = 0;
        if(a_n == 0) continue;
        fprintf(fp,"%.*s\tid::%lu\t", (int32_t)aln->nid.a[id].n, aln->nid.a[id].a, id);
        // for (k = 0; k < a_n && ug_occ_w(a[k].ts, a[k].te, &(ug->u.a[a[k].hid])) == 0; k++);
        for (; k < a_n; k++) {
            // if(ug_occ_w(a[k].ts, a[k].te, &(ug->u.a[a[k].hid])) == 0) break;
            fprintf(fp, "utg%.6d%c(%c)(n::%lu)\t", a[k].hid + 1, "lc"[ug->u.a[a[k].hid].circ], "+-"[a[k].rev], ug_occ_w(a[k].ts, a[k].te, &(ug->u.a[a[k].hid])));
        }
        fprintf(fp,"\n");
    }
    fclose(fp);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x2090
leaq 0x46(%rax), %rdi
callq 0x2280
movq %rax, %r15
leaq 0x3ac77(%rip), %rsi     # 0x1f9cad
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x3b657(%rip), %rsi     # 0x1fa6a1
movq %r15, %rdi
callq 0x2210
movq %rax, %rbx
movq %r15, %rdi
callq 0x2220
testq %rbx, %rbx
je 0x1bf180
movq %rbx, %r12
movq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%r14), %rdx
xorl %r8d, %r8d
movq %rdx, (%rsp)
cmpq 0x50(%rdx), %r8
jae 0x1bf16a
movq 0x48(%rdx), %rax
imulq $0x58, %r8, %rcx
movq 0x20(%rax,%rcx), %r15
testq %r15, %r15
je 0x1bf162
movq 0x30(%rax,%rcx), %rbx
movq 0x10(%rdx), %rax
movq %r8, %rcx
shlq $0x4, %rcx
movl 0x8(%rax,%rcx), %edx
movq (%rax,%rcx), %rcx
movq %r12, %rdi
leaq 0x32a00(%rip), %rsi     # 0x1f1abf
movq %r8, 0x8(%rsp)
xorl %eax, %eax
callq 0x22b0
testq %r15, %r15
movl $0x0, %eax
cmovleq %rax, %r15
addq $0x20, %rbx
subq $0x1, %r15
jb 0x1bf14e
movl -0x20(%rbx), %eax
movl -0x14(%rbx), %edi
leal 0x1(%rax), %r13d
movq 0x10(%rsp), %rcx
movq 0x10(%rcx), %rcx
imulq $0x28, %rax, %rax
leaq (%rcx,%rax), %rdx
movl (%rcx,%rax), %eax
shrl $0x1f, %eax
leaq 0x27582(%rip), %rcx     # 0x1e668b
movsbl (%rax,%rcx), %r14d
movzbl (%rbx), %eax
btl $0x5, %eax
leaq 0x25107(%rip), %rax     # 0x1e4223
adcq $0x0, %rax
movsbl (%rax), %ebp
movl -0x10(%rbx), %esi
callq 0x1b2312
movq %r12, %rdi
leaq 0x3ab8f(%rip), %rsi     # 0x1f9cc4
movl %r13d, %edx
movl %r14d, %ecx
movl %ebp, %r8d
movq %rax, %r9
xorl %eax, %eax
callq 0x22b0
addq $0x24, %rbx
jmp 0x1bf0db
pushq $0xa
popq %rdi
movq %r12, %rsi
callq 0x2270
movq (%rsp), %rdx
movq 0x8(%rsp), %r8
incq %r8
jmp 0x1bf07d
movq %r12, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: print_raw_uls_aln(ul_resolve_t*, char const*)
void print_raw_uls_aln(ul_resolve_t *uidx, const char *nn)
{
    char* gfa_name = NULL; MALLOC(gfa_name, strlen(nn)+70);
    sprintf(gfa_name, "%s.raw.aln.log", nn);
    FILE* fp = fopen(gfa_name, "w"); free(gfa_name);
    if (!fp) return;
    ma_ug_t *ug = uidx->init_ug; all_ul_t *aln = uidx->idx;
    uint64_t id; uc_block_t *a = NULL; int64_t k, a_n;
    for (id = 0; id < aln->n; id++) {
        a = aln->a[id].bb.a; a_n = aln->a[id].bb.n; k = 0;
        if(a_n == 0) continue;
        fprintf(fp,"%.*s\tid::%lu\tdd::%u\t", (int32_t)aln->nid.a[id].n, aln->nid.a[id].a, id, aln->a[id].dd);
        // for (k = 0; k < a_n && ug_occ_w(a[k].ts, a[k].te, &(ug->u.a[a[k].hid])) == 0; k++);
        for (; k < a_n; k++) {
            // if(ug_occ_w(a[k].ts, a[k].te, &(ug->u.a[a[k].hid])) == 0) break;
            fprintf(fp, "utg%.6d%c(%c)q::[%u, %u)\t", a[k].hid + 1, "lc"[ug->u.a[a[k].hid].circ], "+-"[a[k].rev], a[k].qs, a[k].qe);
        }
        fprintf(fp,"\n");
    }
    fclose(fp);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x2090
leaq 0x46(%rax), %rdi
callq 0x2280
movq %rax, %r15
leaq 0x3ab1d(%rip), %rsi     # 0x1f9cdb
movq %rax, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2050
leaq 0x3b4cf(%rip), %rsi     # 0x1fa6a1
movq %r15, %rdi
callq 0x2210
movq %rax, %rbx
movq %r15, %rdi
callq 0x2220
testq %rbx, %rbx
je 0x1bf2f7
movq 0x8(%r14), %r13
movq 0x30(%r14), %rdx
leaq 0x25026(%rip), %r14     # 0x1e4223
leaq 0x3aafb(%rip), %r15     # 0x1f9cff
xorl %r8d, %r8d
movq %rdx, 0x8(%rsp)
cmpq 0x50(%rdx), %r8
jae 0x1bf2e1
movq 0x48(%rdx), %rax
imulq $0x58, %r8, %rcx
movq 0x20(%rax,%rcx), %r12
testq %r12, %r12
je 0x1bf2d9
leaq (%rax,%rcx), %rsi
movq 0x30(%rax,%rcx), %rbp
movq 0x10(%rdx), %rax
movq %r8, %rcx
shlq $0x4, %rcx
movl 0x8(%rax,%rcx), %edx
movq (%rax,%rcx), %rcx
movzbl 0x50(%rsi), %r9d
movq %rbx, %rdi
leaq 0x3aa93(%rip), %rsi     # 0x1f9cea
movq %r8, 0x10(%rsp)
xorl %eax, %eax
callq 0x22b0
testq %r12, %r12
movl $0x0, %eax
cmovleq %rax, %r12
subq $0x1, %r12
jb 0x1bf2c4
movl (%rbp), %eax
movl 0x4(%rbp), %r9d
leal 0x1(%rax), %edx
movq 0x10(%r13), %rcx
imulq $0x28, %rax, %rax
movl (%rcx,%rax), %eax
shrl $0x1f, %eax
leaq 0x273f7(%rip), %rcx     # 0x1e668b
movsbl (%rax,%rcx), %ecx
movzbl 0x20(%rbp), %eax
btl $0x5, %eax
movq %r14, %rax
adcq $0x0, %rax
movsbl (%rax), %r8d
movl 0x8(%rbp), %eax
movl %eax, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x22b0
addq $0x24, %rbp
jmp 0x1bf26f
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x2270
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %r8
incq %r8
jmp 0x1bf20c
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2190
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: gen_srt_cov_interval(unsigned long*, unsigned long)
uint64_t gen_srt_cov_interval(uint64_t *b, uint64_t b_n)
{
    uint64_t i, m, start, end; int64_t dp, old_dp;
    radix_sort_srt64(b, b + b_n);
    for (i = m = 0, dp = 0, start = 0; i < b_n; ++i) {
        old_dp = dp;
        if (b[i]&1) --dp;
        else ++dp;

        if (old_dp < 1 && dp >= 1) {///old_dp < dp, b.a[j] is qs
            start = b[i]>>1;
        } else if (old_dp >= 1 && dp < 1){
            end = b[i]>>1;
            b[m] = start; b[m] <<= 32; b[m] += end; m++;
        } 
    }

    return m;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq (%rdi,%rsi,8), %rsi
callq 0x1a3def
xorl %ecx, %ecx
xorl %eax, %eax
xorl %r8d, %r8d
xorl %edx, %edx
cmpq %rdx, %rbx
je 0x1bf853
movq (%r14,%rdx,8), %rdi
movl %edi, %esi
andl $0x1, %esi
negq %rsi
orq $0x1, %rsi
addq %r8, %rsi
testq %r8, %r8
setle %r9b
testq %rsi, %rsi
setg %r10b
andb %r9b, %r10b
cmpb $0x1, %r10b
jne 0x1bf820
shrq %rdi
movq %rdi, %rcx
jmp 0x1bf84b
testq %r8, %r8
setg %r8b
testq %rsi, %rsi
setle %r9b
andb %r8b, %r9b
cmpb $0x1, %r9b
jne 0x1bf84b
shrq %rdi
movq %rcx, %r8
shlq $0x20, %r8
addq %rdi, %r8
movq %r8, (%r14,%rax,8)
incq %rax
incq %rdx
movq %rsi, %r8
jmp 0x1bf7e9
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: ulg_seq_del(ma_ug_t*, unsigned int)
static inline void ulg_seq_del(ma_ug_t *ug, uint32_t s)
{
	uint32_t k; asg_t *g = ug->g;
	g->seq[s].del = 1;
	for (k = 0; k < 2; ++k) {
		uint32_t i, v = s<<1 | k;
		uint32_t nv = asg_arc_n(g, v);
		asg_arc_t *av = asg_arc_a(g, v);
		for (i = 0; i < nv; ++i) {
			av[i].del = 1;
			asg_arc_del(g, av[i].v^1, v^1, 1);
		}
	}
    free(ug->u.a[s].a); memset(&(ug->u.a[s]), 0, sizeof(ug->u.a[s]));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, 0x10(%rsp)
movq 0x18(%rdi), %r15
movq 0x20(%r15), %rax
movl %esi, %ecx
movq %rcx, 0x8(%rsp)
orl $0x80000000, (%rax,%rcx,8) # imm = 0x80000000
addl %esi, %esi
movq %rsi, 0x18(%rsp)
xorl %r12d, %r12d
pushq $0x1
popq %rbp
cmpq $0x2, %r12
je 0x1bff2e
movq %r12, 0x20(%rsp)
orq 0x18(%rsp), %r12
movq 0x8(%r15), %rax
movq 0x28(%r15), %rcx
movq (%rcx,%r12,8), %rcx
movl %ecx, %edx
shrq $0x20, %rcx
xorl $0x1, %r12d
imulq $0x18, %rdx, %rbx
imulq $0x18, %rcx, %rcx
leaq (%rax,%rcx), %r14
addq $0xc, %r14
xorl %r13d, %r13d
cmpq %r13, %rbx
je 0x1bff24
orb $-0x80, 0x3(%r14,%r13)
movl -0x4(%r14,%r13), %esi
xorl $0x1, %esi
movq %r15, %rdi
movl %r12d, %edx
movl %ebp, %ecx
callq 0x1abbde
addq $0x18, %r13
jmp 0x1bfefe
movq 0x20(%rsp), %r12
incq %r12
jmp 0x1bfec5
movq 0x10(%rsp), %r14
movq 0x10(%r14), %rax
imulq $0x28, 0x8(%rsp), %rbx
movq 0x18(%rax,%rbx), %rdi
callq 0x2220
movq 0x10(%r14), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax,%rbx)
movups %xmm0, (%rax,%rbx)
andq $0x0, 0x20(%rax,%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: is_het_ulg_edge(ul_resolve_t*, unsigned int, unsigned int)
uint32_t is_het_ulg_edge(ul_resolve_t *uidx, uint32_t uv, uint32_t uw)
{
    ma_ug_t *iug = uidx->uovl.i_ug; bubble_type *bub = uidx->bub; uint32_t qid, tid;
    qid = iug->u.a[uv>>1].a[((uv&1)?(0):(iug->u.a[uv>>1].n-1))]>>33;
    tid = iug->u.a[uw>>1].a[((uw&1)?(iug->u.a[uw>>1].n-1):(0))]>>33;

    if(!ulg_type(uidx->uovl, qid)) return (!IF_HOM(ulg_id(uidx->uovl, qid), *bub));
    if(!ulg_type(uidx->uovl, tid)) return (!IF_HOM(ulg_id(uidx->uovl, tid), *bub));

    if(uidx->uovl.item_idx[qid] == (uint32_t)-1) return (uint32_t)-1;
    ul2ul_item_t *o = &(uidx->uovl.a[uidx->uovl.item_idx[qid]]); 
    ul2ul_t *z; uint64_t k, n_hom, n_het; ul_str_t *str;
    for (k = 0, z = NULL; k < o->cn; k++) {
        if(o->a[k].hid != tid) continue;
        z = &(o->a[k]);
        break;
    }
    if(!z) return (uint32_t)-1;
    str = &(uidx->pstr.str.a[ulg_id(uidx->uovl, qid)]);

    for (k = z->qs_k, n_hom = n_het = 0; k < z->qe_k; k++) {
        if(IF_HOM((((uint32_t)str->a[k])>>1), *bub)) {
            n_hom++;
        } else {
            n_het++; break;
        }
    }
    
    if(n_het) return 1;
    if(n_hom) return 0;
    return (uint32_t)-1;
}

// Assembly:
pushq %rbx
movq 0x230(%rdi), %rax
movq 0x10(%rax), %rax
movl %esi, %ecx
shrl %ecx
imulq $0x28, %rcx, %r8
movq 0x18(%rax,%r8), %rcx
testb $0x1, %sil
jne 0x1bff96
addq %rax, %r8
movl 0x10(%r8), %esi
decl %esi
jmp 0x1bff98
xorl %esi, %esi
movq (%rcx,%rsi,8), %rsi
shrq $0x21, %rsi
movl %edx, %ecx
shrl %ecx
imulq $0x28, %rcx, %r8
testb $0x1, %dl
jne 0x1bffb1
xorl %edx, %edx
jmp 0x1bffba
leaq (%rax,%r8), %rcx
movl 0x10(%rcx), %edx
decl %edx
movq 0x28(%rdi), %rcx
movq 0x208(%rdi), %r9
movq %rsi, %r10
subq %r9, %r10
jae 0x1c0092
movq 0x18(%rax,%r8), %rax
movq (%rax,%rdx,8), %rdx
shrq $0x21, %rdx
movq %rdx, %rax
subq %r9, %rax
jae 0x1c00a2
movq 0x220(%rdi), %rax
movl (%rax,%rsi,4), %r9d
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %r8, %r9
je 0x1c00ba
movq 0x1f0(%rdi), %r10
shlq $0x5, %r9
leaq (%r10,%r9), %r8
movl 0x1c(%r10,%r9), %r9d
imulq $0x28, %r9, %r9
addq $0x28, %r9
xorl %r10d, %r10d
leaq 0x28(%r10), %r11
cmpq %r11, %r9
je 0x1c00ba
movq (%r8), %rbx
cmpl %edx, (%rbx,%r10)
movq %r11, %r10
jne 0x1c0028
movq 0x1d0(%rdi), %rax
movl -0x14(%rbx,%r11), %edx
movl -0x10(%rbx,%r11), %edi
shlq $0x5, %rsi
leaq (%rax,%rsi), %r8
addq $0x10, %r8
xorl %esi, %esi
movl $0x1, %eax
cmpq %rdi, %rdx
jae 0x1c00bc
movq (%r8), %r9
movl (%r9,%rdx,8), %r9d
shrl %r9d
movq (%rcx), %r10
movq 0x80(%rcx), %r11
movl (%r10,%r9,4), %r9d
incq %r11
cmpq %r9, %r11
jae 0x1c00ba
incq %rdx
decq %rsi
jmp 0x1c0065
movq (%rcx), %rax
movq 0x80(%rcx), %rcx
movl (%rax,%r10,4), %edx
jmp 0x1c00af
movq (%rcx), %rdx
movq 0x80(%rcx), %rcx
movl (%rdx,%rax,4), %edx
incq %rcx
xorl %eax, %eax
cmpq %rdx, %rcx
setae %al
popq %rbx
retq
xorl %eax, %eax
cmpq $0x1, %rsi
sbbl %eax, %eax
jmp 0x1c00ba
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: usg_topocut_aux(ul_resolve_t*, ma_ug_t*, unsigned int, int, int, asg64_v*, asg64_v*)
int32_t usg_topocut_aux(ul_resolve_t *uidx, ma_ug_t *ug, uint32_t v, int32_t max_ext, int32_t max_ext_hifi, asg64_v *b, asg64_v *ub)
{
    int32_t n_ext; asg_arc_t *av; uint32_t w = v, nv, i, kv, ul_occ, pn = b->n;
    for (n_ext = 0; n_ext < max_ext; v = w) {
        av = asg_arc_a(ug->g, v^1); nv = asg_arc_n(ug->g, v^1);
        for (i = kv = 0; i < nv && kv <= 1; i++) {
            if (av[i].del) continue;
            kv++; 
        }
        if(kv!=1) break;
        get_iug_u_raw_occ(uidx, v>>1, &ul_occ, NULL); n_ext += ul_occ; kv_push(uint64_t, *b, v);

        av = asg_arc_a(ug->g, v); nv = asg_arc_n(ug->g, v);
        for (i = kv = 0; i < nv && kv <= 1; i++) {
            if (av[i].del) continue;
            kv++; w = av[i].v;
        }
        if(kv!=1) break;
    }

    if(n_ext < max_ext) {
        if(get_remove_hifi_occ(uidx, max_ext_hifi, b->a + pn, b->n - pn, ub, NULL)) {
            b->n = pn;
            return 1;
        }
    }

    b->n = pn;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %rbx
movl %r8d, 0xc(%rsp)
movl %ecx, %r12d
movl %edx, %r14d
movq %rsi, %r13
movq %rdi, %r15
movl (%r9), %eax
movq %rax, 0x10(%rsp)
xorl %ebp, %ebp
cmpl %r12d, %ebp
jge 0x1c01ed
movq 0x18(%r13), %rax
movq 0x8(%rax), %rcx
movq 0x28(%rax), %rdx
movl %r14d, %eax
xorl $0x1, %eax
movq (%rdx,%rax,8), %rsi
movl %esi, %eax
shrq $0x20, %rsi
imulq $0x18, %rsi, %rsi
addq %rcx, %rsi
addq $0xc, %rsi
xorl %edi, %edi
xorl %r8d, %r8d
cmpq %rax, %rdi
jae 0x1c0148
cmpl $0x1, %r8d
ja 0x1c0148
movl (%rsi), %r9d
notl %r9d
shrl $0x1f, %r9d
addl %r9d, %r8d
incq %rdi
addq $0x18, %rsi
jmp 0x1c0127
cmpl $0x1, %r8d
jne 0x1c01ed
movl %r14d, %eax
shrl %eax
movq 0x258(%r15), %rsi
addl (%rsi,%rax,4), %ebp
movq (%rbx), %rdi
movq 0x10(%rbx), %rax
cmpq 0x8(%rbx), %rdi
jne 0x1c019f
leaq (%rdi,%rdi), %rsi
testq %rdi, %rdi
pushq $0x2
popq %rcx
cmoveq %rcx, %rsi
movq %rsi, 0x8(%rbx)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
movq 0x18(%r13), %rdx
movq 0x8(%rdx), %rcx
movq 0x28(%rdx), %rdx
movl %r14d, %esi
leaq 0x1(%rdi), %r8
movq %r8, (%rbx)
movq %rsi, (%rax,%rdi,8)
movq (%rdx,%rsi,8), %rdx
movl %edx, %eax
shrq $0x20, %rdx
imulq $0x18, %rdx, %rdx
addq %rdx, %rcx
addq $0xc, %rcx
xorl %edx, %edx
xorl %esi, %esi
cmpq %rax, %rdx
jae 0x1c01e4
cmpl $0x1, %esi
ja 0x1c01e4
cmpl $0x0, (%rcx)
js 0x1c01db
incl %esi
movl -0x4(%rcx), %r14d
incq %rdx
addq $0x18, %rcx
jmp 0x1c01c6
cmpl $0x1, %esi
je 0x1c00f2
cmpl %r12d, %ebp
jge 0x1c022b
movslq 0xc(%rsp), %rsi
movq 0x10(%rsp), %r14
leaq (,%r14,8), %rdx
addq 0x10(%rbx), %rdx
movq (%rbx), %rcx
subq %r14, %rcx
movq %r15, %rdi
movq 0x50(%rsp), %r8
xorl %r9d, %r9d
callq 0x1de65f
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
jmp 0x1c0232
xorl %eax, %eax
movq 0x10(%rsp), %r14
movq %r14, (%rbx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: is_ul_edge(ul_resolve_t*, unsigned int, unsigned int)
uint32_t is_ul_edge(ul_resolve_t *uidx, uint32_t uv, uint32_t uw)
{
    ma_ug_t *iug = uidx->uovl.i_ug; uint32_t qid, tid;
    qid = iug->u.a[uv>>1].a[((uv&1)?(0):(iug->u.a[uv>>1].n-1))]>>33;
    tid = iug->u.a[uw>>1].a[((uw&1)?(iug->u.a[uw>>1].n-1):(0))]>>33;
    if((qid != tid) && (!ulg_type(uidx->uovl, qid)) && (!ulg_type(uidx->uovl, tid))) return 0;
    return 1;
}

// Assembly:
movq 0x230(%rdi), %rax
movq 0x10(%rax), %rax
movl %esi, %ecx
shrl %ecx
imulq $0x28, %rcx, %r8
movq 0x18(%rax,%r8), %rcx
testb $0x1, %sil
jne 0x1c0925
addq %rax, %r8
movl 0x10(%r8), %esi
decl %esi
jmp 0x1c0927
xorl %esi, %esi
movq (%rcx,%rsi,8), %rcx
shrq $0x21, %rcx
movl %edx, %esi
shrl %esi
imulq $0x28, %rsi, %r8
movq 0x18(%rax,%r8), %rsi
testb $0x1, %dl
jne 0x1c0945
xorl %eax, %eax
jmp 0x1c094d
addq %r8, %rax
movl 0x10(%rax), %eax
decl %eax
movq (%rsi,%rax,8), %rdx
shrq $0x21, %rdx
cmpl %edx, %ecx
jne 0x1c095d
pushq $0x1
popq %rax
retq
movq 0x208(%rdi), %rsi
cmpq %rsi, %rcx
jb 0x1c0959
xorl %eax, %eax
cmpq %rsi, %rdx
jb 0x1c0959
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: get_ul_spec_ovlp(ul2ul_idx_t*, unsigned long, unsigned long)
ul2ul_t* get_ul_spec_ovlp(ul2ul_idx_t *z, uint64_t qid, uint64_t tid)
{
    // uint64_t x = (is_qul?(qid):(qid+z->uln));
    if(z->item_idx[qid] == (uint32_t)-1) return NULL;
    ul2ul_item_t *o = &(z->a[z->item_idx[qid]]); uint64_t k;
    for (k = 0; k < o->cn; k++) {
        if(o->a[k].hid != tid) continue;
        return &(o->a[k]);
    }
    return NULL;
}

// Assembly:
movq 0x30(%rdi), %rax
movl (%rax,%rsi,4), %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
je 0x1c173d
movq (%rdi), %rsi
shlq $0x5, %rax
leaq (%rsi,%rax), %rcx
movl 0x1c(%rsi,%rax), %eax
imulq $0x28, %rax, %rsi
pushq $-0x28
popq %r8
xorl %eax, %eax
leaq 0x28(%r8), %rdi
cmpq %rdi, %rsi
je 0x1c173c
movq (%rcx), %r9
movl 0x28(%r9,%r8), %r10d
movq %rdi, %r8
cmpq %rdx, %r10
jne 0x1c171d
addq %rdi, %r9
movq %r9, %rax
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: is_het_bridge(ul_resolve_t*, unsigned long*, long, long)
uint32_t is_het_bridge(ul_resolve_t *uidx, uint64_t *p_a, int64_t p_n, int64_t match_bound)
{
    bubble_type *bub = uidx->bub; int64_t z;
    for (z = match_bound; z >= 0 && IF_HOM((p_a[z]>>1), *bub); z--) {
        // if(is_debug){
        //     fprintf(stderr, "+[M::%s::] match_bound::%ld, p_n::%ld, (p_a[%ld]>>1)::%lu, IF_HOM::%u\n", 
        //     __func__, match_bound, p_n, z, (p_a[z]>>1), IF_HOM((p_a[z]>>1), *bub));
        // }
    } 
    if(z < 0) return 0;
    for (z = match_bound + 1; z < p_n && IF_HOM((p_a[z]>>1), *bub); z++) {
        // if(is_debug){
        //     fprintf(stderr, "-[M::%s::] match_bound::%ld, p_n::%ld, (p_a[%ld]>>1)::%lu, IF_HOM::%u\n", 
        //     __func__, match_bound, p_n, z, (p_a[z]>>1), IF_HOM((p_a[z]>>1), *bub));
        // }
    }
    // if(is_debug) {
    //     fprintf(stderr, "*[M::%s::] z::%ld, p_n::%ld\n", __func__, z, p_n);
    // }
    if(z >= p_n) return 0;
    return 1;
}

// Assembly:
movq 0x28(%rdi), %r8
movq %rcx, %r9
testq %r9, %r9
js 0x1c2c07
movq (%r8), %rax
movq 0x80(%r8), %rdi
movq (%rsi,%r9,8), %r10
andq $-0x2, %r10
movl (%rax,%r10,2), %r10d
incq %rdi
decq %r9
cmpq %r10, %rdi
jb 0x1c2bb8
incq %rcx
movq %rcx, %r8
cmpq %rdx, %rcx
jge 0x1c2bfe
movq (%rsi,%r8,8), %rcx
andq $-0x2, %rcx
movl (%rax,%rcx,2), %r9d
leaq 0x1(%r8), %rcx
cmpq %r9, %rdi
jb 0x1c2be1
xorl %eax, %eax
cmpq %rdx, %r8
setl %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: check_ulg_to_del(ul_resolve_t*, ma_ug_t*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, asg64_v*, asg64_v*)
uint32_t check_ulg_to_del(ul_resolve_t *uidx, ma_ug_t *ug, uint32_t v, uint32_t w, uint32_t kv, uint32_t kw, 
uint32_t max_ext, uint32_t max_ext_hifi, uint32_t topo_level, uint32_t collapse, asg64_v *b, asg64_v *ub)
{
    uint32_t to_del = 0;
    if(collapse) topo_level = 3; 
    if(topo_level == 0) {
        to_del = 1;
    } else if(topo_level == 2) {
        if (kv > 1 && kw > 1) to_del = 1;
    } else {
        if (kv > 1 && kw > 1) {
            to_del = 1;
        } else if (kw == 1) {
            if (usg_topocut_aux(uidx, ug, w^1, max_ext, max_ext_hifi, b, ub)) to_del = 1;                    
        } else if (kv == 1) {
            if (usg_topocut_aux(uidx, ug, v^1, max_ext, max_ext_hifi, b, ub)) to_del = 1;   
        }
    }

    return to_del;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x0, 0x38(%rsp)
jne 0x1c3512
movl 0x30(%rsp), %r10d
jmp 0x1c3516
pushq $0x3
popq %r10
pushq $0x1
popq %rax
testl %r10d, %r10d
je 0x1c358e
cmpl $0x2, %r10d
jne 0x1c3539
cmpl $0x2, %r8d
setae %al
cmpl $0x2, %r9d
setae %cl
andb %al, %cl
movzbl %cl, %eax
jmp 0x1c358e
cmpl $0x2, %r8d
setae %r10b
cmpl $0x2, %r9d
setae %r11b
testb %r11b, %r10b
jne 0x1c358e
movq 0x48(%rsp), %r14
movq 0x40(%rsp), %r11
movl 0x28(%rsp), %r10d
movl 0x20(%rsp), %ebx
cmpl $0x1, %r9d
jne 0x1c3572
xorl $0x1, %ecx
movq %r14, (%rsp)
movl %ecx, %edx
jmp 0x1c3581
xorl %eax, %eax
cmpl $0x1, %r8d
jne 0x1c358e
xorl $0x1, %edx
movq %r14, (%rsp)
movl %ebx, %ecx
movl %r10d, %r8d
movq %r11, %r9
callq 0x1c00c6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: worker_update_ul_arc_supports(void*, long, int)
static void worker_update_ul_arc_supports(void *data, long i, int tid) // callback for kt_for()
{
    ul_resolve_t *uidx = (ul_resolve_t *)data; integer_t *buf = &(uidx->str_b.buf[tid]);
    uint64_t *x = &(uidx->uovl.iug_tra->a[i]); asg_arc_t *ve = &(uidx->uovl.i_ug->g->arc[*x]);
    asg64_v b_v, b_r; uint64_t w_v, w_r;
    b_v.a = buf->u.a; b_v.n = buf->u.n; b_v.m = buf->u.m; 
    b_r.a = buf->o.a; b_r.n = buf->o.n; b_r.m = buf->o.m; 

    b_v.n = b_r.n = 0;
    get_ul_arc_supports(uidx, ve, &b_v, &b_r, 1, &w_v, &w_r);

    buf->u.a = b_v.a; buf->u.n = b_v.n; buf->u.m = b_v.m; 
    buf->o.a = b_r.a; buf->o.n = b_r.n; buf->o.m = b_r.m; 

    (*x) |= (w_v<<32);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rbx
movslq %edx, %rax
imulq $0x328, %rax, %rbp      # imm = 0x328
movq 0x290(%rdi), %rax
movq 0x10(%rax), %r13
movq 0x1d8(%rdi), %r12
movq 0x230(%rdi), %rax
imulq $0x18, (%r13,%rsi,8), %rsi
movq 0x18(%rax), %rax
addq 0x8(%rax), %rsi
movq 0xa0(%r12,%rbp), %rax
leaq 0x40(%rsp), %r14
movq %rax, 0x10(%r14)
movq 0x98(%r12,%rbp), %rax
movq %rax, 0x8(%r14)
movq 0x88(%r12,%rbp), %rax
leaq 0x20(%rsp), %r15
movq %rax, 0x10(%r15)
movq 0x80(%r12,%rbp), %rax
movq %rax, 0x8(%r15)
andq $0x0, (%r15)
andq $0x0, (%r14)
leaq 0x18(%rsp), %rax
movq %rax, (%rsp)
pushq $0x1
popq %r8
leaq 0x10(%rsp), %r9
movq %r14, %rdx
movq %r15, %rcx
callq 0x1c2c0a
movq 0x10(%r14), %rax
movq %rax, 0xa0(%r12,%rbp)
movaps (%r14), %xmm0
movups %xmm0, 0x90(%r12,%rbp)
movq 0x10(%r15), %rax
movq %rax, 0x88(%r12,%rbp)
movaps (%r15), %xmm0
movups %xmm0, 0x78(%r12,%rbp)
leaq 0x10(%rsp), %rax
movq (%rax), %rax
shlq $0x20, %rax
orq %rax, (%r13,%rbx,8)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: ulg_bub_pop_cut_aux(ul_resolve_t*, ma_ug_t*, unsigned int, buf_t*, unsigned int, unsigned int, asg64_v*, asg64_v*)
uint64_t ulg_bub_pop_cut_aux(ul_resolve_t *uidx, ma_ug_t *ug, uint32_t v0, buf_t *x, uint32_t max_ext, uint32_t max_ext_hifi, asg64_v *b, asg64_v *ub)
{
    uint32_t i, v, u, bn = b->n, n_ext, ul_occ, r = 0; binfo_t *t;
    v = x->S.a[0]; 
    do {
		u = x->a[v].p; // u->v
        x->a[v].d = (uint32_t)-1;
		v = u;
	} while (v != v0);

    for (i = n_ext = 0; i < x->b.n; ++i) { // clear the states of visited vertices
		t = &x->a[x->b.a[i]];
        if(t->d == (uint32_t)-1) continue;
        get_iug_u_raw_occ(uidx, x->b.a[i]>>1, &ul_occ, NULL); 
        n_ext += ul_occ; kv_push(uint64_t, *b, x->b.a[i]);
	}

    if(n_ext <= max_ext) {
        if(get_remove_hifi_occ(uidx, max_ext_hifi, b->a + bn, b->n - bn, ub, NULL)) r = 1;
    }
    b->n = bn;
    return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, 0x8(%rsp)
movl %r8d, 0xc(%rsp)
movq %rcx, %r12
movq %rdi, %r14
movq 0x50(%rsp), %r13
movl (%r13), %eax
movq %rax, 0x10(%rsp)
movq (%rcx), %rax
movq 0x18(%rcx), %rcx
movl (%rcx), %ecx
movl %ecx, %ecx
imulq $0x1c, %rcx, %rsi
movl (%rax,%rsi), %ecx
orl $-0x1, 0x4(%rax,%rsi)
cmpl %edx, %ecx
jne 0x1c3cc8
xorl %ebp, %ebp
pushq $0x2
popq %r15
xorl %ebx, %ebx
movl %ebx, %ebx
cmpq %rbx, 0x38(%r12)
jbe 0x1c3d59
movq (%r12), %rax
movq 0x48(%r12), %rcx
movl (%rcx,%rbx,4), %ecx
imulq $0x1c, %rcx, %rdx
cmpl $-0x1, 0x4(%rax,%rdx)
je 0x1c3d55
movl %ecx, %eax
shrl %eax
movq 0x258(%r14), %rdx
addl (%rdx,%rax,4), %ebp
movq (%r13), %rdx
movq 0x10(%r13), %rax
cmpq 0x8(%r13), %rdx
jne 0x1c3d49
leaq (%rdx,%rdx), %rsi
testq %rdx, %rdx
cmoveq %r15, %rsi
movq %rsi, 0x8(%r13)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2370
movq %rax, 0x10(%r13)
movq 0x48(%r12), %rcx
movl (%rcx,%rbx,4), %ecx
movq (%r13), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, (%r13)
movq %rcx, (%rax,%rdx,8)
incl %ebx
jmp 0x1c3ce2
cmpl 0xc(%rsp), %ebp
jbe 0x1c3d68
xorl %eax, %eax
movq 0x10(%rsp), %rbx
jmp 0x1c3d9f
movl 0x8(%rsp), %esi
movq 0x10(%rsp), %rbx
leaq (,%rbx,8), %rdx
addq 0x10(%r13), %rdx
movq (%r13), %rcx
subq %rbx, %rcx
movq %r14, %rdi
movq 0x58(%rsp), %r8
xorl %r9d, %r9d
callq 0x1de65f
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
movq %rbx, (%r13)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/chhylp123[P]hifiasm/gfa_ut.cpp
// Function: ulg_bub_pop_backtrack(ma_ug_t*, unsigned int, buf_t*)
uint32_t ulg_bub_pop_backtrack(ma_ug_t *ug, uint32_t v0, buf_t *b)
{
	uint32_t i, v, u, cnt = b->e.n; asg_t *g = ug->g;

    ///b->S.a[0] is the sink of this bubble
	for (i = 0; i < b->b.n; ++i) g->seq[b->b.a[i]>>1].del = 1;

    ///remove all edges (self/reverse for each edge) in this bubble
	for (i = 0; i < b->e.n; ++i) {
        g->arc[b->e.a[i]].del = 1;
        asg_arc_del(g, g->arc[b->e.a[i]].v^1, (g->arc[b->e.a[i]].ul>>32)^1, 1);
	}

    ///v is the sink of this bubble
	v = b->S.a[0];
	do {
		u = b->a[v].p; // u->v
		g->seq[v>>1].del = 0;
		asg_arc_del(g, u, v, 0);
		asg_arc_del(g, v^1, u^1, 0);
        cnt--;
		v = u;
	} while (v != v0);

    for (i = 0; i < b->b.n; ++i) {
        if(!g->seq[b->b.a[i]>>1].del) continue;
        ulg_seq_del(ug, (b->b.a[i]>>1));
    }

    return cnt;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq 0x50(%rdx), %r14
movq 0x18(%rdi), %r12
xorl %eax, %eax
movl %eax, %eax
cmpq %rax, 0x38(%rbx)
jbe 0x1c3ded
movq 0x20(%r12), %rcx
movq 0x48(%rbx), %rdx
movl (%rdx,%rax,4), %edx
shrl %edx
orl $0x80000000, (%rcx,%rdx,8) # imm = 0x80000000
incl %eax
jmp 0x1c3dcc
movq %rdi, (%rsp)
xorl %eax, %eax
pushq $0x1
popq %r13
movl %eax, %r15d
cmpq %r15, 0x50(%rbx)
jbe 0x1c3e49
movq 0x8(%r12), %rax
movq 0x60(%rbx), %rcx
movl (%rcx,%r15,4), %ecx
imulq $0x18, %rcx, %rcx
orl $0x80000000, 0xc(%rax,%rcx) # imm = 0x80000000
movq 0x8(%r12), %rax
movq 0x60(%rbx), %rcx
movl (%rcx,%r15,4), %ecx
imulq $0x18, %rcx, %rcx
movl 0x4(%rax,%rcx), %edx
movl 0x8(%rax,%rcx), %esi
xorl $0x1, %esi
xorl $0x1, %edx
movq %r12, %rdi
movl %r13d, %ecx
callq 0x1abbde
leal 0x1(%r15), %eax
jmp 0x1c3df7
movq 0x18(%rbx), %rax
movl (%rax), %r13d
movq (%rbx), %rax
movl %r13d, %ecx
imulq $0x1c, %rcx, %rcx
movl (%rax,%rcx), %r15d
movq 0x20(%r12), %rax
movl %r13d, %ecx
shrl %ecx
andl $0x7fffffff, (%rax,%rcx,8) # imm = 0x7FFFFFFF
movq %r12, %rdi
movl %r15d, %esi
movl %r13d, %edx
xorl %ecx, %ecx
callq 0x1abbde
xorl $0x1, %r13d
movl %r15d, %edx
xorl $0x1, %edx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
callq 0x1abbde
decl %r14d
movl %r15d, %r13d
cmpl %ebp, %r15d
jne 0x1c3e50
xorl %r15d, %r15d
movq (%rsp), %r13
movl %r15d, %r15d
cmpq %r15, 0x38(%rbx)
jbe 0x1c3ed3
movq 0x20(%r12), %rax
movq 0x48(%rbx), %rcx
movl (%rcx,%r15,4), %esi
shrl %esi
cmpl $0x0, (%rax,%rsi,8)
jns 0x1c3ece
movq %r13, %rdi
callq 0x1bfe8f
incl %r15d
jmp 0x1c3ea8
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq