// File: /workspace/github_c_makefile_star2_O0/janet-lang[P]janet/src/core/marsh.c
// Function: unmarshal_one
static const uint8_t *unmarshal_one(
    UnmarshalState *st,
    const uint8_t *data,
    Janet *out,
    int flags) {
    uint8_t lead;
    MARSH_STACKCHECK;
    MARSH_EOS(st, data);
    lead = data[0];
    if (lead < LB_REAL) {
        *out = janet_wrap_integer(readint(st, &data));
        return data;
    }
    switch (lead) {
        case LB_NIL:
            *out = janet_wrap_nil();
            return data + 1;
        case LB_FALSE:
            *out = janet_wrap_false();
            return data + 1;
        case LB_TRUE:
            *out = janet_wrap_true();
            return data + 1;
        case LB_INTEGER:
            /* Long integer */
            MARSH_EOS(st, data + 4);
            uint32_t ui = ((uint32_t)(data[4])) |
                          ((uint32_t)(data[3]) << 8) |
                          ((uint32_t)(data[2]) << 16) |
                          ((uint32_t)(data[1]) << 24);
            int32_t si = (int32_t)ui;
            *out = janet_wrap_integer(si);
            return data + 5;
        case LB_REAL:
            /* Real */
        {
            union {
                double d;
                uint8_t bytes[8];
            } u;
            MARSH_EOS(st, data + 8);
#ifdef JANET_BIG_ENDIAN
            u.bytes[0] = data[8];
            u.bytes[1] = data[7];
            u.bytes[2] = data[6];
            u.bytes[3] = data[5];
            u.bytes[4] = data[4];
            u.bytes[5] = data[3];
            u.bytes[6] = data[2];
            u.bytes[7] = data[1];
#else
            memcpy(&u.bytes, data + 1, sizeof(double));
#endif
            *out = janet_wrap_number_safe(u.d);
            janet_v_push(st->lookup, *out);
            return data + 9;
        }
        case LB_STRING:
        case LB_SYMBOL:
        case LB_BUFFER:
        case LB_KEYWORD:
        case LB_REGISTRY: {
            data++;
            int32_t len = readnat(st, &data);
            MARSH_EOS(st, data - 1 + len);
            if (lead == LB_STRING) {
                const uint8_t *str = janet_string(data, len);
                *out = janet_wrap_string(str);
            } else if (lead == LB_SYMBOL) {
                const uint8_t *str = janet_symbol(data, len);
                *out = janet_wrap_symbol(str);
            } else if (lead == LB_KEYWORD) {
                const uint8_t *str = janet_keyword(data, len);
                *out = janet_wrap_keyword(str);
            } else if (lead == LB_REGISTRY) {
                if (st->reg) {
                    Janet regkey = janet_symbolv(data, len);
                    *out = janet_table_get(st->reg, regkey);
                } else {
                    *out = janet_wrap_nil();
                }
            } else { /* (lead == LB_BUFFER) */
                JanetBuffer *buffer = janet_buffer(len);
                buffer->count = len;
                safe_memcpy(buffer->data, data, len);
                *out = janet_wrap_buffer(buffer);
            }
            janet_v_push(st->lookup, *out);
            return data + len;
        }
        case LB_FIBER: {
            JanetFiber *fiber;
            data = unmarshal_one_fiber(st, data + 1, &fiber, flags + 1);
            *out = janet_wrap_fiber(fiber);
            return data;
        }
        case LB_FUNCTION: {
            JanetFunction *func;
            JanetFuncDef *def;
            data++;
            int32_t len = readnat(st, &data);
            if (len > 255) {
                janet_panicf("invalid function - too many environments (%d)", len);
            }
            func = janet_gcalloc(JANET_MEMORY_FUNCTION, sizeof(JanetFunction) +
                                 len * sizeof(JanetFuncEnv));
            func->def = NULL;
            for (int32_t i = 0; i < len; i++) {
                func->envs[i] = NULL;
            }
            *out = janet_wrap_function(func);
            janet_v_push(st->lookup, *out);
            data = unmarshal_one_def(st, data, &def, flags + 1);
            func->def = def;
            for (int32_t i = 0; i < len; i++) {
                data = unmarshal_one_env(st, data, &(func->envs[i]), flags + 1);
            }
            return data;
        }
        case LB_ABSTRACT: {
            data++;
            return unmarshal_one_abstract(st, data, out, flags);
        }
        case LB_REFERENCE:
        case LB_ARRAY:
        case LB_ARRAY_WEAK:
        case LB_TUPLE:
        case LB_STRUCT:
        case LB_STRUCT_PROTO:
        case LB_TABLE:
        case LB_TABLE_PROTO:
        case LB_TABLE_WEAKK:
        case LB_TABLE_WEAKV:
        case LB_TABLE_WEAKKV:
        case LB_TABLE_WEAKK_PROTO:
        case LB_TABLE_WEAKV_PROTO:
        case LB_TABLE_WEAKKV_PROTO:
            /* Things that open with integers */
        {
            data++;
            int32_t len = readnat(st, &data);
            /* DOS check */
            if (lead != LB_REFERENCE) {
                MARSH_EOS(st, data - 1 + len);
            }
            if (lead == LB_ARRAY || lead == LB_ARRAY_WEAK) {
                /* Array */
                JanetArray *array = (lead == LB_ARRAY_WEAK) ? janet_array_weak(len) : janet_array(len);
                array->count = len;
                *out = janet_wrap_array(array);
                janet_v_push(st->lookup, *out);
                for (int32_t i = 0; i < len; i++) {
                    data = unmarshal_one(st, data, array->data + i, flags + 1);
                }
            } else if (lead == LB_TUPLE) {
                /* Tuple */
                Janet *tup = janet_tuple_begin(len);
                int32_t flag = readint(st, &data);
                janet_tuple_flag(tup) |= flag << 16;
                for (int32_t i = 0; i < len; i++) {
                    data = unmarshal_one(st, data, tup + i, flags + 1);
                }
                *out = janet_wrap_tuple(janet_tuple_end(tup));
                janet_v_push(st->lookup, *out);
            } else if (lead == LB_STRUCT || lead == LB_STRUCT_PROTO) {
                /* Struct */
                JanetKV *struct_ = janet_struct_begin(len);
                if (lead == LB_STRUCT_PROTO) {
                    Janet proto;
                    data = unmarshal_one(st, data, &proto, flags + 1);
                    janet_asserttype(proto, JANET_STRUCT, st);
                    janet_struct_proto(struct_) = janet_unwrap_struct(proto);
                }
                for (int32_t i = 0; i < len; i++) {
                    Janet key, value;
                    data = unmarshal_one(st, data, &key, flags + 1);
                    data = unmarshal_one(st, data, &value, flags + 1);
                    janet_struct_put(struct_, key, value);
                }
                *out = janet_wrap_struct(janet_struct_end(struct_));
                janet_v_push(st->lookup, *out);
            } else if (lead == LB_REFERENCE) {
                if (len >= janet_v_count(st->lookup))
                    janet_panicf("invalid reference %d", len);
                *out = st->lookup[len];
            } else {
                /* Table */
                JanetTable *t;
                if (lead == LB_TABLE_WEAKK_PROTO || lead == LB_TABLE_WEAKK) {
                    t = janet_table_weakk(len);
                } else if (lead == LB_TABLE_WEAKV_PROTO || lead == LB_TABLE_WEAKV) {
                    t = janet_table_weakv(len);
                } else if (lead == LB_TABLE_WEAKKV_PROTO || lead == LB_TABLE_WEAKKV) {
                    t = janet_table_weakkv(len);
                } else {
                    t = janet_table(len);
                }
                *out = janet_wrap_table(t);
                janet_v_push(st->lookup, *out);
                if (lead == LB_TABLE_PROTO || lead == LB_TABLE_WEAKK_PROTO || lead == LB_TABLE_WEAKV_PROTO || lead == LB_TABLE_WEAKKV_PROTO) {
                    Janet proto;
                    data = unmarshal_one(st, data, &proto, flags + 1);
                    janet_asserttype(proto, JANET_TABLE, st);
                    t->proto = janet_unwrap_table(proto);
                }
                for (int32_t i = 0; i < len; i++) {
                    Janet key, value;
                    data = unmarshal_one(st, data, &key, flags + 1);
                    data = unmarshal_one(st, data, &value, flags + 1);
                    janet_table_put(t, key, value);
                }
            }
            return data;
        }
        case LB_UNSAFE_POINTER: {
            MARSH_EOS(st, data + sizeof(void *));
            data++;
            if (!(flags & JANET_MARSHAL_UNSAFE)) {
                janet_panicf("unsafe flag not given, "
                             "will not unmarshal raw pointer at index %d",
                             (int)(data - st->start));
            }
            union {
                void *ptr;
                uint8_t bytes[sizeof(void *)];
            } u;
            memcpy(u.bytes, data, sizeof(void *));
            data += sizeof(void *);
            *out = janet_wrap_pointer(u.ptr);
            janet_v_push(st->lookup, *out);
            return data;
        }
#ifdef JANET_EV
        case LB_POINTER_BUFFER: {
            data++;
            int32_t count = readnat(st, &data);
            int32_t capacity = readnat(st, &data);
            MARSH_EOS(st, data + sizeof(void *));
            union {
                void *ptr;
                uint8_t bytes[sizeof(void *)];
            } u;
            if (!(flags & JANET_MARSHAL_UNSAFE)) {
                janet_panicf("unsafe flag not given, "
                             "will not unmarshal raw pointer at index %d",
                             (int)(data - st->start));
            }
            memcpy(u.bytes, data, sizeof(void *));
            data += sizeof(void *);
            JanetBuffer *buffer = janet_pointer_buffer_unsafe(u.ptr, capacity, count);
            *out = janet_wrap_buffer(buffer);
            janet_v_push(st->lookup, *out);
            return data;
        }
#endif
        case LB_UNSAFE_CFUNCTION: {
            MARSH_EOS(st, data + sizeof(JanetCFunction));
            data++;
            if (!(flags & JANET_MARSHAL_UNSAFE)) {
                janet_panicf("unsafe flag not given, "
                             "will not unmarshal function pointer at index %d",
                             (int)(data - st->start));
            }
            union {
                JanetCFunction ptr;
                uint8_t bytes[sizeof(JanetCFunction)];
            } u;
            memcpy(u.bytes, data, sizeof(JanetCFunction));
            data += sizeof(JanetCFunction);
            *out = janet_wrap_cfunction(u.ptr);
            janet_v_push(st->lookup, *out);
            return data;
        }
#ifdef JANET_EV
        case LB_THREADED_ABSTRACT: {
            MARSH_EOS(st, data + sizeof(void *));
            data++;
            if (!(flags & JANET_MARSHAL_UNSAFE)) {
                janet_panicf("unsafe flag not given, "
                             "will not unmarshal threaded abstract pointer at index %d",
                             (int)(data - st->start));
            }
            union {
                void *ptr;
                uint8_t bytes[sizeof(void *)];
            } u;
            memcpy(u.bytes, data, sizeof(void *));
            data += sizeof(void *);

            if (flags & JANET_MARSHAL_DECREF) {
                /* Decrement immediately and don't bother putting into heap */
                janet_abstract_decref(u.ptr);
                *out = janet_wrap_nil();
            } else {
                *out = janet_wrap_abstract(u.ptr);
                Janet check = janet_table_get(&janet_vm.threaded_abstracts, *out);
                if (janet_checktype(check, JANET_NIL)) {
                    /* Transfers reference from threaded channel buffer to current heap */
                    janet_table_put(&janet_vm.threaded_abstracts, *out, janet_wrap_false());
                } else {
                    /* Heap reference already accounted for, remove threaded channel reference. */
                    janet_abstract_decref(u.ptr);
                }
            }

            janet_v_push(st->lookup, *out);
            return data;
        }
#endif
        default: {
            janet_panicf("unknown byte %x at index %d",
                         *data,
                         (int)(data - st->start));
            return NULL;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2e0, %rsp            # imm = 0x2E0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl -0x24(%rbp), %eax
andl $0xffff, %eax           # imm = 0xFFFF
cmpl $0x400, %eax            # imm = 0x400
jle 0x41db5
leaq 0x48163(%rip), %rdi     # 0x89f13
callq 0x1ad60
jmp 0x41db7
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x41dd4
leaq 0x4ae1d(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x41dd6
movq -0x18(%rbp), %rax
movb (%rax), %al
movb %al, -0x25(%rbp)
movzbl -0x25(%rbp), %eax
cmpl $0xc8, %eax
jge 0x41e2d
movq -0x20(%rbp), %rax
movq %rax, -0x200(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x418c0
cvtsi2sd %eax, %xmm0
callq 0x7b820
movq %rax, %rcx
movq -0x200(%rbp), %rax
movq %rcx, -0x30(%rbp)
movq -0x30(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movzbl -0x25(%rbp), %eax
addl $0xffffff38, %eax       # imm = 0xFFFFFF38
movl %eax, %ecx
movq %rcx, -0x208(%rbp)
subl $0x20, %eax
ja 0x4354d
movq -0x208(%rbp), %rax
leaq 0x4a9ba(%rip), %rcx     # 0x8c810
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x20(%rbp), %rax
movq %rax, -0x210(%rbp)
movabsq $-0x77fffffffffff, %rdi # imm = 0xFFF8800000000001
callq 0x7b460
movq %rax, %rcx
movq -0x210(%rbp), %rax
movq %rcx, -0x38(%rbp)
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x20(%rbp), %rax
movq %rax, -0x218(%rbp)
movabsq $-0x7000000000000, %rdi # imm = 0xFFF9000000000000
callq 0x7b460
movq %rax, %rcx
movq -0x218(%rbp), %rax
movq %rcx, -0x40(%rbp)
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x20(%rbp), %rax
movq %rax, -0x220(%rbp)
movabsq $-0x6ffffffffffff, %rdi # imm = 0xFFF9000000000001
callq 0x7b460
movq %rax, %rcx
movq -0x220(%rbp), %rax
movq %rcx, -0x48(%rbp)
movq -0x48(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
jmp 0x41f21
movq -0x18(%rbp), %rax
addq $0x4, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x41f42
leaq 0x4acaf(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x41f44
movq -0x18(%rbp), %rax
movzbl 0x4(%rax), %eax
movq -0x18(%rbp), %rcx
movzbl 0x3(%rcx), %ecx
shll $0x8, %ecx
orl %ecx, %eax
movq -0x18(%rbp), %rcx
movzbl 0x2(%rcx), %ecx
shll $0x10, %ecx
orl %ecx, %eax
movq -0x18(%rbp), %rcx
movzbl 0x1(%rcx), %ecx
shll $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movl %eax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x228(%rbp)
cvtsi2sdl -0x50(%rbp), %xmm0
callq 0x7b820
movq %rax, %rcx
movq -0x228(%rbp), %rax
movq %rcx, -0x58(%rbp)
movq -0x58(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
addq $0x5, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
jmp 0x41fb9
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x41fda
leaq 0x4ac17(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x41fdc
movq -0x18(%rbp), %rax
movq 0x1(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x230(%rbp)
movsd -0x60(%rbp), %xmm0
callq 0x7ba40
movq %rax, %rcx
movq -0x230(%rbp), %rax
movq %rcx, -0x68(%rbp)
movq -0x68(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42041
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x4206b
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x4206d
jmp 0x4206d
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
addq $0x9, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x447b0
movl %eax, -0x6c(%rbp)
movq -0x18(%rbp), %rax
addq $-0x1, %rax
movslq -0x6c(%rbp), %rcx
addq %rcx, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x420f1
leaq 0x4ab00(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x420f3
movzbl -0x25(%rbp), %eax
cmpl $0xce, %eax
jne 0x42146
movq -0x18(%rbp), %rdi
movl -0x6c(%rbp), %esi
callq 0x64880
movq %rax, -0x78(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x78(%rbp), %rdi
movabsq $-0x6000000000000, %rsi # imm = 0xFFFA000000000000
callq 0x7b550
movq %rax, %rcx
movq -0x238(%rbp), %rax
movq %rcx, -0x80(%rbp)
movq -0x80(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x42332
movzbl -0x25(%rbp), %eax
cmpl $0xcf, %eax
jne 0x421a5
movq -0x18(%rbp), %rdi
movl -0x6c(%rbp), %esi
callq 0x68bf0
movq %rax, -0x88(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x88(%rbp), %rdi
movabsq $-0x5800000000000, %rsi # imm = 0xFFFA800000000000
callq 0x7b550
movq %rax, %rcx
movq -0x240(%rbp), %rax
movq %rcx, -0x90(%rbp)
movq -0x90(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x42330
movzbl -0x25(%rbp), %eax
cmpl $0xd0, %eax
jne 0x42204
movq -0x18(%rbp), %rdi
movl -0x6c(%rbp), %esi
callq 0x68bf0
movq %rax, -0x98(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x248(%rbp)
movq -0x98(%rbp), %rdi
movabsq $-0x5000000000000, %rsi # imm = 0xFFFB000000000000
callq 0x7b550
movq %rax, %rcx
movq -0x248(%rbp), %rax
movq %rcx, -0xa0(%rbp)
movq -0xa0(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x4232e
movzbl -0x25(%rbp), %eax
cmpl $0xd8, %eax
jne 0x422bc
movq -0x10(%rbp), %rax
cmpq $0x0, 0xd0(%rax)
je 0x42285
movq -0x18(%rbp), %rdi
movl -0x6c(%rbp), %esi
callq 0x68bf0
movq %rax, %rdi
movabsq $-0x5800000000000, %rsi # imm = 0xFFFA800000000000
callq 0x7b550
movq %rax, -0xa8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x250(%rbp)
movq -0x10(%rbp), %rax
movq 0xd0(%rax), %rdi
movq -0xa8(%rbp), %rsi
callq 0x69420
movq %rax, %rcx
movq -0x250(%rbp), %rax
movq %rcx, -0xb0(%rbp)
movq -0xb0(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x422ba
movq -0x20(%rbp), %rax
movq %rax, -0x258(%rbp)
movabsq $-0x77fffffffffff, %rdi # imm = 0xFFF8800000000001
callq 0x7b460
movq %rax, %rcx
movq -0x258(%rbp), %rax
movq %rcx, -0xb8(%rbp)
movq -0xb8(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x4232c
movl -0x6c(%rbp), %edi
callq 0x18490
movq %rax, -0xc0(%rbp)
movl -0x6c(%rbp), %ecx
movq -0xc0(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0xc0(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x18(%rbp), %rsi
movslq -0x6c(%rbp), %rdx
callq 0x6ae40
movq -0x20(%rbp), %rax
movq %rax, -0x260(%rbp)
movq -0xc0(%rbp), %rdi
movabsq $-0x2800000000000, %rsi # imm = 0xFFFD800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x260(%rbp), %rax
movq %rcx, -0xc8(%rbp)
movq -0xc8(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x4232e
jmp 0x42330
jmp 0x42332
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42361
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x4238b
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x4238d
jmp 0x4238d
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x1, %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0xd0(%rbp), %rdx
callq 0x447f0
movq %rax, -0x18(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x268(%rbp)
movq -0xd0(%rbp), %rdi
movabsq $-0x6800000000000, %rsi # imm = 0xFFF9800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x268(%rbp), %rax
movq %rcx, -0xd8(%rbp)
movq -0xd8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x447b0
movl %eax, -0xec(%rbp)
cmpl $0xff, -0xec(%rbp)
jle 0x4247a
movl -0xec(%rbp), %esi
leaq 0x4a8e3(%rip), %rdi     # 0x8cd56
movb $0x0, %al
callq 0x1ac40
movslq -0xec(%rbp), %rsi
shlq $0x5, %rsi
addq $0x18, %rsi
movl $0x9, %edi
callq 0x39e40
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rax
movq $0x0, 0x10(%rax)
movl $0x0, -0xf0(%rbp)
movl -0xf0(%rbp), %eax
cmpl -0xec(%rbp), %eax
jge 0x424e9
movq -0xe0(%rbp), %rax
movslq -0xf0(%rbp), %rcx
movq $0x0, 0x18(%rax,%rcx,8)
movl -0xf0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xf0(%rbp)
jmp 0x424b3
movq -0x20(%rbp), %rax
movq %rax, -0x270(%rbp)
movq -0xe0(%rbp), %rdi
movabsq $-0x2000000000000, %rsi # imm = 0xFFFE000000000000
callq 0x7b610
movq %rax, %rcx
movq -0x270(%rbp), %rax
movq %rcx, -0xf8(%rbp)
movq -0xf8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42554
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x4257e
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x42580
jmp 0x42580
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0xe8(%rbp), %rdx
callq 0x44ec0
movq %rax, -0x18(%rbp)
movq -0xe8(%rbp), %rcx
movq -0xe0(%rbp), %rax
movq %rcx, 0x10(%rax)
movl $0x0, -0xfc(%rbp)
movl -0xfc(%rbp), %eax
cmpl -0xec(%rbp), %eax
jge 0x42638
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0xe0(%rbp), %rdx
addq $0x18, %rdx
movslq -0xfc(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdx
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
callq 0x458a0
movq %rax, -0x18(%rbp)
movl -0xfc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xfc(%rbp)
jmp 0x425e9
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movl -0x24(%rbp), %ecx
callq 0x45b80
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x447b0
movl %eax, -0x100(%rbp)
movzbl -0x25(%rbp), %eax
cmpl $0xda, %eax
je 0x426c9
jmp 0x4269a
movq -0x18(%rbp), %rax
addq $-0x1, %rax
movslq -0x100(%rbp), %rcx
addq %rcx, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x426c5
leaq 0x4a52c(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x426c7
jmp 0x426c9
movzbl -0x25(%rbp), %eax
cmpl $0xd1, %eax
je 0x426e3
movzbl -0x25(%rbp), %eax
cmpl $0xe8, %eax
jne 0x42856
movzbl -0x25(%rbp), %eax
cmpl $0xe8, %eax
jne 0x42702
movl -0x100(%rbp), %edi
callq 0x13280
movq %rax, -0x278(%rbp)
jmp 0x42714
movl -0x100(%rbp), %edi
callq 0x13180
movq %rax, -0x278(%rbp)
movq -0x278(%rbp), %rax
movq %rax, -0x108(%rbp)
movl -0x100(%rbp), %ecx
movq -0x108(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x20(%rbp), %rax
movq %rax, -0x280(%rbp)
movq -0x108(%rbp), %rdi
movabsq $-0x4800000000000, %rsi # imm = 0xFFFB800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x280(%rbp), %rax
movq %rcx, -0x110(%rbp)
movq -0x110(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x4279d
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x427c7
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x427c9
jmp 0x427c9
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movl $0x0, -0x114(%rbp)
movl -0x114(%rbp), %eax
cmpl -0x100(%rbp), %eax
jge 0x42851
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x108(%rbp), %rax
movq 0x18(%rax), %rdx
movslq -0x114(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdx
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
callq 0x41d80
movq %rax, -0x18(%rbp)
movl -0x114(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x114(%rbp)
jmp 0x42802
jmp 0x42e87
movzbl -0x25(%rbp), %eax
cmpl $0xd2, %eax
jne 0x429c8
movl -0x100(%rbp), %edi
callq 0x6a740
movq %rax, -0x120(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x418c0
movl %eax, -0x124(%rbp)
movl -0x124(%rbp), %ecx
shll $0x10, %ecx
movq -0x120(%rbp), %rax
orl -0x20(%rax), %ecx
movl %ecx, -0x20(%rax)
movl $0x0, -0x128(%rbp)
movl -0x128(%rbp), %eax
cmpl -0x100(%rbp), %eax
jge 0x428f5
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x120(%rbp), %rdx
movslq -0x128(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdx
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
callq 0x41d80
movq %rax, -0x18(%rbp)
movl -0x128(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x128(%rbp)
jmp 0x428aa
movq -0x20(%rbp), %rax
movq %rax, -0x288(%rbp)
movq -0x120(%rbp), %rdi
callq 0x6a7a0
movq %rax, %rdi
movabsq $-0x4000000000000, %rsi # imm = 0xFFFC000000000000
callq 0x7b550
movq %rax, %rcx
movq -0x288(%rbp), %rax
movq %rcx, -0x130(%rbp)
movq -0x130(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42968
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x42992
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x42994
jmp 0x42994
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
jmp 0x42e85
movzbl -0x25(%rbp), %eax
cmpl $0xd5, %eax
je 0x429e2
movzbl -0x25(%rbp), %eax
cmpl $0xdf, %eax
jne 0x42b9e
movl -0x100(%rbp), %edi
callq 0x67720
movq %rax, -0x138(%rbp)
movzbl -0x25(%rbp), %eax
cmpl $0xdf, %eax
jne 0x42a4c
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x140(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdx
movq -0x140(%rbp), %rdi
movl $0xa, %esi
callq 0x45cb0
movq -0x140(%rbp), %rdi
callq 0x7b260
movq %rax, %rcx
movq -0x138(%rbp), %rax
movq %rcx, -0x8(%rax)
movl $0x0, -0x144(%rbp)
movl -0x144(%rbp), %eax
cmpl -0x100(%rbp), %eax
jge 0x42acb
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x150(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x158(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x138(%rbp), %rdi
movq -0x150(%rbp), %rsi
movq -0x158(%rbp), %rdx
callq 0x67d00
movl -0x144(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x144(%rbp)
jmp 0x42a56
movq -0x20(%rbp), %rax
movq %rax, -0x290(%rbp)
movq -0x138(%rbp), %rdi
callq 0x67d30
movq %rax, %rdi
movabsq $-0x3000000000000, %rsi # imm = 0xFFFD000000000000
callq 0x7b550
movq %rax, %rcx
movq -0x290(%rbp), %rax
movq %rcx, -0x160(%rbp)
movq -0x160(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42b3e
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x42b68
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x42b6a
jmp 0x42b6a
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
jmp 0x42e83
movzbl -0x25(%rbp), %eax
cmpl $0xda, %eax
jne 0x42c2d
movl -0x100(%rbp), %eax
movl %eax, -0x294(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42bdd
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
movl %eax, -0x298(%rbp)
jmp 0x42be7
xorl %eax, %eax
movl %eax, -0x298(%rbp)
jmp 0x42be7
movl -0x294(%rbp), %eax
movl -0x298(%rbp), %ecx
cmpl %ecx, %eax
jl 0x42c0b
movl -0x100(%rbp), %esi
leaq 0x4a180(%rip), %rdi     # 0x8cd84
movb $0x0, %al
callq 0x1ac40
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
movslq -0x100(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, (%rax)
jmp 0x42e81
movzbl -0x25(%rbp), %eax
cmpl $0xe5, %eax
je 0x42c43
movzbl -0x25(%rbp), %eax
cmpl $0xe2, %eax
jne 0x42c57
movl -0x100(%rbp), %edi
callq 0x69330
movq %rax, -0x168(%rbp)
jmp 0x42cc1
movzbl -0x25(%rbp), %eax
cmpl $0xe6, %eax
je 0x42c6d
movzbl -0x25(%rbp), %eax
cmpl $0xe3, %eax
jne 0x42c81
movl -0x100(%rbp), %edi
callq 0x69370
movq %rax, -0x168(%rbp)
jmp 0x42cbf
movzbl -0x25(%rbp), %eax
cmpl $0xe7, %eax
je 0x42c97
movzbl -0x25(%rbp), %eax
cmpl $0xe4, %eax
jne 0x42cab
movl -0x100(%rbp), %edi
callq 0x693b0
movq %rax, -0x168(%rbp)
jmp 0x42cbd
movl -0x100(%rbp), %edi
callq 0x692f0
movq %rax, -0x168(%rbp)
jmp 0x42cbf
jmp 0x42cc1
movq -0x20(%rbp), %rax
movq %rax, -0x2a0(%rbp)
movq -0x168(%rbp), %rdi
movabsq $-0x3800000000000, %rsi # imm = 0xFFFC800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x2a0(%rbp), %rax
movq %rcx, -0x170(%rbp)
movq -0x170(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42d2c
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x42d56
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x42d58
jmp 0x42d58
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movzbl -0x25(%rbp), %eax
cmpl $0xd4, %eax
je 0x42db3
movzbl -0x25(%rbp), %eax
cmpl $0xe5, %eax
je 0x42db3
movzbl -0x25(%rbp), %eax
cmpl $0xe6, %eax
je 0x42db3
movzbl -0x25(%rbp), %eax
cmpl $0xe7, %eax
jne 0x42e00
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x178(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdx
movq -0x178(%rbp), %rdi
movl $0x9, %esi
callq 0x45cb0
movq -0x178(%rbp), %rdi
callq 0x7b260
movq %rax, %rcx
movq -0x168(%rbp), %rax
movq %rcx, 0x28(%rax)
movl $0x0, -0x17c(%rbp)
movl -0x17c(%rbp), %eax
cmpl -0x100(%rbp), %eax
jge 0x42e7f
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x188(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
addl $0x1, %ecx
leaq -0x190(%rbp), %rdx
callq 0x41d80
movq %rax, -0x18(%rbp)
movq -0x168(%rbp), %rdi
movq -0x188(%rbp), %rsi
movq -0x190(%rbp), %rdx
callq 0x697e0
movl -0x17c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x17c(%rbp)
jmp 0x42e0a
jmp 0x42e81
jmp 0x42e83
jmp 0x42e85
jmp 0x42e87
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
jmp 0x42e96
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x42eb7
leaq 0x49d3a(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x42eb9
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movl -0x24(%rbp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
jne 0x42ef4
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xe8(%rcx), %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x49eac(%rip), %rdi     # 0x8cd99
movb $0x0, %al
callq 0x1ac40
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x198(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movq -0x198(%rbp), %rdi
movabsq $-0x800000000000, %rsi  # imm = 0xFFFF800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x2a8(%rbp), %rax
movq %rcx, -0x1a0(%rbp)
movq -0x1a0(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x42f79
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x42fa3
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x42fa5
jmp 0x42fa5
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x447b0
movl %eax, -0x1a4(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x447b0
movl %eax, -0x1a8(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x43034
leaq 0x49bbd(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x43036
movl -0x24(%rbp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
jne 0x43065
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xe8(%rcx), %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x49d3b(%rip), %rdi     # 0x8cd99
movb $0x0, %al
callq 0x1ac40
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1b0(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movq -0x1b0(%rbp), %rdi
movl -0x1a8(%rbp), %esi
movl -0x1a4(%rbp), %edx
callq 0x183d0
movq %rax, -0x1b8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movq -0x1b8(%rbp), %rdi
movabsq $-0x2800000000000, %rsi # imm = 0xFFFD800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x2b0(%rbp), %rax
movq %rcx, -0x1c0(%rbp)
movq -0x1c0(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x43109
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x43133
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x43135
jmp 0x43135
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
jmp 0x43173
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x43194
leaq 0x49a5d(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x43196
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movl -0x24(%rbp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
jne 0x431d1
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xe8(%rcx), %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x49c11(%rip), %rdi     # 0x8cddb
movb $0x0, %al
callq 0x1ac40
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1c8(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq -0x1c8(%rbp), %rdi
movabsq $-0x1800000000000, %rsi # imm = 0xFFFE800000000000
callq 0x7b610
movq %rax, %rcx
movq -0x2b8(%rbp), %rax
movq %rcx, -0x1d0(%rbp)
movq -0x1d0(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x43256
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x43280
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x43282
jmp 0x43282
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
jmp 0x432c0
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq -0x10(%rbp), %rcx
cmpq 0xf0(%rcx), %rax
jb 0x432e1
leaq 0x49910(%rip), %rdi     # 0x8cbec
callq 0x1ad60
jmp 0x432e3
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movl -0x24(%rbp), %eax
andl $0x20000, %eax          # imm = 0x20000
cmpl $0x0, %eax
jne 0x4331e
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xe8(%rcx), %rcx
subq %rcx, %rax
movl %eax, %esi
leaq 0x49b0b(%rip), %rdi     # 0x8ce22
movb $0x0, %al
callq 0x1ac40
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x1d8(%rbp)
movq -0x18(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movl -0x24(%rbp), %eax
andl $0x40000, %eax          # imm = 0x40000
cmpl $0x0, %eax
je 0x4338b
movq -0x1d8(%rbp), %rdi
callq 0x13150
movq -0x20(%rbp), %rax
movq %rax, -0x2c0(%rbp)
movabsq $-0x77fffffffffff, %rdi # imm = 0xFFF8800000000001
callq 0x7b460
movq %rax, %rcx
movq -0x2c0(%rbp), %rax
movq %rcx, -0x1e0(%rbp)
movq -0x1e0(%rbp), %rcx
movq %rcx, (%rax)
jmp 0x434b9
movq -0x20(%rbp), %rax
movq %rax, -0x2c8(%rbp)
movq -0x1d8(%rbp), %rdi
movabsq $-0x1000000000000, %rsi # imm = 0xFFFF000000000000
callq 0x7b610
movq %rax, %rcx
movq -0x2c8(%rbp), %rax
movq %rcx, -0x1e8(%rbp)
movq -0x1e8(%rbp), %rcx
movq %rcx, (%rax)
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
movq %rax, %rdi
addq $0x268, %rdi            # imm = 0x268
movq -0x20(%rbp), %rax
movq (%rax), %rsi
callq 0x69420
movq %rax, -0x1f0(%rbp)
xorl %eax, %eax
testb $0x1, %al
jne 0x433fc
jmp 0x4342b
movsd -0x1f0(%rbp), %xmm0
ucomisd %xmm0, %xmm0
setp %al
testb $0x1, %al
jne 0x43411
jmp 0x4344b
movq -0x1f0(%rbp), %rax
shrq $0x2f, %rax
andq $0xf, %rax
cmpq $0x0, %rax
je 0x4344b
jmp 0x434ab
movabsq $-0x800000000000, %rax  # imm = 0xFFFF800000000000
andq -0x1f0(%rbp), %rax
movabsq $-0x7800000000000, %rcx # imm = 0xFFF8800000000000
cmpq %rcx, %rax
jne 0x434ab
movq %fs:0x0, %rax
leaq -0x348(%rax), %rax
addq $0x268, %rax            # imm = 0x268
movq %rax, -0x2d8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2d0(%rbp)
movabsq $-0x7000000000000, %rdi # imm = 0xFFF9000000000000
callq 0x7b460
movq -0x2d8(%rbp), %rdi
movq %rax, %rcx
movq -0x2d0(%rbp), %rax
movq %rcx, -0x1f8(%rbp)
movq (%rax), %rsi
movq -0x1f8(%rbp), %rdx
callq 0x697e0
jmp 0x434b7
movq -0x1d8(%rbp), %rdi
callq 0x13150
jmp 0x434b9
movq -0x10(%rbp), %rax
cmpq $0x0, 0xc8(%rax)
je 0x434e8
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movl -0x4(%rax), %eax
addl $0x1, %eax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rcx
cmpl -0x8(%rcx), %eax
jl 0x43512
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq 0x70760
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0xc8(%rax)
jmp 0x43514
jmp 0x43514
movq -0x10(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xc8(%rcx), %rdx
movl -0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x4(%rdx)
movslq %ecx, %rcx
movq -0x20(%rbp), %rdx
movq (%rdx), %rdx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x43576
movq -0x18(%rbp), %rax
movzbl (%rax), %esi
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0xe8(%rcx), %rcx
subq %rcx, %rax
movl %eax, %edx
leaq 0x49903(%rip), %rdi     # 0x8ce72
movb $0x0, %al
callq 0x1ac40
movq -0x8(%rbp), %rax
addq $0x2e0, %rsp            # imm = 0x2E0
popq %rbp
retq
nopw %cs:(%rax,%rax)