LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_make_copy
asg_t *asg_make_copy(asg_t *asg)
{
    uint64_t i;
    khint_t k;
    int absent;

    // seg sequence not copied
    asg_t *asg1 = asg_init();
    asg_seg_t *seg, *seg1;
    asg1->m_seg = asg1->n_seg = asg->n_seg;
    MYCALLOC(asg1->seg, asg1->n_seg);
    kh_sdict_t *h_seg = (kh_sdict_t *) asg1->h_seg;
    for (i = 0; i < asg1->n_seg; ++i) {
        seg = &asg->seg[i];
        seg1 = &asg1->seg[i];
        seg1->name = strdup(seg->name);
        seg1->len = seg->len;
        seg1->cov = seg->cov;
        k = kh_sdict_put(h_seg, seg1->name, &absent);
        kh_val(h_seg, k) = i;
    }
    asg_make_asmg_copy(asg->asmg, asg1->asmg);

    return asg1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
callq 0xa73a
movq %rax, %rbx
movq 0x8(%r14), %r15
movq %r15, 0x8(%rax)
movq %r15, (%rax)
movl $0x18, %esi
movq %r15, %rdi
callq 0x3240
movq %rbx, (%rsp)
movq %rax, 0x10(%rbx)
testq %r15, %r15
je 0xaeb8
movq %rax, %r12
movq (%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x8(%rsp)
movl $0x14, %ebx
xorl %ebp, %ebp
movq %r15, %r13
movq %r14, %r15
movq 0x10(%r14), %r14
movq -0x14(%r14,%rbx), %rdi
callq 0x3480
movq %rax, -0x14(%r12,%rbx)
movl -0x4(%r14,%rbx), %ecx
movl %ecx, -0x4(%r12,%rbx)
movl (%r14,%rbx), %ecx
movq %r15, %r14
movq %r13, %r15
movl %ecx, (%r12,%rbx)
movq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rax, %rsi
leaq 0x14(%rsp), %rdx
callq 0xa94f
movq 0x10(%r13), %rcx
movl %eax, %eax
leaq (%rax,%rax,2), %rax
movl %ebp, 0x8(%rcx,%rax,4)
incq %rbp
addq $0x18, %rbx
cmpq %rbp, %r15
jne 0xae58
movq 0x20(%r14), %rdi
movq (%rsp), %rbx
movq 0x20(%rbx), %rsi
callq 0xad23
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_print
void asg_print(asg_t *g, FILE *fo, int no_seq)
{
    uint32_t i, cov;
    uint64_t k;
    asmg_t *asmg = g->asmg;

    fprintf(fo, "H\tVN:Z:1.0\n");
    for (i = 0; i < g->n_seg; ++i) {
        const asg_seg_t *s = &g->seg[i];
        // seg and vtx indices are interchangeable
        if (asmg && asmg->vtx[i].del) continue;
        cov = asmg? asmg->vtx[i].cov : s->cov;
        fprintf(fo, "S\t%s\t", s->name);
        if (s->seq && !no_seq) fputs(s->seq, fo);
        else fputc('*', fo);
        fprintf(fo, "\tLN:i:%u\tKC:i:%lu\tSC:f:%.3f\n", s->len, (uint64_t)s->len*cov, (double)cov);
    }

    if (asmg == 0) return;
    for (k = 0; k < asmg->n_arc; ++k) {
        const asmg_arc_t *a = &asmg->arc[k];
        if (a->del || a->comp) continue;
        fprintf(fo, "L\t%s\t%c\t%s\t%c\t%luM\tEC:i:%u\n", g->seg[a->v>>1].name, "+-"[a->v&1], 
                g->seg[a->w>>1].name, "+-"[a->w&1], a->ls, a->cov);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, 0x4(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %r13
leaq 0xea6f(%rip), %rdi      # 0x19c52
movl $0xb, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3450
cmpq $0x0, 0x8(%r14)
je 0xb2ac
movl $0x1, %r15d
xorl %eax, %eax
leaq (%rax,%rax,2), %r12
shlq $0x3, %r12
addq 0x10(%r14), %r12
testq %r13, %r13
je 0xb233
movq 0x10(%r13), %rcx
leaq (%rax,%rax,4), %rax
movl 0x20(%rcx,%rax,8), %ebp
btl $0x1e, %ebp
jb 0xb29c
andl $0x3fffffff, %ebp       # imm = 0x3FFFFFFF
jmp 0xb238
movl 0x14(%r12), %ebp
movq (%r12), %rdx
movq %rbx, %rdi
leaq 0xea18(%rip), %rsi      # 0x19c5e
xorl %eax, %eax
callq 0x3290
cmpl $0x0, 0x4(%rsp)
jne 0xb268
movq 0x8(%r12), %rdi
testq %rdi, %rdi
je 0xb268
movq %rbx, %rsi
callq 0x31a0
jmp 0xb275
movl $0x2a, %edi
movq %rbx, %rsi
callq 0x3200
movl 0x10(%r12), %edx
movl %ebp, %eax
movq %rdx, %rcx
imulq %rax, %rcx
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movq %rbx, %rdi
leaq 0xe9cf(%rip), %rsi      # 0x19c64
movb $0x1, %al
callq 0x3290
movl %r15d, %eax
incl %r15d
cmpq %rax, 0x8(%r14)
ja 0xb208
testq %r13, %r13
je 0xb343
cmpq $0x0, 0x18(%r13)
je 0xb343
movl $0x20, %r12d
leaq 0xe57f(%rip), %rbp      # 0x1984c
xorl %r15d, %r15d
movq 0x28(%r13), %r10
movl (%r10,%r12), %r11d
cmpl $0x3fffffff, %r11d      # imm = 0x3FFFFFFF
ja 0xb336
movq 0x10(%r14), %rax
movq -0x20(%r10,%r12), %rcx
movq -0x18(%r10,%r12), %rsi
movq %rcx, %rdx
shrq %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rax,%rdx,8), %rdx
andl $0x1, %ecx
movsbl (%rcx,%rbp), %ecx
movq %rsi, %rdi
shrq %rdi
leaq (%rdi,%rdi,2), %rdi
movq (%rax,%rdi,8), %r8
andl $0x1, %esi
movsbl (%rsi,%rbp), %r9d
movq %rbx, %rdi
leaq 0xe95d(%rip), %rsi      # 0x19c81
xorl %eax, %eax
pushq %r11
pushq -0x8(%r10,%r12)
callq 0x3290
addq $0x10, %rsp
incq %r15
addq $0x30, %r12
cmpq 0x18(%r13), %r15
jb 0xb2d0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: sequence_covered_by_path
double sequence_covered_by_path(asg_t *asg, path_t *path, uint32_t len)
{
    uint32_t i, n, l, *v;
    uint8_t *flag;
    MYCALLOC(flag, asg->n_seg);
    v = path->v;
    l = 0;
    for (i = 0, n = path->nv; i < n; ++i) {
        if (!flag[v[i]>>1]) {
            l += asg->seg[v[i]>>1].len;
            flag[v[i]>>1] = 1;
        }
    }
    free(flag);
    return (double) l / len;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movl $0x1, %esi
callq 0x3240
movl 0x8(%r15), %ecx
andq $0x3fffffff, %rcx       # imm = 0x3FFFFFFF
je 0xb618
movq 0x10(%r15), %rdx
xorl %esi, %esi
xorl %edi, %edi
movl (%rdx,%rsi,4), %r8d
shrl %r8d
cmpb $0x0, (%rax,%r8)
jne 0xb607
movq 0x10(%r14), %r9
leaq (%r8,%r8,2), %r10
addl 0x10(%r9,%r10,8), %edi
movb $0x1, (%rax,%r8)
incq %rsi
cmpq %rsi, %rcx
jne 0xb5e7
movl %edi, %ecx
cvtsi2sd %rcx, %xmm0
jmp 0xb61c
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rax, %rdi
callq 0x3060
movl %ebx, %eax
cvtsi2sd %rax, %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: is_valid_gfa_tag
int is_valid_gfa_tag(const char *tag)
{
    int is_valid = 0;
    if (strlen(tag) != 4)
        return is_valid;
    is_valid = isalpha(tag[0]) && 
        (isalpha(tag[1]) || isdigit(tag[1])) && 
        (tag[2] == ':') &&
        (tag[3] == 'A' || tag[3] == 'i' || tag[3] == 'f' || tag[3] == 'Z' || tag[3] == 'B');
    return is_valid;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x3130
xorl %ebx, %ebx
cmpq $0x4, %rax
jne 0xb6a1
callq 0x34d0
movq (%rax), %rax
movsbq (%r14), %rcx
testb $0x4, 0x1(%rax,%rcx,2)
je 0xb6a1
movsbq 0x1(%r14), %rcx
testb $0xc, 0x1(%rax,%rcx,2)
je 0xb6a1
cmpb $0x3a, 0x2(%r14)
jne 0xb6a1
movzbl 0x3(%r14), %eax
leal -0x41(%rax), %ecx
cmpl $0x28, %ecx
ja 0xb6ab
movl $0x1, %ebx
movabsq $0x12002000001, %rdx    # imm = 0x12002000001
btq %rcx, %rdx
jae 0xb6ab
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %ebx, %ebx
cmpb $0x42, %al
sete %bl
jmp 0xb6a1
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_update_seg_seq
static void asg_update_seg_seq(asg_seg_t *seg, uint32_t l, char *s)
{
    if (seg->seq) free(seg->seq);
    MYMALLOC(seg->seq, l+1);
    memcpy(seg->seq, s, l);
    seg->seq[l] = 0;
    seg->len = l;
    seg->cov = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0xc5fa
callq 0x3060
leal 0x1(%r14), %edi
callq 0x32f0
movq %rax, %r12
movq %rax, 0x8(%rbx)
movl %r14d, %r13d
movq %rax, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x32c0
movb $0x0, (%r12,%r13)
movl %r14d, 0x10(%rbx)
movl $0x0, 0x14(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_parse_fa_hdr
static int asg_parse_fa_hdr(asg_t *g, char *s, asg_seg_t **seg)
{
    uint64_t i;
    char *c = s;
    while (*c != 0 && !isspace(*c))
        ++c;
    *c = 0;
    if (c - s == 1) // empty
        return PARSE_A_ERR;
    i = asg_add_seg(g, s + 1, 0);
    *seg = &g->seg[i];
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movb (%rsi), %bpl
movq %rsi, %rax
testb %bpl, %bpl
je 0xc672
callq 0x34d0
movq (%rax), %rcx
movq %r15, %rax
movsbq %bpl, %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0xc672
movb 0x1(%rax), %bpl
incq %rax
testb %bpl, %bpl
jne 0xc65b
movb $0x0, (%rax)
subq %r15, %rax
cmpq $0x1, %rax
je 0xc69f
incq %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xa82f
movl %eax, %eax
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
addq 0x10(%r14), %rax
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_print_fa
void asg_print_fa(asg_t *g, FILE *fo, int line_wd)
{
    uint64_t i, l;
    for (i = 0; i < g->n_seg; ++i) {
        if (g->asmg && g->asmg->vtx[i].del)
            continue;
        if (g->seg[i].seq == 0)
            fprintf(stderr, "[W::%s] skip empty sequence: %s\n", __func__, g->seg[i].name);
        fprintf(fo, ">%s\n", g->seg[i].name);
        l = 0;
        put_chars(g->seg[i].seq, g->seg[i].len, 0, 0, fo, &l, line_wd);
        if (l % line_wd != 0) fputc('\n', fo);
    }
}

// Assembly:
cmpq $0x0, 0x8(%rdi)
je 0xc78a
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movslq %edx, %r13
movl $0x20, %ebp
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x20(%r14), %rax
testq %rax, %rax
je 0xc6eb
movq 0x10(%rax), %rax
testb $0x40, 0x3(%rax,%rbp)
jne 0xc758
movq 0x10(%r14), %rdi
cmpq $0x0, 0x8(%rdi,%r15)
je 0xc76f
movq 0x10(%r14), %rax
movq (%rax,%r15), %rdx
movq %rbx, %rdi
leaq 0xd5c2(%rip), %rsi      # 0x19ccb
xorl %eax, %eax
callq 0x3290
movq $0x0, 0x10(%rsp)
movq 0x10(%r14), %rax
movq 0x8(%rax,%r15), %rdi
movl 0x10(%rax,%r15), %esi
movl %r13d, (%rsp)
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r8
leaq 0x10(%rsp), %r9
callq 0xa12e
movq 0x10(%rsp), %rax
xorl %edx, %edx
divq %r13
testq %rdx, %rdx
je 0xc758
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3200
incq %r12
addq $0x18, %r15
addq $0x28, %rbp
cmpq 0x8(%r14), %r12
jb 0xc6d7
jmp 0xc77c
addq %r15, %rdi
callq 0x391e
jmp 0xc6f7
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: og_component_v_destroy
void og_component_v_destroy(og_component_v *component_v)
{
    if (!component_v) return;
    size_t i;
    for (i = 0; i < component_v->n; ++i)
        og_component_destroy(&component_v->a[i]);
    if (component_v->a)
        free(component_v->a);
    free(component_v);
}

// Assembly:
testq %rdi, %rdi
je 0xc808
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0xc7ed
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x10(%rbx), %rdi
addq %r14, %rdi
callq 0xc78b
incq %r15
addq $0x40, %r14
cmpq (%rbx), %r15
jb 0xc7d5
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xc7fb
callq 0x3060
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3060
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: asg_vtx_name_list
char **asg_vtx_name_list(asg_t *g, uint64_t *_n)
{
    if (_n) *_n = 0;
    uint64_t i, n = 0;
    uint64_t *vlist = asmg_vtx_list(g->asmg, &n);
    char **names = 0;
    if (n) {
        MYMALLOC(names, n);
        for (i = 0; i < n; ++i)
            names[i] = g->seg[vlist[i]].name;
    }
    free(vlist);
    if (_n) *_n = n;
    return names;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r12
testq %rsi, %rsi
je 0x1079f
movq $0x0, (%rbx)
leaq 0x8(%rsp), %r15
movq $0x0, (%r15)
movq 0x20(%r12), %rdi
movq %r15, %rsi
callq 0x11fa3
movq %rax, %r14
movq (%r15), %r13
testq %r13, %r13
je 0x107f4
leaq (,%r13,8), %rdi
callq 0x32f0
movq %rax, %r15
movq 0x10(%r12), %rax
xorl %ecx, %ecx
movq (%r14,%rcx,8), %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rax,%rdx,8), %rdx
movq %rdx, (%r15,%rcx,8)
incq %rcx
cmpq %rcx, %r13
jne 0x107da
jmp 0x107f7
xorl %r15d, %r15d
movq %r14, %rdi
callq 0x3060
testq %rbx, %rbx
je 0x1080c
movq 0x8(%rsp), %rax
movq %rax, (%rbx)
movq %r15, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/./graph.h
// Function: asmg_arc_add2
static inline void asmg_arc_add2(asmg_t *g, uint64_t v, uint64_t w, uint64_t ln, uint64_t ls, uint64_t link_id, uint32_t cov, uint32_t comp)
{
    // add both arc and its comp
    asmg_arc_add(g, v, w, ln, ls, link_id, cov, comp);
    if (v != (w^1) || w != (v^1))
        asmg_arc_add(g, w^1, v^1, ln, ls, link_id, cov, comp^1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %r13d
movq %r8, %r15
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbp
movl 0x40(%rsp), %edi
movq 0x20(%rbp), %rax
cmpq %rax, 0x18(%rbp)
jne 0x108b2
movq %rax, %rdx
shrq %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x2, %rax
orq %rdx, %rax
movq %rax, %rdx
shrq $0x4, %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x8, %rax
orq %rdx, %rax
movq %rax, %rdx
shrq $0x10, %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x20, %rax
orq %rdx, %rax
incq %rax
movq %rax, 0x20(%rbp)
movq 0x28(%rbp), %rdi
shlq $0x4, %rax
leaq (%rax,%rax,2), %rsi
callq 0x3330
movl 0x40(%rsp), %edi
movq %rax, 0x28(%rbp)
movq 0x18(%rbp), %rax
movq 0x28(%rbp), %rsi
leaq 0x1(%rax), %rdx
movq %rdx, 0x18(%rbp)
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
movq %r14, (%rsi,%rax)
movq %r12, 0x8(%rsi,%rax)
movq %rbx, 0x10(%rsi,%rax)
movq %r15, 0x18(%rsi,%rax)
movq $-0x1, 0x28(%rsi,%rax)
andl $0x3fffffff, %r13d      # imm = 0x3FFFFFFF
movl %edi, %edx
shll $0x1f, %edx
orl %r13d, %edx
movl %edx, 0x20(%rsi,%rax)
xorq $0x1, %r12
cmpq %r14, %r12
je 0x109b3
xorq $0x1, %r14
notl %edi
movq 0x20(%rbp), %rax
cmpq %rax, 0x18(%rbp)
jne 0x10975
movq %rax, %rdx
shrq %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x2, %rax
orq %rdx, %rax
movq %rax, %rdx
shrq $0x4, %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x8, %rax
orq %rdx, %rax
movq %rax, %rdx
shrq $0x10, %rdx
orq %rax, %rdx
movq %rdx, %rax
shrq $0x20, %rax
orq %rdx, %rax
incq %rax
movq %rax, 0x20(%rbp)
movl %edi, 0x4(%rsp)
movq 0x28(%rbp), %rdi
shlq $0x4, %rax
leaq (%rax,%rax,2), %rsi
callq 0x3330
movl 0x4(%rsp), %edi
movq %rax, 0x28(%rbp)
movq 0x18(%rbp), %rax
movq 0x28(%rbp), %rsi
leaq 0x1(%rax), %rdx
movq %rdx, 0x18(%rbp)
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
movq %r12, (%rsi,%rax)
movq %r14, 0x8(%rsi,%rax)
movq %rbx, 0x10(%rsi,%rax)
movq %r15, 0x18(%rsi,%rax)
movq $-0x1, 0x28(%rsi,%rax)
shll $0x1f, %edi
orl %r13d, %edi
movl %edi, 0x20(%rsi,%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: kdq_pushp_llnodep
KDQ_INIT(llnodep)

static int path_contain_vertex(llnode *node, uint32_t v)
{
    int contained = 0;
    while (node != NULL) {
        if ((node->v >> 1) == (v >> 1)) {
            contained = 1;
            break;
        }
        node = node->prev;
    }

    return contained;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movabsq $0x3ffffffffffffff, %r14 # imm = 0x3FFFFFFFFFFFFFF
movq (%rdi), %rax
movq 0x8(%rdi), %rdx
shrq $0x3a, %rax
movl $0x1, %r13d
movl $0x1, %r12d
movl %eax, %ecx
shlq %cl, %r12
cmpq %r12, %rdx
jne 0x10b04
leal 0x1(%rax), %r15d
movl %r15d, %ecx
shlq %cl, %r13
cmpq %rdx, %r13
jae 0x10a36
movq $-0x1, %r15
incq %r15
movq %rdx, %rsi
movl %r15d, %ecx
shrq %cl, %rsi
cmpq $0x3f, %r15
ja 0x10a2a
testq %rsi, %rsi
jne 0x10a13
movl $0x1, %r13d
movl %r15d, %ecx
shlq %cl, %r13
cmpl %eax, %r15d
je 0x10b04
jle 0x10a5d
movq 0x18(%rbx), %rsi
movq 0x20(%rbx), %rdi
movl $0x8, %edx
movl %r15d, %ecx
shlq %cl, %rdx
callq 0x17438
movq %rax, 0x18(%rbx)
movq (%rbx), %rax
andq %r14, %rax
movq 0x8(%rbx), %rdx
addq %rax, %rdx
cmpq %r12, %rdx
jbe 0x10ab1
movq 0x18(%rbx), %rcx
movq %r12, %rdx
subq %rax, %rdx
movq %r13, %rsi
subq %rdx, %rsi
leaq (%rcx,%rsi,8), %rdi
leaq (%rcx,%rax,8), %rsi
shlq $0x3, %rdx
callq 0x3340
movq (%rbx), %rax
subq %r12, %r13
addq %rax, %r13
andq %r14, %r13
movabsq $-0x400000000000000, %rcx # imm = 0xFC00000000000000
andq %rax, %rcx
orq %r13, %rcx
movq %rcx, (%rbx)
jmp 0x10ac7
subq %r13, %rdx
jbe 0x10ac7
movq 0x18(%rbx), %rdi
leaq (%rdi,%r13,8), %rsi
shlq $0x3, %rdx
callq 0x3340
movq %r15, %rax
shlq $0x3a, %rax
movq (%rbx), %rdx
andq %r14, %rdx
orq %rax, %rdx
movq $-0x1, %rax
movl %r15d, %ecx
shlq %cl, %rax
movq %rdx, (%rbx)
notq %rax
movq %rax, 0x10(%rbx)
testl %r15d, %r15d
jns 0x10b04
movq 0x18(%rbx), %rsi
movq 0x20(%rbx), %rdi
callq 0x17438
movq %rax, 0x18(%rbx)
movq 0x8(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rbx)
andq (%rbx), %r14
addq %rax, %r14
andq 0x10(%rbx), %r14
shlq $0x3, %r14
addq 0x18(%rbx), %r14
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: gfa_aux_get
static uint8_t *gfa_aux_get(int l_data, const uint8_t *data, const char tag[2])
{
    const uint8_t *s = data;
    int y = tag[0]<<8 | tag[1];
    while (s < data + l_data) {
        int x = (int)s[0]<<8 | s[1];
        s += 2;
        if (x == y) return (uint8_t*)s;
        __skip_tag(s);
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movsbl (%rdx), %eax
shll $0x8, %eax
movsbl 0x1(%rdx), %ecx
orl %eax, %ecx
movslq %edi, %rdx
addq %rsi, %rdx
movabsq $0x120000001, %rdi      # imm = 0x120000001
movabsq $0x400000005, %r8       # imm = 0x400000005
cmpq %rdx, %rsi
jae 0x116c6
movzwl (%rsi), %r9d
rolw $0x8, %r9w
movzwl %r9w, %r9d
cmpl %ecx, %r9d
jne 0x115f6
addq $0x2, %rsi
movq %rsi, %r10
movq %rsi, %rax
jmp 0x1168d
movzbl 0x2(%rsi), %r11d
leaq 0x3(%rsi), %r10
movl $0x1, %ebx
cmpl $0x42, %r11d
jle 0x11628
cmpl $0x43, %r11d
je 0x1168a
cmpl $0x63, %r11d
je 0x1168a
cmpl $0x5a, %r11d
jne 0x11661
cmpb $0x0, (%r10)
leaq 0x1(%r10), %r10
jne 0x1161c
jmp 0x1168d
cmpl $0x41, %r11d
je 0x1168a
cmpl $0x42, %r11d
jne 0x11661
movzbl (%r10), %r11d
leal -0x41(%r11), %r14d
cmpl $0x22, %r14d
ja 0x1169b
movl $0x1, %ebx
btq %r14, %r8
jae 0x1169b
movslq 0x4(%rsi), %rsi
movl %ebx, %r11d
imulq %rsi, %r11
addq %r11, %r10
addq $0x5, %r10
jmp 0x1168d
movl %r11d, %esi
andb $-0x21, %sil
movl $0x2, %ebx
cmpb $0x53, %sil
je 0x1168a
addl $-0x49, %r11d
cmpl $0x20, %r11d
ja 0x11688
movl $0x8, %ebx
btq %r11, %rdi
jb 0x1168a
xorl %ebx, %ebx
addq %rbx, %r10
movq %r10, %rsi
cmpl %ecx, %r9d
jne 0x115cc
jmp 0x116c8
movl %r11d, %ebp
andb $-0x21, %bpl
movl $0x2, %ebx
cmpb $0x53, %bpl
je 0x1164d
addl $-0x49, %r11d
cmpl $0x20, %r11d
ja 0x116c2
movl $0x8, %ebx
btq %r11, %rdi
jb 0x1164d
xorl %ebx, %ebx
jmp 0x1164d
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/c-zhou[P]oatk/path.c
// Function: gfa_aux_decimal_value
static double gfa_aux_decimal_value(uint8_t *aux)
{
    double val = .0;
    if (*aux == 'c') val = aux_decimal_val(int8_t, aux + 1);
    else if (*aux == 'C') val = aux_decimal_val(uint8_t, aux + 1);
    else if (*aux == 's') val = aux_decimal_val(int16_t, aux + 1);
    else if (*aux == 'S') val = aux_decimal_val(uint16_t, aux + 1);
    else if (*aux == 'i') val = aux_decimal_val(int64_t, aux + 1);
    else if (*aux == 'I') val = aux_decimal_val(uint64_t, aux + 1);
    else if (*aux == 'f') val = aux_decimal_val(double, aux + 1);
    return val;
}

// Assembly:
movzbl (%rdi), %eax
xorpd %xmm0, %xmm0
cmpl $0x62, %eax
jle 0x116ee
cmpl $0x68, %eax
jg 0x11703
cmpl $0x63, %eax
je 0x11719
cmpl $0x66, %eax
jne 0x1172e
movsd 0x1(%rdi), %xmm0
retq
cmpl $0x43, %eax
je 0x11713
cmpl $0x49, %eax
je 0x1172f
cmpl $0x53, %eax
jne 0x1172e
movzwl 0x1(%rdi), %eax
jmp 0x1171d
cmpl $0x69, %eax
je 0x11725
cmpl $0x73, %eax
jne 0x1172e
movswl 0x1(%rdi), %eax
jmp 0x1171d
movzbl 0x1(%rdi), %eax
jmp 0x1171d
movsbl 0x1(%rdi), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
retq
xorps %xmm0, %xmm0
cvtsi2sdq 0x1(%rdi), %xmm0
retq
movsd 0x1(%rdi), %xmm1
unpcklps 0x7e55(%rip), %xmm1     # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x7e5d(%rip), %xmm1     # 0x195a0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/key.c
// Function: dump_buf
static void
dump_buf(char *msg, uint8_t *buf, size_t buf_len)
{
	fprintf(stderr, "dump_buf: %s\n",msg);
	uint i;
	for (i=0;i<buf_len;i++) {
		if (i % 16 == 8)
			fprintf(stderr, " : ");
		if (i && (i % 16 == 0))
			fprintf(stderr, "\n");
		fprintf(stderr, "%02x ",buf[i]);
	}
	fprintf(stderr, "\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rdx
movq 0x17680(%rip), %r12     # 0x19fe0
movq (%r12), %rdi
leaq 0x1058c(%rip), %rsi     # 0x12ef7
xorl %eax, %eax
callq 0x2390
testq %rbx, %rbx
je 0x29dd
xorl %ebp, %ebp
xorl %r13d, %r13d
movl %r13d, %r15d
andl $0xf, %r15d
cmpl $0x8, %r15d
jne 0x299f
movq (%r12), %rcx
leaq 0x10571(%rip), %rdi     # 0x12f05
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
callq 0x2550
testl %r13d, %r13d
sete %al
testl %r15d, %r15d
setne %cl
orb %al, %cl
jne 0x29bb
movq (%r12), %rsi
pushq $0xa
popq %rdi
callq 0x22e0
movq (%r12), %rdi
movzbl (%r14,%rbp), %edx
leaq 0x1053e(%rip), %rsi     # 0x12f09
xorl %eax, %eax
callq 0x2390
incl %r13d
cmpq %rbx, %r13
movq %r13, %rbp
jb 0x297c
movq (%r12), %rsi
pushq $0xa
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22e0
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: atomic_int_create
atomic_int	*
atomic_int_create(uint32_t val)
{
	atomic_int *ai = malloc(sizeof(atomic_int));
	ai->val = val;
	pthread_mutex_init(&ai->lock,0);
	return(ai);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
movl $0x30, %edi
callq 0x22f0
movq %rax, %r14
movl %ebx, (%rax)
leaq 0x8(%rax), %rdi
xorl %esi, %esi
callq 0x2410
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: atomic_int_add
uint32_t
atomic_int_add(atomic_int *ai, uint32_t val)
{
	uint32_t	rv;
	pthread_mutex_lock(&ai->lock);
	ai->val += val;
	rv = ai->val;
	pthread_mutex_unlock(&ai->lock);
	return(rv);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
movq %r15, %rdi
callq 0x23c0
addl (%r14), %ebx
movl %ebx, (%r14)
movq %r15, %rdi
callq 0x2160
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: atomic_int_get
uint32_t		
atomic_int_get(atomic_int *ai)
{
	uint32_t	val;
	pthread_mutex_lock(&ai->lock);
	val = ai->val;
	pthread_mutex_unlock(&ai->lock);
	return(val);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x23c0
movl (%rbx), %ebx
movq %r14, %rdi
callq 0x2160
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: counter_fn
void *
counter_fn(void *arg)
{
	counter_thread_control *ctc = (counter_thread_control *) arg;
	
	uint64_t last_t = 0;
	
	while (ctc->death == 0) {
		
		sleep(1);
		
		int keys = atomic_int_get(ctc->keys);
		int tps = keys - last_t;
		last_t = keys;
		
		if ((ctc->gen_errs == 0) || (atomic_int_get(ctc->gen_errs) == 0) ) 
			fprintf(stderr, "%s: %d (tps %d)\n",ctc->msg,keys,tps);
		else
			fprintf(stderr, "%s: %d (tps %d) gen-errs %d\n",ctc->msg,keys,tps,atomic_int_get(ctc->gen_errs));
	}
	return(0);
}

// Assembly:
cmpl $0x0, 0x18(%rdi)
jne 0x314c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
xorl %ebp, %ebp
movl %ebp, %r15d
movl $0x1, %edi
callq 0x2150
movq 0x8(%rbx), %r13
leaq 0x8(%r13), %r12
movq %r12, %rdi
callq 0x23c0
movl (%r13), %ebp
movq %r12, %rdi
callq 0x2160
movl %ebp, %r12d
subl %r15d, %r12d
movq 0x10(%rbx), %r15
testq %r15, %r15
je 0x3102
leaq 0x8(%r15), %r13
movq %r13, %rdi
callq 0x23c0
movl (%r15), %r15d
movq %r13, %rdi
callq 0x2160
testl %r15d, %r15d
jne 0x3124
movq 0x16ed7(%rip), %rax     # 0x19fe0
movq (%rax), %rdi
movq (%rbx), %rdx
leaq 0xf036(%rip), %rsi      # 0x1214c
movl %ebp, %ecx
movl %r12d, %r8d
xorl %eax, %eax
callq 0x2390
jmp 0x3134
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %r12d, %ecx
callq 0x287d
cmpl $0x0, 0x18(%rbx)
je 0x30ae
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: start_counter_thread
void *
start_counter_thread(char *msg, atomic_int *keys, atomic_int *gen_errs)
{
	counter_thread_control *ctc = (counter_thread_control *) malloc(sizeof(counter_thread_control));
	ctc->keys = keys;
	ctc->gen_errs = gen_errs;
	ctc->msg = strdup(msg);

	ctc->death = 0;
	pthread_create(&ctc->th, 0, counter_fn, ctc);
	return(ctc);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0x28, %edi
callq 0x22f0
movq %rax, %r12
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %r15, %rdi
callq 0x2500
movq %rax, (%r12)
movl $0x0, 0x18(%r12)
leaq 0x20(%r12), %rdi
leaq -0x106(%rip), %rdx      # 0x3090
xorl %esi, %esi
movq %r12, %rcx
callq 0x24f0
movq %r12, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/main.c
// Function: rand_64
uint64_t
rand_64()
{
	pthread_mutex_lock(&rand_buf_lock);
	if (rand_buf_off < sizeof(uint64_t) ) {
		if (seeded == 0) {
			int rfd = open("/dev/urandom",	O_RDONLY);
			int rsz = read(rfd, rand_buf, SEED_SZ);
			if (rsz < SEED_SZ) {
				fprintf(stderr, "warning! can't seed random number generator");
				return(0);
			}
			close(rfd);
			RAND_seed(rand_buf, rsz);
			seeded = 1;
		}
		if (1 != RAND_bytes(rand_buf, sizeof(rand_buf))) {
			fprintf(stderr, "RAND_bytes not so happy.\n");
			pthread_mutex_unlock(&rand_buf_lock);
			return(0);
		}
		rand_buf_off = sizeof(rand_buf);
	}
	
	rand_buf_off -= sizeof(uint64_t);
	uint64_t r = *(uint64_t *) (&rand_buf[rand_buf_off]);
	pthread_mutex_unlock(&rand_buf_lock);
	return(r);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
leaq 0x17128(%rip), %rdi     # 0x1a300
callq 0x23c0
cmpl $0x7, 0x17144(%rip)     # 0x1a328
ja 0x325d
cmpb $0x0, 0x1713f(%rip)     # 0x1a32c
jne 0x323d
leaq 0xef84(%rip), %rdi      # 0x1217a
xorl %esi, %esi
xorl %eax, %eax
callq 0x24c0
movl %eax, %ebp
leaq 0x17128(%rip), %rsi     # 0x1a330
movl $0x40, %edx
movl %eax, %edi
callq 0x23a0
movq %rax, %rbx
cmpl $0x3f, %ebx
jle 0x329a
movl %ebp, %edi
callq 0x2560
leaq 0x17106(%rip), %rdi     # 0x1a330
movl %ebx, %esi
callq 0x24b0
movb $0x1, 0x170f4(%rip)     # 0x1a32c
cmpl $0x40, %ebx
jl 0x328d
leaq 0x170ec(%rip), %rdi     # 0x1a330
movl $0x2000, %esi           # imm = 0x2000
callq 0x23e0
cmpl $0x1, %eax
jne 0x3291
movl $0x2000, 0x170cb(%rip)  # imm = 0x2000
movl 0x170c5(%rip), %eax     # 0x1a328
addl $-0x8, %eax
movl %eax, 0x170bc(%rip)     # 0x1a328
leaq 0x170bd(%rip), %rcx     # 0x1a330
movq (%rax,%rcx), %rbx
leaq 0x17082(%rip), %rdi     # 0x1a300
callq 0x2160
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
xorl %ebx, %ebx
jmp 0x3283
callq 0x28fa
xorl %ebx, %ebx
jmp 0x3277
callq 0x28de
jmp 0x3238
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/histogram.c
// Function: histogram_create
histogram* histogram_create() {
	histogram* h = malloc(sizeof(histogram));

	if (h) {
		h->n_counts = 0;
		memset(&h->count, 0, sizeof(h->count));
	}

	return (h);
}

// Assembly:
pushq %rbx
movl $0x208, %edi            # imm = 0x208
callq 0x22f0
movq %rax, %rbx
testq %rax, %rax
je 0x5c99
movq $0x0, (%rbx)
movq %rbx, %rdi
addq $0x8, %rdi
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x2120
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/histogram.c
// Function: histogram_dump
void histogram_dump(histogram* h, const char* p_tag) {
	char printbuf[100];
	int pos = 0; // location to print from
	printbuf[0] = '\0';

	fprintf(stdout, "%s (%zu total)\n", p_tag, h->n_counts);

	int i, j;
	int k = 0;

	for (j = N_COUNTS-1 ; j >= 0 ; j--) {
		if (h->count[j]) break;
	}

	for (i = 0; i < N_COUNTS; i++) {
		if (h->count[i]) break;
	}

	for (; i <= j; i++) {
		if (h->count[i] > 0) { // print only non zero columns
			int bytes = sprintf(
				(char*)(printbuf + pos), " (%02d: %010zu) ", i, h->count[i]);

			if (bytes <= 0) {
				fprintf(stdout, "ERROR: printing histogram\n");
				return;
			}

			pos += bytes;

		    if (k % 4 == 3) {
		    	 fprintf(stdout, "%s\n", (char*)printbuf);
		    	 pos = 0;
		    	 printbuf[0] = '\0';
		    }

		    k++;
		}
	}

	if (pos > 0) {
	    fprintf(stdout, "%s\n", (char*)printbuf);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movb $0x0, (%rsp)
movq 0x14303(%rip), %rax     # 0x19fc0
movq (%rax), %rdi
movq (%rbx), %rcx
leaq 0xd346(%rip), %rsi      # 0x13010
xorl %eax, %eax
callq 0x2390
movl $0x3f, %ebp
movl %ebp, %eax
cmpq $0x0, 0x8(%rbx,%rax,8)
jne 0x5cea
addl $-0x1, %ebp
jb 0x5cd6
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpq $0x0, 0x8(%rbx,%rax,8)
jne 0x5d02
incq %rax
cmpq $0x40, %rax
jne 0x5cec
movl $0x40, %eax
cmpl %ebp, %eax
jg 0x5dcf
movl %eax, %r14d
incl %ebp
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpq $0x0, 0x8(%rbx,%r14,8)
je 0x5da3
movl %r15d, %eax
leaq (%rsp,%rax), %rdi
movq 0x8(%rbx,%r14,8), %rcx
leaq 0xd2ec(%rip), %rsi      # 0x13020
movl %r14d, %edx
xorl %eax, %eax
callq 0x2070
movl %eax, %r12d
testl %eax, %eax
jle 0x5d76
movl %r13d, %eax
andl $0x80000003, %eax       # imm = 0x80000003
cmpl $0x3, %eax
jne 0x5d98
movq 0x14267(%rip), %rax     # 0x19fc0
movq (%rax), %rdi
xorl %r15d, %r15d
leaq 0xcd72(%rip), %rsi      # 0x12ad8
movq %rsp, %rdx
xorl %eax, %eax
callq 0x2390
movb $0x0, (%rsp)
jmp 0x5d9b
movq 0x14243(%rip), %rax     # 0x19fc0
movq (%rax), %rcx
movl $0x1a, %esi
movl $0x1, %edx
leaq 0xd2a0(%rip), %rdi      # 0x13031
callq 0x2550
jmp 0x5d9e
addl %r12d, %r15d
incl %r13d
testl %r12d, %r12d
jle 0x5dcf
incq %r14
cmpq %r14, %rbp
jne 0x5d15
testl %r15d, %r15d
jle 0x5dcf
movq 0x14205(%rip), %rax     # 0x19fc0
movq (%rax), %rdi
leaq 0xcd13(%rip), %rsi      # 0x12ad8
movq %rsp, %rdx
xorl %eax, %eax
callq 0x2390
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/tests/key_c/src/../../../include/citrusleaf/cf_atomic.h
// Function: histogram_insert_data_point
static inline int64_t
cf_atomic64_add(cf_atomic64 *a, int64_t b)
{
	int64_t i = b;

#ifndef CF_WINDOWS
	__asm__ __volatile__ ("lock; xaddq %0, %1" : "+r" (b), "+m" (*a) : : "memory");
#else
	b = _InterlockedExchangeAdd64((LONGLONG *)a, b);
#endif

	return(b + i);
}

// Assembly:
movl $0x1, %eax
lock
xaddq %rax, (%rdi)
movq %rsi, %rax
shrq $0x20, %rax
jne 0x5e13
cmpq $0x10000, %rsi          # imm = 0x10000
jae 0x5e35
cmpq $0x100, %rsi            # imm = 0x100
jae 0x5e6e
leaq 0xd106(%rip), %rax      # 0x12f10
movsbl (%rsi,%rax), %eax
jmp 0x5eba
movq %rsi, %rcx
shrq $0x30, %rcx
jne 0x5e55
movq %rsi, %rcx
shrq $0x28, %rcx
jne 0x5e85
leaq 0xd0e4(%rip), %rcx      # 0x12f10
movsbl (%rax,%rcx), %eax
jmp 0x5eb7
movq %rsi, %rax
cmpq $0x1000000, %rsi        # imm = 0x1000000
jae 0x5e95
shrq $0x10, %rax
leaq 0xd0c4(%rip), %rcx      # 0x12f10
movsbl (%rax,%rcx), %eax
addl $0x10, %eax
jmp 0x5eba
movq %rsi, %rax
shrq $0x38, %rax
jne 0x5ea9
leaq 0xd0ab(%rip), %rax      # 0x12f10
movsbl (%rcx,%rax), %eax
addl $0x10, %eax
jmp 0x5eb7
movq %rsi, %rax
shrq $0x8, %rax
leaq 0xd094(%rip), %rcx      # 0x12f10
movsbl (%rax,%rcx), %eax
addl $0x8, %eax
jmp 0x5eba
leaq 0xd084(%rip), %rax      # 0x12f10
movsbl (%rcx,%rax), %eax
addl $0x8, %eax
jmp 0x5eb7
shrq $0x18, %rax
leaq 0xd070(%rip), %rcx      # 0x12f10
movsbl (%rax,%rcx), %eax
addl $0x18, %eax
jmp 0x5eba
leaq 0xd060(%rip), %rcx      # 0x12f10
movsbl (%rax,%rcx), %eax
addl $0x18, %eax
addl $0x20, %eax
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
testq %rsi, %rsi
cmovnsq %rax, %rcx
movl $0x1, %eax
lock
xaddq %rax, 0x8(%rdi,%rcx,8)
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/src/cf_shash.c
// Function: shash_get_size
uint32_t
shash_get_size(shash *h)
{

    uint32_t elements = 0;
	
	if (h->flags & SHASH_CR_MT_MANYLOCK) {


        
        for (unsigned int i=0; i<h->table_len ; i++) {
            
            pthread_mutex_t *l = &(h->lock_table[i]);
            pthread_mutex_lock( l );
            
            shash_elem *list_he = (shash_elem *) ( ((uint8_t *)h->table) + (SHASH_ELEM_SZ(h) * i));
            while (list_he) {
                
                // not in use is common at head pointer - unused bucket
                if (list_he->in_use == false) 
                    break;
                
                elements++;
                
                list_he = list_he->next;
            };
    
            pthread_mutex_unlock(l);
    
        }

    }
    
    else if (h->flags & SHASH_CR_MT_BIGLOCK) {
    	pthread_mutex_lock(&h->biglock);
    	elements = h->elements;
    	pthread_mutex_unlock(&h->biglock);
    }
    else {
    	elements = h->elements;
    }
    
	return(elements);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0xc(%rdi), %eax
testb $0x8, %al
jne 0xf1c0
testb $0x4, %al
jne 0xf21f
movl (%rbx), %ebp
jmp 0xf239
cmpl $0x0, 0x18(%rbx)
je 0xf237
xorl %r15d, %r15d
xorl %ebp, %ebp
leaq (%r15,%r15,4), %r14
shlq $0x3, %r14
addq 0x50(%rbx), %r14
movq %r14, %rdi
callq 0x23c0
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0xf20a
movl 0x4(%rbx), %ecx
movl 0x8(%rbx), %edx
leaq 0x10(%rcx,%rdx), %rcx
imulq %r15, %rcx
addq %rcx, %rax
cmpb $0x0, 0x8(%rax)
je 0xf20a
incl %ebp
movq (%rax), %rax
testq %rax, %rax
jne 0xf1fa
movq %r14, %rdi
callq 0x2160
incq %r15
movl 0x18(%rbx), %eax
cmpq %rax, %r15
jb 0xf1cb
jmp 0xf239
leaq 0x28(%rbx), %r14
movq %r14, %rdi
callq 0x23c0
movl (%rbx), %ebp
movq %r14, %rdi
callq 0x2160
jmp 0xf239
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/src/cf_shash.c
// Function: shash_get
int
shash_get(shash *h, void *key, void *value)
{
	int rv = SHASH_ERR;
	
	unsigned int hash = h->h_fn(key);
	hash %= h->table_len;

	pthread_mutex_t		*l = 0;
	if (h->flags & SHASH_CR_MT_BIGLOCK) {
		l = &h->biglock;
	}
	else if (h->flags & SHASH_CR_MT_MANYLOCK) {
		l = & (h->lock_table[hash]);
	}
	if (l)     pthread_mutex_lock( l );
	
	shash_elem *e = (shash_elem *) ( ((byte *)h->table) + (SHASH_ELEM_SZ(h) * hash));	

	if (e->in_use == false) {
		rv = SHASH_ERR_NOTFOUND;
		goto Out;
	}
	
	do {
		if ( memcmp(SHASH_ELEM_KEY_PTR(h, e), key, h->key_len) == 0) {
            if (NULL != value)
			    memcpy(value, SHASH_ELEM_VALUE_PTR(h, e), h->value_len);
			rv = SHASH_OK; 
			goto Out;
		}
		e = e->next;
	} while (e);
	rv = SHASH_ERR_NOTFOUND;
	
Out:
	if (l) pthread_mutex_unlock(l);

	return(rv);
					
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, (%rsp)
movq %rsi, %r15
movq %rdi, %r12
movq %rsi, %rdi
callq *0x10(%r12)
xorl %edx, %edx
divl 0x18(%r12)
movl 0xc(%r12), %eax
testb $0x4, %al
movl %edx, %ebx
jne 0xf4d1
testb $0x8, %al
jne 0xf4d8
xorl %r14d, %r14d
jmp 0xf4e5
leaq 0x28(%r12), %r14
jmp 0xf4e5
leaq (%rbx,%rbx,4), %r14
shlq $0x3, %r14
addq 0x50(%r12), %r14
testq %r14, %r14
je 0xf4f2
movq %r14, %rdi
callq 0x23c0
movq 0x20(%r12), %rbp
movl 0x4(%r12), %r13d
movl 0x8(%r12), %r12d
leaq 0x10(%r13,%r12), %rax
imulq %rax, %rbx
cmpb $0x0, 0x8(%rbp,%rbx)
je 0xf533
addq %rbx, %rbp
leaq 0x9(%rbp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x2240
testl %eax, %eax
je 0xf53a
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0xf514
movl $0xfffffffd, %ebp       # imm = 0xFFFFFFFD
jmp 0xf553
xorl %ebp, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xf553
addq %r13, %rbx
movq %rbx, %rsi
movq %r12, %rdx
callq 0x2180
testq %r14, %r14
je 0xf560
movq %r14, %rdi
callq 0x2160
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/src/cf_shash.c
// Function: shash_get_vlock
int
shash_get_vlock(shash *h, void *key, void **value, pthread_mutex_t **vlock)
{
	int rv = SHASH_ERR;
	
	unsigned int hash = h->h_fn(key);
	hash %= h->table_len;

	pthread_mutex_t		*l = 0;
	if (h->flags & SHASH_CR_MT_BIGLOCK) {
		l = &h->biglock;
	}
	else if (h->flags & SHASH_CR_MT_MANYLOCK) {
		l = & (h->lock_table[hash]);
	}
	if (l)     pthread_mutex_lock( l );
	
	shash_elem *e = (shash_elem *) ( ((byte *)h->table) + (SHASH_ELEM_SZ(h) * hash));	

	if (e->in_use == false) {
		rv = SHASH_ERR_NOTFOUND;
		goto Out;
	}
	
	do {
		if ( memcmp(SHASH_ELEM_KEY_PTR(h, e), key, h->key_len) == 0) {
			*value = SHASH_ELEM_VALUE_PTR(h, e);
			rv = SHASH_OK; 
			goto Out;
		}
		e = e->next;
	} while (e);
	
	rv = SHASH_ERR_NOTFOUND;
	
Out:
	if (l) {
		if (rv == SHASH_OK) {
			*vlock = l;
		}
		else {
			pthread_mutex_unlock( l );
			*vlock = 0;
		}
	}
	else {
		// for safety sake
		if (vlock) *vlock = 0;
	}

	return(rv);
					
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, %r12
movq %rdi, %r13
movq %rsi, %rdi
callq *0x10(%r13)
xorl %edx, %edx
divl 0x18(%r13)
movl 0xc(%r13), %eax
testb $0x4, %al
movl %edx, %ebx
jne 0xf5af
testb $0x8, %al
jne 0xf5b5
xorl %r14d, %r14d
jmp 0xf5c1
leaq 0x28(%r13), %r14
jmp 0xf5c1
leaq (%rbx,%rbx,4), %r14
shlq $0x3, %r14
addq 0x50(%r13), %r14
testq %r14, %r14
je 0xf5ce
movq %r14, %rdi
callq 0x23c0
movq 0x20(%r13), %rbp
movl 0x4(%r13), %r15d
movl 0x8(%r13), %eax
leaq 0x10(%r15,%rax), %rax
imulq %rax, %rbx
movl $0xfffffffd, %r13d      # imm = 0xFFFFFFFD
cmpb $0x0, 0x8(%rbp,%rbx)
je 0xf61c
addq %rbx, %rbp
leaq 0x9(%rbp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x2240
testl %eax, %eax
je 0xf620
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0xf5f3
xorl %eax, %eax
movl $0xfffffffd, %r13d      # imm = 0xFFFFFFFD
jmp 0xf630
xorl %eax, %eax
jmp 0xf630
addq %r15, %r13
movq 0x10(%rsp), %rax
movq %r13, (%rax)
xorl %r13d, %r13d
movb $0x1, %al
testq %r14, %r14
je 0xf64b
testb %al, %al
jne 0xf644
movq %r14, %rdi
callq 0x2160
xorl %r14d, %r14d
movq 0x8(%rsp), %rax
jmp 0xf658
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0xf65b
xorl %r14d, %r14d
movq %r14, (%rax)
movl %r13d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/sharpyfox[P]citrusleaf-client/src/cf_shash.c
// Function: shash_destroy
void
shash_destroy(shash *h)
{
	shash_elem *e_table = (shash_elem*)h->table;
	for (unsigned int i=0;i<h->table_len;i++) {
		if (e_table->next) {
			shash_elem *e = e_table->next;
			shash_elem *t;
			while (e) {
				t = e->next;
				free(e);
				e = t;
			}
		}
		e_table = (shash_elem *) (((uint8_t *)e_table) + SHASH_ELEM_SZ(h));
	}

	if (h->flags & SHASH_CR_MT_BIGLOCK) {
		pthread_mutex_destroy(&h->biglock);
	}
	if (h->flags & SHASH_CR_MT_MANYLOCK) {
		for (unsigned int i=0;i<h->table_len;i++) {
			pthread_mutex_destroy(&(h->lock_table[i]));
		}
		free(h->lock_table);
	}

	free(h->table);
	free(h);	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x18(%rdi)
je 0xfc9e
movq 0x20(%rbx), %r14
xorl %ebp, %ebp
movq (%r14), %rdi
testq %rdi, %rdi
je 0xfc89
movq (%rdi), %r15
callq 0x22a0
testq %r15, %r15
movq %r15, %rdi
jne 0xfc79
movl 0x4(%rbx), %eax
movl 0x8(%rbx), %ecx
addq %rax, %rcx
leaq 0x10(%r14,%rcx), %r14
incl %ebp
cmpl 0x18(%rbx), %ebp
jb 0xfc71
testb $0x4, 0xc(%rbx)
je 0xfcad
leaq 0x28(%rbx), %rdi
callq 0x2290
testb $0x8, 0xc(%rbx)
je 0xfce3
cmpl $0x0, 0x18(%rbx)
je 0xfcda
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x50(%rbx), %rdi
addq %r14, %rdi
callq 0x2290
incq %r15
movl 0x18(%rbx), %eax
addq $0x28, %r14
cmpq %rax, %r15
jb 0xfcbf
movq 0x50(%rbx), %rdi
callq 0x22a0
movq 0x20(%rbx), %rdi
callq 0x22a0
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x22a0
nop
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/sfx-suftaborder.c
// Function: showcomparisonfailure
static void showcomparisonfailure(const char *filename,
                                  int line,
                                  const char *where,
                                  const GtEncseq *encseq,
                                  GtReadmode readmode,
                                  const GtSuffixsortspace *suffixsortspace,
                                  GtUword subbucketleft,
                                  GtUword depth,
                                  GtUword idx1,
                                  GtUword idx2,
                                  int cmp,
                                  GtUword maxlcp)
{
  GtUword pos1, pos2;

  pos1 = gt_suffixsortspace_get(suffixsortspace,subbucketleft,idx1);
  pos2 = gt_suffixsortspace_get(suffixsortspace,subbucketleft,idx2);
  fprintf(stderr,"ERROR: file \"%s\", line %d: ",filename,line);
  fprintf(stderr,"%s("GT_WU" vs "GT_WU""
                 " "GT_WU"=\"",
                       where,
                       idx1,
                       idx2,
                       pos1);
  gt_encseq_showatstartposwithdepth(stderr,encseq,readmode,pos1,depth);
  fprintf(stderr,"\",\"");
  gt_encseq_showatstartposwithdepth(stderr,encseq,readmode,pos2,depth);
  fprintf(stderr,"\"="GT_WU")=%d with maxlcp "GT_WU",depth="GT_WU"\n",pos2,cmp,
          maxlcp,depth);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r13
movl %r8d, 0x10(%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movl %esi, 0xc(%rsp)
movq %rdi, 0x18(%rsp)
movl 0x90(%rsp), %eax
movl %eax, 0x14(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x78(%rsp), %r15
movq 0x88(%rsp), %rbx
movq 0x70(%rsp), %r12
movq 0x80(%rsp), %rbp
movq %r9, %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x206063
movq %rax, %r14
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x206063
movq %rax, %r13
movq 0x443b8f(%rip), %r12    # 0x4c3f80
movq (%r12), %rdi
leaq 0x2e2b4f(%rip), %rsi    # 0x362f4b
movq 0x18(%rsp), %rdx
movl 0xc(%rsp), %ecx
xorl %eax, %eax
callq 0x17ab0
movq (%r12), %rdi
leaq 0x2e2b50(%rip), %rsi    # 0x362f67
movq 0x20(%rsp), %rdx
movq %rbp, %rcx
movq %rbx, %r8
movq %r14, %r9
xorl %eax, %eax
callq 0x17ab0
movq (%r12), %rdi
movq 0x28(%rsp), %rbp
movq %rbp, %rsi
movl 0x10(%rsp), %ebx
movl %ebx, %edx
movq %r14, %rcx
movq %r15, %r8
callq 0xf1f39
movq (%r12), %rcx
leaq 0x2e2b27(%rip), %rdi    # 0x362f7b
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
callq 0x17fa0
movq (%r12), %rdi
movq %rbp, %rsi
movl %ebx, %edx
movq %r13, %rcx
movq %r15, %r8
callq 0xf1f39
movq (%r12), %rdi
leaq 0x3449e0(%rip), %rsi    # 0x3c4e5e
movq %r13, %rdx
movl 0x14(%rsp), %ecx
movq 0x30(%rsp), %r8
movq %r15, %r9
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17ab0
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/match/twobits2kmers.c
// Function: showdifferentkmers
static void showdifferentkmers(int line,GtUword pos,GtCodetype kmer1,
                               GtCodetype kmer2)
{
  char buffer[2*GT_INTWORDSIZE+1];

  fprintf(stderr,"line %d: pos="GT_WU"\n",line,pos);
  gt_bitsequence_tostring_units(buffer,(GtBitsequence) kmer1,2U);
  fprintf(stderr,"kmer1=%s\n",buffer);
  gt_bitsequence_tostring_units(buffer,(GtBitsequence) kmer2,2U);
  fprintf(stderr,"kmer2=%s\n",buffer);
  fprintf(stderr,"kmer1="GT_WU" != "GT_WU"= kmer2\n",kmer1,kmer2);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rcx
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
movq 0x442cde(%rip), %r15    # 0x4c3f80
movq (%r15), %rdi
leaq 0x344b4d(%rip), %rsi    # 0x3c5df9
xorl %r13d, %r13d
movl $0xe8, %edx
xorl %eax, %eax
callq 0x17ab0
pushq $0x1
popq %rax
movq %r12, %rcx
testq %r14, %rcx
sete %sil
xorb $0x31, %sil
leal 0x1(%r13), %edx
movl %r13d, %edi
movb %sil, (%rsp,%rdi)
testb $0x1, %al
jne 0x812e7
addl $0x2, %r13d
movl %edx, %edx
movb $0x20, (%rsp,%rdx)
jmp 0x812ea
movl %edx, %r13d
incl %eax
shrq %rcx
cmpl $0x41, %eax
jne 0x812c1
movl %r13d, %eax
movb $0x0, (%rsp,%rax)
movq (%r15), %rdi
leaq 0x344b06(%rip), %rsi    # 0x3c5e0b
xorl %r13d, %r13d
movq %rsp, %rdx
xorl %eax, %eax
callq 0x17ab0
pushq $0x1
popq %rax
testq %rbx, %r12
sete %dl
xorb $0x31, %dl
leal 0x1(%r13), %ecx
movl %r13d, %esi
movb %dl, (%rsp,%rsi)
testb $0x1, %al
jne 0x81338
addl $0x2, %r13d
movl %ecx, %ecx
movb $0x20, (%rsp,%rcx)
jmp 0x8133b
movl %ecx, %r13d
incl %eax
shrq %r12
cmpl $0x41, %eax
jne 0x81315
movl %r13d, %eax
movb $0x0, (%rsp,%rax)
movq (%r15), %rdi
leaq 0x344abf(%rip), %rsi    # 0x3c5e15
movq %rsp, %rdx
xorl %eax, %eax
callq 0x17ab0
movq (%r15), %rdi
leaq 0x344ab5(%rip), %rsi    # 0x3c5e1f
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x17ab0
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/gt.c
// Function: main
int main(int argc, char *argv[])
{
  GtError *err;
  GtR *gtr;
  int rval;
  gt_lib_init();
  err = gt_error_new();
  gt_error_set_progname(err, argv[0]);
  if (!(gtr = gtr_new(err))) {
    fprintf(stderr, "%s: error: %s\n", gt_error_get_progname(err),
            gt_error_get(err));
    gt_error_delete(err);
    return EXIT_FAILURE;
  }
  gtr_register_components(gtr);
  switch (gtr_parse(gtr, &rval, argc, (const char**) argv, err)) {
    case GT_OPTION_PARSER_OK:
      argc -= rval;
      argv += rval;
      rval = gtr_run(gtr, argc, (const char**) argv, err);
      break;
    case GT_OPTION_PARSER_ERROR:
      rval = EXIT_FAILURE; /* user error */
      break;
    case GT_OPTION_PARSER_REQUESTS_EXIT:
      rval = EXIT_SUCCESS; /* everything went fine */
  }
  if (gt_error_is_set(err)) {
    fprintf(stderr, "%s: error: %s\n", gt_error_get_progname(err),
            gt_error_get(err));
    gt_assert(rval);
  }
  gtr_delete(gtr);
  gt_error_delete(err);
  if (gt_lib_clean())
    return GT_EXIT_PROGRAMMING_ERROR; /* programmer error */
  return rval;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movl %edi, %ebp
callq 0x1076f0
callq 0x1019b4
movq %rax, %rbx
movq (%r15), %rsi
movq %rax, %rdi
callq 0x101ada
movq %rbx, %rdi
callq 0x99cb8
testq %rax, %rax
je 0x99c9a
movq %rax, %r14
movq %rax, %rdi
callq 0x9a267
leaq 0x4(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
movq %r15, %rcx
movq %rbx, %r8
callq 0x99f5a
cmpl $0x2, %eax
je 0x99c57
cmpl $0x1, %eax
je 0x99c4d
testl %eax, %eax
jne 0x99c5f
movslq 0x4(%rsp), %rax
subl %eax, %ebp
leaq (%r15,%rax,8), %rdx
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rcx
callq 0x9a29b
movl %eax, 0x4(%rsp)
jmp 0x99c5f
movl $0x1, 0x4(%rsp)
jmp 0x99c5f
movl $0x0, 0x4(%rsp)
movq %rbx, %rdi
callq 0x101a9a
testb %al, %al
jne 0x99ca9
movq %r14, %rdi
callq 0x9aad9
movq %rbx, %rdi
callq 0x101b35
callq 0x10791f
movl %eax, %ecx
movl $0x2, %eax
testl %ecx, %ecx
jne 0x99c8f
movl 0x4(%rsp), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x18090
movl $0x1, %eax
jmp 0x99c8f
leaq 0x4(%rsp), %rsi
movq %rbx, %rdi
callq 0x18010
jmp 0x99c6b