LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_init
parse_state* parse_init(lex_state* lex) {
    parse_state* state;
    state = malloc(sizeof(struct PARSE_STATE_STRUCT));
    state->lex = lex;
    state->current_token = lex_get_next_token(state->lex);

    return state;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0x18, %edi
callq 0x10e0
movq %rax, %r14
movq %rbx, (%rax)
movq %rbx, %rdi
callq 0x2cf6
movq %rax, 0x8(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_eat
void parse_eat(parse_state* state, int token_type) {
    if (state->current_token->type == token_type) {
        state->current_token = lex_get_next_token(state->lex);
    } else {
        printf("Unexpected token_type: `%d` (was expecting `%d`)\n", state->current_token->type, token_type);
        // TODO: error
    }
}

// Assembly:
movl %esi, %edx
movq 0x8(%rdi), %rax
movl (%rax), %esi
cmpl %edx, %esi
jne 0x367a
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x2cf6
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x1d1f(%rip), %rdi      # 0x53a0
xorl %eax, %eax
jmp 0x10a0
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_integer
ast_node_integer* parse_integer(parse_state* state, scope* sc) {
    ast_node_integer* node = init_ast_node_integer(state->current_token, atoi(state->current_token->value));
    parse_eat(state, _INTEGER);
    ast_node_set_scope((ast_node*) node, (struct scope*) sc);
    return node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %r15
movq 0x8(%r15), %rdi
callq 0x1130
movq %r15, %rdi
movl %eax, %esi
callq 0x15bc
movq %rax, %r15
movq %r14, %rdi
movl $0x2, %esi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_vecptr
ast_node_vecptr* parse_vecptr(parse_state* state, scope* sc) {
    ast_node* target = parse_expr(state, sc);
    parse_eat(state, _LBRACKET);
    ast_node* index = (ast_node*) parse_expr(state, sc);
    parse_eat(state, _RBRACKET);

    ast_node_vecptr* vecptr_node = init_ast_node_vecptr(
        (void*)0,
        target,
        index
    );

    ast_node_set_scope((ast_node*)vecptr_node, (struct scope*) sc);

    return vecptr_node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x3740
movq %rax, %r15
movq %r14, %rdi
movl $0x22, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq %rax, %r12
movq %r14, %rdi
movl $0x23, %esi
callq 0x3652
xorl %edi, %edi
movq %r15, %rsi
movq %r12, %rdx
callq 0x172c
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_expr
ast_node* parse_expr(parse_state* state, scope* sc) {
    token* tok = (void*)0;

    // invalid pointer type
    ast_node* node = parse_term(state, sc);

    if (state->current_token->type == _LBRACKET) {
        tok = state->current_token;
        parse_eat(state, _LBRACKET);
        ast_node_vecptr* vecptrnode = init_ast_node_vecptr((void*)0, node, parse_expr(state, sc));
        parse_eat(state, _RBRACKET);
        return (ast_node*) vecptrnode;
    }

    while(
            state->current_token->type == _OP_PLUS ||
            state->current_token->type == _OP_SUBTRACT ||
            state->current_token->type == _NOT_EQUALS ||
            state->current_token->type == _LESS_THAN ||
            state->current_token->type == _LARGER_THAN ||
            state->current_token->type == _LESS_OR_EQUALS ||
            state->current_token->type == _LARGER_OR_EQUALS ||
            state->current_token->type == _EQUALS_EQUALS ||
            state->current_token->type == _DOT
         ) {
        tok = state->current_token;

        if (tok->type == _OP_PLUS) {
            parse_eat(state, _OP_PLUS);
        } else if (tok->type == _OP_SUBTRACT) {
            parse_eat(state, _OP_SUBTRACT);
        } else if (tok->type == _NOT_EQUALS) {
            parse_eat(state, _NOT_EQUALS);
        } else if (tok->type == _LESS_THAN) {
            parse_eat(state, _LESS_THAN);
        } else if (tok->type == _LARGER_THAN) {
            parse_eat(state, _LARGER_THAN);
        } else if (tok->type == _LESS_OR_EQUALS) {
            parse_eat(state, _LESS_OR_EQUALS);
        } else if (tok->type == _LARGER_OR_EQUALS) {
            parse_eat(state, _LARGER_OR_EQUALS);
        } else if (tok->type == _EQUALS_EQUALS) {
            parse_eat(state, _EQUALS_EQUALS);
        } else if (tok->type == _DOT) {
            parse_eat(state, _DOT);
        }

        // invalid pointer type
        node = (ast_node*) init_ast_node_binop(tok, node, parse_term(state, sc));
        ast_node_set_scope((ast_node*) node, (struct scope*) sc);
    };

    return node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x3fae
movq %rax, %r15
movq 0x8(%rbx), %r12
movl (%r12), %esi
cmpl $0x22, %esi
jne 0x37a3
movq %rbx, %rdi
movl $0x22, %esi
callq 0x3652
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3740
xorl %edi, %edi
movq %r15, %rsi
movq %rax, %rdx
callq 0x172c
movq %rax, %r14
movq %rbx, %rdi
movl $0x23, %esi
callq 0x3652
movq %r14, %rax
jmp 0x37fe
movabsq $0x1000000060, %r13     # imm = 0x1000000060
leal -0x15(%rsi), %eax
cmpl $0x6, %eax
jb 0x37c2
cmpl $0x24, %esi
ja 0x37fb
movl %esi, %eax
btq %rax, %r13
jae 0x37fb
movq %rbx, %rdi
callq 0x3652
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3fae
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1318
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x12cb
movq 0x8(%rbx), %r12
movl (%r12), %esi
jmp 0x37ad
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_vector
ast_node_vector* parse_vector(parse_state* state, scope* sc) {
    parse_eat(state, _LBRACKET);
    ss_vector* items = ss_init_vector(sizeof(ast_node));
    
    ss_vector_append(items, (ast_node*) parse_expr(state, sc));
    
    while (state->current_token->type == _COMMA) {
        parse_eat(state, _COMMA);
        ss_vector_append(items, (ast_node*) parse_expr(state, sc));
    }

    parse_eat(state, _RBRACKET);

    ast_node_vector* node = init_ast_node_vector(
        state->current_token,
        0,
        items
    );

    ast_node_set_scope((ast_node*) node, (struct scope*) sc);

    return node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x22, %esi
callq 0x3652
movl $0x18, %edi
callq 0x47a4
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq %r15, %rdi
movq %rax, %rsi
callq 0x47d8
movq 0x8(%r14), %rax
cmpl $0x10, (%rax)
jne 0x3862
movq %r14, %rdi
movl $0x10, %esi
callq 0x3652
jmp 0x3834
movq %r14, %rdi
movl $0x23, %esi
callq 0x3652
movq 0x8(%r14), %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x176c
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_float
ast_node_float* parse_float(parse_state* state, scope* sc) {
    ast_node_float* node = init_ast_node_float(state->current_token, atof(state->current_token->value));
    parse_eat(state, _FLOAT);
    ast_node_set_scope((ast_node*) node, (struct scope*) sc);
    return node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %r15
movq 0x8(%r15), %rdi
callq 0x1070
cvtsd2ss %xmm0, %xmm0
movq %r15, %rdi
callq 0x147c
movq %rax, %r15
movq %r14, %rdi
movl $0x27, %esi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_return
ast_node_return* parse_return(parse_state* state, scope* sc) {
    parse_eat(state, _RETURN);
    ast_node* expr = parse_expr(state, sc);

    ast_node_return* return_ast = init_ast_node_return(
        state->current_token,
        expr
    );

    ast_node_set_scope((ast_node*) return_ast, (struct scope*) sc);

    return return_ast;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x11, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq 0x8(%r14), %rdi
movq %rax, %rsi
callq 0x162c
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_while
ast_node_while* parse_while(parse_state* state, scope* sc) {
    parse_eat(state, _WHILE);
    parse_eat(state, _LPAREN);
    ast_node* expr = parse_expr(state, sc);
    parse_eat(state, _RPAREN);
    parse_eat(state, _LBRACE);

    ast_node_compound* body = parse_compound(state, sc);
    ast_node_set_scope((ast_node*) body, (struct scope*) sc);

    parse_eat(state, _RBRACE);

    ast_node_while* while_ast = init_ast_node_while(
        state->current_token,
        expr,
        body
    );

    ast_node_set_scope((ast_node*) while_ast, (struct scope*) sc);

    return while_ast;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1d, %esi
callq 0x3652
movq %r14, %rdi
movl $0xc, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq %rax, %r15
movq %r14, %rdi
movl $0xd, %esi
callq 0x3652
movq %r14, %rdi
movl $0xe, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x433b
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rdi
movl $0xf, %esi
callq 0x3652
movq 0x8(%r14), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x17ac
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_foreach
ast_node_foreach* parse_foreach(parse_state* state, scope* sc) {
    parse_eat(state, _FOREACH);
    parse_eat(state, _LPAREN);
    ast_node* iterable = parse_expr(state, sc);
    parse_eat(state, _AS);
    token* value_name_tok = state->current_token;
    parse_eat(state, _ID);
    parse_eat(state, _RPAREN);
    parse_eat(state, _LBRACE);
    ast_node_compound* body = parse_compound(state, sc);
    parse_eat(state, _RBRACE);

    ast_node_foreach* foreach_ast = init_ast_node_foreach(
        value_name_tok,
        iterable,
        value_name_tok,
        body        
    );

    ast_node_set_scope((ast_node*) foreach_ast, (struct scope*) sc);

    return foreach_ast;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1e, %esi
callq 0x3652
movq %r14, %rdi
movl $0xc, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq %rax, %r15
movq %r14, %rdi
movl $0x1f, %esi
callq 0x3652
movq 0x8(%r14), %r12
movq %r14, %rdi
movl $0x1, %esi
callq 0x3652
movq %r14, %rdi
movl $0xd, %esi
callq 0x3652
movq %r14, %rdi
movl $0xe, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x433b
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r13
movq %r14, %rdi
movl $0xf, %esi
callq 0x3652
movq %r12, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x14b4
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_else
ast_node_else* parse_else(parse_state* state, scope* sc) {
    parse_eat(state, _ELSE);
    ast_node_if* ifnode = (void*)0;
    ast_node_compound* body = (void*)0;

    if (state->current_token->type == _IF) {
        ifnode = parse_if(state, sc);
    } else {
        parse_eat(state, _LBRACE);
        body =  parse_compound(state, sc);
        parse_eat(state, _RBRACE);
    }

    ast_node_else* else_ast = init_ast_node_else(
        state->current_token,
        body,
        (struct ast_node_if*) ifnode
    );

    ast_node_set_scope((ast_node*) else_ast, (struct scope*) sc);

    return else_ast;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x13, %esi
callq 0x3652
movq 0x8(%r14), %rax
cmpl $0x12, (%rax)
jne 0x3aea
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3b48
movq %rax, %r15
xorl %r12d, %r12d
jmp 0x3b1f
movq %r14, %rdi
movl $0xe, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x433b
xorl %r15d, %r15d
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r12
movq %r14, %rdi
movl $0xf, %esi
callq 0x3652
movq 0x8(%r14), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x1418
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_if
ast_node_if* parse_if(parse_state* state, scope* sc) {
    parse_eat(state, _IF);
    parse_eat(state, _LPAREN);
    ast_node* expr = parse_expr(state, sc);
    parse_eat(state, _RPAREN);
    parse_eat(state, _LBRACE);
    ast_node_compound* body =  parse_compound(state, sc);
    parse_eat(state, _RBRACE);

    ast_node_else* elsenode = (void*)0;

    if (state->current_token->type == _ELSE)
        elsenode = parse_else(state, sc);

    ast_node_if* if_ast = init_ast_node_if(
        state->current_token,
        expr,
        body,
        elsenode
    );

    ast_node_set_scope((ast_node*) if_ast, (struct scope*) sc);

    return if_ast;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x12, %esi
callq 0x3652
movq %r14, %rdi
movl $0xc, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3740
movq %rax, %r15
movq %r14, %rdi
movl $0xd, %esi
callq 0x3652
movq %r14, %rdi
movl $0xe, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x433b
xorl %r12d, %r12d
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r13
movq %r14, %rdi
movl $0xf, %esi
callq 0x3652
movq 0x8(%r14), %rdi
cmpl $0x13, (%rdi)
jne 0x3bde
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3ab3
movq %rax, %r12
movq 0x8(%r14), %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r12, %rcx
callq 0x1574
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_variable
ast_node_variable* parse_variable(parse_state* state, scope* sc) {
    ast_node_variable* var = init_ast_node_variable(state->current_token, (void*)0);
    parse_eat(state, _ID);

    ast_node_set_scope((ast_node*) var, (struct scope*) sc);

    return var;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
xorl %esi, %esi
callq 0x16bc
movq %rax, %r15
movq %r14, %rdi
movl $0x1, %esi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_function_call
ast_node_function_call* parse_function_call(parse_state* state, scope* sc) {
    token* tok = state->current_token;
    parse_eat(state, _FUNCTION_CALL);
    ss_vector* args = ss_init_vector(sizeof(ast_node));

    parse_eat(state, _LPAREN);

    if (state->current_token->type != _RPAREN) {
        ss_vector_append(args, (ast_node*) parse_expr(state, sc));

        while (state->current_token->type == _COMMA) {
            parse_eat(state, _COMMA);
            ss_vector_append(args, (ast_node*) parse_expr(state, sc));
        }
    }

    parse_eat(state, _RPAREN);

    ast_node_function_call* call = init_ast_node_function_call(
        tok,
        args
    );

    ast_node_set_scope((ast_node*)call, (struct scope*) sc);

    return call;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
movq 0x8(%rdi), %r14
movl $0x1c, %esi
callq 0x3652
movl $0x18, %edi
callq 0x47a4
movq %rax, %r12
movq %r15, %rdi
movl $0xc, %esi
callq 0x3652
movq 0x8(%r15), %rax
cmpl $0xd, (%rax)
jne 0x3cc4
movq %r15, %rdi
movl $0xd, %esi
callq 0x3652
movq %r14, %rdi
movq %r12, %rsi
callq 0x14fc
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3740
movq %r12, %rdi
movq %rax, %rsi
callq 0x47d8
movq 0x8(%r15), %rax
cmpl $0x10, (%rax)
jne 0x3c92
movq %r15, %rdi
movl $0x10, %esi
callq 0x3652
jmp 0x3cc4
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_component
ast_node_component* parse_component(parse_state* state, scope* sc) {
    parse_eat(state, _TYPE_COMPONENT);

    sc = init_scope();
    
    token* name = state->current_token;
    parse_eat(state, _ID);

    ss_vector* deps = ss_init_vector(sizeof(token));

    if (state->current_token->type == _USE) {
        parse_eat(state, _USE);
        ss_vector_append(deps, state->current_token);
        parse_eat(state, _ID); 

        while (state->current_token->type == _COMMA) {
            parse_eat(state, _COMMA);
            parse_eat(state, _ID); 
            ss_vector_append(deps, state->current_token);
        }
    }

    parse_eat(state, _LBRACE);
    ast_node_compound* body = parse_compound(state, sc);
    ast_node_set_scope((ast_node*)body, (struct scope*)sc);

    parse_eat(state, _RBRACE);

    ast_node_component* component = init_ast_node_component(
        name,
        name,
        body,
        deps
    );
    
    //ast_node_set_scope((ast_node*)component, (struct scope*)sc);

    return component;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x2f, %esi
callq 0x3652
xorl %eax, %eax
callq 0x45a4
movq %rax, %r15
movq 0x8(%rbx), %r14
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3652
movl $0x10, %edi
callq 0x47a4
movq %rax, %r12
movq 0x8(%rbx), %rax
cmpl $0xb, (%rax)
jne 0x3f52
movq %rbx, %rdi
movl $0xb, %esi
callq 0x3652
movq 0x8(%rbx), %rsi
movq %r12, %rdi
callq 0x47d8
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3652
movq 0x8(%rbx), %rax
cmpl $0x10, (%rax)
jne 0x3f52
movq %rbx, %rdi
movl $0x10, %esi
callq 0x3652
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3652
movq 0x8(%rbx), %rsi
movq %r12, %rdi
callq 0x47d8
jmp 0x3f21
movq %rbx, %rdi
movl $0xe, %esi
callq 0x3652
movq %rbx, %rdi
movq %r15, %rsi
callq 0x433b
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r13
movq %rax, %rdi
movq %r15, %rsi
callq 0x12cb
movq %rbx, %rdi
movl $0xf, %esi
callq 0x3652
movq %r14, %rdi
movq %r14, %rsi
movq %r13, %rdx
movq %r12, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x13a0
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_term
ast_node* parse_term(parse_state* state, scope* sc) {
    token* tok = (void*)0;

    ast_node* node = parse_factor(state, sc);

    if (state->current_token->type == _EQUALS) {
        token* tok = state->current_token;
        parse_eat(state, _EQUALS);
        ast_node* assign_node = (ast_node*)  init_ast_node_binop(tok, node, parse_expr(state, sc));
        ast_node_set_scope((ast_node*) assign_node, (struct scope*) sc);
        return assign_node;
    } 

    while (
            state->current_token->type == _OP_MULTIPLY ||
            state->current_token->type == _OP_DIVIDE
          ) {
        tok = state->current_token;

        if (tok->type == _OP_MULTIPLY) {
            parse_eat(state, _OP_MULTIPLY);
        } else if (tok->type == _OP_DIVIDE) {
            parse_eat(state, _OP_DIVIDE);
        }

        // this probably wont work since `node` is of pointer type ast_node*
        node = (ast_node*) init_ast_node_binop(tok, node, parse_factor(state, sc));
        ast_node_set_scope((ast_node*) node, (struct scope*) sc);
    }

    return (ast_node*) node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
callq 0x3cf2
movq %rax, %r14
movq 0x8(%r15), %r12
movl (%r12), %eax
cmpl $0x1b, %eax
jne 0x400a
movq %r15, %rdi
movl $0x1b, %esi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3740
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1318
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
jmp 0x405d
leal -0x7(%rax), %ecx
cmpl $0x1, %ecx
ja 0x405d
xorl %esi, %esi
cmpl $0x7, %eax
setne %sil
addl $0x7, %esi
movq %r15, %rdi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3cf2
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1318
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq 0x8(%r15), %r12
movl (%r12), %eax
leal -0x7(%rax), %ecx
cmpl $0x2, %ecx
jb 0x4012
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_statement
ast_node* parse_statement(parse_state* state, scope* sc) {
    if (state->current_token->type == _INTERPRETER_INSTR) {
        return (ast_node*) parse_interpreter_instr(state, sc);
    } else if (state->current_token->type == _RETURN) {
        return (ast_node*) parse_return(state, sc);
    } else if (state->current_token->type == _TYPE_COMPONENT) {
        return (ast_node*) parse_component(state, sc);
    } else if (state->current_token->type == _IF) {
        return (ast_node*) parse_if(state, sc);
    } else if (state->current_token->type == _WHILE) {
        return (ast_node*) parse_while(state, sc);
    } else if (state->current_token->type == _FOREACH) {
        return (ast_node*) parse_foreach(state, sc);
    } else if (state->current_token->type == _DATA_TYPE) {
        return (ast_node*) parse_variable_definition(state, sc);
    } else if (state->current_token->type == _TYPE_FUNCTION) {
        return (ast_node*) parse_function_definition(state, sc);
    }  else if (state->current_token->type == _FUNCTION_CALL) {
        return (ast_node*) parse_function_call(state, sc);
    } else if (state->current_token->type == _ID || state->current_token->type == _INTEGER || state->current_token->type == _FLOAT) {
        return parse_expr(state, sc);
    } else {
        return (void*)0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rax
movl (%rax), %eax
cmpl $0x1b, %eax
jle 0x4096
leal -0x1c(%rax), %ecx
cmpl $0xb, %ecx
ja 0x40a9
leaq 0x12e9(%rip), %rax      # 0x5370
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
popq %rbp
jmp 0x3c50
cmpl $0x10, %eax
jg 0x40b9
leal -0x1(%rax), %ecx
cmpl $0x2, %ecx
jae 0x40c9
popq %rbp
jmp 0x3740
cmpl $0x2f, %eax
je 0x40f0
cmpl $0x30, %eax
jne 0x40d4
popq %rbp
jmp 0x4240
cmpl $0x11, %eax
je 0x40ea
cmpl $0x12, %eax
jne 0x40d4
popq %rbp
jmp 0x3b48
cmpl $0x4, %eax
jne 0x40d4
popq %rbp
jmp 0x4182
xorl %eax, %eax
popq %rbp
retq
popq %rbp
jmp 0x40f6
popq %rbp
jmp 0x39ec
popq %rbp
jmp 0x392f
popq %rbp
jmp 0x38eb
popq %rbp
jmp 0x3eaf
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_interpreter_instr
ast_node_interpreter_instr* parse_interpreter_instr(parse_state* state, scope* sc) {
    token* tok = state->current_token;
    char* instruction_name = tok->value;

    // TODO: make this better, give the user some information about which
    // instruction name that was unknown.
    if (strcmp(instruction_name, "include") != 0)
        error_in_parser("Unknown instruction name");

    parse_eat(state, _INTERPRETER_INSTR);
    char* instruction_value = state->current_token->value;
    parse_eat(state, _STRING);

    ast_node_interpreter_instr* instr = init_ast_node_interpreter_instr(
        tok,
        instruction_name,
        instruction_value        
    );
    
    ast_node_set_scope((ast_node*) instr, (struct scope*)sc);

    return instr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r12
movq 0x8(%rdi), %r14
movq 0x8(%r14), %r15
leaq 0x12d6(%rip), %rsi      # 0x53ef
movq %r15, %rdi
callq 0x10c0
testl %eax, %eax
je 0x4131
leaq 0x12cb(%rip), %rdi      # 0x53f7
callq 0x1b52
movq %r12, %rdi
movl $0x20, %esi
callq 0x3652
movq 0x8(%r12), %rax
movq 0x8(%rax), %r13
movq %r12, %rdi
movl $0x3, %esi
callq 0x3652
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x15ec
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_variable_definition
ast_node_variable_definition* parse_variable_definition(parse_state* state, scope* sc) {
    char* data_type_name = state->current_token->value;
    int data_type = name_to_data_type(data_type_name);
    ast_node* value;

    parse_eat(state, _DATA_TYPE);

    if (data_type == _DATA_TYPE_VECTOR) {
        parse_eat(state, _LESS_THAN);
        //char* vector_data_type_name = state->current_token->value;
        parse_eat(state, _DATA_TYPE);
        //int vector_data_type = name_to_data_type(vector_data_type_name);
        parse_eat(state, _LARGER_THAN);
    }

    token* tok = state->current_token;
    parse_eat(state, _ID);

    if (state->current_token->type == _EQUALS) {
        parse_eat(state, _EQUALS);
        value = parse_expr(state, sc);
    } else {
        value = (ast_node*) init_ast_node_empty((void*)0);
    }

    ast_node_variable_definition* definition = init_ast_node_variable_definition(
        tok,
        data_type,
        value
    );

    ast_node_set_scope((ast_node*)definition, (struct scope*) sc);

    return definition;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
movq 0x8(%rdi), %rax
movq 0x8(%rax), %rdi
callq 0x17ec
movl %eax, %r14d
movq %r15, %rdi
movl $0x4, %esi
callq 0x3652
cmpl $0x2e, %r14d
jne 0x41dd
movq %r15, %rdi
movl $0x16, %esi
callq 0x3652
movq %r15, %rdi
movl $0x4, %esi
callq 0x3652
movq %r15, %rdi
movl $0x17, %esi
callq 0x3652
movq 0x8(%r15), %r12
movq %r15, %rdi
movl $0x1, %esi
callq 0x3652
movq 0x8(%r15), %rax
cmpl $0x1b, (%rax)
jne 0x4211
movq %r15, %rdi
movl $0x1b, %esi
callq 0x3652
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3740
jmp 0x4218
xorl %edi, %edi
callq 0x1458
movq %r12, %rdi
movl %r14d, %esi
movq %rax, %rdx
callq 0x16ec
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_function_definition
ast_node_function_definition* parse_function_definition(parse_state* state, scope* sc) {
    parse_eat(state, _TYPE_FUNCTION);

    char* data_type_name = state->current_token->value;
    int data_type = name_to_data_type(data_type_name);
    ast_node_compound* body;
    ss_vector* args = ss_init_vector(sizeof(ast_node));

    parse_eat(state, _DATA_TYPE);
    token* tok = state->current_token;
    parse_eat(state, _ID);

    if (state->current_token->type == _LPAREN) {
        parse_eat(state, _LPAREN);
       
        ss_vector_append(args, (ast_node*) parse_variable_definition(state, sc));

        while (state->current_token->type == _COMMA) {
            parse_eat(state, _COMMA);
            ss_vector_append(args, (ast_node*) parse_variable_definition(state, sc));
        }
    }

    parse_eat(state, _LBRACE);
    body = parse_compound(state, sc);
    parse_eat(state, _RBRACE);

    ast_node_function_definition* definition = init_ast_node_function_definition(
        tok,
        data_type,
        args,
        body 
    );

    ast_node_set_scope((ast_node*) definition, (struct scope*)sc);

    return definition;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x30, %esi
callq 0x3652
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
callq 0x17ec
movl %eax, -0x2c(%rbp)
movl $0x18, %edi
callq 0x47a4
movq %rax, %r12
movq %r14, %rdi
movl $0x4, %esi
callq 0x3652
movq 0x8(%r14), %r13
movq %r14, %rdi
movl $0x1, %esi
callq 0x3652
movq 0x8(%r14), %rax
cmpl $0xc, (%rax)
jne 0x42d8
movq %r14, %rdi
movl $0xc, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4182
movq %r12, %rdi
movq %rax, %rsi
callq 0x47d8
movq 0x8(%r14), %rax
cmpl $0x10, (%rax)
jne 0x42d8
movq %r14, %rdi
movl $0x10, %esi
jmp 0x42aa
movq %r14, %rdi
movl $0xe, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x433b
xorl %edi, %edi
movq %rax, %rsi
callq 0x13e8
movq %rax, %r15
movq %r14, %rdi
movl $0xf, %esi
callq 0x3652
movq %r13, %rdi
movl -0x2c(%rbp), %esi
movq %r12, %rdx
movq %r15, %rcx
callq 0x152c
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12cb
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/parse.c
// Function: parse_statement_list
ss_vector* parse_statement_list(parse_state* state, scope* sc) {
    ss_vector* nodes = ss_init_vector(sizeof(ast_node));

    ss_vector_append(nodes, parse_statement(state, sc));

    while (state->current_token->type == _SEMI) {
        parse_eat(state, _SEMI);

        ast_node* next_statement = parse_statement(state, sc);

        if (!next_statement)
            break;

        ss_vector_append(nodes, next_statement);
    }

    return nodes;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl $0x18, %edi
callq 0x47a4
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4069
movq %r15, %rdi
movq %rax, %rsi
callq 0x47d8
movq 0x8(%r14), %rax
cmpl $0x14, (%rax)
jne 0x4394
movq %r14, %rdi
movl $0x14, %esi
callq 0x3652
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4069
testq %rax, %rax
jne 0x4363
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/scope.c
// Function: init_scope
scope* init_scope() {
    scope* sc;
    sc = malloc(sizeof(scope));
    sc->variables = ss_init_vector(sizeof(ast_node_variable_definition));
    sc->functions = ss_init_vector(sizeof(ast_node_function_definition));
    sc->components = ss_init_vector(sizeof(ast_node_component));

    return sc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl $0x18, %edi
callq 0x10e0
movq %rax, %rbx
movl $0x30, %edi
callq 0x47a4
movq %rax, (%rbx)
movl $0x40, %edi
callq 0x47a4
movq %rax, 0x8(%rbx)
movl $0x38, %edi
callq 0x47a4
movq %rax, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/scope.c
// Function: delete_variable_definition
void delete_variable_definition(scope* sc, char* name) {
    ast_node_variable_definition* definition = (void*)0;

    for (int i = 0; i < sc->variables->size; i++) {
        definition = (ast_node_variable_definition*) sc->variables->items[i];

        if (strcmp(definition->tok->value, name) == 0) {
            free(sc->variables->items[i]);
            sc->variables->size -=1;
        } else {
            definition = (void*)0;
        }
    } 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, -0x30(%rbp)
movq (%rdi), %r12
movq (%r12), %r14
testq %r14, %r14
je 0x465a
movq %rsi, %rbx
xorl %r13d, %r13d
movq 0x8(%r12), %rax
movq (%rax,%r13,8), %r15
movq 0x18(%r15), %rax
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0x10c0
testl %eax, %eax
jne 0x4652
movq %r15, %rdi
callq 0x1030
movq -0x30(%rbp), %rax
movq (%rax), %r12
movq (%r12), %r14
decq %r14
movq %r14, (%r12)
incq %r13
cmpq %r13, %r14
ja 0x461b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/scope.c
// Function: get_variable_definition
ast_node_variable_definition* get_variable_definition(scope* sc, char* name) {
    ast_node_variable_definition* definition = (void*)0;

    for (int i = 0; i < sc->variables->size; i++) {
        definition = (ast_node_variable_definition*) sc->variables->items[i];

        if (strcmp(definition->tok->value, name) == 0) {
            break;
        } else {
            definition = (void*)0;
        }
    }

    return definition;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x46c8
movq %rsi, %rbx
movq 0x8(%rax), %r12
xorl %r13d, %r13d
movq (%r12,%r13,8), %r14
movq 0x18(%r14), %rax
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0x10c0
testl %eax, %eax
je 0x46cb
incq %r13
cmpq %r13, %r15
jne 0x46a8
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/scope.c
// Function: get_function_definition
ast_node_function_definition* get_function_definition(scope* sc, char* name) {
    ast_node_function_definition* definition = (void*)0;

    for (int i = 0; i < sc->functions->size; i++) {
        definition = (ast_node_function_definition*) sc->functions->items[i];

        if (definition) {
            if (definition->tok) {
                if (definition->tok->value) {
        if (strcmp(definition->tok->value, name) == 0) {
            break;
        } else {
            definition = (void*)0;
        }
            }
        }
        }
    }

    return definition;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x4735
movq %rsi, %rbx
movq 0x8(%rax), %r12
xorl %r13d, %r13d
movq (%r12,%r13,8), %r14
testq %r14, %r14
je 0x4728
movq 0x18(%r14), %rax
testq %rax, %rax
je 0x472b
movq 0x8(%rax), %rdi
testq %rdi, %rdi
je 0x472b
movq %rbx, %rsi
callq 0x10c0
testl %eax, %eax
je 0x4738
xorl %r14d, %r14d
incq %r13
cmpq %r13, %r15
jne 0x4701
jmp 0x4738
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/scope.c
// Function: get_component
ast_node_component* get_component(scope* sc, char* name) {
    ast_node_component* component = (void*)0;

    for (int i = 0; i < sc->components->size; i++) {
        component = (ast_node_component*) sc->components->items[i];

        if (strcmp(component->tok->value, name) == 0) {
            break;
        } else {
            component = (void*)0;
        }
    }

    return component;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x478e
movq %rsi, %rbx
movq 0x8(%rax), %r12
xorl %r13d, %r13d
movq (%r12,%r13,8), %r14
movq 0x18(%r14), %rax
movq 0x8(%rax), %rdi
movq %rbx, %rsi
callq 0x10c0
testl %eax, %eax
je 0x4791
incq %r13
cmpq %r13, %r15
jne 0x476e
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/ss_vector.c
// Function: ss_vector_free
void ss_vector_free(ss_vector* vec) {
    for (int i = 0; i < vec->size; i++)
        free(vec->items[i]);

    free(vec->items);
    free(vec);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x4839
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x1030
incq %r14
cmpq %r14, (%rbx)
ja 0x4824
movq 0x8(%rbx), %rdi
callq 0x1030
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x1030
nop
// File: /workspace/github_c_makefile_star2_O3/sebbekarlsson[P]cola/src/strutils.c
// Function: is_integer
int is_integer(char* str) {
    for (int i = 0; i < strlen(str); i++)
        if (!isdigit(str[i]))
            return 0;

    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x1090
testq %rax, %rax
je 0x48c2
movq %rax, %r14
callq 0x1170
movq (%rax), %rcx
movsbq (%rbx), %rdx
xorl %eax, %eax
testb $0x8, 0x1(%rcx,%rdx,2)
je 0x48c7
movl $0x1, %eax
movq %rax, %rdx
cmpq %rax, %r14
je 0x48b8
movsbq (%rbx,%rdx), %rsi
leaq 0x1(%rdx), %rax
testb $0x8, 0x1(%rcx,%rsi,2)
jne 0x48a0
xorl %eax, %eax
cmpq %rdx, %r14
setbe %al
jmp 0x48c7
movl $0x1, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/reduce.c
// Function: print_msg
BEH_DECL(print_msg)
{
	CONS* text = map_get(MINE, ATOM("message"));

	DBUG_ENTER("print_msg");
	if (atomp(text)) {
		printf("%s", atom_str(text));
	}
	printf("%s\n", cons_to_str(WHAT));
	DBUG_RETURN;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x115e6
movq %rax, %rdi
callq 0x96d9
movq %rax, %r14
leaq 0x118f3(%rip), %rdi     # 0x14004
callq 0xea73
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r14
leaq 0x118df(%rip), %rax     # 0x1400c
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18c4e(%rip), %rax     # 0x1b388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x41, 0xc(%rdi)
leaq 0x143af(%rip), %rcx     # 0x16b04
movq %rcx, 0x10(%rdi)
leaq 0x189d0(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
movl %r14d, %eax
andl $0x3, %eax
cmpl $0x2, %eax
jne 0x2791
movq %r14, %rdi
callq 0xead2
leaq 0x1316d(%rip), %rdi     # 0x158f4
movq %rax, %rsi
xorl %eax, %eax
callq 0x20e0
movq 0x30(%rbx), %rdi
callq 0x11685
movq %rax, %rdi
callq 0xb5b4
movq %rax, %rdi
callq 0x20a0
movq %rsp, %rdi
movl $0x46, 0xc(%rdi)
callq 0x1351f
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/reduce.c
// Function: label_msg
BEH_DECL(label_msg)
{
	CONS* state = MINE;
	CONS* label = map_get(state, ATOM("label"));
	CONS* ctx = map_get(state, ATOM("ctx"));
	CONS* cont = map_get(state, cont_symbol);

	DBUG_ENTER("label_msg");
	assert(!nilp(label));
	SEND(cont, map_put(ctx, label, WHAT));
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x115e6
movq %rax, %rdi
callq 0x96d9
movq %rax, %r12
leaq 0x1182c(%rip), %rdi     # 0x14016
callq 0xea73
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r14
leaq 0x11816(%rip), %rdi     # 0x1401c
callq 0xea73
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r15
movq 0x1891e(%rip), %rsi     # 0x1b140
movq %r12, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r12
leaq 0x1181b(%rip), %rax     # 0x14051
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18b45(%rip), %rax     # 0x1b388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x54, 0xc(%rdi)
leaq 0x142a6(%rip), %rcx     # 0x16b04
movq %rcx, 0x10(%rdi)
leaq 0x188c7(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
cmpq 0x18743(%rip), %r14     # 0x1afc0
je 0x28bf
movq 0x30(%rbx), %rdi
callq 0x11685
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x11b2c
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0xa30f
movq %rsp, %rdi
movl $0x57, 0xc(%rdi)
callq 0x1351f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x1175a(%rip), %rdi     # 0x14020
leaq 0x11760(%rip), %rsi     # 0x1402d
leaq 0x11762(%rip), %rcx     # 0x14036
movl $0x55, %edx
callq 0x2100
// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/reduce.c
// Function: unlabel_msg
BEH_DECL(unlabel_msg)
{
	CONS* state = MINE;
	CONS* label = map_get(state, ATOM("label"));
	CONS* cont = map_get(state, cont_symbol);
	CONS* value = map_get(WHAT, label);

	DBUG_ENTER("unlabel_msg");
	assert(!nilp(label));
	SEND(cont, value);
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x115e6
movq %rax, %rdi
callq 0x96d9
movq %rax, %r15
leaq 0x1170f(%rip), %rdi     # 0x14016
callq 0xea73
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r14
movq 0x1881d(%rip), %rsi     # 0x1b140
movq %r15, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x11685
movq %rax, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r12
leaq 0x116ff(%rip), %rax     # 0x1404f
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18a2b(%rip), %rax     # 0x1b388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x65, 0xc(%rdi)
leaq 0x1418c(%rip), %rcx     # 0x16b04
movq %rcx, 0x10(%rdi)
leaq 0x187ad(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
cmpq 0x18629(%rip), %r14     # 0x1afc0
je 0x29c2
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xa30f
movq %rsp, %rdi
movl $0x68, 0xc(%rdi)
callq 0x1351f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x11657(%rip), %rdi     # 0x14020
leaq 0x1165d(%rip), %rsi     # 0x1402d
leaq 0x11684(%rip), %rcx     # 0x1405b
movl $0x66, %edx
callq 0x2100
// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/reduce.c
// Function: apply_expr
BEH_DECL(apply_expr)
{
	CONS* msg = WHAT;
	CONS* expr = map_get(msg, expr_symbol);
	CONS* state = MINE;
	CONS* form = map_get(state, form_symbol);
	CONS* cont = map_get(state, cont_symbol);
	CONS* env = map_get(state, env_symbol);
	
	DBUG_ENTER("apply_expr");
	if (actorp(expr)) {
		msg = NIL;
		msg = map_put(msg, env_symbol, env);
		msg = map_put(msg, cont_symbol, cont);
		msg = map_put(msg, expr_symbol, form);
		SEND(expr, msg);
	} else {	/* error */
		/* FIXME: consider the meaning of non-actor applications, such as numbers */
		SEND(an_error, ATOM("apply: actor required"));
		SEND(cont, map_put(NIL, expr_symbol, undefined_symbol));
	}
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x11685
movq 0x18747(%rip), %rsi     # 0x1b148
movq %rax, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x115e6
movq %rax, %rdi
callq 0x96d9
movq %rax, %r13
movq 0x18727(%rip), %rsi     # 0x1b150
movq %rax, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r12
movq 0x18703(%rip), %rsi     # 0x1b140
movq %r13, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r15
movq 0x18707(%rip), %rsi     # 0x1b158
movq %r13, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r13
leaq 0x11611(%rip), %rax     # 0x14076
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x18914(%rip), %rax     # 0x1b388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x78, 0xc(%rdi)
leaq 0x14075(%rip), %rcx     # 0x16b04
movq %rcx, 0x10(%rdi)
leaq 0x18696(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
movl %r14d, %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x2af4
movq 0x1869f(%rip), %rsi     # 0x1b158
leaq 0x18838(%rip), %rdi     # 0x1b2f8
movq %r13, %rdx
callq 0x11b2c
movq 0x18671(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq %r15, %rdx
callq 0x11b2c
movq 0x18667(%rip), %rsi     # 0x1b148
movq %rax, %rdi
movq %r12, %rdx
callq 0x11b2c
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x2b35
movq 0x18665(%rip), %r14     # 0x1b160
leaq 0x1157f(%rip), %rdi     # 0x14081
callq 0xea73
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xa30f
movq 0x1862c(%rip), %rsi     # 0x1b148
movq 0x18645(%rip), %rdx     # 0x1b168
leaq 0x187ce(%rip), %rdi     # 0x1b2f8
callq 0x11b2c
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xa30f
leaq 0x8(%rsp), %rdi
movl $0x84, 0xc(%rdi)
callq 0x1351f
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/reduce.c
// Function: apply_reduce
BEH_DECL(apply_reduce)
{
	CONS* msg = WHAT;
	CONS* expr = map_get(msg, expr_symbol);
	CONS* state = MINE;
	CONS* cont = map_get(state, cont_symbol);
	CONS* env = map_get(state, env_symbol);
	
	DBUG_ENTER("apply_reduce");
	DBUG_PRINT("", ("expr=%s", cons_to_str(expr)));
	msg = NIL;
	msg = map_put(msg, env_symbol, env);
	msg = map_put(msg, cont_symbol, cont);
	msg = map_put(msg, expr_symbol, expr);
	SEND(a_reduce, msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x11685
movq 0x18106(%rip), %rsi     # 0x1b148
movq %rax, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x115e6
movq %rax, %rdi
callq 0x96d9
movq %rax, %r12
movq 0x180d6(%rip), %rsi     # 0x1b140
movq %rax, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r15
movq 0x180da(%rip), %rsi     # 0x1b158
movq %r12, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r12
leaq 0x110a9(%rip), %rax     # 0x1413b
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x182e9(%rip), %rbp     # 0x1b388
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xd8, 0xc(%rdi)
leaq 0x13a49(%rip), %r13     # 0x16b04
movq %r13, 0x10(%rdi)
leaq 0x1806a(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
leaq 0x18856(%rip), %rax     # 0x1b930
cmpl $0x0, (%rax)
je 0x311f
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x12afc
testl %eax, %eax
je 0x311f
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0xd9, 0xc(%rax)
movq %r14, %rdi
callq 0xb5b4
leaq 0x11480(%rip), %rdi     # 0x14595
movq %rax, %rsi
xorl %eax, %eax
callq 0x1340b
movq 0x18032(%rip), %rsi     # 0x1b158
leaq 0x181cb(%rip), %rdi     # 0x1b2f8
movq %r12, %rdx
callq 0x11b2c
movq 0x18004(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq %r15, %rdx
callq 0x11b2c
movq 0x17ffa(%rip), %rsi     # 0x1b148
movq %rax, %rdi
movq %r14, %rdx
callq 0x11b2c
movq 0x18020(%rip), %rsi     # 0x1b180
movq %rbx, %rdi
movq %rax, %rdx
callq 0xa30f
movq %rsp, %rdi
movl $0xdf, 0xc(%rdi)
callq 0x1351f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq