LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_compile_init_expr
static void fin_mod_compile_init_expr(fin_ctx_t* ctx, fin_mod_compiler_t* cmp, fin_ast_init_expr_t* expr, fin_str_t* type_name) {
    fin_mod_type_t* type = fin_mod_find_type(ctx, cmp->mod, type_name);
    assert(type);
    int32_t args_count = 0;
    for (fin_ast_arg_expr_t* e = expr->args; e; e = e->next)
        args_count++;
    assert(args_count == type->fields_count);
    int32_t idx = 0;
    for (fin_ast_arg_expr_t* e = expr->args; e; e = e->next) {
        fin_str_t* arg_type = fin_mod_resolve_type(ctx, cmp, e->expr);
        assert(arg_type == type->fields[idx].type);
        fin_str_destroy(ctx, arg_type);
        fin_mod_compile_expr(ctx, cmp, e->expr);
        idx++;
    }
    fin_mod_code_emit_uint8(ctx, &cmp->code, fin_op_new);
    fin_mod_code_emit_uint8(ctx, &cmp->code, type->fields_count);
    FIN_LOG("\tnew        %2d         // %s\n", type->fields_count, fin_str_cstr(type->name));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
movq %rcx, %rdx
callq 0x7e00
testq %rax, %rax
je 0x7487
movq %rax, %r15
movq 0x8(%r12), %rcx
xorl %eax, %eax
testq %rcx, %rcx
je 0x73b6
incl %eax
movq 0x10(%rcx), %rcx
jmp 0x73a9
cmpl 0x10(%r15), %eax
jne 0x74a6
movq 0x8(%r12), %r12
testq %r12, %r12
je 0x7413
movl $0x8, %r13d
movq 0x8(%r12), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x74c5
movq 0x8(%r15), %rcx
cmpq (%rcx,%r13), %rax
jne 0x7468
movq %r14, %rdi
movq %rax, %rsi
callq 0x82ed
movq 0x8(%r12), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6c27
movq 0x10(%r12), %r12
addq $0x10, %r13
testq %r12, %r12
jne 0x73d0
leaq 0x18(%rbx), %r12
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x7eaf
movq 0x18(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x18(%rbx)
movb $0xd, (%rax)
movb 0x10(%r15), %r15b
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq 0x7eaf
movq 0x18(%rbx), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x18(%rbx)
movb %r15b, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3325(%rip), %rdi      # 0xa794
leaq 0x2fdc(%rip), %rsi      # 0xa452
leaq 0x3290(%rip), %rcx      # 0xa70d
movl $0x21b, %edx            # imm = 0x21B
callq 0x3120
leaq 0x3324(%rip), %rdi      # 0xa7b2
leaq 0x2fbd(%rip), %rsi      # 0xa452
leaq 0x3271(%rip), %rcx      # 0xa70d
movl $0x213, %edx            # imm = 0x213
callq 0x3120
leaq 0x32c6(%rip), %rdi      # 0xa773
leaq 0x2f9e(%rip), %rsi      # 0xa452
leaq 0x3252(%rip), %rcx      # 0xa70d
movl $0x217, %edx            # imm = 0x217
callq 0x3120
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_resolve_field
static int32_t fin_mod_resolve_field(fin_ctx_t* ctx, fin_mod_t* mod, fin_str_t* type_name, fin_str_t* field_name) {
    fin_mod_type_t* type = fin_mod_find_type(ctx, mod, type_name);
    for (int32_t i=0; i<type->fields_count; i++) {
        if (type->fields[i].name == field_name)
            return i;
    }
    return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rcx, %rbx
callq 0x7e00
movq %rax, %rcx
movslq 0x10(%rax), %rdx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %rdx, %rdx
jle 0x7769
movq 0x8(%rcx), %rsi
xorl %ecx, %ecx
cmpq %rbx, (%rsi)
je 0x7767
incq %rcx
addq $0x10, %rsi
cmpq %rcx, %rdx
jne 0x7754
jmp 0x7769
movl %ecx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_const_idx
static int16_t fin_mod_const_idx(fin_mod_compiler_t* cmp, fin_val_t val) {
    fin_mod_t* mod = cmp->mod;
    for (int32_t i=0; i<mod->consts_count; i++) {
        if (val.i == mod->consts[i].i)
            return i;
    }
    mod->consts[mod->consts_count] = val;
    return mod->consts_count++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
movslq 0x30(%rcx), %rdx
testq %rdx, %rdx
setg %dil
jle 0x77bd
movq 0x18(%rcx), %r8
cmpq %rsi, (%r8)
jne 0x7791
xorl %eax, %eax
jmp 0x77bd
leaq -0x1(%rdx), %r9
xorl %edi, %edi
cmpq %rdi, %r9
je 0x77b3
leaq 0x1(%rdi), %rax
cmpq %rsi, 0x8(%r8,%rdi,8)
movq %rax, %rdi
jne 0x7797
cmpq %rdx, %rax
setb %dil
jmp 0x77bd
incq %rdi
cmpq %rdx, %rdi
setb %dil
testb %dil, %dil
jne 0x77d3
movq 0x18(%rcx), %rax
movq %rsi, (%rax,%rdx,8)
movl 0x30(%rcx), %eax
leal 0x1(%rax), %edx
movl %edx, 0x30(%rcx)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_bind_idx
static int16_t fin_mod_bind_idx(fin_mod_compiler_t* cmp, fin_str_t* sign) {
    fin_mod_t* mod = cmp->mod;
    for (int32_t i=0; i<mod->binds_count; i++) {
        if (sign == mod->binds[i].sign)
            return i;
    }
    mod->binds[mod->binds_count].sign = fin_str_clone(sign);
    mod->binds[mod->binds_count].func = NULL;
    return mod->binds_count++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rbx
movslq 0x34(%rbx), %rcx
testq %rcx, %rcx
setg %dl
jle 0x7826
movq 0x20(%rbx), %rdi
cmpq %rsi, (%rdi)
je 0x7819
addq $0x10, %rdi
leaq -0x1(%rcx), %rdx
xorl %eax, %eax
cmpq %rax, %rdx
je 0x781d
leaq 0x10(%rdi), %r8
incq %rax
cmpq %rsi, (%rdi)
movq %r8, %rdi
jne 0x77fd
cmpq %rcx, %rax
setb %dl
jmp 0x7826
xorl %eax, %eax
jmp 0x7826
incq %rax
cmpq %rcx, %rax
setb %dl
testb %dl, %dl
jne 0x7857
movq %rsi, %rdi
callq 0x8322
movq %rax, %rcx
movq 0x20(%rbx), %rdx
movslq 0x34(%rbx), %rax
movq %rax, %rsi
shlq $0x4, %rsi
movq %rcx, (%rdx,%rsi)
movq $0x0, 0x8(%rdx,%rsi)
leal 0x1(%rax), %ecx
movl %ecx, 0x34(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_unary_get_signature
static fin_str_t* fin_mod_unary_get_signature(fin_ctx_t* ctx, fin_mod_compiler_t* cmp, fin_ast_unary_expr_t* unary_expr) {
    char sign[128];
    sign[0] = '\0';
    switch (unary_expr->op) {
        case fin_ast_unary_type_pos:  strcat(sign, "__op_pos"); break;
        case fin_ast_unary_type_neg:  strcat(sign, "__op_neg"); break;
        case fin_ast_unary_type_not:  strcat(sign, "__op_not"); break;
        case fin_ast_unary_type_bnot: strcat(sign, "__op_bnot"); break;
        case fin_ast_unary_type_inc:  strcat(sign, "__op_inc"); break;
        case fin_ast_unary_type_dec:  strcat(sign, "__op_dec"); break;
    }
    strcat(sign, "(");
    strcat(sign, fin_str_cstr(fin_mod_resolve_type(ctx, cmp, unary_expr->expr)));
    strcat(sign, ")");
    return fin_str_create(ctx, sign, -1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movb $0x0, -0xa0(%rbp)
movl 0x4(%rdx), %eax
cmpq $0x5, %rax
ja 0x7950
leaq 0x2b2c(%rip), %rcx      # 0xa3c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x736f705f706f5f5f, %rcx # imm = 0x736F705F706F5F5F
jmp 0x7940
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x636e695f706f5f5f, %rcx # imm = 0x636E695F706F5F5F
jmp 0x7940
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x746f6e5f706f5f5f, %rcx # imm = 0x746F6E5F706F5F5F
jmp 0x7940
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x6f6e625f706f5f5f, %rcx # imm = 0x6F6E625F706F5F5F
movq %rcx, -0xa0(%rbp,%rax)
movw $0x74, -0x98(%rbp,%rax)
jmp 0x7950
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x67656e5f706f5f5f, %rcx # imm = 0x67656E5F706F5F5F
jmp 0x7940
leaq -0xa0(%rbp), %rdi
callq 0x3100
movabsq $0x6365645f706f5f5f, %rcx # imm = 0x6365645F706F5F5F
movq %rcx, -0xa0(%rbp,%rax)
movb $0x0, -0x98(%rbp,%rax)
leaq -0xa0(%rbp), %r12
movq %r12, %rdi
callq 0x3100
movw $0x28, -0xa0(%rbp,%rax)
movq 0x8(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x74c5
movq %rax, %rdi
callq 0x8477
movq %r12, %rdi
movq %rax, %rsi
callq 0x3280
movq %r12, %rdi
callq 0x3100
movw $0x29, -0xa0(%rbp,%rax)
movq %rbx, %rdi
movq %r12, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x80e4
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_invoke_get_signature
static fin_str_t* fin_mod_invoke_get_signature(fin_ctx_t* ctx, fin_mod_compiler_t* cmp, fin_ast_invoke_expr_t* expr) {
    char signature[128];
    signature[0] = '\0';
    if (expr->id->type == fin_ast_expr_type_id) {
        fin_ast_id_expr_t* id_expr = (fin_ast_id_expr_t*)expr->id;
        if (id_expr->primary && id_expr->primary->type == fin_ast_expr_type_id) {
            fin_ast_id_expr_t* prim_id_expr = (fin_ast_id_expr_t*)id_expr->primary;
            strcat(signature, fin_str_cstr(prim_id_expr->name));
            strcat(signature, ".");
        }
        strcat(signature, fin_str_cstr(id_expr->name));
    }
    strcat(signature, "(");
    for (fin_ast_arg_expr_t* e = expr->args; e; e = e->next) {
        if (e != expr->args)
            strcat(signature, ",");
        fin_str_t* arg_type = fin_mod_resolve_type(ctx, cmp, &e->base);
        strcat(signature, fin_str_cstr(arg_type));
        fin_str_destroy(ctx, arg_type);
    }
    strcat(signature, ")");
    return fin_str_create(ctx, signature, -1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, -0x30(%rbp)
movq %rdi, %rbx
movb $0x0, -0xb0(%rbp)
movq 0x8(%rdx), %r15
cmpl $0x0, (%r15)
jne 0x7d4d
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x7d35
cmpl $0x0, (%rax)
jne 0x7d35
movq 0x10(%rax), %rdi
callq 0x8477
leaq -0xb0(%rbp), %r12
movq %r12, %rdi
movq %rax, %rsi
callq 0x3280
movq %r12, %rdi
callq 0x3100
movw $0x2e, -0xb0(%rbp,%rax)
movq 0x10(%r15), %rdi
callq 0x8477
leaq -0xb0(%rbp), %rdi
movq %rax, %rsi
callq 0x3280
leaq -0xb0(%rbp), %rdi
callq 0x3100
movw $0x28, -0xb0(%rbp,%rax)
movq 0x10(%r14), %r12
testq %r12, %r12
je 0x7dc5
leaq -0xb0(%rbp), %r13
cmpq 0x10(%r14), %r12
je 0x7d8b
movq %r13, %rdi
callq 0x3100
movw $0x2c, -0xb0(%rbp,%rax)
movq %rbx, %rdi
movq -0x30(%rbp), %rsi
movq %r12, %rdx
callq 0x74c5
movq %rax, %r15
movq %rax, %rdi
callq 0x8477
movq %r13, %rdi
movq %rax, %rsi
callq 0x3280
movq %rbx, %rdi
movq %r15, %rsi
callq 0x82ed
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x7d73
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
callq 0x3100
movw $0x29, -0xb0(%rbp,%rax)
movq %rbx, %rdi
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x80e4
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_find_type
static fin_mod_type_t* fin_mod_find_type(fin_ctx_t* ctx, fin_mod_t* mod, fin_str_t* name) {
    for (int32_t i=0; i<mod->types_count; i++) {
        if (mod->types[i].name == name)
            return &mod->types[i];
    }
    fin_mod_t* m = ctx->mod;
    while (m) {
        for (int32_t i=0; i<m->types_count; i++) {
            if (m->types[i].name == name)
                return &m->types[i];
        }
        m = m->next;
    }
    return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq 0x28(%rsi), %rcx
testq %rcx, %rcx
setg %r8b
jle 0x7e43
movq 0x8(%rsi), %rax
cmpq %rdx, (%rax)
je 0x7e49
movl $0x1, %esi
cmpq %rsi, %rcx
je 0x7e45
leaq 0x18(%rax), %r9
incq %rsi
cmpq %rdx, 0x18(%rax)
movq %r9, %rax
jne 0x7e1f
decq %rsi
cmpq %rcx, %rsi
setb %r8b
movq %r9, %rax
jmp 0x7e49
jmp 0x7e49
seta %r8b
testb %r8b, %r8b
jne 0x7ead
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x7eab
movslq 0x28(%rcx), %rsi
testq %rsi, %rsi
setg %r8b
jle 0x7ea0
movq 0x8(%rcx), %rdi
cmpq %rdx, (%rdi)
je 0x7e8e
movl $0x1, %r10d
movq %r10, %r8
cmpq %r10, %rsi
je 0x7e93
leaq 0x18(%rdi), %r9
leaq 0x1(%r8), %r10
cmpq %rdx, 0x18(%rdi)
movq %r9, %rdi
jne 0x7e73
jmp 0x7e96
movq %rdi, %rax
jmp 0x7ea0
movq %rax, %r9
cmpq %rsi, %r8
setb %r8b
movq %r9, %rax
testb %r8b, %r8b
jne 0x7ead
movq 0x40(%rcx), %rcx
jmp 0x7e52
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_mod.c
// Function: fin_mod_code_ensure
static void fin_mod_code_ensure(fin_ctx_t* ctx, fin_mod_code_t* code, int32_t size) {
    if (code->top + size >= code->end) {
        int32_t length;
        uint8_t* buffer;
        if (code->begin == code->storage) {
            length = sizeof(code->storage) * 2;
            buffer = ctx->alloc(NULL, length);
            memcpy(buffer, code->begin, code->top - code->begin);
        }
        else {
            length = (int32_t)(code->end - code->begin) * 2;
            buffer = ctx->alloc(code->begin, length);
        }
        code->top   = buffer + (code->top - code->begin);
        code->begin = buffer;
        code->end   = buffer + length;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ecx
addq (%rsi), %rcx
movq 0x10(%rsi), %r15
cmpq %r15, %rcx
jb 0x7f28
movq %rsi, %rbx
movq %rdi, %rax
movq 0x8(%rsi), %rdi
leaq 0x18(%rsi), %rcx
cmpq %rcx, %rdi
je 0x7eed
subl %edi, %r15d
addl %r15d, %r15d
movl %r15d, %esi
callq *(%rax)
movq %rax, %r14
movslq %r15d, %rax
jmp 0x7f10
xorl %edi, %edi
movl $0x200, %esi            # imm = 0x200
callq *(%rax)
movq %rax, %r14
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
subq %rsi, %rdx
movq %rax, %rdi
callq 0x31c0
movl $0x200, %eax            # imm = 0x200
movq (%rbx), %rcx
subq 0x8(%rbx), %rcx
addq %r14, %rcx
movq %rcx, (%rbx)
movq %r14, 0x8(%rbx)
addq %r14, %rax
movq %rax, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_obj.c
// Function: fin_obj_create
fin_obj_t* fin_obj_create(fin_alloc alloc, fin_val_t* fields, int32_t fields_count) {
    fin_obj_t* obj = (fin_obj_t*)alloc(NULL, sizeof(fin_obj_t*) + sizeof(fin_val_t) * fields_count);
    obj->ref = 1;
    for (int32_t i=0; i<fields_count; i++)
        obj->fields[i] = fields[i];
    return obj;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %rax
leal 0x8(,%r14,8), %esi
xorl %edi, %edi
callq *%rax
movl $0x1, (%rax)
testl %r14d, %r14d
jle 0x7f71
movl %r14d, %ecx
xorl %edx, %edx
movq (%rbx,%rdx,8), %rsi
movq %rsi, 0x8(%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0x7f60
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_str.c
// Function: fin_str_resize
void fin_str_resize(fin_str_pool_t* pool, int32_t capacity) {
    fin_str_pool_t new_pool;
    new_pool.entries = (fin_str_entry_t*)pool->alloc(NULL, sizeof(fin_str_entry_t) * capacity);
    new_pool.capacity = capacity;
    new_pool.count = 0;
    new_pool.alloc = pool->alloc;
    for (int32_t i=0; i<capacity; i++) {
        new_pool.entries[i].hash = 0;
        new_pool.entries[i].str = NULL;
    }
    for (int32_t i=0; i<pool->capacity; i++)
        if (pool->entries[i].str != 0)
            fin_str_insert(&new_pool, pool->entries[i].hash, pool->entries[i].str);
    pool->alloc(pool->entries, 0);
    *pool = new_pool;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
shll $0x4, %esi
xorl %r12d, %r12d
xorl %edi, %edi
callq *0x10(%rbx)
movq %rax, %r15
movq 0x10(%rbx), %r13
testl %r14d, %r14d
jle 0x7ffa
movl %r14d, %eax
shlq $0x4, %rax
xorl %ecx, %ecx
movl $0x0, (%r15,%rcx)
movq $0x0, 0x8(%r15,%rcx)
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x7fe0
movslq 0x8(%rbx), %rdi
testq %rdi, %rdi
jle 0x8074
movq (%rbx), %r8
xorl %r9d, %r9d
xorl %r12d, %r12d
movq %r9, %rax
shlq $0x4, %rax
movq 0x8(%r8,%rax), %r10
testq %r10, %r10
je 0x806c
addq %r8, %rax
movl (%rax), %ecx
movl %ecx, %eax
xorl %edx, %edx
divl %r14d
movl %edx, %esi
movl %edx, %eax
movslq %eax, %r11
shlq $0x4, %r11
leaq (%r15,%r11), %rdx
cmpl $0x0, (%r15,%r11)
je 0x8053
cmpq $0x0, 0x8(%rdx)
je 0x8053
incl %eax
cltd
idivl %r14d
xorl %r11d, %r11d
movl %edx, %eax
jmp 0x8063
movl %ecx, (%rdx)
movq %r10, 0x8(%rdx)
movl %eax, 0x8(%r10)
incl %r12d
movb $0x1, %r11b
testb %r11b, %r11b
jne 0x806c
cmpl %esi, %eax
jne 0x802d
incq %r9
cmpq %rdi, %r9
jne 0x800c
movq (%rbx), %rdi
xorl %esi, %esi
callq *%r13
movq %r15, (%rbx)
movl %r14d, 0x8(%rbx)
movl %r12d, 0xc(%rbx)
movq %r13, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_str.c
// Function: fin_str_pool_create
fin_str_pool_t* fin_str_pool_create(fin_alloc alloc) {
    fin_str_pool_t* pool = (fin_str_pool_t*)alloc(NULL, sizeof(fin_str_pool_t));
    pool->entries = NULL;
    pool->capacity = 0;
    pool->count = 0;
    pool->alloc = alloc;
    return pool;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %edi, %edi
movl $0x18, %esi
callq *%rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %rbx, 0x10(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_str.c
// Function: fin_str_destroy
void fin_str_destroy(fin_ctx_t* ctx, fin_str_t* str) {
    fin_str_pool_t* pool = ctx->pool;
    if (--str->ref == 0) {
        pool->entries[str->slot].str = NULL;
        pool->entries[str->slot].hash = 1;
        pool->alloc(str, 0);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rax
decl (%rsi)
je 0x82fb
popq %rbp
retq
movq (%rax), %rcx
movslq 0x8(%rsi), %rdx
shlq $0x4, %rdx
movq $0x0, 0x8(%rcx,%rdx)
movl $0x1, (%rcx,%rdx)
movq 0x10(%rax), %rax
movq %rsi, %rdi
xorl %esi, %esi
popq %rbp
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_str.c
// Function: fin_str_concat
fin_str_t* fin_str_concat(fin_ctx_t* ctx, fin_str_t* a, fin_str_t* b) {
    char* buffer = ctx->alloc(NULL, a->len + b->len + 1);
    strncpy(buffer, a->cstr, a->len);
    strncpy(buffer + a->len, b->cstr, b->len);
    buffer[a->len + b->len] = '\0';
    fin_str_t* result = fin_str_create(ctx, buffer, a->len + b->len);
    ctx->alloc(buffer, 0);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rsi), %eax
movl 0x4(%rdx), %ecx
leal (%rax,%rcx), %esi
incl %esi
xorl %edi, %edi
callq *(%rbx)
movq %rax, %r12
leaq 0xc(%r14), %rsi
movslq 0x4(%r14), %rdx
movq %rax, %rdi
callq 0x3070
movslq 0x4(%r14), %rdi
addq %r12, %rdi
leaq 0xc(%r15), %rsi
movslq 0x4(%r15), %rdx
callq 0x3070
movslq 0x4(%r14), %rax
movslq 0x4(%r15), %rcx
addq %rax, %rcx
movb $0x0, (%r12,%rcx)
movl 0x4(%r15), %edx
addl 0x4(%r14), %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x80e4
movq %rax, %r14
movq %r12, %rdi
xorl %esi, %esi
callq *(%rbx)
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_str.c
// Function: fin_str_join
fin_str_t* fin_str_join(fin_ctx_t* ctx, fin_str_t* arr, int32_t count) {
    int32_t length = 0;
    for (int32_t i=0; i<count; i++)
        length += fin_str_len(arr + i);
    char* buffer = ctx->alloc(NULL, length + 1);
    length = 0;
    for (int32_t i=0; i<count; i++) {
        if (!(arr+i))
            continue;
        strncpy(buffer, (arr+i)->cstr, (arr+i)->len);
        length += (arr+i)->len;
    }
    fin_str_t* result = fin_str_create(ctx, buffer, length);
    ctx->alloc(buffer, 0);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r8
movl %edx, %ebx
testl %edx, %edx
jle 0x83f6
movq %rbx, %rax
shlq $0x4, %rax
xorl %ecx, %ecx
xorl %esi, %esi
movl $0x0, %edx
testq %r14, %r14
je 0x83e7
movl 0x4(%r14,%rcx), %edx
addl %edx, %esi
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x83d8
incl %esi
jmp 0x83fb
movl $0x1, %esi
xorl %r13d, %r13d
xorl %edi, %edi
movq %r8, -0x30(%rbp)
callq *(%r8)
movq %rax, %r12
testl %r15d, %r15d
jle 0x8437
leaq 0xc(%r14), %r15
xorl %r13d, %r13d
testq %r14, %r14
je 0x842e
movslq -0x8(%r15), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x3070
addl -0x8(%r15), %r13d
addq $0x10, %r15
decq %rbx
jne 0x8416
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movl %r13d, %edx
callq 0x80e4
movq %rax, %r14
movq %r12, %rdi
xorl %esi, %esi
callq *(%rbx)
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_O1/naleksiev[P]fin/src/fin_vm.c
// Function: fin_vm_invoke_int
inline void fin_vm_invoke_int(fin_ctx_t* ctx, fin_mod_func_t* func, fin_val_t* stack) {
    if (func->is_native) {
        fin_val_t result;
        (*func->func)(ctx, stack - func->args, &result);
        if (func->ret_type)
            stack[-func->args] = result;
    }
    else
        fin_vm_interpret(ctx, func, stack);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
cmpb $0x1, 0x20(%rsi)
jne 0x881e
movzbl 0x34(%r14), %eax
shll $0x3, %eax
movq %rbx, %rsi
subq %rax, %rsi
leaq -0x18(%rbp), %rdx
callq *0x18(%r14)
cmpq $0x0, 0x8(%r14)
je 0x8815
movzbl 0x34(%r14), %eax
shll $0x3, %eax
subq %rax, %rbx
movq -0x18(%rbp), %rax
movq %rax, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %r14, %rsi
movq %rbx, %rdx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x8490
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/fin_vm.c
// Function: fin_vm_create
fin_vm_t* fin_vm_create(fin_ctx_t* ctx) {
    fin_vm_t* vm = (fin_vm_t*)ctx->alloc(NULL, sizeof(fin_vm_t));
    vm->stack.top   = vm->stack.storage;
    vm->stack.begin = vm->stack.storage;
    vm->stack.end   = vm->stack.storage + FIN_COUNT_OF(vm->stack.storage);
    vm->ctx = ctx;
    return vm;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %edi, %edi
movl $0x220, %esi            # imm = 0x220
callq *(%rbx)
leaq 0x18(%rax), %rcx
movq %rcx, (%rax)
movq %rcx, 0x8(%rax)
leaq 0x218(%rax), %rcx
movq %rcx, 0x10(%rax)
movq %rbx, 0x218(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/naleksiev[P]fin/src/mod/fin_io.c
// Function: fin_io_file_write
static void fin_io_file_write(fin_ctx_t* ctx, const fin_val_t* args, fin_val_t* ret) {
    const char* file = fin_str_cstr(args[0].s);
    if (!file)
        return;
    FILE* fp = fopen(file, "wb");
    if (!fp)
        return;
    fputs(fin_str_cstr(args[1].s), fp);
    fclose(fp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq (%rsi), %rdi
callq 0x8477
testq %rax, %rax
je 0x89d0
leaq 0x1ec4(%rip), %rsi      # 0xa864
movq %rax, %rdi
callq 0x3250
testq %rax, %rax
je 0x89d0
movq %rax, %r14
movq 0x8(%rbx), %rdi
callq 0x8477
movq %rax, %rdi
movq %r14, %rsi
callq 0x3130
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x30f0
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/test-show-type.c
// Function: main
int main(int argc, char **argv)
{
	struct string_list *filelist = NULL;
	char *file;

	sparse_initialize(argc, argv, &filelist);
	Wdecl = 0;
	FOR_EACH_PTR(filelist, file) {
		show_symbols(sparse(file));
	} END_FOR_EACH_PTR(file);

	return has_error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x10(%rsp), %rbx
movq $0x0, (%rbx)
movq %rbx, %rdx
callq 0xf0de
leaq 0x52853(%rip), %rax     # 0x61218
movl $0x0, (%rax)
movq (%rbx), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0xea85
leaq 0x32621(%rip), %rbx     # 0x41004
movq 0x8(%rsp), %r12
movzwl (%r12), %eax
testb %al, %al
jle 0xea75
xorl %r13d, %r13d
movq 0x18(%r12,%r13,8), %rdi
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0xea0c
testq %rdi, %rdi
je 0xea65
callq 0xf41e
testq %rax, %rax
je 0xea65
movq %rax, %r14
movq %rax, %rbp
movzwl (%rbp), %eax
testb %al, %al
jle 0xea5c
xorl %r15d, %r15d
movq 0x18(%rbp,%r15,8), %rdi
movzwl %ax, %eax
cmpl $0x100, %eax            # imm = 0x100
jb 0xea3b
testq %rdi, %rdi
je 0xea4d
callq 0x1a978
movq %rbx, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0xe0f0
incq %r15
movl (%rbp), %eax
movsbq %al, %rcx
cmpq %rcx, %r15
jl 0xea27
movq 0x10(%rbp), %rbp
cmpq %r14, %rbp
jne 0xea1c
incq %r13
movl (%r12), %eax
movsbq %al, %rcx
cmpq %rcx, %r13
jl 0xe9f8
movq 0x10(%r12), %r12
cmpq 0x8(%rsp), %r12
jne 0xe9e8
leaq 0x57f08(%rip), %rax     # 0x66994
movl (%rax), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/lyndon-array.c
// Function: compute_lyndon_max_lyn
int compute_lyndon_max_lyn(unsigned char *s, int_t *A, int_t n){

int_t j;

	#if TIME
		time_t t_total= 0;clock_t c_total= 0;
		tstart(&t_total, &c_total); 
	#endif

	int_t *LA = A;
	for(j=0; j < n-1; j++){	

		int_t i = j+1;
		int_t max = j+1;

		while(i<n){

			int_t k = 0;
			while(s[j+k]==s[i+k]) k++;

			if(s[j+k]<s[i+k]){
				i+=k+1;
				max=i;
			}
			else{
				LA[j]=max-j;	
				break;
			}
		}
	}
	LA[n-1]=1;

	#if TIME
		printf("TOTAL:\n");
		fprintf(stderr,"%.6lf\n", tstop(t_total, c_total)); 
	#endif

return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r13
xorl %edi, %edi
callq 0x21b0
movq %rax, (%rsp)
callq 0x20a0
movq %rax, %r12
leal -0x1(%r15), %eax
cmpl $0x2, %r15d
jl 0x2e55
movl %eax, %ecx
xorl %esi, %esi
movq %r13, %rdx
movq %rsi, %rdi
incq %rsi
movl %esi, %r8d
movl %esi, %r9d
cmpl %r15d, %r8d
jge 0x2e4d
movl %r8d, %r8d
movslq %r8d, %rbx
addq %r13, %rbx
xorl %ebp, %ebp
movb (%rdx,%rbp), %r10b
movb (%rbx,%rbp), %r11b
incq %rbp
cmpb %r11b, %r10b
je 0x2e25
jae 0x2e3f
addl %ebp, %r8d
movl %r8d, %r9d
jmp 0x2e48
movl %r9d, %ebx
subl %edi, %ebx
movl %ebx, (%r14,%rdi,4)
cmpb %r11b, %r10b
jb 0x2e15
incq %rdx
cmpq %rcx, %rsi
jne 0x2e09
cltq
movl $0x1, (%r14,%rax,4)
leaq 0x6773(%rip), %rdi      # 0x95d9
callq 0x2080
movq 0xa186(%rip), %rax      # 0xcff8
movq (%rax), %r14
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x58a7
leaq 0x657f(%rip), %rsi      # 0x9407
movq %r14, %rdi
movb $0x1, %al
callq 0x2180
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/external/malloc_count/malloc_count.c
// Function: finish
static __attribute__((destructor)) void finish(void)
{
    fprintf(stdout, PPREFIX
            "exiting, total: %'lld, peak: %'lld, current: %'lld\n",
            total, peak, curr);

    fprintf(stderr, "%'lld\n", peak);

    //fprintf(stderr, "%'lld\t%'lld\t%'lld\n", total, peak, curr);
}

// Assembly:
pushq %rax
movq 0xa0bf(%rip), %rax      # 0xcfc8
movq (%rax), %rdi
movq 0x10a29d(%rip), %rdx    # 0x10d1b0
movq 0xa25e(%rip), %rcx      # 0xd178
movq 0xa24f(%rip), %r8       # 0xd170
leaq 0x69ee(%rip), %rsi      # 0x9916
xorl %eax, %eax
callq 0x2180
movq 0xa0c2(%rip), %rax      # 0xcff8
movq (%rax), %rdi
movq 0xa238(%rip), %rdx      # 0xd178
leaq 0x6a0d(%rip), %rsi      # 0x9954
xorl %eax, %eax
popq %rcx
jmp 0x2180
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/main.c
// Function: cat_char
unsigned char* cat_char(unsigned char** R, size_t d, size_t *n){

  (*n)++; //add 0 at the end

  int_t i, j;
  int_t l=0;
  unsigned char *str = (unsigned char*) malloc((*n)*sizeof(unsigned char));

  for(i=0; i<d; i++){
    int_t m = strlen((char*)R[i]);
    for(j=0; j<m; j++){
      if(R[i][j]<255) str[l++] = R[i][j]+1;
    }
#if CAT == 1
    str[l++] = 1; //add 1 as separator
#endif
  }

  str[l++]=0;
  if(*n>l){
    str = (unsigned char*) realloc(str, (l)*sizeof(unsigned char)); 
  }
  *n = l;

return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %r13
movq (%rdx), %rdi
incq %rdi
movq %rdx, 0x10(%rsp)
movq %rdi, (%rdx)
movq %rdi, 0x8(%rsp)
callq 0x7f0e
movq %rax, %r14
testq %r12, %r12
je 0x3143
xorl %r15d, %r15d
xorl %ebx, %ebx
movq (%r13,%r15,8), %rbp
movq %rbp, %rdi
callq 0x20c0
testl %eax, %eax
jle 0x3139
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %ecx, %ecx
movb (%rbp,%rcx), %dl
cmpb $-0x1, %dl
je 0x3131
incb %dl
movslq %ebx, %rsi
incl %ebx
movb %dl, (%r14,%rsi)
incq %rcx
cmpq %rcx, %rax
jne 0x311d
incq %r15
cmpq %r12, %r15
jne 0x3105
jmp 0x3145
xorl %ebx, %ebx
movslq %ebx, %rax
incl %ebx
movb $0x0, (%r14,%rax)
movslq %ebx, %r12
cmpq %r12, 0x8(%rsp)
jbe 0x3167
movq %r14, %rdi
movq %r12, %rsi
callq 0x808e
movq %rax, %r14
movq 0x10(%rsp), %rax
movq %r12, (%rax)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/main.c
// Function: usage
void usage(char *name){
  printf("lyndon-array:\n\tUsage: %s [options] FILE \n\n",name);
  puts("Computes the Lyndon-array of FILE");
  puts("Output:\tLyndon-array (and Suffix-array)\n");
  puts("Available options:");
  puts("\t-A a\tpreferred algorithm to use (default 10)");
  puts("\t-d D\tuse the first D documents of the INPUT");
  puts("\t-b\tread INPUT as binary input (default)");
  puts("\t-f\tread INPUT as formatted input (txt, fasta or fastq)");
  puts("\t-v\tverbose output");
  puts("\t-o\toutput computed arrays to disk (INPUT.la and INPUT.sa)");
  puts("\t-s\tcompute some statistics for LA");
  puts("\t-l\toutput the lyndon-factors (start positions) to (INPUT.pos)");
  puts("\t-L\toutput the lyndon-factors (substrings) to (INPUT.lyn)");
  puts("Debug options:");
  puts("\t-c\tcheck output (for debug)");
  puts("\t-p P\tprint the output arrays LA[1,P] and SA[1,P] (for debug)");
  puts("\t-h\tthis help message");
  exit(EXIT_FAILURE);
}

// Assembly:
pushq %rax
movq %rdi, %rsi
leaq 0x5f24(%rip), %rdi      # 0x90b0
xorl %eax, %eax
callq 0x20f0
leaq 0x5f41(%rip), %rdi      # 0x90db
callq 0x2080
leaq 0x5f57(%rip), %rdi      # 0x90fd
callq 0x2080
leaq 0x5f74(%rip), %rdi      # 0x9126
callq 0x2080
leaq 0x5f7b(%rip), %rdi      # 0x9139
callq 0x2080
leaq 0x5f9d(%rip), %rdi      # 0x9167
callq 0x2080
leaq 0x5fbe(%rip), %rdi      # 0x9194
callq 0x2080
leaq 0x5fdb(%rip), %rdi      # 0x91bd
callq 0x2080
leaq 0x6007(%rip), %rdi      # 0x91f5
callq 0x2080
leaq 0x600e(%rip), %rdi      # 0x9208
callq 0x2080
leaq 0x603d(%rip), %rdi      # 0x9243
callq 0x2080
leaq 0x6054(%rip), %rdi      # 0x9266
callq 0x2080
leaq 0x6087(%rip), %rdi      # 0x92a5
callq 0x2080
leaq 0x60b5(%rip), %rdi      # 0x92df
callq 0x2080
leaq 0x60b8(%rip), %rdi      # 0x92ee
callq 0x2080
leaq 0x60c9(%rip), %rdi      # 0x930b
callq 0x2080
leaq 0x60fb(%rip), %rdi      # 0x9349
callq 0x2080
movl $0x1, %edi
callq 0x2270
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: clean_filename_ext
const char *clean_filename_ext(const char *filename) {

    char *dot = strrchr(filename, '.');

    *dot = '\0';

    if(!dot || dot == filename) return "";

    return filename;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x2e, %esi
callq 0x2120
movb $0x0, (%rax)
cmpq %rbx, %rax
leaq 0x51dd(%rip), %rax      # 0x9434
cmovneq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_open
FILE* file_open(char *c_file, const char * c_mode){
	
	FILE* f_in;
	
	f_in = fopen(c_file, c_mode);
	if (!f_in) perror ("file_open");

	fseek(f_in, 0, SEEK_SET);
	
return f_in;
}

// Assembly:
pushq %rbx
callq 0x21f0
movq %rax, %rbx
testq %rax, %rax
je 0x42cb
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
movq %rbx, %rax
popq %rbx
retq
leaq 0x53de(%rip), %rdi      # 0x96b0
callq 0x2200
jmp 0x42ba
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_load
char* file_load(FILE* f_in) {
	
	size_t len = 0;
	ssize_t size = 0;
 	char *c_aux = NULL;
 	
 	/*Read one line*/
 	size = getline(&c_aux, &len, f_in);
 	if (size == -1) perror("file_load");

 	/*Copy line to c_buffer*/
 	char *c_buffer = (char*) malloc((size+1)*sizeof(char));
	strncpy(c_buffer, c_aux, size);

	c_buffer[size-1] = END_MARKER;
	c_buffer[size] = '\0';

	free(c_aux);

return c_buffer;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rdx
xorl %eax, %eax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %rsp, %rdi
movq %rax, (%rdi)
callq 0x2240
movq %rax, %rbx
cmpq $-0x1, %rax
je 0x4391
movq %rbx, %rdi
incq %rdi
callq 0x7f0e
movq %rax, %r14
movq (%rsp), %r15
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x2060
movw $0x24, -0x1(%r14,%rbx)
movq %r15, %rdi
callq 0x7fc5
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x532d(%rip), %rdi      # 0x96c5
callq 0x2200
jmp 0x4354
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: load_multiple_txt
char** load_multiple_txt(FILE* f_in, size_t *k, size_t *n) {

  int n_alloc = N_ALLOC;
	char **c_buffer = (char**) malloc(n_alloc*sizeof(char*));

	size_t i;
 	for(i=0; i<*k; i++){

		size_t len = 0; c_buffer[i] = NULL;		
		ssize_t size = getline(&c_buffer[i], &len, f_in);
		if (size == -1){
	      		free(c_buffer[i]);
			*k = i;
			break;		
		}
		c_buffer[i][size-1] = 0;

		(*n) += size;

		if(i==n_alloc-1){
			n_alloc+=N_ALLOC;
      			c_buffer = (char**) realloc(c_buffer, n_alloc*sizeof(char*));
		}
	}

return c_buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, (%rsp)
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
movl $0x4000, %edi           # imm = 0x4000
callq 0x7f0e
movq %rax, %r12
cmpq $0x0, (%r14)
je 0x4456
movl $0x800, %r13d           # imm = 0x800
xorl %r15d, %r15d
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, 0x10(%rsp)
leaq (%r12,%r15), %rdi
movq %rax, (%r12,%rbx,8)
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x2240
movq %rax, %rbp
movq (%r12,%rbx,8), %rdi
cmpq $-0x1, %rax
je 0x443c
movb $0x0, -0x1(%rdi,%rbp)
movq (%rsp), %rax
addq %rbp, (%rax)
leal -0x1(%r13), %eax
cltq
cmpq %rax, %rbx
jne 0x4444
movslq %r13d, %rax
addl $0x800, %r13d           # imm = 0x800
leaq 0x4000(,%rax,8), %rsi
movq %r12, %rdi
callq 0x808e
movq %rax, %r12
jmp 0x4444
callq 0x7fc5
movq %rbx, (%r14)
cmpq $-0x1, %rbp
je 0x4456
incq %rbx
addq $0x8, %r15
cmpq (%r14), %rbx
jb 0x43db
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: load_multiple_fastq
char** load_multiple_fastq(FILE* f_in, size_t *k, size_t *n){

	int n_alloc = N_ALLOC;
	char **c_buffer = (char**) malloc(n_alloc*sizeof(char*));

  	size_t len = 0;
	char *buf = NULL;
	size_t i;
 	for(i=0; i<*k; i++){

		len = 0; buf = NULL;
		ssize_t size = getline(&buf, &len, f_in); // @'s line
		free(buf);
		if (size <= 1){
			*k = i;
			break;		
		}

		len = 0; c_buffer[i] = NULL;
		size = getline(&c_buffer[i], &len, f_in); // read line
		c_buffer[i][size-1] = 0;

    		(*n) += size;

		len = 0; buf = NULL;
		getline(&buf, &len, f_in); // +'s line
		free(buf);
		len = 0; buf = NULL;
		getline(&buf, &len, f_in); // @'s line
		free(buf);

		if(i==n_alloc-1){
			n_alloc+=N_ALLOC;
     			c_buffer = (char**) realloc(c_buffer, n_alloc*sizeof(char*));
		}
	}

return c_buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, 0x30(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
movl $0x4000, %edi           # imm = 0x4000
callq 0x7f0e
movq %rax, %r15
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq %rbx, 0x20(%rsp)
cmpq %rax, (%rbx)
je 0x45f1
movq %r14, 0x38(%rsp)
movl $0x800, %r12d           # imm = 0x800
xorl %eax, %eax
leaq 0x8(%rsp), %r13
leaq 0x10(%rsp), %rbx
xorl %ebp, %ebp
xorl %r14d, %r14d
movq %r12, 0x28(%rsp)
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq %r13, %rdi
movq %rbx, %rsi
movq 0x38(%rsp), %r13
movq %r13, %rdx
callq 0x2240
movq %rax, %r12
movq 0x8(%rsp), %rdi
callq 0x7fc5
movq %r12, 0x40(%rsp)
cmpq $0x1, %r12
jle 0x45b1
xorl %r12d, %r12d
movq %r12, 0x10(%rsp)
leaq (%r15,%rbp), %rdi
movq %r12, (%r15,%r14,8)
movq %rbx, %rsi
movq %r13, %rdx
callq 0x2240
movq %r15, 0x18(%rsp)
movq (%r15,%r14,8), %rcx
movb $0x0, -0x1(%rcx,%rax)
movq 0x30(%rsp), %rcx
addq %rax, (%rcx)
movq %r12, 0x10(%rsp)
movq %r12, 0x8(%rsp)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x2240
movq 0x8(%rsp), %rdi
callq 0x7fc5
movq %r12, 0x10(%rsp)
movq %r12, 0x8(%rsp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x2240
movq 0x8(%rsp), %rdi
callq 0x7fc5
movq 0x28(%rsp), %r12
leal -0x1(%r12), %eax
cltq
cmpq %rax, %r14
movq %r15, %r13
jne 0x45c5
movslq %r12d, %rax
addl $0x800, %r12d           # imm = 0x800
leaq 0x4000(,%rax,8), %rsi
movq 0x18(%rsp), %rdi
callq 0x808e
movq %rax, %r15
jmp 0x45ca
movq 0x20(%rsp), %rax
movq %r14, (%rax)
movq 0x28(%rsp), %r12
leaq 0x8(%rsp), %r13
jmp 0x45cf
movq 0x18(%rsp), %r15
leaq 0x10(%rsp), %rbx
cmpq $0x1, 0x40(%rsp)
jle 0x45f1
incq %r14
addq $0x8, %rbp
movq 0x20(%rsp), %rax
cmpq (%rax), %r14
movl $0x0, %eax
jb 0x44c4
movq %r15, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: load_multiple_fasta
char** load_multiple_fasta(FILE* f_in, size_t *k, size_t *n){

  int n_alloc = N_ALLOC;
	char **c_buffer = (char**) malloc(n_alloc*sizeof(char*));

	char *buf = NULL;
	size_t len = 0;

	getline(&buf, &len, f_in);// first sequence
	free(buf);

	size_t count=0;
	size_t i;
 	for(i=0; i<*k; i++){

		if(i!=count){
			*k = i;
			break;		
		}

		int c_alloc = 128;
		c_buffer[i] = (char*) malloc(c_alloc*sizeof(char));

		size_t p=0;
		len = 0; buf=NULL;
		while(getline(&buf, &len, f_in)!=-1){

			if(buf[0] == '>'){
				count++;
				break;
			}

			if(p+len>c_alloc){
				c_alloc += len+128;
				c_buffer[i] = (char*) realloc(c_buffer[i], sizeof(char) * c_alloc);
			}

			strcpy(&c_buffer[i][p], buf);
			p+=strlen(buf)-1;

			free(buf);
			buf=NULL; len=0;
		}

		free(buf);
		c_buffer[i][p] = 0;
		(*n) += p+1;

		if(i==n_alloc-1){
			n_alloc+=N_ALLOC;
      			c_buffer = (char**) realloc(c_buffer, n_alloc*sizeof(char*));
		}
	}

return c_buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, 0x30(%rsp)
movq %rsi, %r14
movq %rdi, %r12
movl $0x4000, %edi           # imm = 0x4000
callq 0x7f0e
movq %rax, %r15
xorl %ebx, %ebx
movq %rsp, %r13
movq %rbx, (%r13)
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
movq %r13, %rdi
movq %r12, 0x28(%rsp)
movq %r12, %rdx
callq 0x2240
movq (%r13), %rdi
callq 0x7fc5
movq %r14, 0x10(%rsp)
cmpq %rbx, (%r14)
je 0x47c3
movl $0x800, %ebx            # imm = 0x800
xorl %r14d, %r14d
xorl %r13d, %r13d
xorl %r12d, %r12d
cmpq %r12, %r13
jne 0x47bb
movl $0x80, %edi
callq 0x7f0e
movq %rax, (%r15,%r13,8)
movq %r14, 0x8(%rsp)
movq %r14, (%rsp)
movq %rsp, %rdi
leaq 0x8(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0x2240
cmpq $-0x1, %rax
je 0x4750
movq %r12, 0x18(%rsp)
movq %rbx, 0x20(%rsp)
movl $0x80, %r12d
xorl %ebp, %ebp
movq (%rsp), %rax
cmpb $0x3e, (%rax)
je 0x4754
movq 0x8(%rsp), %rax
leaq (%rax,%rbp), %rcx
movslq %r12d, %rdx
cmpq %rdx, %rcx
jbe 0x46f5
addl %eax, %r12d
addl $0x80, %r12d
movq (%r15,%r13,8), %rdi
movslq %r12d, %rsi
callq 0x808e
movq %rax, (%r15,%r13,8)
movq (%r15,%r13,8), %rdi
addq %rbp, %rdi
movq (%rsp), %rsi
callq 0x2070
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x20c0
addq %rax, %rbp
decq %rbp
movq %rbx, %rdi
callq 0x7fc5
movq %r14, (%rsp)
movq %r14, 0x8(%rsp)
movq %rsp, %rdi
leaq 0x8(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0x2240
cmpq $-0x1, %rax
jne 0x46bd
movq 0x20(%rsp), %rbx
movq 0x18(%rsp), %r12
jmp 0x4761
xorl %ebp, %ebp
jmp 0x4761
movq 0x18(%rsp), %r12
incq %r12
movq 0x20(%rsp), %rbx
movq (%rsp), %rdi
callq 0x7fc5
movq (%r15,%r13,8), %rax
movb $0x0, (%rax,%rbp)
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
leaq 0x1(%rbp,%rax), %rax
movq %rax, (%rcx)
leal -0x1(%rbx), %eax
cltq
cmpq %rax, %r13
jne 0x47a8
movslq %ebx, %rax
addl $0x800, %ebx            # imm = 0x800
leaq 0x4000(,%rax,8), %rsi
movq %r15, %rdi
callq 0x808e
movq %rax, %r15
incq %r13
movq 0x10(%rsp), %rax
cmpq (%rax), %r13
jb 0x466f
jmp 0x47c3
movq 0x10(%rsp), %rax
movq %r13, (%rax)
movq %r15, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_load_multiple
char** file_load_multiple(char* c_file, size_t *k, size_t *n) {

/* .ext
 * .txt   - strings per line
 * .fasta - strings separated by '>' line
 * .fastq - strings separated by four lines
 */

	FILE* f_in = file_open(c_file, "rb");
	if(!f_in) return 0;

	const char *type = get_filename_ext(c_file);
	char **c_buffer = NULL; // = (char**) malloc(k*sizeof(char*));

	if(*k==0) *k=INT_MAX;

	if(strcmp(type,"txt") == 0)
		c_buffer = load_multiple_txt(f_in, k, n);

	else if(strcmp(type,"fasta") == 0)
		c_buffer = load_multiple_fasta(f_in, k, n);

	else if(strcmp(type,"fastq") == 0)
		c_buffer = load_multiple_fastq(f_in, k, n);
	else{
		printf("Error: file not recognized (.txt, .fasta, .fastq)\n");
		return 0;
	}

	fclose(f_in);

return c_buffer;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
leaq 0x4ee1(%rip), %rsi      # 0x96cf
callq 0x42ac
testq %rax, %rax
je 0x4873
movq %rax, %rbx
movq %r13, %rdi
movl $0x2e, %esi
callq 0x2120
leaq 0x1(%rax), %r12
cmpq %r13, %rax
leaq 0x4c1e(%rip), %rcx      # 0x9434
cmoveq %rcx, %r12
testq %rax, %rax
cmoveq %rcx, %r12
cmpq $0x0, (%r15)
jne 0x482e
movq $0x7fffffff, (%r15)     # imm = 0x7FFFFFFF
leaq 0x4e9d(%rip), %rsi      # 0x96d2
movq %r12, %rdi
callq 0x2170
testl %eax, %eax
je 0x4878
leaq 0x4e8e(%rip), %rsi      # 0x96d6
movq %r12, %rdi
callq 0x2170
testl %eax, %eax
je 0x4888
leaq 0x4e81(%rip), %rsi      # 0x96dc
movq %r12, %rdi
callq 0x2170
testl %eax, %eax
je 0x4898
leaq 0x4e84(%rip), %rdi      # 0x96f2
callq 0x2080
xorl %r14d, %r14d
jmp 0x48b1
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x439f
jmp 0x48a6
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x4603
jmp 0x48a6
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x4468
movq %rax, %r14
movq %rbx, %rdi
callq 0x20b0
movq %r14, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: mkdir
void mkdir(const char* c_file){
	
	char c_aux[500];
	
	strcpy (c_aux,"mkdir -p ");
	strcat (c_aux, c_file);
			
	system (c_aux);//remove .bin
	
}

// Assembly:
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rdi, %rsi
movabsq $0x702d207269646b6d, %rax # imm = 0x702D207269646B6D
movq %rsp, %rbx
movq %rax, (%rbx)
movw $0x20, 0x8(%rbx)
movq %rbx, %rdi
callq 0x2250
movq %rbx, %rdi
callq 0x20e0
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_text_write
int file_text_write(unsigned char *str, size_t n, char* c_file, const char* ext){

	FILE *f_out;
	char *c_out = (char*) malloc((strlen(c_file)+strlen(ext)+3)*sizeof(char));
	
	sprintf(c_out, "%s.%s", c_file, ext);
	f_out = file_open(c_out, "wb");
	
	size_t i;
	for(i=0; i<n;i++) if(str[i]) str[i]--;

	fwrite(str, sizeof(unsigned char), n, f_out);
	
	file_close(f_out);
	free(c_out);

return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
callq 0x20c0
movq %rax, %rbx
movq %r12, %rdi
callq 0x20c0
leaq (%rbx,%rax), %rdi
addq $0x3, %rdi
callq 0x7f0e
movq %rax, %rbx
leaq 0x4db5(%rip), %rsi      # 0x96ec
movq %rax, %rdi
movq %r13, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2260
leaq 0x4afa(%rip), %rsi      # 0x9448
movq %rbx, %rdi
callq 0x42ac
movq %rax, %r12
testq %r14, %r14
je 0x4976
xorl %eax, %eax
movb (%r15,%rax), %cl
testb %cl, %cl
je 0x496e
decb %cl
movb %cl, (%r15,%rax)
incq %rax
cmpq %rax, %r14
jne 0x4960
movl $0x1, %esi
movq %r15, %rdi
movq %r14, %rdx
movq %r12, %rcx
callq 0x2280
movq %r12, %rdi
callq 0x20b0
testq %r12, %r12
je 0x49ad
movq %rbx, %rdi
callq 0x7fc5
movl $0x1, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4d06(%rip), %rdi      # 0x96ba
callq 0x2200
jmp 0x4996
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_text_int_write
int file_text_int_write(int_t *str, size_t n, char* c_file, const char* ext){

	FILE *f_out;
	char *c_out = (char*) malloc((strlen(c_file)+strlen(ext))*sizeof(char));
	
	sprintf(c_out, "%s.%s", c_file, ext);
	f_out = file_open(c_out, "wb");
	
	fwrite(str, sizeof(int_t), n, f_out);
	
	file_close(f_out);
	free(c_out);

return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %rdi
callq 0x20c0
movq %rax, %rbx
movq %r12, %rdi
callq 0x20c0
addq %rax, %rbx
movq %rbx, %rdi
callq 0x7f0e
movq %rax, %rbx
leaq 0x4cf4(%rip), %rsi      # 0x96ec
movq %rax, %rdi
movq %r13, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2260
leaq 0x4a39(%rip), %rsi      # 0x9448
movq %rbx, %rdi
callq 0x42ac
movq %rax, %r12
movl $0x4, %esi
movq %r15, %rdi
movq %r14, %rdx
movq %rax, %rcx
callq 0x2280
movq %r12, %rdi
callq 0x20b0
testq %r12, %r12
je 0x4a51
movq %rbx, %rdi
callq 0x7fc5
movl $0x1, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4c62(%rip), %rdi      # 0x96ba
callq 0x2200
jmp 0x4a3a
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_text_read
int_t file_text_read(unsigned char** str, char* c_file, const char* ext){

	FILE *f_in;
	char *c_in = (char*) malloc((strlen(c_file)+strlen(ext))*sizeof(char));
	
	sprintf(c_in, "%s.%s", c_file, ext);
	f_in = file_open(c_in, "rb");

	fseek(f_in, 0L, SEEK_END);
	size_t size = ftell(f_in);
	rewind(f_in);

	int_t n = size/sizeof(unsigned char);

	*str = (unsigned char*) malloc(n*sizeof(unsigned char));
	fread(*str, sizeof(unsigned char), n, f_in);
	
	file_close(f_in);
	free(c_in);

return n;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq %rsi, %rdi
callq 0x20c0
movq %rax, %rbx
movq %r15, %rdi
callq 0x20c0
addq %rax, %rbx
movq %rbx, %rdi
callq 0x7f0e
movq %rax, %rbx
leaq 0x4c53(%rip), %rsi      # 0x96ec
movq %rax, %rdi
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x2260
leaq 0x4c1f(%rip), %rsi      # 0x96cf
movq %rbx, %rdi
callq 0x42ac
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x21d0
movq %r12, %rdi
callq 0x2190
movq %rax, %r15
movq %r12, %rdi
callq 0x2110
movslq %r15d, %r13
movq %r13, %rdi
callq 0x7f0e
movq %rax, (%r14)
movl $0x1, %esi
movq %rax, %rdi
movq %r13, %rdx
movq %r12, %rcx
callq 0x2090
movq %r12, %rdi
callq 0x20b0
testq %r12, %r12
je 0x4b20
movq %rbx, %rdi
callq 0x7fc5
movl %r15d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4b93(%rip), %rdi      # 0x96ba
callq 0x2200
jmp 0x4b0b
// File: /workspace/github_c_makefile_star2_O1/felipelouza[P]lyndon-array/lib/file.c
// Function: file_text_int_read
int_t file_text_int_read(int_t** str_int, char* c_file, const char* ext){

	FILE *f_in;
	char *c_in = (char*) malloc((strlen(c_file)+strlen(ext))*sizeof(char));
	
	sprintf(c_in, "%s.%s", c_file, ext);
	f_in = file_open(c_in, "rb");

	fseek(f_in, 0L, SEEK_END);
	size_t size = ftell(f_in);
	rewind(f_in);

	int_t n = size/sizeof(int_t);

	*str_int = (int_t*) malloc(n*sizeof(int_t));
	fread(*str_int, sizeof(int_t), n, f_in);
	
	file_close(f_in);
	free(c_in);

return n;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movq %rsi, %rdi
callq 0x20c0
movq %rax, %rbx
movq %r15, %rdi
callq 0x20c0
addq %rax, %rbx
movq %rbx, %rdi
callq 0x7f0e
movq %rax, %rbx
leaq 0x4b84(%rip), %rsi      # 0x96ec
movq %rax, %rdi
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x2260
leaq 0x4b50(%rip), %rsi      # 0x96cf
movq %rbx, %rdi
callq 0x42ac
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x21d0
movq %r12, %rdi
callq 0x2190
movq %rax, %r15
movq %r12, %rdi
callq 0x2110
shrq $0x2, %r15
movslq %r15d, %r13
leaq (,%r13,4), %rdi
callq 0x7f0e
movq %rax, (%r14)
movl $0x4, %esi
movq %rax, %rdi
movq %r13, %rdx
movq %r12, %rcx
callq 0x2090
movq %r12, %rdi
callq 0x20b0
testq %r12, %r12
je 0x4bf8
movq %rbx, %rdi
callq 0x7fc5
movl %r15d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4abb(%rip), %rdi      # 0x96ba
callq 0x2200
jmp 0x4be3
nop