// File: /workspace/github_cpp_makefile_star2_O2/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 $0x228, %rsp            # imm = 0x228
movl %esi, 0x10(%rsp)
movq %rdi, 0x18(%rsp)
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
xorl %edx, %edx
leaq 0x20(%rsp), %r13
leaq 0x100(%rsp), %rbx
leaq 0xc0(%rsp), %r12
xorl %ebp, %ebp
movq 0x18(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rax
movq %rax, %rcx
subq %rsi, %rcx
sarq $0x5, %rcx
cmpq %rbp, %rcx
jbe 0x1b48b
movq %rdx, 0x8(%rsp)
addq %rdx, %rsi
movq %r13, %rdi
callq 0x22f0
movq %rbx, %rdi
callq 0x1d14e
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x22f0
movq %rbx, %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x18d4c
movq %r14, %rdi
callq 0x20d0
movq %r12, %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0x22f0
leaq 0x60(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x26be0
leaq 0x208(%rsp), %rdi
movq %r14, %rsi
callq 0x22d0
movq %r14, %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x20d0
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
andq $0x0, 0x70(%rsp)
movl 0x10(%rsp), %edi
movq %r15, %rbx
movq %r15, %rsi
movq %r14, %rdx
callq 0x12cba
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x1d316
movq %r14, %rdi
callq 0x16656
movq %rbx, %rdi
callq 0x1d2b4
movq %r13, %rdi
callq 0x20d0
incq %rbp
movq 0x8(%rsp), %rdx
addq $0x20, %rdx
jmp 0x1b397
movq $0x0, 0x8(%rsp)
leaq 0x100(%rsp), %r15
leaq 0xa0(%rsp), %r12
leaq 0x60(%rsp), %rbp
xorl %ecx, %ecx
xorl %r14d, %r14d
subq %rsi, %rax
sarq $0x5, %rax
cmpq %r14, %rax
jbe 0x1b597
movq %rcx, 0x10(%rsp)
addq %rcx, %rsi
leaq 0x20(%rsp), %rdi
callq 0x22f0
movq %r15, %rdi
callq 0x1d14e
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x22f0
movq %r15, %rbx
movq %r15, %rdi
leaq 0x80(%rsp), %r15
movq %r15, %rsi
callq 0x18d4c
movq %r15, %rdi
callq 0x20d0
movq %r12, %r15
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0x22f0
movq %rbp, %r13
movq %rbp, %rdi
movq %r15, %rsi
callq 0x26be0
leaq 0x208(%rsp), %rdi
movq %r13, %rsi
callq 0x22d0
movq %r13, %rdi
callq 0x20d0
movq %r15, %rdi
callq 0x20d0
movq 0x40(%rsp), %rsi
addq 0x8(%rsp), %rsi
xorps %xmm0, %xmm0
movq %rbx, %r15
movq %rbx, %rdi
pushq $0x1
popq %r8
callq 0x1af5d
movq %r15, %rdi
callq 0x1d2b4
leaq 0x20(%rsp), %rdi
callq 0x20d0
incq %r14
movq 0x18(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rax
movq 0x10(%rsp), %rcx
addq $0x20, %rcx
addq $0x18, 0x8(%rsp)
jmp 0x1b4ae
leaq 0x40(%rsp), %rdi
callq 0x1d342
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1b5da
jmp 0x1b5d3
jmp 0x1b600
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x1b5f9
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
jmp 0x1b5f9
movq %rax, %rbx
jmp 0x1b61f
jmp 0x1b600
movq %rax, %rbx
jmp 0x1b629
jmp 0x1b600
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
jmp 0x1b5f9
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x20d0
jmp 0x1b612
movq %rax, %rbx
jmp 0x1b612
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x16656
leaq 0x100(%rsp), %rdi
callq 0x1d2b4
leaq 0x20(%rsp), %rdi
callq 0x20d0
leaq 0x40(%rsp), %rdi
callq 0x1d342
movq %rbx, %rdi
callq 0x23d0