LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: utg_avg_cov
static inline double utg_avg_cov(scg_t *scg, const scg_utg_t *s)
{
    if (s->del) return .0;

    uint64_t i, u;
    double *cov, avg_cov;
    syncmer_t *scm;
    
    scm = scg_a_scm(scg);
    MYCALLOC(cov, s->n);
    // try to use single copy syncmers
    for (i = 0; i < s->n; ++i) {
        u = s->a[i]>>1;
        if (scm_utg_n(scg, u) == 1)
            cov[i] = scm[u].cov;
    }
    qsort(cov, s->n, sizeof(double), dbl_cmpfunc);
    i = 0;
    while (i < s->n && cov[i] < DBL_EPSILON) ++i;

    if (i == s->n) {
        // using all syncmers
        MYBZERO(cov, s->n);
        for (i = 0; i < s->n; ++i)
            cov[i] = scm[s->a[i]>>1].cov;
        qsort(cov, s->n, sizeof(double), dbl_cmpfunc);
        i = 0;
    }
    // calculate average using [Q1-IQR, Q3+IQR]
    avg_cov = average_IQR(&cov[i], s->n - i, 1);
    
    free(cov);
    
    return avg_cov;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
testb $0x40, 0x23(%rsi)
jne 0x4668
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rax
movq 0x10(%rax), %r13
movq (%rsi), %r12
pushq $0x8
popq %rsi
movq %r12, %rdi
callq 0x2250
movq %rax, %rbx
xorl %eax, %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
cmpq %rax, %r12
je 0x4670
movq 0x8(%r14), %rdx
movq (%rdx,%rax,8), %rdx
shrq %rdx
movq 0x18(%r15), %rsi
movq 0x8(%rsi,%rdx,8), %rdi
subq (%rsi,%rdx,8), %rdi
cmpq $0x10, %rdi
jne 0x4663
shlq $0x5, %rdx
movl 0x10(%r13,%rdx), %edx
andl %ecx, %edx
cvtsi2sd %edx, %xmm0
movsd %xmm0, (%rbx,%rax,8)
incq %rax
jmp 0x462c
xorps %xmm0, %xmm0
jmp 0x472d
leaq 0x3e95(%rip), %rcx      # 0x850c
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x20d0
movq (%r14), %r15
xorl %eax, %eax
movsd 0x15136(%rip), %xmm0    # 0x197c8
cmpq %rax, %r15
je 0x46a8
ucomisd (%rbx,%rax,8), %xmm0
jbe 0x46a3
incq %rax
jmp 0x4692
cmpq %rax, %r15
jne 0x4707
leaq (,%r15,8), %rdx
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21e0
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmpq %r12, %r15
je 0x46ed
movq 0x8(%r14), %rcx
movq (%rcx,%r12,8), %rcx
shlq $0x4, %rcx
andq $-0x20, %rcx
movl 0x10(%r13,%rcx), %ecx
andl %eax, %ecx
cvtsi2sd %ecx, %xmm0
movsd %xmm0, (%rbx,%r12,8)
incq %r12
jmp 0x46c2
leaq 0x3e18(%rip), %rcx      # 0x850c
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20d0
movq (%r14), %r15
xorl %eax, %eax
leaq (%rbx,%rax,8), %rdi
subl %eax, %r15d
pushq $0x1
popq %rdx
movl %r15d, %esi
callq 0x8529
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x2060
movsd 0x8(%rsp), %xmm0
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/./graph.h
// Function: asmg_arc
static inline asmg_arc_t *asmg_arc(asmg_t *g, uint64_t v, uint64_t w)
{
    uint64_t i, n;
    asmg_arc_t *a;

    a = asmg_arc_a(g, v);
    n = asmg_arc_n(g, v);
    for (i = 0; i < n; ++i)
        if (a[i].w == w)
            return &a[i];

    return 0;
}

// Assembly:
movq 0x28(%rdi), %rax
movq 0x30(%rdi), %r8
movq 0x38(%rdi), %rcx
movq (%rcx,%rsi,8), %rcx
incq %rcx
imulq $0x30, (%r8,%rsi,8), %rsi
addq %rax, %rsi
addq $-0x30, %rsi
decq %rcx
je 0x5368
leaq 0x30(%rsi), %rax
cmpq %rdx, 0x38(%rsi)
movq %rax, %rsi
jne 0x5355
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: scg_print
void scg_print(scg_t *g, FILE *fo, int no_seq)
{    
    uint64_t i, n;
    int l, c;
    char *s;
    asmg_t *asmg;
    asmg_vtx_t *vtx;
    asmg_arc_t *arc;

    asmg = g->utg_asmg;

    fprintf(fo, "H\tVN:Z:1.0\n");
    for (i = 0, n = asmg->n_vtx; i < n; ++i) {
        vtx = &asmg->vtx[i];
        if (vtx->del) continue;
        l = vtx->len;
        s = vtx->seq;
        c = vtx->cov;
        if (s && (!no_seq)) 
            fprintf(fo, "S\tu%lu\t%.*s\tLN:i:%d\tKC:i:%ld\tSC:f:%.3f\n", i, l, s, l, (int64_t) l * c, (double) c);
        else
            fprintf(fo, "S\tu%lu\t*\tLN:i:%d\tKC:i:%ld\tSC:f:%.3f\n", i, l, (int64_t) l * c, (double) c);
    }

    for (i = 0, n = asmg->n_arc; i < n; ++i) {
        arc = &asmg->arc[i];
        if (arc->del || arc->comp) continue;
        fprintf(fo, "L\tu%lu\t%c\tu%lu\t%c\t%ldM\tEC:i:%u\n", arc->v>>1, "+-"[arc->v&1], arc->w>>1, "+-"[arc->w&1], arc->ls, arc->cov);
        fprintf(fo, "L\tu%lu\t%c\tu%lu\t%c\t%ldM\tEC:i:%u\n", arc->w>>1, "-+"[arc->w&1], arc->v>>1, "-+"[arc->v&1], arc->ls, arc->cov);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq 0x8(%rdi), %r13
leaq 0x1459b(%rip), %rdi     # 0x19921
pushq $0xb
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x2460
movq (%r13), %r15
pushq $0x20
popq %r12
xorl %r14d, %r14d
cmpq %r14, %r15
je 0x5417
movq 0x10(%r13), %rax
movl (%rax,%r12), %edx
btl $0x1e, %edx
jb 0x540e
movq -0x8(%rax,%r12), %rcx
andl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
movslq %ecx, %r10
imulq %rdx, %r10
cvtsi2sd %edx, %xmm0
testl %ebp, %ebp
jne 0x53f7
movq -0x10(%rax,%r12), %r8
testq %r8, %r8
je 0x53f7
subq $0x8, %rsp
movq %rbx, %rdi
leaq 0x14598(%rip), %rsi     # 0x1997c
movq %r14, %rdx
movl %ecx, %r9d
movb $0x1, %al
pushq %r10
callq 0x2280
popq %rcx
popq %rdx
jmp 0x540e
movq %rbx, %rdi
leaq 0x145a3(%rip), %rsi     # 0x199a4
movq %r14, %rdx
movq %r10, %r8
movb $0x1, %al
callq 0x2280
incq %r14
addq $0x28, %r12
jmp 0x539f
movq 0x18(%r13), %r15
pushq $0x20
popq %r12
subq $0x1, %r15
jb 0x54de
movq 0x28(%r13), %r14
movl (%r14,%r12), %r10d
cmpl $0x3fffffff, %r10d      # imm = 0x3FFFFFFF
ja 0x54d5
movq -0x20(%r14,%r12), %rax
movq -0x18(%r14,%r12), %rsi
movq %rax, %rdx
shrq %rdx
andl $0x1, %eax
leaq 0x1451e(%rip), %rdi     # 0x19976
movsbl (%rax,%rdi), %ecx
movq %rsi, %r8
shrq %r8
andl $0x1, %esi
movsbl (%rsi,%rdi), %r9d
movq %rbx, %rdi
leaq 0x144e2(%rip), %rbp     # 0x19956
movq %rbp, %rsi
xorl %eax, %eax
pushq %r10
pushq -0x8(%r14,%r12)
callq 0x2280
popq %rcx
popq %rdx
movq -0x20(%r14,%r12), %rax
movq -0x18(%r14,%r12), %rcx
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
leaq 0x144d8(%rip), %rsi     # 0x19979
movsbl (%rcx,%rsi), %ecx
movq %rax, %r8
shrq %r8
andl $0x1, %eax
movsbl (%rax,%rsi), %r9d
movl (%r14,%r12), %r10d
movl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
andl %eax, %r10d
movq %rbx, %rdi
movq %rbp, %rsi
xorl %eax, %eax
pushq %r10
pushq -0x8(%r14,%r12)
callq 0x2280
popq %rcx
popq %rdx
addq $0x30, %r12
jmp 0x541f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: scg_print_unitig_syncmer_list
void scg_print_unitig_syncmer_list(scg_t *g, FILE *fo)
{
    uint64_t i, j, n, m, *a;
    asmg_t *utg;
    syncmer_t *scm;
    uint64_t *hap_info;
    utg = g->utg_asmg;
    hap_info = g->scm_db->h;
    scm = scg_a_scm(g);
    for (i = 0, n = utg->n_vtx; i < n; ++i) {
        if (utg->vtx[i].del)
            continue;
        a = utg->vtx[i].a;
        m = utg->vtx[i].n;
        fprintf(fo, "u%lu syncmer list:", i);
        for (j = 0; j < m; ++j)
            fprintf(fo, " %lu%c[%u]", a[j]>>1, "+-"[a[j]&1], scm[a[j]>>1].cov);
        fprintf(fo, "\n");
        if (hap_info) {
            fprintf(fo, "u%lu syncmer hap list:", i);
            for (j = 0; j < m; ++j)
                fprintf(fo, " %u:%u%c[%u]", 
                        (uint32_t) (hap_info[a[j]>>1] >> 33), 
                        (uint32_t) (hap_info[a[j]>>1] >> 1), 
                        "+-"[hap_info[a[j]>>1] & 1],
                        scm[a[j]>>1].cov);
            fprintf(fo, "\n");
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq 0x10(%rax), %rbp
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
movq (%rcx), %rax
movq %rax, 0x20(%rsp)
movl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %edx, %edx
cmpq 0x20(%rsp), %rdx
je 0x5646
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
imulq $0x28, %rdx, %rcx
testb $0x40, 0x23(%rax,%rcx)
jne 0x563e
addq %rcx, %rax
movq (%rax), %r13
movq 0x8(%rax), %r14
movq %rbx, %rdi
leaq 0x1446b(%rip), %rsi     # 0x199c9
movq %rdx, 0x8(%rsp)
xorl %eax, %eax
callq 0x2280
xorl %r12d, %r12d
cmpq %r12, %r13
je 0x55af
movq (%r14,%r12,8), %rax
movq %rax, %rdx
shrq %rdx
andl $0x1, %eax
leaq 0x143f0(%rip), %rcx     # 0x19976
movsbl (%rax,%rcx), %ecx
movq %rdx, %rax
shlq $0x5, %rax
movl 0x10(%rbp,%rax), %r8d
andl %r15d, %r8d
movq %rbx, %rdi
leaq 0x14439(%rip), %rsi     # 0x199dc
xorl %eax, %eax
callq 0x2280
incq %r12
jmp 0x556d
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x2210
cmpq $0x0, 0x10(%rsp)
movq 0x8(%rsp), %rdx
je 0x563e
movq %rbx, %rdi
leaq 0x14416(%rip), %rsi     # 0x199e7
xorl %eax, %eax
callq 0x2280
xorl %r12d, %r12d
cmpq %r12, %r13
je 0x562e
movq (%r14,%r12,8), %rax
shrq %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
movq %rsi, %rdx
shrq $0x21, %rdx
movq %rsi, %rcx
shrq %rcx
andl $0x1, %esi
leaq 0x1436f(%rip), %rdi     # 0x19976
movsbl (%rsi,%rdi), %r8d
shlq $0x5, %rax
movl 0x10(%rbp,%rax), %r9d
andl %r15d, %r9d
movq %rbx, %rdi
leaq 0x143dc(%rip), %rsi     # 0x199fe
xorl %eax, %eax
callq 0x2280
incq %r12
jmp 0x55db
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x2210
movq 0x8(%rsp), %rdx
incq %rdx
jmp 0x5527
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: process_mergeable_unitigs
void process_mergeable_unitigs(scg_t *g)
{
    // postprocessing for mergeable utgs
    asmg_t *utg_asmg;

    // make utgs from the unitig graph
    utg_asmg = asmg_unitigging(g->utg_asmg);

    // update utg
    asmg_destroy(g->utg_asmg);
    g->utg_asmg = utg_asmg;

    scg_scm_utg_index(g);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x13bcf
movq %rax, %r14
movq 0x8(%rbx), %rdi
callq 0x11e5c
movq %r14, 0x8(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3d7c
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/./graph.h
// Function: asmg_arc_n1
static inline uint64_t asmg_arc_n1(asmg_t *g, uint64_t v)
{
    uint64_t i, n, n1;
    asmg_arc_t *a;

    a = asmg_arc_a(g, v);
    n = asmg_arc_n(g, v);
    n1 = n;
    for (i = 0; i < n; ++i)
        if (a[i].del)
            --n1;

    return n1;
}

// Assembly:
movq 0x28(%rdi), %rax
movq 0x30(%rdi), %rdx
movq 0x38(%rdi), %rcx
movq (%rcx,%rsi,8), %rcx
imulq $0x30, (%rdx,%rsi,8), %rdx
addq %rax, %rdx
addq $0x20, %rdx
movq %rcx, %rax
subq $0x1, %rcx
jb 0x69f9
movl (%rdx), %esi
addl %esi, %esi
sarl $0x1f, %esi
movslq %esi, %rsi
addq %rsi, %rax
addq $0x30, %rdx
jmp 0x69e0
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/./graph.h
// Function: asmg_arc1
static inline asmg_arc_t *asmg_arc1(asmg_t *g, uint64_t v, uint64_t w)
{
    uint64_t i, n;
    asmg_arc_t *a;

    a = asmg_arc_a(g, v);
    n = asmg_arc_n(g, v);
    for (i = 0; i < n; ++i)
        if (a[i].w == w && !a[i].del)
            return &a[i];

    return 0;
}

// Assembly:
movq 0x30(%rdi), %rax
imulq $0x30, (%rax,%rsi,8), %rax
movq 0x38(%rdi), %rcx
addq 0x28(%rdi), %rax
movq (%rcx,%rsi,8), %rcx
subq $0x1, %rcx
jb 0x6abf
cmpq %rdx, 0x8(%rax)
jne 0x6ab9
testb $0x40, 0x23(%rax)
je 0x6ac1
addq $0x30, %rax
jmp 0x6aa7
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: scg_add_utg_p
static inline uint64_t scg_add_utg_p(asmg_t *g, scg_utg_t **p) {
    if (g->n_vtx == g->m_vtx)
        MYEXPAND(g->vtx, g->m_vtx);
    ++g->n_vtx;
    *p = &g->vtx[g->n_vtx-1];
    return g->n_vtx-1;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
cmpq 0x8(%rdi), %rax
jne 0x6b6b
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x10, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x20, %rax
orq %rcx, %rax
incq %rax
movq %rax, 0x8(%r14)
movq 0x10(%r14), %rdi
imulq $0x28, %rax, %rsi
callq 0x2350
movq %rax, %rcx
movq %rax, 0x10(%r14)
movq (%r14), %rax
jmp 0x6b6f
movq 0x10(%r14), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, (%r14)
imulq $0x28, %rax, %rdx
addq %rcx, %rdx
movq %rdx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: vec_add
static inline void vec_add(u64_v_t *v_vec, uint64_t *v, size_t n, int r)
{
    size_t i, j;
    if (r) {
        for (i = 0, j = n-1; i < n; ++i, --j)
            kv_push(uint64_t, *v_vec, v[j]^1);
    } else {
        for (i = 0; i < n; ++i)
            kv_push(uint64_t, *v_vec, v[i]);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testl %ecx, %ecx
je 0x6bf0
pushq $0x2
popq %r12
subq $0x1, %rbx
jb 0x6c3f
movq (%r15), %rcx
movq 0x10(%r15), %rax
cmpq 0x8(%r15), %rcx
jne 0x6bdb
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r12, %rsi
movq %rsi, 0x8(%r15)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2350
movq %rax, 0x10(%r15)
movq (%r15), %rcx
movq (%r14,%rbx,8), %rdx
xorq $0x1, %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rdx, (%rax,%rcx,8)
jmp 0x6ba2
xorl %r12d, %r12d
pushq $0x2
popq %r13
cmpq %r12, %rbx
je 0x6c3f
movq (%r15), %rcx
movq 0x10(%r15), %rax
cmpq 0x8(%r15), %rcx
jne 0x6c2b
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r13, %rsi
movq %rsi, 0x8(%r15)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x2350
movq %rax, 0x10(%r15)
movq (%r15), %rcx
movq (%r14,%r12,8), %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, (%r15)
movq %rdx, (%rax,%rcx,8)
incq %r12
jmp 0x6bf7
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/./graph.h
// Function: asmg_arc_add
static inline asmg_arc_t *asmg_arc_add(asmg_t *g, uint64_t v, uint64_t w, uint64_t ln, uint64_t ls, uint64_t link_id, uint32_t cov, uint32_t comp)
{
    asmg_arc_t *a;
    if (g->n_arc == g->m_arc)
        MYEXPAND(g->arc, g->m_arc);
    a = &g->arc[g->n_arc++];
    a->v = v;
    a->w = w;
    a->ln = ln;
    a->ls = ls;
    a->link_id = link_id;
    a->cov = cov;
    a->del = 0;
    a->comp = comp;
    return a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %r10
movq %rdi, %rbp
movl 0x58(%rsp), %ebx
movl 0x50(%rsp), %r14d
movq 0x18(%rdi), %rsi
cmpq 0x20(%rdi), %rsi
jne 0x710d
movq %rsi, %rax
shrq %rax
orq %rsi, %rax
movq %rax, %rsi
shrq $0x2, %rsi
orq %rax, %rsi
movq %rsi, %rax
shrq $0x4, %rax
orq %rsi, %rax
movq %rax, %rsi
shrq $0x8, %rsi
orq %rax, %rsi
movq %rsi, %rax
shrq $0x10, %rax
orq %rsi, %rax
movq %rax, %rsi
shrq $0x20, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x20(%rbp)
movq 0x28(%rbp), %rdi
imulq $0x30, %rsi, %rsi
movq %r9, 0x10(%rsp)
movq %r10, 0x8(%rsp)
callq 0x2350
movq 0x8(%rsp), %r10
movq 0x10(%rsp), %r9
movq %rax, 0x28(%rbp)
movq 0x18(%rbp), %rsi
jmp 0x7111
movq 0x28(%rbp), %rax
leaq 0x1(%rsi), %rdi
movq %rdi, 0x18(%rbp)
imulq $0x30, %rsi, %rsi
movq %r10, (%rax,%rsi)
movq %r15, 0x8(%rax,%rsi)
movq %r13, 0x10(%rax,%rsi)
movq %r12, 0x18(%rax,%rsi)
movq %r9, 0x28(%rax,%rsi)
andl $0x3fffffff, %r14d      # imm = 0x3FFFFFFF
shll $0x1f, %ebx
orl %r14d, %ebx
movl %ebx, 0x20(%rax,%rsi)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: average_IQR
static double average_IQR(double *a, int n, int sorted)
{
    if (n == 0) return 0.;

    double Q1, Q3, IQR, s;
    int i, n0;
    if (!sorted) qsort(a, n, sizeof(double), dbl_cmpfunc);
    Q1 = quantile(a, n, 0.25, 1);
    Q3 = quantile(a, n, 0.75, 1);
    IQR = Q3 - Q1;
    Q1 -= 1.5 * IQR;
    Q3 += 1.5 * IQR;
    n0 = 0;
    s = 0.;
    for (i = 0; i < n; ++i) {
        if (a[i] >= Q1 && a[i] <= Q3) {
            ++n0;
            s += a[i];
        }
    }
#ifdef DEBUG_UTG_RA_COV
    fprintf(stderr, "[DEBUG_UTG_RA_COV::%s] %d single copy syncmers:",
            __func__, n);
    for (i = 0; i < n; ++i) fprintf(stderr, " %.0f", a[i]);
    fputc('\n', stderr);
    fprintf(stderr, "[DEBUG_UTG_RA_COV::%s] %d outliers out of range [%.3f %.3f] removed\n",
            __func__, n - n0, Q1, Q3);
#endif
    return n0? s / n0 : 0.;
}

// Assembly:
testl %esi, %esi
je 0x8605
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
testl %edx, %edx
jne 0x8553
movslq %ebx, %rsi
leaq -0x3c(%rip), %rcx       # 0x850c
pushq $0x8
popq %rdx
movq %r14, %rdi
callq 0x20d0
movsd 0x1128d(%rip), %xmm0    # 0x197e8
movq %r14, %rdi
movl %ebx, %esi
callq 0xa166
movsd %xmm0, (%rsp)
movsd 0x1127e(%rip), %xmm0    # 0x197f0
movq %r14, %rdi
movl %ebx, %esi
callq 0xa166
movapd %xmm0, %xmm1
movsd (%rsp), %xmm3
subsd %xmm3, %xmm1
movsd 0x11267(%rip), %xmm2    # 0x197f8
mulsd %xmm1, %xmm2
mulsd 0x11263(%rip), %xmm1    # 0x19800
addsd %xmm3, %xmm2
addsd %xmm0, %xmm1
xorl %eax, %eax
testl %ebx, %ebx
cmovlel %eax, %ebx
xorpd %xmm3, %xmm3
xorl %ecx, %ecx
cmpq %rax, %rbx
je 0x85e8
movsd (%r14,%rax,8), %xmm0
movapd %xmm2, %xmm4
cmplepd %xmm0, %xmm4
movapd %xmm0, %xmm5
cmplepd %xmm1, %xmm5
andpd %xmm4, %xmm5
movq %xmm5, %rdx
testb $0x1, %dl
je 0x85e1
addsd %xmm0, %xmm3
subl %edx, %ecx
incq %rax
jmp 0x85b2
xorpd %xmm0, %xmm0
testl %ecx, %ecx
leaq 0x8(%rsp), %rsp
popq %rbx
popq %r14
je 0x8604
cvtsi2sd %ecx, %xmm0
divsd %xmm0, %xmm3
movapd %xmm3, %xmm0
retq
xorps %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncasm.c
// Function: quantile
static double quantile(double *a, int n, double q, int sorted)
{
    if (q < 0 || q > 1.0 || n <= 0) {
        fprintf(stderr, "[E::%s] numeric error", __func__);
        exit(EXIT_FAILURE);
    }
    if (n == 1) return a[0];
    if (!sorted) qsort(a, n, sizeof(double), dbl_cmpfunc);
    double fractpart, intpart;
    fractpart = modf(q * (n - 1), &intpart);
    int i = lround(intpart);
    if (i == n - 1) return a[i];
    return a[i] + (a[i + 1] - a[i]) * fractpart;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
testl %esi, %esi
jle 0xa215
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0xa215
ucomisd 0xf644(%rip), %xmm0     # 0x197d0
ja 0xa215
movl %esi, %ebp
movq %rdi, %rbx
cmpl $0x1, %esi
jne 0xa1a2
movsd (%rbx), %xmm0
jmp 0xa20c
decl %ebp
cvtsi2sd %ebp, %xmm1
mulsd %xmm0, %xmm1
leaq 0x8(%rsp), %r14
movapd %xmm1, %xmm0
movq %r14, %rdi
callq 0x21a0
movsd %xmm0, (%rsp)
movsd (%r14), %xmm0
callq 0x2110
cmpl %eax, %ebp
jne 0xa1d9
movl %eax, %eax
movsd (%rbx,%rax,8), %xmm0
jmp 0xa20c
shlq $0x20, %rax
movq %rax, %rcx
sarq $0x1d, %rcx
movsd (%rbx,%rcx), %xmm1
movabsq $0x100000000, %rcx      # imm = 0x100000000
addq %rax, %rcx
sarq $0x1d, %rcx
movsd (%rbx,%rcx), %xmm0
subsd %xmm1, %xmm0
mulsd (%rsp), %xmm0
addsd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq 0x16dd4(%rip), %rax     # 0x20ff0
movq (%rax), %rdi
leaq 0xfb2b(%rip), %rsi      # 0x19d51
leaq 0xfb3a(%rip), %rdx      # 0x19d67
xorl %eax, %eax
callq 0x2280
pushq $0x1
popq %rdi
callq 0x2440
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: MurmurHash64A
uint64_t MurmurHash64A(const void *key, uint32_t len, uint64_t seed)
{
    const uint64_t m = 0xc6a4a7935bd1e995LLU;
    const int r = 47;

    uint64_t h = seed ^ (len * m);

    const uint64_t *data = (const uint64_t *)key;
    const uint64_t *end = (len >> 3) + data;

    while(data != end) {
        uint64_t k = *data++;

        k *= m;
        k ^= k >> r;
        k *= m;

        h ^= k;
        h *= m;
    }

    const unsigned char *data2 = (const unsigned char *) data;

    switch(len & 7) {
        case 7: h ^= (uint64_t) (data2[6]) << 48;
        case 6: h ^= (uint64_t) (data2[5]) << 40;
        case 5: h ^= (uint64_t) (data2[4]) << 32;
        case 4: h ^= (uint64_t) (data2[3]) << 24;
        case 3: h ^= (uint64_t) (data2[2]) << 16;
        case 2: h ^= (uint64_t) (data2[1]) << 8;
        case 1: h ^= (uint64_t) (data2[0]);
                h *= m;
    };

    h ^= h >> r;
    h *= m;
    h ^= h >> r;

    return h;
}

// Assembly:
movabsq $-0x395b586ca42e166b, %rax # imm = 0xC6A4A7935BD1E995
movl %esi, %ecx
imulq %rax, %rcx
xorq %rdx, %rcx
movl %esi, %edx
shrl $0x3, %edx
movl %esi, %r8d
andl $-0x8, %r8d
xorl %r9d, %r9d
cmpq %r9, %r8
je 0xa289
movq (%rdi,%r9), %r10
imulq %rax, %r10
movq %r10, %r11
shrq $0x2f, %r11
xorq %r10, %r11
imulq %rax, %r11
xorq %rcx, %r11
imulq %rax, %r11
addq $0x8, %r9
movq %r11, %rcx
jmp 0xa25e
andl $0x7, %esi
leaq 0xfadd(%rip), %r8       # 0x19d70
movslq (%r8,%rsi,4), %rsi
addq %r8, %rsi
jmpq *%rsi
movzbl 0x6(%rdi,%rdx,8), %esi
shlq $0x30, %rsi
xorq %rsi, %rcx
movzbl 0x5(%rdi,%rdx,8), %esi
shlq $0x28, %rsi
xorq %rsi, %rcx
movzbl 0x4(%rdi,%rdx,8), %esi
shlq $0x20, %rsi
xorq %rsi, %rcx
movzbl 0x3(%rdi,%rdx,8), %esi
shll $0x18, %esi
xorq %rsi, %rcx
movzbl 0x2(%rdi,%rdx,8), %esi
shll $0x10, %esi
xorq %rsi, %rcx
movzbl 0x1(%rdi,%rdx,8), %esi
shll $0x8, %esi
xorq %rsi, %rcx
movzbl (%rdi,%rdx,8), %edx
xorq %rcx, %rdx
imulq %rax, %rdx
movq %rdx, %rcx
movq %rcx, %rdx
shrq $0x2f, %rdx
xorq %rcx, %rdx
imulq %rax, %rdx
movq %rdx, %rax
shrq $0x2f, %rax
xorq %rdx, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: sr_db_clean
void sr_db_clean(sr_db_t *sr_db)
{
    if (!sr_db) return;
    size_t i;
    for (i = 0; i < sr_db->n; ++i)
        sr_destroy(&sr_db->a[i]);
    kv_destroy(*sr_db);
    free(sr_db->stats);
}

// Assembly:
testq %rdi, %rdi
je 0xa755
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
cmpq (%rbx), %r15
jae 0xa742
addq %r14, %rdi
callq 0xb9e9
incq %r15
addq $0x58, %r14
jmp 0xa728
callq 0x2060
movq 0x20(%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2060
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: sr_db_init
void sr_db_init(sr_db_t *sr_db, int k, int s)
{
    if (!sr_db) return;
    kv_init(*sr_db);
    sr_db->k = k;
    sr_db->s = s;
    sr_db->stats = 0;
}

// Assembly:
testq %rdi, %rdi
je 0xa771
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movl %esi, 0x18(%rdi)
movl %edx, 0x1c(%rdi)
andq $0x0, 0x20(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: do_analysis
static void do_analysis(p_data_t *dat, pthread_t *threads, int n_threads, sr_db_t *sr_db)
{
    int t;
    for (t = 1; t < n_threads; ++t)
        pthread_create(threads + t, NULL, sr_read_analysis_thread, &dat[t]);

    sr_read_analysis_thread(dat);

    for (t = 1; t < n_threads; ++t)
        pthread_join(threads[t], NULL);

    for (t = 0; t < n_threads; ++t) {
        kv_pushn(sr_t, *sr_db, dat[t].sr_db->a, dat[t].sr_db->n);
        dat[t].n_reads = 0;
        dat[t].sr_db->n = 0;
    }

    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdi, %r14
movq %rdx, 0x10(%rsp)
movslq %edx, %r15
leaq 0x30(%rdi), %r13
movq %rsi, 0x8(%rsp)
leaq 0x8(%rsi), %rbp
pushq $0x1
popq %r12
cmpq %r15, %r12
jge 0xa7c5
movq %rbp, %rdi
xorl %esi, %esi
leaq 0x32e6(%rip), %rdx      # 0xda96
movq %r13, %rcx
callq 0x2360
incq %r12
addq $0x30, %r13
addq $0x8, %rbp
jmp 0xa79f
movq %r14, %rdi
callq 0xda96
pushq $0x1
popq %r12
movq 0x8(%rsp), %r13
cmpq %r15, %r12
jge 0xa7ec
movq (%r13,%r12,8), %rdi
xorl %esi, %esi
callq 0x24a0
incq %r12
jmp 0xa7d6
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
testl %eax, %eax
cmovlel %r15d, %eax
imulq $0x30, %rax, %r12
cmpq %r15, %r12
je 0xa8a7
movq (%rbx), %rdx
movq 0x10(%rbx), %rax
movq 0x28(%r14,%r15), %rcx
movq (%rcx), %r8
leaq (%r8,%rdx), %rsi
cmpq 0x8(%rbx), %rsi
jbe 0xa876
decq %rsi
movq %rsi, %rcx
shrq %rcx
orq %rsi, %rcx
movq %rcx, %rdx
shrq $0x2, %rdx
orq %rcx, %rdx
movq %rdx, %rcx
shrq $0x4, %rcx
orq %rdx, %rcx
movq %rcx, %rdx
shrq $0x8, %rdx
orq %rcx, %rdx
movq %rdx, %rcx
shrq $0x10, %rcx
orq %rdx, %rcx
incq %rcx
movq %rcx, 0x8(%rbx)
imulq $0x58, %rcx, %rsi
movq %rax, %rdi
callq 0x2350
movq %rax, 0x10(%rbx)
movq (%rbx), %rdx
movq 0x28(%r14,%r15), %rcx
movq (%rcx), %r8
imulq $0x58, %rdx, %rdi
addq %rax, %rdi
movq 0x10(%rcx), %rsi
imulq $0x58, %r8, %rdx
callq 0x22b0
movq 0x28(%r14,%r15), %rax
movq (%rax), %rcx
addq %rcx, (%rbx)
andl $0x0, (%r14,%r15)
andq $0x0, (%rax)
addq $0x30, %r15
jmp 0xa7fe
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: kh_ctab_stat
static double kh_ctab_stat(kh_ctab_t *ctab, int *uniq, int *singleton)
{
    khint_t k;
    double sum;
    int s, c, n;
    sum = .0;
    n = c = 0;
    if (kh_size(ctab) == 0)
        goto do_assign;

    for (k = (khint_t) 0; k != kh_end(ctab); ++k) {
        if (kh_exist(ctab, k)) {
            s = kh_key(ctab, k);
            c = kh_val(ctab, k);
            sum += (double) s * c;
            n += c;
        }
    }
    k = kh_ctab_get(ctab, 1);
    if (k < kh_end(ctab))
        c = kh_val(ctab, k);

do_assign:
    if (uniq) *uniq = n;
    if (singleton) *singleton = c;
    
    return sum / n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
cmpl $0x0, 0x4(%rdi)
je 0xb2e8
movq 0x10(%rdi), %r10
xorl %r11d, %r11d
xorpd %xmm0, %xmm0
movl $0x1, %ebx
xorl %r9d, %r9d
xorl %r8d, %r8d
testq %r10, %r10
je 0xb273
movl (%rdi), %eax
movl %ebx, %ebp
movl %eax, %ecx
shll %cl, %ebp
movq 0x8(%rdi), %r14
cmpl %ebp, %r11d
jne 0xb280
jmp 0xb2b3
testl %r11d, %r11d
je 0xb30a
movq 0x8(%rdi), %r14
movl %r11d, %eax
shrl $0x5, %eax
movl (%r14,%rax,4), %eax
btl %r11d, %eax
jae 0xb2ae
movl %r11d, %eax
movl 0x4(%r10,%rax,8), %r9d
cvtsi2sdl (%r10,%rax,8), %xmm1
cvtsi2sd %r9d, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm2, %xmm0
addl %r9d, %r8d
incl %r11d
jmp 0xb25b
leal -0x1(%r11), %edi
movl %eax, %ecx
negb %cl
movl $0x3c9420a0, %ebx       # imm = 0x3C9420A0
shrl %cl, %ebx
movl %ebx, %ecx
movl %ecx, %r15d
shrl $0x5, %r15d
movl (%r14,%r15,4), %ebp
btl %ecx, %ebp
jae 0xb2f7
movl %ecx, %r15d
cmpl $0x1, (%r10,%r15,8)
je 0xb2f4
incl %ecx
andl %edi, %ecx
cmpl %ebx, %ecx
jne 0xb2c4
jmp 0xb2f7
xorl %r9d, %r9d
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
jmp 0xb30a
movl %ecx, %r11d
movl %r11d, %edi
movl %eax, %ecx
shrl %cl, %edi
testl %edi, %edi
jne 0xb30a
movl %r11d, %eax
movl 0x4(%r10,%rax,8), %r9d
testq %rsi, %rsi
je 0xb312
movl %r8d, (%rsi)
testq %rdx, %rdx
je 0xb31a
movl %r9d, (%rdx)
cvtsi2sd %r8d, %xmm1
divsd %xmm1, %xmm0
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: syncmer_s_cmpfunc
static int syncmer_s_cmpfunc(const void *a, const void *b)
{
    uint64_t x, y;
    uint64_t s, t;
    x = ((syncmer_t *) a)->s;
    y = ((syncmer_t *) b)->s;
    s = ((syncmer_t *) a)->h;
    t = ((syncmer_t *) b)->h;
    return x == y? ((s > t) - (s < t)) : ((x > y) - (x < y));
}

// Assembly:
movq 0x8(%rsi), %rax
cmpq %rax, 0x8(%rdi)
jne 0xb33a
movq (%rdi), %rax
cmpq (%rsi), %rax
seta %al
setb %cl
movzbl %al, %eax
movzbl %cl, %ecx
subl %ecx, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: kh_ctab_cnt
static int64_t *kh_ctab_cnt(kh_ctab_t *ctab, int max_n)
{
    int64_t *cnt;
    int s, c;
    khint_t k;

    MYCALLOC(cnt, max_n + 1);
    for (k = (khint_t) 0; k != kh_end(ctab); ++k) {
        if (kh_exist(ctab, k)) {
            s = kh_key(ctab, k);
            c = kh_val(ctab, k);
            if (s < max_n)
                cnt[s] = c;
            else
                cnt[max_n] += c;
        }
    }

    return cnt;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
leal 0x1(%rbx), %eax
movslq %eax, %rdi
pushq $0x8
popq %rsi
callq 0x2250
movq 0x10(%r14), %rdx
movslq %ebx, %rsi
xorl %edi, %edi
pushq $0x1
popq %r8
movl $0x0, %r9d
testq %rdx, %rdx
je 0xb381
movb (%r14), %cl
movl %r8d, %r9d
shll %cl, %r9d
cmpl %r9d, %edi
je 0xb3b8
movq 0x8(%r14), %rcx
movl %edi, %r9d
shrl $0x5, %r9d
movl (%rcx,%r9,4), %ecx
btl %edi, %ecx
jae 0xb3b4
movl %edi, %r9d
movslq (%rdx,%r9,8), %rcx
movslq 0x4(%rdx,%r9,8), %r9
cmpl %ebx, %ecx
jge 0xb3b0
movq %r9, (%rax,%rcx,8)
jmp 0xb3b4
addq %r9, (%rax,%rsi,8)
incl %edi
jmp 0xb36d
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: kh_ctab_print
static void kh_ctab_print(kh_ctab_t *ctab, const char *h, FILE *fo, int more)
{
    khint_t k;
    uint32_t i, n = kh_size(ctab);
    int64_t hist[n];
    int s, c;
    i = 0;
    for (k = (khint_t) 0; k != kh_end(ctab); ++k) {
        if (kh_exist(ctab, k)) {
            s = kh_key(ctab, k);
            c = kh_val(ctab, k);
            hist[i++] = (int64_t) s << 32 | c;
        }
    }

    qsort(hist, n, sizeof(int64_t), int64_cmpfunc);
    hist_plot(hist, n, h, fo);

    if (more > 0) {
        for (i = 0; i < n; ++i)
            fprintf(fo, "[M::%s] [%s CNTS] %ld %d\n", __func__, h, hist[i] >> 32, (int) hist[i]);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r13d
movq %rdx, -0x38(%rbp)
movq %rsi, -0x30(%rbp)
movl 0x4(%rdi), %r15d
movq %rsp, %r12
leaq 0xf(,%r15,8), %rax
andq $-0x10, %rax
subq %rax, %r12
movq %r12, %rsp
movq 0x10(%rdi), %rax
xorl %edx, %edx
pushq $0x1
popq %rsi
xorl %r8d, %r8d
movl $0x0, %r9d
testq %rax, %rax
je 0xb878
movb (%rdi), %cl
movl %esi, %r9d
shll %cl, %r9d
cmpl %r9d, %r8d
je 0xb8b2
movq 0x8(%rdi), %rcx
movl %r8d, %r9d
shrl $0x5, %r9d
movl (%rcx,%r9,4), %ecx
btl %r8d, %ecx
jae 0xb8ad
movl %r8d, %ecx
movslq 0x4(%rax,%rcx,8), %r9
movl (%rax,%rcx,8), %ecx
shlq $0x20, %rcx
orq %r9, %rcx
movl %edx, %r9d
incl %edx
movq %rcx, (%r12,%r9,8)
incl %r8d
jmp 0xb865
leaq 0x342c(%rip), %rcx      # 0xece5
pushq $0x8
popq %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x20d0
movq %r12, %rdi
movl %r15d, %esi
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
callq 0xecf8
testl %r13d, %r13d
jle 0xb91a
leaq 0xebc6(%rip), %r13      # 0x1a4ac
leaq 0xebd9(%rip), %rbx      # 0x1a4c6
xorl %r14d, %r14d
cmpq %r14, %r15
je 0xb91a
movq (%r12,%r14,8), %r9
movq %r9, %r8
sarq $0x20, %r8
movq -0x38(%rbp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
movq -0x30(%rbp), %rcx
xorl %eax, %eax
callq 0x2280
incq %r14
jmp 0xb8f0
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: sr_db_validate
int sr_db_validate(sr_db_t *sr_db)
{
    if (sr_db->n > MAX_RD_NUM) {
        fprintf(stderr, "[E::%s] read number exceeds the limit %llu\n", __func__, MAX_RD_NUM);
        return 1;
    }
    size_t i;
    for (i = 0; i < sr_db->n; ++i) {
        sr_t *s = &sr_db->a[i];
        if (s->n > MAX_RD_SCM) {
            fprintf(stderr, "[E::%s] syncmer number (%u) on read exceeds the limit %llu: %s\n", __func__, s->n, MAX_RD_SCM, s->sname);
            return 2;
        }
    }
    return 0;
}

// Assembly:
pushq %rax
movq (%rdi), %rax
movq %rax, %rcx
shrq $0x20, %rcx
jne 0xb9c0
incq %rax
pushq $0x38
popq %rdx
decq %rax
je 0xb9bc
movq 0x10(%rdi), %rsi
movl (%rsi,%rdx), %ecx
addq $0x58, %rdx
testl %ecx, %ecx
jns 0xb977
movq 0x1565e(%rip), %rax     # 0x20ff0
movq (%rax), %rdi
movq -0x88(%rsi,%rdx), %r9
leaq 0xe88b(%rip), %rsi      # 0x1a22f
leaq 0xe875(%rip), %rdx      # 0x1a220
movl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
xorl %eax, %eax
callq 0x2280
pushq $0x2
jmp 0xb9e6
xorl %eax, %eax
popq %rcx
retq
movq 0x15629(%rip), %rax     # 0x20ff0
movq (%rax), %rdi
leaq 0xe823(%rip), %rsi      # 0x1a1f4
leaq 0xe848(%rip), %rdx      # 0x1a220
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %eax, %eax
callq 0x2280
pushq $0x1
popq %rax
jmp 0xb9be
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: sr_destroy
void sr_destroy(sr_t *sr)
{
    if (!sr) return;
    if (sr->sname) free(sr->sname);
    if (sr->hoco_s) free(sr->hoco_s);
    if (sr->ho_rl) free(sr->ho_rl);
    if (sr->ho_l_rl) free(sr->ho_l_rl);
    if (sr->n_nucl) free(sr->n_nucl);
    if (sr->s_mer) free(sr->s_mer);
    if (sr->k_mer) free(sr->k_mer);
    if (sr->m_pos) free(sr->m_pos);
}

// Assembly:
testq %rdi, %rdi
je 0xba3b
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x2060
movq 0x18(%rbx), %rdi
callq 0x2060
movq 0x20(%rbx), %rdi
callq 0x2060
movq 0x28(%rbx), %rdi
callq 0x2060
movq 0x30(%rbx), %rdi
callq 0x2060
movq 0x48(%rbx), %rdi
callq 0x2060
movq 0x50(%rbx), %rdi
callq 0x2060
movq 0x40(%rbx), %rdi
popq %rbx
jmp 0x2060
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: syncmer_db_clean
void syncmer_db_clean(syncmer_db_t *scm_db)
{
    if (!scm_db) return;
    size_t i;
    for (i = 0; i < scm_db->n; ++i)
        free(scm_db->a[i].m_pos);
    kv_destroy(*scm_db);
    free(scm_db->c);
    free(scm_db->h);
}

// Assembly:
testq %rdi, %rdi
je 0xbab4
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x18
popq %r14
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
cmpq (%rbx), %r15
jae 0xba98
movq (%rdi,%r14), %rdi
callq 0x2060
incq %r15
addq $0x20, %r14
jmp 0xba7d
callq 0x2060
movq 0x18(%rbx), %rdi
callq 0x2060
movq 0x20(%rbx), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2060
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: print_aligned_syncmers_on_seq
void print_aligned_syncmers_on_seq(sr_t *sr, int w, uint32_t beg, uint32_t end, FILE *fo)
{
    uint32_t i, j, l, n, p;
    kstring_t s = {0, 0, 0};
    l = sr->hoco_l;
    n = sr->n;
    end = MIN(end, n);
    get_hoco_seq(sr, &s);
    fprintf(fo, "%.*s\n", (int) s.l, s.s);
    for (i = beg; i < end; ++i) {
        p = sr->m_pos[i]>>1;
        if (p == MAX_RD_LEN) continue;
        for (j = 0; j < p; ++j) fputc('*', fo);
        fprintf(fo, "%.*s", w, &s.s[p]);
        for (j = p + w; j < l; ++j) fputc('*', fo);
        fputc('\n', fo);
    }
    free(s.s);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %rbx
movl %ecx, %r14d
movl %edx, %ebp
movl %esi, 0x4(%rsp)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r13
movaps %xmm0, (%r13)
andq $0x0, 0x10(%r13)
movl 0x10(%rdi), %r12d
movl 0x38(%rdi), %eax
cmpl %ecx, %eax
cmovbl %eax, %r14d
movq %rdi, 0x18(%rsp)
movq %r13, %rsi
callq 0xbeb3
movl (%r13), %edx
movq 0x10(%r13), %rcx
leaq 0xec18(%rip), %rsi      # 0x1aa0f
movq %rbx, %rdi
movq %rcx, 0x8(%rsp)
xorl %eax, %eax
callq 0x2280
movl %ebp, %ebp
pushq $0x2a
popq %r13
movq %r14, 0x10(%rsp)
cmpq %r14, %rbp
jae 0xbe9b
movq 0x18(%rsp), %rax
movq 0x40(%rax), %rax
movl (%rax,%rbp,4), %r15d
shrl %r15d
cmpl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
je 0xbe93
movl %r15d, %r14d
subl $0x1, %r14d
jb 0xbe49
movl %r13d, %edi
movq %rbx, %rsi
callq 0x2210
jmp 0xbe36
movq 0x8(%rsp), %rax
leaq (%rax,%r15), %rcx
movq %rbx, %rdi
leaq 0xe440(%rip), %rsi      # 0x1a29c
movl 0x4(%rsp), %r14d
movl %r14d, %edx
xorl %eax, %eax
callq 0x2280
addl %r14d, %r15d
movq 0x10(%rsp), %r14
cmpl %r12d, %r15d
jae 0xbe88
movl %r13d, %edi
movq %rbx, %rsi
callq 0x2210
incl %r15d
jmp 0xbe73
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x2210
incq %rbp
jmp 0xbe11
movq 0x8(%rsp), %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2060
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: get_kmer_seq
void get_kmer_seq(uint8_t *hoco_s, uint32_t pos, int l, uint32_t rev, uint8_t *kmer_s)
{
    int i, j;
    uint8_t t;
    uint32_t p;
    for (i = 0; i < l; ++i) {
        p = pos + i;
        kmer_s[i] = (hoco_s[p/4]>>(((p&3)^3)<<1))&3;
    }
    if (rev) {
        for (i = 0, j = l - 1; i < j; ++i, --j) {
            t = kmer_s[i];
            kmer_s[i] = (kmer_s[j]^3)&3;
            kmer_s[j] = (t^3)&3;
        }
        if (i == j) kmer_s[i] = (kmer_s[i]^3)&3;
    }
}

// Assembly:
pushq %rbx
movl %ecx, %eax
xorl %r9d, %r9d
testl %edx, %edx
movl $0x0, %r10d
cmovgl %edx, %r10d
movl %esi, %r11d
addl %esi, %esi
cmpq %r9, %r10
je 0xc01d
leal (%r11,%r9), %ecx
shrl $0x2, %ecx
movzbl (%rdi,%rcx), %ebx
movl %esi, %ecx
notb %cl
andb $0x6, %cl
shrl %cl, %ebx
andb $0x3, %bl
movb %bl, (%r8,%r9)
incq %r9
addl $0x2, %esi
jmp 0xbff5
testl %eax, %eax
je 0xc061
movslq %edx, %rcx
decq %rcx
xorl %eax, %eax
cmpq %rcx, %rax
jge 0xc052
movb (%r8,%rax), %dl
notb %dl
movb (%r8,%rcx), %sil
notb %sil
andb $0x3, %sil
movb %sil, (%r8,%rax)
andb $0x3, %dl
movb %dl, (%r8,%rcx)
incq %rax
decq %rcx
jmp 0xc029
jne 0xc061
movb (%r8,%rax), %cl
notb %cl
andb $0x3, %cl
movb %cl, (%r8,%rax)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: get_kmer_dna_seq
void get_kmer_dna_seq(uint8_t *hoco_s, uint32_t pos, int l, uint32_t rev, char *dna_seq)
{
    int i, j;
    uint32_t p;
    for (i = 0; i < l; ++i) {
        p = pos + i;
        dna_seq[i] = char_nt4_table[(hoco_s[p/4]>>(((p&3)^3)<<1))&3];
    }
    if (rev) {
        char t;
        for (i = 0, j = l - 1; i < j; ++i, --j) {
            t = dna_seq[i];
            dna_seq[i] = seq_nt4_comp_table[(int) dna_seq[j]];
            dna_seq[j] = seq_nt4_comp_table[(int) t];
        }
        if (i == j) dna_seq[i] = seq_nt4_comp_table[(int) dna_seq[j]];
    }
}

// Assembly:
pushq %r14
pushq %rbx
movl %ecx, %eax
xorl %r9d, %r9d
testl %edx, %edx
movl $0x0, %r10d
cmovgl %edx, %r10d
movl %esi, %r11d
addl %esi, %esi
leaq 0xde8d(%rip), %rbx      # 0x19f10
cmpq %r9, %r10
je 0xc0b2
leal (%r11,%r9), %ecx
shrl $0x2, %ecx
movzbl (%rdi,%rcx), %r14d
movl %esi, %ecx
notb %cl
andb $0x6, %cl
shrl %cl, %r14d
andl $0x3, %r14d
movb (%r14,%rbx), %cl
movb %cl, (%r8,%r9)
incq %r9
addl $0x2, %esi
jmp 0xc083
testl %eax, %eax
je 0xc0fa
movslq %edx, %rdx
decq %rdx
xorl %eax, %eax
leaq 0xddcb(%rip), %rcx      # 0x19e90
cmpq %rdx, %rax
jge 0xc0ec
movsbq (%r8,%rax), %rsi
movsbq (%r8,%rdx), %rdi
movb (%rdi,%rcx), %dil
movb %dil, (%r8,%rax)
movb (%rsi,%rcx), %sil
movb %sil, (%r8,%rdx)
incq %rax
decq %rdx
jmp 0xc0c5
jne 0xc0fa
movsbq (%r8,%rax), %rdx
movb (%rdx,%rcx), %cl
movb %cl, (%r8,%rax)
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: kh_kcn_get1
static inline int kh_kcn_get1(kh_kcn_t *k_cn, uint64_t key)
{
    khint_t k;
    k = kh_kcn_get(k_cn, key);
    if (k < kh_end(k_cn))
        return kh_val(k_cn, k);
    else
        return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %r12
xorl %eax, %eax
testq %r12, %r12
je 0xda56
movq %rsi, %r14
movq %rdi, %r15
movl (%rdi), %ebp
pushq $0x1
popq %r13
movl %ebp, %ecx
shll %cl, %r13d
leal -0x1(%r13), %ebx
movq %rsi, %rdi
callq 0xf031
imull $0x9e3779b9, %eax, %eax # imm = 0x9E3779B9
movl %ebp, %ecx
negb %cl
shrl %cl, %eax
movq 0x8(%r15), %rdx
movl %eax, %ecx
movl %ecx, %esi
shrl $0x5, %esi
movl (%rdx,%rsi,4), %esi
btl %ecx, %esi
jae 0xda3a
movl %ecx, %esi
imulq $0xc, %rsi, %rsi
cmpq %r14, (%r12,%rsi)
je 0xda37
incl %ecx
andl %ebx, %ecx
cmpl %eax, %ecx
jne 0xda14
jmp 0xda3a
movl %ecx, %r13d
movl %r13d, %eax
movl %ebp, %ecx
shrl %cl, %eax
testl %eax, %eax
movl $0x0, %eax
jne 0xda56
movl %r13d, %eax
imulq $0xc, %rax, %rax
movl 0x8(%r12,%rax), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: kmer_hash64
static uint64_t kmer_hash64(uint8_t *s, uint32_t p, int w, uint8_t *key)
#endif
{
    uint64_t h64;
    int i, j, rev, res, p0, p1, b, c;

    rev = p & 1, p >>= 1;
    p0 = p, p1 = p + w - 1;

    // assert(p0 >= 0 && p1 < l);

    // res = rev? 6 - p1 % 4 * 2 : p0 % 4 * 2; // shift bits
    res = rev? ((p1&3)^3)<<1 : (p0&3)<<1;
    b = p1 / 4 - p0 / 4 + 1; // number bytes holding syncmer sequence
    memcpy(key, s + p0 / 4, b);
    // key[b-1] needs bit shift
    // when the last byte is partially filled
    // if (l < (p1 / 4 + 1) * 4) key[b-1] <<= 8 - l % 4 * 2;
    // do reverse complementary
    if (rev) {
        for (i = 0, j = b - 1; i < j; ++i, --j) {
            c = key[i];
            key[i] = comp_seq8_table[key[j]];
            key[j] = comp_seq8_table[c];
        }
        if (i == j) key[i] = comp_seq8_table[key[i]];
    }
    // do bit shift to align syncmer bytes
    for (i = 0; i < b-1; ++i) {
        key[i] <<= res;
        key[i] |= key[i+1] >> (8-res);
    }
    key[b-1] <<= res;

    // real bytes
    b = (w - 1) / 4 + 1;
    // mask the lower bits
    key[b-1] &= lmask[w&3];

    h64 = MurmurHash64A(key, b, murmur3_seed);

#ifdef DEBUG_KMER_EXTRACTION
    fprintf(stderr, "[DEBUG_KMER_EXTRACTION::%s] sid:%lu p0:%d p1:%d rev:%d bit:%d hash:%lu ", __func__, sid, p0, p1, rev, b, h64);
    for (i = 0; i < p1 - p0 + 1; ++i)
        // fputc(char_nt4_table[(key[i / 4] >> (3 - i % 4) * 2) & 3], stderr);
        fputc(char_nt4_table[(key[i/4]>>(((i&3)^3)<<1)) & 3], stderr);

    fputc('\n', stderr);
#endif

    return h64;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %r12d
movl %esi, %eax
shrl %eax
addl %r14d, %eax
decl %eax
movl %eax, %r13d
notl %r13d
addl %r13d, %r13d
andl $0x6, %r13d
movl %esi, %ebp
andl $0x6, %ebp
pushq $0x4
popq %rcx
cltd
idivl %ecx
movl %eax, %r15d
shrl $0x3, %esi
subl %esi, %r15d
leal 0x1(%r15), %eax
addq %rdi, %rsi
movslq %eax, %rdx
movq %rbx, %rdi
callq 0x22b0
testb $0x1, %r12b
cmovnel %r13d, %ebp
je 0xeba8
movslq %r15d, %rdx
xorl %eax, %eax
leaq 0xba49(%rip), %rcx      # 0x1a5c0
cmpq %rdx, %rax
jge 0xeb9c
movzbl (%rbx,%rax), %esi
movzbl (%rbx,%rdx), %edi
movb (%rdi,%rcx), %dil
movb %dil, (%rbx,%rax)
movb (%rsi,%rcx), %sil
movb %sil, (%rbx,%rdx)
incq %rax
decq %rdx
jmp 0xeb77
jne 0xeba8
movzbl (%rbx,%rax), %edx
movb (%rdx,%rcx), %cl
movb %cl, (%rbx,%rax)
leal -0x1(%r14), %edi
xorl %edx, %edx
testl %r15d, %r15d
movl $0x0, %esi
cmovgl %r15d, %esi
cmpq %rdx, %rsi
je 0xebd9
movzbl 0x1(%rbx,%rdx), %ecx
movzbl (%rbx,%rdx), %eax
shll $0x8, %eax
orl %ecx, %eax
movl %ebp, %ecx
shll %cl, %eax
movb %ah, (%rbx,%rdx)
incq %rdx
jmp 0xebba
movslq %r15d, %rax
movzbl (%rbx,%rax), %edx
movl %ebp, %ecx
shll %cl, %edx
movb %dl, (%rbx,%rax)
shrl $0x2, %edi
movl %edi, %esi
andl $0x3, %r14d
leaq 0xbac9(%rip), %rax      # 0x1a6c0
movb (%r14,%rax), %al
andb %al, (%rbx,%rdi)
incl %esi
movl $0x4d2, %edx            # imm = 0x4D2
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa23c
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncmer.c
// Function: ha_hist_line
static void ha_hist_line(int c, int x, int exceed, int64_t cnt)
{
    int j;
    if (c >= 0)
        fprintf(stderr, "[M::%s] %5d: ", __func__, c);
    else 
        fprintf(stderr, "[M::%s] %5s: ", __func__, "rest");
    for (j = 0; j < x; ++j) fputc('*', stderr);
    if (exceed) fputc('>', stderr);
    fprintf(stderr, " %lld\n", (long long)cnt);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r14d
movl %edi, %ecx
movq 0x12391(%rip), %r15     # 0x20ff0
movq (%r15), %rdi
testl %ecx, %ecx
js 0xec7d
leaq 0xb80a(%rip), %rsi      # 0x1a477
leaq 0xb811(%rip), %rdx      # 0x1a485
xorl %eax, %eax
callq 0x2280
jmp 0xec99
leaq 0xb80e(%rip), %rsi      # 0x1a492
leaq 0xb7fa(%rip), %rdx      # 0x1a485
leaq 0xb80e(%rip), %rcx      # 0x1a4a0
xorl %eax, %eax
callq 0x2280
xorl %r12d, %r12d
testl %r14d, %r14d
cmovgl %r14d, %r12d
pushq $0x2a
popq %r14
subl $0x1, %r12d
jb 0xecba
movq (%r15), %rsi
movl %r14d, %edi
callq 0x2210
jmp 0xeca7
testl %ebp, %ebp
je 0xecc9
movq (%r15), %rsi
pushq $0x3e
popq %rdi
callq 0x2210
movq (%r15), %rdi
leaq 0xb7d2(%rip), %rsi      # 0x1a4a5
movq %rbx, %rdx
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2280
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/syncerr.c
// Function: kputsn_rev
static inline int kputsn_rev(const char *p, int l, kstring_t *s)
{
    if (s->l + l + 1 >= s->m) {
        s->m = s->l + l + 2;
        kroundup32(s->m);
        MYREALLOC(s->s, s->m);
    }
    int i, j;
    for (i = l - 1, j = s->l; i >= 0; --i, ++j) s->s[j] = seq_nt4_comp_table[(int) p[i]];
    s->l += l;
    s->s[s->l] = 0;
    return l;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
movq (%rdx), %rcx
movslq %esi, %r12
leaq (%r12,%rcx), %rax
incq %rax
cmpq 0x8(%rdx), %rax
jb 0x10b69
movq %rax, %rcx
shrq %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x2, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x4, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x8, %rax
orq %rcx, %rax
movq %rax, %rsi
shrq $0x10, %rsi
orq %rax, %rsi
incq %rsi
movq %rsi, 0x8(%r14)
movq 0x10(%r14), %rdi
callq 0x2350
movq %rax, 0x10(%r14)
movq (%r14), %rcx
movl %ebx, %eax
movslq %ecx, %rcx
leaq 0x931b(%rip), %rdx      # 0x19e90
testl %eax, %eax
jle 0x10b93
movsbq -0x1(%r15,%rax), %rsi
decq %rax
movb (%rdx,%rsi), %sil
movq 0x10(%r14), %rdi
movb %sil, (%rdi,%rcx)
incq %rcx
jmp 0x10b75
addq (%r14), %r12
movq %r12, (%r14)
movq 0x10(%r14), %rax
movb $0x0, (%rax,%r12)
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/./graph.h
// Function: asmg_arc_del_v
static inline void asmg_arc_del_v(asmg_t *g, uint64_t v, uint32_t del)
{
    uint64_t i, nv = asmg_arc_n(g, v);
    asmg_arc_t *av = asmg_arc_a(g, v);
    for (i = 0; i < nv; ++i) {
        av[i].del = del;
        asmg_arc_del(g, av[i].w^1, v^1, del);
    }
}

// Assembly:
movq 0x30(%rdi), %rax
movq 0x38(%rdi), %rcx
imulq $0x30, (%rax,%rsi,8), %rax
movq (%rcx,%rsi,8), %rcx
addq 0x28(%rdi), %rax
xorl %edx, %edx
cmpq %rcx, %rdx
je 0x10cb2
imulq $0x30, %rdx, %r8
orb $0x40, 0x23(%rax,%r8)
movq 0x8(%rax,%r8), %r9
xorq $0x1, %r9
movq 0x38(%rdi), %r8
movq (%r8,%r9,8), %r8
movq 0x28(%rdi), %r10
movq 0x30(%rdi), %r11
imulq $0x30, (%r11,%r9,8), %r9
addq %r10, %r9
addq $0x20, %r9
subq $0x1, %r8
jb 0x10cad
movq -0x18(%r9), %r10
xorq %rsi, %r10
cmpq $0x1, %r10
jne 0x10ca7
orb $0x40, 0x3(%r9)
addq $0x30, %r9
jmp 0x10c8f
incq %rdx
jmp 0x10c5b
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: wf_tb_destroy
void wf_tb_destroy(wf_tb_t *wf_tb)
{
    if (wf_tb) {
        size_t i;
        for (i = 0; i < wf_tb->n; ++i)
            free(wf_tb->a[i].a);
        free(wf_tb->a);
    }
    free(wf_tb);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
je 0x10d3d
pushq $0x8
popq %r14
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
cmpq 0x8(%rbx), %r15
jae 0x10d38
movq (%rdi,%r14), %rdi
callq 0x2060
incq %r15
addq $0x10, %r14
jmp 0x10d1c
callq 0x2060
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2060
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: wf_config_destroy
void wf_config_destroy(wf_config_t *conf, int clean_seq)
{
    if (clean_seq) {
        free(conf->ts);
        free(conf->qs);
    }
    if (conf->wf_diag) {
        free(conf->wf_diag->a);
        free(conf->wf_diag);
    }
    wf_tb_destroy(conf->wf_tb);
    free(conf->cigar);
    free(conf);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0x10d63
movq (%rbx), %rdi
callq 0x2060
movq 0x8(%rbx), %rdi
callq 0x2060
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x10d7e
movq 0x10(%rax), %rdi
callq 0x2060
movq 0x18(%rbx), %rdi
callq 0x2060
movq 0x20(%rbx), %rdi
callq 0x10d08
movq 0x40(%rbx), %rdi
callq 0x2060
movq %rbx, %rdi
popq %rbx
jmp 0x2060