// File: /workspace/github_cpp_makefile_star2_O1/jimmiebergmann[P]fbx-file/fbx.cpp
// Function: Fbx::Record::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int)>)
void Record::read(const std::string & filename, std::function<void(std::string, uint32_t)> onHeaderRead)
    {
        std::ifstream file(filename, std::ios::binary);
        if (file.is_open() == false)
        {
            throw std::runtime_error("Failed to open file.");
        }

        // Get file size.
        file.seekg(0, std::ios::end);
        std::streampos streamPos = file.tellg();
        if (streamPos > static_cast<std::streampos>(std::numeric_limits<uint32_t>::max()))
        {
            throw std::runtime_error("Input file size is too big.");
        }
        const std::size_t fileSize = static_cast<std::size_t>(streamPos);
        file.seekg(0, std::ios::beg);

        // Read header.
        std::string magic(20, '\0');
        file.read(&magic[0], 20);
        file.seekg(23);
        uint32_t version;
        file.read(reinterpret_cast<char*>(&version), 4);

        // call on header function.
        onHeaderRead(magic, version);

        if (file.eof())
        {
            throw std::runtime_error("Invalid FBX file.");
        }

        // Read record.
        std::stack<std::pair<Record *, size_t>> recordStack;
        recordStack.push(std::make_pair(this, fileSize));

        while (recordStack.size())
        {
            uint32_t endOffset = 0;
            uint32_t numProperties = 0;
            uint32_t propertyListLen = 0;
            uint8_t nameLen = 0;
            const size_t recordPos = static_cast<size_t>(file.tellg());

            file.read(reinterpret_cast<char*>(&endOffset), 4);
            file.read(reinterpret_cast<char*>(&numProperties), 4);
            file.read(reinterpret_cast<char*>(&propertyListLen), 4);
            file.read(reinterpret_cast<char*>(&nameLen), 1);

            std::string name(nameLen, '\0');
            file.read(&name[0], nameLen);

            if (file.eof())
            {
                throw std::runtime_error("Invalid record header.");
            }

            if (endOffset == 0) // End of nested list.
            {
                recordStack.pop();
                continue;
            }

            const auto & stackTop = recordStack.top();
            Record * pParentRecord = stackTop.first;
            size_t parentEndOffset = stackTop.second;

            // Validate endoffset.
            if (endOffset > fileSize)
            {
                throw std::runtime_error("Record end offset exceeding file size.");
            }
            if (endOffset >= parentEndOffset)
            {
                throw std::runtime_error("Record end offset exceeding parent record.");
            }

            // Validate property list length.
            if (recordPos + propertyListLen > endOffset)
            {
                throw std::runtime_error("Invalid record property list length.");
            }

            // Create and add new record.
            Record * pNewRecord = new Record(name, pParentRecord);
            recordStack.push(std::make_pair(pNewRecord, endOffset));

            // Read properties.
            size_t propertiesByteRead = 0;
            PropertyReader reader(file, pNewRecord);

            for (uint32_t i = 0; i < numProperties; ++i)
            {
                uint8_t code;
                file.read(reinterpret_cast<char*>(&code), 1);

                if (code == 'S' || code == 'R') // String/raw.
                {
                    propertiesByteRead += reader.readRaw(code) + 1;
                }
                else if (code < 'Z') // primitives.
                {
                    propertiesByteRead += reader.readPrimitive(code) + 1;
                }
                else // arrays.
                {
                    propertiesByteRead += reader.readArray(code) + 1;
                }
            }

            // Make sure all property bytes are extracted.
            if (propertiesByteRead != propertyListLen)
            {
                throw std::runtime_error("Invalid property list length of record: " + pParentRecord->name());
            }

            // Error check end record of nested list.
            const size_t curFilePos = static_cast<size_t>(file.tellg());
            if (parentEndOffset <= curFilePos)
            {
                throw std::runtime_error("Missing nested list end of record: " + pParentRecord->name());
            }

            // Exit record if no nested list is present.
            if (endOffset == curFilePos)
            {
                recordStack.pop();
                continue;
            }

            // Read nested list next loop.
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x378, %rsp            # imm = 0x378
movq %rdx, %r14
movq %rdi, %rbx
leaq -0x398(%rbp), %rdi
movl $0x4, %edx
callq 0x33a0
leaq -0x320(%rbp), %rdi
callq 0x3070
testb %al, %al
je 0x12090
leaq -0x398(%rbp), %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x3330
leaq -0x398(%rbp), %rdi
callq 0x3420
movq %rax, -0xc8(%rbp)
movabsq $0x100000000, %rax      # imm = 0x100000000
cmpq %rax, -0xc8(%rbp)
jge 0x120c4
leaq -0x398(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3330
leaq -0x158(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x168(%rbp), %rdi
movl $0x14, %esi
xorl %edx, %edx
callq 0x32b0
movq -0x168(%rbp), %rsi
leaq -0x398(%rbp), %rdi
movl $0x14, %edx
callq 0x32e0
leaq -0x398(%rbp), %rdi
movl $0x17, %esi
xorl %edx, %edx
callq 0x32f0
leaq -0x398(%rbp), %rdi
leaq -0xcc(%rbp), %rsi
movl $0x4, %edx
callq 0x32e0
leaq -0x180(%rbp), %r15
movq %r15, -0x10(%r15)
movq -0x168(%rbp), %rsi
movq -0x160(%rbp), %rdx
addq %rsi, %rdx
leaq -0x190(%rbp), %rdi
callq 0x13952
movl -0xcc(%rbp), %eax
movl %eax, -0x120(%rbp)
cmpq $0x0, 0x10(%r14)
je 0x120f8
leaq -0x190(%rbp), %rsi
leaq -0x120(%rbp), %rdx
movq %r14, %rdi
callq *0x18(%r14)
movq -0x190(%rbp), %rdi
cmpq %r15, %rdi
je 0x10fe6
callq 0x3230
movq -0x398(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x378(%rbp,%rax)
jne 0x120fd
xorps %xmm0, %xmm0
leaq -0x120(%rbp), %rdi
movaps %xmm0, 0x40(%rdi)
movaps %xmm0, 0x30(%rdi)
movaps %xmm0, 0x20(%rdi)
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
xorl %esi, %esi
callq 0x1412e
movq %rbx, -0x70(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0xf0(%rbp), %rax
movq -0xe0(%rbp), %rcx
addq $-0x10, %rcx
cmpq %rcx, %rax
je 0x1105a
movups -0x70(%rbp), %xmm0
movups %xmm0, (%rax)
addq $0x10, -0xf0(%rbp)
jmp 0x1106a
leaq -0x120(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x142ac
leaq -0x398(%rbp), %r14
leaq -0x70(%rbp), %r15
movq -0xd8(%rbp), %rax
movq %rax, %rcx
subq -0xf8(%rbp), %rcx
shrq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
shlq $0x5, %rcx
movq -0x100(%rbp), %rax
movq -0xf0(%rbp), %rdx
subq -0xe8(%rbp), %rdx
sarq $0x4, %rdx
addq %rcx, %rdx
subq -0x110(%rbp), %rax
sarq $0x4, %rax
addq %rdx, %rax
je 0x11c97
xorl %eax, %eax
movl %eax, -0x7c(%rbp)
movl %eax, -0x90(%rbp)
movl %eax, -0x8c(%rbp)
movb $0x0, -0x29(%rbp)
movq %r14, %rdi
callq 0x3420
movq %rax, %rbx
movl $0x4, %edx
movq %r14, %rdi
leaq -0x7c(%rbp), %rsi
callq 0x32e0
movl $0x4, %edx
movq %r14, %rdi
leaq -0x90(%rbp), %rsi
callq 0x32e0
movl $0x4, %edx
movq %r14, %rdi
leaq -0x8c(%rbp), %rsi
callq 0x32e0
movl $0x1, %edx
movq %r14, %rdi
leaq -0x29(%rbp), %rsi
callq 0x32e0
movzbl -0x29(%rbp), %esi
leaq -0x138(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq -0x148(%rbp), %rdi
xorl %edx, %edx
callq 0x32b0
movq -0x148(%rbp), %rsi
movzbl -0x29(%rbp), %edx
movq %r14, %rdi
callq 0x32e0
movq -0x398(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x378(%rbp,%rax)
jne 0x11d6c
movl -0x7c(%rbp), %ecx
movq -0xf0(%rbp), %rax
movq -0xe8(%rbp), %rdi
testq %rcx, %rcx
je 0x11c2e
cmpq %rdi, %rax
jne 0x111ae
movq -0xd8(%rbp), %rax
movq -0x8(%rax), %rax
movl $0x200, %edx            # imm = 0x200
addq %rdx, %rax
cmpq %rcx, -0xc8(%rbp)
jb 0x11de5
movq -0x8(%rax), %rdx
movq %rdx, -0x170(%rbp)
cmpq %rcx, %rdx
jbe 0x11e03
movl -0x8c(%rbp), %edx
addq %rbx, %rdx
cmpq %rcx, %rdx
ja 0x11dc7
movq -0x10(%rax), %r12
movl $0x58, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
leaq -0x148(%rbp), %rsi
movq %r12, -0x128(%rbp)
movq %r12, %rdx
callq 0x10d84
movl -0x7c(%rbp), %eax
movq %rbx, -0x38(%rbp)
movq %rbx, -0x70(%rbp)
movq %rax, -0x68(%rbp)
movq -0xf0(%rbp), %rax
movq -0xe0(%rbp), %rcx
addq $-0x10, %rcx
cmpq %rcx, %rax
je 0x11242
movups -0x70(%rbp), %xmm0
movups %xmm0, (%rax)
addq $0x10, -0xf0(%rbp)
jmp 0x11251
leaq -0x120(%rbp), %rdi
movq %r15, %rsi
callq 0x142ac
cmpl $0x0, -0x90(%rbp)
je 0x11be1
movq -0x38(%rbp), %rax
addq $0x28, %rax
movq %rax, -0x50(%rbp)
xorl %ecx, %ecx
movq $0x0, -0xa0(%rbp)
movq %rcx, -0x88(%rbp)
movl $0x1, %edx
movq %r14, %r12
movq %r14, %rdi
leaq -0x71(%rbp), %rsi
callq 0x32e0
movzbl -0x71(%rbp), %r14d
movl %r14d, %eax
andb $-0x2, %al
cmpb $0x52, %al
jne 0x11372
movl $0x4, %edx
movq %r12, %rdi
leaq -0xc0(%rbp), %rsi
callq 0x32e0
movl -0xc0(%rbp), %ebx
testq %rbx, %rbx
je 0x114d2
movq %rbx, %rdi
callq 0x3030
movq %rax, %r15
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x32e0
leaq -0x70(%rbp), %r13
cmpq $0x52, %r14
je 0x11552
cmpl $0x53, %r14d
jne 0x11cd9
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movl -0xc0(%rbp), %eax
movq %r15, %rdx
addq %rax, %rdx
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq %r13, %rdi
movq %r15, %rsi
callq 0x139fa
movb $0x1, %r14b
movq %rbx, %rdi
movq %r13, %rsi
callq 0x104c2
xorl %r14d, %r14d
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x11592
callq 0x3230
jmp 0x11592
cmpb $0x59, %r14b
ja 0x113ff
leal -0x43(%r14), %eax
cmpl $0x9, %eax
leaq -0x70(%rbp), %rsi
ja 0x11645
leaq 0x68c4(%rip), %rcx      # 0x17c58
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movb -0x70(%rbp), %al
movl $0x0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movb %al, 0x8(%rbx)
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movl $0x1, %r13d
jmp 0x117fe
movl $0x4, %edx
movq %r12, %rdi
leaq -0x44(%rbp), %rsi
callq 0x32e0
movl $0x4, %edx
movq %r12, %rdi
leaq -0x94(%rbp), %rsi
callq 0x32e0
movl $0x4, %edx
movq %r12, %rdi
leaq -0x78(%rbp), %rsi
callq 0x32e0
movl -0x94(%rbp), %eax
cmpl $0x1, %eax
je 0x115a8
testl %eax, %eax
jne 0x11d0e
leal -0x62(%r14), %eax
cmpl $0xa, %eax
ja 0x1203a
leaq 0x67cc(%rip), %rcx      # 0x17c2c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x44(%rbp), %r13d
movq %r13, %rdi
callq 0x3030
movq %rax, %rbx
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0x10132
movl $0x18, %edi
callq 0x3260
movq %r15, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
addq $0xc, %r13
movq %rbx, %rdi
jmp 0x11bb1
movl $0x4, %r13d
cmpl $0x53, %r14d
jne 0x117fe
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq $0x0, -0x68(%rbp)
movb $0x0, -0x60(%rbp)
movb $0x1, %r14b
movq %rbx, %rdi
leaq -0x70(%rbp), %rsi
callq 0x104c2
xorl %r14d, %r14d
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x117fe
callq 0x3230
jmp 0x117fe
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movl -0xc0(%rbp), %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x10522
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movq %r12, %r14
movl -0xc0(%rbp), %r13d
addl $0x4, %r13d
movq %r15, %rdi
jmp 0x11bb1
leal -0x62(%r14), %eax
cmpl $0xa, %eax
ja 0x1205b
leaq 0x6644(%rip), %rcx      # 0x17c00
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x44(%rbp), %r15d
movl -0x78(%rbp), %r13d
movq %r15, -0xc0(%rbp)
movq %r15, %rdi
callq 0x3030
movq %rax, -0x40(%rbp)
movq %r13, %rdi
callq 0x3030
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movq -0x40(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x5d39
testl %eax, %eax
jne 0x11f65
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
callq 0x10132
movl $0x18, %edi
callq 0x3260
jmp 0x11b17
cmpl $0x59, %r14d
jne 0x11da3
movl $0x2, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movzwl -0x70(%rbp), %eax
movl $0x1, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movw %ax, 0x8(%rbx)
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movl $0x2, %r13d
jmp 0x117fe
movl $0x8, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq -0x70(%rbp), %rax
movl $0x3, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movq %rax, 0x8(%rbx)
movl $0x18, %edi
callq 0x3260
jmp 0x11739
movl $0x8, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movsd -0x70(%rbp), %xmm0
movl $0x5, (%rax)
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm1, 0x20(%rax)
movups %xmm1, 0x30(%rax)
movsd %xmm0, 0x8(%rax)
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movl $0x8, %r13d
jmp 0x117fe
movl $0x4, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movl -0x70(%rbp), %eax
movl $0x2, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movl %eax, 0x8(%rbx)
movl $0x18, %edi
callq 0x3260
jmp 0x117e0
movl $0x4, %edx
movq %r12, %rdi
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movss -0x70(%rbp), %xmm0
movl $0x4, (%rax)
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm1, 0x20(%rax)
movups %xmm1, 0x30(%rax)
movss %xmm0, 0x8(%rax)
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
movl $0x4, %r13d
movq %r12, %r14
jmp 0x11bb6
movl -0x44(%rbp), %r15d
movl -0x78(%rbp), %r13d
leaq (,%r15,8), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3030
movq %rax, -0x40(%rbp)
movq %r13, %rdi
callq 0x3030
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movq -0x40(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x5d39
testl %eax, %eax
jne 0x11f1e
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
callq 0x10272
movl $0x18, %edi
callq 0x3260
jmp 0x11b17
movl -0x44(%rbp), %r15d
movq %r15, %rdi
shlq $0x6, %rdi
callq 0x3030
leaq (,%r15,8), %r13
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x10272
movl $0x18, %edi
callq 0x3260
jmp 0x11b92
movl -0x44(%rbp), %r15d
movl -0x78(%rbp), %r13d
leaq (,%r15,4), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3030
movq %rax, -0x40(%rbp)
movq %r13, %rdi
callq 0x3030
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movq -0x40(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x5d39
testl %eax, %eax
jne 0x11ff3
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
callq 0x1030e
movl $0x18, %edi
callq 0x3260
jmp 0x11b17
movl -0x44(%rbp), %r15d
movq %r15, %rdi
shlq $0x4, %rdi
callq 0x3030
leaq (,%r15,4), %r13
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x1030e
movl $0x18, %edi
callq 0x3260
jmp 0x11b92
movl -0x44(%rbp), %r15d
movl -0x78(%rbp), %r13d
leaq (,%r15,4), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3030
movq %rax, -0x40(%rbp)
movq %r13, %rdi
callq 0x3030
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movq -0x40(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x5d39
testl %eax, %eax
jne 0x11fac
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
callq 0x101d2
movl $0x18, %edi
callq 0x3260
jmp 0x11b17
movl -0x44(%rbp), %r15d
movq %r15, %rdi
shlq $0x4, %rdi
callq 0x3030
leaq (,%r15,4), %r13
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x101d2
movl $0x18, %edi
callq 0x3260
jmp 0x11b92
movl -0x44(%rbp), %r15d
movl -0x78(%rbp), %r13d
leaq (,%r15,8), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3030
movq %rax, -0x40(%rbp)
movq %r13, %rdi
callq 0x3030
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movq -0x40(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
movq %r12, %rdx
movq %r13, %rcx
callq 0x5d39
testl %eax, %eax
jne 0x11ed7
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq -0x40(%rbp), %rsi
movl %r15d, %edx
callq 0x103b2
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
addl $0xc, %r13d
movq %r12, %rdi
callq 0x3300
movq -0x40(%rbp), %rdi
jmp 0x11bb1
movl -0x44(%rbp), %r15d
movq %r15, %rdi
shlq $0x6, %rdi
callq 0x3030
leaq (,%r15,8), %r13
movq %r12, %r14
movq %r12, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq %rax, %r12
callq 0x32e0
movl $0x40, %edi
callq 0x3260
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x103b2
movl $0x18, %edi
callq 0x3260
movq %rbx, 0x10(%rax)
movq %rax, %rdi
movq -0x50(%rbp), %rsi
callq 0x3050
movq -0x38(%rbp), %rax
incq 0x38(%rax)
addq $0xc, %r13
movq %r12, %rdi
callq 0x3300
movq -0x88(%rbp), %rcx
movq -0xa0(%rbp), %rax
addq %r13, %rax
incq %rax
movq %rax, -0xa0(%rbp)
incl %ecx
cmpl -0x90(%rbp), %ecx
jb 0x11277
jmp 0x11bec
movq $0x0, -0xa0(%rbp)
movl -0x8c(%rbp), %eax
cmpq %rax, -0xa0(%rbp)
jne 0x11e86
movq %r14, %rdi
callq 0x3420
cmpq %rax, -0x170(%rbp)
leaq -0x70(%rbp), %r15
jbe 0x11e35
movl -0x7c(%rbp), %ecx
cmpq %rcx, %rax
jne 0x11c76
movq -0xf0(%rbp), %rax
movq -0xe8(%rbp), %rdi
cmpq %rdi, %rax
je 0x11c39
addq $-0x10, %rax
jmp 0x11c6f
callq 0x3230
movq -0xd8(%rbp), %rax
leaq -0x8(%rax), %rcx
movq %rcx, -0xd8(%rbp)
movq -0x8(%rax), %rax
movq %rax, -0xe8(%rbp)
leaq 0x200(%rax), %rcx
movq %rcx, -0xe0(%rbp)
addq $0x1f0, %rax            # imm = 0x1F0
movq %rax, -0xf0(%rbp)
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x11075
callq 0x3230
jmp 0x11075
leaq -0x120(%rbp), %rdi
callq 0x13b14
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x11cbb
callq 0x3230
leaq -0x398(%rbp), %rdi
callq 0x3080
addq $0x378, %rsp            # imm = 0x378
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x624a(%rip), %rsi      # 0x17f37
addq %r14, %rsi
movq %rax, %rdi
callq 0x30f0
movq 0xb2e9(%rip), %rsi      # 0x1cfe8
movq 0xb2ba(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
movl -0x94(%rbp), %esi
leaq -0xc0(%rbp), %rdi
callq 0x13a8e
leaq 0x6259(%rip), %rsi      # 0x17f8d
leaq -0x70(%rbp), %rdi
leaq -0xc0(%rbp), %rdx
callq 0x136a5
movb $0x1, %r14b
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x33b0
xorl %r14d, %r14d
movq 0xb28b(%rip), %rsi      # 0x1cfe8
movq 0xb25c(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x607b(%rip), %rsi      # 0x17dfb
movq %rax, %rdi
callq 0x30f0
movq 0xb259(%rip), %rsi      # 0x1cfe8
movq 0xb22a(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x1212f
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x619a(%rip), %rsi      # 0x17f51
addq %r14, %rsi
movq %rax, %rdi
callq 0x30f0
jmp 0x1207a
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x6089(%rip), %rsi      # 0x17e64
movq %rax, %rdi
callq 0x30f0
jmp 0x11e1f
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x6019(%rip), %rsi      # 0x17e12
movq %rax, %rdi
callq 0x30f0
jmp 0x11e1f
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x6022(%rip), %rsi      # 0x17e39
movq %rax, %rdi
callq 0x30f0
movq 0xb1c2(%rip), %rsi      # 0x1cfe8
movq 0xb193(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x6069(%rip), %rsi      # 0x17eb2
leaq -0x70(%rbp), %rdi
movq -0x128(%rbp), %rdx
callq 0x1361a
movb $0x1, %r14b
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x33b0
xorl %r14d, %r14d
movq 0xb176(%rip), %rsi      # 0x1cfe8
movq 0xb147(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x1212f
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5fef(%rip), %rsi      # 0x17e89
leaq -0x70(%rbp), %rdi
movq -0x128(%rbp), %rdx
callq 0x1361a
movb $0x1, %r14b
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x33b0
xorl %r14d, %r14d
movq 0xb125(%rip), %rsi      # 0x1cfe8
movq 0xb0f6(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x1212f
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x60bc(%rip), %rsi      # 0x17fa7
leaq -0x70(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x1361a
movb $0x1, %bl
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
xorl %ebx, %ebx
movq 0xb0d9(%rip), %rsi      # 0x1cfe8
movq 0xb0aa(%rip), %rdx      # 0x1cfc0
movq %r14, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x6075(%rip), %rsi      # 0x17fa7
leaq -0x70(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x1361a
movb $0x1, %bl
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
xorl %ebx, %ebx
movq 0xb092(%rip), %rsi      # 0x1cfe8
movq 0xb063(%rip), %rdx      # 0x1cfc0
movq %r14, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x602e(%rip), %rsi      # 0x17fa7
leaq -0x70(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x1361a
movb $0x1, %bl
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
xorl %ebx, %ebx
movq 0xb04b(%rip), %rsi      # 0x1cfe8
movq 0xb01c(%rip), %rdx      # 0x1cfc0
movq %r14, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x5fe7(%rip), %rsi      # 0x17fa7
leaq -0x70(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x1361a
movb $0x1, %bl
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
xorl %ebx, %ebx
movq 0xb004(%rip), %rsi      # 0x1cfe8
movq 0xafd5(%rip), %rdx      # 0x1cfc0
movq %r14, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x5fa0(%rip), %rsi      # 0x17fa7
leaq -0x70(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x1361a
movb $0x1, %bl
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
callq 0x33b0
xorl %ebx, %ebx
movq 0xafbd(%rip), %rsi      # 0x1cfe8
movq 0xaf8e(%rip), %rdx      # 0x1cfc0
movq %r14, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5f23(%rip), %rsi      # 0x17f71
addq %r14, %rsi
movq %rax, %rdi
callq 0x30f0
jmp 0x1207a
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5f02(%rip), %rsi      # 0x17f71
addq %r14, %rsi
movq %rax, %rdi
callq 0x30f0
movq 0xaf67(%rip), %rsi      # 0x1cfe8
movq 0xaf38(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5d14(%rip), %rsi      # 0x17db8
movq %rax, %rdi
callq 0x30f0
movq 0xaf35(%rip), %rsi      # 0x1cfe8
movq 0xaf06(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x1212f
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5cf5(%rip), %rsi      # 0x17dcd
movq %rax, %rdi
callq 0x30f0
movq 0xaf01(%rip), %rsi      # 0x1cfe8
movq 0xaed2(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x1212f
callq 0x30e0
movl $0x10, %edi
callq 0x3120
movq %rax, %rbx
leaq 0x5cd8(%rip), %rsi      # 0x17de9
movq %rax, %rdi
callq 0x30f0
movq 0xaec8(%rip), %rsi      # 0x1cfe8
movq 0xae99(%rip), %rdx      # 0x1cfc0
movq %rbx, %rdi
callq 0x3400
jmp 0x12361
movq %rax, %r13
movq %rbx, %rdi
callq 0x31b0
jmp 0x1239a
jmp 0x12146
movq %rax, %r13
movq %rbx, %rdi
callq 0x31b0
jmp 0x123b2
jmp 0x12185
jmp 0x1215e
jmp 0x1215e
jmp 0x1215e
movq %rax, %r13
jmp 0x123b2
movq %rax, %r13
movq -0x190(%rbp), %rdi
cmpq %r15, %rdi
je 0x1239a
callq 0x3230
jmp 0x1239a
jmp 0x12185
movq %rax, %r13
jmp 0x1239a
jmp 0x1227f
jmp 0x1227f
jmp 0x121a7
jmp 0x121be
jmp 0x121a7
jmp 0x121be
jmp 0x121a7
jmp 0x121be
jmp 0x121a7
jmp 0x121be
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x121c3
callq 0x3230
jmp 0x121c3
movq %rax, %r13
movb $0x1, %bl
testb %bl, %bl
je 0x122fe
movq %r14, %rdi
callq 0x31b0
jmp 0x122fe
jmp 0x12373
jmp 0x12203
jmp 0x1220b
jmp 0x1221b
jmp 0x12203
jmp 0x1220b
jmp 0x1220b
jmp 0x1221b
jmp 0x12203
jmp 0x1220b
jmp 0x1221b
jmp 0x12203
movq %rax, %r13
movq %r15, %rdi
callq 0x3230
jmp 0x122c0
movq %rax, %r13
jmp 0x12306
movq %rax, %r13
movq %rbx, %rdi
callq 0x3230
jmp 0x122fe
movq %rax, %r13
movq %rbx, %rdi
callq 0x3230
jmp 0x122cb
jmp 0x1222f
jmp 0x1229b
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x1226e
jmp 0x1229b
jmp 0x1227f
jmp 0x1227f
jmp 0x1227f
jmp 0x1227f
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x12263
callq 0x3230
jmp 0x12263
movq %rax, %r13
movb $0x1, %r14b
leaq -0xb0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x122a1
callq 0x3230
jmp 0x122a1
jmp 0x12373
movq %rax, %r13
jmp 0x122aa
jmp 0x12373
jmp 0x12373
movq %rax, %r13
jmp 0x12333
jmp 0x12373
movq %rax, %r13
movb $0x1, %r14b
testb %r14b, %r14b
je 0x12376
movq %rbx, %rdi
callq 0x31b0
jmp 0x12376
jmp 0x122c8
jmp 0x122c8
jmp 0x122c8
movq %rax, %r13
movq %rbx, %rdi
jmp 0x1236c
movq %rax, %r13
movq %r12, %rdi
jmp 0x1236c
jmp 0x12373
jmp 0x12366
movq %rax, %r13
movq %rbx, %rdi
callq 0x31b0
jmp 0x12369
jmp 0x12373
jmp 0x12361
jmp 0x12361
jmp 0x122fb
jmp 0x122fb
jmp 0x122fb
jmp 0x122fb
movq %rax, %r13
movq %r12, %rdi
callq 0x3300
movq -0x40(%rbp), %rdi
jmp 0x1236c
movq %rax, %r13
movb $0x1, %r14b
jmp 0x12352
movq %rax, %r13
jmp 0x12357
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x1232e
callq 0x3230
testb %r14b, %r14b
je 0x12376
movq %rbx, %rdi
callq 0x3230
jmp 0x12376
movq %rax, %r13
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x12352
callq 0x3230
testb %r14b, %r14b
je 0x12369
movq %rbx, %rdi
callq 0x3230
jmp 0x12369
movq %rax, %r13
jmp 0x1238e
movq %rax, %r13
movq %r15, %rdi
callq 0x3300
jmp 0x12376
movq %rax, %r13
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x1238e
callq 0x3230
leaq -0x120(%rbp), %rdi
callq 0x13b14
movq -0x168(%rbp), %rdi
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0x123b2
callq 0x3230
leaq -0x398(%rbp), %rdi
callq 0x3080
movq %r13, %rdi
callq 0x3430