// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/unit_tests.h
// Function: timing__Update_BC_mem(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>>>>, int, int, int, int)
void timing__Update_BC_mem(
            vector<string>  path_vec,       //paths of the graphs
            int             num_edges,      //number of random edges
            int             rand_seed,      //seed for srand(...)
            int             num_sources,    //
            int             algo_flag       //what algorithms to evaluate
        )
{
    vector<vector<edge_t> > edge_vec2;
    
    //generate random edges
    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);
    }
    
    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);
        timing__Update_BC_mem_graph(graph, edge_vec2[p], -1, 1);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movl %esi, 0x2c(%rsp)
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq $0x0, 0xe0(%rsp)
movq (%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0x217eb
movl $0x8, %ebp
xorl %r13d, %r13d
leaq 0xf0(%rsp), %r12
leaq 0x30(%rsp), %r15
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq -0x8(%rax,%rbp), %rsi
movq (%rax,%rbp), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x247c2
movq %r12, %rdi
callq 0x240d4
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xb0(%rsp), %r14
movq %r14, %rdi
callq 0x247c2
movq %r12, %rdi
movq %r14, %rsi
callq 0x1e17a
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x216d9
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %r14
movq %r14, %rdi
callq 0x247c2
movq %r15, %rdi
movq %r14, %rsi
callq 0x2fc9c
leaq 0x1f8(%rsp), %rdi
movq %r15, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x2173d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x21762
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2250
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl 0x2c(%rsp), %edi
movq %r12, %rsi
movq %r15, %rdx
callq 0x16f89
leaq 0xd0(%rsp), %rdi
movq %r15, %rsi
callq 0x24302
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x217a9
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %r12, %rdi
callq 0x2426c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x217cd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
incq %r13
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %rbp
cmpq %r13, %rcx
ja 0x21654
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x2196e
movl $0x8, %r15d
xorl %r13d, %r13d
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x247c2
leaq 0xf0(%rsp), %rdi
callq 0x240d4
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x247c2
leaq 0xf0(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1e17a
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x21884
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %r14
movq %r14, %rdi
callq 0x247c2
movq %r12, %rdi
movq %r14, %rsi
callq 0x2fc9c
leaq 0x1f8(%rsp), %rdi
movq %r12, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x218e2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x21904
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0xd0(%rsp), %rsi
addq %r13, %rsi
xorps %xmm0, %xmm0
leaq 0xf0(%rsp), %r14
movq %r14, %rdi
movl $0x1, %r8d
callq 0x21001
movq %r14, %rdi
callq 0x2426c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2194c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
incq %rbp
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x18, %r13
addq $0x20, %r15
cmpq %rbp, %rcx
ja 0x21808
leaq 0xd0(%rsp), %rdi
callq 0x2432e
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x219d3
jmp 0x219db
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x21a4a
movq 0x60(%rsp), %rsi
jmp 0x21a26
jmp 0x21a2b
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x21a4a
movq 0x80(%rsp), %rsi
jmp 0x21a26
movq %rax, %rbx
jmp 0x21a73
movq %rax, %rbx
jmp 0x21a57
jmp 0x21a2b
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x21a4a
movq 0xc0(%rsp), %rsi
jmp 0x21a26
jmp 0x21a2b
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x21a4a
movq 0xa0(%rsp), %rsi
incq %rsi
jmp 0x21a45
movq %rax, %rbx
jmp 0x21a4a
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x21a4a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2426c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x21a73
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0xd0(%rsp), %rdi
callq 0x2432e
movq %rbx, %rdi
callq 0x23b0