// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/main.cc
// Function: kdd_exp_main(int, char**, int, int)
void kdd_exp_main(int argc, char** argv, int rank, int size)
{
    int                     num_edges, rand_seed, num_threads;
    bool                    do_icent, do_bcc_icent, ext_edges;
    bool                    do_fast_brandes, do_brandes, do_qube, do_inc_qube;
    operation_t             op;
    //for qube and incremental qube, old implementation will be used, and
    //no parallelization
    vector<string>          path_vec;
    vector<vector<edge_t> > edge_vec2;
    vector<double>          brandes_tm_vec;
    
    MPI_Status    status;
    
    if(argc != 2) {
        if(rank == 0) {
            printf("Pass one parameter, path with experiment details\n");
            printf("deletion\n");
            printf("num_edges, num_threads, rand_seed\n");
            printf("external_edges, do_icent, do_bcc_icent\n");
            printf("do_fast_brandes, do_brandes, do_qube, do_inc_qube\n");
            printf("list of graph paths\n");
            printf("if external_edges is nonzero a file with graph_name.edges is expected\n");
            printf("external edges are assumed to be in the graph\n");
            printf("external edges should not be bridges\n");
            printf("if deletion is 1, bcc_icent with deletions will be invoked");
        }
        return;
        //exit(1);
    } else {
        FILE* fin = fopen(argv[1], "r");
        int del_int;
        fscanf(fin, "%d", &del_int);
        if(del_int == 1) {
            op = DELETION;
        } else {
            op = INSERTION;
        }
        fscanf(fin, "%d, %d, %d\n", &num_edges, &num_threads, &rand_seed);
        int t1, t2, t3, t4;
        fscanf(fin, "%d, %d, %d\n", &t1, &t2, &t3);
        ext_edges       = (t1 != 0);
        do_icent        = (t2 != 0);
        do_bcc_icent    = (t3 != 0);
        fscanf(fin, "%d, %d, %d, %d\n", &t1, &t2, &t3, &t4);
        do_fast_brandes = (t1 != 0);
        do_brandes      = (t2 != 0);
        do_qube         = (t3 != 0);
        do_inc_qube     = (t4 != 0);
        
        char buff[1024*4];
        while(fscanf(fin, "%s\n", buff) != EOF) {
            string path = buff;
            path_vec.push_back(path);
        }
        fclose(fin);
        //fill edges, read from file if needed
        if(ext_edges) {
            //these are edges in the graph, and have to be removed then inserted
            //in order
            for(int i = 0; i < path_vec.size(); ++i) {
                vector<edge_t> edge_vec;
                string edge_file_path = path_vec[i] + ".edges";
                fin = fopen(edge_file_path.c_str(), "r");
                int v1, v2;
                while(fscanf(fin, "%d %d\n", &v1, &v2) != EOF) {
                    edge_vec.push_back(make_pair(v1, v2));
                }
                edge_vec2.push_back(edge_vec);
                fclose(fin);
            }
        } else {
            for(int p = 0; p < path_vec.size(); ++p) {
                string graph_path = path_vec[p];
                graph_t graph;
                graph.read_graph(graph_path);
                graph.graph_name = extract_graph_name(graph_path);
                vector<edge_t> edge_vec;
                
                //gen_rand_edges(num_edges, graph, edge_vec);
                //edge_vec2.push_back(edge_vec);
                if(rank == 0) {
                    srand(rand_seed);
                    //master generates random edges and sends to everyone
                    if(op == INSERTION) {
                        gen_rand_edges(num_edges, graph, edge_vec);
                    } else if(op == DELETION) {
                        gen_rand_edges_deletions(num_edges, graph, edge_vec);
                    }
                    
                    //TMP code to make sure new random edges are generated.. Safely remove!
                    //for(int re = 0; re < edge_vec.size(); ++re) {
                    //    printf("e(%d, %d)\n", edge_vec[re].first, edge_vec[re].second);
                    //}
                    /////
                    //printf("RANK[%d] -- e[0]: %u %u\n", rank, edge_vec[4].first, edge_vec[4].second);
                    for(int p = 1; p < size; ++p) {
                        MPI_Send(&edge_vec[0], edge_vec.size()*sizeof(edge_t), MPI_CHAR, p, 0, MPI_COMM_WORLD);
                    }
                } else {
                    //slaves get random edges from the master
                    edge_vec.resize(num_edges);
                    MPI_Recv(&edge_vec[0], edge_vec.size()*sizeof(edge_t), MPI_CHAR, 0, MPI_ANY_TAG, MPI_COMM_WORLD, &status);
                    //printf("RANK[%d] -- e[0]: %u %u\n", rank, edge_vec[4].first, edge_vec[4].second);
                }
                edge_vec2.push_back(edge_vec);
            }
        }
    }
    
    int num_graphs = path_vec.size();
    brandes_tm_vec.resize(num_graphs);
    fill(brandes_tm_vec.begin(), brandes_tm_vec.end(), 1.0);
    
    timer tm;
    vector<double> BC_vec;
    double brandes_time;
    
    if(do_bcc_icent) {
        if(rank == 0) {
            printf("\n\n\n");
            printf("Starting BCC+iCentral [%d threads] [%s]...\n", num_threads, (op==DELETION?"DELETION":"INSERTION"));
            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]);
            timing__Update_BC_graph(
                graph,
                edge_vec2[i], 
                -1,//do all sources (not approximation) 
                BCC, 
                false, 
                brandes_tm_vec[i], 
                num_threads,
                ext_edges,
                op
                );
            //synchronization barrier so that no one starts next graph before others
            MPI_Barrier(MPI_COMM_WORLD);
        }
    }
    

    

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x12b8, %rsp           # imm = 0x12B8
movl %ecx, 0x58(%rsp)
xorl %eax, %eax
movq %rax, 0x50(%rsp)
pxor %xmm0, %xmm0
movdqa %xmm0, 0x40(%rsp)
movq %rax, 0x100(%rsp)
movdqa %xmm0, 0xf0(%rsp)
movq %rax, 0xc0(%rsp)
movdqa %xmm0, 0xb0(%rsp)
cmpl $0x2, %edi
jne 0x234f5
movl %edx, 0x30(%rsp)
movq 0x8(%rsi), %rdi
leaq 0xd9d7(%rip), %rsi      # 0x30d58
callq 0x22b0
movq %rax, %rbx
leaq 0xdac9(%rip), %rsi      # 0x30e59
leaq 0xa8(%rsp), %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x23e0
movl 0xa8(%rsp), %eax
movq $0x0, 0x88(%rsp)
movl %eax, 0x2c(%rsp)
cmpl $0x1, %eax
sete %r14b
leaq 0xd9a8(%rip), %rsi      # 0x30d6f
leaq 0x3c(%rsp), %rdx
leaq 0x38(%rsp), %rcx
leaq 0xac(%rsp), %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x23e0
leaq 0xd985(%rip), %rsi      # 0x30d6f
leaq 0xa4(%rsp), %rdx
leaq 0xa0(%rsp), %rcx
leaq 0x9c(%rsp), %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x23e0
leaq 0xa4(%rsp), %rdx
movl (%rdx), %eax
movl %eax, 0x34(%rsp)
leaq 0x9c(%rsp), %r8
movl (%r8), %eax
movl %eax, 0x90(%rsp)
leaq 0xd938(%rip), %rsi      # 0x30d6b
leaq 0xa0(%rsp), %rcx
leaq 0x14c(%rsp), %r9
movq %rbx, %rdi
xorl %eax, %eax
callq 0x23e0
movq 0x88(%rsp), %rax
movb %r14b, %al
movq %rax, 0x88(%rsp)
leaq 0xcdf3(%rip), %r14      # 0x3025a
leaq 0x2b0(%rsp), %r15
leaq 0x170(%rsp), %r12
leaq 0x40(%rsp), %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x23e0
cmpl $-0x1, %eax
je 0x2357c
leaq 0x180(%rsp), %rax
movq %rax, 0x170(%rsp)
movq %r15, %rdi
callq 0x20d0
leaq (%rsp,%rax), %rdx
addq $0x2b0, %rdx            # imm = 0x2B0
movq %r12, %rdi
movq %r15, %rsi
callq 0x246ba
movq %r13, %rdi
movq %r12, %rsi
callq 0x242c0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x2347c
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x2347c
testl %edx, %edx
jne 0x23c87
leaq 0xdace(%rip), %rdi      # 0x30fd2
callq 0x2350
leaq 0xdaf3(%rip), %rdi      # 0x31003
callq 0x2350
leaq 0xdaf0(%rip), %rdi      # 0x3100c
callq 0x2350
leaq 0xdb06(%rip), %rdi      # 0x3102e
callq 0x2350
leaq 0xdb21(%rip), %rdi      # 0x31055
callq 0x2350
leaq 0xdb47(%rip), %rdi      # 0x31087
callq 0x2350
leaq 0xdb4f(%rip), %rdi      # 0x3109b
callq 0x2350
leaq 0xdb89(%rip), %rdi      # 0x310e1
callq 0x2350
leaq 0xdbab(%rip), %rdi      # 0x3110f
callq 0x2350
leaq 0xd8ae(%rip), %rdi      # 0x30e1e
xorl %eax, %eax
callq 0x2030
jmp 0x23c6a
movq %rbx, %rdi
callq 0x2230
movq 0x40(%rsp), %rcx
movq 0x48(%rsp), %rax
cmpl $0x0, 0x34(%rsp)
je 0x236f9
movq %rax, %rdx
cmpq %rcx, %rax
je 0x23971
leaq 0x170(%rsp), %rbx
leaq 0xd8af(%rip), %r12      # 0x30e63
leaq 0x98(%rsp), %r13
leaq 0x94(%rsp), %rbp
movq %rsp, %r15
leaq 0x60(%rsp), %r14
xorl %esi, %esi
movq %rcx, %rax
pxor %xmm0, %xmm0
movdqa %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq %rsi, 0x58(%rsp)
movq %rsi, %rcx
shlq $0x5, %rcx
leaq 0x180(%rsp), %rdx
movq %rdx, 0x170(%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x24624
movq %rbx, %rdi
leaq 0xd83f(%rip), %rsi      # 0x30e5c
callq 0x23f0
movq 0x170(%rsp), %rdi
leaq 0xd727(%rip), %rsi      # 0x30d58
callq 0x22b0
movq %rax, %rbx
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
xorl %eax, %eax
callq 0x23e0
cmpl $-0x1, %eax
je 0x23674
movl 0x98(%rsp), %eax
movl 0x94(%rsp), %ecx
movl %eax, 0x60(%rsp)
movl %ecx, 0x64(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1b4d0
jmp 0x23639
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x24150
movq %rbx, %rdi
callq 0x2230
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x236b1
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%rsp), %rdi
testq %rdi, %rdi
leaq 0x170(%rsp), %rbx
je 0x236cf
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x58(%rsp), %rsi
incq %rsi
movq 0x40(%rsp), %rax
movq 0x48(%rsp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rsi, %rcx
ja 0x235d1
jmp 0x23971
movq %rax, %rdx
cmpq %rcx, %rax
je 0x23971
leaq 0x160(%rsp), %r14
leaq 0x138(%rsp), %r15
xorl %r12d, %r12d
leaq 0x60(%rsp), %rbp
movq %rcx, %rax
movq %r12, %rcx
shlq $0x5, %rcx
leaq 0x10(%rsp), %rdx
movq %rdx, (%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x24624
leaq 0x170(%rsp), %rdi
callq 0x23f22
movq %r14, 0x150(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x150(%rsp), %rbx
movq %rbx, %rdi
callq 0x24624
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x1dfe6
movq 0x150(%rsp), %rdi
cmpq %r14, %rdi
je 0x237a2
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r15, 0x128(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x128(%rsp), %r13
movq %r13, %rdi
callq 0x24624
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2f943
leaq 0x278(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x237fd
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x2381a
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r14, %r15
pxor %xmm0, %xmm0
movdqa %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
cmpl $0x0, 0x30(%rsp)
je 0x23880
movslq 0x3c(%rsp), %rsi
movq %rbp, %rdi
callq 0x24440
movq 0x60(%rsp), %rdi
movl 0x68(%rsp), %esi
subl %edi, %esi
andl $-0x8, %esi
subq $0x8, %rsp
movq 0x1b75b(%rip), %rdx     # 0x3efb8
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq 0x1b75c(%rip), %r9      # 0x3efc8
leaq 0x2a0(%rsp), %rax
pushq %rax
callq 0x21e0
addq $0x10, %rsp
jmp 0x238f7
movl 0xac(%rsp), %edi
callq 0x2220
movl 0x3c(%rsp), %edi
cmpl $0x1, 0x2c(%rsp)
jne 0x238a9
leaq 0x170(%rsp), %rsi
movq %rbp, %rdx
callq 0x16fb1
jmp 0x238b9
leaq 0x170(%rsp), %rsi
movq %rbp, %rdx
callq 0x16ecd
cmpl $0x2, 0x58(%rsp)
jl 0x238f7
movl $0x1, %r14d
movq 0x60(%rsp), %rdi
movl 0x68(%rsp), %esi
subl %edi, %esi
andl $-0x8, %esi
movq 0x1b6dd(%rip), %rdx     # 0x3efb8
movl %r14d, %ecx
xorl %r8d, %r8d
movq 0x1b6e0(%rip), %r9      # 0x3efc8
callq 0x20a0
incl %r14d
cmpl %r14d, 0x58(%rsp)
jne 0x238c6
leaq 0xf0(%rsp), %rdi
movq %rbp, %rsi
callq 0x24150
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x2391e
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x170(%rsp), %rdi
callq 0x240ba
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
movq %r15, %r14
je 0x23949
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
incq %r12
movq 0x40(%rsp), %rax
movq 0x48(%rsp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %r12, %rcx
leaq 0x138(%rsp), %r15
ja 0x23720
subq %rax, %rdx
shrq $0x5, %rdx
movslq %edx, %rsi
leaq 0xb0(%rsp), %rdi
callq 0x5be8
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
cmpq %rcx, %rax
je 0x23a44
subq %rax, %rcx
addq $-0x8, %rcx
movq %rcx, %xmm0
shrq $0x3, %rcx
addq $0x2, %rcx
andq $-0x2, %rcx
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
psrlq $0x3, %xmm0
xorl %edx, %edx
movdqa 0xc7b3(%rip), %xmm1     # 0x30180
movdqa 0xc7bb(%rip), %xmm2     # 0x30190
pxor %xmm2, %xmm0
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
pcmpeqd %xmm3, %xmm3
movq %rdx, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
por %xmm1, %xmm4
pxor %xmm2, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm0, %xmm5
pcmpeqd %xmm0, %xmm4
pshufd $0xf5, %xmm4, %xmm6     # xmm6 = xmm4[1,1,3,3]
pand %xmm5, %xmm6
pshufd $0xf5, %xmm5, %xmm4     # xmm4 = xmm5[1,1,3,3]
por %xmm6, %xmm4
movd %xmm4, %edi
notl %edi
testb $0x1, %dil
je 0x23a27
movq %rsi, (%rax,%rdx,8)
pxor %xmm3, %xmm4
pextrw $0x4, %xmm4, %edi
testb $0x1, %dil
je 0x23a3b
movq %rsi, 0x8(%rax,%rdx,8)
addq $0x2, %rdx
cmpq %rdx, %rcx
jne 0x239e7
cmpl $0x0, 0x90(%rsp)
je 0x23c6a
cmpl $0x0, 0x30(%rsp)
jne 0x23a9a
leaq 0xd2d8(%rip), %rdi      # 0x30d38
callq 0x2350
cmpl $0x1, 0x2c(%rsp)
movl 0x38(%rsp), %esi
leaq 0xd421(%rip), %rax      # 0x30e96
leaq 0xd423(%rip), %rdx      # 0x30e9f
cmoveq %rax, %rdx
leaq 0xd3e3(%rip), %rdi      # 0x30e6a
xorl %eax, %eax
callq 0x2030
leaq 0xd0bd(%rip), %rdi      # 0x30b52
callq 0x2350
movq 0x48(%rsp), %rax
cmpq 0x40(%rsp), %rax
je 0x23c6a
xorl %r15d, %r15d
leaq 0x2b0(%rsp), %r14
movq %rsp, %r12
leaq 0x108(%rsp), %rbp
xorl %ebx, %ebx
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x23f22
movq 0x40(%rsp), %rax
movq (%rax,%rbx,4), %rsi
leaq 0x170(%rsp), %rdi
movq %r12, %rdx
callq 0x2407c
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0x170(%rsp), %rsi
movq 0x178(%rsp), %rdx
addq %rsi, %rdx
leaq 0xd0(%rsp), %rdi
callq 0x24624
movq %r14, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1dfe6
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x23b4b
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x40(%rsp), %rax
leaq 0x118(%rsp), %rcx
movq %rcx, 0x108(%rsp)
movq (%rax,%rbx,4), %rsi
movq 0x8(%rax,%rbx,4), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x24624
movq %r12, %rdi
movq %rbp, %rsi
callq 0x2f943
leaq 0x3b8(%rsp), %rdi
movq %r12, %rsi
callq 0x22d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x23baa
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x23bcf
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2250
xorl %eax, %eax
cmpl $0x0, 0x34(%rsp)
setne %al
movq 0xf0(%rsp), %rsi
addq %r15, %rsi
movq 0xb0(%rsp), %rcx
movq (%rcx,%rbx), %xmm0
movl 0x38(%rsp), %r9d
movq %r14, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
pushq 0x88(%rsp)
pushq %rax
callq 0x20489
addq $0x10, %rsp
movq 0x1b3b2(%rip), %rdi     # 0x3efc8
callq 0x21a0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23c40
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r14, %rdi
callq 0x240ba
incq %r13
movq 0x48(%rsp), %rax
subq 0x40(%rsp), %rax
sarq $0x5, %rax
addq $0x8, %rbx
addq $0x18, %r15
cmpq %r13, %rax
ja 0x23ac5
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x23c87
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2417c
leaq 0x40(%rsp), %rdi
callq 0x24388
addq $0x12b8, %rsp           # imm = 0x12B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x23db2
jmp 0x23db2
jmp 0x23db2
jmp 0x23db2
movq %rax, %r14
jmp 0x23e18
jmp 0x23cef
movq %r14, %rcx
movq %rax, %r14
movq 0x150(%rsp), %rdi
cmpq %rcx, %rdi
je 0x23e0b
movq 0x160(%rsp), %rsi
jmp 0x23d13
movq %rax, %r14
jmp 0x23e0b
movq %rax, %r14
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x23e0b
movq 0x138(%rsp), %rsi
incq %rsi
jmp 0x23e06
jmp 0x23e32
movq %rax, %r14
jmp 0x23e5a
jmp 0x23e32
jmp 0x23db2
movq %rax, %r14
jmp 0x23de2
movq %rax, %r14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x23dbd
movq 0xe0(%rsp), %rsi
jmp 0x23d7e
jmp 0x23dba
movq %rax, %r14
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x23dbd
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x23dbd
jmp 0x23df1
jmp 0x23db2
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23e70
movq 0x180(%rsp), %rsi
jmp 0x23e2b
movq %rax, %r14
jmp 0x23e70
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23de2
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0x2b0(%rsp), %rdi
callq 0x240ba
jmp 0x23e70
movq %rax, %r14
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x23e0b
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x170(%rsp), %rdi
callq 0x240ba
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x23e70
movq 0x10(%rsp), %rsi
incq %rsi
jmp 0x23e6b
jmp 0x23e32
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23e5a
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x23e70
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x23e8d
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2417c
leaq 0x40(%rsp), %rdi
callq 0x24388
movq %r14, %rdi
callq 0x23b0