// File: /workspace/github_cpp_makefile_star2_O3/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, 0x28(%rsp)
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq $0x0, 0xe0(%rsp)
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
cmpq %rax, %rcx
je 0x2163e
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 0x24624
movq %r12, %rdi
callq 0x23f22
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 0x24624
movq %r12, %rdi
movq %r14, %rsi
callq 0x1dfe6
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x21529
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 0x24624
movq %r15, %rdi
movq %r14, %rsi
callq 0x2f943
leaq 0x1f8(%rsp), %rdi
movq %r15, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x2158d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x215b2
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2250
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl 0x28(%rsp), %edi
movq %r12, %rsi
movq %r15, %rdx
callq 0x16ecd
leaq 0xd0(%rsp), %rdi
movq %r15, %rsi
callq 0x24150
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x215f9
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %r12, %rdi
callq 0x240ba
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2161d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
incq %r13
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x5, %rdx
addq $0x20, %rbp
cmpq %r13, %rdx
ja 0x214a4
movq %rbx, 0x28(%rsp)
cmpq %rax, %rcx
je 0x217bd
movl $0x8, %r15d
xorl %r13d, %r13d
leaq 0xf0(%rsp), %r12
leaq 0x30(%rsp), %rbx
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 0x24624
movq %r12, %rdi
callq 0x23f22
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x24624
movq %r12, %rdi
leaq 0x50(%rsp), %rsi
callq 0x1dfe6
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x216d6
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 0x24624
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2f943
leaq 0x1f8(%rsp), %rdi
movq %rbx, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x21734
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x21756
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0xd0(%rsp), %rsi
addq %r13, %rsi
xorps %xmm0, %xmm0
movq %r12, %rdi
movl $0x1, %r8d
callq 0x20e4e
movq %r12, %rdi
callq 0x240ba
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x21796
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
incq %rbp
movq 0x28(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x18, %r13
addq $0x20, %r15
cmpq %rbp, %rcx
ja 0x21664
leaq 0xd0(%rsp), %rdi
callq 0x2417c
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x21822
jmp 0x2182a
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x21899
movq 0x60(%rsp), %rsi
jmp 0x21875
jmp 0x2187a
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x21899
movq 0x80(%rsp), %rsi
jmp 0x21875
movq %rax, %rbx
jmp 0x218c2
movq %rax, %rbx
jmp 0x218a6
jmp 0x2187a
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x21899
movq 0xc0(%rsp), %rsi
jmp 0x21875
jmp 0x2187a
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x21899
movq 0xa0(%rsp), %rsi
incq %rsi
jmp 0x21894
movq %rax, %rbx
jmp 0x21899
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x21899
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x240ba
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x218c2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0xd0(%rsp), %rdi
callq 0x2417c
movq %rbx, %rdi
callq 0x23b0