// File: /workspace/github_c_makefile_star2_O1/neosploit[P]compiler/libfort/lib/fort.c
// Function: ft_to_string_impl
static
const void *ft_to_string_impl(const ft_table_t *table, enum f_string_type b_type)
{
    assert(table);

    const char *result = NULL;

    /* Determine size of table string representation */
    size_t cod_height = 0;
    size_t cod_width = 0;
    int status = table_internal_codepoints_geometry(table, &cod_height, &cod_width);
    if (FT_IS_ERROR(status)) {
        return NULL;
    }
    size_t n_codepoints = cod_height * cod_width + 1;

    /* Allocate string buffer for string representation */
    if (table->conv_buffer == NULL) {
        ((ft_table_t *)table)->conv_buffer = create_string_buffer(n_codepoints, b_type);
        if (table->conv_buffer == NULL)
            return NULL;
    }
    while (string_buffer_cod_width_capacity(table->conv_buffer) < n_codepoints) {
        if (FT_IS_ERROR(realloc_string_buffer_without_copy(table->conv_buffer))) {
            return NULL;
        }
    }
    if (!buffer_check_align(table->conv_buffer))
        return NULL;
    char *buffer = (char *)buffer_get_data(table->conv_buffer);

    size_t cols = 0;
    size_t rows = 0;
    size_t *col_vis_width_arr = NULL;
    size_t *row_vis_height_arr = NULL;
    status = table_rows_and_cols_geometry(table, &col_vis_width_arr, &cols, &row_vis_height_arr, &rows, VISIBLE_GEOMETRY);
    if (FT_IS_ERROR(status))
        return NULL;

    if (rows == 0) {
        F_FREE(col_vis_width_arr);
        F_FREE(row_vis_height_arr);
        return empty_str_arr[b_type];
    }

    int tmp = 0;
    size_t i = 0;
    f_context_t context;
    context.table_properties = (table->properties ? table->properties : &g_table_properties);
    f_row_t *prev_row = NULL;
    f_row_t *cur_row = NULL;
    f_separator_t *cur_sep = NULL;
    size_t sep_size = vector_size(table->separators);

    f_conv_context_t cntx;
    cntx.u.buf = buffer;
    cntx.raw_avail = string_buffer_raw_capacity(table->conv_buffer);
    cntx.cntx = &context;
    cntx.b_type = b_type;

    /* Print top margin */
    for (i = 0; i < context.table_properties->entire_table_properties.top_margin; ++i) {
        FT_CHECK(print_n_strings(&cntx, cod_width - 1/* minus new_line*/, FT_SPACE));
        FT_CHECK(print_n_strings(&cntx, 1, FT_NEWLINE));
    }

    for (i = 0; i < rows; ++i) {
        cur_sep = (i < sep_size) ? VECTOR_AT(table->separators, i, f_separator_t *) : NULL;
        cur_row = VECTOR_AT(table->rows, i, f_row_t *);
        enum f_hor_separator_pos separatorPos = (i == 0) ? TOP_SEPARATOR : INSIDE_SEPARATOR;
        context.row = i;
        FT_CHECK(print_row_separator(&cntx, col_vis_width_arr, cols, prev_row, cur_row, separatorPos, cur_sep));
        FT_CHECK(snprintf_row(cur_row, &cntx, col_vis_width_arr, cols, row_vis_height_arr[i]));
        prev_row = cur_row;
    }
    cur_row = NULL;
    cur_sep = (i < sep_size) ? VECTOR_AT(table->separators, i, f_separator_t *) : NULL;
    context.row = i;
    FT_CHECK(print_row_separator(&cntx, col_vis_width_arr, cols, prev_row, cur_row, BOTTOM_SEPARATOR, cur_sep));

    /* Print bottom margin */
    for (i = 0; i < context.table_properties->entire_table_properties.bottom_margin; ++i) {
        FT_CHECK(print_n_strings(&cntx, cod_width - 1/* minus new_line*/, FT_SPACE));
        FT_CHECK(print_n_strings(&cntx, 1, FT_NEWLINE));
    }

    result = buffer;

clear:
    F_FREE(col_vis_width_arr);
    F_FREE(row_vis_height_arr);
    return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x358, %rsp            # imm = 0x358
movl %esi, -0x38(%rbp)
testq %rdi, %rdi
je 0x120c9
movq %rdi, %r14
xorl %r12d, %r12d
leaq -0x370(%rbp), %rdx
movq %r12, (%rdx)
leaq -0x2f0(%rbp), %r8
movq %r12, (%r8)
leaq -0x270(%rbp), %rsi
movq %r12, (%rsi)
leaq -0x1f0(%rbp), %rcx
movq %r12, (%rcx)
movl $0x1, %r9d
callq 0x13862
movl %eax, %ecx
movl $0x0, %eax
testl %ecx, %ecx
js 0x112fe
movl %ecx, -0x78(%rbp)
movq -0x370(%rbp), %rax
cmpq $0x1, %rax
movq %rax, %rbx
adcq $0x2, %rbx
testq %rax, %rax
je 0x11205
movq -0x270(%rbp), %rcx
xorl %edx, %edx
addq (%rcx,%rdx,8), %rbx
incq %rdx
cmpq %rdx, %rax
jne 0x111f9
movq -0x2f0(%rbp), %rax
cmpq $0x1, %rax
movq %rax, %r12
adcq $0x1, %r12
testq %rax, %rax
je 0x11231
movq -0x1f0(%rbp), %rcx
xorl %edx, %edx
addq (%rcx,%rdx,8), %r12
incq %rdx
cmpq %rdx, %rax
jne 0x11225
movq -0x270(%rbp), %rdi
callq *0xfffa(%rip)           # 0x21238
movq -0x1f0(%rbp), %rdi
callq *0xffed(%rip)           # 0x21238
movq 0x8(%r14), %r15
testq %r15, %r15
movq %r14, -0x30(%rbp)
je 0x11282
movl 0x168(%r15), %eax
movl 0x16c(%r15), %ecx
addq %rcx, %r12
movl 0x174(%r15), %ecx
addq %rcx, %r12
addq %rax, %rbx
movl 0x170(%r15), %eax
addq %rax, %rbx
jmp 0x11289
leaq 0xffbf(%rip), %r15      # 0x21248
movl $0x1, %eax
xorl %r13d, %r13d
movq %rax, %r14
movq (%r15,%r13,8), %rdi
callq 0x70e0
cmpq %rax, %r14
cmovaq %r14, %rax
incq %r13
cmpq $0x13, %r13
jne 0x11291
xorl %r13d, %r13d
movq %rax, %r14
movq 0x98(%r15,%r13,8), %rdi
callq 0x70e0
cmpq %rax, %r14
cmovaq %r14, %rax
incq %r13
cmpq $0x13, %r13
jne 0x112b0
xorl %r13d, %r13d
movq %rax, %r14
movq 0x130(%r15,%r13,8), %rdi
callq 0x70e0
cmpq %rax, %r14
cmovaq %r14, %rax
incq %r13
cmpq $0x6, %r13
jne 0x112d3
imulq %rbx, %rax
movq -0x30(%rbp), %r14
movl -0x78(%rbp), %ecx
testl %ecx, %ecx
js 0x113b7
movq %rax, -0x130(%rbp)
imulq %rax, %r12
incq %r12
cmpq $0x0, 0x10(%r14)
jne 0x11333
movq %r12, %rdi
movl -0x38(%rbp), %esi
callq 0x12f46
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x113b7
movq 0x10(%r14), %rdi
callq 0x12fd9
cmpq %r12, %rax
jae 0x11384
xorl %r13d, %r13d
movq 0x10(%r14), %r15
testq %r15, %r15
je 0x120aa
movq 0x8(%r15), %rdi
addq %rdi, %rdi
callq *0x1006a(%rip)          # 0x213c8
testq %rax, %rax
je 0x113ba
movq %rax, %rbx
movq (%r15), %rdi
callq *0xfec9(%rip)           # 0x21238
movq %rbx, (%r15)
shlq 0x8(%r15)
movq 0x10(%r14), %rdi
callq 0x12fd9
cmpq %r12, %rax
jb 0x11344
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x120e8
movq (%rax), %rbx
testq %rbx, %rbx
je 0x12107
movl 0x10(%rax), %eax
testl %eax, %eax
je 0x113cf
cmpl $0x2, %eax
je 0x113cf
cmpl $0x1, %eax
jne 0x12145
testb $0x3, %bl
je 0x113cf
xorl %r13d, %r13d
movq %r13, %rax
addq $0x358, %rsp            # imm = 0x358
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r13d, %r13d
leaq -0x108(%rbp), %rdx
movq %r13, (%rdx)
leaq -0x100(%rbp), %r8
movq %r13, (%r8)
leaq -0x80(%rbp), %rsi
movq %r13, (%rsi)
leaq -0xf8(%rbp), %rcx
movq %r13, (%rcx)
movq %r14, %rdi
xorl %r9d, %r9d
callq 0x13862
testl %eax, %eax
js 0x113ba
cmpq $0x0, -0x100(%rbp)
je 0x11f67
movq 0x8(%r14), %rax
testq %rax, %rax
leaq 0xfe26(%rip), %rcx      # 0x21248
cmovneq %rax, %rcx
movq %rcx, -0x160(%rbp)
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x12164
movq (%rax), %rax
movq %rax, -0x128(%rbp)
movq %rbx, -0xb8(%rbp)
movq %rbx, -0xb0(%rbp)
movq 0x10(%r14), %rax
movq 0x8(%rax), %rax
movq %rax, -0xa8(%rbp)
leaq -0x160(%rbp), %rax
movq %rax, -0xa0(%rbp)
movl -0x38(%rbp), %ecx
movl %ecx, -0x98(%rbp)
movq (%rax), %rax
cmpl $0x0, 0x16c(%rax)
je 0x114e7
movq -0x130(%rbp), %rax
leaq -0x1(%rax), %rbx
xorl %r13d, %r13d
leaq -0xb0(%rbp), %r12
xorl %r15d, %r15d
movq %r12, %rdi
movq %rbx, %rsi
leaq 0x8d60(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x1208e
movl $0x1, %esi
movq %r12, %rdi
leaq 0x78e8(%rip), %rdx      # 0x18dad
callq 0x13d03
testl %eax, %eax
js 0x1208e
incq %r15
movq -0x160(%rbp), %rax
movl 0x16c(%rax), %eax
cmpq %rax, %r15
jb 0x1149c
cmpq $0x0, -0x100(%rbp)
je 0x11fa5
leaq -0xb0(%rbp), %r12
xorl %r15d, %r15d
xorl %ebx, %ebx
movq %r14, -0x30(%rbp)
cmpq -0x128(%rbp), %rbx
jae 0x11524
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rax
imulq %rbx, %rax
movq (%rcx,%rax), %rax
jmp 0x11526
xorl %eax, %eax
movq (%r14), %rcx
movq 0x8(%rcx), %rdx
movq 0x18(%rcx), %rcx
imulq %rbx, %rcx
movq (%rdx,%rcx), %r8
xorl %r9d, %r9d
testq %rbx, %rbx
setne %r9b
movq %rbx, -0x158(%rbp)
movq -0x80(%rbp), %rsi
movq -0x108(%rbp), %rdx
movq %rax, (%rsp)
movq %r12, %rdi
movq %r15, %rcx
movq %r8, -0x90(%rbp)
callq 0x14088
testl %eax, %eax
js 0x115a5
movq -0xa0(%rbp), %r13
testq %r13, %r13
je 0x12126
movb $0x1, %al
movq %rax, -0xc8(%rbp)
movq -0x90(%rbp), %rax
testq %rax, %rax
je 0x11f3d
movq (%rax), %rax
testq %rax, %rax
je 0x115af
movq (%rax), %rax
jmp 0x115b1
movl $0x9, %eax
jmp 0x11f51
xorl %eax, %eax
movq -0x108(%rbp), %rcx
movq %rax, -0x140(%rbp)
movq %rcx, -0x78(%rbp)
cmpq %rcx, %rax
ja 0x11f3d
movq -0x80(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0xf8(%rbp), %rax
movq (%rax,%rbx,8), %rax
movq %rax, -0x120(%rbp)
movq (%r13), %rdi
movq 0x8(%r13), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %rdi, -0xf0(%rbp)
movl $0x80, %ecx
callq 0x1469a
cmpl $0x1, %eax
movl $0x0, %ecx
movl $0x98, %eax
cmoveq %rax, %rcx
movq %rcx, -0xe8(%rbp)
cmpq $0x0, -0x120(%rbp)
je 0x11f22
movq %rbx, -0x88(%rbp)
movq (%r13), %rax
movq %rax, -0x138(%rbp)
movq -0x78(%rbp), %rax
decq %rax
movq %rax, -0x170(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0xe0(%rbp)
movq %r15, -0x118(%rbp)
movq %r13, -0x168(%rbp)
movq -0x138(%rbp), %rax
movl 0x168(%rax), %esi
movq %r12, %rdi
leaq 0x8b84(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11f36
movl %eax, %ebx
movq -0xf0(%rbp), %rax
movq -0xe8(%rbp), %rcx
movq 0x20(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r12, %rdi
callq 0x13d03
testl %eax, %eax
js 0x11f36
movl %ebx, %ecx
movq -0x38(%rbp), %rdx
addq %rcx, %rdx
movl %eax, %eax
addq %rdx, %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x78(%rbp)
je 0x11e6c
xorl %r13d, %r13d
movq -0x90(%rbp), %r15
movq -0x140(%rbp), %rbx
cmpq %rbx, %r13
jae 0x119ff
movq -0x168(%rbp), %rax
movq %r13, 0x10(%rax)
movq (%r15), %rax
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rax
imulq %r13, %rax
movq (%rcx,%rax), %rbx
movq %r15, %rdi
movq %r13, %rsi
callq 0x14956
movq -0x148(%rbp), %rsi
movq (%rsi,%r13,8), %r12
leaq (%rax,%r13), %rcx
leaq 0x1(%r13), %rdx
cmpq %rcx, %rdx
jae 0x11755
leaq (%rsi,%r13,8), %rcx
movl $0x1, %edx
movq (%rcx,%rdx,8), %rsi
addq %rsi, %r12
incq %r12
incq %rdx
cmpq %rdx, %rax
jne 0x1173d
addq %rax, %r13
decq %r13
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testq %rbx, %rbx
je 0x11e01
movq %rbx, %rdi
movq -0xa0(%rbp), %rbx
movq %rdi, -0x40(%rbp)
movq %rbx, %rsi
callq 0x1450d
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %r12, %rax
ja 0x11e01
movq (%rbx), %r15
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
movl $0x4, %ecx
callq 0x1469a
movl %eax, -0x50(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
movl $0x10, %ecx
callq 0x1469a
movl %eax, -0xc0(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
movl $0x20, %ecx
callq 0x1469a
movl %eax, -0x10c(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
leaq -0x370(%rbp), %r14
movq %r14, %rcx
callq 0x15225
movq %r14, %rdi
callq 0x70e0
movq %rax, -0x70(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
leaq -0x2f0(%rbp), %r14
movq %r14, %rcx
callq 0x152de
movq %r14, %rdi
callq 0x70e0
movq %rax, -0x48(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
leaq -0x270(%rbp), %r14
movq %r14, %rcx
callq 0x1538a
movq %r14, %rdi
callq 0x70e0
movq %rax, -0x68(%rbp)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r15, %rdi
leaq -0x1f0(%rbp), %r14
movq %r14, %rcx
callq 0x1548a
movq %r14, %rdi
callq 0x70e0
movq %rax, -0xd0(%rbp)
leaq -0x2f0(%rbp), %rdi
callq 0x70e0
movq %rax, -0xd8(%rbp)
movq -0x40(%rbp), %rdi
movq %rdi, %r15
movq %rbx, %rsi
callq 0x145dd
movq -0xe0(%rbp), %r14
cmpq %r14, %rax
jbe 0x11a2c
movl -0x50(%rbp), %ebx
movq %r14, %rax
subq %rbx, %rax
movq %rax, -0x50(%rbp)
jb 0x11a2c
movq (%r15), %rdi
callq 0x150b8
addq %rbx, %rax
cmpq %r14, %rax
jbe 0x11a2c
movl $0x1, %esi
leaq -0xb0(%rbp), %rbx
movq %rbx, %rdi
leaq -0x370(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11df1
movl %eax, -0x70(%rbp)
movl -0xc0(%rbp), %esi
movq %rbx, %rdi
movq %rsi, -0x48(%rbp)
leaq 0x8903(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
movq -0x30(%rbp), %r14
js 0x11b07
movl %eax, -0xd8(%rbp)
movl -0x10c(%rbp), %eax
movq %rax, -0x68(%rbp)
movq (%r15), %rbx
testq %rbx, %rbx
je 0x11b11
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq $0x0, (%rbx)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
je 0x11d96
movq -0xa0(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0xd0(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0xc0(%rbp)
movq %rbx, %rdi
callq 0x150b8
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpq -0x50(%rbp), %rax
jbe 0x11d96
movq -0x48(%rbp), %rax
addq -0x68(%rbp), %rax
subq %rax, %r12
movq %rbx, %rdi
callq 0x14ab1
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rax, %r15
movq %r12, %rax
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
subq %r15, %rax
jb 0x11d96
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq -0xc0(%rbp), %rdx
movl $0x2, %ecx
callq 0x1469a
cmpl $0x2, %eax
je 0x11ba0
cmpl $0x1, %eax
movl $0x0, %ecx
je 0x11b8a
testl %eax, %eax
jne 0x12183
movq $0x0, -0x40(%rbp)
jmp 0x11bb1
movq -0x148(%rbp), %rax
movq (%rax,%r13,8), %rsi
movq %r12, %rdi
leaq 0x87f5(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11ee7
movl %eax, %eax
addq %rax, -0x38(%rbp)
jmp 0x11e28
movl $0x1, %esi
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
leaq -0x370(%rbp), %rdx
callq 0x13d03
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testl %eax, %eax
js 0x11df6
movl %eax, %ebx
movl $0x1, %esi
movq %r14, %rdi
leaq -0x270(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11b03
movl %eax, %r15d
movl $0x1, %esi
movq %r14, %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11b03
addl %ebx, %r15d
movl %eax, %ebx
addq %r15, %rbx
movq -0x70(%rbp), %rax
addq %r12, %rax
movq -0x48(%rbp), %rsi
addq -0x68(%rbp), %rsi
addq -0xd0(%rbp), %rsi
addq %rax, %rsi
movq -0xd8(%rbp), %rax
addq %rbx, %rax
subq %rax, %rsi
movq %r14, %rdi
leaq 0x8744(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11b03
movl %eax, %r15d
movl $0x1, %esi
movq %r14, %rdi
leaq -0x2f0(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
movq -0x30(%rbp), %r14
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
js 0x11dfa
addl %eax, %ebx
addl %ebx, %r15d
movl %r15d, %ecx
jmp 0x11dfa
movq -0x30(%rbp), %r14
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x11dfa
movl $0x1, %esi
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
leaq -0x270(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11df1
movl %eax, %ebx
movl $0x1, %esi
movq %r14, %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11df1
movl %eax, %r15d
movq -0x48(%rbp), %rax
addq -0x68(%rbp), %rax
subq %rax, %r12
movq %r14, %rdi
movq %r12, %rsi
leaq 0x869c(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11df1
movl %eax, %edx
addl -0x70(%rbp), %ebx
addl %r15d, %ebx
movl %ebx, -0x70(%rbp)
jmp 0x11d9a
subq %r15, %r12
movq %r12, %rax
shrq %rax
movq %rax, -0x40(%rbp)
subq %rax, %r12
movq %r12, -0x48(%rbp)
jmp 0x11bb1
subq %r15, %r12
movq %r12, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
xorl %ecx, %ecx
movq %rcx, -0x60(%rbp)
movq %rcx, -0x58(%rbp)
movl 0x10(%rbx), %eax
cmpl $0x2, %eax
je 0x11c49
cmpl $0x1, %eax
je 0x11c0a
testl %eax, %eax
jne 0x121a2
movq (%rbx), %rdi
movq -0x50(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x14c3d
movq -0x60(%rbp), %rcx
testq %rcx, %rcx
je 0x11c79
movq -0x58(%rbp), %rax
testq %rax, %rax
je 0x11c79
subq %rcx, %rax
jb 0x121c1
movq %r15, %rbx
jmp 0x11c7e
movq (%rbx), %rdi
movq -0x50(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x14ce1
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x11c79
movq -0x58(%rbp), %rsi
testq %rsi, %rsi
je 0x11c79
subq %rdi, %rsi
jb 0x121e0
movq %r15, %rbx
sarq $0x2, %rsi
callq 0x14d87
cltq
jmp 0x11c7e
movq (%rbx), %rdi
movq -0x50(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x14f4c
movq -0x60(%rbp), %rdi
testq %rdi, %rdi
je 0x11c79
movq -0x58(%rbp), %rsi
testq %rsi, %rsi
je 0x11c79
movq %r15, %rbx
callq 0x15016
jmp 0x11c7e
movq %r15, %rbx
xorl %eax, %eax
movq -0x60(%rbp), %r12
testq %r12, %r12
sete %cl
movq -0x58(%rbp), %r15
testq %r15, %r15
sete %dl
orb %cl, %dl
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
je 0x11ca5
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x11d96
testq %rax, %rax
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
js 0x11d96
subq %rax, %rbx
jb 0x11d96
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
movq -0x40(%rbp), %rsi
leaq 0x8538(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11d88
movl %eax, -0x40(%rbp)
movl $0x1, %esi
movq %r14, %rdi
leaq -0x270(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11d88
movl %eax, -0x50(%rbp)
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x155f1
testl %eax, %eax
js 0x11d88
movl %eax, %r12d
movl $0x1, %esi
movq %r14, %rdi
leaq -0x1f0(%rbp), %rdx
callq 0x13d03
testl %eax, %eax
js 0x11d88
movl %eax, %r15d
movq %r14, %rdi
movq %rbx, %rsi
leaq 0x84cc(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11d88
movl %eax, %ebx
leaq -0xb0(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq 0x84af(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
movq -0x30(%rbp), %r14
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
js 0x11d96
movl -0x50(%rbp), %edx
addl -0x40(%rbp), %edx
addl %r15d, %r12d
addl %ebx, %r12d
addl %edx, %r12d
addl %eax, %r12d
movl %r12d, %edx
jmp 0x11d96
movq -0x30(%rbp), %r14
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
testl %edx, %edx
js 0x11dfa
movl %edx, %r15d
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
movq -0x68(%rbp), %rsi
leaq 0x8457(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11df1
movl %eax, %ebx
movl $0x1, %esi
movq %r14, %rdi
leaq -0x2f0(%rbp), %rdx
callq 0x13d03
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testl %eax, %eax
movq -0x30(%rbp), %r14
js 0x11dfa
addl -0xd8(%rbp), %r15d
movl -0x70(%rbp), %ecx
addl %ebx, %ecx
addl %r15d, %ecx
addl %eax, %ecx
jmp 0x11dfa
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq -0x30(%rbp), %r14
movq -0x90(%rbp), %r15
testl %ecx, %ecx
movl $0x0, %eax
cmovnsl %ecx, %eax
addq %rax, -0x38(%rbp)
testl %ecx, %ecx
setns %al
leaq -0xb0(%rbp), %r12
movq -0x140(%rbp), %rbx
js 0x11ee9
cmpq -0x170(%rbp), %r13
jae 0x11e5f
movq -0xf0(%rbp), %rax
movq -0xe8(%rbp), %rcx
movq 0x28(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r12, %rdi
callq 0x13d03
testl %eax, %eax
js 0x11ee7
movl %eax, %eax
addq %rax, -0x38(%rbp)
incq %r13
cmpq -0x78(%rbp), %r13
jb 0x116ea
movq -0xf0(%rbp), %rax
movq -0xe8(%rbp), %rcx
movq 0x30(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r12, %rdi
callq 0x13d03
testl %eax, %eax
js 0x11ee7
movl %eax, %eax
movq -0x38(%rbp), %rbx
addq %rax, %rbx
movq -0x138(%rbp), %rax
movl 0x170(%rax), %esi
movq %r12, %rdi
leaq 0x8359(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x11ee3
movl %eax, %eax
addq %rax, %rbx
movl $0x1, %esi
movq %r12, %rdi
leaq 0x6ee0(%rip), %rdx      # 0x18dad
callq 0x13d03
testl %eax, %eax
js 0x11ee3
movl %eax, %eax
addq %rax, %rbx
movq %rbx, -0x38(%rbp)
movb $0x1, %al
jmp 0x11ee9
movq %rbx, -0x38(%rbp)
xorl %eax, %eax
testb %al, %al
je 0x11f2f
movq -0xe0(%rbp), %rcx
incq %rcx
movq %rcx, -0xe0(%rbp)
cmpq -0x120(%rbp), %rcx
movq -0x118(%rbp), %r15
jne 0x1166e
movq -0x38(%rbp), %rax
shrl $0x1f, %eax
movq %rax, -0xc8(%rbp)
jmp 0x11f36
movq $0x0, -0xc8(%rbp)
jmp 0x11f3d
movq -0x118(%rbp), %r15
movq -0x88(%rbp), %rbx
movzbl -0xc8(%rbp), %ecx
leal (%rcx,%rcx,8), %eax
testb %cl, %cl
cmoveq -0x90(%rbp), %r15
testl %eax, %eax
jne 0x11f94
incq %rbx
cmpq -0x100(%rbp), %rbx
jb 0x11505
jmp 0x11faa
movq -0x80(%rbp), %rdi
callq *0xf2c7(%rip)           # 0x21238
movq -0xf8(%rbp), %rdi
callq *0xf2ba(%rip)           # 0x21238
movl -0x38(%rbp), %eax
leaq 0x7604(%rip), %rcx      # 0x1958c
movslq (%rcx,%rax,4), %r13
addq %rcx, %r13
jmp 0x113ba
cmpl $0x9, %eax
jne 0x12086
xorl %r13d, %r13d
jmp 0x1208e
xorl %ebx, %ebx
xorl %r15d, %r15d
cmpq -0x128(%rbp), %rbx
jae 0x11fc9
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rax
imulq %rbx, %rax
movq (%rcx,%rax), %rax
jmp 0x11fcb
xorl %eax, %eax
movq %rbx, %rcx
movq -0xb8(%rbp), %rbx
movq %rcx, -0x158(%rbp)
movq -0x80(%rbp), %rsi
movq -0x108(%rbp), %rdx
movq %rax, (%rsp)
xorl %r13d, %r13d
leaq -0xb0(%rbp), %rdi
movq %r15, %rcx
xorl %r8d, %r8d
movl $0x2, %r9d
callq 0x14088
testl %eax, %eax
js 0x1208e
movq -0x160(%rbp), %rax
cmpl $0x0, 0x174(%rax)
je 0x1208b
movq -0x130(%rbp), %rsi
decq %rsi
xorl %r13d, %r13d
leaq -0xb0(%rbp), %r15
leaq 0x6d74(%rip), %r12      # 0x18dad
xorl %ebx, %ebx
movq %r15, %rdi
movq %rsi, %r14
leaq 0x81c1(%rip), %rdx      # 0x1a209
callq 0x13d03
testl %eax, %eax
js 0x1208e
movl $0x1, %esi
movq %r15, %rdi
movq %r12, %rdx
callq 0x13d03
testl %eax, %eax
js 0x1208e
incq %rbx
movq -0x160(%rbp), %rax
movl 0x174(%rax), %eax
cmpq %rax, %rbx
movq %r14, %rsi
jb 0x1203b
movq -0xb8(%rbp), %r13
jmp 0x1208e
jmp 0x113ba
movq %rbx, %r13
movq -0x80(%rbp), %rdi
callq *0xf1a0(%rip)           # 0x21238
movq -0xf8(%rbp), %rdi
callq *0xf193(%rip)           # 0x21238
jmp 0x113ba
leaq 0x87ed(%rip), %rdi      # 0x1a89e
leaq 0x79ce(%rip), %rsi      # 0x19a86
leaq 0x8388(%rip), %rcx      # 0x1a447
movl $0x197f, %edx           # imm = 0x197F
callq 0x7130
leaq 0x79b0(%rip), %rdi      # 0x19a80
leaq 0x79af(%rip), %rsi      # 0x19a86
leaq 0x87c7(%rip), %rcx      # 0x1a8a5
movl $0xcf2, %edx            # imm = 0xCF2
callq 0x7130
leaq 0x87af(%rip), %rdi      # 0x1a89e
leaq 0x7990(%rip), %rsi      # 0x19a86
leaq 0x87ee(%rip), %rcx      # 0x1a8eb
movl $0x1ace, %edx           # imm = 0x1ACE
callq 0x7130
leaq 0x8809(%rip), %rdi      # 0x1a917
leaq 0x7971(%rip), %rsi      # 0x19a86
leaq 0x87cf(%rip), %rcx      # 0x1a8eb
movl $0x1acf, %edx           # imm = 0x1ACF
callq 0x7130
leaq 0x8838(%rip), %rdi      # 0x1a965
leaq 0x7952(%rip), %rsi      # 0x19a86
leaq 0x8d99(%rip), %rcx      # 0x1aed4
movl $0x17cf, %edx           # imm = 0x17CF
callq 0x7130
leaq 0x8224(%rip), %rdi      # 0x1a370
leaq 0x7933(%rip), %rsi      # 0x19a86
leaq 0x8791(%rip), %rcx      # 0x1a8eb
movl $0x1add, %edx           # imm = 0x1ADD
callq 0x7130
leaq 0x8650(%rip), %rdi      # 0x1a7bb
leaq 0x7914(%rip), %rsi      # 0x19a86
leaq 0x9224(%rip), %rcx      # 0x1b39d
movl $0x1c74, %edx           # imm = 0x1C74
callq 0x7130
leaq 0x81e6(%rip), %rdi      # 0x1a370
leaq 0x78f5(%rip), %rsi      # 0x19a86
leaq 0x8d8c(%rip), %rcx      # 0x1af24
movl $0x1a91, %edx           # imm = 0x1A91
callq 0x7130
leaq 0x81c7(%rip), %rdi      # 0x1a370
leaq 0x78d6(%rip), %rsi      # 0x19a86
leaq 0x8dd4(%rip), %rcx      # 0x1af8b
movl $0x1a52, %edx           # imm = 0x1A52
callq 0x7130
leaq 0x8e27(%rip), %rdi      # 0x1afef
leaq 0x78b7(%rip), %rsi      # 0x19a86
leaq 0x8e24(%rip), %rcx      # 0x1affa
movl $0x1835, %edx           # imm = 0x1835
callq 0x7130
leaq 0x8e08(%rip), %rdi      # 0x1afef
leaq 0x7898(%rip), %rsi      # 0x19a86
leaq 0x8e3a(%rip), %rcx      # 0x1b02f
movl $0x183d, %edx           # imm = 0x183D
callq 0x7130