// File: /workspace/github_cpp_makefile_star2_O2/bonetblai[P]mdp-engine/ctp3/main.cc
// Function: main
int main(int argc, const char **argv) {
    int cache_capacity = (int)5e5;
    int shortcut_cost = (int)5e3;
    float dead_end_value = 0;
    unsigned num_trials = 1;

    int calculate_features = 0;
    int calculate_nsamples = 0;

    vector<string> requests;

    float start_time = Utils::read_time_in_seconds();
    cout << fixed;

    // parse arguments
    for( ++argv, --argc; (argc > 1) && (**argv == '-'); ++argv, --argc ) {
        if( string(*argv) == "--no-colors" ) {
            Utils::g_use_colors = false;
        } else if( ((*argv)[1] == 'r') || (string(*argv) == "--request") ) {
            requests.push_back(argv[1]);
            ++argv;
            --argc;
        } else if( ((*argv)[1] == 's') || (string(*argv) == "--seed") ) {
            Algorithm::g_seed = strtoul(argv[1], 0, 0);
            Online::g_seed = Algorithm::g_seed;
            ++argv;
            --argc;
        } else if( ((*argv)[1] == 't') || (string(*argv) == "--trials") ) {
            num_trials = strtoul(argv[1], 0, 0);
            ++argv;
            --argc;
        } else if( ((*argv)[1] == 'c') || (string(*argv) == "--shortcut-cost") ) {
            shortcut_cost = strtoul(argv[1], 0, 0);
            ++argv;
            --argc;
        } else if( ((*argv)[1] == 'd') || (string(*argv) == "--dead-end-value") ) {
            dead_end_value = strtod(argv[1], 0);
            ++argv;
            --argc;
        } else if( ((*argv)[1] == 'f') || (string(*argv) == "--calculate-features") ) {
            calculate_nsamples = strtoul(argv[1], 0, 0);
            calculate_features = true;
            ++argv;
            --argc;
        } else {
            usage(cout);
            exit(-1);
        }
    }

    // read problem parameters
    CTP::graph_t graph(false, shortcut_cost);
    if( argc >= 1 ) {
        ifstream is(argv[0], ifstream::in);
        if( !graph.parse(is) ) exit(-1);
        is.close();
    } else {
        usage(cout);
        exit(-1);
    }

    // build problem instances
    cout << "main: seed=" << Algorithm::g_seed << endl;
    Random::set_seed(Algorithm::g_seed);
    state_t::initialize(graph, false, cache_capacity);
    problem_t problem(graph, dead_end_value, false, cache_capacity);

    if( calculate_features ) {
        float probability = probability_bad_weather(graph, calculate_nsamples);
        cout << "P(bad weather)=" << probability << endl;
        pair<float, float> p = branching_factor(problem, calculate_nsamples);
        cout << "avg-branching=" << p.first << endl;
        cout << "max-branching=" << p.second << endl;
    }

    // build requests
    vector<pair<string, Online::Policy::policy_t<state_t>*> > policies;
    vector<pair<string, Algorithm::algorithm_t<state_t>*> > algorithms;
    Dispatcher::dispatcher_t<state_t> dispatcher;
    dispatcher.insert_heuristic("ctp-min-min()", new ctp_min_min_t(problem));
    dispatcher.insert_policy("ctp-optimistic()", new ctp_optimistic_policy_t(problem, graph, 1.0));
    for( int i = 0; i < int(requests.size()); ++i ) {
        const string &request_str = requests[i];
        std::multimap<std::string, std::string> request;
        Utils::tokenize(request_str, request);
        for( std::multimap<std::string, std::string>::const_iterator it = request.begin(); it != request.end(); ++it ) {
            dispatcher.create_request(problem, it->first, it->second);
            if( it->first == "algorithm" ) {
                Algorithm::algorithm_t<state_t> *algorithm = dispatcher.fetch_algorithm(it->second);
                if( algorithm != 0 ) algorithms.push_back(make_pair(it->second, algorithm));
            } else if( it->first == "policy" ) {
                Online::Policy::policy_t<state_t> *policy = dispatcher.fetch_policy(it->second);
                if( policy != 0 ) policies.push_back(make_pair(it->second, policy));
            }
        }
    }

    // solve problems with requested algorithms
    vector<Dispatcher::dispatcher_t<state_t>::solve_result_t> solve_results;
    for( int i = 0; i < int(algorithms.size()); ++i ) {
        const string &request = algorithms[i].first;
        const Algorithm::algorithm_t<state_t> &algorithm = *algorithms[i].second;
        Dispatcher::dispatcher_t<state_t>::solve_result_t result;
        dispatcher.solve(request, algorithm, problem.init(), result);
        solve_results.push_back(result);
    }

    cout << Utils::warning() << "the following stats may aggregate figures when elements are shared among algorithms" << endl;
    if( !solve_results.empty() ) {
        for( int i = 0; i < int(solve_results.size()); ++i ) {
            dispatcher.print_stats(cout, solve_results[i]);
        }
    }

    // evaluate requested policies
    vector<Dispatcher::dispatcher_t<state_t>::evaluate_result_t> evaluate_results;
    for( int i = 0; i < int(policies.size()); ++i ) {
        const string &request = policies[i].first;
        const Online::Policy::policy_t<state_t> &policy = *policies[i].second;
        Dispatcher::dispatcher_t<state_t>::evaluate_result_t result;
        dispatcher.evaluate(request, policy, problem.init(), result, num_trials, 100, true);
        evaluate_results.push_back(result);
    }

    cout << Utils::warning() << "the following stats may aggregate figures when elements are shared among policies" << endl;
    if( !evaluate_results.empty() ) {
        for( int i = 0; i < int(evaluate_results.size()); ++i ) {
            dispatcher.print_stats(cout, evaluate_results[i]);
        }
    }

    cout << "main: total-time=" << Utils::read_time_in_seconds() - start_time << endl;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x498, %rsp            # imm = 0x498
movq %rsi, %r15
movl %edi, %ebp
xorps %xmm0, %xmm0
leaq 0xd0(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
callq 0x62f2
movss %xmm0, 0x2c(%rsp)
movq 0x2f97b(%rip), %rax     # 0x34fd8
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl 0x18(%rax,%rcx), %edx
orl $0x4, %edx
movl %edx, 0x18(%rax,%rcx)
movl $0x1388, %eax           # imm = 0x1388
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
pushq $0x1
popq %rax
movq %rax, 0x38(%rsp)
movb $0x1, %al
movq %rax, 0x30(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x290(%rsp), %r13
leaq 0xe8(%rsp), %r14
leaq 0x8(%r15), %r12
cmpl $0x3, %ebp
jl 0x590b
movq (%r12), %rsi
cmpb $0x2d, (%rsi)
jne 0x590b
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1aaaa(%rip), %rsi     # 0x20188
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x56ff
decl %ebp
movb $0x0, 0x2fb5e(%rip)     # 0x35258
movq %r12, %r15
jmp 0x56af
movq (%r12), %rsi
cmpb $0x72, 0x1(%rsi)
je 0x5731
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1aa76(%rip), %rsi     # 0x20194
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x5764
movq 0x10(%r15), %rsi
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
leaq 0xd0(%rsp), %rdi
movq %r13, %rsi
callq 0xba7c
addq $0x10, %r15
movq %r13, %rdi
callq 0x5120
addl $-0x2, %ebp
jmp 0x56af
movq (%r12), %rsi
cmpb $0x73, 0x1(%rsi)
je 0x5796
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1aa1b(%rip), %rsi     # 0x2019e
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x57bb
movq 0x10(%r15), %rdi
addq $0x10, %r15
xorl %esi, %esi
xorl %edx, %edx
callq 0x50c0
movl %eax, 0x2fb0f(%rip)     # 0x352bc
movl %eax, 0x2fb0d(%rip)     # 0x352c0
addl $-0x2, %ebp
jmp 0x56af
movq (%r12), %rsi
cmpb $0x74, 0x1(%rsi)
je 0x583d
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1a9cb(%rip), %rsi     # 0x201a5
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
jne 0x583d
movq (%r12), %rsi
cmpb $0x63, 0x1(%rsi)
je 0x581f
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1a9a2(%rip), %rsi     # 0x201ae
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x585b
movq 0x10(%r15), %rdi
addq $0x10, %r15
xorl %esi, %esi
xorl %edx, %edx
callq 0x50c0
movq %rax, 0x10(%rsp)
addl $-0x2, %ebp
jmp 0x56af
movq 0x10(%r15), %rdi
addq $0x10, %r15
xorl %esi, %esi
xorl %edx, %edx
callq 0x50c0
movq %rax, 0x38(%rsp)
addl $-0x2, %ebp
jmp 0x56af
movq (%r12), %rsi
cmpb $0x64, 0x1(%rsi)
je 0x588d
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1a944(%rip), %rsi     # 0x201be
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x58ae
movq 0x10(%r15), %rdi
addq $0x10, %r15
xorl %esi, %esi
callq 0x5210
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0xc(%rsp)
addl $-0x2, %ebp
jmp 0x56af
movq (%r12), %rsi
cmpb $0x66, 0x1(%rsi)
je 0x58e4
movq %r13, %rdi
movq %r14, %rdx
callq 0x50e0
movq %r13, %rdi
leaq 0x1a902(%rip), %rsi     # 0x201cf
callq 0x6357
movl %eax, %ebx
movq %r13, %rdi
callq 0x5120
testb %bl, %bl
je 0x612c
movq 0x10(%r15), %rdi
addq $0x10, %r15
movq $0x0, 0x30(%rsp)
xorl %esi, %esi
xorl %edx, %edx
callq 0x50c0
movq %rax, 0x20(%rsp)
addl $-0x2, %ebp
jmp 0x56af
andq $0x0, 0x1a0(%rsp)
movb $0x0, 0x1a8(%rsp)
movq 0x10(%rsp), %rax
movl %eax, 0x1ac(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x1b0(%rsp)
movups %xmm0, 0x1c0(%rsp)
movups %xmm0, 0x1d0(%rsp)
movups %xmm0, 0x1e0(%rsp)
andq $0x0, 0x1f0(%rsp)
cmpl $0x2, %ebp
jl 0x6116
movq (%r12), %rsi
leaq 0x290(%rsp), %rdi
pushq $0x8
popq %rdx
callq 0x5440
leaq 0x1a0(%rsp), %rdi
leaq 0x290(%rsp), %rsi
callq 0x6364
testb %al, %al
je 0x6124
leaq 0x290(%rsp), %rdi
callq 0x5070
leaq 0x290(%rsp), %rdi
callq 0x5090
movq 0x2f629(%rip), %rdi     # 0x34fd8
leaq 0x1a82e(%rip), %rsi     # 0x201e4
callq 0x5290
movl 0x2f8fb(%rip), %esi     # 0x352bc
movq %rax, %rdi
callq 0x51c0
movq %rax, %rdi
callq 0x5130
movl 0x2f8e5(%rip), %edi     # 0x352bc
callq 0x6763
leaq 0x1a0(%rsp), %rdi
xorl %esi, %esi
movl $0x7a120, %edx          # imm = 0x7A120
callq 0x678e
leaq 0x290(%rsp), %r15
leaq 0x1a0(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
movss 0xc(%rsp), %xmm0
xorl %edx, %edx
movl $0x7a120, %ecx          # imm = 0x7A120
callq 0x68e4
testb $0x1, 0x30(%rsp)
jne 0x5acf
leaq 0x1a0(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x69a8
movss %xmm0, 0x10(%rsp)
movq 0x2f596(%rip), %rdi     # 0x34fd8
leaq 0x1a7a7(%rip), %rsi     # 0x201f0
callq 0x5290
movq %rax, %rdi
movss 0x10(%rsp), %xmm0
callq 0x51f0
movq %rax, %rdi
callq 0x5130
leaq 0x290(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x6a75
movaps %xmm0, 0x10(%rsp)
movq 0x2f556(%rip), %rdi     # 0x34fd8
leaq 0x1a777(%rip), %rsi     # 0x20200
callq 0x5290
movq %rax, %rdi
movaps 0x10(%rsp), %xmm0
callq 0x51f0
movq %rax, %rdi
callq 0x5130
movq 0x2f52e(%rip), %rdi     # 0x34fd8
leaq 0x1a75e(%rip), %rsi     # 0x2020f
callq 0x5290
movaps 0x10(%rsp), %xmm0
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movq %rax, %rdi
callq 0x51f0
movq %rax, %rdi
callq 0x5130
andq $0x0, 0xc0(%rsp)
xorps %xmm0, %xmm0
andq $0x0, 0xa0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movaps %xmm0, 0x90(%rsp)
leaq 0x2e605(%rip), %rax     # 0x34100
leaq 0x208(%rsp), %rcx
movq %rax, -0x10(%rcx)
andl $0x0, (%rcx)
andq $0x0, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
andq $0x0, 0x20(%rcx)
leaq 0x238(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x268(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x1a6c1(%rip), %rsi     # 0x2021e
leaq 0xe8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x50e0
pushq $0x20
popq %rdi
callq 0x52a0
movq %r15, 0x8(%rax)
andq $0x0, 0x10(%rax)
andl $0x0, 0x18(%rax)
leaq 0x2e45d(%rip), %rcx     # 0x33fe8
movq %rcx, (%rax)
leaq 0x1f8(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
movq %rax, %rdx
callq 0x6b7e
leaq 0xe8(%rsp), %rdi
callq 0x5120
leaq 0x1a672(%rip), %rsi     # 0x2022c
leaq 0xe8(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x50e0
pushq $0x38
popq %rdi
callq 0x52a0
movq %r15, 0x8(%rax)
movl 0x2f6e2(%rip), %ecx     # 0x352c0
movl %ecx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x14(%rax)
leaq 0x2e489(%rip), %rcx     # 0x34078
movq %rcx, (%rax)
movq %r14, 0x28(%rax)
movl $0x3f800000, 0x30(%rax) # imm = 0x3F800000
leaq 0x1f8(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
movq %rax, %rdx
callq 0x6bd6
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
callq 0x5120
leaq 0xf0(%rsp), %r13
xorl %ecx, %ecx
leaq 0x1f8(%rsp), %r15
leaq 0x40(%rsp), %rbx
movq 0xd0(%rsp), %rdi
movq 0xd8(%rsp), %rax
subq %rdi, %rax
shrq $0x5, %rax
cltq
cmpq %rax, %rcx
jge 0x5d94
movq %rcx, 0x10(%rsp)
movq %rcx, %rax
shlq $0x5, %rax
addq %rax, %rdi
andl $0x0, 0xf0(%rsp)
andq $0x0, 0xf8(%rsp)
movq %r13, 0x100(%rsp)
movq %r13, 0x108(%rsp)
andq $0x0, 0x110(%rsp)
movq %r14, %rsi
pushq $0x2c
popq %rdx
callq 0x6c2e
movq 0x100(%rsp), %rbp
cmpq %r13, %rbp
je 0x5d77
leaq 0x20(%rbp), %r12
leaq 0x40(%rbp), %r14
movq %r15, %rdi
leaq 0x290(%rsp), %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x6dfe
movq %r12, %rdi
leaq 0x1a562(%rip), %rsi     # 0x2023d
callq 0x6357
testb %al, %al
je 0x5d19
movq %r15, %rdi
movq %r14, %rsi
callq 0x775e
movq %rax, %r12
testq %rax, %rax
je 0x5d67
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5370
movq %r12, 0x60(%rsp)
leaq 0x90(%rsp), %rdi
movq %rbx, %rsi
callq 0x1e946
jmp 0x5d5f
movq %r12, %rdi
leaq 0x1a524(%rip), %rsi     # 0x20247
callq 0x6357
testb %al, %al
je 0x5d67
movq %r15, %rdi
movq %r14, %rsi
callq 0x777e
movq %rax, %r12
testq %rax, %rax
je 0x5d67
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5370
movq %r12, 0x60(%rsp)
leaq 0xb0(%rsp), %rdi
movq %rbx, %rsi
callq 0x1eba2
movq %rbx, %rdi
callq 0x5120
movq %rbp, %rdi
callq 0x52e0
movq %rax, %rbp
jmp 0x5caa
leaq 0xe8(%rsp), %r14
movq %r14, %rdi
callq 0xb9c0
movq 0x10(%rsp), %rcx
incq %rcx
jmp 0x5c3c
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rbx
movaps %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
leaq 0xec(%rsp), %rbp
xorl %r13d, %r13d
leaq 0x1f8(%rsp), %r15
leaq 0xe8(%rsp), %r12
xorl %r14d, %r14d
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rax
subq %rsi, %rax
cqto
pushq $0x28
popq %rcx
idivq %rcx
cltq
cmpq %rax, %r14
jge 0x5e80
movq 0x20(%rsi,%r13), %rdx
orl $-0x1, 0xe8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rbp)
movups %xmm0, 0x20(%rbp)
movups %xmm0, 0x10(%rbp)
movups %xmm0, (%rbp)
andq $0x0, 0x40(%rbp)
movb $0x1, 0x144(%rsp)
andq $0x0, 0x148(%rsp)
orl $-0x1, 0x150(%rsp)
addq %r13, %rsi
movups %xmm0, 0x48(%rbp)
leaq 0x168(%rsp), %rax
movq %rax, 0x158(%rsp)
andq $0x0, 0x160(%rsp)
movb $0x0, 0x168(%rsp)
movq %r15, %rdi
leaq 0x2b0(%rsp), %rcx
movq %r12, %r8
callq 0x779e
movq %rbx, %rdi
movq %r12, %rsi
callq 0x78b2
movq %r12, %rdi
callq 0x78e2
incq %r14
addq $0x28, %r13
jmp 0x5dc2
leaq 0xe8(%rsp), %rdi
callq 0x78f8
movq 0x2f144(%rip), %rdi     # 0x34fd8
leaq 0xe8(%rsp), %rsi
callq 0x5250
leaq 0x1a3a6(%rip), %rsi     # 0x2024e
movq %rax, %rdi
callq 0x5290
movq %rax, %rdi
callq 0x5130
leaq 0xe8(%rsp), %rdi
callq 0x5120
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rax
cmpq %rax, %rcx
je 0x5f25
xorl %r14d, %r14d
movl $0xb8, %r12d
movq 0x2f0f4(%rip), %rbx     # 0x34fd8
leaq 0x1f8(%rsp), %r15
xorl %r13d, %r13d
subq %rcx, %rax
cqto
idivq %r12
cltq
cmpq %rax, %r13
jge 0x5f25
addq %r14, %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %rcx, %rdx
callq 0x792c
incq %r13
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rax
addq $0xb8, %r14
jmp 0x5eef
xorps %xmm0, %xmm0
leaq 0x70(%rsp), %rbx
movaps %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
leaq 0xf8(%rsp), %r14
xorl %r13d, %r13d
leaq 0x1f8(%rsp), %r15
leaq 0xe8(%rsp), %r12
xorl %ebp, %ebp
movq 0xb0(%rsp), %rsi
movq 0xb8(%rsp), %rax
subq %rsi, %rax
cqto
pushq $0x28
popq %rcx
idivq %rcx
cltq
cmpq %rax, %rbp
jge 0x5fcf
movq 0x20(%rsi,%r13), %rdx
addq %r13, %rsi
movq %r14, 0xe8(%rsp)
andq $0x0, 0xf0(%rsp)
movb $0x0, 0xf8(%rsp)
movq %r15, %rdi
leaq 0x2b0(%rsp), %rcx
movq %r12, %r8
movq 0x38(%rsp), %r9
pushq $0x1
pushq $0x64
callq 0x7e98
popq %rax
popq %rcx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x7f58
movq %r12, %rdi
callq 0x5120
incq %rbp
addq $0x28, %r13
jmp 0x5f52
leaq 0xe8(%rsp), %rdi
callq 0x78f8
movq 0x2eff5(%rip), %rdi     # 0x34fd8
leaq 0xe8(%rsp), %rsi
callq 0x5250
leaq 0x1a2ab(%rip), %rsi     # 0x202a2
movq %rax, %rdi
callq 0x5290
movq %rax, %rdi
callq 0x5130
leaq 0xe8(%rsp), %rdi
callq 0x5120
movq 0x70(%rsp), %rcx
movq 0x78(%rsp), %rax
cmpq %rax, %rcx
je 0x606f
xorl %r15d, %r15d
pushq $0x48
popq %r12
movq 0x2efa7(%rip), %rbx     # 0x34fd8
leaq 0x1f8(%rsp), %r14
xorl %r13d, %r13d
subq %rcx, %rax
cqto
idivq %r12
cltq
cmpq %rax, %r13
jge 0x606f
addq %r15, %rcx
movq %r14, %rdi
movq %rbx, %rsi
movq %rcx, %rdx
callq 0x7f84
incq %r13
movq 0x70(%rsp), %rcx
movq 0x78(%rsp), %rax
addq $0x48, %r15
jmp 0x603c
movq 0x2ef62(%rip), %rdi     # 0x34fd8
leaq 0x1a277(%rip), %rsi     # 0x202f4
callq 0x5290
movq %rax, %rbx
callq 0x62f2
subss 0x2c(%rsp), %xmm0
movq %rbx, %rdi
callq 0x51f0
movq %rax, %rdi
callq 0x5130
leaq 0x70(%rsp), %rdi
callq 0x81d8
leaq 0x40(%rsp), %rdi
callq 0x81fa
leaq 0x1f8(%rsp), %rdi
callq 0x821c
leaq 0x90(%rsp), %rdi
callq 0x82d2
leaq 0xb0(%rsp), %rdi
callq 0x82f4
leaq 0x290(%rsp), %rdi
callq 0x8316
leaq 0x1a0(%rsp), %rdi
callq 0x833e
leaq 0xd0(%rsp), %rdi
callq 0x8382
xorl %eax, %eax
addq $0x498, %rsp            # imm = 0x498
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2eebb(%rip), %rdi     # 0x34fd8
callq 0x560c
jmp 0x6124
pushq $-0x1
popq %rdi
callq 0x5300
movq 0x2eea5(%rip), %rdi     # 0x34fd8
callq 0x560c
jmp 0x6124
jmp 0x61dd
jmp 0x61dd
jmp 0x61dd
jmp 0x61dd
jmp 0x61dd
jmp 0x61dd
jmp 0x61e5
jmp 0x61ea
jmp 0x6164
movq %rax, %rbx
jmp 0x6252
jmp 0x61be
jmp 0x61be
jmp 0x6172
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x5120
jmp 0x6252
jmp 0x61b4
movq %rax, %rbx
leaq 0x290(%rsp), %rdi
callq 0x5090
jmp 0x6286
jmp 0x61e5
jmp 0x61f1
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x5120
jmp 0x621d
movq %rax, %rbx
jmp 0x6279
jmp 0x61dd
movq %rax, %rbx
jmp 0x6286
movq %rax, %rbx
leaq 0x290(%rsp), %rdi
callq 0x5120
jmp 0x6293
jmp 0x61dd
movq %rax, %rbx
jmp 0x6293
movq %rax, %rbx
jmp 0x6201
movq %rax, %rbx
jmp 0x621d
jmp 0x6242
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x5120
leaq 0x70(%rsp), %rdi
callq 0x81d8
jmp 0x621d
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x78e2
leaq 0x40(%rsp), %rdi
callq 0x81fa
jmp 0x6252
jmp 0x622f
jmp 0x6242
jmp 0x6242
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x5120
jmp 0x6245
jmp 0x6242
jmp 0x6242
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xb9c0
leaq 0x1f8(%rsp), %rdi
callq 0x821c
leaq 0x90(%rsp), %rdi
callq 0x82d2
leaq 0xb0(%rsp), %rdi
callq 0x82f4
leaq 0x290(%rsp), %rdi
callq 0x8316
leaq 0x1a0(%rsp), %rdi
callq 0x833e
leaq 0xd0(%rsp), %rdi
callq 0x8382
movq %rbx, %rdi
callq 0x5410