// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/main.cc
// Function: do_paper_exp(int, int, double, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, bool, bool, bool, bool)
void do_paper_exp(int num_edges,
        int num_iter,
        double max_time,
        int rand_seed,
        vector<string> path_vec,
        bool do_inc_brandes,
        bool do_qube,
        bool do_inc_qube,
        bool do_fuad) 
{     
    //to make sure the exact same edges are used for my system and QUBE
    //I pass the same edges to both systems
    
    vector<double>  brandes_time_vec;
    
    vector<vector<edge_t> > edge_vec2;
    printf("Reading graphs and generating edges...\n");
    printf("========================================\n");
    for(int i = 0; i < path_vec.size(); ++i) {
        graph_t graph;
        string path = path_vec[i].c_str();
        graph.read_graph(path);
        graph.graph_name = extract_graph_name(path_vec[i]);
        vector<edge_t> edge_vec;
        gen_rand_edges(num_edges, graph, edge_vec);
        edge_vec2.push_back(edge_vec);
    }
    
    printf("\n\n\n");
    printf("Starting Brandes...\n");
    printf("========================================\n");
    for(int i = 0; i < path_vec.size(); ++i) {
        graph_t graph;
        string path = path_vec[i].c_str();
        graph.read_graph(path);
        graph.graph_name = extract_graph_name(path_vec[i]);
        double brandes_time;
        brandes_time = exp_brandes_p(graph, num_iter, edge_vec2[i], max_time);
        brandes_time_vec.push_back(brandes_time);
    }
    
    if(do_inc_brandes) {
        printf("\n\n\n");
        printf("Starting Incremental-Brandes...\n");
        printf("========================================\n");
        for(int i = 0; i < path_vec.size(); ++i) {
            graph_t graph;
            string path = path_vec[i].c_str();
            graph.read_graph(path);
            graph.graph_name = extract_graph_name(path_vec[i]);
            double brandes_time = brandes_time_vec[i];
            exp_inc_brandes_p(graph, num_iter, edge_vec2[i], brandes_time);
        }
    }
    
    if(do_qube) {
        printf("\n\n\n");
        printf("Starting QUBE...\n");
        printf("========================================\n");
        for(int i = 0; i < path_vec.size(); ++i) {
            graph_t graph;
            string path = path_vec[i].c_str();
            graph.read_graph(path);
            graph.graph_name = extract_graph_name(path_vec[i]);
            double brandes_time = brandes_time_vec[i];
            int loc_num_iter = num_iter;
            if(num_iter != -1 && brandes_time < max_time)
                loc_num_iter = -1;
            exp_qube_p(graph, loc_num_iter, edge_vec2[i], brandes_time);
        }
    }
    
    if(do_inc_qube) {
        printf("\n\n\n");
        printf("Starting Incremental-QUBE...\n");
        printf("========================================\n");
        for(int i = 0; i < path_vec.size(); ++i) {
            graph_t graph;
            string path = path_vec[i].c_str();
            graph.read_graph(path);
            graph.graph_name = extract_graph_name(path_vec[i]);
            double brandes_time = brandes_time_vec[i];
            int loc_num_iter = num_iter;
            if(num_iter != -1 && brandes_time < max_time)
                loc_num_iter = -1;
            exp_inc_qube_p(graph, loc_num_iter, edge_vec2[i], brandes_time);
        }
    }
    
    if(do_fuad) {
        printf("\n\n\n");
        printf("Starting FUAD...\n");
        printf("========================================\n");
        for(int i = 0; i < path_vec.size(); ++i) {
            graph_t graph;
            string path = path_vec[i].c_str();
            graph.read_graph(path);
            graph.graph_name = extract_graph_name(path_vec[i]);
            double brandes_time = brandes_time_vec[i];
            int loc_num_iter = num_iter;
            if(num_iter != -1 && brandes_time < max_time)
                loc_num_iter = -1;
            exp_fuad_p(graph, loc_num_iter, edge_vec2[i], brandes_time);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3d8, %rsp            # imm = 0x3D8
movl %r9d, 0x9c(%rsp)
movl %r8d, 0x38(%rsp)
movq %rcx, %rbx
movsd %xmm0, 0x68(%rsp)
movl %esi, 0x34(%rsp)
movl %edi, 0x8(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
xorl %eax, %eax
movq %rax, 0x80(%rsp)
movq %rax, 0xb0(%rsp)
movapd %xmm0, 0xa0(%rsp)
leaq 0xff70(%rip), %rdi      # 0x31ee1
callq 0x2350
leaq 0xfbd5(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2212e
xorl %r14d, %r14d
leaq 0x2b0(%rsp), %r12
leaq 0x40(%rsp), %rbp
xorl %r15d, %r15d
movq %r12, %rdi
callq 0x240d4
movq (%rbx), %rax
movq (%rax,%r14), %rsi
leaq 0x10(%rsp), %rdi
movq %rbp, %rdx
callq 0x2422e
leaq 0x228(%rsp), %rax
movq %rax, 0x218(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x218(%rsp), %r13
movq %r13, %rdi
callq 0x247c2
movq %r12, %rdi
movq %r13, %rsi
callq 0x1e17a
movq 0x218(%rsp), %rdi
leaq 0x228(%rsp), %rax
cmpq %rax, %rdi
je 0x2201b
movq 0x228(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%rbx), %rax
leaq 0x208(%rsp), %rcx
movq %rcx, 0x1f8(%rsp)
movq (%rax,%r14), %rsi
movq 0x8(%rax,%r14), %rdx
addq %rsi, %rdx
leaq 0x1f8(%rsp), %r13
movq %r13, %rdi
callq 0x247c2
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x22081
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x1f8(%rsp), %rdi
leaq 0x208(%rsp), %rax
cmpq %rax, %rdi
je 0x220a6
movq 0x208(%rsp), %rsi
incq %rsi
callq 0x2250
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
movl 0x8(%rsp), %edi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x16f89
leaq 0xa0(%rsp), %rdi
movq %rbp, %rsi
callq 0x24302
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x220ef
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x2210b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r12, %rdi
callq 0x2426c
movq 0x8(%rbx), %rax
subq (%rbx), %rax
incq %r15
sarq $0x5, %rax
addq $0x20, %r14
cmpq %r15, %rax
ja 0x21fa2
leaq 0xfc03(%rip), %rdi      # 0x31d38
callq 0x2350
leaq 0xfdc7(%rip), %rdi      # 0x31f08
callq 0x2350
leaq 0xfa05(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2235b
xorl %r12d, %r12d
leaq 0x2b0(%rsp), %r15
movq $0x0, 0x8(%rsp)
xorl %ebp, %ebp
movq %rbx, %r14
movq %r15, %rdi
callq 0x240d4
movq %r15, %rbx
movq (%r14), %rax
movq (%rax,%r12), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2422e
leaq 0x1e8(%rsp), %rax
movq %rax, 0x1d8(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1d8(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1e17a
movq 0x1d8(%rsp), %rdi
leaq 0x1e8(%rsp), %rax
cmpq %rax, %rdi
je 0x221f6
movq 0x1e8(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%r14), %rax
leaq 0x1c8(%rsp), %rcx
movq %rcx, 0x1b8(%rsp)
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
addq %rsi, %rdx
leaq 0x1b8(%rsp), %r13
movq %r13, %rdi
callq 0x247c2
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %r15, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x22261
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
movq %rbx, %r15
je 0x22289
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0xa0(%rsp), %rsi
addq 0x8(%rsp), %rsi
leaq 0x238(%rsp), %rdi
callq 0x243f0
movq %r14, %rbx
movq %r15, %rdi
movl 0x34(%rsp), %esi
leaq 0x238(%rsp), %rdx
movsd 0x68(%rsp), %xmm0
callq 0x25684
movsd %xmm0, 0x40(%rsp)
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0x222e3
movq 0x248(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x78(%rsp), %rsi
cmpq 0x80(%rsp), %rsi
je 0x22307
movsd 0x40(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x78(%rsp)
jmp 0x22316
leaq 0x70(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x1b82c
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22332
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r15, %rdi
callq 0x2426c
incq %rbp
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x5, %rax
addq $0x18, 0x8(%rsp)
addq $0x20, %r12
cmpq %rbp, %rax
ja 0x22175
cmpb $0x0, 0x38(%rsp)
je 0x22578
leaq 0xf9cb(%rip), %rdi      # 0x31d38
callq 0x2350
leaq 0xfba3(%rip), %rdi      # 0x31f1c
callq 0x2350
leaq 0xf7cd(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x22578
xorl %ebp, %ebp
leaq 0x2b0(%rsp), %r15
leaq 0x298(%rsp), %r14
xorl %r12d, %r12d
xorl %r13d, %r13d
movq %r15, %rdi
callq 0x240d4
movq %r13, 0x38(%rsp)
movq %r12, 0x8(%rsp)
movq %r14, %r12
movq %r15, %r14
movq (%rbx), %rax
movq (%rax,%rbp,4), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2422e
leaq 0x1a8(%rsp), %rax
movq %rax, 0x198(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x198(%rsp), %r13
movq %r13, %rdi
callq 0x247c2
movq %r14, %rdi
movq %r13, %rsi
callq 0x1e17a
movq 0x198(%rsp), %rdi
leaq 0x1a8(%rsp), %rax
cmpq %rax, %rdi
je 0x2243a
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%rbx), %rax
leaq 0x188(%rsp), %rcx
movq %rcx, 0x178(%rsp)
movq (%rax,%rbp,4), %rsi
movq 0x8(%rax,%rbp,4), %rdx
addq %rsi, %rdx
leaq 0x178(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %r13, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x224a5
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
movq %r14, %r15
movq %r12, %r14
movq 0x8(%rsp), %r12
movq 0x38(%rsp), %r13
je 0x224da
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rax
movsd (%rax,%rbp), %xmm0
movsd %xmm0, 0x90(%rsp)
movq 0xa0(%rsp), %rsi
addq %r12, %rsi
movq %r14, %rdi
callq 0x243f0
movq %r15, %rdi
movl 0x34(%rsp), %esi
movq %r14, %rdx
movsd 0x90(%rsp), %xmm0
callq 0x25957
movq 0x298(%rsp), %rdi
testq %rdi, %rdi
je 0x22535
movq 0x2a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22551
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r15, %rdi
callq 0x2426c
incq %r13
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x5, %rax
addq $0x18, %r12
addq $0x8, %rbp
cmpq %r13, %rax
ja 0x223af
movq %rbx, 0x8(%rsp)
cmpb $0x0, 0x9c(%rsp)
je 0x227ac
leaq 0xf7a6(%rip), %rdi      # 0x31d38
callq 0x2350
leaq 0xf99e(%rip), %rdi      # 0x31f3c
callq 0x2350
leaq 0xf5a8(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
cmpq (%rcx), %rax
je 0x227ac
xorl %r14d, %r14d
leaq 0x2b0(%rsp), %rbx
xorl %r12d, %r12d
xorl %r13d, %r13d
movq %rbx, %rdi
callq 0x240d4
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq (%rax,%r14,4), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2422e
leaq 0x168(%rsp), %rax
movq %rax, 0x158(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x158(%rsp), %rbp
movq %rbp, %rdi
callq 0x247c2
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1e17a
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x22652
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x8(%rsp), %rax
movq (%rax), %rax
leaq 0x148(%rsp), %rcx
movq %rcx, 0x138(%rsp)
movq (%rax,%r14,4), %rsi
movq 0x8(%rax,%r14,4), %rdx
addq %rsi, %rdx
leaq 0x138(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x226c2
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x226e7
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rax
movsd (%rax,%r14), %xmm1
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl 0x34(%rsp), %eax
cmpl $-0x1, %eax
movsd %xmm1, 0x38(%rsp)
je 0x22719
movsd 0x68(%rsp), %xmm0
ucomisd %xmm1, %xmm0
movl %eax, %ebp
jbe 0x22719
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0xa0(%rsp), %rsi
addq %r12, %rsi
leaq 0x280(%rsp), %r15
movq %r15, %rdi
callq 0x243f0
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
movsd 0x38(%rsp), %xmm0
callq 0x25df6
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x22764
movq 0x290(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22780
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x2426c
incq %r13
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x5, %rax
addq $0x18, %r12
addq $0x8, %r14
cmpq %r13, %rax
ja 0x225d2
cmpb $0x0, 0x410(%rsp)
je 0x229db
leaq 0xf577(%rip), %rdi      # 0x31d38
callq 0x2350
leaq 0xf780(%rip), %rdi      # 0x31f4d
callq 0x2350
leaq 0xf379(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
cmpq (%rcx), %rax
je 0x229db
xorl %r14d, %r14d
leaq 0x2b0(%rsp), %rbx
xorl %r12d, %r12d
xorl %r13d, %r13d
movq %rbx, %rdi
callq 0x240d4
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq (%rax,%r14,4), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2422e
leaq 0x128(%rsp), %rax
movq %rax, 0x118(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x118(%rsp), %rbp
movq %rbp, %rdi
callq 0x247c2
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x1e17a
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x22881
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x8(%rsp), %rax
movq (%rax), %rax
leaq 0x108(%rsp), %rcx
movq %rcx, 0xf8(%rsp)
movq (%rax,%r14,4), %rsi
movq 0x8(%rax,%r14,4), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x228f1
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x22916
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rax
movsd (%rax,%r14), %xmm1
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl 0x34(%rsp), %eax
cmpl $-0x1, %eax
movsd %xmm1, 0x38(%rsp)
je 0x22948
movsd 0x68(%rsp), %xmm0
ucomisd %xmm1, %xmm0
movl %eax, %ebp
jbe 0x22948
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0xa0(%rsp), %rsi
addq %r12, %rsi
leaq 0x268(%rsp), %r15
movq %r15, %rdi
callq 0x243f0
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
movsd 0x38(%rsp), %xmm0
callq 0x2631f
movq 0x268(%rsp), %rdi
testq %rdi, %rdi
je 0x22993
movq 0x278(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x229af
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x2426c
incq %r13
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x5, %rax
addq $0x18, %r12
addq $0x8, %r14
cmpq %r13, %rax
ja 0x22801
cmpb $0x0, 0x418(%rsp)
je 0x22c1a
leaq 0xf348(%rip), %rdi      # 0x31d38
callq 0x2350
leaq 0xf56e(%rip), %rdi      # 0x31f6a
callq 0x2350
leaq 0xf14a(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
cmpq (%rcx), %rax
je 0x22c1a
xorl %r14d, %r14d
leaq 0x2b0(%rsp), %r12
leaq 0x250(%rsp), %rbx
movq $0x0, 0x38(%rsp)
xorl %r13d, %r13d
movq %r12, %rdi
callq 0x240d4
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq (%rax,%r14,4), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x2422e
leaq 0xe8(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0xd8(%rsp), %rbp
movq %rbp, %rdi
callq 0x247c2
movq %r12, %rdi
movq %rbp, %rsi
callq 0x1e17a
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x22abe
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x8(%rsp), %rax
movq (%rax), %rax
leaq 0xc8(%rsp), %rcx
movq %rcx, 0xb8(%rsp)
movq (%rax,%r14,4), %rsi
movq 0x8(%rax,%r14,4), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x22b2e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x22b53
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rax
movsd (%rax,%r14), %xmm1
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl 0x34(%rsp), %eax
cmpl $-0x1, %eax
movsd %xmm1, 0x90(%rsp)
je 0x22b88
movsd 0x68(%rsp), %xmm0
ucomisd %xmm1, %xmm0
movl %eax, %ebp
jbe 0x22b88
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0xa0(%rsp), %rsi
addq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0x243f0
movq %r12, %rdi
movl %ebp, %esi
movq %rbx, %rdx
movsd 0x90(%rsp), %xmm0
callq 0x2685e
movq 0x250(%rsp), %rdi
testq %rdi, %rdi
je 0x22bd0
movq 0x260(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22bec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r12, %rdi
callq 0x2426c
incq %r13
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x5, %rax
addq $0x18, 0x38(%rsp)
addq $0x8, %r14
cmpq %r13, %rax
ja 0x22a3e
leaq 0xa0(%rsp), %rdi
callq 0x2432e
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x22c41
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
addq $0x3d8, %rsp            # imm = 0x3D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x22efe
jmp 0x22f06
jmp 0x22f59
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0xe8(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0xc8(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x250(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x260(%rsp), %rsi
jmp 0x22f70
jmp 0x22efe
jmp 0x22f06
jmp 0x22f59
movq %rax, %rbx
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x128(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x108(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x268(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x278(%rsp), %rsi
jmp 0x22f70
jmp 0x22efe
jmp 0x22f06
jmp 0x22f59
movq %rax, %rbx
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x168(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x148(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x290(%rsp), %rsi
jmp 0x22f70
jmp 0x22efe
jmp 0x22f06
jmp 0x22f59
movq %rax, %rbx
movq 0x198(%rsp), %rdi
leaq 0x1a8(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x1a8(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x188(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x298(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x2a8(%rsp), %rsi
jmp 0x22f70
jmp 0x22efe
jmp 0x22f06
jmp 0x22f59
movq %rax, %rbx
movq 0x1d8(%rsp), %rdi
leaq 0x1e8(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x1e8(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x1c8(%rsp), %rsi
jmp 0x22f54
movq %rax, %rbx
movq 0x238(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x248(%rsp), %rsi
jmp 0x22f70
movq %rax, %rbx
jmp 0x22fa1
movq %rax, %rbx
jmp 0x22f94
jmp 0x22f59
movq %rax, %rbx
movq 0x218(%rsp), %rdi
leaq 0x228(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x228(%rsp), %rsi
jmp 0x22f54
jmp 0x22f59
movq %rax, %rbx
movq 0x1f8(%rsp), %rdi
leaq 0x208(%rsp), %rax
cmpq %rax, %rdi
je 0x22f78
movq 0x208(%rsp), %rsi
incq %rsi
jmp 0x22f73
movq %rax, %rbx
jmp 0x22f78
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x22f78
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22f94
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0x2b0(%rsp), %rdi
callq 0x2426c
leaq 0xa0(%rsp), %rdi
callq 0x2432e
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x22fc8
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x23b0