// File: /workspace/github_cpp_makefile_star2_O1/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 $0x818, %rsp            # imm = 0x818
movq %rsi, %r14
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0x170(%rsp)
movaps %xmm0, 0x160(%rsp)
movaps %xmm0, 0x150(%rsp)
callq 0x41d0
testl %eax, %eax
setne %al
movl %eax, (%rsp)
leaq 0x140(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %r15d, %r15d
movq %r15, -0x8(%rax)
movb %r15b, (%rax)
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r15, -0x8(%rax)
movb %r15b, (%rax)
movq %r15, 0xb0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
cmpl $0x2, %ebp
jl 0x4d97
movl $0x1, %r15d
movb $0x1, %r13b
movslq %r15d, %r12
movq (%r14,%r12,8), %rbx
cmpb $0x2d, (%rbx)
jne 0x4c46
movq %rbx, %rdi
leaq 0x1760c(%rip), %rsi     # 0x1c0fe
callq 0x4510
testl %eax, %eax
je 0x4c9f
movq %rbx, %rdi
leaq 0x17604(%rip), %rsi     # 0x1c10d
callq 0x4510
testl %eax, %eax
je 0x4c9f
movq %rbx, %rdi
leaq 0x17627(%rip), %rsi     # 0x1c147
callq 0x4510
testl %eax, %eax
je 0x4cca
movq %rbx, %rdi
leaq 0x17619(%rip), %rsi     # 0x1c150
callq 0x4510
testl %eax, %eax
je 0x4cca
movq %rbx, %rdi
leaq 0x17605(%rip), %rsi     # 0x1c153
callq 0x4510
testl %eax, %eax
je 0x4cd3
movq %rbx, %rdi
leaq 0x175f5(%rip), %rsi     # 0x1c15a
callq 0x4510
testl %eax, %eax
je 0x4cd3
movq %rbx, %rdi
leaq 0x175e1(%rip), %rsi     # 0x1c15d
callq 0x4510
testl %eax, %eax
je 0x4cda
movq %rbx, %rdi
leaq 0x175d8(%rip), %rsi     # 0x1c16b
callq 0x4510
testl %eax, %eax
je 0x4cda
movq %rbx, %rdi
leaq 0x17604(%rip), %rsi     # 0x1c1ae
callq 0x4510
testl %eax, %eax
je 0x4d25
movq %rbx, %rdi
leaq 0x175f6(%rip), %rsi     # 0x1c1b7
callq 0x4510
testl %eax, %eax
je 0x4d25
movq %rbx, %rdi
leaq 0x175e2(%rip), %rsi     # 0x1c1ba
callq 0x4510
testl %eax, %eax
je 0x4bf8
movq %rbx, %rdi
leaq 0x175da(%rip), %rsi     # 0x1c1c5
callq 0x4510
testl %eax, %eax
jne 0x6820
incl %r15d
movl $0x46, %edx
cmpl %ebp, %r15d
je 0x6810
movslq %r15d, %rax
movq (%r14,%rax,8), %rbx
cmpb $0x0, (%rbx)
je 0x6810
movq 0xc0(%rsp), %r13
movq %rbx, %rdi
callq 0x4190
leaq 0xb8(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rbx, %rcx
movq %rax, %r8
callq 0x45a0
jmp 0x4d2c
leaq 0x410(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
leaq 0x200(%rsp), %rdx
callq 0xfcc6
leaq 0xa0(%rsp), %rdi
movq %r12, %rsi
callq 0x1527e
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0x4d2c
movq 0x420(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x4d2c
incl %r15d
cmpl %ebp, %r15d
jge 0x4d41
movslq %r15d, %rax
movq (%r14,%rax,8), %rsi
cmpb $0x0, (%rsi)
je 0x4d41
leaq 0x150(%rsp), %rdi
callq 0xfca0
jmp 0x4d2c
movl $0x0, (%rsp)
jmp 0x4d2c
movb $0x1, %al
movl %eax, (%rsp)
jmp 0x4d2c
incl %r15d
movl $0x3f, %edx
cmpl %ebp, %r15d
je 0x67f2
movslq %r15d, %rax
movq (%r14,%rax,8), %rbx
cmpb $0x0, (%rbx)
je 0x67f2
movq 0x138(%rsp), %r13
movq %rbx, %rdi
callq 0x4190
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %rbx, %rcx
movq %rax, %r8
callq 0x45a0
jmp 0x4d2c
movb $0x1, 0x21abc(%rip)     # 0x267e8
incl %r15d
cmpl %ebp, %r15d
setl %r13b
jl 0x4ad8
xorl %r15d, %r15d
jmp 0x4d8d
movq 0x212a8(%rip), %rbx     # 0x25ff0
leaq 0x173c1(%rip), %rsi     # 0x1c110
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 0x21276(%rip), %rdi     # 0x25ff0
callq 0x4040
movl $0x1, %r15d
movq %rax, %rdi
callq 0x42a0
testb $0x1, %r13b
jne 0x66c8
xorl %ebx, %ebx
movq %rbx, 0x810(%rsp)
movl $0x1, %esi
movl $0xd, %edi
callq 0x4450
movq %rbx, 0x110(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x100(%rsp)
movq %rbx, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
cmpb $0x0, 0x21a0e(%rip)     # 0x267e8
je 0x4df8
cmpq $0x0, 0x138(%rsp)
je 0x5578
movq 0x130(%rsp), %rdi
jmp 0x5598
movl (%rsp), %eax
notb %al
movzbl %al, %esi
andl $0x1, %esi
leaq 0x150(%rsp), %rdi
callq 0x195f8
xorps %xmm0, %xmm0
leaq 0x200(%rsp), %rdi
movaps %xmm0, (%rdi)
movaps 0x100(%rsp), %xmm0
movq 0x110(%rsp), %rax
movups 0x168(%rsp), %xmm1
movaps %xmm1, 0x100(%rsp)
movq 0x178(%rsp), %rcx
movq %rcx, 0x110(%rsp)
movaps (%rdi), %xmm1
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
movups %xmm1, 0x168(%rsp)
movq $0x0, 0x178(%rsp)
callq 0x10ac4
movq 0xc0(%rsp), %rdx
testq %rdx, %rdx
jne 0x4ea0
testb $0x1, (%rsp)
jne 0x4ea0
leaq 0x176e2(%rip), %rcx     # 0x1c56d
leaq 0xb8(%rsp), %rdi
movl $0x16, %r8d
xorl %esi, %esi
callq 0x45a0
cmpq $0x0, 0xc0(%rsp)
je 0x5ae7
leaq 0xb8(%rsp), %rax
movq %rax, 0x98(%rsp)
movq (%rax), %rsi
leaq 0x200(%rsp), %r12
movq %r12, %rdi
movl $0x8, %edx
callq 0x4650
movq 0x200(%rsp), %rax
movq -0x18(%rax), %rax
movl 0x220(%rsp,%rax), %esi
testb $0x5, %sil
jne 0x5ad0
leaq (%rsp,%rax), %rdi
addq $0x200, %rdi            # imm = 0x200
movl $0x1, 0x1c(%rdi)
callq 0x4610
movq %r15, 0x90(%rsp)
callq 0x44f0
movq %rax, %rbp
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq $0x0, 0x8(%rsp)
leaq 0x58(%rsp), %r15
movq %rbp, (%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x200(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x4370
movsbl %al, %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x4660
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x5aac
movq 0x58(%rsp), %r13
movq 0x60(%rsp), %rbx
leaq (%rbx,%r13), %r14
testq %rbx, %rbx
je 0x4fc3
movzbl (%r13), %r15d
movq %rbp, %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r15,2)
je 0x4fbe
incq %r13
decq %rbx
jne 0x4f9a
movq %r14, %r13
leaq 0x58(%rsp), %r15
movq 0x88(%rsp), %rax
incl %eax
movq %rax, 0x8(%rsp)
cmpq %r14, %r13
je 0x4f41
movzbl (%r13), %eax
cmpl $0x21, %eax
je 0x5091
cmpl $0x23, %eax
je 0x4f41
movq %r13, %rbp
cmpl $0x3d, %eax
jne 0x501d
leaq 0x98(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xb3be
leaq 0x200(%rsp), %r12
movq (%rsp), %rbp
jmp 0x4f41
movq %rbp, %rbx
incq %rbp
cmpq %r14, %rbp
je 0x5048
movzbl (%rbp), %r12d
cmpq $0x3d, %r12
je 0x5048
movq (%rsp), %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r12,2)
je 0x501d
cmpq %r14, %rbp
je 0x538d
movl $0x1, %r12d
movzbl (%rbx,%r12), %r15d
movq (%rsp), %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r15,2)
je 0x5080
leaq (%rbx,%r12), %rax
incq %rax
incq %r12
cmpq %r14, %rax
jne 0x5057
leaq (%rbx,%r12), %rax
incq %r12
leaq 0x58(%rsp), %r15
jmp 0x5396
leaq 0x2(%r13), %r12
xorl %eax, %eax
movq %rax, %rbx
leaq (%r12,%rax), %rbp
cmpq %r14, %rbp
je 0x50c1
movzbl (%rbp), %r15d
movq (%rsp), %rdi
callq 0x4180
movq 0x30(%rax), %rcx
leaq 0x1(%rbx), %rax
testb $0x20, 0x1(%rcx,%r15,2)
je 0x5097
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
cmpq %r14, %rbp
movq (%rsp), %rbp
je 0x5175
leaq (%rbx,%r13), %r12
addq $0x2, %r12
movzbl (%r12), %r15d
movq %rbp, %rdi
callq 0x4180
movq 0x30(%rax), %rax
testb $0x20, 0x1(%rax,%r15,2)
jne 0x514c
movq %r12, %rbp
cmpq %r14, %r12
je 0x5120
movq %r12, %rbp
movsbl (%rbp), %edi
callq 0x4080
testl %eax, %eax
jne 0x5120
incq %rbp
cmpq %r14, %rbp
jne 0x510b
movq %rbp, %rax
subq %r12, %rax
movq %r12, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x5156
movups 0x10(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x38(%rsp)
jmp 0x5165
incq %r12
cmpq %r14, %r12
jne 0x50e7
jmp 0x5175
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x157b8
movq %rbp, %r12
cmpq %r14, %rbp
movq (%rsp), %rbp
jne 0x50e7
movb $0x63, %cl
movl $0x1, %eax
leaq 0x200(%rsp), %r12
leaq 0x17a7b(%rip), %rdx     # 0x1cc06
leaq 0x17a7a(%rip), %rsi     # 0x1cc0c
cmpb (%r13,%rax), %cl
jne 0x51bc
movb (%rax,%rdx), %cl
incq %rax
cmpq $0x6, %rax
jne 0x5192
cmpq $0x4, %rbx
jne 0x51bc
leaq 0x21566(%rip), %rdi     # 0x26718
callq 0x1091c
jmp 0x5557
movb $0x75, %cl
movl $0x1, %eax
cmpb (%r13,%rax), %cl
jne 0x5246
movb (%rax,%rsi), %cl
incq %rax
cmpq $0x6, %rax
jne 0x51c3
cmpq $0x4, %rbx
jne 0x5246
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r14
cmpq %r14, %rbx
leaq 0x20(%rsp), %r15
je 0x5557
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r15, 0x10(%rsp)
leaq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0x127a8
leaq 0x21501(%rip), %rdi     # 0x26718
movq %r13, %rsi
xorl %edx, %edx
callq 0x1560e
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x5238
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
addq $0x10, %rbx
cmpq %r14, %rbx
jne 0x51f4
jmp 0x5557
movb $0x69, %cl
movl $0x1, %eax
cmpb (%r13,%rax), %cl
jne 0x52d9
leaq 0x179b3(%rip), %rcx     # 0x1cc12
movb (%rax,%rcx), %cl
incq %rax
cmpq $0x7, %rax
jne 0x524d
cmpq $0x5, %rbx
jne 0x52d9
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r14
cmpq %r14, %rbx
leaq 0x20(%rsp), %r15
je 0x5557
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r15, 0x10(%rsp)
leaq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0x127a8
leaq 0x2146c(%rip), %rdi     # 0x26718
movq %r13, %rsi
callq 0x156f6
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x52cb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
addq $0x10, %rbx
cmpq %r14, %rbx
jne 0x5289
jmp 0x5557
movl $0x35, %edx
movq 0x20d0b(%rip), %rbx     # 0x25ff0
movq %rbx, %rdi
leaq 0x17981(%rip), %rsi     # 0x1cc70
callq 0x4410
leaq 0x20(%rsp), %r14
leaq 0x10(%rsp), %r15
movl $0xd1b71759, %r12d      # imm = 0xD1B71759
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rdx
movq %rbx, %rdi
callq 0x4410
movq %rax, %rbx
movl $0x7, %edx
movq %rax, %rdi
leaq 0x1793a(%rip), %rsi     # 0x1cc68
callq 0x4410
movl $0x1, %ebp
cmpl $0x9, 0x88(%rsp)
jb 0x54e9
movl $0x4, %ebp
movq 0x8(%rsp), %rax
cmpl $0x63, %eax
jbe 0x54e2
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x54e7
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x54e9
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x5350
addl $-0x3, %ebp
jmp 0x54e9
movl $0x2, %r12d
movq %rbp, %rax
cmpq %r14, %rax
je 0x53d7
cmpb $0x3d, (%rax)
jne 0x53d7
cmpq $0x2, %r12
jne 0x53fa
cmpq 0x58(%rsp), %r13
jne 0x53fa
movq %r15, %rdi
callq 0x4250
leaq 0x200(%rsp), %r12
movq (%rsp), %rbp
leaq 0x21350(%rip), %rdi     # 0x26718
movq %r15, %rsi
xorl %edx, %edx
callq 0x1164c
jmp 0x4f41
leaq 0x98(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0xb3be
leaq 0x200(%rsp), %r12
movq (%rsp), %rbp
jmp 0x4f41
addq %r12, %rbx
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
subq %r13, %rbp
subq %rbx, %r14
leaq (%r14,%rbp), %rsi
incq %rsi
leaq 0x10(%rsp), %rdi
callq 0x45b0
subq 0x58(%rsp), %r13
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %rbp, %rcx
callq 0x43c0
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x4480
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x5470
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x18(%rsp), %rsi
movl $0x1, %ecx
leaq 0x10(%rsp), %r12
movq %r12, %rdi
xorl %edx, %edx
movl $0x3d, %r8d
callq 0x4670
movq 0x18(%rsp), %rsi
movq %r12, %rdi
xorl %edx, %edx
movq %rbx, %rcx
movq %r14, %r8
callq 0x4400
leaq 0x2126d(%rip), %rdi     # 0x26718
movq %r12, %rsi
xorl %edx, %edx
callq 0x1164c
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x54d1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x200(%rsp), %r12
movq (%rsp), %rbp
jmp 0x4f41
addl $-0x2, %ebp
jmp 0x54e9
decl %ebp
movl %ebp, %esi
movq %r14, 0x10(%rsp)
movq %r15, %rdi
movl $0x2d, %edx
callq 0x4420
movq 0x10(%rsp), %rdi
movl %ebp, %esi
movq 0x8(%rsp), %rdx
callq 0x1574a
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x4410
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1703b(%rip), %rsi     # 0x1c56a
callq 0x4410
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
leaq 0x200(%rsp), %r12
movq (%rsp), %rbp
je 0x5557
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x556e
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
leaq 0x58(%rsp), %r15
jmp 0x4f41
movzbl (%rsp), %esi
andl $0x1, %esi
leaq 0x130(%rsp), %rdi
callq 0xfd0e
movq %rax, %rdi
testq %rax, %rax
je 0x67a1
callq 0xfe04
movl %eax, %ebx
leaq 0x410(%rsp), %rdx
movl $0x1, %edi
movl $0x5, %esi
movl %eax, %ecx
callq 0xfff9
leaq 0x58(%rsp), %rdi
leaq 0x410(%rsp), %rdx
movl %ebx, %esi
callq 0x10295
xorps %xmm0, %xmm0
leaq 0x200(%rsp), %rdi
movaps %xmm0, (%rdi)
movaps 0xe0(%rsp), %xmm0
movq 0xf0(%rsp), %rax
leaq 0x58(%rsp), %r14
movups (%r14), %xmm1
movaps %xmm1, 0xe0(%rsp)
movq 0x10(%r14), %rcx
movq %rcx, 0xf0(%rsp)
movaps (%rdi), %xmm1
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
movups %xmm1, (%r14)
movq $0x0, 0x10(%r14)
callq 0x10882
movq %r14, %rdi
callq 0x10882
movq 0xe0(%rsp), %r13
movq 0xe8(%rsp), %rbp
cmpq %rbp, %r13
je 0x5693
leaq 0x100(%rsp), %r15
leaq 0x200(%rsp), %r12
movq (%r13), %rax
movq %rax, 0x200(%rsp)
movb $0x0, 0x208(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x108de
cmpb $0x1, 0x208(%rsp)
jne 0x568a
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x568a
callq 0x44a0
addq $0x20, %r13
cmpq %rbp, %r13
jne 0x564f
leaq 0x2107e(%rip), %rdi     # 0x26718
callq 0x1091c
leaq 0x10(%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 0x56d3
addl %eax, %ebp
movslq %eax, %rcx
addq %rcx, %r15
subl %eax, %r12d
xorl %ecx, %ecx
jmp 0x56f3
callq 0x4060
movl $0x2, %ecx
cmpl $0x4, (%rax)
je 0x56f3
testl %ebp, %ebp
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
cmovgl %ebp, %r13d
movl $0x1, %ecx
testb $0x1, %cl
jne 0x56ff
testl %r12d, %r12d
jg 0x56b2
jmp 0x5702
movl %r13d, %ebp
cmpl $-0x1, %ebp
je 0x68fe
leaq 0x410(%rsp), %rdi
movl %ebx, %esi
callq 0x123a8
movl 0x810(%rsp), %eax
leal -0x400(%rax), %ecx
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %ecx
cmpb $0x4e, 0x410(%rsp,%rcx)
jne 0x691d
cmpl $0x8, 0x814(%rsp)
ja 0x5767
leaq 0x410(%rsp), %r15
movq %r15, %rdi
movl %ebx, %esi
callq 0x12558
testl %eax, %eax
jle 0x5767
cmpl $0x9, 0x814(%rsp)
jb 0x574f
movl 0x810(%rsp), %r15d
leal 0x1(%r15), %eax
addl $0xfffffc01, %r15d      # imm = 0xFFFFFC01
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %r15d
leal -0x3f9(%r15), %ecx
movl %r15d, %eax
cmpl $0xfffffbfe, %ecx       # imm = 0xFFFFFBFE
ja 0x57d3
movl $0x400, %r12d           # imm = 0x400
subl %r15d, %r12d
leaq (%rsp,%rax), %rsi
addq $0x410, %rsi            # imm = 0x410
movq %r14, %rdi
movq %r12, %rdx
callq 0x4310
addq %r14, %r12
addl $0xfffffc08, %r15d      # imm = 0xFFFFFC08
leaq 0x410(%rsp), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x4310
jmp 0x57e0
movq 0x410(%rsp,%rax), %rax
movq %rax, 0x58(%rsp)
movl 0x810(%rsp), %ecx
movl 0x814(%rsp), %eax
leal 0x9(%rcx), %edx
addl $0xfffffc09, %ecx       # imm = 0xFFFFFC09
cmpl $0x400, %edx            # imm = 0x400
cmovbl %edx, %ecx
movl %ecx, 0x810(%rsp)
addl $-0x9, %eax
movl %eax, 0x814(%rsp)
cmpq $0x0, 0x58(%rsp)
je 0x5ae7
testl %eax, %eax
je 0x675d
leaq 0x210(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
cmpq $0x0, 0x58(%rsp)
je 0x5a85
leaq 0x200(%rsp), %rdi
leaq 0x410(%rsp), %r12
movl 0x810(%rsp), %eax
movl 0x814(%rsp), %r9d
leal -0x400(%rax), %edx
cmpl $0x400, %eax            # imm = 0x400
movl %eax, %esi
cmovael %edx, %esi
leaq (%rsp,%rsi), %rcx
addq $0x410, %rcx            # imm = 0x410
testl %r9d, %r9d
je 0x58b6
leal (%r9,%rax), %r8d
cmpl $0x400, %r8d            # imm = 0x400
leal -0x400(%r9,%rax), %r9d
cmovbl %r8d, %r9d
leal (%r12,%r9), %r13d
cmpl %esi, %r9d
leaq 0x810(%rsp), %rsi
cmovbel %esi, %r13d
subl %ecx, %r13d
jmp 0x58b9
xorl %r13d, %r13d
movq 0x58(%rsp), %rsi
cmpq %r13, %rsi
cmovbq %rsi, %r13
movl $0x5, %ebp
testq %r13, %r13
setne %r15b
je 0x59c1
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %edx
cmpb $0x0, 0x410(%rsp,%rdx)
je 0x592b
leal 0x1(%rax), %edx
addl $0xfffffc01, %eax       # imm = 0xFFFFFC01
leal -0x1(%r13), %esi
xorl %r14d, %r14d
cmpl %r14d, %esi
je 0x59be
leal (%rdx,%r14), %r9d
leal (%rax,%r14), %r8d
cmpl $0x400, %r9d            # imm = 0x400
cmovbl %r9d, %r8d
incl %r14d
cmpb $0x0, 0x410(%rsp,%r8)
jne 0x58f8
cmpl %r13d, %r14d
setb %r15b
jmp 0x592e
xorl %r14d, %r14d
movl %r14d, %r8d
movq 0x208(%rsp), %rsi
xorl %edx, %edx
movq %rdi, %r12
callq 0x4400
movl 0x810(%rsp), %eax
movl %r14d, %ecx
incl %ecx
leal (%rax,%r14), %edx
incl %edx
cmpl $0x400, %edx            # imm = 0x400
leal -0x3ff(%rax,%r14), %eax
cmovbl %edx, %eax
movl %eax, 0x810(%rsp)
subl %ecx, 0x814(%rsp)
subq %rcx, 0x58(%rsp)
leaq 0x20d98(%rip), %rdi     # 0x26718
movq %r12, %rsi
xorl %edx, %edx
callq 0x1164c
movq $0x0, 0x208(%rsp)
movq 0x200(%rsp), %rax
movb $0x0, (%rax)
xorl %eax, %eax
cmpq $0x0, 0x58(%rsp)
setne %al
leal (%rax,%rax,2), %ebp
incl %ebp
movq %r12, %rdi
leaq 0x410(%rsp), %r12
jmp 0x59c1
xorl %r15d, %r15d
testb %r15b, %r15b
jne 0x5a6a
movl 0x810(%rsp), %eax
leal -0x400(%rax), %ecx
cmpl $0x400, %eax            # imm = 0x400
cmovbl %eax, %ecx
leaq 0x410(%rsp,%rcx), %rcx
movq 0x208(%rsp), %rsi
movq %rdi, %r14
xorl %edx, %edx
movq %r13, %r8
callq 0x4400
movl 0x810(%rsp), %eax
leal (%rax,%r13), %ecx
cmpl $0x400, %ecx            # imm = 0x400
leal -0x400(%rax,%r13), %edx
cmovbl %ecx, %edx
movl 0x814(%rsp), %eax
movl %edx, 0x810(%rsp)
movl %eax, %ecx
subl %r13d, %ecx
movl %ecx, 0x814(%rsp)
subq %r13, 0x58(%rsp)
je 0x68e3
xorl %ebp, %ebp
cmpl %r13d, %eax
jne 0x5a67
movq %r12, %rdi
movl %ebx, %esi
callq 0x12558
testl %eax, %eax
je 0x6889
jg 0x5a67
callq 0x4060
cmpl $0x4, (%rax)
je 0x5a44
jmp 0x689b
movq %r14, %rdi
testl %ebp, %ebp
je 0x5a79
cmpl $0x4, %ebp
je 0x5858
jmp 0x5a85
cmpq $0x0, 0x58(%rsp)
jne 0x5858
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x5ae7
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x5ae7
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x5ac8
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x90(%rsp), %r15
leaq 0x200(%rsp), %rdi
callq 0x40f0
movb $0x1, %al
testb %al, %al
je 0x66ae
movq 0xa0(%rsp), %rax
cmpq 0xa8(%rsp), %rax
jne 0x5b43
leaq 0x68(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x16c17(%rip), %rsi     # 0x1c720
leaq 0x16c14(%rip), %rdx     # 0x1c724
leaq 0x58(%rsp), %rdi
callq 0x127a8
leaq 0xa0(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1527e
movq 0x58(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5b43
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0xa0(%rsp), %rdx
movq 0xa8(%rsp), %rcx
xorl %eax, %eax
movq %rcx, 0x180(%rsp)
leaq 0x60(%rsp), %rsi
movl $0x0, (%rsi)
movq %rax, 0x8(%rsi)
movq %rsi, 0x10(%rsi)
movq %rsi, 0x18(%rsi)
movq %rax, 0x20(%rsi)
movq %rdx, 0x120(%rsp)
subq %rdx, %rcx
movq %rcx, 0x90(%rsp)
je 0x5f9d
movq $0x0, 0x8(%rsp)
leaq 0xa0(%rsp), %r15
movq 0x120(%rsp), %rbx
movl $0x12, %edx
movq 0x203d2(%rip), %rdi     # 0x25f88
leaq 0x16b68(%rip), %rsi     # 0x1c725
callq 0x4410
movq 0x8(%rsp), %rax
shlq $0x5, %rax
addq %rax, %rbx
movq (%rbx), %rsi
movq %rbx, 0x88(%rsp)
movq 0x8(%rbx), %rdx
movq 0x203a4(%rip), %rdi     # 0x25f88
callq 0x4410
movl $0x4, %edx
movq %rax, %rdi
leaq 0x16b78(%rip), %rsi     # 0x1c770
callq 0x4410
leaq 0x58(%rsp), %rdi
movq 0x88(%rsp), %rsi
leaq 0x100(%rsp), %rdx
callq 0x6fb7
movq %rax, (%rsp)
leaq 0x58(%rsp), %rdi
movq 0x88(%rsp), %rsi
callq 0x10942
movq (%rsp), %rcx
movq %rcx, (%rax)
leaq 0x48(%rcx), %rbp
movq 0x48(%rcx), %rbx
cmpq %rbp, %rbx
je 0x5ccb
leaq 0x10(%rbx), %r13
leaq 0x58(%rsp), %rdi
movq %r13, %rsi
callq 0x16316
movq %rax, %r14
leaq 0x60(%rsp), %rax
cmpq %rax, %r14
je 0x5c68
xorl %r12d, %r12d
jmp 0x5c9c
leaq 0x1e8(%rsp), %rdi
movq %r15, %rsi
callq 0x109be
movq 0x1e8(%rsp), %rdi
movq 0x1f0(%rsp), %rsi
movq %r13, %rdx
callq 0x1639f
cmpq 0x1f0(%rsp), %rax
sete %r12b
leaq 0x60(%rsp), %rax
cmpq %rax, %r14
jne 0x5cb3
leaq 0x1e8(%rsp), %rdi
callq 0x10882
testb %r12b, %r12b
je 0x5cc3
movq %r15, %rdi
movq %r13, %rsi
callq 0x10a48
movq (%rbx), %rbx
jmp 0x5c3c
movq (%rsp), %rax
leaq 0x28(%rax), %r13
movq 0x30(%rax), %rbx
testq %rbx, %rbx
je 0x5d12
leaq 0x1d0(%rsp), %rdi
movq %r15, %rsi
callq 0x109be
movq 0x1d0(%rsp), %rdi
movq 0x1d8(%rsp), %rsi
movq %r13, %rdx
callq 0x1639f
cmpq 0x1d8(%rsp), %rax
sete %bpl
jmp 0x5d14
xorl %ebp, %ebp
testq %rbx, %rbx
je 0x5d26
leaq 0x1d0(%rsp), %rdi
callq 0x10882
testb %bpl, %bpl
je 0x5d7b
leaq 0x1b8(%rsp), %rdi
movq %r15, %rsi
callq 0x109be
movq 0x1b8(%rsp), %rdi
movq 0x1c0(%rsp), %rsi
movq %r13, %rdx
callq 0x1639f
movq %rax, %r14
movq 0x1c0(%rsp), %rbx
leaq 0x1b8(%rsp), %rdi
callq 0x10882
cmpq %rbx, %r14
jne 0x5d7b
movq %r15, %rdi
movq %r13, %rsi
callq 0x10a48
movq (%rsp), %rax
leaq 0x60(%rax), %rbx
movq 0x60(%rax), %r12
cmpq %rbx, %r12
je 0x5de7
leaq 0x1a0(%rsp), %rdi
movq %r15, %rsi
callq 0x109be
leaq 0x10(%r12), %r14
movq 0x1a0(%rsp), %rdi
movq 0x1a8(%rsp), %rsi
movq %r14, %rdx
callq 0x1639f
movq %rax, %r13
movq 0x1a8(%rsp), %rbp
leaq 0x1a0(%rsp), %rdi
callq 0x10882
cmpq %rbp, %r13
jne 0x5de1
movq %r15, %rdi
movq %r14, %rsi
callq 0x10a48
movq (%r12), %r12
jmp 0x5d87
movq (%rsp), %rax
leaq 0x78(%rax), %rbx
movq 0x78(%rax), %r12
cmpq %rbx, %r12
je 0x5e53
leaq 0x188(%rsp), %rdi
movq %r15, %rsi
callq 0x109be
leaq 0x10(%r12), %r14
movq 0x188(%rsp), %rdi
movq 0x190(%rsp), %rsi
movq %r14, %rdx
callq 0x1639f
movq %rax, %r13
movq 0x190(%rsp), %rbp
leaq 0x188(%rsp), %rdi
callq 0x10882
cmpq %rbp, %r13
jne 0x5e4d
movq %r15, %rdi
movq %r14, %rsi
callq 0x10a48
movq (%r12), %r12
jmp 0x5df3
movq (%rsp), %rax
cmpq $0x0, 0x98(%rax)
je 0x5e74
movq (%rsp), %rsi
addq $0x90, %rsi
movq %r15, %rdi
callq 0x10a48
movq 0x8(%rsp), %rdx
incq %rdx
movq 0xa0(%rsp), %rcx
movq 0xa8(%rsp), %rax
movq %rcx, %rbx
subq %rcx, %rax
sarq $0x5, %rax
movq %rdx, 0x8(%rsp)
cmpq %rax, %rdx
jb 0x5baa
jmp 0x5f9d
movq %rdx, %rbx
movq %rax, %r12
leaq 0x1b8(%rsp), %rdi
jmp 0x5ef9
movq %rdx, %rbx
movq %rax, %r12
leaq 0x1d0(%rsp), %rdi
jmp 0x5ef9
jmp 0x5f04
movq %rdx, %rbx
movq %rax, %r12
leaq 0x1e8(%rsp), %rdi
jmp 0x5ef9
movq %rdx, %rbx
movq %rax, %r12
leaq 0x188(%rsp), %rdi
jmp 0x5ef9
movq %rdx, %rbx
movq %rax, %r12
leaq 0x1a0(%rsp), %rdi
callq 0x10882
jmp 0x5f0a
jmp 0x5f04
jmp 0x5f04
movq %rdx, %rbx
movq %rax, %r12
cmpl $0x9, %ebx
jne 0x6f27
movq %r12, %rdi
callq 0x4170
movq %rax, %rbx
movl $0x18, %edx
movq 0x200c6(%rip), %rdi     # 0x25ff0
leaq 0x16807(%rip), %rsi     # 0x1c738
callq 0x4410
movq 0x88(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x200a4(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r14
movl $0x3, %edx
movq %rax, %rdi
leaq 0x167ee(%rip), %rsi     # 0x1c751
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %r14, %rdi
callq 0x4410
movl $0x1, %edx
movq %rax, %rdi
leaq 0x165e4(%rip), %rsi     # 0x1c56b
callq 0x4410
movb $0x1, 0x20856(%rip)     # 0x267e9
callq 0x4600
jmp 0x5e74
movq 0x1ffe4(%rip), %rdi     # 0x25f88
leaq 0x167aa(%rip), %rsi     # 0x1c755
movl $0x1f, %edx
callq 0x4410
movq 0x70(%rsp), %rbx
leaq 0x60(%rsp), %rax
cmpq %rax, %rbx
je 0x6248
leaq 0x58(%rsp), %r14
movq 0x40(%rbx), %rsi
cmpq $0x0, 0x98(%rsi)
je 0x6159
addq $0x90, %rsi
movq %r14, %rdi
callq 0x1673e
movq %rax, %rbp
leaq 0x60(%rsp), %rax
cmpq %rax, %rbp
je 0x6082
movq 0x40(%rbp), %rax
cmpl $0x3, 0xb0(%rax)
jne 0x60eb
movl 0x20(%rax), %eax
decl %eax
cmpl $0x3, %eax
jb 0x6159
movl $0x9, %edx
movq 0x1ffc6(%rip), %rdi     # 0x25ff0
leaq 0x167c6(%rip), %rsi     # 0x1c7f7
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1ffab(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x25, %edx
movq %rax, %rdi
leaq 0x16719(%rip), %rsi     # 0x1c775
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x28, %edx
leaq 0x16748(%rip), %rsi     # 0x1c7c5
jmp 0x614a
movl $0x12, %edx
movq 0x1ff62(%rip), %rdi     # 0x25ff0
leaq 0x16759(%rip), %rsi     # 0x1c7ee
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1ff47(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x24, %edx
movq %rax, %rdi
leaq 0x16741(%rip), %rsi     # 0x1c801
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x17, %edx
movq %rax, %rdi
leaq 0x16742(%rip), %rsi     # 0x1c826
callq 0x4410
jmp 0x6159
movl $0x9, %edx
movq 0x1fef9(%rip), %rdi     # 0x25ff0
leaq 0x166f9(%rip), %rsi     # 0x1c7f7
callq 0x4410
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq 0x1fede(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r13
movl $0x25, %edx
movq %rax, %rdi
leaq 0x1664c(%rip), %rsi     # 0x1c775
callq 0x4410
movq 0x20(%rbp), %rsi
movq 0x28(%rbp), %rdx
movq %r13, %rdi
callq 0x4410
movl $0x29, %edx
leaq 0x16651(%rip), %rsi     # 0x1c79b
movq %rax, %rdi
callq 0x4410
movb $0x1, 0x20690(%rip)     # 0x267e9
movq 0x40(%rbx), %r15
movq 0x60(%r15), %r12
addq $0x60, %r15
cmpq %r15, %r12
je 0x61ce
leaq 0x20(%rbx), %rax
movq %rax, (%rsp)
leaq 0x10(%r12), %rsi
movq %r14, %rdi
callq 0x1673e
leaq 0x60(%rsp), %rcx
cmpq %rcx, %rax
je 0x61c5
movq %rbx, %rbp
movq %r14, %rbx
movq 0x40(%rax), %r14
leaq 0x48(%r14), %r13
movl $0x4, 0x30(%rsp)
movq %r13, %rdi
movq (%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x16784
movq %rax, %rdi
movq %r13, %rsi
callq 0x4070
incq 0x58(%r14)
movq %rbx, %r14
movq %rbp, %rbx
movq (%r12), %r12
cmpq %r15, %r12
jne 0x6172
movq 0x40(%rbx), %r15
movq 0x78(%r15), %r12
addq $0x78, %r15
cmpq %r15, %r12
je 0x622f
leaq 0x10(%r12), %rsi
movq %r14, %rdi
callq 0x1673e
leaq 0x60(%rsp), %rcx
cmpq %rcx, %rax
je 0x6229
movq 0x40(%rbx), %rbp
leaq 0x48(%rbp), %r13
addq $0x20, %rax
movl $0x5, 0x30(%rsp)
movq %r13, %rdi
movq %rax, %rsi
leaq 0x30(%rsp), %rdx
callq 0x16784
movq %rax, %rdi
movq %r13, %rsi
callq 0x4070
incq 0x58(%rbp)
movq (%r12), %r12
jmp 0x61da
movq %rbx, %rdi
callq 0x42b0
movq %rax, %rbx
leaq 0x60(%rsp), %rax
cmpq %rax, %rbx
jne 0x5fcd
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq 0x180(%rsp), %rax
cmpq 0x120(%rsp), %rax
je 0x64f3
movq 0x90(%rsp), %rax
sarq $0x5, %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x90(%rsp)
leaq 0x58(%rsp), %rbx
leaq 0x30(%rsp), %r14
leaq 0x128(%rsp), %r12
xorl %ebp, %ebp
movq %rbp, %rsi
shlq $0x5, %rsi
addq 0xa0(%rsp), %rsi
movq %rbx, %rdi
callq 0x10942
movq (%rax), %rcx
movq %rcx, 0x98(%rsp)
movl $0x18, %eax
testq %rcx, %rcx
je 0x64d9
cmpb $0x0, 0xb4(%rcx)
jne 0x64d9
movl $0x0, 0x128(%rsp)
movq %r14, %rdi
leaq 0x98(%rsp), %rsi
movq %r12, %rdx
callq 0x10a86
movq 0x30(%rsp), %r15
movq 0x38(%rsp), %rdx
movq %rdx, %rcx
subq %r15, %rcx
movq %rcx, %rsi
sarq $0x4, %rsi
decq %rsi
movq %rsi, %r13
shlq $0x4, %r13
movq (%r15,%r13), %rax
movq 0x8(%r15,%r13), %rdi
cmpq 0x58(%rdi), %rax
jae 0x633d
movq 0x48(%rdi), %rsi
testq %rax, %rax
jle 0x635d
movq (%rsi), %rsi
decq %rax
jne 0x6333
jmp 0x6368
movb $0x1, 0xb5(%rdi)
addq $-0x10, %rdx
movq %rdx, 0x38(%rsp)
testq %rsi, %rsi
je 0x64c2
incq -0x20(%r15,%rcx)
jmp 0x62fa
je 0x6368
movq 0x8(%rsi), %rsi
incq %rax
jne 0x635f
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x10942
movq (%rax), %rdx
movq %rdx, 0x128(%rsp)
testq %rdx, %rdx
je 0x63c0
cmpb $0x1, 0xb4(%rdx)
jne 0x6396
cmpb $0x0, 0xb5(%rdx)
je 0x63cb
movb $0x1, 0xb4(%rdx)
movl $0x0, 0xdc(%rsp)
movq %r14, %rdi
movq %r12, %rsi
leaq 0xdc(%rsp), %rdx
callq 0x10a86
jmp 0x62fa
addq %r13, %r15
incq (%r15)
jmp 0x62fa
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
movq %rsi, %r8
sarq $0x6, %r8
movq %rax, %rdi
testq %r8, %r8
jle 0x6420
andq $-0x40, %rsi
movq %rsi, %rdi
addq %rax, %rdi
incq %r8
leaq 0x20(%rax), %rsi
cmpq %rdx, -0x18(%rsi)
je 0x6460
cmpq %rdx, -0x8(%rsi)
je 0x6466
cmpq %rdx, 0x8(%rsi)
je 0x6470
cmpq %rdx, 0x18(%rsi)
je 0x646c
decq %r8
addq $0x40, %rsi
cmpq $0x1, %r8
jg 0x63fb
movq %rcx, %r8
subq %rdi, %r8
sarq $0x4, %r8
cmpq $0x1, %r8
je 0x6453
cmpq $0x2, %r8
je 0x6449
movq %rcx, %rsi
cmpq $0x3, %r8
jne 0x6470
cmpq %rdx, 0x8(%rdi)
je 0x645b
addq $0x10, %rdi
cmpq %rdx, 0x8(%rdi)
je 0x645b
addq $0x10, %rdi
cmpq %rdx, 0x8(%rdi)
cmovneq %rcx, %rdi
movq %rdi, %rsi
jmp 0x6470
addq $-0x20, %rsi
jmp 0x6470
addq $-0x10, %rsi
jmp 0x6470
addq $0x10, %rsi
movq %rsi, %rdx
subq %rax, %rdx
je 0x64c2
subq %rsi, %rcx
je 0x64aa
sarq $0x4, %rcx
testq %rcx, %rcx
jle 0x64aa
incq %rcx
leaq 0x8(%rax), %rdi
movq (%rdi,%rdx), %r8
movq %r8, (%rdi)
movq -0x8(%rdi,%rdx), %r8
movq %r8, -0x8(%rdi)
decq %rcx
addq $0x10, %rdi
cmpq $0x1, %rcx
jg 0x648d
movq 0x38(%rsp), %rcx
movq %rcx, %rdx
subq %rsi, %rdx
addq %rdx, %rax
cmpq %rax, %rcx
je 0x64c2
movq %rax, 0x38(%rsp)
movq 0x30(%rsp), %rax
cmpq 0x38(%rsp), %rax
movl $0x16, %eax
movl $0x0, %ecx
cmovel %ecx, %eax
cmpl $0x18, %eax
je 0x64e2
testl %eax, %eax
jne 0x64f3
incq %rbp
cmpq 0x90(%rsp), %rbp
jne 0x629f
movq 0x30(%rsp), %rax
cmpq 0x38(%rsp), %rax
je 0x663a
movb $0x1, 0x202df(%rip)     # 0x267e9
movq 0x1fadf(%rip), %rdi     # 0x25ff0
leaq 0x16326(%rip), %rsi     # 0x1c83e
movl $0x18, %edx
callq 0x4410
movq 0x30(%rsp), %r12
movq 0x38(%rsp), %r13
cmpq %r13, %r12
je 0x65f2
movq 0x1fab4(%rip), %rbx     # 0x25ff0
leaq 0x16028(%rip), %rbp     # 0x1c56b
movq (%r12), %r14
movq 0x8(%r12), %r15
movl $0x4, %edx
movq %rbx, %rdi
leaq 0x162fc(%rip), %rsi     # 0x1c857
callq 0x4410
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x4410
movl $0x3, %edx
movq %rax, %rdi
leaq 0x162de(%rip), %rsi     # 0x1c85c
callq 0x4410
movq 0x48(%r15), %r15
testq %r14, %r14
jle 0x659d
movq (%r15), %r15
decq %r14
jne 0x658c
jmp 0x659f
movq 0x8(%r15), %r15
incq %r14
jne 0x6596
cmpl $0x4, 0x30(%r15)
jne 0x65ba
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x162ab(%rip), %rsi     # 0x1c860
callq 0x4410
cmpl $0x5, 0x30(%r15)
jne 0x65d5
movl $0xe, %edx
movq %rbx, %rdi
leaq 0x162a0(%rip), %rsi     # 0x1c870
callq 0x4410
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x4410
addq $0x10, %r12
cmpq %r13, %r12
jne 0x6543
movq 0x1f9f7(%rip), %rdi     # 0x25ff0
leaq 0x16257(%rip), %rsi     # 0x1c857
movl $0x4, %edx
callq 0x4410
movq 0x30(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0x1f9cf(%rip), %rdi     # 0x25ff0
callq 0x4410
leaq 0x16195(%rip), %rsi     # 0x1c7c2
movl $0x2, %edx
movq %rax, %rdi
callq 0x4410
movq 0x1f9af(%rip), %rdi     # 0x25ff0
leaq 0x16237(%rip), %rsi     # 0x1c87f
movl $0x1b, %edx
callq 0x4410
leaq 0x16256(%rip), %rax     # 0x1c8af
leaq 0x1623b(%rip), %rsi     # 0x1c89b
cmpb $0x0, 0x20182(%rip)     # 0x267e9
cmovneq %rax, %rsi
movl $0x24, %eax
movl $0x13, %edx
cmovneq %rax, %rdx
movq 0x1f908(%rip), %rdi     # 0x25f88
callq 0x4410
movzbl 0x2015c(%rip), %r15d    # 0x267e9
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x66a4
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
leaq 0x58(%rsp), %rdi
callq 0x12b02
leaq 0xe0(%rsp), %rdi
callq 0x10882
leaq 0x100(%rsp), %rdi
callq 0x10ac4
leaq 0xa0(%rsp), %rdi
callq 0x10882
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x66fa
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x671f
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x168(%rsp), %rbx
movq %rbx, %rdi
callq 0x10ac4
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x6748
movq 0x160(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
movl %r15d, %eax
addq $0x818, %rsp            # imm = 0x818
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x410(%rsp), %r14
movq %r14, %rdi
movl %ebx, %esi
callq 0x12558
testl %eax, %eax
je 0x68bf
jg 0x5825
callq 0x4060
cmpl $0x4, (%rax)
je 0x6765
movq %rax, %r15
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
movl (%r15), %eax
movl %eax, (%rbx)
jmp 0x68d2
movq 0x1f848(%rip), %rbx     # 0x25ff0
leaq 0x15dfe(%rip), %rsi     # 0x1c5ad
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 0x1f816(%rip), %rdi     # 0x25ff0
callq 0x4040
movl $0x1, %r15d
movq %rax, %rdi
callq 0x42a0
jmp 0x66ae
leaq 0x15975(%rip), %rsi     # 0x1c16e
movq 0x1f7f0(%rip), %rdi     # 0x25ff0
movl $0x1, %r15d
callq 0x4410
jmp 0x4d8d
movq 0x1f7d9(%rip), %rdi     # 0x25ff0
leaq 0x159aa(%rip), %rsi     # 0x1c1c8
jmp 0x6800
leaq 0x159e8(%rip), %rsi     # 0x1c20f
movq %rbx, %rdi
callq 0x4510
testl %eax, %eax
je 0x686c
movq 0x1f7b6(%rip), %rdi     # 0x25ff0
leaq 0x15cee(%rip), %rsi     # 0x1c52f
movl $0x22, %edx
callq 0x4410
movq (%r14,%r12,8), %rsi
movq 0x1f79a(%rip), %rdi     # 0x25ff0
callq 0x4380
movq %rax, %rdi
movl $0x1a, %edx
leaq 0x15ce8(%rip), %rsi     # 0x1c552
jmp 0x6800
movq 0x1f715(%rip), %rdi     # 0x25f88
leaq 0x1599c(%rip), %rsi     # 0x1c216
movl $0x318, %edx            # imm = 0x318
callq 0x4410
jmp 0x4d3c
movl $0x4, %edi
callq 0x41c0
movl $0x0, (%rax)
jmp 0x68ae
movq %rax, %r13
movl $0x4, %edi
callq 0x41c0
movl (%r13), %ecx
movl %ecx, (%rax)
leaq 0x1f2cb(%rip), %rsi     # 0x25b80
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
movl $0x0, (%rax)
leaq 0x1f2a7(%rip), %rsi     # 0x25b80
movq %rbx, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x1, %edi
callq 0x41c0
leaq 0x1f24c(%rip), %rsi     # 0x25b40
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
movl $0x4, %edi
callq 0x41c0
movq %rax, %rbx
callq 0x4060
movl (%rax), %eax
movl %eax, (%rbx)
leaq 0x1f275(%rip), %rsi     # 0x25b90
jmp 0x68d9
movl $0x1, %edi
callq 0x41c0
leaq 0x1f212(%rip), %rsi     # 0x25b40
movq %rax, %rdi
xorl %edx, %edx
callq 0x4620
jmp 0x6f24
movq %rax, %r12
callq 0x4600
jmp 0x6f27
jmp 0x6996
jmp 0x6af5
movq %rax, %rdi
callq 0xfd03
jmp 0x695b
movq %rdx, %rbx
movq %rax, %r12
jmp 0x6b17
movq %rax, %r12
movq 0x58(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6f31
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6f31
jmp 0x69ef
movq %rdx, %rbx
movq %rax, %r12
jmp 0x6b24
movq %rdx, %rbx
movq %rax, %r12
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6afb
movq 0x20(%rsp), %rsi
incq %rsi
jmp 0x6ae4
jmp 0x6af5
jmp 0x6abc
movq %rdx, %rbx
movq %rax, %r12
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
jne 0x6a12
jmp 0x6ad2
jmp 0x6af5
jmp 0x6f24
jmp 0x6acc
jmp 0x6a7f
movq %rax, %r12
jmp 0x6f31
jmp 0x69fe
jmp 0x6acc
movq %rdx, %rbx
movq %rax, %r12
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x6ad2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6ad2
jmp 0x6acc
jmp 0x6acc
jmp 0x6c4b
jmp 0x6c28
jmp 0x6c28
jmp 0x6a7f
jmp 0x6c4b
jmp 0x6af5
jmp 0x6af5
movq %rax, %r12
movq 0x410(%rsp), %rdi
leaq 0x420(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4b
movq 0x420(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6f4b
movq %rax, %r12
jmp 0x6f4b
jmp 0x6af5
jmp 0x6abc
movq %rdx, %rbx
movq %rax, %r12
cmpb $0x1, 0x208(%rsp)
jne 0x6c76
movq 0x200(%rsp), %rdi
testq %rdi, %rdi
je 0x6c76
callq 0x44a0
jmp 0x6c76
jmp 0x6af5
movq %rdx, %rbx
movq %rax, %r12
jmp 0x6c76
jmp 0x6c28
movq %rdx, %rbx
movq %rax, %r12
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x6afb
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
jmp 0x6afb
jmp 0x6c28
jmp 0x6c28
movq %rdx, %rbx
movq %rax, %r12
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x6b17
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x200(%rsp), %rdi
callq 0x40f0
cmpl $0x1, %ebx
jne 0x6f31
movq %r12, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f4b1(%rip), %rdi     # 0x25ff0
leaq 0x15a3e(%rip), %rsi     # 0x1c584
movl $0x28, %edx
callq 0x4410
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rdx
movq 0x1f489(%rip), %rdi     # 0x25ff0
callq 0x4410
movq %rax, %r14
leaq 0x15bdc(%rip), %rsi     # 0x1c752
movl $0x2, %edx
movq %rax, %rdi
callq 0x4410
movq 0x18(%rbx), %rsi
movl 0x10(%rbx), %edx
movq (%rsi), %rax
leaq 0x58(%rsp), %rdi
callq *0x20(%rax)
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %r14, %rdi
callq 0x4410
leaq 0x159bd(%rip), %rsi     # 0x1c56b
movl $0x1, %edx
movq %rax, %rdi
callq 0x4410
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6bd6
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
callq 0x4600
movl $0x1, %r15d
xorl %eax, %eax
jmp 0x5adf
jmp 0x69ef
jmp 0x6c0f
movq %rax, %r12
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6c12
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x43a0
jmp 0x6c12
movq %rax, %r12
callq 0x4600
jmp 0x6f31
jmp 0x6f24
jmp 0x6c28
jmp 0x6f24
movq %rax, %r12
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x6f27
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x43a0
jmp 0x6f27
movq %rdx, %rbx
movq %rax, %r12
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x6c76
movq 0x210(%rsp), %rsi
incq %rsi
callq 0x43a0
cmpl $0x8, %ebx
jne 0x6cb7
movq %r12, %rdi
callq 0x4170
movq 0x1f366(%rip), %rdi     # 0x25ff0
leaq 0x15a53(%rip), %rsi     # 0x1c6e4
movl $0x3b, %edx
callq 0x4410
movq 0x1f34e(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
cmpl $0x7, %ebx
jne 0x6cf8
movq %r12, %rdi
callq 0x4170
movq 0x1f325(%rip), %rdi     # 0x25ff0
leaq 0x159e5(%rip), %rsi     # 0x1c6b7
movl $0x2c, %edx
callq 0x4410
movq 0x1f30d(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
cmpl $0x6, %ebx
jne 0x6d39
movq %r12, %rdi
callq 0x4170
movq 0x1f2e4(%rip), %rdi     # 0x25ff0
leaq 0x1596a(%rip), %rsi     # 0x1c67d
movl $0x39, %edx
callq 0x4410
movq 0x1f2cc(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
cmpl $0x5, %ebx
jne 0x6d8f
movq %r12, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f2a0(%rip), %rdi     # 0x25ff0
leaq 0x158fd(%rip), %rsi     # 0x1c654
movl $0x28, %edx
callq 0x4410
movl (%rbx), %edi
callq 0x4140
movq 0x1f281(%rip), %rdi     # 0x25ff0
movq %rax, %rsi
callq 0x4380
movq %rax, %rdi
callq 0x41b0
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
cmpl $0x4, %ebx
jne 0x6dd0
movq %r12, %rdi
callq 0x4170
movq 0x1f24d(%rip), %rdi     # 0x25ff0
leaq 0x1588f(%rip), %rsi     # 0x1c639
movl $0x1a, %edx
callq 0x4410
movq 0x1f235(%rip), %rdi     # 0x25ff0
callq 0x41b0
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
cmpl $0x3, %ebx
jne 0x6f31
movq %r12, %rdi
callq 0x4170
movq %rax, %rbx
movq 0x1f205(%rip), %rdi     # 0x25ff0
leaq 0x1583c(%rip), %rsi     # 0x1c62e
movl $0xa, %edx
callq 0x4410
cmpq $0x0, 0x8(%rbx)
je 0x6e5e
movq 0x1f1e6(%rip), %rdi     # 0x25ff0
leaq 0x15941(%rip), %rsi     # 0x1c752
movl $0x2, %edx
callq 0x4410
movq 0x8(%rbx), %rsi
movq 0x1f1ca(%rip), %rdi     # 0x25ff0
callq 0x4380
cmpq $0x0, 0x18(%rbx)
je 0x6e5e
movq 0x1f1b7(%rip), %rdi     # 0x25ff0
leaq 0x15a1a(%rip), %rsi     # 0x1c85a
movl $0x1, %edx
callq 0x4410
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq 0x1f197(%rip), %rdi     # 0x25ff0
callq 0x4410
cmpl $0x0, (%rbx)
je 0x6e91
movq 0x1f186(%rip), %rdi     # 0x25ff0
leaq 0x158e1(%rip), %rsi     # 0x1c752
movl $0x2, %edx
callq 0x4410
movl (%rbx), %edi
callq 0x4140
movq 0x1f167(%rip), %rdi     # 0x25ff0
movq %rax, %rsi
callq 0x4380
leaq 0x200(%rsp), %rsi
movb $0xa, (%rsi)
movq 0x1f14d(%rip), %rdi     # 0x25ff0
movl $0x1, %edx
callq 0x4410
movl $0x1, %r15d
callq 0x4600
jmp 0x66ae
jmp 0x6edd
jmp 0x69ef
jmp 0x69ef
movq %rax, %r12
callq 0x4600
jmp 0x6f31
jmp 0x69ef
jmp 0x69ef
movq %rax, %r12
callq 0x4600
jmp 0x6f31
movq %rax, %r12
callq 0x4600
jmp 0x6f31
movq %rax, %r12
callq 0x4600
jmp 0x6f31
jmp 0x69ef
movq %rax, %r12
callq 0x4600
jmp 0x6f31
jmp 0x69ef
movq %rax, %r12
callq 0x4600
jmp 0x6f31
jmp 0x6951
jmp 0x6f24
jmp 0x6f24
jmp 0x6f24
movq %rax, %r12
leaq 0x58(%rsp), %rdi
callq 0x12b02
leaq 0xe0(%rsp), %rdi
callq 0x10882
leaq 0x100(%rsp), %rdi
callq 0x10ac4
leaq 0xa0(%rsp), %rdi
callq 0x10882
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x6f7d
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x43a0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x6fa2
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x43a0
leaq 0x150(%rsp), %rdi
callq 0x10b12
movq %r12, %rdi
callq 0x4630