LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
shlq %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
shlq $0x2, %rdi
callq 0x2320
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rdi
shlq $0x2, %rdi
callq 0x2320
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
shlq $0x2, %rdi
callq 0x2320
movq %rax, -0x40(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq 0x23e90
movq %rax, -0x48(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x2442a
movq -0x10(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movq -0x30(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movq -0x38(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movq -0x40(%rbp), %rax
movq -0x18(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x243d6
movl $0x0, -0x28(%rbp)
movl $0x0, -0x24(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x244c6
movq -0x38(%rbp), %rax
movq -0x18(%rbp), %rcx
cmpl $-0x1, (%rax,%rcx,4)
jne 0x244b3
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x18(%rbp), %rcx
shrq %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x20(%rax), %eax
shrl $0x1e, %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x244b3
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq -0x30(%rbp), %rcx
movq -0x48(%rbp), %r8
movq -0x40(%rbp), %r9
movq -0x10(%rbp), %r10
leaq -0x28(%rbp), %r11
leaq -0x24(%rbp), %rax
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x24500
jmp 0x244b5
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0x24440
movq -0x30(%rbp), %rdi
callq 0x2060
movq -0x38(%rbp), %rdi
callq 0x2060
movq -0x40(%rbp), %rdi
callq 0x2060
movq -0x48(%rbp), %rdi
callq 0x24030
movl -0x24(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/graph.c
// Function: asmg_arc_n2
static inline uint64_t asmg_arc_n2(asmg_t *g, uint64_t v, uint64_t *w, uint64_t *l)
{
    uint64_t i, nv, nv0, k, ls, min_l;
    asmg_arc_t *av;
    *l = 0, *w = UINT64_MAX;
    if (g->vtx[v>>1].del)
        return 0;
    nv0 = asmg_arc_n(g, v);
    av = asmg_arc_a(g, v);
    ls = k = 0;
    for (i = nv = 0; i < nv0; ++i) {
        if (!av[i].del) {
            ++nv;
            k = i;
            ls = av[i].ls > ls? av[i].ls : ls;
        }
    }
    min_l = g->vtx[v>>1].len - ls;
    *l = min_l;
    *w = nv == 1? av[k].w : UINT64_MAX;
    return nv;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq $0x0, (%rax)
movq -0x20(%rbp), %rax
movq $-0x1, (%rax)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x18(%rbp), %rcx
shrq %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movl 0x20(%rax), %eax
shrl $0x1e, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x249ab
movq $0x0, -0x8(%rbp)
jmp 0x24af0
movq -0x10(%rbp), %rax
movq 0x38(%rax), %rax
movq -0x18(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0x30(%rcx), %rcx
movq -0x18(%rbp), %rdx
imulq $0x30, (%rcx,%rdx,8), %rcx
addq %rcx, %rax
movq %rax, -0x60(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x40(%rbp), %rax
jae 0x24a86
movq -0x60(%rbp), %rax
imulq $0x30, -0x30(%rbp), %rcx
addq %rcx, %rax
movl 0x20(%rax), %eax
shrl $0x1e, %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x24a73
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x60(%rbp), %rax
imulq $0x30, -0x30(%rbp), %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
cmpq -0x50(%rbp), %rax
jbe 0x24a63
movq -0x60(%rbp), %rax
imulq $0x30, -0x30(%rbp), %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
movq %rax, -0x68(%rbp)
jmp 0x24a6b
movq -0x50(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x24a75
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x249ff
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x18(%rbp), %rcx
shrq %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq 0x18(%rax), %rax
subq -0x50(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
cmpq $0x1, -0x38(%rbp)
jne 0x24ad0
movq -0x60(%rbp), %rax
imulq $0x30, -0x48(%rbp), %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x70(%rbp)
jmp 0x24add
movq $-0x1, %rax
movq %rax, -0x70(%rbp)
jmp 0x24add
movq -0x70(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/graph.c
// Function: asmg_tbuf_reset
static void asmg_tbuf_reset(asmg_tbuf_t *b)
{
    uint64_t i;
    for (i = 0; i < b->b.n; ++i) { // clear the states of visited vertices
        asmg_tinfo_t *t = &b->a[b->b.a[i]];
        t->d = t->c = t->r = t->s = 0;
        t->p = UINT64_MAX;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x20(%rcx), %rax
jae 0x25a7c
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x30(%rcx), %rcx
movq -0x10(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
andq 0x18(%rax), %rcx
orq $0x0, %rcx
movq %rcx, 0x18(%rax)
movq -0x18(%rbp), %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
andq 0x18(%rax), %rcx
orq $0x0, %rcx
movq %rcx, 0x18(%rax)
movq -0x18(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x18(%rbp), %rax
movq $0x0, 0x8(%rax)
movq -0x18(%rbp), %rax
movq $-0x1, (%rax)
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x259e0
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x25ed5
jmp 0x25f21
movq $0x0, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq (%rcx), %rax
jae 0x25f14
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x10(%rax), %rdi
callq 0x2060
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x25edd
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x2060
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/./graph.h
// Function: asmg_vtx_n1
static inline uint64_t asmg_vtx_n1(asmg_t *g)
{
    uint64_t i, n, n1;
    
    n1 = g->n_vtx;
    for (i = 0, n = g->n_vtx; i < n; ++i)
        if (g->vtx[i].del)
            --n1;

    return n1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq $0x0, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
jae 0x265da
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
imulq $0x28, -0x10(%rbp), %rcx
addq %rcx, %rax
movl 0x20(%rax), %eax
shrl $0x1e, %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x265ca
movq -0x20(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x265cc
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x26596
movq -0x20(%rbp), %rax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq (%rax), %rdx
movq -0x8(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x8(%rbp), %rax
movsd 0x18(%rax), %xmm0
leaq 0x7161(%rip), %rsi      # 0x2edd3
movb $0x1, %al
callq 0x2290
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jae 0x27d09
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movl -0x14(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rdx
shrq %rdx
movq -0x20(%rbp), %rax
movq (%rax), %rcx
andq $0x1, %rcx
leaq 0x5c54(%rip), %rax      # 0x2d916
movsbl (%rax,%rcx), %ecx
movq -0x20(%rbp), %rax
movq 0x8(%rax), %r8
movq -0x20(%rbp), %rax
movq 0x10(%rax), %r9
movq -0x20(%rbp), %rax
movl 0x18(%rax), %r10d
movq -0x20(%rbp), %rax
movl 0x1c(%rax), %eax
leaq 0x70fe(%rip), %rsi      # 0x2edea
movl %r10d, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0x2290
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x27c80
movq -0x10(%rbp), %rdi
leaq 0x595a(%rip), %rsi      # 0x2d66e
movb $0x0, %al
callq 0x2290
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
je 0x27de7
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
movq -0x20(%rbp), %rcx
cmpq -0x28(%rbp), %rcx
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x27e6f
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
je 0x27e31
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
movq -0x20(%rbp), %rcx
cmpq -0x28(%rbp), %rcx
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x27e6f
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
movq -0x20(%rbp), %rcx
cmpq -0x28(%rbp), %rcx
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/alignment.c
// Function: set_fragment
static void set_fragment(sr_frg_t *frg, uint64_t u, 
        uint64_t s_beg, uint64_t s_end, uint64_t s_cnt,
        uint64_t u_beg, uint64_t u_end, uint64_t u_gap,
        int64_t score) {
    frg->uid = u;
    frg->s_beg = s_beg;
    frg->s_end = s_end;
    frg->s_cnt = s_cnt;
    frg->u_beg = u_beg;
    frg->u_end = u_end;
    frg->u_gap = u_gap;
    frg->score0 = score;
    frg->score = score;
    kv_init(frg->prev);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x30(%rax)
movq -0x30(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq 0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq 0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x38(%rax)
movq 0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x40(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x50(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x48(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x58(%rax)
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
je 0x27f96
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
movq -0x20(%rbp), %rcx
cmpq -0x28(%rbp), %rcx
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x27fd4
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
movq -0x20(%rbp), %rcx
cmpq -0x28(%rbp), %rcx
setb %cl
andb $0x1, %cl
movzbl %cl, %ecx
subl %ecx, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/c-zhou[P]oatk/alignment.c
// Function: rev_array
static inline void rev_array(uint32_t *arr, int n)
{
    int i, j;
    uint32_t tmp;
    for (i = 0, j = n - 1; i < j; ++i, --j) {
        tmp = arr[i];
        arr[i] = arr[j];
        arr[j] = tmp;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
movl -0xc(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x14(%rbp)
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x28349
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x18(%rbp), %edx
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
movl -0x14(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x282fb
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x289b0
movq -0x8(%rbp), %rax
movq (%rax), %rdi
callq 0x2050
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x2bce0
movq -0x8(%rbp), %rdi
callq 0x2060
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x1, %edi
movl $0x20, %esi
callq 0x2250
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
movq -0x8(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x8(%rax)
movl -0xc(%rbp), %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x18(%rbp), %rax
movl $0x0, 0x14(%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
callq 0x28440
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x1, %edi
movl $0x18, %esi
callq 0x2250
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x14(%rbp), %rsi
callq 0x2ae90
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x284af
movq 0xbb6f(%rip), %rax      # 0x33ff8
movq (%rax), %rdi
movq -0x8(%rbp), %rcx
leaq 0x696b(%rip), %rsi      # 0x2ee02
leaq 0x6984(%rip), %rdx      # 0x2ee22
movb $0x0, %al
callq 0x2290
movl $0x1, %edi
callq 0x2450
movl -0x14(%rbp), %edi
leaq 0x6083(%rip), %rsi      # 0x2e53c
callq 0x2120
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x28a60
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x285d0
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jl 0x2852f
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x285ba
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
movq -0x10(%rbp), %rcx
movl 0x10(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x285b4
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x28380
movq -0x10(%rbp), %rax
movl 0x14(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x14(%rax)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movslq 0x14(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x28440
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x285d0
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jl 0x285b2
movq -0x10(%rbp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x285ba
jmp 0x285b4
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_word_mul_hi
bigint_word bigint_word_mul_hi(bigint_word a, bigint_word b){
    bigint_word c0 = BIGINT_WORD_LO(a) * BIGINT_WORD_LO(b);
    bigint_word c1 = BIGINT_WORD_LO(a) * BIGINT_WORD_HI(b);
    bigint_word c2 = BIGINT_WORD_HI(a) * BIGINT_WORD_LO(b);
    bigint_word c3 = BIGINT_WORD_HI(a) * BIGINT_WORD_HI(b);

    bigint_word c4 = BIGINT_WORD_HI(c0) + BIGINT_WORD_LO(c1) + BIGINT_WORD_LO(c2);
    return BIGINT_WORD_HI(c4) + BIGINT_WORD_HI(c1) + BIGINT_WORD_HI(c2) + c3;
}

// Assembly:
movl %edi, -0x4(%rsp)
movl %esi, -0x8(%rsp)
movl -0x4(%rsp), %eax
andl $0xffff, %eax           # imm = 0xFFFF
movl -0x8(%rsp), %ecx
andl $0xffff, %ecx           # imm = 0xFFFF
imull %ecx, %eax
movl %eax, -0xc(%rsp)
movl -0x4(%rsp), %eax
andl $0xffff, %eax           # imm = 0xFFFF
movl -0x8(%rsp), %ecx
shrl $0x10, %ecx
imull %ecx, %eax
movl %eax, -0x10(%rsp)
movl -0x4(%rsp), %eax
shrl $0x10, %eax
movl -0x8(%rsp), %ecx
andl $0xffff, %ecx           # imm = 0xFFFF
imull %ecx, %eax
movl %eax, -0x14(%rsp)
movl -0x4(%rsp), %eax
shrl $0x10, %eax
movl -0x8(%rsp), %ecx
shrl $0x10, %ecx
imull %ecx, %eax
movl %eax, -0x18(%rsp)
movl -0xc(%rsp), %eax
shrl $0x10, %eax
movl -0x10(%rsp), %ecx
andl $0xffff, %ecx           # imm = 0xFFFF
addl %ecx, %eax
movl -0x14(%rsp), %ecx
andl $0xffff, %ecx           # imm = 0xFFFF
addl %ecx, %eax
movl %eax, -0x1c(%rsp)
movl -0x1c(%rsp), %eax
shrl $0x10, %eax
movl -0x10(%rsp), %ecx
shrl $0x10, %ecx
addl %ecx, %eax
movl -0x14(%rsp), %ecx
shrl $0x10, %ecx
addl %ecx, %eax
addl -0x18(%rsp), %eax
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_word_from_char
bigint_word bigint_word_from_char(char c){
    switch (c){
        case '0': return 0;
        case '1': return 1;
        case '2': return 2;
        case '3': return 3;
        case '4': return 4;
        case '5': return 5;
        case '6': return 6;
        case '7': return 7;
        case '8': return 8;
        case '9': return 9;
        case 'a': case 'A': return 10;
        case 'b': case 'B': return 11;
        case 'c': case 'C': return 12;
        case 'd': case 'D': return 13;
        case 'e': case 'E': return 14;
        case 'f': case 'F': return 15;
        case 'g': case 'G': return 16;
        case 'h': case 'H': return 17;
        case 'i': case 'I': return 18;
        case 'j': case 'J': return 19;
        case 'k': case 'K': return 20;
        case 'l': case 'L': return 21;
        case 'm': case 'M': return 22;
        case 'n': case 'N': return 23;
        case 'o': case 'O': return 24;
        case 'p': case 'P': return 25;
        case 'q': case 'Q': return 26;
        case 'r': case 'R': return 27;
        case 's': case 'S': return 28;
        case 't': case 'T': return 29;
        case 'u': case 'U': return 30;
        case 'v': case 'V': return 31;
        case 'w': case 'W': return 32;
        case 'x': case 'X': return 33;
        case 'y': case 'Y': return 34;
        case 'z': case 'Z': return 35;
        default: return BIGINT_WORD_MAX;
    }
}

// Assembly:
movb %dil, %al
movb %al, -0x5(%rsp)
movsbl -0x5(%rsp), %eax
addl $-0x30, %eax
movl %eax, %ecx
movq %rcx, -0x10(%rsp)
subl $0x4a, %eax
ja 0x1ec4
movq -0x10(%rsp), %rax
leaq 0x44c1(%rip), %rcx      # 0x61cc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, -0x4(%rsp)
jmp 0x1ecc
movl $0x1, -0x4(%rsp)
jmp 0x1ecc
movl $0x2, -0x4(%rsp)
jmp 0x1ecc
movl $0x3, -0x4(%rsp)
jmp 0x1ecc
movl $0x4, -0x4(%rsp)
jmp 0x1ecc
movl $0x5, -0x4(%rsp)
jmp 0x1ecc
movl $0x6, -0x4(%rsp)
jmp 0x1ecc
movl $0x7, -0x4(%rsp)
jmp 0x1ecc
movl $0x8, -0x4(%rsp)
jmp 0x1ecc
movl $0x9, -0x4(%rsp)
jmp 0x1ecc
movl $0xa, -0x4(%rsp)
jmp 0x1ecc
movl $0xb, -0x4(%rsp)
jmp 0x1ecc
movl $0xc, -0x4(%rsp)
jmp 0x1ecc
movl $0xd, -0x4(%rsp)
jmp 0x1ecc
movl $0xe, -0x4(%rsp)
jmp 0x1ecc
movl $0xf, -0x4(%rsp)
jmp 0x1ecc
movl $0x10, -0x4(%rsp)
jmp 0x1ecc
movl $0x11, -0x4(%rsp)
jmp 0x1ecc
movl $0x12, -0x4(%rsp)
jmp 0x1ecc
movl $0x13, -0x4(%rsp)
jmp 0x1ecc
movl $0x14, -0x4(%rsp)
jmp 0x1ecc
movl $0x15, -0x4(%rsp)
jmp 0x1ecc
movl $0x16, -0x4(%rsp)
jmp 0x1ecc
movl $0x17, -0x4(%rsp)
jmp 0x1ecc
movl $0x18, -0x4(%rsp)
jmp 0x1ecc
movl $0x19, -0x4(%rsp)
jmp 0x1ecc
movl $0x1a, -0x4(%rsp)
jmp 0x1ecc
movl $0x1b, -0x4(%rsp)
jmp 0x1ecc
movl $0x1c, -0x4(%rsp)
jmp 0x1ecc
movl $0x1d, -0x4(%rsp)
jmp 0x1ecc
movl $0x1e, -0x4(%rsp)
jmp 0x1ecc
movl $0x1f, -0x4(%rsp)
jmp 0x1ecc
movl $0x20, -0x4(%rsp)
jmp 0x1ecc
movl $0x21, -0x4(%rsp)
jmp 0x1ecc
movl $0x22, -0x4(%rsp)
jmp 0x1ecc
movl $0x23, -0x4(%rsp)
jmp 0x1ecc
movl $0xffffffff, -0x4(%rsp) # imm = 0xFFFFFFFF
movl -0x4(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
movl %edi, -0x8(%rsp)
movl %esi, -0xc(%rsp)
cmpl $0x0, -0x8(%rsp)
jne 0x1f99
movl -0xc(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x1fcc
movl -0x8(%rsp), %ecx
movl -0xc(%rsp), %eax
xorl %edx, %edx
divl %ecx
movl %edx, -0xc(%rsp)
cmpl $0x0, -0xc(%rsp)
jne 0x1fba
movl -0x8(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x1fcc
movl -0xc(%rsp), %ecx
movl -0x8(%rsp), %eax
xorl %edx, %edx
divl %ecx
movl %edx, -0x8(%rsp)
jmp 0x1f88
movl -0x4(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
movl %edi, -0x8(%rsp)
movl %esi, -0xc(%rsp)
cmpl $0x0, -0x8(%rsp)
jne 0x1ff9
movl -0xc(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x202c
movl -0x8(%rsp), %ecx
movl -0xc(%rsp), %eax
xorl %edx, %edx
divl %ecx
movl %edx, -0xc(%rsp)
cmpl $0x0, -0xc(%rsp)
jne 0x201a
movl -0x8(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x202c
movl -0xc(%rsp), %ecx
movl -0x8(%rsp), %eax
xorl %edx, %edx
divl %ecx
movl %edx, -0x8(%rsp)
jmp 0x1fe8
movl -0x4(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
movq 0x8(%rsp), %rax
movl 0x10(%rax), %eax
cmpl 0x4(%rsp), %eax
jl 0x210a
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x219c
movl 0x4(%rsp), %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0x10(%rax)
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movslq 0x4(%rsp), %rsi
shlq $0x2, %rsi
callq 0x10d0
movq %rax, %rcx
movq 0x8(%rsp), %rax
movq %rcx, (%rax)
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
je 0x2144
jmp 0x2163
leaq 0x41c5(%rip), %rdi      # 0x6310
leaq 0x41d1(%rip), %rsi      # 0x6323
movl $0x87, %edx
leaq 0x41ce(%rip), %rcx      # 0x632c
callq 0x1070
movq 0x8(%rsp), %rax
movl 0xc(%rax), %eax
cmpl 0x4(%rsp), %eax
jg 0x2173
jmp 0x2192
leaq 0x41d8(%rip), %rdi      # 0x6352
leaq 0x41a2(%rip), %rsi      # 0x6323
movl $0x88, %edx
leaq 0x419f(%rip), %rcx      # 0x632c
callq 0x1070
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movq %rdx, 0x8(%rsp)
movl %ecx, 0x4(%rsp)
movl 0x14(%rsp), %eax
cmpl 0x4(%rsp), %eax
jle 0x21fd
movl $0x1, 0x24(%rsp)
jmp 0x22ac
movl 0x14(%rsp), %eax
cmpl 0x4(%rsp), %eax
jge 0x2214
movl $0xffffffff, 0x24(%rsp) # imm = 0xFFFFFFFF
jmp 0x22ac
movl 0x14(%rsp), %eax
cmpl 0x4(%rsp), %eax
jne 0x2220
jmp 0x223f
leaq 0x4145(%rip), %rdi      # 0x636c
leaq 0x40f5(%rip), %rsi      # 0x6323
movl $0x9a, %edx
leaq 0x413f(%rip), %rcx      # 0x6379
callq 0x1070
movl 0x14(%rsp), %eax
subl $0x1, %eax
movl %eax, (%rsp)
cmpl $0x0, (%rsp)
jl 0x22a4
movq 0x18(%rsp), %rax
movslq (%rsp), %rcx
movl (%rax,%rcx,4), %eax
movq 0x8(%rsp), %rcx
movslq (%rsp), %rdx
cmpl (%rcx,%rdx,4), %eax
jae 0x2273
movl $0xffffffff, 0x24(%rsp) # imm = 0xFFFFFFFF
jmp 0x22ac
movq 0x18(%rsp), %rax
movslq (%rsp), %rcx
movl (%rax,%rcx,4), %eax
movq 0x8(%rsp), %rcx
movslq (%rsp), %rdx
cmpl (%rcx,%rdx,4), %eax
jbe 0x2297
movl $0x1, 0x24(%rsp)
jmp 0x22ac
jmp 0x2299
movl (%rsp), %eax
addl $-0x1, %eax
movl %eax, (%rsp)
jmp 0x2249
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movl %edx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movl %r8d, 0x14(%rsp)
movl %r9d, 0x10(%rsp)
cmpl $0x0, 0x24(%rsp)
jne 0x233b
cmpl $0x0, 0x14(%rsp)
jne 0x233b
movl $0x0, 0x34(%rsp)
jmp 0x23c2
cmpl $0x0, 0x20(%rsp)
jne 0x2366
cmpl $0x0, 0x10(%rsp)
jne 0x2366
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
movq 0x18(%rsp), %rdx
movl 0x14(%rsp), %ecx
callq 0x21d0
movl %eax, 0x34(%rsp)
jmp 0x23c2
cmpl $0x0, 0x20(%rsp)
je 0x2391
cmpl $0x0, 0x10(%rsp)
je 0x2391
movq 0x18(%rsp), %rdi
movl 0x24(%rsp), %esi
movq 0x28(%rsp), %rdx
movl 0x14(%rsp), %ecx
callq 0x21d0
movl %eax, 0x34(%rsp)
jmp 0x23c2
xorl %eax, %eax
cmpl $0x0, 0x20(%rsp)
movb %al, 0xf(%rsp)
jne 0x23aa
cmpl $0x0, 0x10(%rsp)
setne %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %dl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl $0x1, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0x2467
movq 0x8(%rsp), %rax
cmpl $0x0, 0xc(%rax)
jne 0x2449
movl $0x0, 0x14(%rsp)
jmp 0x248a
movq 0x8(%rsp), %rax
movl 0x8(%rax), %edx
movl $0x1, %eax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, 0x14(%rsp)
jmp 0x248a
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rax
movl 0xc(%rax), %esi
leaq 0x4(%rsp), %rdx
movl $0x1, %ecx
callq 0x21d0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq %rsi, (%rsp)
movq (%rsp), %rax
cmpq 0x8(%rsp), %rax
jne 0x25a7
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x2627
movq 0x8(%rsp), %rdi
movq (%rsp), %rax
movl 0xc(%rax), %esi
callq 0x20e0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq (%rsp), %rax
movq (%rax), %rsi
movq (%rsp), %rax
movl 0xc(%rax), %edx
callq 0x2540
movl %eax, %ecx
movq 0x8(%rsp), %rax
movl %ecx, 0xc(%rax)
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x22c0
cmpl $0x0, %eax
jne 0x25f2
jmp 0x2611
leaq 0x3dcb(%rip), %rdi      # 0x63c4
leaq 0x3d23(%rip), %rsi      # 0x6323
movl $0xd6, %edx
leaq 0x3dda(%rip), %rcx      # 0x63e6
callq 0x1070
movq 0x8(%rsp), %rdi
movq (%rsp), %rax
movl 0x8(%rax), %esi
callq 0x24f0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movl 0xc(%rsp), %eax
shrq $0x5, %rax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4(%rsp)
movq 0x10(%rsp), %rdi
movl 0x4(%rsp), %esi
callq 0x20e0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
movq 0x10(%rsp), %rax
movl 0xc(%rax), %esi
movl 0x4(%rsp), %edx
callq 0x24a0
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
cmpl 0x4(%rsp), %eax
jle 0x2796
movq 0x10(%rsp), %rax
movl 0xc(%rax), %eax
movl %eax, (%rsp)
jmp 0x279d
movl 0x4(%rsp), %eax
movl %eax, (%rsp)
movl (%rsp), %ecx
movq 0x10(%rsp), %rax
movl %ecx, 0xc(%rax)
movl 0xc(%rsp), %eax
andq $0x1f, %rax
movl %eax, %ecx
movl $0x1, %edx
shll %cl, %edx
movq 0x10(%rsp), %rax
movq (%rax), %rax
movslq 0x8(%rsp), %rcx
orl (%rax,%rcx,4), %edx
movl %edx, (%rax,%rcx,4)
movq 0x10(%rsp), %rax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movl %edx, 0x14(%rsp)
movl %ecx, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x28fb
movq 0x18(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x4(%rsp)
movl 0x4(%rsp), %edi
movl 0x10(%rsp), %esi
callq 0x1b90
movl %eax, (%rsp)
movl (%rsp), %esi
movl 0x8(%rsp), %edx
movq %rsp, %rdi
callq 0x1c60
movl %eax, 0x8(%rsp)
movl 0x4(%rsp), %edi
movl 0x10(%rsp), %esi
callq 0x1bb0
addl 0x8(%rsp), %eax
movl %eax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
movslq 0xc(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x20(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl (%rsp), %edx
callq 0x1c60
addl 0x8(%rsp), %eax
movl %eax, 0x8(%rsp)
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x2866
jmp 0x28fd
cmpl $0x0, 0x8(%rsp)
je 0x293c
movq 0x20(%rsp), %rdi
movslq 0xc(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x20(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0x8(%rsp), %edx
callq 0x1c60
movl %eax, 0x8(%rsp)
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x28fd
movq 0x20(%rsp), %rdi
movl 0xc(%rsp), %esi
callq 0x2640
addq $0x28, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movl %edx, 0x14(%rsp)
movl %ecx, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x29e6
movq 0x18(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x4(%rsp)
movl 0x4(%rsp), %edi
movl 0x10(%rsp), %esi
callq 0x1b90
movl %eax, (%rsp)
movl (%rsp), %esi
movl 0x8(%rsp), %edx
movq %rsp, %rdi
callq 0x1c60
movl %eax, 0x8(%rsp)
movl 0x4(%rsp), %edi
movl 0x10(%rsp), %esi
callq 0x1bb0
addl 0x8(%rsp), %eax
movl %eax, 0x8(%rsp)
movl (%rsp), %edx
movq 0x20(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x2976
cmpl $0x0, 0x8(%rsp)
je 0x2a09
movl 0x8(%rsp), %edx
movq 0x20(%rsp), %rax
movl 0xc(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0xc(%rsp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq 0x20(%rsp), %rdi
movl 0xc(%rsp), %esi
callq 0x2640
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movl %edx, 0x1c(%rsp)
movq %rcx, 0x10(%rsp)
movl %r8d, 0xc(%rsp)
cmpl $0x0, 0x1c(%rsp)
je 0x2a4a
cmpl $0x0, 0xc(%rsp)
jne 0x2a57
movl $0x0, 0x34(%rsp)
jmp 0x2b12
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x2a65
jmp 0x2a84
leaq 0x39a7(%rip), %rdi      # 0x6413
leaq 0x38b0(%rip), %rsi      # 0x6323
movl $0x136, %edx            # imm = 0x136
leaq 0x39a1(%rip), %rcx      # 0x6420
callq 0x1070
movq 0x28(%rsp), %rax
cmpq 0x10(%rsp), %rax
je 0x2a92
jmp 0x2ab1
leaq 0x39e1(%rip), %rdi      # 0x647a
leaq 0x3883(%rip), %rsi      # 0x6323
movl $0x137, %edx            # imm = 0x137
leaq 0x3974(%rip), %rcx      # 0x6420
callq 0x1070
movl $0x0, 0x8(%rsp)
movl 0x8(%rsp), %eax
cmpl 0xc(%rsp), %eax
jge 0x2afc
movq 0x28(%rsp), %rdi
movslq 0x8(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x20(%rsp), %rsi
movl 0x1c(%rsp), %edx
movq 0x10(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %ecx
callq 0x2840
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2ab9
movq 0x28(%rsp), %rdi
movl 0x1c(%rsp), %esi
addl 0xc(%rsp), %esi
callq 0x2640
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_raw_add_word
int bigint_raw_add_word(
    bigint_word *dst,
    const bigint_word *src, int n,
    bigint_word b
){
    int i;
    bigint_word carry = b;

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

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

    return bigint_raw_truncate(dst, i);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movl %edx, 0x14(%rsp)
movl %ecx, 0x10(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x2b88
movq 0x20(%rsp), %rdi
movslq 0xc(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x18(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0x8(%rsp), %edx
callq 0x1c60
movl %eax, 0x8(%rsp)
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x2b46
jmp 0x2b8a
cmpl $0x0, 0x8(%rsp)
je 0x2bc9
movq 0x20(%rsp), %rdi
movslq 0xc(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x20(%rsp), %rax
movslq 0xc(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0x8(%rsp), %edx
callq 0x1c60
movl %eax, 0x8(%rsp)
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0x2b8a
movq 0x20(%rsp), %rdi
movl 0xc(%rsp), %esi
callq 0x2640
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_raw_from_str_base
int bigint_raw_from_str_base(bigint_word *dst, const char *src, int base){
    int n = 0;

    for (; *src; src++){
        bigint_word digit = bigint_word_from_char(*src);

        if (digit == BIGINT_WORD_MAX) continue;

        n = bigint_raw_mul_word(dst, dst, n, base);
        n = bigint_raw_add_word(dst, dst, n, digit);
    }

    return bigint_raw_truncate(dst, n);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movl %edx, 0x14(%rsp)
movl $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rax
cmpb $0x0, (%rax)
je 0x2c64
movq 0x18(%rsp), %rax
movsbl (%rax), %edi
callq 0x1ce0
movl %eax, 0xc(%rsp)
cmpl $-0x1, 0xc(%rsp)
jne 0x2c1e
jmp 0x2c54
movq 0x20(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl 0x10(%rsp), %edx
movl 0x14(%rsp), %ecx
callq 0x2950
movl %eax, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x20(%rsp), %rsi
movl 0x10(%rsp), %edx
movl 0xc(%rsp), %ecx
callq 0x2b20
movl %eax, 0x10(%rsp)
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x2bfa
movq 0x20(%rsp), %rdi
movl 0x10(%rsp), %esi
callq 0x2640
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_raw_add
int bigint_raw_add(
    bigint_word *dst,
    const bigint_word *src_a, int na,
    const bigint_word *src_b, int nb
){
    bigint_word sum, carry = 0;
    int i, n = BIGINT_MIN(na, nb);

    for (i = 0; i < n; i++){
        carry  = bigint_word_add_get_carry(&sum, carry, src_a[i]);
        carry += bigint_word_add_get_carry(&sum, sum  , src_b[i]);
        dst[i] = sum;
    }

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

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

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

    return bigint_raw_truncate(dst, i);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movl %edx, 0x24(%rsp)
movq %rcx, 0x18(%rsp)
movl %r8d, 0x14(%rsp)
movl $0x0, 0xc(%rsp)
movl 0x24(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x2d17
movl 0x24(%rsp), %eax
movl %eax, (%rsp)
jmp 0x2d1e
movl 0x14(%rsp), %eax
movl %eax, (%rsp)
movl (%rsp), %eax
movl %eax, 0x4(%rsp)
movl $0x0, 0x8(%rsp)
movl 0x8(%rsp), %eax
cmpl 0x4(%rsp), %eax
jge 0x2d97
movl 0xc(%rsp), %esi
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x10(%rsp), %rdi
callq 0x1c60
movl %eax, 0xc(%rsp)
movl 0x10(%rsp), %esi
movq 0x18(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x10(%rsp), %rdi
callq 0x1c60
addl 0xc(%rsp), %eax
movl %eax, 0xc(%rsp)
movl 0x10(%rsp), %edx
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2d2d
jmp 0x2d99
movl 0x8(%rsp), %eax
cmpl 0x24(%rsp), %eax
jge 0x2ddb
movq 0x30(%rsp), %rdi
movslq 0x8(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0xc(%rsp), %edx
callq 0x1c60
movl %eax, 0xc(%rsp)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2d99
jmp 0x2ddd
movl 0x8(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x2e1f
movq 0x30(%rsp), %rdi
movslq 0x8(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x18(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0xc(%rsp), %edx
callq 0x1c60
movl %eax, 0xc(%rsp)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2ddd
cmpl $0x0, 0xc(%rsp)
je 0x2e42
movl 0xc(%rsp), %edx
movq 0x30(%rsp), %rax
movl 0x8(%rsp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x8(%rsp)
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movq 0x30(%rsp), %rdi
movl 0x8(%rsp), %esi
callq 0x2640
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/983[P]bigint/bigint.c
// Function: bigint_raw_sub
int bigint_raw_sub(
    bigint_word *dst,
    const bigint_word *src_a, int na,
    const bigint_word *src_b, int nb
){
    bigint_word dif, carry = 0;
    int i;
    BIGINT_ASSERT(na, >=, nb);
    BIGINT_ASSERT(bigint_raw_cmp_abs(src_a, na, src_b, nb), >=, 0);

    for (i = 0; i < nb; i++){
        carry  = bigint_word_sub_get_carry(&dif, src_a[i], carry);
        carry += bigint_word_sub_get_carry(&dif, dif, src_b[i]);
        dst[i] = dif;
    }

    for (; i < na; i++){
        carry = bigint_word_sub_get_carry(&dst[i], src_a[i], carry);
    }

    BIGINT_ASSERT(carry, ==, 0);
    return bigint_raw_truncate(dst, i);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movl %edx, 0x24(%rsp)
movq %rcx, 0x18(%rsp)
movl %r8d, 0x14(%rsp)
movl $0x0, 0xc(%rsp)
movl 0x24(%rsp), %eax
cmpl 0x14(%rsp), %eax
jl 0x2e90
jmp 0x2eaf
leaq 0x35f0(%rip), %rdi      # 0x6487
leaq 0x3485(%rip), %rsi      # 0x6323
movl $0x18a, %edx            # imm = 0x18A
leaq 0x35ea(%rip), %rcx      # 0x6494
callq 0x1070
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
movq 0x18(%rsp), %rdx
movl 0x14(%rsp), %ecx
callq 0x21d0
cmpl $0x0, %eax
jl 0x2ecd
jmp 0x2eec
leaq 0x3616(%rip), %rdi      # 0x64ea
leaq 0x3448(%rip), %rsi      # 0x6323
movl $0x18b, %edx            # imm = 0x18B
leaq 0x35ad(%rip), %rcx      # 0x6494
callq 0x1070
movl $0x0, 0x8(%rsp)
movl 0x8(%rsp), %eax
cmpl 0x14(%rsp), %eax
jge 0x2f5e
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0xc(%rsp), %edx
leaq 0x10(%rsp), %rdi
callq 0x1ca0
movl %eax, 0xc(%rsp)
movl 0x10(%rsp), %esi
movq 0x18(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0x10(%rsp), %rdi
callq 0x1ca0
addl 0xc(%rsp), %eax
movl %eax, 0xc(%rsp)
movl 0x10(%rsp), %edx
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2ef4
jmp 0x2f60
movl 0x8(%rsp), %eax
cmpl 0x24(%rsp), %eax
jge 0x2fa2
movq 0x30(%rsp), %rdi
movslq 0x8(%rsp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movl 0xc(%rsp), %edx
callq 0x1ca0
movl %eax, 0xc(%rsp)
movl 0x8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0x2f60
cmpl $0x0, 0xc(%rsp)
jne 0x2fab
jmp 0x2fca
leaq 0x356a(%rip), %rdi      # 0x651c
leaq 0x336a(%rip), %rsi      # 0x6323
movl $0x197, %edx            # imm = 0x197
leaq 0x34cf(%rip), %rcx      # 0x6494
callq 0x1070
movq 0x30(%rsp), %rdi
movl 0x8(%rsp), %esi
callq 0x2640
addq $0x38, %rsp
retq
nopl (%rax)