LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: wf_ed_core
void wf_ed_core(wf_config_t *conf)
{
    char *ts, *qs;
    int32_t s, n, tl, ql, t_end, q_end, is_ext, bw;
    wf_diag1_t *a;
    wf_tb_t *tb;

    ts = conf->ts;
    qs = conf->qs;
    tl = conf->tl;
    ql = conf->ql;
    t_end = conf->t_end;
    q_end = conf->q_end;

    s = conf->score;
    n = conf->wf_diag->n;
    if (conf->wf_diag->m < 2 * (tl + ql + 2)) {
        conf->wf_diag->m = 2 * (tl + ql + 2);
        MYREALLOC(conf->wf_diag->a, conf->wf_diag->m);
    }
    a = conf->wf_diag->a;
    n = conf->wf_diag->n;
    tb = conf->wf_tb;
    
    is_ext = conf->is_ext;
    bw = conf->bw;

    int na = n;
    while (1) {
        na = wf_step_basic(tb, is_ext, bw, tl, ts, ql, qs, n, a, &t_end, &q_end);
        if (na < 0) break;
        ++s;
        n = na;
        if (bw >= 0 && s > bw) break;
    }
    
    if (tb) {
        free(conf->cigar);
        conf->cigar = wf_traceback(t_end, ts, q_end, qs, tb, &conf->n_cigar);
    }
    conf->t_end = t_end + 1;
    conf->q_end = q_end + 1;
    conf->score = s;
    conf->wf_diag->a = a;
    conf->wf_diag->n = n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq (%rdi), %rax
movq %rax, 0x20(%rsp)
movq 0x8(%rdi), %rax
movq %rax, 0x28(%rsp)
movl 0x10(%rdi), %ecx
movl 0x14(%rdi), %esi
movl 0x34(%rdi), %eax
movl %eax, 0xc(%rsp)
movl 0x38(%rdi), %eax
movl %eax, 0x8(%rsp)
movl 0x30(%rdi), %r13d
movq 0x18(%rdi), %rdx
movq %rcx, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
addl %esi, %ecx
leal 0x4(,%rcx,2), %ecx
movslq %ecx, %rcx
cmpq %rcx, 0x8(%rdx)
jae 0x10e13
movq %rcx, 0x8(%rdx)
movq 0x10(%rdx), %rdi
imulq $0xc, %rcx, %rsi
callq 0x2350
movq 0x18(%r14), %rdx
movq %rax, 0x10(%rsp)
movq %rax, 0x10(%rdx)
jmp 0x10e1c
movq 0x10(%rdx), %rax
movq %rax, 0x10(%rsp)
movl (%rdx), %ebx
movq 0x20(%r14), %rdi
movl 0x28(%r14), %eax
movl %eax, 0x1c(%rsp)
movq %r14, 0x30(%rsp)
movl 0x2c(%r14), %r12d
subq $0x8, %rsp
movq %rdi, %r15
movl 0x24(%rsp), %esi
movl %r12d, %edx
movq 0x48(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0x40(%rsp), %r9
leaq 0x10(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq 0x28(%rsp)
pushq %rbx
pushq 0x50(%rsp)
callq 0x10f10
addq $0x30, %rsp
testl %eax, %eax
js 0x10e94
movl %eax, %r14d
testl %r12d, %r12d
sets %al
leal 0x1(%r13), %ebp
cmpl %r12d, %r13d
setl %cl
orb %al, %cl
movl %r14d, %ebx
movl %ebp, %r13d
movq %r15, %rdi
jne 0x10e33
jmp 0x10e9d
movl %ebx, %r14d
movl %r13d, %ebp
movq %r15, %rdi
movl 0xc(%rsp), %r15d
movl 0x8(%rsp), %r12d
testq %rdi, %rdi
movq 0x30(%rsp), %rbx
je 0x10edd
movq %rdi, %r13
movq 0x40(%rbx), %rdi
callq 0x2060
leaq 0x3c(%rbx), %r9
movl %r15d, %edi
movq 0x20(%rsp), %rsi
movl %r12d, %edx
movq 0x28(%rsp), %rcx
movq %r13, %r8
callq 0x113eb
movq %rax, 0x40(%rbx)
incl %r15d
movl %r15d, 0x34(%rbx)
incl %r12d
movl %r12d, 0x38(%rbx)
movl %ebp, 0x30(%rbx)
movq 0x18(%rbx), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%rax)
movslq %r14d, %rcx
movq %rcx, (%rax)
addq $0x48, %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/levdist.c
// Function: wf_ed
uint32_t *wf_ed(int32_t tl, const char *ts, int32_t ql, const char *qs, int32_t is_ext, int32_t bw, int32_t *score, int32_t *t_endl, int32_t *q_endl, int32_t *n_cigar)
{
    int32_t s = 0, n = 1, t_end = -1, q_end = -1, i;
    wf_diag1_t *a;
    uint32_t *cigar = 0;
    wf_tb_t tb = {0, 0, 0};
    assert(tl > 0 && ql > 0);
    MYMALLOC(a, 2 * (tl + ql + 2)); // without CIGAR, this would be all the memory needed
    a[0].d = 0, a[0].k = -1;
    while (1) {
        n = wf_step_basic(n_cigar? &tb : 0, is_ext, bw, tl, ts, ql, qs, n, a, &t_end, &q_end);
        if (n < 0) break;
        ++s;
    }
    free(a);
    if (n_cigar) { // generate CIGAR
        cigar = wf_traceback(t_end, ts, q_end, qs, &tb, n_cigar);
        for (i = 0; i < tb.n; ++i) free(tb.a[i].a);
        free(tb.a);
    }
    *score = s, *t_endl = t_end + 1, *q_endl = q_end + 1;
    return cigar;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r9d, 0x14(%rsp)
movl %r8d, 0x10(%rsp)
movq %rcx, 0x20(%rsp)
orl $-0x1, 0x4(%rsp)
movq %rdx, 0x8(%rsp)
orl $-0x1, (%rsp)
movq %rsi, 0x18(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
andq $0x0, 0x40(%rsp)
testl %edi, %edi
jle 0x11726
cmpl $0x0, 0x8(%rsp)
jle 0x11726
movl %edi, %ecx
movq 0xa8(%rsp), %rbx
movq 0x8(%rsp), %rax
addl %ecx, %eax
leal 0x4(,%rax,2), %eax
imulq $0xc, %rax, %rdi
movq %rcx, 0x50(%rsp)
callq 0x2310
movabsq $-0x100000000, %rcx     # imm = 0xFFFFFFFF00000000
movq %rax, 0x28(%rsp)
movq %rcx, (%rax)
testq %rbx, %rbx
leaq 0x30(%rsp), %r14
cmoveq %rbx, %r14
pushq $0x1
popq %rax
pushq $-0x1
popq %rbp
movq 0x20(%rsp), %r15
movq 0x18(%rsp), %r13
movl 0x14(%rsp), %r12d
movl 0x10(%rsp), %ebx
subq $0x8, %rsp
movq %r14, %rdi
movl %ebx, %esi
movl %r12d, %edx
movq 0x58(%rsp), %rcx
movq %r13, %r8
movq 0x10(%rsp), %r9
leaq 0x8(%rsp), %r10
pushq %r10
leaq 0x14(%rsp), %r10
pushq %r10
pushq 0x40(%rsp)
pushq %rax
pushq %r15
callq 0x10f10
addq $0x30, %rsp
incl %ebp
testl %eax, %eax
jns 0x11646
movq 0x28(%rsp), %rdi
callq 0x2060
movl 0x4(%rsp), %r15d
movl (%rsp), %r14d
movq 0xa8(%rsp), %r9
testq %r9, %r9
je 0x116ec
leaq 0x30(%rsp), %r8
movl %r15d, %edi
movq 0x18(%rsp), %rsi
movl %r14d, %edx
movq 0x20(%rsp), %rcx
callq 0x113eb
movq %rax, %rbx
pushq $0x8
popq %r12
xorl %r13d, %r13d
movq 0x40(%rsp), %rdi
cmpq %r13, 0x38(%rsp)
jbe 0x116e5
movq (%rdi,%r12), %rdi
callq 0x2060
incq %r13
addq $0x10, %r12
jmp 0x116c7
callq 0x2060
jmp 0x116ee
xorl %ebx, %ebx
movq 0x90(%rsp), %rax
movl %ebp, (%rax)
incl %r15d
movq 0x98(%rsp), %rax
movl %r15d, (%rax)
incl %r14d
movq 0xa0(%rsp), %rax
movl %r14d, (%rax)
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9303(%rip), %rdi      # 0x1aa30
leaq 0x930d(%rip), %rsi      # 0x1aa41
leaq 0x9310(%rip), %rcx      # 0x1aa4b
movl $0x13e, %edx            # imm = 0x13E
callq 0x21d0
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: wf_print_cigar
void wf_print_cigar(uint32_t *cigar, int32_t n_cigar, FILE *fo)
{
    if (!cigar || !n_cigar)
        return;

    int32_t i;
    fprintf(fo, "CIGAR_STR [%d]: ", n_cigar);
    for (i = 0; i < n_cigar; ++i) {
        fprintf(fo, "%d%c", cigar[i]>>4, "MIDNSHP=XB"[cigar[i]&0xf]);
    }
    fputc('\n', fo);
}

// Assembly:
testq %rdi, %rdi
sete %al
testl %esi, %esi
sete %cl
orb %al, %cl
jne 0x117be
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x9358(%rip), %rsi      # 0x1aac7
xorl %r12d, %r12d
movq %rdx, %rdi
movl %r14d, %edx
xorl %eax, %eax
callq 0x2280
testl %r14d, %r14d
cmovlel %r12d, %r14d
leaq 0x9350(%rip), %r13      # 0x1aadd
leaq 0x9344(%rip), %r12      # 0x1aad8
xorl %ebp, %ebp
cmpq %rbp, %r14
je 0x117bf
movl (%r15,%rbp,4), %eax
movl %eax, %edx
shrl $0x4, %edx
andl $0xf, %eax
movsbl (%rax,%r13), %ecx
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x2280
incq %rbp
jmp 0x11796
retq
pushq $0xa
popq %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2210
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: kputcn_
static inline void kputcn_(int c, int l, kstring_t *s)
{
    if (s->l + l > s->m) {
        s->m = s->l + l;
        kroundup32(s->m);
        MYREALLOC(s->s, s->m);
    }
    while(l-- > 0) s->s[s->l++] = c;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
movl %edi, %r14d
movslq %esi, %rax
addq (%rdx), %rax
cmpq 0x8(%rdx), %rax
jbe 0x11d5a
decq %rax
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(%rbx)
movq 0x10(%rbx), %rdi
callq 0x2350
movq %rax, 0x10(%rbx)
jmp 0x11d5a
decl %ebp
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rax), %rdx
movq %rdx, (%rbx)
movb %r14b, (%rcx,%rax)
testl %ebp, %ebp
jg 0x11d46
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/levdist.c
// Function: wf_cigar_push1
static void wf_cigar_push1(wf_cigar_t *c, int32_t op, int32_t len)
{
    if (c->n && op == (c->cigar[c->n-1]&0xf)) {
        c->cigar[c->n-1] += len<<4;
    } else {
        if (c->n == c->m) {
            c->m = c->m + (c->m>>1) + 4;
            MYREALLOC(c->cigar, c->m);
        }
        c->cigar[c->n++] = len<<4 | op;
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
movslq 0x4(%rdi), %rcx
testq %rcx, %rcx
je 0x11e16
movq 0x8(%r14), %rax
movl -0x4(%rax,%rcx,4), %edx
movl %edx, %esi
andl $0xf, %esi
cmpl %ebp, %esi
jne 0x11e16
shll $0x4, %ebx
addl %ebx, %edx
movl %edx, -0x4(%rax,%rcx,4)
jmp 0x11e57
cmpl (%r14), %ecx
jne 0x11e41
movl %ecx, %eax
sarl %eax
addl %ecx, %eax
addl $0x4, %eax
movl %eax, (%r14)
movq 0x8(%r14), %rdi
movslq %eax, %rsi
shlq $0x2, %rsi
callq 0x2350
movq %rax, 0x8(%r14)
movl 0x4(%r14), %ecx
jmp 0x11e45
movq 0x8(%r14), %rax
shll $0x4, %ebx
orl %ebp, %ebx
leal 0x1(%rcx), %edx
movl %edx, 0x4(%r14)
movslq %ecx, %rcx
movl %ebx, (%rax,%rcx,4)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_destroy
void asmg_destroy(asmg_t *g)
{
    uint64_t i;
    for (i = 0; i < g->n_vtx; ++i)
        asmg_vtx_destroy(&g->vtx[i]);
    if (g->vtx) free(g->vtx);
    if (g->arc) free(g->arc);
    if (g->idx_p) free(g->idx_p);
    if (g->idx_n) free(g->idx_n);
    free(g);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
cmpq (%rbx), %r15
jae 0x11e84
addq %r14, %rdi
callq 0x11eb1
incq %r15
addq $0x28, %r14
jmp 0x11e6a
callq 0x2060
movq 0x28(%rbx), %rdi
callq 0x2060
movq 0x30(%rbx), %rdi
callq 0x2060
movq 0x38(%rbx), %rdi
callq 0x2060
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2060
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_arc_is_sorted
int asmg_arc_is_sorted(asmg_t *g)
{
    uint64_t e;
    for (e = 1; e < g->n_arc; ++e)
        if (g->arc[e-1].v > g->arc[e].v ||
                (g->arc[e-1].v == g->arc[e].v && g->arc[e-1].w > g->arc[e].w))
            break;
    return (e == g->n_arc);
}

// Assembly:
movq 0x18(%rdi), %rcx
cmpq $0x1, %rcx
movq %rcx, %rdx
adcq $0x0, %rdx
pushq $0x1
popq %rax
pushq $0x38
popq %rsi
cmpq %rcx, %rax
jae 0x11f0b
movq 0x28(%rdi), %r8
movq -0x8(%r8,%rsi), %r9
cmpq %r9, -0x38(%r8,%rsi)
ja 0x11f08
jne 0x11eff
movq -0x30(%r8,%rsi), %r9
cmpq (%r8,%rsi), %r9
ja 0x11f08
incq %rax
addq $0x30, %rsi
jmp 0x11edd
movq %rax, %rdx
xorl %eax, %eax
cmpq %rcx, %rdx
sete %al
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_arc_cmpfunc
static int asmg_arc_cmpfunc(const void *a, const void *b)
{
    uint64_t x, y, s, t;
    x = ((asmg_arc_t *) a)->v;
    y = ((asmg_arc_t *) b)->v;
    s = ((asmg_arc_t *) a)->w;
    t = ((asmg_arc_t *) b)->w;
    return x == y? ((s > t) - (s < t)) : ((x > y) - (x < y));
}

// Assembly:
movq (%rsi), %rax
cmpq %rax, (%rdi)
jne 0x11f3b
movq 0x8(%rdi), %rax
cmpq 0x8(%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/graph.c
// Function: asmg_arc_index
void asmg_arc_index(asmg_t *g)
{
    uint64_t i, last, n, v, *idx_p, *idx_n;
    asmg_arc_t *a;

    if (g->idx_p) {
        free(g->idx_p);
        free(g->idx_n);
    }

    MYCALLOC(idx_p, g->n_vtx * 2);
    MYCALLOC(idx_n, g->n_vtx * 2);
    g->idx_p = idx_p;
    g->idx_n = idx_n;

    if (!g->n_arc) return;

    a = g->arc;
    n = g->n_arc;
    v = asmg_arc_head(a[0]);
    for (i = 1, last = 0; i < n; ++i) {
        if (v != asmg_arc_head(a[i])) {
            idx_p[v] = last;
            idx_n[v] = i - last;
            last = i;
            v = asmg_arc_head(a[i]);
        }
    }
    idx_p[v] = last;
    idx_n[v] = i - last;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0x11f6c
callq 0x2060
movq 0x38(%r14), %rdi
callq 0x2060
movq (%r14), %r15
addq %r15, %r15
pushq $0x8
popq %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2250
movq %rax, %rbx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2250
movq %rbx, 0x30(%r14)
movq %rax, 0x38(%r14)
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0x11fe3
movq 0x28(%r14), %rsi
movq (%rsi), %rdx
addq $0x30, %rsi
pushq $0x1
popq %rdi
xorl %r8d, %r8d
cmpq %rdi, %rcx
je 0x11fd8
cmpq (%rsi), %rdx
je 0x11fcf
movq %r8, (%rbx,%rdx,8)
movq %rdi, %r9
subq %r8, %r9
movq %r9, (%rax,%rdx,8)
movq (%rsi), %rdx
movq %rdi, %r8
incq %rdi
addq $0x30, %rsi
jmp 0x11fb1
movq %r8, (%rbx,%rdx,8)
subq %r8, %rcx
movq %rcx, (%rax,%rdx,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_max_link_id
uint64_t asmg_max_link_id(asmg_t *g)
{
    uint64_t i, n, link_id;

    link_id = 0;
    for (i = 0, n = g->n_arc; i < n; ++i)
        link_id = MAX(link_id, g->arc[i].link_id);

    return link_id;
}

// Assembly:
movq 0x18(%rdi), %rcx
pushq $0x28
popq %rdx
xorl %eax, %eax
subq $0x1, %rcx
jb 0x12013
movq 0x28(%rdi), %rsi
movq (%rsi,%rdx), %rsi
cmpq %rsi, %rax
cmovbeq %rsi, %rax
addq $0x30, %rdx
jmp 0x11ff8
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_shrink_link_id
void asmg_shrink_link_id(asmg_t *g)
{
    uint64_t i, n, link_id;
    asmg_arc_t *a;
    
    for (i = 0, n = g->n_arc; i < n; ++i)
        g->arc[i].link_id |= 0x8000000000000000;

    link_id = 0;
    for (i = 0, n = g->n_arc; i < n; ++i) {
        a = &g->arc[i];
        if (a->link_id & 0x8000000000000000) {
            a->link_id = link_id;
            a = asmg_arc(g, a->w^1, a->v^1);
            a->link_id = link_id;
            ++link_id;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %r14
pushq $0x28
popq %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
movq %r14, %rdx
subq $0x1, %rdx
jb 0x12047
movq 0x28(%rbx), %rsi
orq %rcx, (%rsi,%rax)
addq $0x30, %rax
jmp 0x12033
pushq $0x28
popq %r15
xorl %r12d, %r12d
subq $0x1, %r14
jb 0x1208a
movq 0x28(%rbx), %rax
cmpq $0x0, (%rax,%r15)
jns 0x12084
movq %r12, (%rax,%r15)
movq -0x28(%rax,%r15), %rdx
movq -0x20(%rax,%r15), %rsi
xorq $0x1, %rsi
xorq $0x1, %rdx
movq %rbx, %rdi
callq 0x12096
movq %r12, 0x28(%rax)
incq %r12
addq $0x30, %r15
jmp 0x1204e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_arc_fix_cov
void asmg_arc_fix_cov(asmg_t *g)
{
    uint64_t i, n;
    uint32_t c;
    asmg_arc_t *arc;
    for (i = 0, n = g->n_arc; i < n; ++i) {
        arc = &g->arc[i];
        if (arc->del) continue;
        c = MIN(g->vtx[arc->v >> 1].cov, g->vtx[arc->w >> 1].cov);
        if (c < arc->cov) arc->cov = c;
    }
}

// Assembly:
movq 0x18(%rdi), %rax
pushq $0x20
popq %rcx
movl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
subq $0x1, %rax
jb 0x1213e
movq 0x28(%rdi), %rsi
movl (%rsi,%rcx), %r8d
btl $0x1e, %r8d
jb 0x12138
movq 0x10(%rdi), %r9
movq -0x20(%rsi,%rcx), %r10
movq -0x18(%rsi,%rcx), %r11
shrq %r10
imulq $0x28, %r10, %r10
movl 0x20(%r9,%r10), %r10d
andl %edx, %r10d
shrq %r11
imulq $0x28, %r11, %r11
movl 0x20(%r9,%r11), %r9d
andl %edx, %r9d
cmpl %r9d, %r10d
cmovbl %r10d, %r9d
movl %r8d, %r10d
andl %edx, %r10d
cmpl %r10d, %r9d
jae 0x12138
andl $0x80000000, %r8d       # imm = 0x80000000
orl %r8d, %r9d
movl %r9d, (%rsi,%rcx)
addq $0x30, %rcx
jmp 0x120d7
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_vtx_list
uint64_t *asmg_vtx_list(asmg_t *g, uint64_t *_n)
{
    uint64_t i;
    u64_v_t vlist = {0, 0, 0};
    for (i = 0; i < g->n_vtx; ++i)
        if (!g->vtx[i].del)
            kv_push(uint64_t, vlist, i);
    MYREALLOC(vlist.a, vlist.n);
    
    if (_n) *_n = vlist.n;

    return vlist.a;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
movq %rdi, %r14
pushq $0x20
popq %r12
xorl %r13d, %r13d
pushq $0x2
popq %rbp
xorl %r15d, %r15d
xorl %ebx, %ebx
xorl %edi, %edi
cmpq (%r14), %r13
jae 0x12501
movq 0x10(%r14), %rax
testb $0x40, 0x3(%rax,%r12)
jne 0x124f8
cmpq %rbx, %r15
jne 0x124f1
leaq (%r15,%r15), %rbx
testq %r15, %r15
cmoveq %rbp, %rbx
leaq (,%rbx,8), %rsi
callq 0x2350
movq %rax, %rdi
movq %r13, (%rdi,%r15,8)
incq %r15
incq %r13
addq $0x28, %r12
jmp 0x124c0
leaq (,%r15,8), %rsi
callq 0x2350
movq (%rsp), %rcx
testq %rcx, %rcx
je 0x1251a
movq %r15, (%rcx)
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/graph.c
// Function: asmg_print
void asmg_print(asmg_t *g, FILE *fo, int no_seq)
{
    uint64_t i, n;
    int l, c;
    char *s;
    asmg_vtx_t *vtx;
    asmg_arc_t *arc;

    fprintf(fo, "H\tVN:Z:1.0\n");
    for (i = 0, n = g->n_vtx; i < n; ++i) {
        vtx = &g->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 = g->n_arc; i < n; ++i) {
        arc = &g->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 %rdi, %r14
leaq 0x73de(%rip), %rdi      # 0x19921
pushq $0xb
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x2460
movq (%r14), %r12
pushq $0x20
popq %r13
xorl %r15d, %r15d
cmpq %r15, %r12
je 0x125d3
movq 0x10(%r14), %rax
movl (%rax,%r13), %edx
btl $0x1e, %edx
jb 0x125ca
movq -0x8(%rax,%r13), %rcx
andl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
movslq %ecx, %r10
imulq %rdx, %r10
cvtsi2sd %edx, %xmm0
testl %ebp, %ebp
jne 0x125b3
movq -0x10(%rax,%r13), %r8
testq %r8, %r8
je 0x125b3
subq $0x8, %rsp
movq %rbx, %rdi
leaq 0x73dc(%rip), %rsi      # 0x1997c
movq %r15, %rdx
movl %ecx, %r9d
movb $0x1, %al
pushq %r10
callq 0x2280
popq %rcx
popq %rdx
jmp 0x125ca
movq %rbx, %rdi
leaq 0x73e7(%rip), %rsi      # 0x199a4
movq %r15, %rdx
movq %r10, %r8
movb $0x1, %al
callq 0x2280
incq %r15
addq $0x28, %r13
jmp 0x1255b
movq 0x18(%r14), %r12
pushq $0x20
popq %r13
subq $0x1, %r12
jb 0x1269a
movq 0x28(%r14), %r15
movl (%r15,%r13), %r10d
cmpl $0x3fffffff, %r10d      # imm = 0x3FFFFFFF
ja 0x12691
movq -0x20(%r15,%r13), %rax
movq -0x18(%r15,%r13), %rsi
movq %rax, %rdx
shrq %rdx
andl $0x1, %eax
leaq 0x7362(%rip), %rdi      # 0x19976
movsbl (%rax,%rdi), %ecx
movq %rsi, %r8
shrq %r8
andl $0x1, %esi
movsbl (%rsi,%rdi), %r9d
movq %rbx, %rdi
leaq 0x7326(%rip), %rbp      # 0x19956
movq %rbp, %rsi
xorl %eax, %eax
pushq %r10
pushq -0x8(%r15,%r13)
callq 0x2280
popq %rcx
popq %rdx
movq -0x20(%r15,%r13), %rax
movq -0x18(%r15,%r13), %rcx
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
leaq 0x731c(%rip), %rsi      # 0x19979
movsbl (%rcx,%rsi), %ecx
movq %rax, %r8
shrq %r8
andl $0x1, %eax
movsbl (%rax,%rsi), %r9d
movl (%r15,%r13), %r10d
movl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
andl %eax, %r10d
movq %rbx, %rdi
movq %rbp, %rsi
xorl %eax, %eax
pushq %r10
pushq -0x8(%r15,%r13)
callq 0x2280
popq %rcx
popq %rdx
addq $0x30, %r13
jmp 0x125db
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/./graph.h
// Function: asmg_arc_a1
static inline asmg_arc_t *asmg_arc_a1(asmg_t *g, uint64_t v)
{
    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].del)
            return &a[i];

    return 0;
}

// Assembly:
movq 0x28(%rdi), %rax
movq 0x30(%rdi), %rdx
movq 0x38(%rdi), %rcx
movq (%rcx,%rsi,8), %rcx
incq %rcx
imulq $0x30, (%rdx,%rsi,8), %rdx
addq %rax, %rdx
addq $-0x30, %rdx
decq %rcx
je 0x12af0
leaq 0x30(%rdx), %rax
testb $0x40, 0x53(%rdx)
movq %rax, %rdx
jne 0x12add
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_cwt_len
static uint64_t asmg_cwt_len(asmg_t *g, uint64_t *v, uint64_t nv)
{
    if (nv == 0) return 0;
    uint64_t i, wt_l, ov_l;
    wt_l = g->vtx[v[0]>>1].len * g->vtx[v[0]>>1].cov;
    for (i = 1; i < nv; ++i) {
        ov_l = asmg_arc(g, v[i-1], v[i])->ls;
        wt_l += (g->vtx[v[i]>>1].len - ov_l) * g->vtx[v[i]>>1].cov;
    }
    return wt_l;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdx, %rdx
je 0x12ef8
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, (%rsp)
movq 0x10(%rdi), %rbp
movq (%rsi), %rax
shrq %rax
imulq $0x28, %rax, %rax
movl 0x20(%rbp,%rax), %r12d
andl $0x3fffffff, %r12d      # imm = 0x3FFFFFFF
imulq 0x18(%rbp,%rax), %r12
pushq $0x1
popq %r15
cmpq %r15, %rbx
je 0x12efb
movq -0x8(%r14,%r15,8), %rsi
movq (%r14,%r15,8), %r13
movq (%rsp), %rdi
movq %r13, %rdx
callq 0x12096
shrq %r13
imulq $0x28, %r13, %rcx
movq 0x18(%rbp,%rcx), %rdx
subq 0x18(%rax), %rdx
movl 0x20(%rbp,%rcx), %eax
andl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
imulq %rdx, %rax
addq %rax, %r12
incq %r15
jmp 0x12eb9
xorl %r12d, %r12d
movq %r12, %rax
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/./graph.h
// Function: asmg_arc_del
static inline void asmg_arc_del(asmg_t *g, uint64_t v, uint64_t w, 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)
        if (av[i].w == w)
            av[i].del = del;
}

// Assembly:
movq 0x38(%rdi), %rax
movq (%rax,%rsi,8), %rax
movq 0x28(%rdi), %r8
movq 0x30(%rdi), %rdi
andl $0x1, %ecx
shll $0x1e, %ecx
imulq $0x30, (%rdi,%rsi,8), %rsi
addq %r8, %rsi
addq $0x20, %rsi
movl $0xbfffffff, %edi       # imm = 0xBFFFFFFF
subq $0x1, %rax
jb 0x1315b
cmpq %rdx, -0x18(%rsi)
jne 0x13155
movl (%rsi), %r8d
andl %edi, %r8d
orl %ecx, %r8d
movl %r8d, (%rsi)
addq $0x30, %rsi
jmp 0x1313d
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/graph.c
// Function: asmg_tarjans_scc
int asmg_tarjans_scc(asmg_t *g, int *scc)
{
    uint64_t i, n_seg;
    int n_scc, depth, *low, *disc, *stb;
    kdq_u64_t *st;

    n_seg = asmg_vtx_n(g);
    MYMALLOC(low, n_seg);
    MYMALLOC(disc, n_seg);
    MYMALLOC(stb, n_seg);
    st = kdq_init(uint64_t, 0);
    for (i = 0; i < n_seg; ++i) {
        scc[i] = -1;
        low[i] = -1;
        disc[i] = -1;
        stb[i] = 0;
    }
    
    n_scc = depth = 0;
    for (i = 0; i < n_seg; ++i)
        if (disc[i] == -1 && !g->vtx[i>>1].del)
            scc_util(g, i, disc, low, st, stb, &depth, scc, &n_scc);

    free(low);
    free(disc);
    free(stb);
    kdq_destroy(uint64_t, st);
    
    return n_scc;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
movq (%rdi), %r13
leaq (,%r13,2), %r14
shlq $0x3, %r13
movq %r13, %rdi
callq 0x2310
movq %rax, %r15
movq %r13, %rdi
callq 0x2310
movq %rax, %r12
movq %r13, %rdi
callq 0x2310
movq %rax, %r13
xorl %ebp, %ebp
callq 0x14ab0
movq %rax, 0x20(%rsp)
cmpq %rbp, %r14
je 0x14f42
orl $-0x1, (%rbx,%rbp,4)
orl $-0x1, (%r15,%rbp,4)
orl $-0x1, (%r12,%rbp,4)
andl $0x0, (%r13,%rbp,4)
incq %rbp
jmp 0x14f24
leaq 0x1c(%rsp), %rax
andl $0x0, (%rax)
leaq 0xc(%rsp), %rax
andl $0x0, (%rax)
xorl %ebp, %ebp
movq 0x10(%rsp), %rdx
cmpq %rbp, %r14
je 0x14fb4
cmpl $-0x1, (%r12,%rbp,4)
jne 0x14faf
movq 0x10(%rdx), %rax
movq %rbp, %rcx
shrq %rcx
imulq $0x28, %rcx, %rcx
testb $0x40, 0x23(%rax,%rcx)
jne 0x14faf
subq $0x8, %rsp
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq 0x28(%rsp), %r8
movq %r13, %r9
leaq 0x14(%rsp), %rax
pushq %rax
pushq %rbx
leaq 0x34(%rsp), %rax
pushq %rax
callq 0x14fe9
movq 0x30(%rsp), %rdx
addq $0x20, %rsp
incq %rbp
jmp 0x14f59
movq %r15, %rdi
callq 0x2060
movq %r12, %rdi
callq 0x2060
movq %r13, %rdi
callq 0x2060
movq 0x20(%rsp), %rdi
callq 0x14c91
movl 0xc(%rsp), %eax
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/graph.c
// Function: scc_util
static void scc_util(asmg_t *g, uint64_t v, int *disc, int *low, kdq_u64_t *st, int *stb, int *depth, int *scc, int *n_scc)
{
    uint64_t i, w, n;
    asmg_arc_t *a;

    disc[v] = low[v] = ++*depth;
    kdq_push(uint64_t, st, v);
    stb[v] = 1;

    a = asmg_arc_a(g, v);
    n = asmg_arc_n(g, v);
    for (i = 0; i < n; ++i) {
        if (a[i].del) continue;
        w = a[i].w;
        if (g->vtx[w>>1].del) continue;
        if (disc[w] == -1) {
            scc_util(g, w, disc, low, st, stb, depth, scc, n_scc);
            low[v] = MIN(low[v], low[w]);
        } else if (stb[w] == 1) {
            low[v] = MIN(low[v], disc[w]);
        }
    }
    
    if (low[v] == disc[v]) {
        do {
            w = *kdq_pop(uint64_t, st);
            stb[w] = 0;
            scc[w] = *n_scc;
        } while (w != v);
        ++*n_scc;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbp
movq %r8, %r14
movq %rsi, %r15
movq %rdi, %r12
movq 0x60(%rsp), %rsi
movl (%rsi), %eax
incl %eax
movl %eax, (%rsi)
movq %rcx, 0x8(%rsp)
movl %eax, (%rcx,%r15,4)
movq %rdx, 0x18(%rsp)
movl %eax, (%rdx,%r15,4)
movq %r8, %rdi
movq %r15, %rsi
callq 0x14af6
movq %r12, %rsi
movq %r15, %r11
movl $0x1, (%rbp,%r15,4)
movq 0x28(%r12), %rax
movq 0x30(%r12), %rcx
movq 0x38(%r12), %rdx
movq (%rdx,%r15,8), %r13
imulq $0x30, (%rcx,%r15,8), %rcx
leaq (%rcx,%rax), %rbx
addq $0x20, %rbx
movq %r15, 0x20(%rsp)
movq %r12, 0x10(%rsp)
subq $0x1, %r13
jb 0x15105
testb $0x40, 0x3(%rbx)
jne 0x150fc
movq -0x18(%rbx), %r12
movq 0x10(%rsi), %rax
movq %r12, %rcx
shrq %rcx
imulq $0x28, %rcx, %rcx
testb $0x40, 0x23(%rax,%rcx)
jne 0x150fc
movq 0x18(%rsp), %rdx
movl (%rdx,%r12,4), %eax
cmpl $-0x1, %eax
je 0x150b2
cmpl $0x1, (%rbp,%r12,4)
jne 0x150fc
movq 0x8(%rsp), %r15
movl (%r15,%r11,4), %ecx
jmp 0x150f3
subq $0x8, %rsp
movq 0x18(%rsp), %rdi
movq %r12, %rsi
movq 0x10(%rsp), %r15
movq %r15, %rcx
movq %r14, %r8
movq %rbp, %r9
pushq 0x78(%rsp)
pushq 0x78(%rsp)
pushq 0x78(%rsp)
callq 0x14fe9
movq 0x30(%rsp), %rsi
movq 0x40(%rsp), %r11
addq $0x20, %rsp
movl (%r15,%r11,4), %ecx
movl (%r15,%r12,4), %eax
cmpl %eax, %ecx
cmovll %ecx, %eax
movl %eax, (%r15,%r11,4)
addq $0x30, %rbx
jmp 0x15064
movq 0x8(%rsp), %rax
movl (%rax,%r11,4), %eax
movq 0x18(%rsp), %rcx
cmpl (%rcx,%r11,4), %eax
jne 0x1516a
movq 0x18(%r14), %rax
movq 0x8(%r14), %rcx
movq 0x10(%r14), %rdx
decq %rcx
movabsq $0x3ffffffffffffff, %rsi # imm = 0x3FFFFFFFFFFFFFF
movq 0x70(%rsp), %r9
movq 0x68(%rsp), %r10
movq %rcx, 0x8(%r14)
movq (%r14), %rdi
andq %rsi, %rdi
addq %rcx, %rdi
andq %rdx, %rdi
movq (%rax,%rdi,8), %r8
andl $0x0, (%rbp,%r8,4)
movl (%r9), %edi
movl %edi, (%r10,%r8,4)
decq %rcx
cmpq %r11, %r8
jne 0x1513c
incl %edi
movl %edi, (%r9)
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/alignment.c
// Function: scg_ra_v_clean
static void scg_ra_v_clean(scg_ra_v *ra_v)
{
    if (!ra_v) return;
    size_t i;
    for (i = 0; i < ra_v->n; ++i)
        free(ra_v->a[i].a);
    kv_destroy(*ra_v);
}

// Assembly:
testq %rdi, %rdi
je 0x1522d
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x10
popq %r14
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
cmpq (%rbx), %r15
jae 0x15223
movq (%rdi,%r14), %rdi
callq 0x2060
incq %r15
addq $0x20, %r14
jmp 0x15208
popq %rbx
popq %r14
popq %r15
jmp 0x2060
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/alignment.c
// Function: scg_ra_print
void scg_ra_print(scg_ra_t *ra, FILE *fo)
{
    uint32_t i;
    ra_frg_t *a;
    fprintf(fo, "RID %lu [N %u S %.3f]:", ra->sid, ra->n, ra->s);
    for (i = 0; i < ra->n; ++i) {
        a = &ra->a[i];
        fprintf(fo, " [u%lu%c %lu %lu %u %u]", a->uid>>1, "+-"[a->uid&1], a->u_beg, a->u_end, a->s_beg, a->s_end);
    }
    fprintf(fo, "\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdx
movl 0x8(%rdi), %ecx
movsd 0x18(%rdi), %xmm0
leaq 0x4bfa(%rip), %rsi      # 0x1aec3
movq %rbx, %rdi
movb $0x1, %al
callq 0x2280
pushq $0x1c
popq %r12
leaq 0x3698(%rip), %r13      # 0x19976
leaq 0x4bf5(%rip), %r15      # 0x1aeda
xorl %ebp, %ebp
movl 0x8(%r14), %eax
cmpq %rax, %rbp
jae 0x16336
movq 0x10(%r14), %rax
movq -0x1c(%rax,%r12), %rcx
movq -0x14(%rax,%r12), %r8
movq %rcx, %rdx
shrq %rdx
andl $0x1, %ecx
movsbl (%rcx,%r13), %ecx
movq -0xc(%rax,%r12), %r9
movl -0x4(%rax,%r12), %r10d
movl (%rax,%r12), %r11d
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x2280
popq %rcx
popq %rdx
incq %rbp
addq $0x20, %r12
jmp 0x162e7
pushq $0xa
popq %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2210
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/alignment.c
// Function: sr_scm_cmpfunc
static int sr_scm_cmpfunc(const void *a, const void *b)
{
    uint64_t x, y;
    x = ((sr_scm_t *) a)->uid;
    y = ((sr_scm_t *) b)->uid;
    if (x != y)
        return (x > y) - (x < y);
    x = ((sr_scm_t *) a)->s_pos;
    y = ((sr_scm_t *) b)->s_pos;
    if (x != y)
        return (x > y) - (x < y);
    x = ((sr_scm_t *) a)->u_pos;
    y = ((sr_scm_t *) b)->u_pos;
    return (x > y) - (x < y);
}

// Assembly:
movq (%rsi), %rax
cmpq %rax, (%rdi)
jne 0x163a6
movq 0x10(%rsi), %rax
cmpq %rax, 0x10(%rdi)
jne 0x163a6
movq 0x8(%rdi), %rax
cmpq 0x8(%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/alignment.c
// Function: sr_frg_cmpfunc
static int sr_frg_cmpfunc(const void *a, const void *b)
{
    uint64_t x, y;
    x = ((sr_frg_t *) a)->s_beg;
    y = ((sr_frg_t *) b)->s_beg;
    if (x != y)
        return (x > y) - (x < y);
    x = ((sr_frg_t *) a)->s_end;
    y = ((sr_frg_t *) b)->s_end;
    return (x > y) - (x < y);
}

// Assembly:
movq 0x20(%rsi), %rax
cmpq %rax, 0x20(%rdi)
jne 0x163c7
movq 0x28(%rdi), %rax
cmpq 0x28(%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/alignment.c
// Function: aln_frg_backtrace
static void aln_frg_backtrace(uint32_t node, uint32_t len, sr_frg_t *frg_v, u32_v *utg_v, v32_v *aln_v)
{
    if (node == UINT32_MAX)
        return;

    kv_push(uint32_t, *utg_v, node);
    ++len;

    if (frg_v[node].prev.n == 0) {
        // no prev node
        // add aln path to aln_v
        u32_v *v;
        kv_pushp(u32_v, *aln_v, &v);
        v->n = v->m = len;
        MYMALLOC(v->a, len);
        memcpy(v->a, utg_v->a, sizeof(uint32_t) * len);
        rev_array(v->a, v->n);
    } else {
        // add paths for prev nodes
        size_t i, n;
        for (i = 0, n = frg_v[node].prev.n; i < n; ++i) {
            aln_frg_backtrace(frg_v[node].prev.a[i], len, frg_v, utg_v, aln_v);
            utg_v->n = len;
        }
    }
}

// Assembly:
cmpl $-0x1, %edi
je 0x16554
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movl %edi, %ebp
movq (%rcx), %rcx
pushq $0x2
popq %r13
cmpq 0x8(%r14), %rcx
movq %r8, 0x8(%rsp)
jne 0x16438
movl %esi, %ebx
leaq (%rcx,%rcx), %rsi
testq %rcx, %rcx
cmoveq %r13, %rsi
movq %rsi, 0x8(%r14)
movq 0x10(%r14), %rdi
shlq $0x2, %rsi
movq %rdx, %r15
callq 0x2350
movq %r15, %rdx
movq 0x8(%rsp), %r8
movl %ebx, %esi
movq %rax, 0x10(%r14)
movq (%r14), %rcx
jmp 0x1643c
movq 0x10(%r14), %rax
leaq 0x1(%rcx), %rdi
movq %rdi, (%r14)
movl %ebp, (%rax,%rcx,4)
incl %esi
movl %ebp, %eax
imulq $0x60, %rax, %rax
movq 0x48(%rdx,%rax), %rbp
testq %rbp, %rbp
je 0x164a7
addq %rdx, %rax
addq $0x48, %rax
movq %rax, 0x10(%rsp)
movl %esi, %ebx
xorl %r15d, %r15d
cmpq %r15, %rbp
je 0x16546
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
movl (%rax,%r15,4), %edi
movl %esi, %r12d
movq %r14, %rcx
movq 0x8(%rsp), %r8
movq %r14, %r13
movq %rdx, %r14
callq 0x163d6
movq %r14, %rdx
movq %r13, %r14
movl %r12d, %esi
movq %rbx, (%r13)
incq %r15
jmp 0x16469
movq (%r8), %rax
cmpq 0x8(%r8), %rax
jne 0x164e1
leaq (%rax,%rax), %rcx
testq %rax, %rax
cmoveq %r13, %rcx
movq %rcx, 0x8(%r8)
movq 0x10(%r8), %rdi
movl %esi, %ebx
imulq $0x18, %rcx, %rsi
callq 0x2350
movq 0x8(%rsp), %r8
movl %ebx, %esi
movq %rax, %r12
movq %rax, 0x10(%r8)
movq (%r8), %rax
jmp 0x164e5
movq 0x10(%r8), %r12
leaq 0x1(%rax), %rcx
movq %rcx, (%r8)
imulq $0x18, %rax, %rbx
movl %esi, %r13d
movq %r13, 0x8(%r12,%rbx)
movq %r13, (%r12,%rbx)
shlq $0x2, %r13
movq %r13, %rdi
movl %esi, %ebp
callq 0x2310
movq %rax, %r15
movq %rax, 0x10(%r12,%rbx)
movq 0x10(%r14), %rsi
movq %rax, %rdi
movq %r13, %rdx
callq 0x22b0
movslq %ebp, %rax
decq %rax
xorl %ecx, %ecx
cmpq %rax, %rcx
jge 0x16546
movl (%r15,%rcx,4), %edx
movl (%r15,%rax,4), %esi
movl %esi, (%r15,%rcx,4)
movl %edx, (%r15,%rax,4)
incq %rcx
decq %rax
jmp 0x16529
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/sstream.c
// Function: kstream_close
static void kstream_close(kseq_stream_t *ks)
{
    kseq_destroy(ks->ks);
    gzclose(ks->fp);
    kclose(ks->ko);
    free(ks);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0x165c5
movq 0x10(%r14), %rdi
callq 0x2060
movq 0x28(%r14), %rdi
callq 0x2060
movq 0x40(%r14), %rdi
callq 0x2060
movq 0x58(%r14), %rdi
callq 0x2060
movq 0x68(%r14), %r15
testq %r15, %r15
je 0x165bd
movq 0x18(%r15), %rdi
callq 0x2060
movq %r15, %rdi
callq 0x2060
movq %r14, %rdi
callq 0x2060
movq (%rbx), %rdi
callq 0x2050
movq 0x10(%rbx), %rdi
callq 0x185e1
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x2060
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/sstream.c
// Function: sstream_open
sstream_t *sstream_open(char **files, int n_files)
{
    sstream_t *ss;
    MYCALLOC(ss, 1);
    ss->n_seq = 0;
    ss->files = files;
    ss->n_files = n_files;
    ss->n = 0;
    ss->s = make_kseq_stream(files[0]);

    return ss;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
pushq $0x1
popq %rdi
pushq $0x20
popq %rsi
callq 0x2250
movq %rax, %r15
movq %r14, 0x8(%rax)
movl %ebx, 0x10(%rax)
movq (%r14), %rdi
callq 0x16617
movq %rax, 0x18(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/sstream.c
// Function: make_kseq_stream
static kseq_stream_t *make_kseq_stream(char *file)
{
    kseq_stream_t *stream;
    MYCALLOC(stream, 1);
    int fd;
    // open query file
    stream->ko = kopen(file, &fd);
    if (stream->ko == 0) {
        fprintf(stderr, "[E::%s] fail to open file \"%s\"\n", __func__, file);
        exit(EXIT_FAILURE);
    }
    stream->fp = gzdopen(fd, "r");
    stream->ks = kseq_init(stream->fp);

    return stream;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
pushq $0x1
popq %rdi
pushq $0x18
popq %rsi
callq 0x2250
movq %rax, %rbx
leaq 0x4(%rsp), %rsi
movq %r14, %rdi
callq 0x17c8c
movq %rax, 0x10(%rbx)
testq %rax, %rax
je 0x166ad
movl 0x4(%rsp), %edi
leaq 0x3ef5(%rip), %rsi      # 0x1a546
callq 0x2120
movq %rax, %r14
movq %rax, (%rbx)
pushq $0x1
popq %r15
pushq $0x70
popq %rsi
movq %r15, %rdi
callq 0x2250
movq %rax, %r12
pushq $0x20
popq %rsi
movq %r15, %rdi
callq 0x2250
movq %rax, %r15
movq %r14, 0x10(%rax)
movl $0x10000, 0x8(%rax)     # imm = 0x10000
movl $0x4000, %edi           # imm = 0x4000
callq 0x2310
movq %rax, 0x18(%r15)
movq %r15, 0x68(%r12)
movq %r12, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0xa93c(%rip), %rax      # 0x20ff0
movq (%rax), %rdi
leaq 0x4834(%rip), %rsi      # 0x1aef2
leaq 0x484d(%rip), %rdx      # 0x1af12
movq %r14, %rcx
xorl %eax, %eax
callq 0x2280
pushq $0x1
popq %rdi
callq 0x2440
// File: /workspace/github_c_makefile_star2_O2/c-zhou[P]oatk/sstream.c
// Function: sstream_read
int sstream_read(sstream_t *ss)
{
    int l = kseq_read(ss->s->ks);
    if (l >= 0) {
        ++ss->n_seq;
        return l;
    }
    if (ss->n < ss->n_files - 1) {
        kstream_close(ss->s);
        ++ss->n;
        ss->s = make_kseq_stream(ss->files[ss->n]);

        l = kseq_read(ss->s->ks);
        if (l >= 0) {
            ++ss->n_seq;
            return l;
        }
    }
    return l;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rax
movq 0x8(%rax), %rdi
callq 0x16730
testl %eax, %eax
js 0x166f1
incq (%rbx)
jmp 0x1672e
movl 0x10(%rbx), %ecx
decl %ecx
cmpl %ecx, 0x14(%rbx)
jge 0x1672e
movq 0x18(%rbx), %rdi
callq 0x1656e
movslq 0x14(%rbx), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x14(%rbx)
movq 0x8(%rbx), %rcx
movq 0x8(%rcx,%rax,8), %rdi
callq 0x16617
movq %rax, 0x18(%rbx)
movq 0x8(%rax), %rdi
callq 0x16730
testl %eax, %eax
jns 0x166ec
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_word_gcd
bigint_word bigint_word_gcd(bigint_word a, bigint_word b){
    while (1){
        if (!a) return b;
        b %= a;
        if (!b) return a;
        a %= b;
    }
}

// Assembly:
testl %edi, %edi
je 0x196f
movl %esi, %eax
xorl %edx, %edx
divl %edi
testl %edx, %edx
je 0x196d
movl %edx, %esi
movl %edi, %eax
xorl %edx, %edx
divl %esi
movl %edx, %edi
jmp 0x1953
movl %edi, %esi
movl %esi, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_uint_gcd
unsigned bigint_uint_gcd(unsigned a, unsigned b){
    while (1){
        if (!a) return b;
        b %= a;
        if (!b) return a;
        a %= b;
    }
}

// Assembly:
testl %edi, %edi
je 0x198e
movl %esi, %eax
xorl %edx, %edx
divl %edi
testl %edx, %edx
je 0x198c
movl %edx, %esi
movl %edi, %eax
xorl %edx, %edx
divl %esi
movl %edx, %edi
jmp 0x1972
movl %edi, %esi
movl %esi, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_reserve
bigint* bigint_reserve(bigint *dst, int capacity){
    if (dst->capacity >= capacity) return dst;
    dst->capacity = capacity;
    dst->words = (bigint_word*)realloc(dst->words, capacity * sizeof(*dst->words));
    /* out of memory? sorry :( */
    assert(dst->words != NULL);
    BIGINT_ASSERT(dst->size, <=, capacity);
    return dst;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl %esi, 0x10(%rdi)
jge 0x19de
movl %esi, %ebp
movl %esi, 0x10(%rbx)
movq (%rbx), %rdi
movslq %esi, %rsi
shlq $0x2, %rsi
callq 0x10c0
movq %rax, (%rbx)
testq %rax, %rax
je 0x19e8
cmpl %ebp, 0xc(%rbx)
jg 0x1a07
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x2801(%rip), %rdi      # 0x41f0
leaq 0x280d(%rip), %rsi      # 0x4203
leaq 0x280f(%rip), %rcx      # 0x420c
movl $0x87, %edx
callq 0x1060
leaq 0x2824(%rip), %rdi      # 0x4232
leaq 0x27ee(%rip), %rsi      # 0x4203
leaq 0x27f0(%rip), %rcx      # 0x420c
movl $0x88, %edx
callq 0x1060
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_raw_cmp_abs
int bigint_raw_cmp_abs(
    const bigint_word *a, int na,
    const bigint_word *b, int nb
){
    int i;

    if (na > nb) return +1;
    if (na < nb) return -1;

    BIGINT_ASSERT(na, ==, nb);
    for (i = na - 1; i >= 0; i--){
        if (a[i] < b[i]) return -1;
        if (a[i] > b[i]) return +1;
    }

    return 0;
}

// Assembly:
pushq $0x1
popq %rax
cmpl %ecx, %esi
jle 0x1a46
retq
pushq $-0x1
popq %rcx
jge 0x1a4e
movl %ecx, %eax
retq
jne 0x1a72
movl %esi, %esi
testl %esi, %esi
jle 0x1a6f
movl -0x4(%rdi,%rsi,4), %r8d
movl -0x4(%rdx,%rsi,4), %r9d
cmpl %r9d, %r8d
jb 0x1a4b
decq %rsi
cmpl %r9d, %r8d
jbe 0x1a52
jmp 0x1a45
xorl %eax, %eax
retq
pushq %rax
leaq 0x27d2(%rip), %rdi      # 0x424c
leaq 0x2782(%rip), %rsi      # 0x4203
leaq 0x27d1(%rip), %rcx      # 0x4259
movl $0x9a, %edx
callq 0x1060
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_raw_cmp
int bigint_raw_cmp(
    const bigint_word *a, int na, int a_neg,
    const bigint_word *b, int nb, int b_neg
){
    if (na == 0 && nb == 0) return 0;

    if (!a_neg && !b_neg) return bigint_raw_cmp_abs(a, na, b, nb);
    if ( a_neg &&  b_neg) return bigint_raw_cmp_abs(b, na, a, nb);

    return (!a_neg && b_neg) ? +1 : -1;
}

// Assembly:
movq %rdi, %rax
movl %r8d, %edi
orl %esi, %edi
je 0x1ad5
movl %r9d, %edi
orl %edx, %edi
je 0x1ad8
testl %r9d, %r9d
sete %dil
testl %edx, %edx
sete %r10b
orb %dil, %r10b
jne 0x1ae6
movq %rcx, %rdi
movq %rax, %rdx
jmp 0x1ade
xorl %eax, %eax
retq
movq %rax, %rdi
movq %rcx, %rdx
movl %r8d, %ecx
jmp 0x1a3e
testl %r9d, %r9d
sete %al
testl %edx, %edx
setne %cl
orb %al, %cl
movzbl %cl, %eax
negl %eax
orl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_cmp_abs_word
int bigint_cmp_abs_word(const bigint *a, bigint_word b){
    if (b == 0){
        if (a->size == 0) return 0;
        return a->neg ? -1 : +1;
    }
    return bigint_raw_cmp_abs(a->words, a->size, &b, 1);
}

// Assembly:
pushq %rax
movl %esi, 0x4(%rsp)
testl %esi, %esi
je 0x1b3d
movq (%rdi), %rax
movl 0xc(%rdi), %esi
leaq 0x4(%rsp), %rdx
pushq $0x1
popq %rcx
movq %rax, %rdi
callq 0x1a3e
jmp 0x1b51
cmpl $0x0, 0xc(%rdi)
je 0x1b4f
xorl %eax, %eax
cmpl 0x8(%rdi), %eax
sbbl %eax, %eax
orl $0x1, %eax
jmp 0x1b51
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_cpy
bigint* bigint_cpy(bigint *dst, const bigint *src){
    if (src == dst) return dst;
    bigint_reserve(dst, src->size);
    dst->size = bigint_raw_cpy(dst->words, src->words, src->size);
    BIGINT_ASSERT(bigint_cmp_abs(src, dst), ==, 0);
    return bigint_set_neg(dst, src->neg);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq %rdi, %rsi
je 0x1be4
movq %rsi, %r14
movl 0xc(%rsi), %esi
movq %rbx, %rdi
callq 0x19b2
movq (%rbx), %rdi
movq (%r14), %rsi
movslq 0xc(%r14), %r15
movq %r15, %rdx
shlq $0x2, %rdx
callq 0x10a0
movl %r15d, 0xc(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a92
testl %eax, %eax
jne 0x1bed
movl 0x8(%r14), %eax
movl %eax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x26b0(%rip), %rdi      # 0x42a4
leaq 0x2608(%rip), %rsi      # 0x4203
leaq 0x26c4(%rip), %rcx      # 0x42c6
movl $0xd6, %edx
callq 0x1060
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_set_bit
bigint* bigint_set_bit(bigint *dst, unsigned bit_index){
    int word_index = bit_index / BIGINT_WORD_BITS;
    int n = word_index + 1;

    bigint_reserve(dst, n);
    bigint_raw_zero(dst->words, dst->size, n);
    dst->size = BIGINT_MAX(dst->size, n);
    dst->words[word_index] |= ((bigint_word)1) << bit_index % BIGINT_WORD_BITS;

    return dst;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r15d
shrl $0x5, %r15d
leal 0x1(%r15), %r14d
movl %r14d, %esi
callq 0x19b2
movl 0xc(%rbx), %eax
cmpl %r15d, %eax
jg 0x1ca0
movslq %eax, %rdi
shlq $0x2, %rdi
addq (%rbx), %rdi
movl %r14d, %ecx
subl %eax, %ecx
movslq %ecx, %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq 0x1070
movl 0xc(%rbx), %eax
cmpl %r14d, %eax
cmovgl %eax, %r14d
pushq $0x1
popq %rax
movl %ebp, %ecx
shll %cl, %eax
movl %r14d, 0xc(%rbx)
movq (%rbx), %rcx
movl %r15d, %edx
orl %eax, (%rcx,%rdx,4)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_raw_mul_word_add
int bigint_raw_mul_word_add(
    bigint_word *dst,
    const bigint_word *src, int n,
    bigint_word factor
){
    int i;
    bigint_word carry = 0;

    for (i = 0; i < n; i++){
        bigint_word src_word = src[i];
        bigint_word dst_word = bigint_word_mul_lo(src_word, factor);
        carry  = bigint_word_add_get_carry(&dst_word, dst_word, carry);
        carry += bigint_word_mul_hi(src_word, factor);
        carry += bigint_word_add_get_carry(&dst[i], dst[i], dst_word);
    }

    for (; carry; i++){
        carry = bigint_word_add_get_carry(&dst[i], dst[i], carry);
    }

    return bigint_raw_truncate(dst, i);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, (%rsp)
movq %rdi, %r14
xorl %r12d, %r12d
testl %edx, %edx
cmovlel %r12d, %ebx
xorl %eax, %eax
cmpq %r12, %rbx
je 0x1d46
movq (%rsp), %rcx
movl (%rcx,%r12,4), %edi
movl %edi, %r13d
imull %ebp, %r13d
xorl %r15d, %r15d
addl %eax, %r13d
setb %r15b
movl %ebp, %esi
callq 0x18ba
addl %r13d, (%r14,%r12,4)
adcl %r15d, %eax
incq %r12
jmp 0x1d07
xorl %ecx, %ecx
addl %eax, (%r14,%rbx,4)
setb %cl
incq %rbx
movl %ecx, %eax
testl %eax, %eax
jne 0x1d38
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c0c
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_raw_mul_word
int bigint_raw_mul_word(
    bigint_word *dst,
    const bigint_word *src, int n,
    bigint_word factor
){
    int i;
    bigint_word carry = 0;

    for (i = 0; i < n; i++){
        bigint_word src_word = src[i];
        bigint_word dst_word = bigint_word_mul_lo(src_word, factor);
        carry  = bigint_word_add_get_carry(&dst_word, dst_word, carry);
        carry += bigint_word_mul_hi(src_word, factor);
        dst[i] = dst_word;
    }

    if (carry){
        dst[i++] = carry;
    }

    return bigint_raw_truncate(dst, i);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %r15d
movq %rsi, (%rsp)
movq %rdi, %rbx
xorl %r12d, %r12d
testl %edx, %edx
cmovlel %r12d, %r15d
xorl %r13d, %r13d
cmpq %r12, %r15
je 0x1db2
movq (%rsp), %rax
movl (%rax,%r12,4), %edi
movl %edi, %r14d
imull %ebp, %r14d
movl %ebp, %esi
callq 0x18ba
addl %r13d, %r14d
adcl $0x0, %eax
movl %r14d, (%rbx,%r12,4)
incq %r12
movl %eax, %r13d
jmp 0x1d85
testl %r13d, %r13d
je 0x1dc3
movl %r13d, (%rbx,%r15,4)
movl %r15d, %eax
incl %eax
movl %eax, %r15d
movq %rbx, %rdi
movl %r15d, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c0c
// File: /workspace/github_c_makefile_star2_O2/983[P]bigint/bigint.c
// Function: bigint_raw_mul_add
int bigint_raw_mul_add(
    bigint_word *dst,
    const bigint_word *src_a, int na,
    const bigint_word *src_b, int nb
){
    int i;

    if (na == 0 || nb == 0) return 0;

    assert(dst != src_a);
    assert(dst != src_b);

    for (i = 0; i < nb; i++){
        bigint_raw_mul_word_add(dst + i, src_a, na, src_b[i]);
    }

    return bigint_raw_truncate(dst, na + nb);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
testl %edx, %edx
sete %al
testl %r8d, %r8d
sete %cl
orb %al, %cl
je 0x1e0a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rsi, %r12
movq %rdi, %r14
cmpq %rsi, %rdi
je 0x1e6d
cmpq %r15, %r14
je 0x1e8c
movl %edx, %ebp
xorl %r13d, %r13d
testl %r8d, %r8d
movl $0x0, %ebx
movl %r8d, 0x4(%rsp)
cmovgl %r8d, %ebx
shlq $0x2, %rbx
cmpq %r13, %rbx
je 0x1e51
leaq (%r14,%r13), %rdi
movl (%r15,%r13), %ecx
movq %r12, %rsi
movl %ebp, %edx
callq 0x1ce6
addq $0x4, %r13
jmp 0x1e34
movl 0x4(%rsp), %esi
addl %ebp, %esi
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c0c
leaq 0x247f(%rip), %rdi      # 0x42f3
leaq 0x2388(%rip), %rsi      # 0x4203
leaq 0x247e(%rip), %rcx      # 0x4300
movl $0x136, %edx            # imm = 0x136
callq 0x1060
leaq 0x24c7(%rip), %rdi      # 0x435a
leaq 0x2369(%rip), %rsi      # 0x4203
leaq 0x245f(%rip), %rcx      # 0x4300
movl $0x137, %edx            # imm = 0x137
callq 0x1060