// File: /workspace/github_cpp_makefile_star2_O1/bonetblai[P]mdp-engine/race/main.cc
// Function: main
int main(int argc, const char **argv) {
    FILE *is = 0;
    float p = 1.0;
    unsigned num_trials = 1;
    float dead_end_value = 1e3;

    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] == 'd') || (string(*argv) == "--dead-end-value") ) {
            dead_end_value = strtod(argv[1], 0);
            ++argv;
            --argc;
        } else {
            usage(cout);
            exit(-1);
        }
    }

    // read problem parameters
    if( argc >= 1 ) {
        is = fopen(argv[0], "r");
        if( argc >= 2 ) p = strtod(argv[1], 0);
    } else {
        usage(cout);
        exit(-1);
    }

    // build problem instances
    cout << "main: seed=" << Algorithm::g_seed << endl;
    Random::set_seed(Algorithm::g_seed);

    grid_t grid;
    grid.parse(cout, is);
    problem_t problem(grid, p, dead_end_value);
    fclose(is);

    // 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;
    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 $0x388, %rsp            # imm = 0x388
movq %rsi, %r13
movl %edi, %ebp
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
movq $0x0, 0xd0(%rsp)
leaq 0x288(%rsp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x6180
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
movss %xmm0, 0x5c(%rsp)
xorps %xmm0, %xmm0
cvtsi2ssq 0x8(%rbx), %xmm0
movss %xmm0, 0x54(%rsp)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbx, %rsi
callq 0x6180
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
movss %xmm0, 0x58(%rsp)
xorps %xmm0, %xmm0
cvtsi2ssq 0x8(%rbx), %xmm0
movss %xmm0, 0x8(%rsp)
movq 0x31712(%rip), %rax     # 0x37fd8
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)
leaq 0x8(%r13), %r14
cmpl $0x3, %ebp
jl 0x6ba9
leaq 0x298(%rsp), %r15
movss 0x2170a(%rip), %xmm0    # 0x28004
movss %xmm0, (%rsp)
movl $0x1, %eax
movq %rax, 0x10(%rsp)
leaq 0x288(%rsp), %r12
movq 0x8(%r13), %rax
cmpb $0x2d, (%rax)
jne 0x6bc0
movq (%r14), %rsi
movq %r12, %rdi
leaq 0x170(%rsp), %rdx
callq 0x60e0
movq %r12, %rdi
leaq 0x21832(%rip), %rsi     # 0x2816d
callq 0x60a0
movl %eax, %ebx
movq 0x288(%rsp), %rdi
cmpq %r15, %rdi
je 0x6954
callq 0x6240
testl %ebx, %ebx
je 0x6a08
movq (%r14), %rax
movb 0x1(%rax), %bl
movb $0x1, %r12b
cmpb $0x72, %bl
je 0x6997
movq (%r14), %rsi
leaq 0x268(%rsp), %r12
movq %r12, %rdi
leaq 0xf(%rsp), %rdx
callq 0x60e0
movq %r12, %rdi
leaq 0x217ed(%rip), %rsi     # 0x28179
callq 0x60a0
testl %eax, %eax
sete %r12b
cmpb $0x72, %bl
je 0x69b6
movq 0x268(%rsp), %rdi
leaq 0x278(%rsp), %rax
cmpq %rax, %rdi
je 0x69b6
callq 0x6240
testb %r12b, %r12b
je 0x6a16
movq 0x10(%r13), %rsi
leaq 0x288(%rsp), %r12
movq %r12, %rdi
leaq 0x170(%rsp), %rdx
callq 0x60e0
leaq 0xc0(%rsp), %rdi
movq %r12, %rsi
callq 0xb464
movq 0x288(%rsp), %rdi
cmpq %r15, %rdi
je 0x69f9
callq 0x6240
addq $0x10, %r13
addl $-0x2, %ebp
movq %r13, %r14
jmp 0x6b97
decl %ebp
movb $0x0, 0x31847(%rip)     # 0x38258
jmp 0x6b97
movq (%r14), %rax
movb 0x1(%rax), %bl
movb $0x1, %r12b
cmpb $0x73, %bl
je 0x6a51
movq (%r14), %rsi
leaq 0x248(%rsp), %r12
movq %r12, %rdi
leaq 0xe(%rsp), %rdx
callq 0x60e0
movq %r12, %rdi
leaq 0x2173d(%rip), %rsi     # 0x28183
callq 0x60a0
testl %eax, %eax
sete %r12b
cmpb $0x73, %bl
je 0x6a70
movq 0x248(%rsp), %rdi
leaq 0x258(%rsp), %rax
cmpq %rax, %rdi
je 0x6a70
callq 0x6240
testb %r12b, %r12b
je 0x6a97
movq 0x10(%r13), %rdi
addq $0x10, %r13
xorl %esi, %esi
xorl %edx, %edx
callq 0x60c0
movl %eax, 0x317e4(%rip)     # 0x38270
movl %eax, 0x317e2(%rip)     # 0x38274
jmp 0x6b89
movq (%r14), %rax
movb 0x1(%rax), %bl
movb $0x1, %r12b
cmpb $0x74, %bl
je 0x6ad2
movq (%r14), %rsi
leaq 0x228(%rsp), %r12
movq %r12, %rdi
leaq 0xd(%rsp), %rdx
callq 0x60e0
movq %r12, %rdi
leaq 0x216c3(%rip), %rsi     # 0x2818a
callq 0x60a0
testl %eax, %eax
sete %r12b
cmpb $0x74, %bl
je 0x6af1
movq 0x228(%rsp), %rdi
leaq 0x238(%rsp), %rax
cmpq %rax, %rdi
je 0x6af1
callq 0x6240
testb %r12b, %r12b
je 0x6b0e
movq 0x10(%r13), %rdi
addq $0x10, %r13
xorl %esi, %esi
xorl %edx, %edx
callq 0x60c0
movq %rax, 0x10(%rsp)
jmp 0x6b89
movq (%r14), %rax
movb 0x1(%rax), %bl
movb $0x1, %r12b
cmpb $0x64, %bl
je 0x6b49
movq (%r14), %rsi
leaq 0x208(%rsp), %r14
movq %r14, %rdi
leaq 0xc(%rsp), %rdx
callq 0x60e0
movq %r14, %rdi
leaq 0x21655(%rip), %rsi     # 0x28193
callq 0x60a0
testl %eax, %eax
sete %r12b
cmpb $0x64, %bl
je 0x6b68
movq 0x208(%rsp), %rdi
leaq 0x218(%rsp), %rax
cmpq %rax, %rdi
je 0x6b68
callq 0x6240
testb %r12b, %r12b
je 0x74e1
movq 0x10(%r13), %rdi
addq $0x10, %r13
xorl %esi, %esi
callq 0x61e0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rsp)
addl $-0x2, %ebp
movq %r13, %r14
leaq 0x288(%rsp), %r12
movq %r14, %r13
addq $0x8, %r14
cmpl $0x2, %ebp
jg 0x6911
jmp 0x6bc0
movl $0x1, %eax
movq %rax, 0x10(%rsp)
movss 0x21449(%rip), %xmm0    # 0x28004
movss %xmm0, (%rsp)
cmpl $0x2, %ebp
jl 0x74d3
movq (%r14), %rdi
leaq 0x21de1(%rip), %rsi     # 0x289b4
callq 0x6300
movq %rax, %rbx
cmpl $0x2, %ebp
jne 0x6bea
movss 0x21420(%rip), %xmm0    # 0x28008
jmp 0x6bf9
movq 0x10(%r13), %rdi
xorl %esi, %esi
callq 0x61e0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x1c(%rsp)
movq 0x313d2(%rip), %rdi     # 0x37fd8
leaq 0x21597(%rip), %rsi     # 0x281a4
movl $0xb, %edx
callq 0x62d0
movl 0x31653(%rip), %esi     # 0x38270
movq 0x313b4(%rip), %rdi     # 0x37fd8
callq 0x61a0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movslq 0x31616(%rip), %rdi     # 0x38270
leaq 0x288(%rsp), %r14
movw %di, 0x4(%r14)
movw %di, 0x2(%r14)
movw %di, (%r14)
callq 0x63f0
movq %r14, %rdi
callq 0x6100
leaq 0x2ffcc(%rip), %rax     # 0x36c50
leaq 0x340(%rsp), %rdi
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movq 0x3132f(%rip), %rsi     # 0x37fd8
movq %rbx, %rdx
callq 0x276ec
leaq 0x288(%rsp), %rdi
leaq 0x340(%rsp), %rsi
movss 0x1c(%rsp), %xmm0
movss (%rsp), %xmm1
callq 0x765e
movq %rbx, %rdi
callq 0x6280
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movq %rax, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
leaq 0x300a3(%rip), %rcx     # 0x36da8
leaq 0x180(%rsp), %rdx
movq %rcx, -0x10(%rdx)
movl %eax, (%rdx)
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x1b0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x1e0(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0xc0(%rsp), %rax
movq 0xc8(%rsp), %rcx
subq %rax, %rcx
shrq $0x5, %rcx
testl %ecx, %ecx
jle 0x6f6c
leaq 0xe8(%rsp), %r13
leaq 0xe0(%rsp), %r14
leaq 0x288(%rsp), %rbp
leaq 0x2141b(%rip), %rbx     # 0x281b0
xorl %edi, %edi
movq %rdi, (%rsp)
shlq $0x5, %rdi
addq %rax, %rdi
movl $0x0, 0xe8(%rsp)
xorl %eax, %eax
movq %rax, 0xf0(%rsp)
movq %r13, 0xf8(%rsp)
movq %r13, 0x100(%rsp)
movq %rax, 0x108(%rsp)
movq %r14, %rsi
movl $0x2c, %edx
callq 0x7875
movq 0xf8(%rsp), %r15
cmpq %r13, %r15
je 0x6f32
leaq 0x20(%r15), %r12
leaq 0x40(%r15), %r14
leaq 0x170(%rsp), %rdi
movq %rbp, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x7ae2
movq %r12, %rdi
movq %rbx, %rsi
callq 0x60a0
testl %eax, %eax
je 0x6e54
movq %r12, %rdi
leaq 0x21396(%rip), %rsi     # 0x281ba
callq 0x60a0
testl %eax, %eax
jne 0x6f1e
leaq 0x1d8(%rsp), %rdi
movq %r14, %rsi
callq 0x25d04
leaq 0x1e0(%rsp), %rcx
cmpq %rcx, %rax
je 0x6ecb
movq 0x40(%rax), %r14
jmp 0x6ece
leaq 0x178(%rsp), %rdi
movq %r14, %rsi
callq 0x259c4
leaq 0x180(%rsp), %rcx
cmpq %rcx, %rax
je 0x6e77
movq 0x40(%rax), %r14
jmp 0x6e7a
xorl %r14d, %r14d
testq %r14, %r14
je 0x6f1e
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0xb31c
movq %r14, 0x40(%rsp)
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
callq 0x25a4e
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6f1e
jmp 0x6f19
xorl %r14d, %r14d
testq %r14, %r14
je 0x6f1e
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0xb31c
movq %r14, 0x40(%rsp)
leaq 0xa0(%rsp), %rdi
movq %r12, %rsi
callq 0x25d8e
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6f1e
callq 0x6240
movq %r15, %rdi
callq 0x62e0
movq %rax, %r15
cmpq %r13, %rax
jne 0x6ded
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0xb3ac
movq (%rsp), %rdi
incq %rdi
movq 0xc0(%rsp), %rax
movq 0xc8(%rsp), %rcx
subq %rax, %rcx
shrq $0x5, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rdi
jl 0x6d97
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rax
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0x704a
leaq 0xf8(%rsp), %r13
xorl %ebp, %ebp
leaq 0xe0(%rsp), %r15
leaq 0x20(%rsp), %r12
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x20(%rsi,%rbx), %rdx
addq %rbx, %rsi
movq %rbp, 0xe0(%rsp)
movq %r13, 0xe8(%rsp)
movq %rbp, 0xf0(%rsp)
movb $0x0, 0xf8(%rsp)
leaq 0x170(%rsp), %rdi
leaq 0x2c0(%rsp), %rcx
movq %r15, %r8
callq 0x8916
movq %r12, %rdi
movq %r15, %rsi
callq 0x8b2a
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x701b
callq 0x6240
incq %r14
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rax
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
addq $0x28, %rbx
cmpq %rax, %r14
jl 0x6fbe
movb 0x31208(%rip), %al      # 0x38258
testb %al, %al
leaq 0x214b0(%rip), %rcx     # 0x28509
leaq 0x24e7f(%rip), %rsi     # 0x2bedf
cmovneq %rcx, %rsi
leaq 0x14(%rsi), %rdx
testb %al, %al
leaq 0xf0(%rsp), %rax
movq %rax, -0x10(%rax)
cmoveq %rsi, %rdx
leaq 0xe0(%rsp), %rdi
callq 0xb04e
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x30f3a(%rip), %rdi     # 0x37fd8
callq 0x62d0
movq %rax, %rbx
leaq 0x21114(%rip), %rsi     # 0x281c1
movl $0x53, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x70fb
callq 0x6240
movq 0x20(%rsp), %rax
cmpq 0x28(%rsp), %rax
je 0x716a
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rax
subq %rdx, %rax
shrq $0x4, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0x716a
xorl %r14d, %r14d
movq 0x30eac(%rip), %rbx     # 0x37fd8
leaq 0x170(%rsp), %r15
xorl %r12d, %r12d
addq %r14, %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x8b9c
incq %r12
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rax
subq %rdx, %rax
shrq $0x4, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
addq $0x50, %r14
cmpq %rax, %r12
jl 0x7137
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rax
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0x725d
leaq 0x2c0(%rsp), %rbx
xorl %r14d, %r14d
leaq 0x170(%rsp), %r15
leaq 0xe0(%rsp), %r12
leaq 0x60(%rsp), %r13
xorl %ebp, %ebp
movq 0x20(%rsi,%r14), %rdx
addq %r14, %rsi
leaq 0xf0(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq $0x0, 0xe8(%rsp)
movb $0x0, 0xf0(%rsp)
movq %r15, %rdi
movq %rbx, %rcx
movq %r12, %r8
movq 0x10(%rsp), %r9
pushq $0x1
pushq $0x64
callq 0x94a4
addq $0x10, %rsp
movq %r13, %rdi
movq %r12, %rsi
callq 0x966e
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x722e
callq 0x6240
incq %rbp
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rax
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
addq $0x28, %r14
cmpq %rax, %rbp
jl 0x71c2
movb 0x30ff5(%rip), %al      # 0x38258
testb %al, %al
leaq 0x24c73(%rip), %rsi     # 0x2bedf
leaq 0x21296(%rip), %rcx     # 0x28509
cmovneq %rcx, %rsi
leaq 0x14(%rsi), %rdx
testb %al, %al
leaq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
movq %rax, (%rdi)
cmoveq %rsi, %rdx
callq 0xb04e
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x30d28(%rip), %rdi     # 0x37fd8
callq 0x62d0
movq %rax, %rbx
leaq 0x20f56(%rip), %rsi     # 0x28215
movl $0x51, %edx
movq %rax, %rdi
callq 0x62d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x730d
callq 0x6240
movq 0x60(%rsp), %rax
cmpq 0x68(%rsp), %rax
je 0x737c
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rax
subq %rdx, %rax
shrq $0x3, %rax
imull $0x38e38e39, %eax, %eax # imm = 0x38E38E39
testl %eax, %eax
jle 0x737c
xorl %r15d, %r15d
movq 0x30c9a(%rip), %rbx     # 0x37fd8
leaq 0x170(%rsp), %r14
xorl %r12d, %r12d
addq %r15, %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x96d6
incq %r12
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rax
subq %rdx, %rax
shrq $0x3, %rax
imull $0x38e38e39, %eax, %eax # imm = 0x38E38E39
cltq
addq $0x48, %r15
cmpq %rax, %r12
jl 0x7349
movq 0x30c55(%rip), %rdi     # 0x37fd8
leaq 0x20edd(%rip), %rsi     # 0x28267
movl $0x11, %edx
callq 0x62d0
movss 0x8(%rsp), %xmm0
addss 0x54(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
leaq 0xe0(%rsp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x6180
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
movss %xmm0, (%rsp)
xorps %xmm0, %xmm0
cvtsi2ssq 0x8(%rbx), %xmm0
subss 0x8(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbx, %rsi
callq 0x6180
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
cvtsi2ssq 0x8(%rbx), %xmm1
addss 0x10(%rsp), %xmm1
mulss 0x20c09(%rip), %xmm1    # 0x2800c
movss 0x5c(%rsp), %xmm2
addss 0x58(%rsp), %xmm2
movss (%rsp), %xmm3
subss %xmm2, %xmm3
addss %xmm0, %xmm3
addss %xmm1, %xmm3
xorps %xmm0, %xmm0
cvtss2sd %xmm3, %xmm0
movq 0x30baa(%rip), %rdi     # 0x37fd8
callq 0x63b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6250
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x61b0
leaq 0x60(%rsp), %rdi
callq 0x9aa4
leaq 0x20(%rsp), %rdi
callq 0x9ae8
leaq 0x170(%rsp), %rdi
callq 0x9b2c
leaq 0x80(%rsp), %rdi
callq 0x9bec
leaq 0xa0(%rsp), %rdi
callq 0x9c30
leaq 0x288(%rsp), %rdi
callq 0x9c74
leaq 0x340(%rsp), %rdi
callq 0x9cfc
leaq 0xc0(%rsp), %rdi
callq 0x9d38
xorl %eax, %eax
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x30afe(%rip), %rdi     # 0x37fd8
callq 0x67fc
jmp 0x74ed
movq 0x30af0(%rip), %rdi     # 0x37fd8
callq 0x67fc
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x6310
jmp 0x7565
jmp 0x7565
jmp 0x756d
jmp 0x7572
jmp 0x7501
movq %rax, %rbx
jmp 0x763c
jmp 0x7565
movq %rax, %rbx
movq 0x288(%rsp), %rdi
cmpq %r15, %rdi
je 0x7649
callq 0x6240
jmp 0x7649
jmp 0x7565
jmp 0x7565
jmp 0x756d
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x7596
jmp 0x7591
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x75b7
jmp 0x75b2
jmp 0x7565
movq %rax, %rbx
jmp 0x7649
movq %rax, %rbx
jmp 0x7596
movq %rax, %rbx
jmp 0x75b7
jmp 0x75f8
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x7596
callq 0x6240
leaq 0x60(%rsp), %rdi
callq 0x9aa4
jmp 0x75b7
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x75b7
callq 0x6240
leaq 0x20(%rsp), %rdi
callq 0x9ae8
jmp 0x7608
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x75fb
jmp 0x75ed
jmp 0x75f8
jmp 0x75f8
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x75fb
callq 0x6240
jmp 0x75fb
jmp 0x75f8
jmp 0x75f8
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0xb3ac
leaq 0x170(%rsp), %rdi
callq 0x9b2c
leaq 0x80(%rsp), %rdi
callq 0x9bec
leaq 0xa0(%rsp), %rdi
callq 0x9c30
leaq 0x288(%rsp), %rdi
callq 0x9c74
leaq 0x340(%rsp), %rdi
callq 0x9cfc
leaq 0xc0(%rsp), %rdi
callq 0x9d38
movq %rbx, %rdi
callq 0x6440