// File: /workspace/github_c_makefile_star2_O0/janet-lang[P]janet/src/core/pp.c
// Function: janet_pretty_one
static void janet_pretty_one(struct pretty *S, Janet x, int is_dict_value) {
    /* Add to seen */
    switch (janet_type(x)) {
        case JANET_NIL:
        case JANET_NUMBER:
        case JANET_SYMBOL:
        case JANET_BOOLEAN:
            break;
        default: {
            Janet seenid = janet_table_get(&S->seen, x);
            if (janet_checktype(seenid, JANET_NUMBER)) {
                if (S->flags & JANET_PRETTY_COLOR) {
                    janet_buffer_push_cstring(S->buffer, janet_cycle_color);
                }
                janet_buffer_push_cstring(S->buffer, "<cycle ");
                integer_to_string_b(S->buffer, janet_unwrap_integer(seenid));
                janet_buffer_push_u8(S->buffer, '>');
                if (S->flags & JANET_PRETTY_COLOR) {
                    janet_buffer_push_cstring(S->buffer, "\x1B[0m");
                }
                return;
            } else {
                janet_table_put(&S->seen, x, janet_wrap_integer(S->seen.count));
                break;
            }
        }
    }

    switch (janet_type(x)) {
        default: {
            const char *color = janet_pretty_colors[janet_type(x)];
            if (color && (S->flags & JANET_PRETTY_COLOR)) {
                janet_buffer_push_cstring(S->buffer, color);
            }
            if (janet_checktype(x, JANET_BUFFER) && janet_unwrap_buffer(x) == S->buffer) {
                janet_buffer_ensure(S->buffer, S->buffer->count + S->bufstartlen * 4 + 3, 1);
                janet_buffer_push_u8(S->buffer, '@');
                janet_escape_string_impl(S->buffer, S->buffer->data, S->bufstartlen);
            } else {
                janet_description_b(S->buffer, x);
            }
            if (color && (S->flags & JANET_PRETTY_COLOR)) {
                janet_buffer_push_cstring(S->buffer, "\x1B[0m");
            }
            break;
        }
        case JANET_ARRAY:
        case JANET_TUPLE: {
            int32_t i = 0, len = 0;
            const Janet *arr = NULL;
            int isarray = janet_checktype(x, JANET_ARRAY);
            janet_indexed_view(x, &arr, &len);
            int hasbrackets = !isarray && (janet_tuple_flag(arr) & JANET_TUPLE_FLAG_BRACKETCTOR);
            const char *startstr = isarray ? "@[" : hasbrackets ? "[" : "(";
            const char endchar = isarray ? ']' : hasbrackets ? ']' : ')';
            janet_buffer_push_cstring(S->buffer, startstr);
            S->depth--;
            S->indent += 2;
            if (S->depth == 0) {
                janet_buffer_push_cstring(S->buffer, "...");
            } else {
                if (!isarray && !(S->flags & JANET_PRETTY_ONELINE) && len >= JANET_PRETTY_IND_ONELINE)
                    janet_buffer_push_u8(S->buffer, ' ');
                if (is_dict_value && len >= JANET_PRETTY_IND_ONELINE) print_newline(S, 0);
                if (len > JANET_PRETTY_ARRAY_LIMIT && !(S->flags & JANET_PRETTY_NOTRUNC)) {
                    for (i = 0; i < 3; i++) {
                        if (i) print_newline(S, 0);
                        janet_pretty_one(S, arr[i], 0);
                    }
                    print_newline(S, 0);
                    janet_buffer_push_cstring(S->buffer, "...");
                    for (i = 0; i < 3; i++) {
                        print_newline(S, 0);
                        janet_pretty_one(S, arr[len - 3 + i], 0);
                    }
                } else {
                    for (i = 0; i < len; i++) {
                        if (i) print_newline(S, len < JANET_PRETTY_IND_ONELINE);
                        janet_pretty_one(S, arr[i], 0);
                    }
                }
            }
            S->indent -= 2;
            S->depth++;
            janet_buffer_push_u8(S->buffer, endchar);
            break;
        }
        case JANET_STRUCT:
        case JANET_TABLE: {
            int istable = janet_checktype(x, JANET_TABLE);

            /* For object-like tables, print class name */
            if (istable) {
                JanetTable *t = janet_unwrap_table(x);
                JanetTable *proto = t->proto;
                janet_buffer_push_cstring(S->buffer, "@");
                if (NULL != proto) {
                    Janet name = janet_table_get(proto, janet_ckeywordv("_name"));
                    const uint8_t *n;
                    int32_t len;
                    if (janet_bytes_view(name, &n, &len)) {
                        if (S->flags & JANET_PRETTY_COLOR) {
                            janet_buffer_push_cstring(S->buffer, janet_class_color);
                        }
                        janet_buffer_push_bytes(S->buffer, n, len);
                        if (S->flags & JANET_PRETTY_COLOR) {
                            janet_buffer_push_cstring(S->buffer, "\x1B[0m");
                        }
                    }
                }
            } else {
                JanetStruct st = janet_unwrap_struct(x);
                JanetStruct proto = janet_struct_proto(st);
                if (NULL != proto) {
                    Janet name = janet_struct_get(proto, janet_ckeywordv("_name"));
                    const uint8_t *n;
                    int32_t len;
                    if (janet_bytes_view(name, &n, &len)) {
                        if (S->flags & JANET_PRETTY_COLOR) {
                            janet_buffer_push_cstring(S->buffer, janet_class_color);
                        }
                        janet_buffer_push_bytes(S->buffer, n, len);
                        if (S->flags & JANET_PRETTY_COLOR) {
                            janet_buffer_push_cstring(S->buffer, "\x1B[0m");
                        }
                    }
                }
            }
            janet_buffer_push_cstring(S->buffer, "{");

            S->depth--;
            S->indent += 2;
            if (S->depth == 0) {
                janet_buffer_push_cstring(S->buffer, "...");
            } else {
                int32_t i = 0, len = 0, cap = 0;
                const JanetKV *kvs = NULL;
                janet_dictionary_view(x, &kvs, &len, &cap);
                if (!istable && !(S->flags & JANET_PRETTY_ONELINE) && len >= JANET_PRETTY_DICT_ONELINE)
                    janet_buffer_push_u8(S->buffer, ' ');
                if (is_dict_value && len >= JANET_PRETTY_DICT_ONELINE) print_newline(S, 0);
                int32_t ks_start = S->keysort_start;

                /* Ensure buffer is large enough to sort keys. */
                int truncated = 0;
                int64_t mincap = (int64_t) len + (int64_t) ks_start;
                if (mincap > INT32_MAX) {
                    truncated = 1;
                    len = 0;
                    mincap = ks_start;
                }

                if (S->keysort_capacity < mincap) {
                    if (mincap >= INT32_MAX / 2) {
                        S->keysort_capacity = INT32_MAX;
                    } else {
                        S->keysort_capacity = (int32_t)(mincap * 2);
                    }
                    S->keysort_buffer = janet_srealloc(S->keysort_buffer, sizeof(int32_t) * S->keysort_capacity);
                    if (NULL == S->keysort_buffer) {
                        JANET_OUT_OF_MEMORY;
                    }
                }

                janet_sorted_keys(kvs, cap, S->keysort_buffer == NULL ? NULL : S->keysort_buffer + ks_start);
                S->keysort_start += len;
                if (!(S->flags & JANET_PRETTY_NOTRUNC) && (len > JANET_PRETTY_DICT_LIMIT)) {
                    len = JANET_PRETTY_DICT_LIMIT;
                    truncated = 1;
                }

                for (i = 0; i < len; i++) {
                    if (i) print_newline(S, len < JANET_PRETTY_DICT_ONELINE);
                    int32_t j = S->keysort_buffer[i + ks_start];
                    janet_pretty_one(S, kvs[j].key, 0);
                    janet_buffer_push_u8(S->buffer, ' ');
                    janet_pretty_one(S, kvs[j].value, 1);
                }

                if (truncated) {
                    print_newline(S, 0);
                    janet_buffer_push_cstring(S->buffer, "...");
                }

                S->keysort_start = ks_start;
            }
            S->indent -= 2;
            S->depth++;
            janet_buffer_push_u8(S->buffer, '}');
            break;
        }
    }
    /* Remove from seen */
    janet_table_remove(&S->seen, x);
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rsi, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movsd -0x8(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x5c7c8
jmp 0x5c7dc
movq -0x8(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
movl %eax, -0xec(%rbp)
jmp 0x5c7e6
xorl %eax, %eax
movl %eax, -0xec(%rbp)
jmp 0x5c7e6
movl -0xec(%rbp), %eax
movl %eax, -0xf0(%rbp)
subl $0x3, %eax
jb 0x5c806
jmp 0x5c7f9
movl -0xf0(%rbp), %eax
subl $0x5, %eax
jne 0x5c80b
jmp 0x5c806
jmp 0x5c921
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
movq -0x8(%rbp), %rsi
callq 0x69420
movq %rax, -0x20(%rbp)
movb $0x1, %al
testb $0x1, %al
jne 0x5c828
jmp 0x5c851
movsd -0x20(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x5c83a
jmp 0x5c86e
movq -0x20(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
cmpq $0x0, %rax
je 0x5c86e
jmp 0x5c8ec
movabsq $-0x800000000000, %rax  # imm = 0xFFFF800000000000
andq -0x20(%rbp), %rax
movabsq $-0x8000000000000, %rcx # imm = 0xFFF8000000000000
cmpq %rcx, %rax
jne 0x5c8ec
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5c890
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x39169(%rip), %rsi     # 0x959f4
callq 0x18750
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x3925d(%rip), %rsi     # 0x95afb
callq 0x18750
movq -0x10(%rbp), %rax
movq (%rax), %rdi
cvttsd2si -0x20(%rbp), %esi
callq 0x5d3b0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x3e, %esi
callq 0x18820
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5c8e7
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x28b40(%rip), %rsi     # 0x85422
callq 0x18750
jmp 0x5d398
movq -0x10(%rbp), %rax
addq $0x28, %rax
movq %rax, -0xf8(%rbp)
movq -0x10(%rbp), %rax
cvtsi2sdl 0x38(%rax), %xmm0
callq 0x7b820
movq -0xf8(%rbp), %rdi
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x697e0
movsd -0x8(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x5c933
jmp 0x5c947
movq -0x8(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
movl %eax, -0xfc(%rbp)
jmp 0x5c951
xorl %eax, %eax
movl %eax, -0xfc(%rbp)
jmp 0x5c951
movl -0xfc(%rbp), %eax
movl %eax, -0x100(%rbp)
addl $-0x7, %eax
subl $0x2, %eax
jb 0x5cae7
jmp 0x5c96b
movl -0x100(%rbp), %eax
addl $-0x9, %eax
subl $0x2, %eax
jb 0x5cdad
jmp 0x5c97f
movsd -0x8(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x5c991
jmp 0x5c9a5
movq -0x8(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
movl %eax, -0x104(%rbp)
jmp 0x5c9af
xorl %eax, %eax
movl %eax, -0x104(%rbp)
jmp 0x5c9af
movl -0x104(%rbp), %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x541f0(%rip), %rax     # 0xb0bb0
movq (%rax,%rcx,8), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x5c9ee
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5c9ee
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x30(%rbp), %rsi
callq 0x18750
xorl %eax, %eax
testb $0x1, %al
jne 0x5c9f6
jmp 0x5ca1f
movsd -0x8(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x5ca08
jmp 0x5ca3c
movq -0x8(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
cmpq $0x0, %rax
je 0x5ca3c
jmp 0x5caa9
movabsq $-0x800000000000, %rax  # imm = 0xFFFF800000000000
andq -0x8(%rbp), %rax
movabsq $-0x2800000000000, %rcx # imm = 0xFFFD800000000000
cmpq %rcx, %rax
jne 0x5caa9
movq -0x8(%rbp), %rdi
callq 0x7b260
movq -0x10(%rbp), %rcx
cmpq (%rcx), %rax
jne 0x5caa9
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl 0x10(%rax), %esi
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
shll $0x2, %eax
addl %eax, %esi
addl $0x3, %esi
movl $0x1, %edx
callq 0x184c0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x40, %esi
callq 0x18820
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
movq -0x10(%rbp), %rax
movl 0x14(%rax), %edx
callq 0x5c580
jmp 0x5cab9
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x8(%rbp), %rsi
callq 0x5a990
cmpq $0x0, -0x30(%rbp)
je 0x5cae2
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5cae2
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x28945(%rip), %rsi     # 0x85422
callq 0x18750
jmp 0x5d380
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movabsq $-0x800000000000, %rax  # imm = 0xFFFF800000000000
andq -0x8(%rbp), %rax
movabsq $-0x4800000000000, %rcx # imm = 0xFFFB800000000000
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x44(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x6d0d0
xorl %eax, %eax
cmpl $0x0, -0x44(%rbp)
movb %al, -0x105(%rbp)
jne 0x5cb5a
movq -0x40(%rbp), %rax
movl -0x20(%rax), %eax
andl $0x10000, %eax          # imm = 0x10000
cmpl $0x0, %eax
setne %al
movb %al, -0x105(%rbp)
movb -0x105(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x48(%rbp)
cmpl $0x0, -0x44(%rbp)
je 0x5cb7e
leaq 0x38f8e(%rip), %rax     # 0x95b03
movq %rax, -0x110(%rbp)
jmp 0x5cb9d
movl -0x48(%rbp), %edx
leaq 0x38f7e(%rip), %rax     # 0x95b06
leaq 0x38f75(%rip), %rcx     # 0x95b04
cmpl $0x0, %edx
cmovneq %rcx, %rax
movq %rax, -0x110(%rbp)
movq -0x110(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpl $0x0, -0x44(%rbp)
je 0x5cbbb
movl $0x5d, %eax
movl %eax, -0x114(%rbp)
jmp 0x5cbd4
movl -0x48(%rbp), %edx
movl $0x29, %eax
movl $0x5d, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
movl %eax, -0x114(%rbp)
movl -0x114(%rbp), %eax
movb %al, -0x51(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x50(%rbp), %rsi
callq 0x18750
movq -0x10(%rbp), %rax
movl 0x8(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %ecx
addl $0x2, %ecx
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jne 0x5cc29
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38ee9(%rip), %rsi     # 0x95b08
callq 0x18750
jmp 0x5cd7e
cmpl $0x0, -0x44(%rbp)
jne 0x5cc55
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x5cc55
cmpl $0xa, -0x38(%rbp)
jl 0x5cc55
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x20, %esi
callq 0x18820
cmpl $0x0, -0x14(%rbp)
je 0x5cc6c
cmpl $0xa, -0x38(%rbp)
jl 0x5cc6c
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
cmpl $0xa0, -0x38(%rbp)
jle 0x5cd2e
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
jne 0x5cd2e
movl $0x0, -0x34(%rbp)
cmpl $0x3, -0x34(%rbp)
jge 0x5cccc
cmpl $0x0, -0x34(%rbp)
je 0x5ccaa
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
xorl %edx, %edx
callq 0x5c7a0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x5cc93
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38e23(%rip), %rsi     # 0x95b08
callq 0x18750
movl $0x0, -0x34(%rbp)
cmpl $0x3, -0x34(%rbp)
jge 0x5cd2c
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rax
movl -0x38(%rbp), %ecx
subl $0x3, %ecx
addl -0x34(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rsi
xorl %edx, %edx
callq 0x5c7a0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x5ccf1
jmp 0x5cd7c
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0x5cd7a
cmpl $0x0, -0x34(%rbp)
je 0x5cd58
movq -0x10(%rbp), %rdi
cmpl $0xa, -0x38(%rbp)
setl %al
andb $0x1, %al
movzbl %al, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
xorl %edx, %edx
callq 0x5c7a0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x5cd35
jmp 0x5cd7c
jmp 0x5cd7e
movq -0x10(%rbp), %rax
movl 0xc(%rax), %ecx
subl $0x2, %ecx
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movzbl -0x51(%rbp), %esi
callq 0x18820
jmp 0x5d380
movabsq $-0x800000000000, %rax  # imm = 0xFFFF800000000000
andq -0x8(%rbp), %rax
movabsq $-0x3800000000000, %rcx # imm = 0xFFFC800000000000
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0x58(%rbp)
cmpl $0x0, -0x58(%rbp)
je 0x5ced2
movq -0x8(%rbp), %rdi
callq 0x7b260
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38d08(%rip), %rsi     # 0x95b0c
callq 0x18750
xorl %eax, %eax
cmpq -0x68(%rbp), %rax
je 0x5cecd
movq -0x68(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq 0x38ce7(%rip), %rdi     # 0x95b0e
callq 0x68d90
movq %rax, %rdi
movabsq $-0x5000000000000, %rsi # imm = 0xFFFB000000000000
callq 0x7b550
movq -0x120(%rbp), %rdi
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rsi
callq 0x69420
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x84(%rbp), %rdx
callq 0x6d1f0
cmpl $0x0, %eax
je 0x5cecb
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5ce91
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38b6e(%rip), %rsi     # 0x959fa
callq 0x18750
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x80(%rbp), %rsi
movl -0x84(%rbp), %edx
callq 0x18790
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5cec9
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x2855e(%rip), %rsi     # 0x85422
callq 0x18750
jmp 0x5cecb
jmp 0x5cecd
jmp 0x5cfd2
movq -0x8(%rbp), %rdi
callq 0x7b260
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq -0x8(%rax), %rax
movq %rax, -0x98(%rbp)
xorl %eax, %eax
cmpq -0x98(%rbp), %rax
je 0x5cfd0
movq -0x98(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq 0x38bf6(%rip), %rdi     # 0x95b0e
callq 0x68d90
movq %rax, %rdi
movabsq $-0x5000000000000, %rsi # imm = 0xFFFB000000000000
callq 0x7b550
movq -0x128(%rbp), %rdi
movq %rax, -0xa8(%rbp)
movq -0xa8(%rbp), %rsi
callq 0x67ed0
movq %rax, -0xa0(%rbp)
movq -0xa0(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
leaq -0xb4(%rbp), %rdx
callq 0x6d1f0
cmpl $0x0, %eax
je 0x5cfce
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5cf91
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38a6e(%rip), %rsi     # 0x959fa
callq 0x18750
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0xb0(%rbp), %rsi
movl -0xb4(%rbp), %edx
callq 0x18790
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x5cfcc
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x2845b(%rip), %rsi     # 0x85422
callq 0x18750
jmp 0x5cfce
jmp 0x5cfd0
jmp 0x5cfd2
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38b7f(%rip), %rsi     # 0x95b5f
callq 0x18750
movq -0x10(%rbp), %rax
movl 0x8(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %ecx
addl $0x2, %ecx
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x8(%rax)
jne 0x5d021
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x38af1(%rip), %rsi     # 0x95b08
callq 0x18750
jmp 0x5d355
movl $0x0, -0xb8(%rbp)
movl $0x0, -0xbc(%rbp)
movl $0x0, -0xc0(%rbp)
movq $0x0, -0xc8(%rbp)
movq -0x8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
leaq -0xbc(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
callq 0x6d330
cmpl $0x0, -0x58(%rbp)
jne 0x5d097
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x5d097
cmpl $0x4, -0xbc(%rbp)
jl 0x5d097
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x20, %esi
callq 0x18820
cmpl $0x0, -0x14(%rbp)
je 0x5d0b1
cmpl $0x4, -0xbc(%rbp)
jl 0x5d0b1
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rax
movl 0x24(%rax), %eax
movl %eax, -0xcc(%rbp)
movl $0x0, -0xd0(%rbp)
movslq -0xbc(%rbp), %rax
movslq -0xcc(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0xd8(%rbp)
cmpq $0x7fffffff, -0xd8(%rbp) # imm = 0x7FFFFFFF
jle 0x5d10f
movl $0x1, -0xd0(%rbp)
movl $0x0, -0xbc(%rbp)
movslq -0xcc(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x10(%rbp), %rax
movslq 0x20(%rax), %rax
cmpq -0xd8(%rbp), %rax
jge 0x5d1b3
cmpq $0x3fffffff, -0xd8(%rbp) # imm = 0x3FFFFFFF
jl 0x5d13e
movq -0x10(%rbp), %rax
movl $0x7fffffff, 0x20(%rax) # imm = 0x7FFFFFFF
jmp 0x5d151
movq -0xd8(%rbp), %rax
shlq %rax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x10(%rbp), %rax
movslq 0x20(%rax), %rsi
shlq $0x2, %rsi
callq 0x3aae0
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq 0x18(%rcx), %rax
jne 0x5d1b1
jmp 0x5d183
movq 0x52e66(%rip), %rax     # 0xafff0
movq (%rax), %rdi
leaq 0x20e70(%rip), %rsi     # 0x7e004
leaq 0x38979(%rip), %rdx     # 0x95b14
movl $0x28d, %ecx            # imm = 0x28D
movb $0x0, %al
callq 0x125f0
movl $0x1, %edi
callq 0x12a70
jmp 0x5d1b3
movq -0xc8(%rbp), %rax
movq %rax, -0x138(%rbp)
movl -0xc0(%rbp), %eax
movl %eax, -0x12c(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x5d1e3
xorl %eax, %eax
movq %rax, -0x140(%rbp)
jmp 0x5d200
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0xcc(%rbp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x140(%rbp)
movl -0x12c(%rbp), %esi
movq -0x138(%rbp), %rdi
movq -0x140(%rbp), %rdx
callq 0x6db30
movl -0xbc(%rbp), %ecx
movq -0x10(%rbp), %rax
addl 0x24(%rax), %ecx
movl %ecx, 0x24(%rax)
movq -0x10(%rbp), %rax
movl 0x10(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
jne 0x5d255
cmpl $0x1e, -0xbc(%rbp)
jle 0x5d255
movl $0x1e, -0xbc(%rbp)
movl $0x1, -0xd0(%rbp)
movl $0x0, -0xb8(%rbp)
movl -0xb8(%rbp), %eax
cmpl -0xbc(%rbp), %eax
jge 0x5d321
cmpl $0x0, -0xb8(%rbp)
je 0x5d292
movq -0x10(%rbp), %rdi
cmpl $0x4, -0xbc(%rbp)
setl %al
andb $0x1, %al
movzbl %al, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movl -0xb8(%rbp), %ecx
addl -0xcc(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xdc(%rbp)
movq -0x10(%rbp), %rdi
movq -0xc8(%rbp), %rax
movslq -0xdc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rsi
xorl %edx, %edx
callq 0x5c7a0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x20, %esi
callq 0x18820
movq -0x10(%rbp), %rdi
movq -0xc8(%rbp), %rax
movslq -0xdc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
movl $0x1, %edx
callq 0x5c7a0
movl -0xb8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xb8(%rbp)
jmp 0x5d25f
cmpl $0x0, -0xd0(%rbp)
je 0x5d348
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x5d4b0
movq -0x10(%rbp), %rax
movq (%rax), %rdi
leaq 0x387c5(%rip), %rsi     # 0x95b08
callq 0x18750
movl -0xcc(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x24(%rax)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %ecx
subl $0x2, %ecx
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x7d, %esi
callq 0x18820
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
movq -0x8(%rbp), %rsi
callq 0x696c0
movq %rax, -0xe8(%rbp)
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopw %cs:(%rax,%rax)