LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_eexpr
awlval* awlval_eexpr(void) {
    awlval* v = safe_malloc(sizeof(awlval));
    v->type = AWLVAL_EEXPR;
    v->count = 0;
    v->length = 0;
    v->cell = NULL;
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x38, %edi
callq 0x16720
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0xd, (%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x4(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x8(%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_cexpr
awlval* awlval_cexpr(void) {
    awlval* v = safe_malloc(sizeof(awlval));
    v->type = AWLVAL_CEXPR;
    v->count = 0;
    v->length = 0;
    v->cell = NULL;
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x38, %edi
callq 0x16720
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0xe, (%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x4(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x8(%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_del
void awlval_del(awlval* v) {
    switch (v->type) {
        case AWLVAL_INT:
            break;

        case AWLVAL_FLOAT:
            break;

        case AWLVAL_BUILTIN:
            free(v->builtin_name);
            break;

        case AWLVAL_FN:
        case AWLVAL_MACRO:
            awlenv_del(v->env);
            awlval_del(v->formals);
            awlval_del(v->body);
            break;

        case AWLVAL_ERR:
            free(v->err);
            break;

        case AWLVAL_SYM:
        case AWLVAL_QSYM:
            free(v->sym);
            break;

        case AWLVAL_STR:
            free(v->str);
            break;

        case AWLVAL_BOOL:
            break;

        case AWLVAL_DICT:
            dict_del(v->d);
            break;

        case AWLVAL_EEXPR:
        case AWLVAL_SEXPR:
        case AWLVAL_QEXPR:
        case AWLVAL_CEXPR:
            for (int i = 0; i < v->count; i++) {
                awlval_del(v->cell[i]);
            }
            free(v->cell);
            break;
    }

    free(v);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x18(%rbp)
subq $0xe, %rax
ja 0x16de7
movq -0x18(%rbp), %rax
leaq 0x4c9d(%rip), %rcx      # 0x1b9b8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x16de7
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x23a0
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x16e00
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x16cf0
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rdi
callq 0x16cf0
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x23a0
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x23a0
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x23a0
jmp 0x16de7
jmp 0x16de7
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x6e90
jmp 0x16de7
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x16dda
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x16cf0
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x16dae
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x23a0
movq -0x8(%rbp), %rdi
callq 0x23a0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_del
void awlenv_del(awlenv* e) {
    e->references--;

    if (e->references <= 0 && !e->top_level) {
        if (e->parent && e->parent->references >= 1) {
            awlenv_del(e->parent);
        }

        dict_del(e->internal_dict);
        free(e);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x14(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x14(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x14(%rax)
jg 0x16e66
movq -0x8(%rbp), %rax
testb $0x1, 0x10(%rax)
jne 0x16e66
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x16e50
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpl $0x1, 0x14(%rax)
jl 0x16e50
movq -0x8(%rbp), %rax
movq (%rax), %rdi
callq 0x16e00
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x6e90
movq -0x8(%rbp), %rdi
callq 0x23a0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_add
awlval* awlval_add(awlval* v, awlval* x) {
    v->count++;
    v->length++;
    v->cell = realloc(v->cell, sizeof(awlval*) * v->count);
    v->cell[v->count - 1] = x;
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rsi
shlq $0x3, %rsi
callq 0x22a0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
movl 0x4(%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_add_front
awlval* awlval_add_front(awlval* v, awlval* x) {
    v->count++;
    v->length++;
    v->cell = realloc(v->cell, sizeof(awlval*) * v->count);
    if (v->count > 1) {
        memmove(&v->cell[1], &v->cell[0], sizeof(awlval*) * (v->count - 1));
    }
    v->cell[0] = x;
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rsi
shlq $0x3, %rsi
callq 0x22a0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x4(%rax)
jle 0x16f72
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
addq $0x8, %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
subl $0x1, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
callq 0x22b0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_keys_dict
awlval* awlval_keys_dict(awlval* x) {
    int count = dict_count(x->d);
    char** keys = dict_all_keys(x->d);

    awlval* v = awlval_qexpr();
    for (int i = 0; i < count; i++) {
        awlval_add(v, awlval_qsym(keys[i]));
    }

    free(keys);
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x7470
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x7490
movq %rax, -0x18(%rbp)
callq 0x16c00
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x17125
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x16890
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x16e70
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x170ed
movq -0x18(%rbp), %rdi
callq 0x23a0
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_vals_dict
awlval* awlval_vals_dict(awlval* x) {
    int count = dict_count(x->d);
    awlval** vals = (awlval**)dict_all_vals(x->d);

    awlval* v = awlval_qexpr();
    for (int i = 0; i < count; i++) {
        awlval_add(v, awlval_copy(vals[i]));
    }

    free(vals);
    return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x7470
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x7520
movq %rax, -0x18(%rbp)
callq 0x16c00
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x171b5
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x171d0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x16e70
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1717d
movq -0x18(%rbp), %rdi
callq 0x23a0
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_pop
awlval* awlval_pop(awlval* v, int i) {
    awlval* x = v->cell[i];

    memmove(&v->cell[i], &v->cell[i + 1], sizeof(awlval*) * (v->count - i - 1));
    v->count--;
    v->length--;

    v->cell = realloc(v->cell, sizeof(awlval*) * v->count);
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movslq -0xc(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rsi
movl -0xc(%rbp), %eax
addl $0x1, %eax
cltq
shlq $0x3, %rax
addq %rax, %rsi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
subl -0xc(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
callq 0x22b0
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rsi
shlq $0x3, %rsi
callq 0x22a0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_join
awlval* awlval_join(awlval* x, awlval* y) {
    while (y->count) {
        x = awlval_add(x, awlval_pop(y, 0));
    }

    awlval_del(y);
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x175df
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x174b0
movq -0x18(%rbp), %rdi
movq %rax, %rsi
callq 0x16e70
movq %rax, -0x8(%rbp)
jmp 0x175b0
movq -0x10(%rbp), %rdi
callq 0x16cf0
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_insert
awlval* awlval_insert(awlval* x, awlval* y, int i) {
    x->count++;
    x->length++;
    x->cell = realloc(x->cell, sizeof(awlval*) * x->count);

    memmove(&x->cell[i + 1], &x->cell[i], sizeof(awlval*) * (x->count - i - 1));
    x->cell[i] = y;
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rsi
shlq $0x3, %rsi
callq 0x22a0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movl -0x14(%rbp), %eax
addl $0x1, %eax
cltq
shlq $0x3, %rax
addq %rax, %rdi
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rsi
movslq -0x14(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rsi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
subl -0x14(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rdx
shlq $0x3, %rdx
callq 0x22b0
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_shift
awlval* awlval_shift(awlval* x, awlval* y, int i) {
    while (y->count) {
        x = awlval_insert(x, awlval_pop(y, y->count - 1), i);
    }

    awlval_del(y);
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x1770d
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x4(%rax), %esi
subl $0x1, %esi
callq 0x174b0
movq -0x20(%rbp), %rdi
movq %rax, %rsi
movl -0x14(%rbp), %edx
callq 0x17600
movq %rax, -0x8(%rbp)
jmp 0x176d3
movq -0x10(%rbp), %rdi
callq 0x16cf0
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_reverse
awlval* awlval_reverse(awlval* x) {
    if (x->type == AWLVAL_QEXPR) {
        return awlval_reverse_qexpr(x);
    } else if (x->type == AWLVAL_STR) {
        return awlval_reverse_str(x);
    } else {
        return awlval_reverse_qsym(x);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0xc, (%rax)
jne 0x17744
movq -0x10(%rbp), %rdi
callq 0x17780
movq %rax, -0x8(%rbp)
jmp 0x17769
movq -0x10(%rbp), %rax
cmpl $0x5, (%rax)
jne 0x1775c
movq -0x10(%rbp), %rdi
callq 0x177e0
movq %rax, -0x8(%rbp)
jmp 0x17769
movq -0x10(%rbp), %rdi
callq 0x17820
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_reverse_qexpr
static awlval* awlval_reverse_qexpr(awlval* x) {
    awlval* y = awlval_qexpr();
    while (x->count) {
        y = awlval_add(y, awlval_pop(x, x->count - 1));
    }
    awlval_del(x);
    return y;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
callq 0x16c00
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x177cc
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %esi
subl $0x1, %esi
callq 0x174b0
movq -0x18(%rbp), %rdi
movq %rax, %rsi
callq 0x16e70
movq %rax, -0x10(%rbp)
jmp 0x17795
movq -0x8(%rbp), %rdi
callq 0x16cf0
movq -0x10(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_reverse_str
static awlval* awlval_reverse_str(awlval* x) {
    char* reversed = strrev(x->str);
    free(x->str);
    x->str = reversed;
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x18d80
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x23a0
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_slice_step
awlval* awlval_slice_step(awlval* x, int start, int end, int step) {
    if (x->type == AWLVAL_QEXPR) {
        return awlval_slice_step_qexpr(x, start, end, step);
    } else if (x->type == AWLVAL_STR) {
        return awlval_slice_step_str(x, start, end, step);
    } else {
        return awlval_slice_step_qsym(x, start, end, step);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpl $0xc, (%rax)
jne 0x17896
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
movl -0x1c(%rbp), %ecx
callq 0x178e0
movq %rax, -0x8(%rbp)
jmp 0x178cd
movq -0x10(%rbp), %rax
cmpl $0x5, (%rax)
jne 0x178b7
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
movl -0x1c(%rbp), %ecx
callq 0x17a10
movq %rax, -0x8(%rbp)
jmp 0x178cd
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
movl -0x1c(%rbp), %ecx
callq 0x17aa0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_slice_step_qexpr
static awlval* awlval_slice_step_qexpr(awlval* x, int start, int end, int step) {
    /* Remove from front */
    while (start) {
        awlval_del(awlval_pop(x, 0));
        start--; end--;
    }
    /* Remove from back */
    while (end < x->count) {
        awlval_del(awlval_pop(x, end));
    }
    /* Remove by steps */
    if (step > 1 && x->count) {
        int final_count = x->count / step + (x->count % step == 0 ? 0 : 1),
            multiplier = 0,
            removal_offset = 0;

        while (x->count > final_count) {
            for (int i = 1; i < step; i++) {
                int idx = multiplier * step + i - removal_offset;
                awlval_del(awlval_pop(x, idx));
                removal_offset++;
            }
            multiplier++;
        }
    }
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
cmpl $0x0, -0xc(%rbp)
je 0x17922
movq -0x8(%rbp), %rdi
xorl %esi, %esi
callq 0x174b0
movq %rax, %rdi
callq 0x16cf0
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
movl -0x10(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x178f5
jmp 0x17924
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x17946
movq -0x8(%rbp), %rdi
movl -0x10(%rbp), %esi
callq 0x174b0
movq %rax, %rdi
callq 0x16cf0
jmp 0x17924
cmpl $0x1, -0x14(%rbp)
jle 0x179fc
movq -0x8(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x179fc
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
cltd
idivl -0x14(%rbp)
movl %eax, -0x2c(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
cltd
idivl -0x14(%rbp)
movl -0x2c(%rbp), %eax
movl %edx, %esi
movl $0x1, %ecx
xorl %edx, %edx
cmpl $0x0, %esi
cmovel %edx, %ecx
addl %ecx, %eax
movl %eax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
cmpl -0x18(%rbp), %eax
jle 0x179fa
movl $0x1, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x179ef
movl -0x1c(%rbp), %eax
imull -0x14(%rbp), %eax
addl -0x24(%rbp), %eax
subl -0x20(%rbp), %eax
movl %eax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movl -0x28(%rbp), %esi
callq 0x174b0
movq %rax, %rdi
callq 0x16cf0
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x179af
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1799c
jmp 0x179fc
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_slice_step_str
static awlval* awlval_slice_step_str(awlval* x, int start, int end, int step) {
    char* sliced = strsubstr(x->str, start, end);
    if (step > 1 && strlen(sliced)) {
        char* stepped = strstep(sliced, step);
        free(sliced);
        sliced = stepped;
    }
    free(x->str);
    x->str = sliced;
    return x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
callq 0x18e20
movq %rax, -0x20(%rbp)
cmpl $0x1, -0x14(%rbp)
jle 0x17a72
movq -0x20(%rbp), %rdi
callq 0x20f0
cmpq $0x0, %rax
je 0x17a72
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x18e80
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x23a0
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x23a0
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlval_maybe_promote_numeric
void awlval_maybe_promote_numeric(awlval* a, awlval* b) {
    if (!(ISNUMERIC(a->type) && ISNUMERIC(b->type))) {
        return;
    }
    if (a->type == AWLVAL_FLOAT || b->type == AWLVAL_FLOAT) {
        awlval_promote_numeric(a);
        awlval_promote_numeric(b);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x0, (%rax)
je 0x17b82
movq -0x8(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x17b94
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x17b96
movq -0x10(%rbp), %rax
cmpl $0x1, (%rax)
je 0x17b96
jmp 0x17bba
movq -0x8(%rbp), %rax
cmpl $0x1, (%rax)
je 0x17ba8
movq -0x10(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x17bba
movq -0x8(%rbp), %rdi
callq 0x17bc0
movq -0x10(%rbp), %rdi
callq 0x17bc0
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_copy
awlenv* awlenv_copy(awlenv* e) {
    awlenv* n = safe_malloc(sizeof(awlenv));
    n->parent = e->parent;
    if (n->parent) {
        n->parent->references++;
    }
    n->internal_dict = dict_copy(e->internal_dict);
    n->top_level = e->top_level;
    n->references = 1;

    return n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl $0x18, %edi
callq 0x16720
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x17c62
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl 0x14(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x14(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x7350
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
movb 0x10(%rax), %cl
movq -0x10(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x10(%rax)
movq -0x10(%rbp), %rax
movl $0x1, 0x14(%rax)
movq -0x10(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_new_top_level
awlenv* awlenv_new_top_level(void) {
    awlenv* e = awlenv_new();
    e->top_level = true;
    awlenv_add_builtins(e);
    awlenv_add_core_lib(e);
    return e;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0x16a70
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movb $0x1, 0x10(%rax)
movq -0x8(%rbp), %rdi
callq 0x183a0
movq -0x8(%rbp), %rdi
callq 0x18820
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_add_core_lib
void awlenv_add_core_lib(awlenv* e) {
    char* awl_base = get_base_path();

    char* corelib = path_join(awl_base, "lib/core");

    awlval* args = awlval_sexpr();
    args = awlval_add(args, awlval_str(corelib));
    awlval_del(builtin_import(e, args));

    free(awl_base);
    free(corelib);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
callq 0x18f90
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x3369(%rip), %rsi      # 0x1bba9
callq 0x18fd0
movq %rax, -0x18(%rbp)
callq 0x16bb0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x168c0
movq -0x28(%rbp), %rdi
movq %rax, %rsi
callq 0x16e70
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x6640
movq %rax, %rdi
callq 0x16cf0
movq -0x10(%rbp), %rdi
callq 0x23a0
movq -0x18(%rbp), %rdi
callq 0x23a0
addq $0x30, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_lookup
static awlval* awlenv_lookup(awlenv* e, char* k) {
    int i = dict_index(e->internal_dict, k);
    if (i != -1) {
        return dict_get_at(e->internal_dict, i);
    }

    /* check parent if not found */
    if (e->parent) {
        return awlenv_lookup(e->parent, k);
    } else {
        return awlval_err("unbound symbol '%s'", k);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x6f60
movl %eax, -0x1c(%rbp)
cmpl $-0x1, -0x1c(%rbp)
je 0x18970
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movl -0x1c(%rbp), %esi
callq 0x7130
movq %rax, -0x8(%rbp)
jmp 0x189a6
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x18990
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x18930
movq %rax, -0x8(%rbp)
jmp 0x189a6
movq -0x18(%rbp), %rsi
leaq 0x3217(%rip), %rdi      # 0x1bbb2
movb $0x0, %al
callq 0x16600
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/types.c
// Function: awlenv_add_builtin
void awlenv_add_builtin(awlenv* e, char* name, awlbuiltin builtin) {
    awlval* k = awlval_sym(name);
    awlval* v = awlval_fun(builtin, name);
    awlenv_put(e, k, v);
    awlval_del(k);
    awlval_del(v);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x167f0
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x16970
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x189b0
movq -0x20(%rbp), %rdi
callq 0x16cf0
movq -0x28(%rbp), %rdi
callq 0x16cf0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: stringbuilder_new
stringbuilder_t* stringbuilder_new(void) {
    stringbuilder_t* sb = safe_malloc(sizeof(stringbuilder_t));
    sb->length = 0;
    sb->size = SB_START_SIZE;
    sb->str = safe_malloc(SB_START_SIZE);
    return sb;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x10, %edi
callq 0x18af0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, (%rax)
movq -0x8(%rbp), %rax
movl $0x400, 0x4(%rax)       # imm = 0x400
movl $0x400, %edi            # imm = 0x400
callq 0x18af0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: stringbuilder_write
void stringbuilder_write(stringbuilder_t* sb, const char* format, ...) {
    va_list arguments1;
    va_list arguments2;
    va_start(arguments1, format);
    va_copy(arguments2, arguments1);

    /* First use vsnprintf to check how large the printed result would be */
    int count = vsnprintf(NULL, 0, format, arguments1);

    /* If there isn't enough room, keep resizing until there is */
    int required_size = sb->length + count + 1;
    while (sb->size < required_size) {
        stringbuilder_resize(sb);
    }

    vsnprintf((sb->str + sb->length), count + 1, format, arguments2);
    sb->length += count;

    va_end(arguments1);
    va_end(arguments2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
testb %al, %al
je 0x18b81
movaps %xmm0, -0xe0(%rbp)
movaps %xmm1, -0xd0(%rbp)
movaps %xmm2, -0xc0(%rbp)
movaps %xmm3, -0xb0(%rbp)
movaps %xmm4, -0xa0(%rbp)
movaps %xmm5, -0x90(%rbp)
movaps %xmm6, -0x80(%rbp)
movaps %xmm7, -0x70(%rbp)
movq %r9, -0xe8(%rbp)
movq %r8, -0xf0(%rbp)
movq %rcx, -0xf8(%rbp)
movq %rdx, -0x100(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x30(%rbp), %rax
leaq -0x110(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl $0x30, 0x4(%rax)
movl $0x10, (%rax)
leaq -0x50(%rbp), %rax
leaq -0x30(%rbp), %rcx
movq 0x10(%rcx), %rdx
movq %rdx, 0x10(%rax)
movups (%rcx), %xmm0
movups %xmm0, (%rax)
movq -0x10(%rbp), %rdx
leaq -0x30(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
movq %rsi, %rdi
callq 0x20a0
movl %eax, -0x54(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
addl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
cmpl -0x58(%rbp), %eax
jge 0x18c1c
movq -0x8(%rbp), %rdi
callq 0x18c60
jmp 0x18c05
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movslq (%rax), %rax
addq %rax, %rdi
movl -0x54(%rbp), %eax
incl %eax
movslq %eax, %rsi
movq -0x10(%rbp), %rdx
leaq -0x50(%rbp), %rcx
callq 0x20a0
movl -0x54(%rbp), %edx
movq -0x8(%rbp), %rax
movl (%rax), %ecx
addl %edx, %ecx
movl %ecx, (%rax)
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: stringbuilder_resize
static void stringbuilder_resize(stringbuilder_t* sb) {
    sb->size = sb->size * SB_GROWTH_FACTOR;
    char* str = sb->str;

    sb->str = safe_malloc(sb->size);
    memcpy(sb->str, str, sb->length);

    free(str);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
shll %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rdi
callq 0x18af0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movslq (%rax), %rdx
callq 0x2230
movq -0x10(%rbp), %rdi
callq 0x23a0
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: strrev
char* strrev(const char* str) {
    int len = strlen(str);
    char* newstr = safe_malloc(len + 1);

    char* start = newstr;
    const char* end = str + len - 1;

    for (int i = 0; i < len; i++) {
        *start = *end;
        start++;
        end--;
    }
    newstr[len] = '\0';
    return newstr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x20f0
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x18af0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movslq -0xc(%rbp), %rcx
addq %rcx, %rax
addq $-0x1, %rax
movq %rax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x18e03
movq -0x28(%rbp), %rax
movb (%rax), %cl
movq -0x20(%rbp), %rax
movb %cl, (%rax)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x28(%rbp)
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x18dcc
movq -0x18(%rbp), %rax
movslq -0xc(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x18(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: strsubstr
char* strsubstr(const char* str, int start, int end) {
    int len = end - start;
    char* buffer = safe_malloc(len + 1);
    memcpy(buffer, &str[start], len);
    buffer[len] = '\0';
    return buffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl -0x10(%rbp), %eax
subl -0xc(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x18af0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movq -0x8(%rbp), %rsi
movslq -0xc(%rbp), %rax
addq %rax, %rsi
movslq -0x14(%rbp), %rdx
callq 0x2230
movq -0x20(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x20(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: strstep
char* strstep(const char* str, int step) {
    int len = strlen(str);
    int bufferlen = len / step + (len % step == 0 ? 0 : 1);
    char* buffer = safe_malloc(bufferlen + 1);
    for (int i = 0, j = 0; i < bufferlen; i++, j += step) {
        buffer[i] = str[j];
    }
    buffer[bufferlen] = '\0';
    return buffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
callq 0x20f0
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %eax
cltd
idivl -0xc(%rbp)
movl %eax, -0x2c(%rbp)
movl -0x10(%rbp), %eax
cltd
idivl -0xc(%rbp)
movl -0x2c(%rbp), %eax
movl %edx, %esi
movl $0x1, %ecx
xorl %edx, %edx
cmpl $0x0, %esi
cmovel %edx, %ecx
addl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x18af0
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x18f15
movq -0x8(%rbp), %rax
movslq -0x28(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x20(%rbp), %rax
movslq -0x24(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
movl -0xc(%rbp), %eax
addl -0x28(%rbp), %eax
movl %eax, -0x28(%rbp)
jmp 0x18ee3
movq -0x20(%rbp), %rax
movslq -0x14(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x20(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: get_executable_path
char* get_executable_path(void) {
    /* TODO: reading /proc is definitely not cross platform */
    char* path = safe_malloc(BUFSIZE);

    int len = readlink("/proc/self/exe", path, BUFSIZE - 1);
    if (len == -1) {
        free(path);
        path = NULL;
    } else {
        path[len] = '\0';
    }
    return path;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x1000, %edi           # imm = 0x1000
callq 0x18af0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rsi
leaq 0x2c75(%rip), %rdi      # 0x1bbc6
movl $0xfff, %edx            # imm = 0xFFF
callq 0x20b0
movl %eax, -0xc(%rbp)
cmpl $-0x1, -0xc(%rbp)
jne 0x18f77
movq -0x8(%rbp), %rdi
callq 0x23a0
movq $0x0, -0x8(%rbp)
jmp 0x18f83
movq -0x8(%rbp), %rax
movslq -0xc(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/voithos[P]awl/src/util.c
// Function: get_base_path
char* get_base_path(void) {
#ifdef EMSCRIPTEN
    char* base_path = safe_malloc(2);
    base_path[0] = '.';
    base_path[1] = '\0';
    return base_path;
#else
    // Executable is in 'bin' directory, so we need to go up twice
    char* exe_path = get_executable_path();
    char* base_path = path_join(dirname(exe_path), "../");
    free(exe_path);
    return base_path;
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0x18f30
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x2130
movq %rax, %rdi
leaq 0x2c21(%rip), %rsi      # 0x1bbd5
callq 0x18fd0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x23a0
movq -0x10(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/yangtau[P]hedgehog/src/test/./test.h
// Function: duration2str
static inline const char* duration2str(duration_t d, uint64_t type) {
    const char* s;
    if (type == SEC)
        s = "seconds";
    if (type == MILLISEC)
        s = "milliseconds";
    if (type == MACROSEC)
        s = "macroseconds";

    static _Thread_local char buf[1024];
    sprintf(buf, "%zu %s", d / type, s);
    return buf;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0xf4240, -0x10(%rbp)   # imm = 0xF4240
jne 0x25f5
leaq 0xc47(%rip), %rax       # 0x3238
movq %rax, -0x18(%rbp)
cmpq $0x3e8, -0x10(%rbp)     # imm = 0x3E8
jne 0x260a
leaq 0xc2d(%rip), %rax       # 0x3233
movq %rax, -0x18(%rbp)
cmpq $0x1, -0x10(%rbp)
jne 0x261c
leaq 0xc28(%rip), %rax       # 0x3240
movq %rax, -0x18(%rbp)
movq %fs:0x0, %rax
leaq -0x400(%rax), %rdi
movq -0x8(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, %edx
divq -0x10(%rbp)
movq %rax, %rdx
movq -0x18(%rbp), %rcx
leaq 0xc07(%rip), %rsi       # 0x324d
movb $0x0, %al
callq 0x10c0
movq %fs:0x0, %rax
leaq -0x400(%rax), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/orestesleal[P]base64/b64dec.c
// Function: main
int main(int argc, char *argv[])
{
	struct finfo *fd;
	char *dec_buf;
	int ofd;
	size_t wr;
	size_t dec; /* number of decoded bytes */

	if (argv[1]) {
		/* load the encoded file */
		if ((fd = get_file(argv[1])) == NULL) {
			fprintf(stderr, "get_file() failed loading %s in main memory\n", argv[1]);
			exit(EXIT_FAILURE);
		}

		if (argv[2]) {
			/* allocate buffer and decode */
			dec_buf = alloc(fd->size); 
			dec = b64_dec(fd->addr, dec_buf, fd->size); /*  decode the base64 string on 'dec_buf' */

            if ((ofd = open(argv[2], O_CREAT | O_RDWR, S_IRUSR | O_TRUNC | S_IWUSR)) == -1) {
            	fprintf(stderr, "open(2) error, can't create or truncate %s\n", argv[2]);
	        	exit(EXIT_FAILURE);
			}
			/* write the contents of `dec_buf` into the file requested on argv[2] */
			if ((wr = write(ofd, dec_buf, dec)) == -1) {
				fprintf(stderr, "write(2) error, can't write to %s\n", argv[2]);
				exit(EXIT_FAILURE);
			}
			close(ofd);
			free(dec_buf);
        }
		free(fd);
	}
	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x1321
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2af0
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x1236
movq 0x3de5(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x1ddf(%rip), %rsi      # 0x3004
movb $0x0, %al
callq 0x1080
movl $0x1, %edi
callq 0x10c0
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x1318
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movl %eax, %edi
callq 0x2c90
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movl %eax, %edx
callq 0x1ef0
movl %eax, %eax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movl $0x42, %esi
movl $0x380, %edx            # imm = 0x380
movb $0x0, %al
callq 0x10b0
movl %eax, -0x24(%rbp)
cmpl $-0x1, %eax
jne 0x12c3
movq 0x3d58(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
leaq 0x1d7f(%rip), %rsi      # 0x3031
movb $0x0, %al
callq 0x1080
movl $0x1, %edi
callq 0x10c0
movl -0x24(%rbp), %edi
movq -0x20(%rbp), %rsi
movq -0x38(%rbp), %rdx
callq 0x1040
movq %rax, -0x30(%rbp)
cmpq $-0x1, %rax
jne 0x1307
movq 0x3d14(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdx
leaq 0x1d67(%rip), %rsi      # 0x305d
movb $0x0, %al
callq 0x1080
movl $0x1, %edi
callq 0x10c0
movl -0x24(%rbp), %edi
callq 0x1060
movq -0x20(%rbp), %rdi
callq 0x1030
movq -0x18(%rbp), %rdi
callq 0x1030
xorl %eax, %eax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/eric-lo[P]3150/3-ProcessUser/system_example.c
// Function: main
int main(void)
{
	printf("before system ...\n");
	system("ls -l");
	printf("after system ...\n");
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
leaq 0xe9e(%rip), %rdi       # 0x2004
movb $0x0, %al
callq 0x1040
leaq 0xea3(%rip), %rdi       # 0x2017
callq 0x1030
leaq 0xe9d(%rip), %rdi       # 0x201d
movb $0x0, %al
callq 0x1040
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/muayyad-alsadi[P]oneway/oneway.c
// Function: name_to_uid
uid_t name_to_uid(char const *name, gid_t *gid, char** home, char **shell)
{
  if (!name) return -1;
  struct passwd *ptr=getpwnam(name);
  if (0 == ptr) {
      fprintf(stderr, "could not find user [%s]\n", name);
      return -1;
  }
  *gid=ptr->pw_gid;
  *home=strdup(ptr->pw_dir);
  *shell=(ptr->pw_shell);
  return ptr->pw_uid;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x1258
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x12cf
movq -0x10(%rbp), %rdi
callq 0x1080
movq %rax, -0x30(%rbp)
xorl %eax, %eax
cmpq -0x30(%rbp), %rax
jne 0x1292
movq 0x2d84(%rip), %rax      # 0x3ff8
movq (%rax), %rdi
movq -0x10(%rbp), %rdx
leaq 0xd82(%rip), %rsi       # 0x2004
movb $0x0, %al
callq 0x1090
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x12cf
movq -0x30(%rbp), %rax
movl 0x14(%rax), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
movq -0x30(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x1120
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movq 0x28(%rax), %rcx
movq -0x28(%rbp), %rax
movq %rcx, (%rax)
movq -0x30(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/singpolyma[P]mnemonicode/mnencode.c
// Function: counthex
int counthex(const mn_byte *s, size_t len) {
	int total = 0;
	size_t i;
	for(i = 0; i < len; i++) {
		if(isxdigit(s[i])) total++;
	}
	return total;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0xb237
callq 0xb0c0
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movq -0x20(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0xb227
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0xb229
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0xb1ef
movl -0x14(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/singpolyma[P]mnemonicode/mnencode.c
// Function: countLeadingCrapAndZeros
int countLeadingCrapAndZeros(const mn_byte *in, size_t inlen) {
	size_t i;
	for(i = 0; i < inlen; i++) {
		if(in[i] != '0' && isxdigit(in[i])) break; /* Find first non-zero hex digit */
	}
	return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0xb2aa
movq -0x8(%rbp), %rax
movq -0x18(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $0x30, %eax
je 0xb29a
callq 0xb0c0
movq (%rax), %rax
movq -0x8(%rbp), %rcx
movq -0x18(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0xb29a
jmp 0xb2aa
jmp 0xb29c
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0xb258
movq -0x18(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/singpolyma[P]mnemonicode/mnencode.c
// Function: hex2bytes
int hex2bytes(int inlen, const mn_byte *in, mn_byte *out) {
	char t[3];
	int i, j = 0, k = 0;
	i = countLeadingCrapAndZeros(in, inlen);
	inlen = inlen - i;
	in = in + i;
	if(counthex(in, inlen) % 2 != 0) {
		t[j++] = '0';
	}
	for(i = 0; i < inlen; i++) {
		if(isxdigit(in[i])) {
			t[j++] = in[i];
			if(j == 2) {
				t[2] = '\0';
				errno = 0;
				out[k++] = strtol(t, NULL, 16);
				if(errno != 0) {
					return -1;
				}
				j = 0;
			}
		}
	}
	return k;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x8(%rbp), %rsi
callq 0xb240
movl %eax, -0x20(%rbp)
movl -0x8(%rbp), %eax
subl -0x20(%rbp), %eax
movl %eax, -0x8(%rbp)
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x8(%rbp), %rsi
callq 0xb1d0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
je 0xb335
movl -0x24(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x24(%rbp)
cltq
movb $0x30, -0x1b(%rbp,%rax)
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0x8(%rbp), %eax
jge 0xb3f3
callq 0xb0c0
movq (%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x20(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0xb3e3
movq -0x10(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb (%rax,%rcx), %cl
movl -0x24(%rbp), %eax
movl %eax, %edx
addl $0x1, %edx
movl %edx, -0x24(%rbp)
cltq
movb %cl, -0x1b(%rbp,%rax)
cmpl $0x2, -0x24(%rbp)
jne 0xb3e1
movb $0x0, -0x19(%rbp)
callq 0xb040
movl $0x0, (%rax)
leaq -0x1b(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x10, %edx
callq 0xb090
movb %al, %dl
movq -0x18(%rbp), %rax
movl -0x28(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x28(%rbp)
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
callq 0xb040
cmpl $0x0, (%rax)
je 0xb3da
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0xb3f9
movl $0x0, -0x24(%rbp)
jmp 0xb3e3
jmp 0xb3e5
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0xb33c
movl -0x28(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/singpolyma[P]mnemonicode/mnencode.c
// Function: main
int main(int argc, char **argv) {
	mn_byte *buf;
	mn_byte cbuf[0x10000];
	mn_byte xbuf[0x8000];
	char outbuf[0x90000];
	int buflen;
	int n;
	int hex_encoded_input = 0;

	if(argc > 1 && strcmp(argv[1],"-x") == 0) {
		hex_encoded_input = 1;
	}

	fprintf (stderr, "%s\n", mn_wordlist_version);

	buflen = fread(cbuf, 1, sizeof cbuf, stdin);

	if(hex_encoded_input) {
		buflen = hex2bytes(buflen, cbuf, xbuf);
		if(buflen < 0) {
			perror("hex2bytes");
			return EXIT_FAILURE;
		}
		buf = xbuf;
	} else {
		buf = cbuf;
	}

	n = mn_encode(buf, buflen, outbuf, sizeof outbuf, "x x x. x x x. x x x\n");

	if(n != 0) {
		fprintf(stderr, "mn_encode error %d\n", n);
		return EXIT_FAILURE;
	}

	fwrite(outbuf, 1, strlen (outbuf), stdout);
	putchar('\n');

	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa8040, %rsp          # imm = 0xA8040
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0xa802c(%rbp)
cmpl $0x1, -0x8(%rbp)
jle 0xb45c
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x1bbc(%rip), %rsi      # 0xd004
callq 0xb070
cmpl $0x0, %eax
jne 0xb45c
movl $0x1, -0xa802c(%rbp)
movq 0x5b95(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
leaq 0x5c13(%rip), %rax      # 0x11080
movq (%rax), %rdx
leaq 0x1b90(%rip), %rsi      # 0xd007
movb $0x0, %al
callq 0xb080
leaq -0x10020(%rbp), %rdi
movq 0x5b4c(%rip), %rax      # 0x10fd8
movq (%rax), %rcx
movl $0x1, %esi
movl $0x10000, %edx          # imm = 0x10000
callq 0xb050
movl %eax, -0xa8024(%rbp)
cmpl $0x0, -0xa802c(%rbp)
je 0xb4fa
movl -0xa8024(%rbp), %edi
leaq -0x10020(%rbp), %rsi
leaq -0x18020(%rbp), %rdx
callq 0xb2c0
movl %eax, -0xa8024(%rbp)
cmpl $0x0, -0xa8024(%rbp)
jge 0xb4ed
leaq 0x1b2f(%rip), %rdi      # 0xd00b
callq 0xb0a0
movl $0x1, -0x4(%rbp)
jmp 0xb5a6
leaq -0x18020(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0xb505
leaq -0x10020(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movl -0xa8024(%rbp), %esi
leaq -0xa8020(%rbp), %rdx
movl $0x90000, %ecx          # imm = 0x90000
leaq 0x1af3(%rip), %r8       # 0xd015
callq 0xbd20
movl %eax, -0xa8028(%rbp)
cmpl $0x0, -0xa8028(%rbp)
je 0xb55d
movq 0x5abb(%rip), %rax      # 0x10ff8
movq (%rax), %rdi
movl -0xa8028(%rbp), %edx
leaq 0x1add(%rip), %rsi      # 0xd02a
movb $0x0, %al
callq 0xb080
movl $0x1, -0x4(%rbp)
jmp 0xb5a6
leaq -0xa8020(%rbp), %rax
movq %rax, -0xa8038(%rbp)
leaq -0xa8020(%rbp), %rdi
callq 0xb060
movq -0xa8038(%rbp), %rdi
movq %rax, %rdx
movq 0x5a48(%rip), %rax      # 0x10fd0
movq (%rax), %rcx
movl $0x1, %esi
callq 0xb0b0
movl $0xa, %edi
callq 0xb030
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xa8040, %rsp          # imm = 0xA8040
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)