// File: /workspace/github_cpp_makefile_star2_O3/bonetblai[P]mdp-engine/wet/main.cc
// Function: main
int main(int argc, const char **argv) {
    size_t size = 0;
    float p = 0.0;
    unsigned num_trials = 1;

    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] == 'x') || (string(*argv) == "--version-x") ) {
                version += 1;
        } else if( ((*argv)[1] == 'y') || (string(*argv) == "--version-y") ) {
                version += 2;
        } else if( ((*argv)[1] == 'z') || (string(*argv) == "--version-z") ) {
                version += 4;
        } else {
            usage(cout);
            exit(-1);
        }
    }

    // check version modifiers
    if( ZVER && YVER ) {
        cout << "Y and Z cannot be used simultaneously." << endl;
        exit(-1);
    }

    // read problem parameters
    if( argc == 2 ) {
        size = strtoul(argv[0], 0, 0);
        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);
    state_t init(Random::random(size), Random::random(size));
    state_t goal(Random::random(size), Random::random(size));
    problem_t problem(size, p, init, goal);
    //problem.print(cout);

    // 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 $0x248, %rsp            # imm = 0x248
movq %rsi, %rbp
movl %edi, %r13d
xorps %xmm0, %xmm0
movaps %xmm0, 0xc0(%rsp)
movq $0x0, 0xd0(%rsp)
leaq 0x178(%rsp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x5150
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 0x5150
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
movss %xmm0, 0x58(%rsp)
xorps %xmm0, %xmm0
cvtsi2ssq 0x8(%rbx), %xmm0
movss %xmm0, 0x4(%rsp)
movq 0x2e851(%rip), %rax     # 0x33fd8
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(%rbp), %r12
leal -0x1(%r13), %r15d
movl $0x1, %eax
movq %rax, 0x8(%rsp)
cmpl $0x3, %r13d
jl 0x5ac1
movl $0x1, %eax
movq %rax, 0x8(%rsp)
leaq 0x178(%rsp), %r14
movq 0x8(%rbp), %rsi
cmpb $0x2d, (%rsi)
jne 0x5ac1
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f9c7(%rip), %rsi     # 0x251ba
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x5814
callq 0x5200
testl %ebx, %ebx
je 0x5a4e
movq (%r12), %rsi
cmpb $0x72, 0x1(%rsi)
je 0x5a0a
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f982(%rip), %rsi     # 0x251c6
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x5865
callq 0x5200
testl %ebx, %ebx
je 0x5a0a
movq (%r12), %rsi
cmpb $0x73, 0x1(%rsi)
je 0x5a57
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f93b(%rip), %rsi     # 0x251d0
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x58b6
callq 0x5200
testl %ebx, %ebx
je 0x5a57
movq (%r12), %rsi
cmpb $0x74, 0x1(%rsi)
je 0x5a76
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f8f1(%rip), %rsi     # 0x251d7
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x5907
callq 0x5200
testl %ebx, %ebx
je 0x5a76
movq (%r12), %rsi
cmpb $0x78, 0x1(%rsi)
je 0x5ab0
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f8a9(%rip), %rsi     # 0x251e0
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x5958
callq 0x5200
testl %ebx, %ebx
je 0x5ab0
movq (%r12), %rsi
cmpb $0x79, 0x1(%rsi)
je 0x5ab8
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f864(%rip), %rsi     # 0x251ec
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x59a9
callq 0x5200
testl %ebx, %ebx
je 0x5ab8
movq (%r12), %rsi
cmpb $0x7a, 0x1(%rsi)
je 0x59fe
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
movq %r14, %rdi
leaq 0x1f823(%rip), %rsi     # 0x251f8
callq 0x5090
movl %eax, %ebx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x59f6
callq 0x5200
testl %ebx, %ebx
jne 0x6456
addl $0x4, 0x2e84f(%rip)     # 0x34254
jmp 0x5a96
movq 0x10(%rbp), %rsi
movq %r14, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x50d0
leaq 0xc0(%rsp), %rdi
movq %r14, %rsi
callq 0x9ad0
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x5a48
callq 0x5200
addq $0x10, %rbp
jmp 0x5a8c
movb $0x0, 0x2e7e3(%rip)     # 0x34238
jmp 0x5a96
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
xorl %esi, %esi
xorl %edx, %edx
callq 0x50b0
movl %eax, 0x2e7f2(%rip)     # 0x34260
movl %eax, 0x2e7f0(%rip)     # 0x34264
jmp 0x5a8c
movq 0x10(%rbp), %rdi
addq $0x10, %rbp
xorl %esi, %esi
xorl %edx, %edx
callq 0x50b0
movq %rax, 0x8(%rsp)
addl $-0x2, %r13d
movq %rbp, %r12
movl %r13d, %r15d
movl %r15d, %r13d
movq %r12, %rbp
addq $0x8, %r12
leal -0x1(%r13), %r15d
cmpl $0x2, %r13d
jg 0x57cc
jmp 0x5ac1
incl 0x2e79e(%rip)           # 0x34254
jmp 0x5a96
addl $0x2, 0x2e795(%rip)     # 0x34254
jmp 0x5a96
movl 0x2e78d(%rip), %eax     # 0x34254
notl %eax
testb $0x6, %al
je 0x63fb
cmpl $0x2, %r15d
jne 0x6421
movq (%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x50b0
movq %rax, %rbx
movq 0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x51b0
movsd %xmm0, 0x10(%rsp)
movq 0x2e4d5(%rip), %rdi     # 0x33fd8
leaq 0x1f721(%rip), %rsi     # 0x2522b
movl $0xb, %edx
callq 0x5260
movl 0x2e746(%rip), %esi     # 0x34260
movq 0x2e4b7(%rip), %rdi     # 0x33fd8
callq 0x5170
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5210
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5180
movslq 0x2e709(%rip), %rdi     # 0x34260
leaq 0x178(%rsp), %r14
movw %di, 0x4(%r14)
movw %di, 0x2(%r14)
movw %di, (%r14)
callq 0x5360
movq %r14, %rdi
callq 0x50f0
cmpl $0x1, %ebx
je 0x5bbe
testl %ebx, %ebx
je 0x6437
callq 0x51a0
xorl %edx, %edx
divl %ebx
movl %edx, %ebp
callq 0x51a0
xorl %edx, %edx
divl %ebx
imull 0x2e6b6(%rip), %ebp     # 0x34258
addl %edx, %ebp
movl %ebp, 0x1c(%rsp)
callq 0x51a0
xorl %edx, %edx
divl %ebx
movl %edx, %ebp
callq 0x51a0
xorl %edx, %edx
divl %ebx
jmp 0x5bca
movl $0x0, 0x1c(%rsp)
xorl %ebp, %ebp
xorl %edx, %edx
xorps %xmm0, %xmm0
cvtsd2ss 0x10(%rsp), %xmm0
imull 0x2e67e(%rip), %ebp     # 0x34258
addl %edx, %ebp
leaq 0x174(%rsp), %rcx
movl %ebp, (%rcx)
leaq 0x210(%rsp), %rdi
leaq 0x1c(%rsp), %rdx
movq %rbx, %rsi
callq 0x65d6
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
movq %rax, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
leaq 0x2d439(%rip), %rcx     # 0x33060
leaq 0x1b8(%rsp), %rdx
movq %rcx, -0x40(%rdx)
movl %eax, -0x30(%rdx)
movq %rax, -0x28(%rdx)
leaq 0x188(%rsp), %rcx
movq %rcx, -0x20(%rdx)
movq %rcx, -0x18(%rdx)
movq %rax, -0x10(%rdx)
movl %eax, (%rdx)
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq 0x1e8(%rsp), %rcx
movl %eax, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rdx
subq %rcx, %rdx
shrq $0x5, %rdx
testl %edx, %edx
jle 0x5ea3
leaq 0xe8(%rsp), %r13
leaq 0xe0(%rsp), %r14
leaq 0x210(%rsp), %rbp
leaq 0x1f57f(%rip), %rbx     # 0x25237
xorl %edi, %edi
movq %rdi, 0x10(%rsp)
shlq $0x5, %rdi
addq %rcx, %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 0x6687
movq 0xf8(%rsp), %r15
cmpq %r13, %r15
je 0x5e54
leaq 0x20(%r15), %r14
leaq 0x40(%r15), %r12
leaq 0x178(%rsp), %rdi
movq %rbp, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0x68da
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5090
testl %eax, %eax
je 0x5dcf
movq %r14, %rdi
leaq 0x1f4f5(%rip), %rsi     # 0x25241
callq 0x5090
testl %eax, %eax
jne 0x5e40
leaq 0x1e0(%rsp), %rdi
movq %r12, %rsi
callq 0x23380
leaq 0x1e8(%rsp), %rcx
cmpq %rcx, %rax
je 0x5e40
movq 0x40(%rax), %r14
testq %r14, %r14
je 0x5e40
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 0x99e4
movq %r14, 0x40(%rsp)
leaq 0xa0(%rsp), %rdi
movq %r12, %rsi
callq 0x2340a
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x5e40
jmp 0x5e3b
leaq 0x180(%rsp), %rdi
movq %r12, %rsi
callq 0x23040
leaq 0x188(%rsp), %rcx
cmpq %rcx, %rax
je 0x5e40
movq 0x40(%rax), %r14
testq %r14, %r14
je 0x5e40
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 0x99e4
movq %r14, 0x40(%rsp)
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
callq 0x230ca
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x5e40
callq 0x5200
movq %r15, %rdi
callq 0x5270
movq %rax, %r15
cmpq %r13, %rax
jne 0x5d11
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0x9a7a
movq 0x10(%rsp), %rdi
incq %rdi
movq 0xc0(%rsp), %rcx
movq 0xc8(%rsp), %rax
subq %rcx, %rax
shrq $0x5, %rax
cltq
cmpq %rax, %rdi
jl 0x5cba
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rax
xorps %xmm0, %xmm0
jmp 0x5ea5
xorl %esi, %esi
movaps %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0x5f77
leaq 0xf8(%rsp), %r13
xorl %ebp, %ebp
leaq 0x178(%rsp), %r14
leaq 0xe0(%rsp), %r15
leaq 0x20(%rsp), %r12
xorl %ebx, %ebx
movq 0x20(%rsi,%rbp), %rdx
addq %rbp, %rsi
movl $0x0, 0xe0(%rsp)
movq %r13, 0xe8(%rsp)
movq $0x0, 0xf0(%rsp)
movb $0x0, 0xf8(%rsp)
movq %r14, %rdi
leaq 0x230(%rsp), %rcx
movq %r15, %r8
callq 0x770e
movq %r12, %rdi
movq %r15, %rsi
callq 0x7920
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5f48
callq 0x5200
incq %rbx
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rax
subq %rsi, %rax
shrq $0x3, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
cltq
addq $0x28, %rbp
cmpq %rax, %rbx
jl 0x5ee9
movb 0x2e2bb(%rip), %al      # 0x34238
testb %al, %al
leaq 0x1f4e9(%rip), %rcx     # 0x2546f
leaq 0x1f403(%rip), %rsi     # 0x25390
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 0x970e
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x2e00d(%rip), %rdi     # 0x33fd8
callq 0x5260
movq %rax, %rbx
leaq 0x1f26e(%rip), %rsi     # 0x25248
movl $0x53, %edx
movq %rax, %rdi
callq 0x5260
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5180
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x6028
callq 0x5200
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rax
cmpq %rax, %rdx
je 0x6090
subq %rdx, %rax
shrq $0x4, %rax
imull $0xcccccccd, %eax, %eax # imm = 0xCCCCCCCD
testl %eax, %eax
jle 0x6090
xorl %r14d, %r14d
movq 0x2df86(%rip), %rbx     # 0x33fd8
leaq 0x178(%rsp), %r15
xorl %r12d, %r12d
addq %r14, %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x7992
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 0x605d
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 0x6183
leaq 0x230(%rsp), %rbx
xorl %r14d, %r14d
leaq 0x178(%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 0x8(%rsp), %r9
pushq $0x1
pushq $0x64
callq 0x82c2
addq $0x10, %rsp
movq %r13, %rdi
movq %r12, %rsi
callq 0x848c
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x6154
callq 0x5200
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 0x60e8
movb 0x2e0af(%rip), %al      # 0x34238
testb %al, %al
leaq 0x1f1fe(%rip), %rsi     # 0x25390
leaq 0x1f2d6(%rip), %rcx     # 0x2546f
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 0x970e
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq 0x2de02(%rip), %rdi     # 0x33fd8
callq 0x5260
movq %rax, %rbx
leaq 0x1f0b7(%rip), %rsi     # 0x2529c
movl $0x51, %edx
movq %rax, %rdi
callq 0x5260
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5180
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x6233
callq 0x5200
movq 0x60(%rsp), %rdx
movq 0x68(%rsp), %rax
cmpq %rax, %rdx
je 0x629b
subq %rdx, %rax
shrq $0x3, %rax
imull $0x38e38e39, %eax, %eax # imm = 0x38E38E39
testl %eax, %eax
jle 0x629b
xorl %r15d, %r15d
movq 0x2dd7b(%rip), %rbx     # 0x33fd8
leaq 0x178(%rsp), %r14
xorl %r12d, %r12d
addq %r15, %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x84f4
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 0x6268
movq 0x2dd36(%rip), %rdi     # 0x33fd8
leaq 0x1f045(%rip), %rsi     # 0x252ee
movl $0x11, %edx
callq 0x5260
movss 0x4(%rsp), %xmm0
addss 0x54(%rsp), %xmm0
movss %xmm0, 0x4(%rsp)
leaq 0xe0(%rsp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x5150
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
movss %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
cvtsi2ssq 0x8(%rbx), %xmm0
subss 0x4(%rsp), %xmm0
movss %xmm0, 0x8(%rsp)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbx, %rsi
callq 0x5150
xorps %xmm0, %xmm0
cvtsi2ssq (%rbx), %xmm0
cvtsi2ssq 0x8(%rbx), %xmm1
addss 0x8(%rsp), %xmm1
mulss 0x1ece1(%rip), %xmm1    # 0x25004
movss 0x5c(%rsp), %xmm2
addss 0x58(%rsp), %xmm2
movss 0x10(%rsp), %xmm3
subss %xmm2, %xmm3
addss %xmm0, %xmm3
addss %xmm1, %xmm3
xorps %xmm0, %xmm0
cvtss2sd %xmm3, %xmm0
movq 0x2dc89(%rip), %rdi     # 0x33fd8
callq 0x5320
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5180
leaq 0x60(%rsp), %rdi
callq 0x88c2
leaq 0x20(%rsp), %rdi
callq 0x890c
leaq 0x178(%rsp), %rdi
callq 0x8956
leaq 0x80(%rsp), %rdi
callq 0x8a16
leaq 0xa0(%rsp), %rdi
callq 0x8a60
leaq 0x2cbf8(%rip), %rax     # 0x32fb8
movq %rax, 0x210(%rsp)
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0x63da
callq 0x52b0
leaq 0xc0(%rsp), %rdi
callq 0x8ac2
xorl %eax, %eax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2dbd6(%rip), %rdi     # 0x33fd8
leaq 0x1edfb(%rip), %rsi     # 0x25204
movl $0x26, %edx
callq 0x5260
movq 0x2dbbe(%rip), %rdi     # 0x33fd8
callq 0x5110
jmp 0x642d
movq 0x2dbb0(%rip), %rdi     # 0x33fd8
callq 0x56bc
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x5290
leaq 0x1eec2(%rip), %rdi     # 0x25300
leaq 0x1eec3(%rip), %rsi     # 0x25308
leaq 0x1eecf(%rip), %rcx     # 0x2531b
movl $0x3a, %edx
callq 0x5160
movq 0x2db7b(%rip), %rdi     # 0x33fd8
callq 0x56bc
jmp 0x642d
jmp 0x64d6
jmp 0x64d6
jmp 0x64d6
jmp 0x64d6
jmp 0x64d6
jmp 0x64de
jmp 0x64e3
jmp 0x64d6
jmp 0x64d6
movq %rax, %rbx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x65c1
callq 0x5200
jmp 0x65c1
jmp 0x64d6
jmp 0x64de
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x651d
jmp 0x6518
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x653e
jmp 0x6539
jmp 0x64d6
movq %rax, %rbx
jmp 0x65c1
movq %rax, %rbx
jmp 0x651d
movq %rax, %rbx
jmp 0x653e
jmp 0x6569
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x656c
jmp 0x655c
jmp 0x6569
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
leaq 0xf0(%rsp), %rax
cmpq %rax, %rdi
je 0x651d
callq 0x5200
leaq 0x60(%rsp), %rdi
callq 0x88c2
jmp 0x653e
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r13, %rdi
je 0x653e
callq 0x5200
leaq 0x20(%rsp), %rdi
callq 0x890c
jmp 0x6579
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x656c
callq 0x5200
jmp 0x656c
jmp 0x6569
jmp 0x6569
jmp 0x6569
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x9a7a
leaq 0x178(%rsp), %rdi
callq 0x8956
leaq 0x80(%rsp), %rdi
callq 0x8a16
leaq 0xa0(%rsp), %rdi
callq 0x8a60
leaq 0x2ca11(%rip), %rax     # 0x32fb8
movq %rax, 0x210(%rsp)
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0x65c1
callq 0x52b0
leaq 0xc0(%rsp), %rdi
callq 0x8ac2
movq %rbx, %rdi
callq 0x5380