// File: /workspace/github_cpp_makefile_star2_O1/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, 0x10(%rsp)
pxor %xmm0, %xmm0
movdqa %xmm0, (%rsp)
movq %rax, 0x100(%rsp)
movdqa %xmm0, 0xf0(%rsp)
movq %rax, 0xc0(%rsp)
movdqa %xmm0, 0xb0(%rsp)
cmpl $0x2, %edi
jne 0x236ab
movl %edx, 0x48(%rsp)
movq 0x8(%rsi), %rdi
leaq 0xe81f(%rip), %rsi      # 0x31d58
callq 0x22b0
movq %rax, %rbx
leaq 0xe911(%rip), %rsi      # 0x31e59
leaq 0xa8(%rsp), %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x23e0
movl 0xa8(%rsp), %eax
movq $0x0, 0x88(%rsp)
movl %eax, 0x44(%rsp)
cmpl $0x1, %eax
sete %r14b
leaq 0xe7f0(%rip), %rsi      # 0x31d6f
leaq 0x54(%rsp), %rdx
leaq 0x50(%rsp), %rcx
leaq 0xac(%rsp), %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x23e0
leaq 0xe7cd(%rip), %rsi      # 0x31d6f
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, 0x4c(%rsp)
leaq 0x9c(%rsp), %r8
movl (%r8), %eax
movl %eax, 0x90(%rsp)
leaq 0xe780(%rip), %rsi      # 0x31d6b
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 0xdc3b(%rip), %r14      # 0x3125a
leaq 0x2b0(%rsp), %r15
leaq 0x170(%rsp), %r12
movq %rsp, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %eax, %eax
callq 0x23e0
cmpl $-0x1, %eax
je 0x23732
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 0x24852
movq %r13, %rdi
movq %r12, %rsi
callq 0x24466
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23632
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x23632
testl %edx, %edx
jne 0x23e1a
leaq 0xe918(%rip), %rdi      # 0x31fd2
callq 0x2350
leaq 0xe93d(%rip), %rdi      # 0x32003
callq 0x2350
leaq 0xe93a(%rip), %rdi      # 0x3200c
callq 0x2350
leaq 0xe950(%rip), %rdi      # 0x3202e
callq 0x2350
leaq 0xe96b(%rip), %rdi      # 0x32055
callq 0x2350
leaq 0xe991(%rip), %rdi      # 0x32087
callq 0x2350
leaq 0xe999(%rip), %rdi      # 0x3209b
callq 0x2350
leaq 0xe9d3(%rip), %rdi      # 0x320e1
callq 0x2350
leaq 0xe9f5(%rip), %rdi      # 0x3210f
callq 0x2350
leaq 0xe6f8(%rip), %rdi      # 0x31e1e
xorl %eax, %eax
callq 0x2030
jmp 0x23e1a
movq %rbx, %rdi
callq 0x2230
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
cmpl $0x0, 0x4c(%rsp)
je 0x238a8
cmpq %rax, %rcx
je 0x23b1c
leaq 0x170(%rsp), %rbx
leaq 0xe6fd(%rip), %r12      # 0x31e63
leaq 0x98(%rsp), %r13
leaq 0x94(%rsp), %rbp
leaq 0x20(%rsp), %r15
leaq 0x60(%rsp), %r14
xorl %edx, %edx
pxor %xmm0, %xmm0
movdqa %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
movq %rdx, 0x58(%rsp)
movq %rdx, %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 0x247c2
movq %rbx, %rdi
leaq 0xe68d(%rip), %rsi      # 0x31e5c
callq 0x23f0
movq 0x170(%rsp), %rdi
leaq 0xe575(%rip), %rsi      # 0x31d58
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 0x23826
movl 0x98(%rsp), %eax
movl 0x94(%rsp), %ecx
movl %eax, 0x60(%rsp)
movl %ecx, 0x64(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1b59e
jmp 0x237eb
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x24302
movq %rbx, %rdi
callq 0x2230
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23863
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
leaq 0x170(%rsp), %rbx
je 0x23882
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x58(%rsp), %rdx
incq %rdx
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rdx, %rcx
ja 0x23782
jmp 0x23b1c
cmpq %rax, %rcx
je 0x23b1c
leaq 0x160(%rsp), %r14
leaq 0x138(%rsp), %r15
xorl %r12d, %r12d
leaq 0x60(%rsp), %rbp
movq %r12, %rcx
shlq $0x5, %rcx
leaq 0x30(%rsp), %rdx
movq %rdx, 0x20(%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x247c2
leaq 0x170(%rsp), %rdi
callq 0x240d4
movq %r14, 0x150(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x150(%rsp), %rbx
movq %rbx, %rdi
callq 0x247c2
leaq 0x170(%rsp), %rdi
movq %rbx, %rsi
callq 0x1e17a
movq 0x150(%rsp), %rdi
cmpq %r14, %rdi
je 0x2394f
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r15, 0x128(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x128(%rsp), %r13
movq %r13, %rdi
callq 0x247c2
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2fc9c
leaq 0x278(%rsp), %rdi
movq %rbp, %rsi
callq 0x22d0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x239ab
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x239c8
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r14, %r15
pxor %xmm0, %xmm0
movdqa %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
cmpl $0x0, 0x48(%rsp)
je 0x23a2e
movslq 0x54(%rsp), %rsi
movq %rbp, %rdi
callq 0x245e4
movq 0x60(%rsp), %rdi
movl 0x68(%rsp), %esi
subl %edi, %esi
andl $-0x8, %esi
subq $0x8, %rsp
movq 0x1c5ad(%rip), %rdx     # 0x3ffb8
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movq 0x1c5ae(%rip), %r9      # 0x3ffc8
leaq 0x2a0(%rsp), %rax
pushq %rax
callq 0x21e0
addq $0x10, %rsp
jmp 0x23aa5
movl 0xac(%rsp), %edi
callq 0x2220
movl 0x54(%rsp), %edi
cmpl $0x1, 0x44(%rsp)
jne 0x23a57
leaq 0x170(%rsp), %rsi
movq %rbp, %rdx
callq 0x1706d
jmp 0x23a67
leaq 0x170(%rsp), %rsi
movq %rbp, %rdx
callq 0x16f89
cmpl $0x2, 0x58(%rsp)
jl 0x23aa5
movl $0x1, %r14d
movq 0x60(%rsp), %rdi
movl 0x68(%rsp), %esi
subl %edi, %esi
andl $-0x8, %esi
movq 0x1c52f(%rip), %rdx     # 0x3ffb8
movl %r14d, %ecx
xorl %r8d, %r8d
movq 0x1c532(%rip), %r9      # 0x3ffc8
callq 0x20a0
incl %r14d
cmpl %r14d, 0x58(%rsp)
jne 0x23a74
leaq 0xf0(%rsp), %rdi
movq %rbp, %rsi
callq 0x24302
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x23acc
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x170(%rsp), %rdi
callq 0x2426c
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
movq %r15, %r14
je 0x23af8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2250
incq %r12
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %r12, %rcx
leaq 0x138(%rsp), %r15
ja 0x238c9
movq 0x8(%rsp), %rax
subq (%rsp), %rax
shrq $0x5, %rax
movslq %eax, %rsi
leaq 0xb0(%rsp), %rdi
callq 0x5c58
movq 0xb0(%rsp), %rax
movq 0xb8(%rsp), %rcx
cmpq %rcx, %rax
je 0x23bf5
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 0xd602(%rip), %xmm1     # 0x31180
movdqa 0xd60a(%rip), %xmm2     # 0x31190
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 0x23bd8
movq %rsi, (%rax,%rdx,8)
pxor %xmm3, %xmm4
pextrw $0x4, %xmm4, %edi
testb $0x1, %dil
je 0x23bec
movq %rsi, 0x8(%rax,%rdx,8)
addq $0x2, %rdx
cmpq %rdx, %rcx
jne 0x23b98
cmpl $0x0, 0x90(%rsp)
je 0x23e1a
cmpl $0x0, 0x48(%rsp)
jne 0x23c4b
leaq 0xe127(%rip), %rdi      # 0x31d38
callq 0x2350
cmpl $0x1, 0x44(%rsp)
movl 0x50(%rsp), %esi
leaq 0xe270(%rip), %rax      # 0x31e96
leaq 0xe272(%rip), %rdx      # 0x31e9f
cmoveq %rax, %rdx
leaq 0xe232(%rip), %rdi      # 0x31e6a
xorl %eax, %eax
callq 0x2030
leaq 0xdf0c(%rip), %rdi      # 0x31b52
callq 0x2350
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
je 0x23e1a
xorl %r15d, %r15d
leaq 0x2b0(%rsp), %r14
leaq 0x20(%rsp), %r12
leaq 0x108(%rsp), %rbp
xorl %ebx, %ebx
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x240d4
movq (%rsp), %rax
movq (%rax,%rbx,4), %rsi
leaq 0x170(%rsp), %rdi
movq %r12, %rdx
callq 0x2422e
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0x170(%rsp), %rsi
movq 0x178(%rsp), %rdx
addq %rsi, %rdx
leaq 0xd0(%rsp), %rdi
callq 0x247c2
movq %r14, %rdi
leaq 0xd0(%rsp), %rsi
callq 0x1e17a
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x23cfc
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2250
movq (%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 0x247c2
movq %r12, %rdi
movq %rbp, %rsi
callq 0x2fc9c
leaq 0x3b8(%rsp), %rdi
movq %r12, %rsi
callq 0x22d0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x23d5b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x23d80
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2250
xorl %eax, %eax
cmpl $0x0, 0x4c(%rsp)
setne %al
movq 0xf0(%rsp), %rsi
addq %r15, %rsi
movq 0xb0(%rsp), %rcx
movq (%rcx,%rbx), %xmm0
movl 0x50(%rsp), %r9d
movq %r14, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
pushq 0x88(%rsp)
pushq %rax
callq 0x2063e
addq $0x10, %rsp
movq 0x1c201(%rip), %rdi     # 0x3ffc8
callq 0x21a0
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23df1
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq %r14, %rdi
callq 0x2426c
incq %r13
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x5, %rax
addq $0x8, %rbx
addq $0x18, %r15
cmpq %r13, %rax
ja 0x23c77
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x23e37
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2432e
movq %rsp, %rdi
callq 0x2452e
addq $0x12b8, %rsp           # imm = 0x12B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x23f60
jmp 0x23f60
jmp 0x23f60
jmp 0x23f60
movq %rax, %r14
jmp 0x23fc9
jmp 0x23e9d
movq %r14, %rcx
movq %rax, %r14
movq 0x150(%rsp), %rdi
cmpq %rcx, %rdi
je 0x23fbc
movq 0x160(%rsp), %rsi
jmp 0x23ec1
movq %rax, %r14
jmp 0x23fbc
movq %rax, %r14
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x23fbc
movq 0x138(%rsp), %rsi
incq %rsi
jmp 0x23fb7
jmp 0x23fe4
movq %rax, %r14
jmp 0x2400c
jmp 0x23fe4
jmp 0x23f60
movq %rax, %r14
jmp 0x23f90
movq %rax, %r14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x23f6b
movq 0xe0(%rsp), %rsi
jmp 0x23f2c
jmp 0x23f68
movq %rax, %r14
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x23f6b
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x23f6b
jmp 0x23fa2
jmp 0x23f60
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x24023
movq 0x180(%rsp), %rsi
jmp 0x23fdd
movq %rax, %r14
jmp 0x24023
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x23f90
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0x2b0(%rsp), %rdi
callq 0x2426c
jmp 0x24023
movq %rax, %r14
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x23fbc
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x170(%rsp), %rdi
callq 0x2426c
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x24023
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x2401e
jmp 0x23fe4
movq %rax, %r14
movq 0x170(%rsp), %rdi
leaq 0x180(%rsp), %rax
cmpq %rax, %rdi
je 0x2400c
movq 0x180(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x24023
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x24040
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2432e
movq %rsp, %rdi
callq 0x2452e
movq %r14, %rdi
callq 0x23b0