// File: /workspace/github_c_makefile_star2_O3/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 $0x348, %rsp            # imm = 0x348
testq %rdi, %rdi
je 0x11e19
movl %esi, %r14d
movq %rdi, %rbx
xorl %eax, %eax
leaq -0x360(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x2e0(%rbp), %r8
movq %rax, (%r8)
leaq -0x1e0(%rbp), %rsi
movq %rax, (%rsi)
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
movl $0x1, %r9d
callq 0x132fb
testl %eax, %eax
js 0x1119e
movq -0x360(%rbp), %rax
cmpq $0x1, %rax
movq %rax, %r13
adcq $0x2, %r13
testq %rax, %rax
movl %r14d, -0x30(%rbp)
je 0x10fc5
movq -0x1e0(%rbp), %rcx
xorl %edx, %edx
addq (%rcx,%rdx,8), %r13
incq %rdx
cmpq %rdx, %rax
jne 0x10fb9
movq -0x2e0(%rbp), %rax
cmpq $0x1, %rax
movq %rax, %rdx
adcq $0x1, %rdx
movq -0x260(%rbp), %r14
testq %rax, %rax
je 0x10ff1
xorl %ecx, %ecx
addq (%r14,%rcx,8), %rdx
incq %rcx
cmpq %rcx, %rax
jne 0x10fe5
movq %rdx, -0x48(%rbp)
movq -0x1e0(%rbp), %rdi
callq *0xf236(%rip)           # 0x20238
movq %r14, %rdi
callq *0xf22d(%rip)           # 0x20238
movq %rbx, -0xd8(%rbp)
movq 0x8(%rbx), %r12
testq %r12, %r12
je 0x11051
movl 0x168(%r12), %eax
movl 0x16c(%r12), %ecx
movq -0x48(%rbp), %rdx
addq %rcx, %rdx
movl 0x174(%r12), %ecx
addq %rcx, %rdx
movq %rdx, -0x48(%rbp)
addq %rax, %r13
movl 0x170(%r12), %eax
addq %rax, %r13
jmp 0x11058
leaq 0xf1f0(%rip), %r12      # 0x20248
movl $0x1, %r15d
xorl %ebx, %ebx
movq %r15, %r14
movq (%r12,%rbx,8), %rdi
callq 0x70d0
movq %rax, %r15
cmpq %rax, %r14
cmovaq %r14, %r15
incq %rbx
cmpq $0x13, %rbx
jne 0x11060
xorl %ebx, %ebx
movq %r15, %r14
movq 0x98(%r12,%rbx,8), %rdi
callq 0x70d0
movq %rax, %r15
cmpq %rax, %r14
cmovaq %r14, %r15
incq %rbx
cmpq $0x13, %rbx
jne 0x11081
xorl %ebx, %ebx
movq %r15, %r14
movq 0x130(%r12,%rbx,8), %rdi
callq 0x70d0
movq %rax, %r15
cmpq %rax, %r14
cmovaq %r14, %r15
incq %rbx
cmpq $0x6, %rbx
jne 0x110a6
imulq %r13, %r15
movq -0x48(%rbp), %rbx
imulq %r15, %rbx
incq %rbx
movq -0xd8(%rbp), %r14
movq 0x10(%r14), %rdi
testq %rdi, %rdi
jne 0x11103
movq %rbx, %rdi
movl -0x30(%rbp), %esi
callq 0x12c36
movq %rax, %rdi
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x1119e
callq 0x12cc9
cmpq %rbx, %rax
jae 0x11150
movq %rbx, %r12
movq 0x10(%r14), %rbx
testq %rbx, %rbx
je 0x11dfa
movq 0x8(%rbx), %rdi
addq %rdi, %rdi
callq *0xf29e(%rip)           # 0x203c8
testq %rax, %rax
je 0x1119e
movq %rax, %r13
movq (%rbx), %rdi
callq *0xf0fd(%rip)           # 0x20238
movq %r13, (%rbx)
shlq 0x8(%rbx)
movq 0x10(%r14), %rdi
callq 0x12cc9
cmpq %r12, %rax
jb 0x11110
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x11e38
movq (%rax), %rbx
testq %rbx, %rbx
je 0x11e57
movl 0x10(%rax), %eax
testl %eax, %eax
je 0x111b6
cmpl $0x1, %eax
je 0x11199
cmpl $0x2, %eax
je 0x111b6
leaq 0x91b9(%rip), %rdi      # 0x1a33a
leaq 0x88ee(%rip), %rsi      # 0x19a76
leaq 0x96eb(%rip), %rcx      # 0x1a87a
movl $0x1add, %edx           # imm = 0x1ADD
callq 0x7120
testb $0x3, %bl
je 0x111b6
xorl %r12d, %r12d
movq %r12, %rax
addq $0x348, %rsp            # imm = 0x348
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
leaq -0x120(%rbp), %rdx
movq %r12, (%rdx)
leaq -0x160(%rbp), %r8
movq %r12, (%r8)
leaq -0xa8(%rbp), %rsi
movq %r12, (%rsi)
leaq -0xe0(%rbp), %rcx
movq %r12, (%rcx)
movq %r14, %rdi
xorl %r9d, %r9d
callq 0x132fb
testl %eax, %eax
js 0x111a1
movq -0x160(%rbp), %rax
testq %rax, %rax
je 0x11cd5
movq %rax, -0x148(%rbp)
movq 0x8(%r14), %rcx
testq %rcx, %rcx
leaq 0xf033(%rip), %rax      # 0x20248
cmovneq %rcx, %rax
movq %rax, -0x138(%rbp)
movq 0x28(%r14), %rcx
testq %rcx, %rcx
je 0x11e76
movq (%rcx), %rcx
movq %rcx, -0x100(%rbp)
movq %rbx, -0xf0(%rbp)
movq %rbx, -0x98(%rbp)
movq 0x10(%r14), %rcx
movq 0x8(%rcx), %rcx
movq %rcx, -0x90(%rbp)
leaq -0x138(%rbp), %rcx
movq %rcx, -0x88(%rbp)
movl -0x30(%rbp), %ecx
movl %ecx, -0x80(%rbp)
cmpl $0x0, 0x16c(%rax)
je 0x112cd
leaq -0x1(%r15), %rbx
xorl %r12d, %r12d
leaq 0x8f7a(%rip), %r14      # 0x1a1f9
leaq -0x98(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x137ad
testl %eax, %eax
js 0x11d05
movl $0x1, %esi
movq %r13, %rdi
leaq 0x7af0(%rip), %rdx      # 0x18d9b
callq 0x137ad
testl %eax, %eax
js 0x11d05
incq %r12
movq -0x138(%rbp), %rax
movl 0x16c(%rax), %eax
cmpq %rax, %r12
jb 0x11286
xorl %r12d, %r12d
xorl %ecx, %ecx
xorl %ebx, %ebx
movq -0xd8(%rbp), %r14
cmpq -0x100(%rbp), %rbx
jae 0x112fa
movq 0x28(%r14), %rax
movq 0x8(%rax), %rdx
movq 0x18(%rax), %rax
imulq %rbx, %rax
movq (%rdx,%rax), %rax
jmp 0x112fc
xorl %eax, %eax
movq (%r14), %rdx
movq 0x8(%rdx), %rsi
movq 0x18(%rdx), %rdx
imulq %rbx, %rdx
movq (%rsi,%rdx), %r8
xorl %r9d, %r9d
testq %rbx, %rbx
setne %r9b
movq %rbx, -0x130(%rbp)
movq -0xa8(%rbp), %r13
movq -0x120(%rbp), %rdx
movq %rax, (%rsp)
leaq -0x98(%rbp), %rdi
movq %r13, %rsi
movq %rdx, -0x48(%rbp)
movq %r8, -0xa0(%rbp)
callq 0x13aaf
testl %eax, %eax
js 0x11dda
movq -0x88(%rbp), %rax
movq %rax, -0x110(%rbp)
testq %rax, %rax
je 0x11e95
movq -0xa0(%rbp), %rcx
testq %rcx, %rcx
je 0x11dda
movq -0xe0(%rbp), %rax
movq (%rax,%rbx,8), %rax
movq %rax, -0x108(%rbp)
movq (%rcx), %rax
testq %rax, %rax
je 0x113aa
movq (%rax), %rcx
movq %rcx, -0x118(%rbp)
cmpq -0x48(%rbp), %rcx
jbe 0x113b5
jmp 0x11dda
movq $0x0, -0x118(%rbp)
movq -0x110(%rbp), %r14
movq (%r14), %rdi
movq 0x8(%r14), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %rdi, -0xd0(%rbp)
movl $0x80, %ecx
callq 0x140c5
cmpl $0x1, %eax
movl $0x0, %ecx
movl $0x98, %eax
cmoveq %rax, %rcx
movq %rcx, -0xc8(%rbp)
cmpq $0x0, -0x108(%rbp)
je 0x11c98
movq %rbx, -0x140(%rbp)
movq %r13, -0x30(%rbp)
movq (%r14), %rcx
movq -0x48(%rbp), %rax
decq %rax
movq %rax, -0x158(%rbp)
xorl %ebx, %ebx
movq $0x0, -0xc0(%rbp)
movq %rcx, -0xf8(%rbp)
movl 0x168(%rcx), %esi
leaq -0x98(%rbp), %r14
movq %r14, %rdi
leaq 0x8db3(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd6
movl %eax, %r13d
movq -0xd0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq 0x20(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r14, %rdi
callq 0x137ad
testl %eax, %eax
js 0x11dd6
addl %ebx, %r13d
movl %r13d, %ebx
addl %eax, %ebx
cmpq $0x0, -0x48(%rbp)
je 0x11be2
xorl %ecx, %ecx
cmpq -0x118(%rbp), %rcx
jae 0x117a4
movq -0x110(%rbp), %rax
movq %rcx, 0x10(%rax)
movq %rcx, %r14
movq -0xa0(%rbp), %rdi
movq (%rdi), %rax
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rax
imulq %r14, %rax
movq (%rcx,%rax), %r12
movq %r14, %rsi
callq 0x14355
movq %r14, %rdi
movq -0x30(%rbp), %r13
movq (%r13,%r14,8), %r14
leaq (%rax,%rdi), %rcx
leaq 0x1(%rdi), %rdx
cmpq %rcx, %rdx
jae 0x11511
leaq (,%rdi,8), %rcx
addq %r13, %rcx
movl $0x1, %edx
movq (%rcx,%rdx,8), %rsi
addq %rsi, %r14
incq %r14
incq %rdx
cmpq %rdx, %rax
jne 0x114f9
addq %rax, %rdi
decq %rdi
testq %r12, %r12
je 0x11d0c
movq %rdi, -0x150(%rbp)
movq %r12, %rdi
movq -0x88(%rbp), %r12
movq %rdi, -0x38(%rbp)
movq %r12, %rsi
callq 0x13f38
cmpq %r14, %rax
ja 0x11d0c
movl %ebx, -0x74(%rbp)
movq (%r12), %r13
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
movl $0x4, %ecx
callq 0x140c5
movl %eax, -0xb0(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
movl $0x10, %ecx
callq 0x140c5
movl %eax, -0xe8(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
movl $0x20, %ecx
callq 0x140c5
movl %eax, -0xe4(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
leaq -0x360(%rbp), %rbx
movq %rbx, %rcx
callq 0x14c0b
movq %rbx, %rdi
callq 0x70d0
movq %rax, -0x70(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
leaq -0x2e0(%rbp), %rbx
movq %rbx, %rcx
callq 0x14cc4
movq %rbx, %rdi
callq 0x70d0
movq %rax, -0x40(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
leaq -0x1e0(%rbp), %rbx
movq %rbx, %rcx
callq 0x14d70
movq %rbx, %rdi
callq 0x70d0
movq %rax, -0xb8(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r13, %rdi
leaq -0x260(%rbp), %rbx
movq %rbx, %rcx
callq 0x14e70
movq %rbx, %rdi
callq 0x70d0
movq %rax, -0x68(%rbp)
leaq -0x2e0(%rbp), %rdi
callq 0x70d0
movq %rax, -0x50(%rbp)
movq -0x38(%rbp), %rdi
movq %r12, %rsi
callq 0x14008
movq -0xc0(%rbp), %r12
cmpq %r12, %rax
jbe 0x117d7
movl -0xb0(%rbp), %ebx
movq %r12, %r13
subq %rbx, %r13
jb 0x117d7
movq -0x38(%rbp), %rax
movq (%rax), %rdi
callq 0x14ae1
addq %rbx, %rax
cmpq %r12, %rax
jbe 0x117d7
movq %r13, -0x40(%rbp)
movl $0x1, %esi
leaq -0x98(%rbp), %rbx
movq %rbx, %rdi
leaq -0x360(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r13d
movl -0xe8(%rbp), %r12d
movq %rbx, %rdi
movq %r12, %rsi
leaq 0x8b24(%rip), %rdx      # 0x1a1f9
callq 0x137ad
movl %eax, -0xb8(%rbp)
testl %eax, %eax
js 0x11dd3
movl -0xe4(%rbp), %eax
movq %rax, -0x70(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x11912
cmpq $0x0, (%rdi)
je 0x11dd3
movq -0x88(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x50(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0x68(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0xb0(%rbp)
movq %rdi, -0x38(%rbp)
callq 0x14ae1
movq -0x38(%rbp), %rdi
cmpq -0x40(%rbp), %rax
jbe 0x11dd3
addq -0x70(%rbp), %r12
subq %r12, %r14
callq 0x14499
movq %r14, %rbx
subq %rax, %rbx
jb 0x11dd3
movq %rax, %r12
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq -0xb0(%rbp), %rdx
movl $0x2, %ecx
callq 0x140c5
cmpl $0x2, %eax
je 0x1199c
cmpl $0x1, %eax
movl $0x0, %ecx
je 0x11987
testl %eax, %eax
jne 0x11eb4
movq $0x0, -0x50(%rbp)
jmp 0x119a7
movq -0x30(%rbp), %rax
movq (%rax,%rcx,8), %rsi
movl %ebx, %r13d
movq %rcx, %rbx
movq %r14, %rdi
leaq 0x8a3d(%rip), %rdx      # 0x1a1f9
callq 0x137ad
movq %rbx, %rcx
movl %r13d, %edx
movl %eax, %r13d
testl %eax, %eax
jns 0x118c0
jmp 0x11dd6
movl $0x1, %esi
leaq -0x98(%rbp), %rbx
movq %rbx, %rdi
leaq -0x360(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r12d
movl $0x1, %esi
movq %rbx, %rdi
leaq -0x1e0(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r13d
movl $0x1, %esi
movq %rbx, %rdi
leaq -0x260(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
addl %r12d, %r13d
movl %eax, %r12d
addq %r13, %r12
movq -0x70(%rbp), %rax
addq %r14, %rax
movq -0x40(%rbp), %rsi
addq -0xb8(%rbp), %rsi
addq -0x68(%rbp), %rsi
addq %rax, %rsi
movq -0x50(%rbp), %rax
addq %r12, %rax
subq %rax, %rsi
movq %rbx, %rdi
leaq 0x898b(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r13d
movl $0x1, %esi
movq %rbx, %rdi
leaq -0x2e0(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
addl %eax, %r12d
addl %r12d, %r13d
movl -0x74(%rbp), %edx
testl %r13d, %r13d
movl $0x0, %r12d
leaq -0x98(%rbp), %r14
movq -0x150(%rbp), %rcx
js 0x11dd6
addl %edx, %r13d
cmpq -0x158(%rbp), %rcx
jae 0x118fd
movq %rcx, %rbx
movq -0xd0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq 0x28(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r14, %rdi
callq 0x137ad
testl %eax, %eax
js 0x11dd6
addl %eax, %r13d
movq %rbx, %rcx
incq %rcx
movl %r13d, %ebx
cmpq -0x48(%rbp), %rcx
jb 0x11493
jmp 0x11be5
movl $0x1, %esi
movq %rbx, %rdi
leaq -0x1e0(%rbp), %rdx
callq 0x137ad
movl %eax, -0x38(%rbp)
testl %eax, %eax
js 0x11dd3
movl $0x1, %esi
movq %rbx, %rdi
leaq -0x260(%rbp), %rdx
callq 0x137ad
movl %eax, -0x40(%rbp)
testl %eax, %eax
js 0x11dd3
addq -0x70(%rbp), %r12
subq %r12, %r14
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x8895(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movq %rbx, %r14
movl %eax, %ebx
movl -0x38(%rbp), %eax
addl %r13d, %eax
addl -0x40(%rbp), %eax
movl %eax, %r13d
jmp 0x11b94
subq %r12, %r14
movq %r14, %rax
shrq %rax
movq %rax, -0x50(%rbp)
subq %rax, %r14
movq %r14, %rbx
jmp 0x119a7
subq %r12, %r14
movq %r14, -0x50(%rbp)
xorl %ebx, %ebx
xorl %ecx, %ecx
movq -0x38(%rbp), %rdx
movq %rcx, -0x60(%rbp)
movq %rcx, -0x58(%rbp)
movl 0x10(%rdx), %eax
cmpl $0x2, %eax
movq %rbx, -0x68(%rbp)
je 0x11a63
cmpl $0x1, %eax
je 0x11a14
testl %eax, %eax
jne 0x11ed3
movq (%rdx), %rdi
movq -0x40(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x146b1
movq -0x60(%rbp), %rax
movq %rax, -0x38(%rbp)
testq %rax, %rax
je 0x11dd3
movq -0x58(%rbp), %rbx
testq %rbx, %rbx
je 0x11dd3
movq %rbx, %rax
subq -0x38(%rbp), %rax
jae 0x11aa1
jmp 0x11ef2
movq (%rdx), %rdi
movq -0x40(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x1474b
movq -0x60(%rbp), %rax
movq %rax, -0x38(%rbp)
testq %rax, %rax
je 0x11dd3
movq -0x58(%rbp), %rbx
testq %rbx, %rbx
je 0x11dd3
movq %rbx, %rsi
movq -0x38(%rbp), %rdi
subq %rdi, %rsi
jb 0x11f11
sarq $0x2, %rsi
callq 0x147e8
cltq
jmp 0x11aa1
movq (%rdx), %rdi
movq -0x40(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x58(%rbp), %rcx
callq 0x14974
movq -0x60(%rbp), %rax
movq %rax, -0x38(%rbp)
testq %rax, %rax
je 0x11dd3
movq -0x58(%rbp), %rbx
testq %rbx, %rbx
je 0x11dd3
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x14a3f
testq %rax, %rax
js 0x11dd3
subq %rax, %r12
jb 0x11dd3
leaq -0x98(%rbp), %rdi
movq -0x50(%rbp), %rsi
leaq 0x8734(%rip), %rdx      # 0x1a1f9
callq 0x137ad
movl %eax, -0x40(%rbp)
testl %eax, %eax
js 0x11dd3
movl $0x1, %esi
leaq -0x98(%rbp), %rdi
leaq -0x1e0(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r14d
leaq -0x98(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rbx, %rdx
callq 0x14fda
testl %eax, %eax
js 0x11dd3
movl %eax, %ebx
movl $0x1, %esi
leaq -0x98(%rbp), %rdi
leaq -0x260(%rbp), %rdx
callq 0x137ad
movl %eax, -0x38(%rbp)
testl %eax, %eax
js 0x11dd3
leaq -0x98(%rbp), %rdi
movq %r12, %rsi
leaq 0x86b0(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r12d
leaq -0x98(%rbp), %rdi
movq -0x68(%rbp), %rsi
leaq 0x868e(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
addl -0x40(%rbp), %r14d
addl -0x38(%rbp), %ebx
addl %r12d, %ebx
addl %r14d, %ebx
addl %eax, %ebx
leaq -0x98(%rbp), %r14
js 0x11dd3
movq %r14, %rdi
movq -0x70(%rbp), %rsi
leaq 0x8657(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r12d
movl $0x1, %esi
movq %r14, %rdi
leaq -0x2e0(%rbp), %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
addl -0xb8(%rbp), %ebx
addl %r12d, %r13d
addl %eax, %r13d
addl %ebx, %r13d
jmp 0x118a0
movl %ebx, %r13d
movq -0xd0(%rbp), %rax
movq -0xc8(%rbp), %rcx
movq 0x30(%rax,%rcx), %rdx
movl $0x1, %esi
movq %r14, %rdi
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %r12d
movq -0xf8(%rbp), %rax
movl 0x170(%rax), %esi
movq %r14, %rdi
leaq 0x85d2(%rip), %rdx      # 0x1a1f9
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl %eax, %ebx
movl $0x1, %esi
movq %r14, %rdi
leaq 0x7156(%rip), %rdx      # 0x18d9b
callq 0x137ad
testl %eax, %eax
js 0x11dd3
addl %r13d, %r12d
addl %eax, %ebx
addl %r12d, %ebx
movq -0xc0(%rbp), %rcx
incq %rcx
movq %rcx, -0xc0(%rbp)
cmpq -0x108(%rbp), %rcx
movl $0x0, %r12d
movq -0xf8(%rbp), %rcx
jne 0x1142f
testl %ebx, %ebx
movq -0x30(%rbp), %r13
movq -0x140(%rbp), %rbx
js 0x11dda
incq %rbx
movq -0xa0(%rbp), %rcx
cmpq -0x148(%rbp), %rbx
movq -0xd8(%rbp), %r14
jb 0x112db
cmpq -0x100(%rbp), %rbx
jae 0x11d14
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
movq 0x18(%rax), %rax
imulq %rbx, %rax
movq (%rcx,%rax), %rax
jmp 0x11d16
movq -0xa8(%rbp), %rdi
callq *0xe556(%rip)           # 0x20238
movq -0xe0(%rbp), %rdi
callq *0xe549(%rip)           # 0x20238
movl -0x30(%rbp), %eax
leaq 0x7883(%rip), %rcx      # 0x1957c
movslq (%rcx,%rax,4), %r12
addq %rcx, %r12
jmp 0x111a1
movq -0xa8(%rbp), %r13
xorl %r12d, %r12d
jmp 0x11dda
xorl %eax, %eax
movq %rbx, -0x130(%rbp)
movq -0xa8(%rbp), %r13
movq -0x120(%rbp), %rdx
movq %rax, (%rsp)
xorl %r12d, %r12d
leaq -0x98(%rbp), %rdi
movq %r13, %rsi
movq -0xa0(%rbp), %rcx
xorl %r8d, %r8d
movl $0x2, %r9d
callq 0x13aaf
testl %eax, %eax
movq -0xf0(%rbp), %rcx
js 0x11dda
movq -0x138(%rbp), %rax
cmpl $0x0, 0x174(%rax)
je 0x11df5
movq %r13, -0x30(%rbp)
decq %r15
leaq 0x847b(%rip), %rbx      # 0x1a1f9
leaq -0x98(%rbp), %r14
leaq 0x700f(%rip), %r12      # 0x18d9b
xorl %r13d, %r13d
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
movl $0x1, %esi
movq %r14, %rdi
movq %r12, %rdx
callq 0x137ad
testl %eax, %eax
js 0x11dd3
incq %r13
movq -0x138(%rbp), %rax
movl 0x174(%rax), %eax
cmpq %rax, %r13
jb 0x11d8f
movq -0xf0(%rbp), %r12
jmp 0x11dd6
xorl %r12d, %r12d
movq -0x30(%rbp), %r13
movq %r13, %rdi
callq *0xe455(%rip)           # 0x20238
movq -0xe0(%rbp), %rdi
callq *0xe448(%rip)           # 0x20238
jmp 0x111a1
movq %rcx, %r12
jmp 0x11dda
leaq 0x8a2c(%rip), %rdi      # 0x1a82d
leaq 0x7c6e(%rip), %rsi      # 0x19a76
leaq 0x8602(%rip), %rcx      # 0x1a411
movl $0x197f, %edx           # imm = 0x197F
callq 0x7120
leaq 0x7c50(%rip), %rdi      # 0x19a70
leaq 0x7c4f(%rip), %rsi      # 0x19a76
leaq 0x8a06(%rip), %rcx      # 0x1a834
movl $0xcf2, %edx            # imm = 0xCF2
callq 0x7120
leaq 0x89ee(%rip), %rdi      # 0x1a82d
leaq 0x7c30(%rip), %rsi      # 0x19a76
leaq 0x8a2d(%rip), %rcx      # 0x1a87a
movl $0x1ace, %edx           # imm = 0x1ACE
callq 0x7120
leaq 0x8a48(%rip), %rdi      # 0x1a8a6
leaq 0x7c11(%rip), %rsi      # 0x19a76
leaq 0x8a0e(%rip), %rcx      # 0x1a87a
movl $0x1acf, %edx           # imm = 0x1ACF
callq 0x7120
leaq 0x88cd(%rip), %rdi      # 0x1a74a
leaq 0x7bf2(%rip), %rsi      # 0x19a76
leaq 0x9345(%rip), %rcx      # 0x1b1d0
movl $0x1c74, %edx           # imm = 0x1C74
callq 0x7120
leaq 0x8a58(%rip), %rdi      # 0x1a8f4
leaq 0x7bd3(%rip), %rsi      # 0x19a76
leaq 0x8f77(%rip), %rcx      # 0x1ae21
movl $0x17cf, %edx           # imm = 0x17CF
callq 0x7120
leaq 0x847f(%rip), %rdi      # 0x1a33a
leaq 0x7bb4(%rip), %rsi      # 0x19a76
leaq 0x8fa8(%rip), %rcx      # 0x1ae71
movl $0x1a91, %edx           # imm = 0x1A91
callq 0x7120
leaq 0x8460(%rip), %rdi      # 0x1a33a
leaq 0x7b95(%rip), %rsi      # 0x19a76
leaq 0x8ff0(%rip), %rcx      # 0x1aed8
movl $0x1a52, %edx           # imm = 0x1A52
callq 0x7120
leaq 0x9043(%rip), %rdi      # 0x1af3c
leaq 0x7b76(%rip), %rsi      # 0x19a76
leaq 0x9040(%rip), %rcx      # 0x1af47
movl $0x1835, %edx           # imm = 0x1835
callq 0x7120
leaq 0x9024(%rip), %rdi      # 0x1af3c
leaq 0x7b57(%rip), %rsi      # 0x19a76
leaq 0x9056(%rip), %rcx      # 0x1af7c
movl $0x183d, %edx           # imm = 0x183D
callq 0x7120