LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: vector_insert
FT_INTERNAL
int vector_insert(f_vector_t *vector, const void *item, size_t pos)
{
    assert(vector);
    assert(item);
    size_t needed_capacity = MAX(pos + 1, vector->m_size + 1);
    if (vector->m_capacity < needed_capacity) {
        if (vector_reallocate_(vector, needed_capacity) == -1)
            return FT_GEN_ERROR;
        vector->m_capacity = needed_capacity;
    }
    size_t offset = pos * vector->m_item_size;
    if (pos >= vector->m_size) {
        /* Data in the middle are not initialized */
        memcpy((char *)vector->m_data + offset, item, vector->m_item_size);
        vector->m_size = pos + 1;
        return FT_SUCCESS;
    } else {
        /* Shift following data by one position */
        memmove((char *)vector->m_data + offset + vector->m_item_size,
                (char *)vector->m_data + offset,
                vector->m_item_size * (vector->m_size - pos));
        memcpy((char *)vector->m_data + offset, item, vector->m_item_size);
        ++(vector->m_size);
        return FT_SUCCESS;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xeef2
movq %rsi, %r14
testq %rsi, %rsi
je 0xef11
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x1(%rdx), %r13
movq (%rdi), %rdx
leaq 0x1(%rdx), %r12
cmpq %r12, %r13
cmovaq %r13, %r12
cmpq %r12, 0x10(%rdi)
jae 0xee8c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x12590
cmpl $-0x1, %eax
je 0xeeed
movq %r12, 0x10(%rbx)
movq (%rbx), %rdx
movq 0x18(%rbx), %rax
movq %rax, %r12
imulq %r15, %r12
movq 0x8(%rbx), %rsi
addq %r12, %rsi
subq %r15, %rdx
jbe 0xeecb
leaq (%rsi,%rax), %rdi
imulq %rax, %rdx
callq 0x7210
addq 0x8(%rbx), %r12
movq 0x18(%rbx), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x71e0
movq (%rbx), %r13
incq %r13
jmp 0xeed9
movq %rsi, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x71e0
movq %r13, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x4
popq %rax
jmp 0xeede
leaq 0xa859(%rip), %rdi      # 0x19752
leaq 0x9b76(%rip), %rsi      # 0x18a76
leaq 0xb38c(%rip), %rcx      # 0x1a293
movl $0x1c98, %edx           # imm = 0x1C98
callq 0x7120
leaq 0x7224(%rip), %rdi      # 0x1613c
leaq 0x9b57(%rip), %rsi      # 0x18a76
leaq 0xb36d(%rip), %rcx      # 0x1a293
movl $0x1c99, %edx           # imm = 0x1C99
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: vector_erase
FT_INTERNAL
int vector_erase(f_vector_t *vector, size_t index)
{
    assert(vector);

    if (vector->m_size == 0 || index >= vector->m_size)
        return FT_GEN_ERROR;

    memmove((char *)vector->m_data + vector->m_item_size * index,
            (char *)vector->m_data + vector->m_item_size * (index + 1),
            (vector->m_size - 1 - index) * vector->m_item_size);
    vector->m_size--;
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xf298
movq %rdi, %rbx
movq (%rdi), %rdx
cmpq %rsi, %rdx
jbe 0xf28e
movq 0x8(%rbx), %rcx
movq 0x18(%rbx), %r8
movq %r8, %rdi
imulq %rsi, %rdi
addq %rcx, %rdi
leaq 0x1(%rsi), %rax
imulq %r8, %rax
addq %rcx, %rax
notq %rsi
addq %rsi, %rdx
imulq %r8, %rdx
movq %rax, %rsi
callq 0x7210
decq (%rbx)
xorl %eax, %eax
jmp 0xf291
pushq $-0x4
popq %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0xa4b3(%rip), %rdi      # 0x19752
leaq 0x97d0(%rip), %rsi      # 0x18a76
leaq 0xb01c(%rip), %rcx      # 0x1a2c9
movl $0x1d1b, %edx           # imm = 0x1D1B
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_printf
int FT_PRINTF(ft_table_t *table, const char *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = CHAR_BUF;
    fmt_str.u.cstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdx, -0xd0(%rbp)
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0xf30b
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0xf351
leaq -0xe0(%rbp), %rax
leaq -0x30(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x10(%rbp), %rdx
andl $0x0, 0x8(%rdx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
addq $0xe0, %rsp
popq %rbp
retq
leaq 0x9718(%rip), %rdi      # 0x18a70
leaq 0x9717(%rip), %rsi      # 0x18a76
leaq 0x9887(%rip), %rcx      # 0x18bed
movl $0xb91, %edx            # imm = 0xB91
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_printf_ln
int FT_PRINTF_LN(ft_table_t *table, const char *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = CHAR_BUF;
    fmt_str.u.cstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    if (result >= 0) {
        ft_ln(table);
    }
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdx, -0xe0(%rbp)
movq %rcx, -0xd8(%rbp)
movq %r8, -0xd0(%rbp)
movq %r9, -0xc8(%rbp)
testb %al, %al
je 0xfc42
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
testq %rdi, %rdi
je 0xfca0
movq %rdi, %rbx
leaq -0xf0(%rbp), %rax
leaq -0x40(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x20(%rbp), %rdx
andl $0x0, 0x8(%rdx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
movl %eax, %r14d
testl %eax, %eax
js 0xfc91
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8dc9(%rip), %rdi      # 0x18a70
leaq 0x8dc8(%rip), %rsi      # 0x18a76
leaq 0x8f67(%rip), %rcx      # 0x18c1c
movl $0xb9f, %edx            # imm = 0xB9F
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_wprintf
int ft_wprintf(ft_table_t *table, const wchar_t *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = W_CHAR_BUF;
    fmt_str.u.wstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdx, -0xd0(%rbp)
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0xfd13
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0xfd5c
leaq -0xe0(%rbp), %rax
leaq -0x30(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq -0x10(%rbp), %rdx
movl $0x1, 0x8(%rdx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
addq $0xe0, %rsp
popq %rbp
retq
leaq 0x8d0d(%rip), %rdi      # 0x18a70
leaq 0x8d0c(%rip), %rsi      # 0x18a76
leaq 0x8edd(%rip), %rcx      # 0x18c4e
movl $0xbb4, %edx            # imm = 0xBB4
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_wprintf_ln
int ft_wprintf_ln(ft_table_t *table, const wchar_t *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = W_CHAR_BUF;
    fmt_str.u.wstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    if (result >= 0) {
        ft_ln(table);
    }
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdx, -0xe0(%rbp)
movq %rcx, -0xd8(%rbp)
movq %r8, -0xd0(%rbp)
movq %r9, -0xc8(%rbp)
testb %al, %al
je 0xfdd5
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
testq %rdi, %rdi
je 0xfe36
movq %rdi, %rbx
leaq -0xf0(%rbp), %rax
leaq -0x40(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq -0x20(%rbp), %rdx
movl $0x1, 0x8(%rdx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
movl %eax, %r14d
testl %eax, %eax
js 0xfe27
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8c33(%rip), %rdi      # 0x18a70
leaq 0x8c32(%rip), %rsi      # 0x18a76
leaq 0x8e36(%rip), %rcx      # 0x18c81
movl $0xbc2, %edx            # imm = 0xBC2
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_nwrite
int ft_nwrite(ft_table_t *table, size_t count, const char *cell_content, ...)
{
    size_t i = 0;
    assert(table);
    int status = ft_write_impl(table, cell_content);
    if (FT_IS_ERROR(status))
        return status;

    va_list va;
    va_start(va, cell_content);
    --count;
    for (i = 0; i < count; ++i) {
        const char *cell = va_arg(va, const char *);
        status = ft_write_impl(table, cell);
        if (FT_IS_ERROR(status)) {
            va_end(va);
            return status;
        }
    }
    va_end(va);
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0xfeb2
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0xff32
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
callq 0xff51
testl %eax, %eax
js 0xff26
leaq -0xe0(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, -0x30(%rbp)
decq %rbx
je 0xff24
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0xff07
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0xff13
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq %r14, %rdi
callq 0xff51
testl %eax, %eax
jns 0xfeea
jmp 0xff26
xorl %eax, %eax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8b37(%rip), %rdi      # 0x18a70
leaq 0x8b36(%rip), %rsi      # 0x18a76
leaq 0x8d70(%rip), %rcx      # 0x18cb7
movl $0xc17, %edx            # imm = 0xC17
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_nwwrite
int ft_nwwrite(ft_table_t *table, size_t n, const wchar_t *cell_content, ...)
{
    size_t i = 0;
    assert(table);
    int status = ft_wwrite_impl(table, cell_content);
    if (FT_IS_ERROR(status))
        return status;

    va_list va;
    va_start(va, cell_content);
    --n;
    for (i = 0; i < n; ++i) {
        const wchar_t *cell = va_arg(va, const wchar_t *);
        status = ft_wwrite_impl(table, cell);
        if (FT_IS_ERROR(status)) {
            va_end(va);
            return status;
        }
    }
    va_end(va);
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x100bd
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0x1013d
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
callq 0x1015c
testl %eax, %eax
js 0x10131
leaq -0xe0(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, -0x30(%rbp)
decq %rbx
je 0x1012f
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x10112
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x1011e
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq %r14, %rdi
callq 0x1015c
testl %eax, %eax
jns 0x100f5
jmp 0x10131
xorl %eax, %eax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x892c(%rip), %rdi      # 0x18a70
leaq 0x892b(%rip), %rsi      # 0x18a76
leaq 0x8bd6(%rip), %rcx      # 0x18d28
movl $0xc4c, %edx            # imm = 0xC4C
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_row_write
int ft_row_write(ft_table_t *table, size_t cols, const char *cells[])
{
    size_t i = 0;
    assert(table);
    for (i = 0; i < cols; ++i) {
        int status = ft_write_impl(table, cells[i]);
        if (FT_IS_ERROR(status)) {
            /* todo: maybe current pos in case of error should be equal to the one before function call? */
            return status;
        }
    }
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x102ca
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpq %r13, %r14
je 0x102b8
movq (%rbx,%r13,8), %rsi
movq %r12, %rdi
callq 0xff51
incq %r13
testl %eax, %eax
jns 0x1029d
movl %eax, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x879f(%rip), %rdi      # 0x18a70
leaq 0x879e(%rip), %rsi      # 0x18a76
leaq 0x8ac2(%rip), %rcx      # 0x18da1
movl $0xc7e, %edx            # imm = 0xC7E
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_row_write_ln
int ft_row_write_ln(ft_table_t *table, size_t cols, const char *cells[])
{
    assert(table);
    int status = ft_row_write(table, cols, cells);
    if (FT_IS_SUCCESS(status)) {
        ft_ln(table);
    }
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x10314
movq %rdi, %rbx
callq 0x1027b
movl %eax, %r14d
testl %eax, %eax
js 0x1030c
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8755(%rip), %rdi      # 0x18a70
leaq 0x8754(%rip), %rsi      # 0x18a76
leaq 0x8aae(%rip), %rcx      # 0x18dd7
movl $0xc8b, %edx            # imm = 0xC8B
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_row_wwrite
int ft_row_wwrite(ft_table_t *table, size_t cols, const wchar_t *cells[])
{
    size_t i = 0;
    assert(table);
    for (i = 0; i < cols; ++i) {
        int status = ft_wwrite_impl(table, cells[i]);
        if (FT_IS_ERROR(status)) {
            /* todo: maybe current pos in case of error should be equal
             * to the one before function call?
             */
            return status;
        }
    }
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x10382
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
xorl %r15d, %r15d
xorl %r13d, %r13d
cmpq %r13, %r14
je 0x10370
movq (%rbx,%r13,8), %rsi
movq %r12, %rdi
callq 0x1015c
incq %r13
testl %eax, %eax
jns 0x10355
movl %eax, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x86e7(%rip), %rdi      # 0x18a70
leaq 0x86e6(%rip), %rsi      # 0x18a76
leaq 0x8a79(%rip), %rcx      # 0x18e10
movl $0xc97, %edx            # imm = 0xC97
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_row_wwrite_ln
int ft_row_wwrite_ln(ft_table_t *table, size_t cols, const wchar_t *cells[])
{
    assert(table);
    int status = ft_row_wwrite(table, cols, cells);
    if (FT_IS_SUCCESS(status)) {
        ft_ln(table);
    }
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x103cc
movq %rdi, %rbx
callq 0x10333
movl %eax, %r14d
testl %eax, %eax
js 0x103c4
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x869d(%rip), %rdi      # 0x18a70
leaq 0x869c(%rip), %rsi      # 0x18a76
leaq 0x8a69(%rip), %rcx      # 0x18e4a
movl $0xca6, %edx            # imm = 0xCA6
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_table_write
int ft_table_write(ft_table_t *table, size_t rows, size_t cols, const char *table_cells[])
{
    size_t i = 0;
    assert(table);
    for (i = 0; i < rows; ++i) {
        int status = ft_row_write(table, cols, (const char **)&table_cells[i * cols]);
        if (FT_IS_ERROR(status)) {
            /* todo: maybe current pos in case of error should be equal
             * to the one before function call?
             */
            return status;
        }
        if (i != rows - 1)
            ft_ln(table);
    }
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1045c
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq (,%rdx,8), %rax
movq %rax, -0x30(%rbp)
movq %rsi, %r12
subq $0x1, %r12
jb 0x1044b
movq %r15, %rdi
movq %rdx, %r13
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x1027b
testl %eax, %eax
js 0x1044d
cmpq $0x1, %r14
je 0x1043f
movq %r15, %rdi
callq 0xecb3
addq -0x30(%rbp), %rbx
movq %r12, %r14
movq %r13, %rdx
jmp 0x10416
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x860d(%rip), %rdi      # 0x18a70
leaq 0x860c(%rip), %rsi      # 0x18a76
leaq 0x8a16(%rip), %rcx      # 0x18e87
movl $0xcb4, %edx            # imm = 0xCB4
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_table_write_ln
int ft_table_write_ln(ft_table_t *table, size_t rows, size_t cols, const char *table_cells[])
{
    assert(table);
    int status = ft_table_write(table, rows, cols, table_cells);
    if (FT_IS_SUCCESS(status)) {
        ft_ln(table);
    }
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x104a6
movq %rdi, %rbx
callq 0x103eb
movl %eax, %r14d
testl %eax, %eax
js 0x1049e
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x85c3(%rip), %rdi      # 0x18a70
leaq 0x85c2(%rip), %rsi      # 0x18a76
leaq 0x8a0c(%rip), %rcx      # 0x18ec7
movl $0xcc5, %edx            # imm = 0xCC5
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_table_wwrite
int ft_table_wwrite(ft_table_t *table, size_t rows, size_t cols, const wchar_t *table_cells[])
{
    size_t i = 0;
    assert(table);
    for (i = 0; i < rows; ++i) {
        int status = ft_row_wwrite(table, cols, (const wchar_t **)&table_cells[i * cols]);
        if (FT_IS_ERROR(status)) {
            /* todo: maybe current pos in case of error should be equal
             * to the one before function call?
             */
            return status;
        }
        if (i != rows - 1)
            ft_ln(table);
    }
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x10536
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq (,%rdx,8), %rax
movq %rax, -0x30(%rbp)
movq %rsi, %r12
subq $0x1, %r12
jb 0x10525
movq %r15, %rdi
movq %rdx, %r13
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x10333
testl %eax, %eax
js 0x10527
cmpq $0x1, %r14
je 0x10519
movq %r15, %rdi
callq 0xecb3
addq -0x30(%rbp), %rbx
movq %r12, %r14
movq %r13, %rdx
jmp 0x104f0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8533(%rip), %rdi      # 0x18a70
leaq 0x8532(%rip), %rsi      # 0x18a76
leaq 0x89bf(%rip), %rcx      # 0x18f0a
movl $0xcd2, %edx            # imm = 0xCD2
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_table_wwrite_ln
int ft_table_wwrite_ln(ft_table_t *table, size_t rows, size_t cols, const wchar_t *table_cells[])
{
    assert(table);
    int status = ft_table_wwrite(table, rows, cols, table_cells);
    if (FT_IS_SUCCESS(status)) {
        ft_ln(table);
    }
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x10580
movq %rdi, %rbx
callq 0x104c5
movl %eax, %r14d
testl %eax, %eax
js 0x10578
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x84e9(%rip), %rdi      # 0x18a70
leaq 0x84e8(%rip), %rsi      # 0x18a76
leaq 0x89b9(%rip), %rcx      # 0x18f4e
movl $0xce3, %edx            # imm = 0xCE3
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_add_separator
int ft_add_separator(ft_table_t *table)
{
    assert(table);
    assert(table->separators);

    while (vector_size(table->separators) <= table->cur_row) {
        f_separator_t *sep_p = create_separator(F_FALSE);
        if (sep_p == NULL)
            return FT_MEMORY_ERROR;
        int status = vector_push(table->separators, &sep_p);
        if (FT_IS_ERROR(status))
            return status;
    }

    f_separator_t **sep_p = &VECTOR_AT(table->separators, table->cur_row, f_separator_t *);
    if (*sep_p == NULL)
        *sep_p = create_separator(F_TRUE);
    else
        (*sep_p)->enabled = F_TRUE;

    if (*sep_p == NULL)
        return FT_GEN_ERROR;
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x115bc
movq %rdi, %r14
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x115db
pushq $0x1
popq %r15
pushq $0x4
popq %r12
leaq -0x30(%rbp), %r13
callq 0xe77d
movq 0x18(%r14), %rbx
cmpq %rbx, %rax
ja 0x11557
movq %r15, %rdi
movq %r12, %rsi
callq *0xecfb(%rip)           # 0x20230
testq %rax, %rax
je 0x1156b
andl $0x0, (%rax)
movq %rax, -0x30(%rbp)
movq 0x28(%r14), %rdi
movq %r13, %rsi
callq 0xec18
testl %eax, %eax
js 0x115ad
movq 0x28(%r14), %rdi
jmp 0x1151b
movq 0x28(%r14), %rax
cmpq %rbx, (%rax)
jbe 0x11570
imulq 0x18(%rax), %rbx
addq 0x8(%rax), %rbx
jmp 0x11572
pushq $-0x1
popq %rax
jmp 0x115ad
xorl %ebx, %ebx
movq (%rbx), %rax
testq %rax, %rax
je 0x11584
movl $0x1, (%rax)
xorl %eax, %eax
jmp 0x115ad
pushq $0x1
popq %rdi
pushq $0x4
popq %rsi
callq *0xeca0(%rip)           # 0x20230
testq %rax, %rax
je 0x1159b
movl $0x1, (%rax)
movq %rax, (%rbx)
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
leal -0x4(,%rcx,4), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x74ad(%rip), %rdi      # 0x18a70
leaq 0x74ac(%rip), %rsi      # 0x18a76
leaq 0x79c4(%rip), %rcx      # 0x18f95
movl $0xd5c, %edx            # imm = 0xD5C
callq 0x7120
leaq 0x79d6(%rip), %rdi      # 0x18fb8
leaq 0x748d(%rip), %rsi      # 0x18a76
leaq 0x79a5(%rip), %rcx      # 0x18f95
movl $0xd5d, %edx            # imm = 0xD5D
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_set_border_style
int ft_set_border_style(ft_table_t *table, const struct ft_border_style *style)
{
    assert(table);
    if (table->properties == NULL) {
        table->properties = create_table_properties();
        if (table->properties == NULL)
            return FT_MEMORY_ERROR;
    }
    set_border_props_for_props(table->properties, style);
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x11830
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
jne 0x1181c
callq 0xe659
movq %rax, %rdi
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1182b
movq %rbx, %rsi
callq 0x11611
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
pushq $-0x1
popq %rax
jmp 0x11826
leaq 0x7239(%rip), %rdi      # 0x18a70
leaq 0x7238(%rip), %rsi      # 0x18a76
leaq 0x7785(%rip), %rcx      # 0x18fca
movl $0xde1, %edx            # imm = 0xDE1
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_set_cell_prop
int ft_set_cell_prop(ft_table_t *table, size_t row, size_t col, uint32_t property, int value)
{
    assert(table);

    if (table->properties == NULL) {
        table->properties = create_table_properties();
        if (table->properties == NULL)
            return FT_MEMORY_ERROR;
    }
    if (table->properties->cell_properties == NULL) {
        table->properties->cell_properties = create_cell_prop_container();
        if (table->properties->cell_properties == NULL) {
            return FT_GEN_ERROR;
        }
    }

    if (row == FT_CUR_ROW)
        row = table->cur_row;
    if (col == FT_CUR_COLUMN)
        col = table->cur_col;

    return set_cell_property(table->properties->cell_properties, row, col, property, value);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
testq %rdi, %rdi
je 0x11994
movl %r8d, %ebx
movl %ecx, %r15d
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x11893
callq 0xe659
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1197e
movl %r15d, -0x2c(%rbp)
movl %ebx, -0x30(%rbp)
movq 0x160(%rax), %rbx
pushq $-0x4
popq %r15
testq %rbx, %rbx
jne 0x118c6
callq 0x119b3
movq %rax, %rbx
movq 0x8(%r14), %rax
movq %rbx, 0x160(%rax)
testq %rbx, %rbx
je 0x11982
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
cmpq %rax, %r13
jne 0x118d4
movq 0x18(%r14), %r13
cmpq %rax, %r12
jne 0x118dd
movq 0x20(%r14), %r12
movq (%rbx), %r14
xorl %eax, %eax
cmpq %rax, %r14
je 0x11907
movq 0x8(%rbx), %rdi
movq 0x18(%rbx), %rcx
imulq %rax, %rcx
cmpq %r13, (%rdi,%rcx)
jne 0x11902
addq %rcx, %rdi
cmpq %r12, 0x8(%rdi)
je 0x1196e
incq %rax
jmp 0x118e2
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %r13, %rcx
xorq %rax, %rcx
xorq %r12, %rax
orq %rcx, %rax
jne 0x1192d
leaq 0xff57(%rip), %rsi      # 0x21878
pushq $0x9
popq %rcx
leaq -0x78(%rbp), %rdi
rep  movsq (%rsi), %es:(%rdi)
jmp 0x11941
xorps %xmm0, %xmm0
movups %xmm0, -0x48(%rbp)
movups %xmm0, -0x58(%rbp)
movups %xmm0, -0x68(%rbp)
andq $0x0, -0x38(%rbp)
leaq -0x78(%rbp), %rsi
movq %r13, (%rsi)
movq %r12, 0x8(%rsi)
movq %rbx, %rdi
callq 0xec18
testl %eax, %eax
js 0x11982
cmpq %r14, (%rbx)
jbe 0x11982
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x11982
imulq 0x18(%rbx), %r14
addq %r14, %rdi
movl -0x2c(%rbp), %esi
movl -0x30(%rbp), %edx
callq 0x14260
movl %eax, %r15d
jmp 0x11982
pushq $-0x1
popq %r15
movl %r15d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x70d5(%rip), %rdi      # 0x18a70
leaq 0x70d4(%rip), %rsi      # 0x18a76
leaq 0x7667(%rip), %rcx      # 0x19010
movl $0xdef, %edx            # imm = 0xDEF
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_set_tbl_prop
int ft_set_tbl_prop(ft_table_t *table, uint32_t property, int value)
{
    assert(table);

    if (table->properties == NULL) {
        table->properties = create_table_properties();
        if (table->properties == NULL)
            return FT_MEMORY_ERROR;
    }
    return set_entire_table_property(table->properties, property, value);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x11a55
movl %edx, %ebx
movl %esi, %r14d
movq %rdi, %r15
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
jne 0x11a2c
callq 0xe659
movq %rax, %rdi
movq %rax, 0x8(%r15)
testq %rax, %rax
je 0x11a47
addq $0x168, %rdi            # imm = 0x168
movl %r14d, %esi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x14356
pushq $-0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7014(%rip), %rdi      # 0x18a70
leaq 0x7013(%rip), %rsi      # 0x18a76
leaq 0x75e8(%rip), %rcx      # 0x19052
movl $0xe12, %edx            # imm = 0xE12
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_set_cell_span
int ft_set_cell_span(ft_table_t *table, size_t row, size_t col, size_t hor_span)
{
    assert(table);
    if (hor_span < 2)
        return FT_EINVAL;

    if (row == FT_CUR_ROW)
        row = table->cur_row;
    if (row == FT_CUR_COLUMN)
        col = table->cur_col;

    f_row_t *row_p = get_row_and_create_if_not_exists(table, row);
    if (row_p == NULL)
        return FT_GEN_ERROR;

    return row_set_cell_span(row_p, col, hor_span);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x11bcd
movq %rcx, %rbx
cmpq $0x2, %rcx
jae 0x11b4a
pushq $-0x2
popq %r15
jmp 0x11bbb
movq %rdx, %r14
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
cmpq %rax, %rsi
jne 0x11b69
movq 0x18(%rdi), %rsi
cmpq %rax, %rsi
jne 0x11b69
movq 0x20(%rdi), %r14
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x11bec
pushq $-0x4
popq %r15
testq %rax, %rax
je 0x11bbb
movq %rax, %r12
movq %rax, %rdi
movq %r14, %rsi
callq 0x121d5
testq %rax, %rax
je 0x11bbb
decq %rbx
incq %r14
pushq $0x1
popq %rcx
pushq $0x2
popq %r13
movl %ecx, 0x8(%rax)
subq $0x1, %rbx
jb 0x11bb8
movq %r12, %rdi
movq %r14, %rsi
callq 0x121d5
incq %r14
movl %r13d, %ecx
testq %rax, %rax
jne 0x11b97
jmp 0x11bbb
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6e9c(%rip), %rdi      # 0x18a70
leaq 0x6e9b(%rip), %rsi      # 0x18a76
leaq 0x7500(%rip), %rcx      # 0x190e2
movl $0xe36, %edx            # imm = 0xE36
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_u8nwrite
int ft_u8nwrite(ft_table_t *table, size_t n, const void *cell_content, ...)
{
    size_t i = 0;
    assert(table);
    int status = ft_u8write_impl(table, cell_content);
    if (FT_IS_ERROR(status))
        return status;

    va_list va;
    va_start(va, cell_content);
    --n;
    for (i = 0; i < n; ++i) {
        const void *cell = va_arg(va, const void *);
        status = ft_u8write_impl(table, cell);
        if (FT_IS_ERROR(status)) {
            va_end(va);
            return status;
        }
    }
    va_end(va);

    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x11c48
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0x11cc8
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
callq 0x11ce7
testl %eax, %eax
js 0x11cbc
leaq -0xe0(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, -0x30(%rbp)
decq %rbx
je 0x11cba
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x11c9d
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x11ca9
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq %r14, %rdi
callq 0x11ce7
testl %eax, %eax
jns 0x11c80
jmp 0x11cbc
xorl %eax, %eax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6da1(%rip), %rdi      # 0x18a70
leaq 0x6da0(%rip), %rsi      # 0x18a76
leaq 0x7440(%rip), %rcx      # 0x1911d
movl $0xe4b, %edx            # imm = 0xE4B
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_u8nwrite_ln
int ft_u8nwrite_ln(ft_table_t *table, size_t n, const void *cell_content, ...)
{
    size_t i = 0;
    assert(table);
    int status = ft_u8write_impl(table, cell_content);
    if (FT_IS_ERROR(status))
        return status;

    va_list va;
    va_start(va, cell_content);
    --n;
    for (i = 0; i < n; ++i) {
        const void *cell = va_arg(va, const void *);
        status = ft_u8write_impl(table, cell);
        if (FT_IS_ERROR(status)) {
            va_end(va);
            return status;
        }
    }
    va_end(va);

    ft_ln(table);
    return status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x11d5b
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0x11de7
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x11ce7
testl %eax, %eax
js 0x11ddb
leaq -0xe0(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, -0x30(%rbp)
decq %r14
je 0x11dd1
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x11db4
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x11dc0
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq %rbx, %rdi
callq 0x11ce7
testl %eax, %eax
jns 0x11d97
jmp 0x11ddb
movq %rbx, %rdi
callq 0xecb3
xorl %eax, %eax
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6c82(%rip), %rdi      # 0x18a70
leaq 0x6c81(%rip), %rsi      # 0x18a76
leaq 0x735a(%rip), %rcx      # 0x19156
movl $0xe63, %edx            # imm = 0xE63
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_u8printf
int ft_u8printf(ft_table_t *table, const char *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = UTF8_BUF;
    fmt_str.u.cstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdx, -0xd0(%rbp)
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x11e5a
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
testq %rdi, %rdi
je 0x11ea3
leaq -0xe0(%rbp), %rax
leaq -0x30(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq -0x10(%rbp), %rdx
movl $0x2, 0x8(%rdx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
addq $0xe0, %rsp
popq %rbp
retq
leaq 0x6bc6(%rip), %rdi      # 0x18a70
leaq 0x6bc5(%rip), %rsi      # 0x18a76
leaq 0x72da(%rip), %rcx      # 0x19192
movl $0xe7c, %edx            # imm = 0xE7C
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_u8printf_ln
int ft_u8printf_ln(ft_table_t *table, const char *fmt, ...)
{
    assert(table);
    va_list va;
    va_start(va, fmt);

    struct f_string_view fmt_str;
    fmt_str.type = UTF8_BUF;
    fmt_str.u.cstr = fmt;
    int result = ft_row_printf_impl_(table, table->cur_row, &fmt_str, &va);
    if (result >= 0) {
        ft_ln(table);
    }
    va_end(va);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rdx, -0xe0(%rbp)
movq %rcx, -0xd8(%rbp)
movq %r8, -0xd0(%rbp)
movq %r9, -0xc8(%rbp)
testb %al, %al
je 0x11f1c
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
testq %rdi, %rdi
je 0x11f7d
movq %rdi, %rbx
leaq -0xf0(%rbp), %rax
leaq -0x40(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
leaq -0x20(%rbp), %rdx
movl $0x2, 0x8(%rdx)
movq %rsi, (%rdx)
movq 0x18(%rdi), %rsi
callq 0xf370
movl %eax, %r14d
testl %eax, %eax
js 0x11f6e
movq %rbx, %rdi
callq 0xecb3
movl %r14d, %eax
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x6aec(%rip), %rdi      # 0x18a70
leaq 0x6aeb(%rip), %rsi      # 0x18a76
leaq 0x7231(%rip), %rcx      # 0x191c3
movl $0xe8b, %edx            # imm = 0xE8B
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: create_row_impl
static
f_row_t *create_row_impl(f_vector_t *cells)
{
    f_row_t *row = (f_row_t *)F_CALLOC(1, sizeof(f_row_t));
    if (row == NULL)
        return NULL;
    if (cells) {
        row->cells = cells;
    } else {
        row->cells = create_vector(sizeof(f_cell_t *), DEFAULT_VECTOR_CAPACITY);
        if (row->cells == NULL) {
            F_FREE(row);
            return NULL;
        }
    }
    return row;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
pushq $0x1
popq %rdi
pushq $0x8
popq %rsi
callq *0xe262(%rip)           # 0x20230
testq %rax, %rax
je 0x11ffc
movq %rax, %rbx
testq %r14, %r14
je 0x11fe0
movq %r14, (%rbx)
jmp 0x11ffe
pushq $0x8
popq %rdi
pushq $0xa
popq %rsi
callq 0xe5ad
movq %rax, (%rbx)
testq %rax, %rax
jne 0x11ffe
movq %rbx, %rdi
callq *0xe23c(%rip)           # 0x20238
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: destroy_each_cell
static
void destroy_each_cell(f_vector_t *cells)
{
    size_t i = 0;
    size_t cells_n = vector_size(cells);
    for (i = 0; i < cells_n; ++i) {
        f_cell_t *cell = VECTOR_AT(cells, i, f_cell_t *);
        destroy_cell(cell);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0xe77d
movq %rax, %r14
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x1203d
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rcx
imulq %r15, %rcx
movq (%rax,%rcx), %rdi
callq 0x12048
incq %r15
jmp 0x1201e
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: create_string_buffer
FT_INTERNAL
f_string_buffer_t *create_string_buffer(size_t n_chars, enum f_string_type type)
{
    size_t char_sz = 0;
    switch (type) {
        case CHAR_BUF:
            char_sz = 1;
            break;
#ifdef FT_HAVE_WCHAR
        case W_CHAR_BUF:
            char_sz = sizeof(wchar_t);
            break;
#endif
#ifdef FT_HAVE_UTF8
        case UTF8_BUF:
            char_sz = 4;
            break;
#endif
    }

    size_t sz = n_chars * char_sz;
    f_string_buffer_t *result = (f_string_buffer_t *)F_MALLOC(sizeof(f_string_buffer_t));
    if (result == NULL)
        return NULL;
    result->str.data = F_MALLOC(sz);
    if (result->str.data == NULL) {
        F_FREE(result);
        return NULL;
    }
    result->data_sz = sz;
    result->type = type;

    if (sz) {
        switch (type) {
            case CHAR_BUF:
                result->str.cstr[0] = '\0';
                break;
#ifdef FT_HAVE_WCHAR
            case W_CHAR_BUF:
                result->str.wstr[0] = L'\0';
                break;
#endif
#ifdef FT_HAVE_UTF8
            case UTF8_BUF:
                result->str.cstr[0] = '\0';
                break;
#endif
        }
    }

    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r14d
movq %rdi, %r12
cmpl $0x2, %esi
ja 0x120a6
movl %r14d, %eax
leaq 0x69b8(%rip), %rcx      # 0x18a58
movq (%rcx,%rax,8), %r15
jmp 0x120a9
xorl %r15d, %r15d
pushq $0x18
popq %rdi
callq *0xe316(%rip)           # 0x203c8
testq %rax, %rax
je 0x120fb
movq %rax, %rbx
imulq %r12, %r15
movq %r15, %rdi
callq *0xe301(%rip)           # 0x203c8
movq %rax, (%rbx)
testq %rax, %rax
je 0x120f2
movq %r15, 0x8(%rbx)
movl %r14d, 0x10(%rbx)
testq %r15, %r15
je 0x120fd
cmpl $0x2, %r14d
je 0x120ed
cmpl $0x1, %r14d
je 0x12109
testl %r14d, %r14d
jne 0x120fd
movb $0x0, (%rax)
jmp 0x120fd
movq %rbx, %rdi
callq *0xe13d(%rip)           # 0x20238
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
andl $0x0, (%rax)
jmp 0x120fd
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: string_buffer_width_capacity
FT_INTERNAL
size_t string_buffer_width_capacity(const f_string_buffer_t *buffer)
{
    assert(buffer);
    switch (buffer->type) {
        case CHAR_BUF:
            return buffer->data_sz;
#ifdef FT_HAVE_WCHAR
        case W_CHAR_BUF:
            return buffer->data_sz / sizeof(wchar_t);
#endif
#ifdef FT_HAVE_UTF8
        case UTF8_BUF:
            return buffer->data_sz / 4;
#endif
        default:
            assert(0);
            return 0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x12138
movl 0x10(%rdi), %eax
cmpl $0x2, %eax
je 0x1212e
cmpl $0x1, %eax
je 0x1212e
testl %eax, %eax
jne 0x12157
movq 0x8(%rdi), %rax
jmp 0x12136
movq 0x8(%rdi), %rax
shrq $0x2, %rax
popq %rbp
retq
leaq 0x76f6(%rip), %rdi      # 0x19835
leaq 0x6930(%rip), %rsi      # 0x18a76
leaq 0x7285(%rip), %rcx      # 0x193d2
movl $0x1ab1, %edx           # imm = 0x1AB1
callq 0x7120
leaq 0x71dc(%rip), %rdi      # 0x1933a
leaq 0x6911(%rip), %rsi      # 0x18a76
leaq 0x7266(%rip), %rcx      # 0x193d2
movl $0x1abe, %edx           # imm = 0x1ABE
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: realloc_string_buffer_without_copy
FT_INTERNAL
f_status realloc_string_buffer_without_copy(f_string_buffer_t *buffer)
{
    assert(buffer);
    char *new_str = (char *)F_MALLOC(buffer->data_sz * 2);
    if (new_str == NULL) {
        return FT_MEMORY_ERROR;
    }
    F_FREE(buffer->str.data);
    buffer->str.data = new_str;
    buffer->data_sz *= 2;
    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x121b6
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
addq %rdi, %rdi
callq *0xe236(%rip)           # 0x203c8
testq %rax, %rax
je 0x121ae
movq %rax, %r14
movq (%rbx), %rdi
callq *0xe095(%rip)           # 0x20238
movq %r14, (%rbx)
shlq 0x8(%rbx)
xorl %eax, %eax
jmp 0x121b1
pushq $-0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x7678(%rip), %rdi      # 0x19835
leaq 0x68b2(%rip), %rsi      # 0x18a76
leaq 0x7246(%rip), %rcx      # 0x19411
movl $0x197f, %edx           # imm = 0x197F
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: columns_number_in_fmt_string
static
size_t columns_number_in_fmt_string(const char *fmt)
{
    size_t separator_counter = 0;
    const char *pos = fmt;
    while (1) {
        pos = strchr(pos, g_col_separator);
        if (pos == NULL)
            break;

        separator_counter++;
        ++pos;
    }
    return separator_counter + 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rax
movsbl 0xe04d(%rip), %r14d     # 0x20240
pushq $0x1
popq %rbx
movq %rax, %rdi
movl %r14d, %esi
callq 0x70e0
testq %rax, %rax
je 0x1220e
incq %rax
incq %rbx
jmp 0x121f6
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: columns_number_in_fmt_wstring
static
size_t columns_number_in_fmt_wstring(const wchar_t *fmt)
{
    size_t separator_counter = 0;
    const wchar_t *pos = fmt;
    while (1) {
        pos = wcschr(pos, g_col_separator);
        if (pos == NULL)
            break;

        separator_counter++;
        ++pos;
    }
    return separator_counter + 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rax
movsbl 0xe018(%rip), %r14d     # 0x20240
pushq $0x1
popq %rbx
movq %rax, %rdi
movl %r14d, %esi
callq 0x7230
testq %rax, %rax
je 0x12244
addq $0x4, %rax
incq %rbx
jmp 0x1222b
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: columns_number_in_fmt_u8string
static
size_t columns_number_in_fmt_u8string(const void *fmt)
{
    size_t separator_counter = 0;
    const char *pos = (const char *)fmt;
    while (1) {
        pos = (const char *)utf8chr(pos, g_col_separator);
        if (pos == NULL)
            break;

        separator_counter++;
        ++pos;
    }
    return separator_counter + 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rax
movsbl 0xdfe2(%rip), %r14d     # 0x20240
pushq $0x1
popq %rbx
movq %rax, %rdi
movl %r14d, %esi
callq 0xd3db
testq %rax, %rax
je 0x12279
incq %rax
incq %rbx
jmp 0x12261
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: fort_strdup
FT_INTERNAL
char *fort_strdup(const char *str)
{
    if (str == NULL)
        return NULL;

    size_t sz = strlen(str);
    char *str_copy = (char *)F_MALLOC((sz + 1) * sizeof(char));
    if (str_copy == NULL)
        return NULL;

    strcpy(str_copy, str);
    return str_copy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x70d0
leaq 0x1(%rax), %rdi
callq *0xe12f(%rip)           # 0x203c8
testq %rax, %rax
je 0x122af
movq %rax, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x7050
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: create_cell
FT_INTERNAL
f_cell_t *create_cell(void)
{
    f_cell_t *cell = (f_cell_t *)F_CALLOC(sizeof(f_cell_t), 1);
    if (cell == NULL)
        return NULL;
    cell->str_buffer = create_string_buffer(DEFAULT_STR_BUF_SIZE, CHAR_BUF);
    if (cell->str_buffer == NULL) {
        F_FREE(cell);
        return NULL;
    }
    cell->cell_type = COMMON_CELL;
    return cell;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
pushq $0x10
popq %rdi
pushq $0x1
popq %rsi
callq *0xdf3b(%rip)           # 0x20230
testq %rax, %rax
je 0x12320
movq %rax, %rbx
movl $0x400, %edi            # imm = 0x400
xorl %esi, %esi
callq 0x12080
movq %rax, (%rbx)
testq %rax, %rax
je 0x12317
andl $0x0, 0x8(%rbx)
jmp 0x12322
movq %rbx, %rdi
callq *0xdf18(%rip)           # 0x20238
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: fill_buffer_from_string
FT_INTERNAL
f_status fill_buffer_from_string(f_string_buffer_t *buffer, const char *str)
{
    assert(buffer);
    assert(str);

    char *copy = F_STRDUP(str);
    if (copy == NULL)
        return FT_MEMORY_ERROR;

    F_FREE(buffer->str.data);
    buffer->str.cstr = copy;
    buffer->type = CHAR_BUF;

    return FT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1236c
testq %rsi, %rsi
je 0x1238b
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x12281
testq %rax, %rax
je 0x12364
movq %rax, %r14
movq (%rbx), %rdi
callq *0xdedf(%rip)           # 0x20238
movq %r14, (%rbx)
andl $0x0, 0x10(%rbx)
xorl %eax, %eax
jmp 0x12367
pushq $-0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x74c2(%rip), %rdi      # 0x19835
leaq 0x66fc(%rip), %rsi      # 0x18a76
leaq 0x7158(%rip), %rcx      # 0x194d9
movl $0x198e, %edx           # imm = 0x198E
callq 0x7120
leaq 0x7105(%rip), %rdi      # 0x19497
leaq 0x66dd(%rip), %rsi      # 0x18a76
leaq 0x7139(%rip), %rcx      # 0x194d9
movl $0x198f, %edx           # imm = 0x198F
callq 0x7120
// File: /workspace/github_c_makefile_star2_O2/neosploit[P]compiler/libfort/lib/fort.c
// Function: fort_wcsdup
FT_INTERNAL
wchar_t *fort_wcsdup(const wchar_t *str)
{
    if (str == NULL)
        return NULL;

    size_t sz = wcslen(str);
    wchar_t *str_copy = (wchar_t *)F_MALLOC((sz + 1) * sizeof(wchar_t));
    if (str_copy == NULL)
        return NULL;

    wcscpy(str_copy, str);
    return str_copy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x7100
leaq 0x4(,%rax,4), %rdi
callq *0xe001(%rip)           # 0x203c8
movq %rax, %r14
testq %rax, %rax
je 0x123da
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7160
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq