// File: /workspace/github_cpp_makefile_star2_O3/davmac314[P]dinit/src/dinitcheck.cc
// Function: main
int main(int argc, char **argv)
{
    using namespace std;

    service_dir_opt service_dir_opts;
    bool user_dinit = (getuid() != 0);  // use user instance defaults/daemon instance
    std::string control_socket_str;
    const char * control_socket_path = nullptr;
    std::string env_file;

    std::vector<std::string> services_to_check;

    // Process command line
    if (argc > 1) {
        for (int i = 1; i < argc; i++) {
            if (argv[i][0] == '-') {
                // An option...
                if (strcmp(argv[i], "--services-dir") == 0 || strcmp(argv[i], "-d") == 0) {
                    if (++i < argc && argv[i][0] != '\0') {
                        service_dir_opts.set_specified_service_dir(argv[i]);
                    }
                    else {
                        cerr << "dinitcheck: '--services-dir' (-d) requires an argument" << endl;
                        return 1;
                    }
                }
                else if (strcmp(argv[i], "--system") == 0 || strcmp(argv[i], "-s") == 0) {
                    user_dinit = false;
                }
                else if (strcmp(argv[i], "--user") == 0 || strcmp(argv[i], "-u") == 0) {
                    user_dinit = true;
                }
                else if (strcmp(argv[i], "--socket-path") == 0 || strcmp(argv[i], "-p") == 0) {
                    ++i;
                    if (i == argc || argv[i][0] == '\0') {
                        cerr << "dinitcheck: --socket-path/-p should be followed by socket path\n";
                        return 1;
                    }
                    control_socket_str = argv[i];
                }
                else if (strcmp(argv[i], "--online") == 0 || strcmp(argv[i], "-n") == 0) {
                    offline_operation = false;
                }
                else if (strcmp(argv[i], "--env-file") == 0 || strcmp(argv[i], "-e") == 0) {
                    ++i;
                    if (i == argc || argv[i][0] == '\0') {
                        cerr << "dinitcheck: --env-file/-e should be followed by environment file path\n";
                        return 1;
                    }
                    env_file = argv[i];
                }
                else if (strcmp(argv[i], "--help") == 0) {
                    cout << "dinitcheck: check dinit service descriptions\n"
                            " --help                       display help\n"
                            " --services-dir <dir>, -d <dir>\n"
                            "                              set base directory for service description\n"
                            "                              files, can be specified multiple times\n"
                            " --online, -n                 use service dirs and environment from running\n"
                            "                              dinit instance\n"
                            " --socket-path <path>, -p <path>\n"
                            "                              use specified socket to connect to daemon (online\n"
                            "                              mode)\n"
                            " --env-file, -e <file>        read environment from specified file\n"
                            " --system, -s                 use defaults for system manager mode\n"
                            " --user, -u                   use defaults for user mode\n"
                            " <service-name>               check service with name <service-name>\n";
                    return EXIT_SUCCESS;
                }
                else {
                    std::cerr << "dinitcheck: Unrecognized option: '" << argv[i] << "' (use '--help' for help)\n";
                    return EXIT_FAILURE;
                }
            }
            else {
                services_to_check.push_back(argv[i]);
            }
        }
    }

    int socknum = -1;
    cpbuffer_t rbuffer;
    signal(SIGPIPE, SIG_IGN);

    service_dir_pathlist service_dir_paths;
    std::vector<std::string> service_dir_strs; // storage if needed for service_dir_paths

    if (offline_operation) {
        service_dir_opts.build_paths(!user_dinit);
        service_dir_paths = std::move(service_dir_opts.get_paths());
        if (env_file.empty()) {
            if (!user_dinit) {
                env_file = "/etc/dinit/environment";
            }
        }
        if (!env_file.empty()) {
            auto log_inv_env_setting = [&](int line_num) {
                std::cerr << "dinitcheck: warning: Invalid environment variable setting in environment file "
                        << env_file << " (line " << std::to_string(line_num) << ")\n";
            };
            auto log_bad_env_command = [&](int line_num) {
                std::cerr << "dinitcheck: warning: Bad command in environment file "
                        << env_file << " (line " << std::to_string(line_num) << ")\n";
            };

            try {
                read_env_file_inline(env_file.c_str(), true, menv, false, log_inv_env_setting, log_bad_env_command);
            }
            catch (std::system_error &err) {
                std::cerr << "dinitcheck: error read environment file " << env_file << ": "
                        << err.code().message() << "\n";
                return EXIT_FAILURE;
            }
        }
    }
    else {
        if (!control_socket_str.empty()) {
            control_socket_path = control_socket_str.c_str();
        }
        else {
            control_socket_path = get_default_socket_path(control_socket_str, user_dinit);
            if (control_socket_path == nullptr) {
                cerr << "dinitcheck: cannot locate user home directory (set XDG_RUNTIME_DIR, HOME, check /etc/passwd file, or "
                        "specify socket path via -p)" << endl;
                return EXIT_FAILURE;
            }
        }

        try {
            socknum = connect_to_daemon(control_socket_path);

            // Start by querying protocol version:
            check_protocol_version(min_cp_version, max_cp_version, rbuffer, socknum);

            // Read service directories
            service_dir_strs = get_service_description_dirs(socknum, rbuffer);
            for (const std::string &service_dir : service_dir_strs) {
                service_dir_paths.emplace_back(dir_entry(service_dir.c_str(), false));
            }

            menv.clear_no_inherit();
            get_remote_env(socknum, rbuffer);
        }
        catch (cp_old_client_exception &e) {
            std::cerr << "dinitcheck: too old (daemon reports newer protocol version)" << std::endl;
            return EXIT_FAILURE;
        }
        catch (cp_old_server_exception &e) {
            std::cerr << "dinitcheck: daemon too old or protocol error" << std::endl;
            return EXIT_FAILURE;
        }
        catch (cp_read_exception &e) {
            cerr << "dinitcheck: control socket read failure or protocol error" << endl;
            return EXIT_FAILURE;
        }
        catch (cp_write_exception &e) {
            cerr << "dinitcheck: control socket write error: " << std::strerror(e.errcode) << endl;
            return EXIT_FAILURE;
        }
        catch (dinit_protocol_error &e) {
            cerr << "dinitcheck: protocol error" << endl;
            return EXIT_FAILURE;
        }
        catch (general_error &ge) {
            std::cerr << "dinitcheck";
            if (ge.get_action() != nullptr) {
                std::cerr << ": " << ge.get_action();
                std::string &arg = ge.get_arg();
                if (!arg.empty()) {
                    std::cerr << " " << arg;
                }
            }
            if (ge.get_err() != 0) {
                std::cerr << ": " << strerror(ge.get_err());
            }
            std::cerr << '\n';
            return EXIT_FAILURE;
        }
    }

    if (services_to_check.empty()) {
        services_to_check.push_back("boot");
    }

    size_t num_services_to_check = services_to_check.size();

    // Load named service(s)
    // - load the service, store dependencies as strings
    // - recurse

    std::map<std::string, service_record *> service_set;

    for (size_t i = 0; i < services_to_check.size(); ++i) {
        const std::string &name = services_to_check[i];
        std::cout << "Checking service: " << name << "...\n";
        try {
            service_record *sr = load_service(service_set, name, service_dir_paths);
            service_set[name] = sr;
            // add dependencies to services_to_check
            for (auto &dep : sr->dependencies) {
                if (service_set.count(dep.name) == 0 && !contains(services_to_check, dep.name)) {
                    services_to_check.push_back(dep.name);
                }
            }
            // add chain_to to services_to_check
            if (!sr->chain_to.empty() && !contains(services_to_check, sr->chain_to)) {
                if (!contains(services_to_check, sr->chain_to)) {
                    services_to_check.push_back(sr->chain_to);
                }
            }
            // add before_svcs and after_svcs to services_to_check
            for (const std::string &before_name : sr->before_svcs) {
                if (!contains(services_to_check, before_name)) {
                    services_to_check.push_back(before_name);
                }
            }
            for (const std::string &after_name : sr->after_svcs) {
                if (!contains(services_to_check, after_name)) {
                    services_to_check.push_back(after_name);
                }
            }
            // add consumed service (if any) to services to check
            if (!sr->consumer_of_name.empty()) {
                services_to_check.push_back(sr->consumer_of_name);
            }
        }
        catch (service_load_exc &exc) {
            std::cerr << "Unable to load service '" << name << "': " << exc.exc_description << "\n";
            errors_found = true;
        }
    }

    std::cout << "Performing secondary checks...\n";

    for (const auto &svc_name_record : service_set) {
        if (!svc_name_record.second->consumer_of_name.empty()) {
            auto consumer_of_it = service_set.find(svc_name_record.second->consumer_of_name);
            if (consumer_of_it != service_set.end()) {
                if (consumer_of_it->second->log_type != log_type_id::PIPE) {
                    std::cerr << "Service '" << svc_name_record.first << "': specified as consumer of service '"
                            << consumer_of_it->first << "' which has log-type that is not 'pipe'.\n";
                    errors_found = true;
                }
                else if (!value(consumer_of_it->second->service_type).is_in(service_type_t::PROCESS,
                        service_type_t::BGPROCESS, service_type_t::SCRIPTED)) {
                    std::cerr << "Service '" << svc_name_record.first << "': specified as consumer of service '"
                            << consumer_of_it->first << "' which is not a process-based service.\n";
                    errors_found = true;
                }
            }
            else {
                std::cerr << "Warning: Service '" << svc_name_record.first << "' specified as consumer of service '"
                        << consumer_of_it->first << "' which was not found.\n";
            }
        }

        // "before" ordering links are like reverse-dependencies: set up dependencies in the forwards direction
        // (from the dependent). Similarly for "after" links set up a dependency. These dependencies allow cycle
        // checking.
        for (const std::string &before_name : svc_name_record.second->before_svcs) {
            auto before_svc_it = service_set.find(before_name);
            if (before_svc_it != service_set.end()) {
                before_svc_it->second->dependencies.emplace_back(svc_name_record.first,
                        dependency_type::BEFORE);
            }
        }
        for (const std::string &after_name : svc_name_record.second->after_svcs) {
        	auto after_svc_it = service_set.find(after_name);
        	if (after_svc_it != service_set.end()) {
        		svc_name_record.second->dependencies.emplace_back(after_svc_it->first,
        				dependency_type::AFTER);
        	}
        }
    }

    // Check for circular dependencies
    std::vector<std::tuple<service_record *, size_t>> service_chain;

    for (size_t i = 0; i < num_services_to_check; ++i) {
        service_record *root = service_set[services_to_check[i]];
        if (! root) continue;
        if (root->visited) continue;

        // invariant: service_chain is empty
        service_chain.emplace_back(root, 0);

        // Depth first traversal. If we find a link (dependency) on a service already visited (but not
        // marked as cycle-free), we know then that we've found a cycle.
        while (true) {
            auto n = service_chain.size() - 1;
            auto &last = service_chain[n];
            service_record *last_record = std::get<0>(last);
            size_t &index = std::get<1>(last);
            if (index >= last_record->dependencies.size()) {
                // Processed all dependencies, go back up:
                last_record->cycle_free = true;
                service_chain.pop_back();
                if (n == 0) break;
                size_t &prev_index = std::get<1>(service_chain[n - 1]);
                ++prev_index;
                continue;
            }
            // Down the tree:
            auto dep_it = std::next(last_record->dependencies.begin(), index);
            service_record *next_link = service_set[dep_it->name];
            if (next_link == nullptr) {
                ++index;
                continue;
            }
            if (next_link->visited) {
                if (! next_link->cycle_free) {
                    // We've found a cycle. Clear entries before the beginning of the cycle, then
                    // exit the loop.
                    auto first = std::find_if(service_chain.begin(), service_chain.end(),
                            [next_link](std::tuple<service_record *, size_t> &a) -> bool {
                       return std::get<0>(a) == next_link;
                    });
                    service_chain.erase(service_chain.begin(), first);
                    break;
                }
            }
            next_link->visited = true;
            service_chain.emplace_back(next_link, 0);
        }

        // Report only one cycle; otherwise difficult to avoid reporting duplicates or overlapping
        // cycles.
        if (!service_chain.empty()) break;
    }

    if (!service_chain.empty()) {
        errors_found = true;
        std::cerr << "Found dependency cycle:\n";
        for (auto chain_link : service_chain) {
            service_record *svc = std::get<0>(chain_link);
            size_t dep_index = std::get<1>(chain_link);
            std::cerr << "    " << svc->name << " ->";
            auto dep_it = std::next(svc->dependencies.begin(), dep_index);
            if (dep_it->dep_type == dependency_type::BEFORE) {
                std::cerr << " (via 'before')";
            }
            if (dep_it->dep_type == dependency_type::AFTER) {
            	std::cerr << " (via 'after')";
            }
            std::cerr << "\n";
        }
        std::cerr << "    " << std::get<0>(service_chain[0])->name << ".\n";
    }

    std::cerr << "Secondary checks complete.\n";

    if (! errors_found) {
        std::cout << "No problems found.\n";
    }
    else {
        std::cout << "One or more errors/warnings issued.\n";
    }

    return errors_found ? EXIT_FAILURE : EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movq %rsi, %rbx
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x160(%rsp)
movaps %xmm0, 0x150(%rsp)
movaps %xmm0, 0x140(%rsp)
callq 0x41d0
testl %eax, %eax
setne %r14b
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
xorl %ecx, %ecx
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0xf0(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
movq %rcx, 0xd0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
cmpl $0x2, %ebp
jl 0x4d1f
testl %eax, %eax
setne %al
movl %eax, 0x8(%rsp)
movl $0x1, %r14d
leaq 0x400(%rsp), %r15
movslq %r14d, %r13
movq (%rbx,%r13,8), %r12
cmpb $0x2d, (%r12)
jne 0x4c32
movq %r12, %rdi
leaq 0x17624(%rip), %rsi     # 0x1c10e
callq 0x4510
testl %eax, %eax
je 0x4c83
cmpb $0x64, 0x1(%r12)
jne 0x4b0b
cmpb $0x0, 0x2(%r12)
je 0x4c83
movq %r12, %rdi
leaq 0x1763f(%rip), %rsi     # 0x1c154
callq 0x4510
testl %eax, %eax
je 0x4cae
cmpb $0x73, 0x1(%r12)
jne 0x4b36
cmpb $0x0, 0x2(%r12)
je 0x4cae
movq %r12, %rdi
leaq 0x1761d(%rip), %rsi     # 0x1c15d
callq 0x4510
testl %eax, %eax
je 0x4cb8
cmpb $0x75, 0x1(%r12)
jne 0x4b61
cmpb $0x0, 0x2(%r12)
je 0x4cb8
movq %r12, %rdi
leaq 0x175f9(%rip), %rsi     # 0x1c164
callq 0x4510
testl %eax, %eax
je 0x4cc0
cmpb $0x70, 0x1(%r12)
jne 0x4b8c
cmpb $0x0, 0x2(%r12)
je 0x4cc0
movq %r12, %rdi
leaq 0x1761c(%rip), %rsi     # 0x1c1b2
callq 0x4510
testl %eax, %eax
je 0x4d07
cmpb $0x6e, 0x1(%r12)
jne 0x4bb7
cmpb $0x0, 0x2(%r12)
je 0x4d07
movq %r12, %rdi
leaq 0x175fa(%rip), %rsi     # 0x1c1bb
callq 0x4510
testl %eax, %eax
je 0x4be2
cmpb $0x65, 0x1(%r12)
jne 0x67c2
cmpb $0x0, 0x2(%r12)
jne 0x67c2
incl %r14d
movl $0x46, %edx
cmpl %ebp, %r14d
je 0x67b2
movslq %r14d, %rax
movq (%rbx,%rax,8), %r12
cmpb $0x0, (%r12)
je 0x67b2
movq 0xe8(%rsp), %r13
movq %r12, %rdi
callq 0x4190
leaq 0xe0(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x45a0
jmp 0x4d0e
movq %r15, %rdi
movq %r12, %rsi
leaq 0x1f0(%rsp), %rdx
callq 0xfff2
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x153ec
movq 0x400(%rsp), %rdi
leaq 0x410(%rsp), %rax
cmpq %rax, %rdi
je 0x4d0e
movq 0x410(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x4d0e
incl %r14d
cmpl %ebp, %r14d
jge 0x556e
movslq %r14d, %rax
movq (%rbx,%rax,8), %rsi
cmpb $0x0, (%rsi)
je 0x556e
leaq 0x140(%rsp), %rdi
callq 0xffcc
jmp 0x4d0e
movl $0x0, 0x8(%rsp)
jmp 0x4d0e
movb $0x1, %al
movl %eax, 0x8(%rsp)
jmp 0x4d0e
incl %r14d
movl $0x3f, %edx
cmpl %ebp, %r14d
je 0x67a2
movslq %r14d, %rax
movq (%rbx,%rax,8), %r12
cmpb $0x0, (%r12)
je 0x67a2
movq 0x50(%rsp), %r13
movq %r12, %rdi
callq 0x4190
leaq 0x48(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x45a0
jmp 0x4d0e
movb $0x1, 0x21ada(%rip)     # 0x267e8
incl %r14d
cmpl %ebp, %r14d
jl 0x4ace
movl 0x8(%rsp), %r14d
xorl %ebx, %ebx
movq %rbx, 0x800(%rsp)
movl $0x1, %esi
movl $0xd, %edi
callq 0x4450
movq %rbx, 0x130(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x120(%rsp)
movq %rbx, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
cmpb $0x0, 0x21a86(%rip)     # 0x267e8
je 0x4d7a
cmpq $0x0, 0x50(%rsp)
je 0x55be
movq 0x48(%rsp), %rdi
jmp 0x55db
movl %r14d, %eax
notb %al
movzbl %al, %esi
andl $0x1, %esi
leaq 0x140(%rsp), %rdi
callq 0x197b0
movq 0x130(%rsp), %rax
movups 0x158(%rsp), %xmm0
movq 0x168(%rsp), %rcx
movq %rcx, 0x130(%rsp)
movaps 0x120(%rsp), %xmm1
movaps %xmm0, 0x120(%rsp)
leaq 0x1f0(%rsp), %rdi
movaps %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x158(%rsp)
movq $0x0, 0x168(%rsp)
callq 0x10d26
movq 0xe8(%rsp), %rax
testq %rax, %rax
setne %cl
orb %r14b, %cl
testb $0x1, %cl
jne 0x4e29
leaq 0x17761(%rip), %rcx     # 0x1c56b
leaq 0xe0(%rsp), %rdi
movl $0x16, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x45a0
movq 0xe8(%rsp), %rax
testq %rax, %rax
je 0x5ab0
leaq 0xe0(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq (%rax), %rsi
leaq 0x1f0(%rsp), %r13
movq %r13, %rdi
movl $0x8, %edx
callq 0x4650
movq 0x1f0(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x210(%rsp,%rax), %esi
testb $0x5, %sil
jne 0x5aa3
leaq (%rsp,%rax), %rdi
addq $0x1f0, %rdi            # imm = 0x1F0
movl $0x1, 0x1c(%rdi)
callq 0x4610
callq 0x44f0
movq %rax, %rbp
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorl %r15d, %r15d
movq %rbp, 0x8(%rsp)
movq 0x1f0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x4370
leaq 0x70(%rsp), %rsi
movsbl %al, %edx
movq %r13, %rdi
callq 0x4660
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x5a81
movq %r15, 0x38(%rsp)
incl %r15d
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rbx
movq %rax, %r12
testq %rbx, %rbx
movq %rax, 0x40(%rsp)
movq %rbx, 0x68(%rsp)
je 0x4f47
movq %rax, %r12
movzbl (%r12), %r14d
movq %rbp, %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x4f3d
incq %r12
decq %rbx
jne 0x4f17
jmp 0x4eb5
movq 0x40(%rsp), %rax
movq 0x68(%rsp), %rbx
addq %rax, %rbx
cmpq %rbx, %r12
je 0x4eb5
movzbl (%r12), %eax
cmpl $0x21, %eax
je 0x4f84
cmpl $0x23, %eax
je 0x4eb5
cmpl $0x3d, %eax
jne 0x5085
leaq 0xb8(%rsp), %rdi
movl %r15d, %esi
callq 0xb6e6
jmp 0x4eb5
movq %r15, 0x30(%rsp)
leaq 0x1(%r12), %r15
addq $0x2, %r12
cmpq %rbx, %r12
je 0x510e
movzbl (%r12), %r14d
movq %rbp, %rdi
callq 0x4180
movq 0x30(%rax), %rax
incq %r12
testb $0x20, 0x1(%rax,%r14,2)
je 0x4f92
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movq $0x0, 0xa0(%rsp)
decq %r12
movq %r12, %r14
movzbl (%r14), %r13d
movq %rbp, %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r13,2)
jne 0x500e
movq %r14, %rbp
cmpq %rbx, %r14
je 0x5018
movsbl (%rbp), %edi
callq 0x4080
testl %eax, %eax
jne 0x5009
incq %rbp
cmpq %rbx, %rbp
jne 0x4ff4
movq %rbp, %r13
jmp 0x501b
incq %r14
cmpq %rbx, %r14
jne 0x4fd4
jmp 0x5075
movq %r14, %r13
subq %r14, %rbp
movq %r14, 0x10(%rsp)
movq %rbp, 0x18(%rsp)
movq 0x98(%rsp), %rsi
cmpq 0xa0(%rsp), %rsi
je 0x5052
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x98(%rsp)
movq 0x8(%rsp), %rbp
jmp 0x5069
leaq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x1592e
movq 0x8(%rsp), %rbp
movq %r13, %r14
cmpq %rbx, %r13
jne 0x4fd4
movq %r12, %rbx
leaq 0x1f0(%rsp), %r13
jmp 0x5125
movq %r15, 0x30(%rsp)
movl $0x2, %eax
movq %r12, %r13
movq %r13, %r14
incq %r13
cmpq %rbx, %r13
je 0x5398
movq %rax, %rbp
movzbl (%r13), %r15d
cmpq $0x3d, %r15
je 0x50c9
movq 0x8(%rsp), %rdi
callq 0x4180
movq 0x30(%rax), %rcx
leaq 0x1(%rbp), %rax
testb $0x20, 0x1(%rcx,%r15,2)
je 0x5092
xorl %r15d, %r15d
movq %r14, 0x38(%rsp)
movzbl 0x1(%r14,%r15), %r14d
movq 0x8(%rsp), %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x5336
movq 0x38(%rsp), %r14
leaq (%r14,%r15), %rax
addq $0x2, %rax
incq %r15
incq %rbp
cmpq %rbx, %rax
jne 0x50d1
jmp 0x5398
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movq $0x0, 0xa0(%rsp)
subq %r15, %rbx
movb $0x63, %cl
xorl %eax, %eax
leaq 0x20(%rsp), %r14
leaq 0x17acc(%rip), %rdx     # 0x1cc04
cmpb (%r15,%rax), %cl
jne 0x5162
movb 0x1(%rax,%rdx), %cl
incq %rax
cmpq $0x5, %rax
jne 0x5138
cmpq $0x5, %rbx
jne 0x5162
leaq 0x215c0(%rip), %rdi     # 0x26718
callq 0x10b7c
jmp 0x5438
movb $0x75, %cl
xorl %eax, %eax
cmpb (%r15,%rax), %cl
jne 0x51f5
leaq 0x17a93(%rip), %rcx     # 0x1cc0a
movb 0x1(%rax,%rcx), %cl
incq %rax
cmpq $0x5, %rax
jne 0x5166
cmpq $0x5, %rbx
jne 0x51f5
movq 0x90(%rsp), %r15
movq 0x98(%rsp), %rbx
cmpq %rbx, %r15
je 0x5440
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r14, 0x10(%rsp)
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x129da
leaq 0x21552(%rip), %rdi     # 0x26718
movq %r12, %rsi
xorl %edx, %edx
callq 0x15784
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x51e7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
addq $0x10, %r15
cmpq %rbx, %r15
jne 0x51a3
jmp 0x5438
movb $0x69, %cl
xorl %eax, %eax
cmpb (%r15,%rax), %cl
jne 0x528b
leaq 0x17a06(%rip), %rcx     # 0x1cc10
movb 0x1(%rax,%rcx), %cl
incq %rax
cmpq $0x6, %rax
jne 0x51f9
cmpq $0x6, %rbx
jne 0x528b
movq 0x90(%rsp), %r15
movq 0x98(%rsp), %rbx
cmpq %rbx, %r15
je 0x5440
leaq 0x20(%rsp), %r14
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r14, 0x10(%rsp)
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x129da
leaq 0x214ba(%rip), %rdi     # 0x26718
movq %r12, %rsi
callq 0x1586c
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x527d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
addq $0x10, %r15
cmpq %rbx, %r15
jne 0x523b
jmp 0x5438
movl $0x35, %edx
movq 0x20d59(%rip), %rdi     # 0x25ff0
leaq 0x179d0(%rip), %rsi     # 0x1cc6e
callq 0x4410
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x20d36(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r15
movl $0x7, %edx
movq %rax, %rdi
leaq 0x17995(%rip), %rsi     # 0x1cc66
callq 0x4410
movl $0x1, %r12d
cmpl $0x9, 0x38(%rsp)
jb 0x53c8
movl $0x4, %r12d
movq 0x30(%rsp), %rax
cmpl $0x63, %eax
jbe 0x53bf
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x53c5
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x53c8
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x52f2
addl $-0x3, %r12d
jmp 0x53c8
movq 0x38(%rsp), %rcx
leaq (%rcx,%r15), %rax
incq %rax
cmpq %rbx, %rax
je 0x5398
cmpb $0x3d, 0x1(%rcx,%r15)
jne 0x5398
testq %r15, %r15
jne 0x5462
cmpq 0x70(%rsp), %r12
jne 0x5462
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
callq 0x4250
leaq 0x1f0(%rsp), %r13
leaq 0x21399(%rip), %rdi     # 0x26718
movq %rbx, %rsi
xorl %edx, %edx
callq 0x118e8
movq 0x8(%rsp), %rbp
movq 0x30(%rsp), %r15
jmp 0x4eb5
leaq 0xb8(%rsp), %rdi
movq 0x30(%rsp), %r15
movl %r15d, %esi
callq 0xb6e6
leaq 0x1f0(%rsp), %r13
movq 0x8(%rsp), %rbp
jmp 0x4eb5
addl $-0x2, %r12d
jmp 0x53c8
decl %r12d
movl %r12d, %esi
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x10(%rsp), %rdi
movl $0x2d, %edx
callq 0x4420
movq 0x10(%rsp), %rdi
movl %r12d, %esi
movq 0x30(%rsp), %rdx
callq 0x158c0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0x4410
movl $0x2, %edx
movq %rax, %rdi
leaq 0x17151(%rip), %rsi     # 0x1c568
callq 0x4410
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x5438
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x90(%rsp), %r15
testq %r15, %r15
je 0x5458
movq 0xa0(%rsp), %rsi
subq %r15, %rsi
movq %r15, %rdi
callq 0x43a0
movq 0x30(%rsp), %r15
jmp 0x4eb5
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movq 0x40(%rsp), %rsi
addq 0x68(%rsp), %rsi
subq %r12, %rsi
movq %rsi, 0x40(%rsp)
subq %r15, %rsi
leaq 0x10(%rsp), %rdi
callq 0x45b0
leaq 0x70(%rsp), %rsi
subq %r12, %r13
subq 0x70(%rsp), %r12
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movq %r12, %rdx
movq %r13, %rcx
callq 0x43c0
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4480
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x54f1
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x18(%rsp), %rsi
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
movl $0x3d, %r8d
callq 0x4670
movq 0x38(%rsp), %rax
leaq (%rax,%r15), %rcx
addq $0x2, %rcx
movq 0x40(%rsp), %r8
subq %rbp, %r8
movq 0x18(%rsp), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4400
leaq 0x211e2(%rip), %rdi     # 0x26718
movq %rbx, %rsi
xorl %edx, %edx
callq 0x118e8
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x555c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x1f0(%rsp), %r13
movq 0x8(%rsp), %rbp
jmp 0x5458
movq 0x20a7b(%rip), %rbx     # 0x25ff0
leaq 0x16ba1(%rip), %rsi     # 0x1c11d
movl $0x36, %edx
movq %rbx, %rdi
callq 0x4410
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4370
movsbl %al, %esi
movq 0x20a49(%rip), %rdi     # 0x25ff0
callq 0x4040
movl $0x1, %ebx
movq %rax, %rdi
callq 0x42a0
jmp 0x6683
movzbl %r14b, %esi
andl $0x1, %esi
leaq 0x48(%rsp), %rdi
callq 0x1003a
movq %rax, %rdi
testq %rax, %rax
je 0x6752
callq 0x10123
movl %eax, %ebx
leaq 0x400(%rsp), %rdx
movl $0x1, %edi
movl $0x5, %esi
movl %eax, %ecx
callq 0x1036a
leaq 0x10(%rsp), %rdi
leaq 0x400(%rsp), %rdx
movl %ebx, %esi
callq 0x105c7
movq 0x110(%rsp), %rax
leaq 0x10(%rsp), %r14
movaps (%r14), %xmm0
movq 0x10(%r14), %rcx
movq %rcx, 0x110(%rsp)
movaps 0x100(%rsp), %xmm1
movaps %xmm0, 0x100(%rsp)
leaq 0x1f0(%rsp), %rdi
movaps %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
movq $0x0, 0x10(%r14)
callq 0x10ade
movq %r14, %rdi
callq 0x10ade
movq 0x100(%rsp), %r13
movq 0x108(%rsp), %rbp
cmpq %rbp, %r13
je 0x56d0
leaq 0x120(%rsp), %r15
leaq 0x1f0(%rsp), %r12
movq (%r13), %rax
movq %rax, 0x1f0(%rsp)
movb $0x0, 0x1f8(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x10b3c
cmpb $0x1, 0x1f8(%rsp)
jne 0x56c7
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x56c7
callq 0x44a0
addq $0x20, %r13
cmpq %rbp, %r13
jne 0x568c
leaq 0x21041(%rip), %rdi     # 0x26718
callq 0x10b7c
leaq 0x70(%rsp), %r15
movw $0x18, (%r15)
movl $0x2, %r12d
xorl %ebp, %ebp
movl %r12d, %edx
movl %ebx, %edi
movq %r15, %rsi
callq 0x4150
cmpl $-0x1, %eax
je 0x570e
addl %eax, %ebp
movslq %eax, %rcx
addq %rcx, %r15
subl %eax, %r12d
jmp 0x571c
callq 0x4060
cmpl $0x4, (%rax)
jne 0x5a57
testl %r12d, %r12d
jg 0x56ef
cmpl $-0x1, %ebp
je 0x5a5f
leaq 0x400(%rsp), %rdi
movl %ebx, %esi
callq 0x125f6
movl 0x800(%rsp), %r13d
leal -0x400(%r13), %eax
cmpl $0x400, %r13d           # imm = 0x400
cmovbl %r13d, %eax
cmpb $0x4e, 0x400(%rsp,%rax)
jne 0x68ae
movl 0x804(%rsp), %ebp
cmpl $0x8, %ebp
ja 0x5797
leaq 0x400(%rsp), %r15
movq %r15, %rdi
movl %ebx, %esi
callq 0x1278a
movl 0x804(%rsp), %ebp
testl %eax, %eax
jle 0x578f
cmpl $0x9, %ebp
jb 0x5775
movl 0x800(%rsp), %r13d
leal 0x1(%r13), %eax
leal -0x3ff(%r13), %r15d
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %r15d
leal -0x3f9(%r15), %eax
cmpl $0xfffffbfe, %eax       # imm = 0xFFFFFBFE
ja 0x57fc
movl $0x400, %r12d           # imm = 0x400
subl %r15d, %r12d
movl %r15d, %eax
leaq (%rsp,%rax), %rsi
addq $0x400, %rsi            # imm = 0x400
movq %r14, %rdi
movq %r12, %rdx
callq 0x4310
leaq (%rsp,%r12), %rdi
addq $0x10, %rdi
addl $0xfffffc08, %r15d      # imm = 0xFFFFFC08
leaq 0x400(%rsp), %rsi
movq %r15, %rdx
callq 0x4310
jmp 0x580a
movl %r15d, %eax
leaq (%rsp,%rax), %r14
addq $0x400, %r14            # imm = 0x400
movq (%r14), %r12
leal 0x9(%r13), %eax
addl $0xfffffc09, %r13d      # imm = 0xFFFFFC09
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %r13d
movl %r13d, 0x800(%rsp)
addl $-0x9, %ebp
movl %ebp, 0x804(%rsp)
testq %r12, %r12
je 0x5ab0
testl %ebp, %ebp
je 0x670e
leaq 0x200(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x400(%rsp), %r15
movl 0x800(%rsp), %eax
movl 0x804(%rsp), %esi
leal -0x400(%rax), %edx
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %edx
leaq (%rsp,%rdx), %rcx
addq $0x400, %rcx            # imm = 0x400
testl %esi, %esi
je 0x58b8
leal (%rsi,%rax), %edi
cmpl $0x400, %edi            # imm = 0x400
leal -0x400(%rsi,%rax), %esi
cmovbl %edi, %esi
leal (%r15,%rsi), %r14d
cmpl %edx, %esi
leaq 0x800(%rsp), %rdx
cmovbel %edx, %r14d
subl %ecx, %r14d
jmp 0x58bb
xorl %r14d, %r14d
cmpq %r14, %r12
movq %r14, %r13
cmovbq %r12, %r13
testq %r13, %r13
je 0x590f
cmpb $0x0, (%rcx)
je 0x599b
leal 0x1(%rax), %edx
addl $0xfffffc01, %eax       # imm = 0xFFFFFC01
leal -0x1(%r13), %esi
xorl %ebp, %ebp
cmpl %ebp, %esi
je 0x590f
leal (%rdx,%rbp), %edi
leal (%rax,%rbp), %r8d
cmpl $0x400, %edi            # imm = 0x400
cmovbl %edi, %r8d
incl %ebp
cmpb $0x0, 0x400(%rsp,%r8)
jne 0x58e1
cmpl %r13d, %ebp
setae %r14b
jmp 0x59a0
movq 0x1f8(%rsp), %rsi
leaq 0x1f0(%rsp), %rdi
xorl %edx, %edx
movq %r13, %r8
callq 0x4400
movl 0x800(%rsp), %ecx
movl 0x804(%rsp), %eax
leal (%rcx,%r13), %edx
cmpl $0x400, %edx            # imm = 0x400
leal -0x400(%rcx,%r13), %ecx
cmovbl %edx, %ecx
movl %ecx, 0x800(%rsp)
movl %eax, %ecx
subl %r13d, %ecx
movl %ecx, 0x804(%rsp)
cmpq %r14, %r12
jbe 0x686f
movb $0x1, %r14b
cmpl %r13d, %eax
jne 0x5a1b
movq %r15, %rdi
movl %ebx, %esi
callq 0x1278a
testl %eax, %eax
je 0x683a
jg 0x5a1b
callq 0x4060
cmpl $0x4, (%rax)
je 0x5974
jmp 0x684c
xorl %r14d, %r14d
xorl %ebp, %ebp
movl %ebp, %r8d
movq 0x1f8(%rsp), %rsi
leaq 0x1f0(%rsp), %r13
movq %r13, %rdi
xorl %edx, %edx
callq 0x4400
movl 0x800(%rsp), %eax
movl %ebp, %ecx
incl %ebp
leal (%rax,%rcx), %edx
incl %edx
cmpl $0x400, %edx            # imm = 0x400
leal -0x3ff(%rax,%rcx), %eax
cmovbl %edx, %eax
movl %eax, 0x800(%rsp)
subl %ebp, 0x804(%rsp)
leaq 0x20d26(%rip), %rdi     # 0x26718
movq %r13, %rsi
xorl %edx, %edx
callq 0x118e8
movl %ebp, %r13d
movq $0x0, 0x1f8(%rsp)
movq 0x1f0(%rsp), %rax
movb $0x0, (%rax)
cmpq %r13, %r12
je 0x5a30
subq %r13, %r12
testb %r14b, %r14b
je 0x5863
testq %r12, %r12
jne 0x5863
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x5ab0
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x5ab0
testl %ebp, %ebp
jg 0x572a
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
callq 0x4060
movl (%rax), %eax
movl %eax, (%rbx)
leaq 0x20114(%rip), %rsi     # 0x25b90
jmp 0x68a4
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x5aa3
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x1f0(%rsp), %rdi
callq 0x40f0
movq 0xc0(%rsp), %rdx
movq 0xc8(%rsp), %rcx
cmpq %rcx, %rdx
jne 0x5b2e
leaq 0x200(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x16c46(%rip), %rsi     # 0x1c71e
leaq 0x16c43(%rip), %rdx     # 0x1c722
leaq 0x1f0(%rsp), %rdi
callq 0x129da
leaq 0xc0(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
callq 0x153ec
movq 0x1f0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5b1e
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0xc0(%rsp), %rdx
movq 0xc8(%rsp), %rcx
xorl %eax, %eax
movq %rcx, 0x170(%rsp)
leaq 0x1f8(%rsp), %rsi
movl $0x0, (%rsi)
movq %rax, 0x8(%rsi)
movq %rsi, 0x10(%rsi)
movq %rsi, 0x18(%rsi)
movq %rax, 0x20(%rsi)
movq %rdx, 0x30(%rsp)
subq %rdx, %rcx
movq %rcx, 0x38(%rsp)
je 0x5f51
movq $0x0, 0x40(%rsp)
leaq 0xc0(%rsp), %rbx
movq 0x30(%rsp), %r14
movl $0x12, %edx
movq 0x203fd(%rip), %rdi     # 0x25f88
leaq 0x16b91(%rip), %rsi     # 0x1c723
callq 0x4410
movq 0x40(%rsp), %rax
shlq $0x5, %rax
addq %rax, %r14
movq (%r14), %rsi
movq %r14, 0x68(%rsp)
movq 0x8(%r14), %rdx
movq 0x203d2(%rip), %rdi     # 0x25f88
callq 0x4410
movl $0x4, %edx
movq %rax, %rdi
leaq 0x16ba4(%rip), %rsi     # 0x1c76e
callq 0x4410
leaq 0x1f0(%rsp), %rdi
movq 0x68(%rsp), %rsi
leaq 0x120(%rsp), %rdx
callq 0x6f66
movq %rax, %r14
leaq 0x1f0(%rsp), %rdi
movq 0x68(%rsp), %rsi
callq 0x10ba2
movq %r14, (%rax)
leaq 0x48(%r14), %r15
movq %r14, 0x8(%rsp)
movq 0x48(%r14), %r12
cmpq %r15, %r12
je 0x5c8b
leaq 0x10(%r12), %r13
leaq 0x1f0(%rsp), %rdi
movq %r13, %rsi
callq 0x16454
leaq 0x1f8(%rsp), %rcx
cmpq %rcx, %rax
jne 0x5c85
leaq 0x1d8(%rsp), %rdi
movq %rbx, %rsi
callq 0x10c1e
movq 0x1d8(%rsp), %rdi
movq 0x1e0(%rsp), %rsi
movq %r13, %rdx
callq 0x164dd
movq %rax, %r14
movq 0x1e0(%rsp), %rbp
leaq 0x1d8(%rsp), %rdi
callq 0x10ade
cmpq %rbp, %r14
jne 0x5c85
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ca8
movq (%r12), %r12
jmp 0x5c0e
movq 0x8(%rsp), %r12
cmpq $0x0, 0x30(%r12)
je 0x5d36
leaq 0x1c0(%rsp), %rdi
movq %rbx, %rsi
callq 0x10c1e
leaq 0x28(%r12), %r13
movq 0x1c0(%rsp), %rdi
movq 0x1c8(%rsp), %rsi
movq %r13, %rdx
callq 0x164dd
movq %rax, %r14
movq 0x1c8(%rsp), %r15
leaq 0x1c0(%rsp), %rdi
callq 0x10ade
cmpq %r15, %r14
jne 0x5d36
leaq 0x1a8(%rsp), %rdi
movq %rbx, %rsi
callq 0x10c1e
movq 0x1a8(%rsp), %rdi
movq 0x1b0(%rsp), %rsi
movq %r13, %rdx
callq 0x164dd
movq %rax, %r14
movq 0x1b0(%rsp), %r15
leaq 0x1a8(%rsp), %rdi
callq 0x10ade
cmpq %r15, %r14
jne 0x5d36
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ca8
leaq 0x60(%r12), %r15
movq 0x60(%r12), %r12
cmpq %r15, %r12
je 0x5da0
leaq 0x190(%rsp), %rdi
movq %rbx, %rsi
callq 0x10c1e
leaq 0x10(%r12), %r13
movq 0x190(%rsp), %rdi
movq 0x198(%rsp), %rsi
movq %r13, %rdx
callq 0x164dd
movq %rax, %r14
movq 0x198(%rsp), %rbp
leaq 0x190(%rsp), %rdi
callq 0x10ade
cmpq %rbp, %r14
jne 0x5d9a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ca8
movq (%r12), %r12
jmp 0x5d40
movq 0x8(%rsp), %rax
leaq 0x78(%rax), %r15
movq 0x78(%rax), %r12
cmpq %r15, %r12
je 0x5e0d
leaq 0x178(%rsp), %rdi
movq %rbx, %rsi
callq 0x10c1e
leaq 0x10(%r12), %r13
movq 0x178(%rsp), %rdi
movq 0x180(%rsp), %rsi
movq %r13, %rdx
callq 0x164dd
movq %rax, %r14
movq 0x180(%rsp), %rbp
leaq 0x178(%rsp), %rdi
callq 0x10ade
cmpq %rbp, %r14
jne 0x5e07
movq %rbx, %rdi
movq %r13, %rsi
callq 0x10ca8
movq (%r12), %r12
jmp 0x5dad
movq 0x8(%rsp), %rsi
cmpq $0x0, 0x98(%rsi)
je 0x5e2b
addq $0x90, %rsi
movq %rbx, %rdi
callq 0x10ca8
movq 0x40(%rsp), %rdx
incq %rdx
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rax
movq %rcx, %r14
subq %rcx, %rax
sarq $0x5, %rax
movq %rdx, 0x40(%rsp)
cmpq %rax, %rdx
jb 0x5b7f
jmp 0x5f51
movq %rdx, %rbp
movq %rax, %r15
leaq 0x1a8(%rsp), %rdi
jmp 0x5eb0
movq %rdx, %rbp
movq %rax, %r15
leaq 0x1c0(%rsp), %rdi
jmp 0x5eb0
jmp 0x5ebb
movq %rdx, %rbp
movq %rax, %r15
leaq 0x1d8(%rsp), %rdi
jmp 0x5eb0
movq %rdx, %rbp
movq %rax, %r15
leaq 0x178(%rsp), %rdi
jmp 0x5eb0
movq %rdx, %rbp
movq %rax, %r15
leaq 0x190(%rsp), %rdi
callq 0x10ade
jmp 0x5ec1
jmp 0x5ebb
jmp 0x5ebb
movq %rdx, %rbp
movq %rax, %r15
cmpl $0x9, %ebp
jne 0x6edc
movq %r15, %rdi
callq 0x4170
movq %rax, %r13
movl $0x18, %edx
movq 0x2010f(%rip), %rdi     # 0x25ff0
leaq 0x1684e(%rip), %rsi     # 0x1c736
callq 0x4410
movq 0x68(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x200f0(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r14
movl $0x3, %edx
movq %rax, %rdi
leaq 0x16838(%rip), %rsi     # 0x1c74f
callq 0x4410
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
movq %r14, %rdi
callq 0x4410
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1662e(%rip), %rsi     # 0x1c569
callq 0x4410
movb $0x1, 0x208a2(%rip)     # 0x267e9
callq 0x4600
jmp 0x5e2b
movq 0x20030(%rip), %rdi     # 0x25f88
leaq 0x167f4(%rip), %rsi     # 0x1c753
movl $0x1f, %edx
callq 0x4410
movq 0x208(%rsp), %rbx
leaq 0x1f8(%rsp), %rax
cmpq %rax, %rbx
je 0x6211
leaq 0x1f0(%rsp), %r14
movq 0x40(%rbx), %rsi
cmpq $0x0, 0x98(%rsi)
je 0x6119
addq $0x90, %rsi
movq %r14, %rdi
callq 0x16836
movq %rax, %rbp
leaq 0x1f8(%rsp), %rax
cmpq %rax, %rbp
je 0x6042
movq 0x40(%rbp), %rax
cmpl $0x3, 0xb0(%rax)
jne 0x60ab
movl 0x20(%rax), %eax
decl %eax
cmpl $0x3, %eax
jb 0x6119
movl $0x9, %edx
movq 0x20006(%rip), %rdi     # 0x25ff0
leaq 0x16804(%rip), %rsi     # 0x1c7f5
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1ffeb(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x25, %edx
movq %rax, %rdi
leaq 0x16757(%rip), %rsi     # 0x1c773
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x28, %edx
leaq 0x16786(%rip), %rsi     # 0x1c7c3
jmp 0x610a
movl $0x12, %edx
movq 0x1ffa2(%rip), %rdi     # 0x25ff0
leaq 0x16797(%rip), %rsi     # 0x1c7ec
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1ff87(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x24, %edx
movq %rax, %rdi
leaq 0x1677f(%rip), %rsi     # 0x1c7ff
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x17, %edx
movq %rax, %rdi
leaq 0x16780(%rip), %rsi     # 0x1c824
callq 0x4410
jmp 0x6119
movl $0x9, %edx
movq 0x1ff39(%rip), %rdi     # 0x25ff0
leaq 0x16737(%rip), %rsi     # 0x1c7f5
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1ff1e(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x25, %edx
movq %rax, %rdi
leaq 0x1668a(%rip), %rsi     # 0x1c773
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x29, %edx
leaq 0x1668f(%rip), %rsi     # 0x1c799
movq %rax, %rdi
callq 0x4410
movb $0x1, 0x206d0(%rip)     # 0x267e9
movq 0x40(%rbx), %rbp
leaq 0x60(%rbp), %r12
movq 0x60(%rbp), %r15
cmpq %r12, %r15
je 0x6195
leaq 0x20(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x10(%r15), %rsi
movq %r14, %rdi
callq 0x16836
leaq 0x1f8(%rsp), %rcx
cmpq %rcx, %rax
je 0x6189
movq %rbx, %rbp
movq %r14, %rbx
movq 0x40(%rax), %r14
leaq 0x48(%r14), %r13
movl $0x4, 0x10(%rsp)
movq %r13, %rdi
movq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x1687c
movq %rax, %rdi
movq %r13, %rsi
callq 0x4070
incq 0x58(%r14)
movq %rbx, %r14
movq %rbp, %rbx
movq (%r15), %r15
cmpq %r12, %r15
jne 0x6133
movq 0x40(%rbx), %rbp
movq 0x78(%rbp), %r15
addq $0x78, %rbp
cmpq %rbp, %r15
je 0x61f5
leaq 0x10(%r15), %rsi
movq %r14, %rdi
callq 0x16836
leaq 0x1f8(%rsp), %rcx
cmpq %rcx, %rax
je 0x61f0
movq 0x40(%rbx), %r12
leaq 0x48(%r12), %r13
addq $0x20, %rax
movl $0x5, 0x10(%rsp)
movq %r13, %rdi
movq %rax, %rsi
leaq 0x10(%rsp), %rdx
callq 0x1687c
movq %rax, %rdi
movq %r13, %rsi
callq 0x4070
incq 0x58(%r12)
movq (%r15), %r15
jmp 0x619d
movq %rbx, %rdi
callq 0x42b0
movq %rax, %rbx
leaq 0x1f8(%rsp), %rax
cmpq %rax, %rbx
jne 0x5f8a
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x170(%rsp), %rax
cmpq 0x30(%rsp), %rax
je 0x65f3
movq 0x38(%rsp), %rax
sarq $0x5, %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x38(%rsp)
xorl %ebp, %ebp
leaq 0x1f0(%rsp), %rbx
leaq 0x10(%rsp), %r14
leaq 0x90(%rsp), %r12
movq %rbp, %rsi
shlq $0x5, %rsi
addq 0xc0(%rsp), %rsi
movq %rbx, %rdi
callq 0x10ba2
movq (%rax), %rax
movq %rax, 0x70(%rsp)
testq %rax, %rax
je 0x6497
cmpb $0x0, 0xb4(%rax)
jne 0x6497
movl $0x0, 0x90(%rsp)
movq %r14, %rdi
leaq 0x70(%rsp), %rsi
movq %r12, %rdx
callq 0x10ce6
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %rax
movq %rax, %rdx
subq %r15, %rdx
movq %rdx, %rsi
sarq $0x4, %rsi
decq %rsi
movq %rsi, %r13
shlq $0x4, %r13
movq (%r15,%r13), %rcx
movq 0x8(%r15,%r13), %rdi
cmpq 0x58(%rdi), %rcx
jae 0x62f5
movq 0x48(%rdi), %rsi
testq %rcx, %rcx
jle 0x6315
movq (%rsi), %rsi
decq %rcx
jne 0x62eb
jmp 0x6320
movb $0x1, 0xb5(%rdi)
addq $-0x10, %rax
movq %rax, 0x18(%rsp)
testq %rsi, %rsi
je 0x6492
incq -0x20(%r15,%rdx)
jmp 0x62b2
je 0x6320
movq 0x8(%rsi), %rsi
incq %rcx
jne 0x6317
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x10ba2
movq (%rax), %rsi
movq %rsi, 0x90(%rsp)
testq %rsi, %rsi
je 0x6378
cmpb $0x1, 0xb4(%rsi)
jne 0x634e
cmpb $0x0, 0xb5(%rsi)
je 0x6383
movb $0x1, 0xb4(%rsi)
movl $0x0, 0xb8(%rsp)
movq %r14, %rdi
movq %r12, %rsi
leaq 0xb8(%rsp), %rdx
callq 0x10ce6
jmp 0x62b2
addq %r13, %r15
incq (%r15)
jmp 0x62b2
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %rax
movq %rax, %r9
subq %rcx, %r9
movq %r9, %r8
sarq $0x6, %r8
testq %r8, %r8
jle 0x63dd
andq $-0x40, %r9
movq %r9, %rdi
addq %rcx, %rdi
incq %r8
leaq 0x20(%rcx), %rdx
cmpq %rsi, -0x18(%rdx)
je 0x641a
cmpq %rsi, -0x8(%rdx)
je 0x6420
cmpq %rsi, 0x8(%rdx)
je 0x642a
cmpq %rsi, 0x18(%rdx)
je 0x6426
decq %r8
addq $0x40, %rdx
cmpq $0x1, %r8
jg 0x63b0
movq %rax, %r9
subq %rdi, %r9
jmp 0x63e0
movq %rcx, %rdi
sarq $0x4, %r9
cmpq $0x1, %r9
je 0x640d
cmpq $0x2, %r9
je 0x6403
movq %rax, %rdx
cmpq $0x3, %r9
jne 0x642a
cmpq %rsi, 0x8(%rdi)
je 0x6415
addq $0x10, %rdi
cmpq %rsi, 0x8(%rdi)
je 0x6415
addq $0x10, %rdi
cmpq %rsi, 0x8(%rdi)
cmovneq %rax, %rdi
movq %rdi, %rdx
jmp 0x642a
addq $-0x20, %rdx
jmp 0x642a
addq $-0x10, %rdx
jmp 0x642a
addq $0x10, %rdx
movq %rdx, %rsi
subq %rcx, %rsi
je 0x648d
movq %rax, %rdi
subq %rdx, %rdi
je 0x6474
sarq $0x4, %rdi
testq %rdi, %rdi
jle 0x646c
incq %rdi
leaq 0x8(%rcx), %rax
movq (%rax,%rsi), %r8
movq %r8, (%rax)
movq -0x8(%rax,%rsi), %r8
movq %r8, -0x8(%rax)
decq %rdi
addq $0x10, %rax
cmpq $0x1, %rdi
ja 0x644a
movq 0x18(%rsp), %rax
movq %rax, %rsi
movq %rax, %rdi
jmp 0x647a
movq %rdx, %rsi
movq %rdx, %rdi
subq %rdx, %rsi
addq %rsi, %rcx
cmpq %rcx, %rdi
je 0x648d
movq %rcx, 0x18(%rsp)
movq %rcx, %rax
movq 0x10(%rsp), %r15
cmpq %rax, %r15
jne 0x64af
incq %rbp
cmpq 0x38(%rsp), %rbp
jne 0x6262
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %rax
cmpq %rax, %r15
je 0x65f3
movb $0x1, 0x2032a(%rip)     # 0x267e9
movq 0x1fb2a(%rip), %rdi     # 0x25ff0
leaq 0x1636f(%rip), %rsi     # 0x1c83c
movl $0x18, %edx
callq 0x4410
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %r13
cmpq %r13, %r12
je 0x65ab
movq 0x1faff(%rip), %rbx     # 0x25ff0
leaq 0x16071(%rip), %rbp     # 0x1c569
movq (%r12), %r14
movq 0x8(%r12), %r15
movl $0x4, %edx
movq %rbx, %rdi
leaq 0x16345(%rip), %rsi     # 0x1c855
callq 0x4410
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x4410
movl $0x3, %edx
movq %rax, %rdi
leaq 0x16327(%rip), %rsi     # 0x1c85a
callq 0x4410
movq 0x48(%r15), %r15
testq %r14, %r14
jle 0x6552
movq (%r15), %r15
decq %r14
jne 0x6541
jmp 0x6554
movq 0x8(%r15), %r15
incq %r14
jne 0x654b
movl 0x30(%r15), %eax
cmpl $0x4, %eax
jne 0x6575
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x162f2(%rip), %rsi     # 0x1c85e
callq 0x4410
movl 0x30(%r15), %eax
cmpl $0x5, %eax
jne 0x658e
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x162e5(%rip), %rsi     # 0x1c86e
callq 0x4410
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x4410
addq $0x10, %r12
cmpq %r13, %r12
jne 0x64f8
movq 0x1fa3e(%rip), %rdi     # 0x25ff0
leaq 0x1629c(%rip), %rsi     # 0x1c855
movl $0x4, %edx
callq 0x4410
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x1fa16(%rip), %rdi     # 0x25ff0
callq 0x4410
leaq 0x161da(%rip), %rsi     # 0x1c7c0
movl $0x2, %edx
movq %rax, %rdi
callq 0x4410
movq 0x1f9f6(%rip), %rdi     # 0x25ff0
leaq 0x1627c(%rip), %rsi     # 0x1c87d
movl $0x1b, %edx
callq 0x4410
leaq 0x1629b(%rip), %rax     # 0x1c8ad
leaq 0x16280(%rip), %rsi     # 0x1c899
cmpb $0x0, 0x201c9(%rip)     # 0x267e9
cmovneq %rax, %rsi
movl $0x24, %eax
movl $0x13, %edx
cmovneq %rax, %rdx
movq 0x1f94f(%rip), %rdi     # 0x25f88
callq 0x4410
movzbl 0x201a4(%rip), %ebx     # 0x267e9
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x665c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
leaq 0x1f0(%rsp), %rdi
callq 0x12d4e
leaq 0x100(%rsp), %rdi
callq 0x10ade
leaq 0x120(%rsp), %rdi
callq 0x10d26
leaq 0xc0(%rsp), %rdi
callq 0x10ade
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x66b5
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x66d1
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x158(%rsp), %r14
movq %r14, %rdi
callq 0x10d26
movq -0x18(%r14), %rdi
testq %rdi, %rdi
je 0x66fa
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
movl %ebx, %eax
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x400(%rsp), %r14
movq %r14, %rdi
movl %ebx, %esi
callq 0x1278a
testl %eax, %eax
je 0x688a
jg 0x5844
callq 0x4060
cmpl $0x4, (%rax)
je 0x6716
movq %rax, %r15
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
movl (%r15), %eax
movl %eax, (%rbx)
jmp 0x689d
movq 0x1f897(%rip), %rbx     # 0x25ff0
leaq 0x15e4b(%rip), %rsi     # 0x1c5ab
movl $0x80, %edx
movq %rbx, %rdi
callq 0x4410
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4370
movsbl %al, %esi
movq 0x1f865(%rip), %rdi     # 0x25ff0
callq 0x4040
movl $0x1, %ebx
movq %rax, %rdi
callq 0x42a0
jmp 0x6669
leaq 0x159c9(%rip), %rsi     # 0x1c172
movq 0x1f840(%rip), %rdi     # 0x25ff0
jmp 0x680c
movq 0x1f837(%rip), %rdi     # 0x25ff0
leaq 0x15a06(%rip), %rsi     # 0x1c1c6
jmp 0x680c
leaq 0x15a44(%rip), %rsi     # 0x1c20d
movq %r12, %rdi
callq 0x4510
testl %eax, %eax
je 0x681b
movq 0x1f814(%rip), %rdi     # 0x25ff0
leaq 0x15d4a(%rip), %rsi     # 0x1c52d
movl $0x22, %edx
callq 0x4410
movq (%rbx,%r13,8), %rsi
movq 0x1f7f8(%rip), %rdi     # 0x25ff0
callq 0x4380
movq %rax, %rdi
movl $0x1a, %edx
leaq 0x15d44(%rip), %rsi     # 0x1c550
movl $0x1, %ebx
callq 0x4410
jmp 0x6683
xorl %ebx, %ebx
movq 0x1f764(%rip), %rdi     # 0x25f88
leaq 0x159e9(%rip), %rsi     # 0x1c214
movl $0x318, %edx            # imm = 0x318
callq 0x4410
jmp 0x6683
movl $0x4, %edi
callq 0x41c0
movl $0x0, (%rax)
jmp 0x685e
movq %rax, %rbp
movl $0x4, %edi
callq 0x41c0
movl (%rbp), %ecx
movl %ecx, (%rax)
leaq 0x1f31b(%rip), %rsi     # 0x25b80
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x1, %edi
callq 0x41c0
leaq 0x1f2c0(%rip), %rsi     # 0x25b40
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
movl $0x0, (%rax)
leaq 0x1f2dc(%rip), %rsi     # 0x25b80
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x1, %edi
callq 0x41c0
leaq 0x1f281(%rip), %rsi     # 0x25b40
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
jmp 0x6ed9
movq %rax, %r15
callq 0x4600
jmp 0x6edc
jmp 0x68e7
jmp 0x6a87
jmp 0x6ecb
movq %rdx, %rbx
movq %rax, %r15
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6a8d
movq 0x20(%rsp), %rsi
incq %rsi
jmp 0x69f4
jmp 0x690f
movq %rdx, %rbx
movq %rax, %r15
jmp 0x6aaf
movq %rdx, %rbx
movq %rax, %r15
jmp 0x6abc
movq %rdx, %rbx
movq %rax, %r15
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
jne 0x69a1
jmp 0x69d8
movq %rax, %r15
movq 0x1f0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6987
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6987
jmp 0x6984
jmp 0x6a87
jmp 0x6a87
jmp 0x6a6d
jmp 0x69d2
jmp 0x6a2d
jmp 0x6ed9
jmp 0x6991
jmp 0x69d2
jmp 0x69d2
movq %rax, %r15
leaq 0x58(%rsp), %rbx
jmp 0x6eee
movq %rdx, %rbx
movq %rax, %r15
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x69d8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x69d8
jmp 0x69d2
jmp 0x6bc9
jmp 0x6a2d
jmp 0x6bf1
jmp 0x6a87
jmp 0x6a87
jmp 0x6bc9
jmp 0x6bf1
movq %rdx, %rbx
movq %rax, %r15
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x6a8d
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
jmp 0x6a8d
jmp 0x6a87
movq %rax, %r15
movq 0x400(%rsp), %rdi
leaq 0x410(%rsp), %rax
cmpq %rax, %rdi
je 0x6a30
movq 0x410(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6a30
movq %rax, %r15
leaq 0x58(%rsp), %rbx
jmp 0x6f08
jmp 0x6a87
jmp 0x6a6d
movq %rdx, %rbx
movq %rax, %r15
cmpb $0x1, 0x1f8(%rsp)
jne 0x6c1c
movq 0x1f0(%rsp), %rdi
testq %rdi, %rdi
je 0x6c1c
callq 0x44a0
jmp 0x6c1c
movq %rdx, %rbx
movq %rax, %r15
jmp 0x6c1c
jmp 0x6bc9
jmp 0x6bc9
jmp 0x6bc9
movq %rdx, %rbx
movq %rax, %r15
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x6aaf
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x1f0(%rsp), %rdi
callq 0x40f0
cmpl $0x1, %ebx
jne 0x6987
movq %r15, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f519(%rip), %rdi     # 0x25ff0
leaq 0x15aa4(%rip), %rsi     # 0x1c582
movl $0x28, %edx
callq 0x4410
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x1f4f1(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r14
leaq 0x15c42(%rip), %rsi     # 0x1c750
movl $0x2, %edx
movq %rax, %rdi
callq 0x4410
movq 0x18(%rbx), %rsi
movl 0x10(%rbx), %edx
movq (%rsi), %rax
leaq 0x70(%rsp), %rdi
callq *0x20(%rax)
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %r14, %rdi
callq 0x4410
leaq 0x15a23(%rip), %rsi     # 0x1c569
movl $0x1, %edx
movq %rax, %rdi
callq 0x4410
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6b74
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x43a0
callq 0x4600
movl $0x1, %ebx
jmp 0x6669
jmp 0x6984
jmp 0x6bb0
movq %rax, %r15
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6bb3
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6bb3
movq %rax, %r15
callq 0x4600
jmp 0x6987
jmp 0x6ed9
jmp 0x6ed9
jmp 0x6bc9
movq %rax, %r15
leaq 0x58(%rsp), %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6ee1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
jmp 0x6ee1
movq %rdx, %rbx
movq %rax, %r15
movq 0x1f0(%rsp), %rdi
leaq 0x200(%rsp), %rax
cmpq %rax, %rdi
je 0x6c1c
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x43a0
cmpl $0x8, %ebx
jne 0x6c5c
movq %r15, %rdi
callq 0x4170
movq 0x1f3c0(%rip), %rdi     # 0x25ff0
leaq 0x15aab(%rip), %rsi     # 0x1c6e2
movl $0x3b, %edx
callq 0x4410
movq 0x1f3a8(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
cmpl $0x7, %ebx
jne 0x6c9c
movq %r15, %rdi
callq 0x4170
movq 0x1f380(%rip), %rdi     # 0x25ff0
leaq 0x15a3e(%rip), %rsi     # 0x1c6b5
movl $0x2c, %edx
callq 0x4410
movq 0x1f368(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
cmpl $0x6, %ebx
jne 0x6cdc
movq %r15, %rdi
callq 0x4170
movq 0x1f340(%rip), %rdi     # 0x25ff0
leaq 0x159c4(%rip), %rsi     # 0x1c67b
movl $0x39, %edx
callq 0x4410
movq 0x1f328(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
cmpl $0x5, %ebx
jne 0x6d31
movq %r15, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f2fd(%rip), %rdi     # 0x25ff0
leaq 0x15958(%rip), %rsi     # 0x1c652
movl $0x28, %edx
callq 0x4410
movl (%rbx), %edi
callq 0x4140
movq 0x1f2de(%rip), %rdi     # 0x25ff0
movq %rax, %rsi
callq 0x4380
movq %rax, %rdi
callq 0x41b0
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
cmpl $0x4, %ebx
jne 0x6d71
movq %r15, %rdi
callq 0x4170
movq 0x1f2ab(%rip), %rdi     # 0x25ff0
leaq 0x158eb(%rip), %rsi     # 0x1c637
movl $0x1a, %edx
callq 0x4410
movq 0x1f293(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
cmpl $0x3, %ebx
jne 0x6987
movq %r15, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f264(%rip), %rdi     # 0x25ff0
leaq 0x15899(%rip), %rsi     # 0x1c62c
movl $0xa, %edx
callq 0x4410
cmpq $0x0, 0x8(%rbx)
je 0x6dff
movq 0x1f245(%rip), %rdi     # 0x25ff0
leaq 0x1599e(%rip), %rsi     # 0x1c750
movl $0x2, %edx
callq 0x4410
movq 0x8(%rbx), %rsi
movq 0x1f229(%rip), %rdi     # 0x25ff0
callq 0x4380
cmpq $0x0, 0x18(%rbx)
je 0x6dff
movq 0x1f216(%rip), %rdi     # 0x25ff0
leaq 0x15a77(%rip), %rsi     # 0x1c858
movl $0x1, %edx
callq 0x4410
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq 0x1f1f6(%rip), %rdi     # 0x25ff0
callq 0x4410
cmpl $0x0, (%rbx)
je 0x6e32
movq 0x1f1e5(%rip), %rdi     # 0x25ff0
leaq 0x1593e(%rip), %rsi     # 0x1c750
movl $0x2, %edx
callq 0x4410
movl (%rbx), %edi
callq 0x4140
movq 0x1f1c6(%rip), %rdi     # 0x25ff0
movq %rax, %rsi
callq 0x4380
leaq 0x1f0(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x1f1ac(%rip), %rdi     # 0x25ff0
movl $0x1, %edx
callq 0x4410
movl $0x1, %ebx
callq 0x4600
jmp 0x6669
jmp 0x6e80
jmp 0x6984
jmp 0x6984
movq %rax, %r15
callq 0x4600
jmp 0x6987
jmp 0x6984
jmp 0x6984
movq %rax, %r15
callq 0x4600
jmp 0x6987
movq %rax, %r15
callq 0x4600
jmp 0x6987
movq %rax, %r15
callq 0x4600
jmp 0x6987
jmp 0x6984
movq %rax, %r15
callq 0x4600
jmp 0x6987
jmp 0x6984
movq %rax, %r15
callq 0x4600
jmp 0x6987
movq %rax, %rdi
callq 0x1002f
jmp 0x6ed9
jmp 0x6ed9
jmp 0x6ed9
movq %rax, %r15
leaq 0x58(%rsp), %rbx
leaq 0x1f0(%rsp), %rdi
callq 0x12d4e
leaq 0x100(%rsp), %rdi
callq 0x10ade
leaq 0x120(%rsp), %rdi
callq 0x10d26
leaq 0xc0(%rsp), %rdi
callq 0x10ade
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f3a
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6f51
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x140(%rsp), %rdi
callq 0x10d78
movq %r15, %rdi
callq 0x4630