// File: /workspace/github_cpp_makefile_star2_O1/Lut99[P]RayTracer/src/lib/RenderWorld.cpp
// Function: RayTracer::RenderWorld::from_json(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>)
RenderWorld* RenderWorld::from_json(nlohmann::json json_obj) {
    // Check if the object has an object type
    if (!json_obj.is_object()) {
        throw InvalidObjectFormat("RenderWorld", json::object().type_name(), json_obj.type_name());
    }

    // Parse all the items in this array
    RenderWorld* world = new RenderWorld();

    // Parse the objects field if it exists
    if (!json_obj["objects"].is_null()) {
        // Check if the fields are arrays
        if (!json_obj["objects"].is_array()) {
            delete world;
            throw InvalidFieldFormat("RenderWorld", "objects", json::array().type_name(), json_obj["objects"].type_name());
        }

        // Parse the objects
        for (std::size_t i = 0; i < json_obj["objects"].size(); i++) {
            world->add_object(RenderObject::from_json(json_obj["objects"][i]));
        }
    }
    
    // Parse the init function field
    if (!json_obj["init"].is_null()) {
        // Check if it is a string
        if (!json_obj["init"].is_string()) {
            delete world;
            throw InvalidFieldFormat("RenderWorld", "init", "string", json_obj["init"].type_name());
        }

        cout << "Test 1" << endl;

        // Check if there is a file ending in .so with that name
        std::string path = json_obj["init"].get<std::string>();
        if (FILE* file = fopen(path.c_str(), "r")) {
            fclose(file);
        } else {
            // Doesn't exist
            delete world;
            throw FileIOException("RenderWorld", path, errno);
        }

        cout << "Test 2" << endl;

        // There is, so try to load it using the dl library
        void* handle = dlopen(path.c_str(), RTLD_NOW);
        if (handle == NULL) {
            throw SOLoadException("RenderWorld", path, dlerror());
        }
        void (*init)(const RenderWorld& world) = (void (*)(const RenderWorld& world)) dlsym(handle, "init");
        if (init == NULL) {
            dlclose(handle);
            throw SOFuncLoadException("RenderWorld", path, "init", dlerror());
        }

        cout << "Test 3" << endl;

        // Run the function on the given world
        try {
            (*init)(*world);
        } catch (std::exception& e) {
            dlclose(handle);
            throw SORunException("RenderWorld", path, "init", string(e.what()));
        }

        cout << "Test 4" << endl;

        // Close the library
        //dlclose(handle);

        cout << "Test 5" << endl;
    }

    // Optimize the inner tree
    world->optimize();

    return world;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp            # imm = 0x338
movq %rdi, %rbx
cmpb $0x1, (%rdi)
jne 0x7b765
movl $0x10, %edi
callq 0x3a460
movq %rax, %r14
movq %rax, %rdi
callq 0x7ae38
leaq 0x9a1f(%rip), %rsi      # 0x84e76
movq %rbx, %rdi
callq 0x416d6
cmpb $0x0, (%rax)
je 0x7b527
leaq 0x9a07(%rip), %rsi      # 0x84e76
movq %rbx, %rdi
callq 0x416d6
cmpb $0x2, (%rax)
jne 0x7b7cf
leaq 0x30(%rsp), %r15
xorl %r12d, %r12d
leaq 0x99e7(%rip), %r13      # 0x84e76
leaq 0x28(%rsp), %rbp
movq %rbx, %rdi
movq %r13, %rsi
callq 0x416d6
movzbl (%rax), %ecx
testl %ecx, %ecx
je 0x7b4d0
cmpl $0x1, %ecx
je 0x7b4c1
cmpl $0x2, %ecx
jne 0x7b4cb
movq 0x8(%rax), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x4, %rcx
jmp 0x7b4d0
movq 0x8(%rax), %rax
movq 0x28(%rax), %rcx
jmp 0x7b4d0
movl $0x1, %ecx
cmpq %rcx, %r12
jae 0x7b527
movq %rbx, %rdi
movq %r13, %rsi
callq 0x416d6
movq %rax, %rdi
movq %r12, %rsi
callq 0x738fa
movq %rbp, %rdi
movq %rax, %rsi
callq 0x41894
movq %rbp, %rdi
callq 0x7570a
movq 0x8(%r14), %rdi
movq %rax, %rsi
callq 0x82610
movq %rbp, %rdi
callq 0x48a06
movzbl 0x28(%rsp), %esi
movq %r15, %rdi
callq 0x48aa8
incq %r12
jmp 0x7b494
leaq 0x1022a(%rip), %rsi     # 0x8b758
movq %rbx, %rdi
callq 0x416d6
cmpb $0x0, (%rax)
je 0x7b747
leaq 0x10212(%rip), %rsi     # 0x8b758
movq %rbx, %rdi
callq 0x416d6
cmpb $0x3, (%rax)
jne 0x7b869
movq 0x29a2a(%rip), %r15     # 0xa4f88
leaq 0x101f8(%rip), %rsi     # 0x8b75d
movl $0x6, %edx
movq %r15, %rdi
callq 0x3a4f0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3a430
movsbl %al, %esi
movq %r15, %rdi
callq 0x3a050
movq %rax, %rdi
callq 0x3a300
leaq 0x101b8(%rip), %rsi     # 0x8b758
movq %rbx, %rdi
callq 0x416d6
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7c2aa
movq (%rbx), %rdi
leaq 0xadaa(%rip), %rsi      # 0x8636c
callq 0x3a520
testq %rax, %rax
je 0x7b921
movq %rax, %rdi
callq 0x3a450
movq 0x299a9(%rip), %rbx     # 0xa4f88
leaq 0x1017e(%rip), %rsi     # 0x8b764
movl $0x6, %edx
movq %rbx, %rdi
callq 0x3a4f0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3a430
movsbl %al, %esi
movq 0x29977(%rip), %rdi     # 0xa4f88
callq 0x3a050
movq %rax, %rdi
callq 0x3a300
movq 0x8(%rsp), %rdi
movl $0x2, %esi
callq 0x3a5d0
testq %rax, %rax
je 0x7b9c4
movq %rax, %r15
leaq 0x10118(%rip), %rsi     # 0x8b758
movq %rax, %rdi
callq 0x3a410
testq %rax, %rax
je 0x7ba79
movq %rax, %rbx
movq 0x2992d(%rip), %r12     # 0xa4f88
leaq 0x10109(%rip), %rsi     # 0x8b76b
movl $0x6, %edx
movq %r12, %rdi
callq 0x3a4f0
movq (%r12), %rax
addq -0x18(%rax), %r12
movq %r12, %rdi
movl $0xa, %esi
callq 0x3a430
movsbl %al, %esi
movq 0x298fa(%rip), %rdi     # 0xa4f88
callq 0x3a050
movq %rax, %rdi
callq 0x3a300
movq %r14, %rdi
callq *%rbx
movq 0x298e1(%rip), %rbx     # 0xa4f88
leaq 0x100c4(%rip), %rsi     # 0x8b772
movl $0x6, %edx
movq %rbx, %rdi
callq 0x3a4f0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3a430
movsbl %al, %esi
movq 0x298af(%rip), %rdi     # 0xa4f88
callq 0x3a050
movq %rax, %rdi
callq 0x3a300
movq 0x2989b(%rip), %rbx     # 0xa4f88
leaq 0x10085(%rip), %rsi     # 0x8b779
movl $0x6, %edx
movq %rbx, %rdi
callq 0x3a4f0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3a430
movsbl %al, %esi
movq 0x29869(%rip), %rdi     # 0xa4f88
callq 0x3a050
movq %rax, %rdi
callq 0x3a300
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7b747
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3a470
movq 0x8(%r14), %rdi
callq 0x826dc
movq %r14, %rax
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x88, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x2c8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x9196(%rip), %rsi      # 0x8491c
leaq 0x919a(%rip), %rdx      # 0x84927
leaq 0x2b8(%rsp), %rdi
callq 0x44728
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x747bc
movzbl 0x8(%rsp), %eax
cmpq $0x8, %rax
ja 0x7bb65
leaq 0x28e72(%rip), %rcx     # 0xa4638
movq (%rcx,%rax,8), %r15
jmp 0x7bb6c
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0xa8, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x268(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x9123(%rip), %rsi      # 0x8491c
leaq 0x9127(%rip), %rdx      # 0x84927
leaq 0x258(%rsp), %rdi
callq 0x44728
leaq 0x248(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x9656(%rip), %rsi      # 0x84e76
leaq 0x9656(%rip), %rdx      # 0x84e7d
leaq 0x238(%rsp), %rdi
callq 0x44728
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x2, %r8d
callq 0x747bc
movzbl 0x8(%rsp), %eax
cmpq $0x8, %rax
ja 0x7bc19
leaq 0x28dd8(%rip), %rcx     # 0xa4638
movq (%rcx,%rax,8), %r15
jmp 0x7bc20
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0xa8, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x208(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x908a(%rip), %rsi      # 0x8491c
leaq 0x908e(%rip), %rdx      # 0x84927
leaq 0x1f8(%rsp), %rdi
callq 0x44728
leaq 0x1e8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xfe9e(%rip), %rsi      # 0x8b758
leaq 0xfe9b(%rip), %rdx      # 0x8b75c
leaq 0x1d8(%rsp), %rdi
callq 0x44728
leaq 0x1c8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xb904(%rip), %rsi      # 0x871e5
leaq 0xb903(%rip), %rdx      # 0x871eb
leaq 0x1b8(%rsp), %rdi
callq 0x44728
leaq 0xfe5c(%rip), %rsi      # 0x8b758
movq %rbx, %rdi
callq 0x416d6
movzbl (%rax), %eax
cmpq $0x8, %rax
ja 0x7bc67
leaq 0x28d20(%rip), %rcx     # 0xa4638
movq (%rcx,%rax,8), %rbx
jmp 0x7bc6e
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0x70, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x1a8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8fd2(%rip), %rsi      # 0x8491c
leaq 0x8fd6(%rip), %rdx      # 0x84927
leaq 0x198(%rsp), %rdi
callq 0x44728
leaq 0x188(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %rdi
callq 0x48976
callq 0x3a070
movl (%rax), %ecx
movb $0x1, %bpl
leaq 0x198(%rsp), %rsi
leaq 0x178(%rsp), %rdx
movq %r14, %rdi
callq 0x7c2f8
xorl %ebp, %ebp
leaq 0x28ce8(%rip), %rsi     # 0xa4698
leaq 0xbb5(%rip), %rdx       # 0x7c56c
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
movl $0x88, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x168(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8f38(%rip), %rsi      # 0x8491c
leaq 0x8f3c(%rip), %rdx      # 0x84927
leaq 0x158(%rsp), %rdi
callq 0x44728
leaq 0x148(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %rdi
callq 0x48976
callq 0x3a420
leaq 0x318(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x40b28
movb $0x1, %bpl
leaq 0x158(%rsp), %rsi
leaq 0x138(%rsp), %rdx
leaq 0x318(%rsp), %rcx
movq %r14, %rdi
callq 0x7c5d6
xorl %ebp, %ebp
leaq 0x28c4b(%rip), %rsi     # 0xa46b0
leaq 0xe00(%rip), %rdx       # 0x7c86c
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
movq %r15, %rdi
callq 0x3a390
movl $0xc8, %edi
callq 0x3a210
movq %rax, %r14
leaq 0x128(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8e7b(%rip), %rsi      # 0x8491c
leaq 0x8e7f(%rip), %rdx      # 0x84927
leaq 0x118(%rsp), %rdi
callq 0x44728
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x48976
leaq 0xe8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xfc69(%rip), %rsi      # 0x8b758
leaq 0xfc66(%rip), %rdx      # 0x8b75c
leaq 0xd8(%rsp), %rdi
callq 0x44728
callq 0x3a420
leaq 0x2f8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x40b28
movb $0x1, %bpl
leaq 0x118(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
leaq 0xd8(%rsp), %rcx
leaq 0x2f8(%rsp), %r8
movq %r14, %rdi
callq 0x7c8f8
xorl %ebp, %ebp
leaq 0x28b77(%rip), %rsi     # 0xa46c8
leaq 0x1324(%rip), %rdx      # 0x7ce7c
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
leaq 0xb692(%rip), %r15      # 0x871fe
leaq 0x2a8(%rsp), %r13
movq %r13, -0x10(%r13)
movq %r15, %rdi
callq 0x3a1f0
leaq (%rax,%r15), %rdx
leaq 0x298(%rsp), %rdi
movq %r15, %rsi
callq 0x44728
movzbl (%rbx), %eax
cmpq $0x8, %rax
ja 0x7bbaa
leaq 0x28a94(%rip), %rcx     # 0xa4638
movq (%rcx,%rax,8), %rbx
jmp 0x7bbb1
leaq 0xb64d(%rip), %rbx      # 0x871fe
leaq 0x288(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rbx, %rdi
callq 0x3a1f0
leaq (%rax,%rbx), %rdx
leaq 0x278(%rsp), %rdi
movq %rbx, %rsi
callq 0x44728
movb $0x1, %bpl
leaq 0x2b8(%rsp), %rsi
leaq 0x298(%rsp), %rdx
leaq 0x278(%rsp), %rcx
movq %r14, %rdi
callq 0x73acc
xorl %ebp, %ebp
leaq 0x28503(%rip), %rsi     # 0xa4108
leaq -0x7e6c(%rip), %rdx     # 0x73da0
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
leaq 0xb5de(%rip), %r15      # 0x871fe
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r15, %rdi
callq 0x3a1f0
leaq (%rax,%r15), %rdx
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
callq 0x44728
leaq 0x922d(%rip), %rsi      # 0x84e76
movq %rbx, %rdi
callq 0x416d6
movzbl (%rax), %eax
cmpq $0x8, %rax
ja 0x7bcd5
leaq 0x289d7(%rip), %rcx     # 0xa4638
movq (%rcx,%rax,8), %rbx
jmp 0x7bcdc
leaq 0xb590(%rip), %rbx      # 0x871fe
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbx, %rdi
callq 0x3a1f0
leaq (%rax,%rbx), %rdx
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x44728
movb $0x1, %bpl
leaq 0x1f8(%rsp), %rsi
leaq 0x1d8(%rsp), %rdx
leaq 0x1b8(%rsp), %rcx
leaq 0x38(%rsp), %r8
movq %r14, %rdi
callq 0x75f58
xorl %ebp, %ebp
leaq 0x285f7(%rip), %rsi     # 0xa42b8
leaq -0x5900(%rip), %rdx     # 0x763c8
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
leaq 0xb522(%rip), %rbx      # 0x871fe
leaq 0x228(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rbx, %rdi
callq 0x3a1f0
leaq (%rax,%rbx), %rdx
leaq 0x218(%rsp), %rdi
movq %rbx, %rsi
callq 0x44728
movb $0x1, %bpl
leaq 0x258(%rsp), %rsi
leaq 0x238(%rsp), %rdx
leaq 0x58(%rsp), %rcx
leaq 0x218(%rsp), %r8
movq %r14, %rdi
callq 0x75f58
xorl %ebp, %ebp
leaq 0x28583(%rip), %rsi     # 0xa42b8
leaq -0x5974(%rip), %rdx     # 0x763c8
movq %r14, %rdi
callq 0x3a750
jmp 0x7c1b2
movq %rax, %rbx
movq 0x218(%rsp), %rdi
cmpq %r15, %rdi
je 0x7bd9d
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bd9d
jmp 0x7bd97
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x7be1a
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7be1a
jmp 0x7be14
movq %rax, %rbx
movb $0x1, %bpl
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x7be46
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7be46
movq %rax, %rbx
leaq 0x308(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7bdee
movq 0x308(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bdee
movq %rax, %rbx
movb $0x1, %bpl
movq 0xd8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7bea9
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bea9
movq %rax, %rbx
movb $0x1, %bpl
movq 0x1b8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7bf27
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bf27
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %rdi
callq 0x4191c
jmp 0x7bf53
movq %rax, %rbx
movq 0x278(%rsp), %rdi
cmpq %r15, %rdi
je 0x7be7d
movq 0x288(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7be7d
movq %rax, %rbx
movb $0x1, %bpl
movq 0x298(%rsp), %rdi
cmpq %r13, %rdi
je 0x7bf7f
movq 0x2a8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bf7f
movq %rax, %rbx
movb $0x1, %bpl
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7bf94
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bf94
movq %rax, %rbx
leaq 0x328(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7befb
movq 0x328(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7befb
movq %rax, %rbx
movb $0x1, %bpl
movq 0x138(%rsp), %rdi
cmpq %r12, %rdi
je 0x7bfb5
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bfb5
movq %rax, %rbx
movb $0x1, %bpl
movq 0x1d8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7c01d
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c01d
movq %rax, %rbx
movb $0x1, %bpl
movq 0x238(%rsp), %rdi
cmpq %r13, %rdi
je 0x7c03a
movq 0x248(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c03a
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %rdi
callq 0x4191c
jmp 0x7c057
movq %rax, %rbx
movb $0x1, %bpl
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c080
movq 0x128(%rsp), %rsi
jmp 0x7c00d
movq %rax, %rbx
movb $0x1, %bpl
movq 0x158(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c080
movq 0x168(%rsp), %rsi
jmp 0x7c00d
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r12, %rdi
je 0x7bff8
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7bff8
movq %rax, %rbx
movb $0x1, %bpl
movq 0x198(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c080
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c080
movq %rax, %rbx
movb $0x1, %bpl
movq 0x1f8(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c0a0
movq 0x208(%rsp), %rsi
jmp 0x7c06c
movq %rax, %rbx
movb $0x1, %bpl
movq 0x258(%rsp), %rdi
cmpq %r12, %rdi
je 0x7c0a0
movq 0x268(%rsp), %rsi
jmp 0x7c06c
movq %rax, %rbx
movb $0x1, %bpl
movq 0x2b8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7c0a0
movq 0x2c8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c0a0
jmp 0x7c07a
jmp 0x7c07a
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7c278
movq %r14, %rdi
callq 0x3a330
jmp 0x7c278
jmp 0x7c09a
jmp 0x7c09a
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7c2a2
movq %r14, %rdi
callq 0x3a330
jmp 0x7c2a2
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x7c278
movq %rbx, %rdi
callq 0x3a1c0
movq %rax, %rbx
movq %r15, %rdi
callq 0x3a390
movl $0xa8, %edi
callq 0x3a210
movq %rax, %r14
leaq 0xc8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8827(%rip), %rsi      # 0x8491c
leaq 0x882b(%rip), %rdx      # 0x84927
leaq 0xb8(%rsp), %rdi
callq 0x44728
leaq 0xa8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x98(%rsp), %rdi
callq 0x48976
leaq 0x88(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xf615(%rip), %rsi      # 0x8b758
leaq 0xf612(%rip), %rdx      # 0x8b75c
leaq 0x78(%rsp), %rdi
callq 0x44728
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
leaq 0x2d8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x40b28
movb $0x1, %bpl
leaq 0xb8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0x78(%rsp), %rcx
leaq 0x2d8(%rsp), %r8
movq %r14, %rdi
callq 0x7cf4e
xorl %ebp, %ebp
leaq 0x2853d(%rip), %rsi     # 0xa46e0
leaq 0x11ee(%rip), %rdx      # 0x7d398
movq %r14, %rdi
callq 0x3a750
movq %rax, %rbx
leaq 0x2e8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c1de
movq 0x2e8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c1de
movq %rax, %rbx
movb $0x1, %bpl
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x7c200
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c200
movq %rax, %rbx
movb $0x1, %bpl
movq 0x98(%rsp), %rdi
cmpq %r12, %rdi
je 0x7c225
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c225
movq %rax, %rbx
movb $0x1, %bpl
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c24a
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c24a
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7c257
movq %r14, %rdi
callq 0x3a330
callq 0x3a710
jmp 0x7c278
movq %rax, %rdi
callq 0x414b1
movq %rax, %rbx
movl $0x10, %esi
movq %r14, %rdi
jmp 0x7c28e
jmp 0x7c275
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7c2a2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3a470
jmp 0x7c2a2
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x4191c
movq %rbx, %rdi
callq 0x3a780