// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/unit_tests.h
// Function: timing__Update_BC(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, comp_type_t, int, operation_t)
void timing__Update_BC(
            vector<string>  path_vec,           //paths of the graphs
            int             num_edges,          //number of random edges
            int             rand_seed,          //seed for srand(...)
            int             num_sources,        //
            comp_type_t     algo_flag = BCC,    //what algorithms to evaluate
            int             num_thread = 1,
            operation_t     op = INSERTION
        )
{
    srand(rand_seed);
    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_graph(graph,
                edge_vec2[p], 
                num_sources, 
                algo_flag, 
                false, 
                1.0,
                num_thread,
                op
                );
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movl %r9d, 0x28(%rsp)
movl %r8d, 0x24(%rsp)
movl %esi, 0x2c(%rsp)
movq %rdi, %r14
movl %edx, %edi
callq 0x2220
xorps %xmm0, %xmm0
movaps %xmm0, 0xd0(%rsp)
movq $0x0, 0xe0(%rsp)
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x20d43
movl $0x8, %r15d
xorl %ebx, %ebx
leaq 0xf0(%rsp), %r12
leaq 0x30(%rsp), %r13
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x247c2
movq %r12, %rdi
callq 0x240d4
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xb0(%rsp), %rbp
movq %rbp, %rdi
callq 0x247c2
movq %r12, %rdi
movq %rbp, %rsi
callq 0x1e17a
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x20c33
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rbp
movq %rbp, %rdi
callq 0x247c2
movq %r13, %rdi
movq %rbp, %rsi
callq 0x2fc9c
leaq 0x1f8(%rsp), %rdi
movq %r13, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x20c96
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x20cbb
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 %r13, %rdx
callq 0x16f89
leaq 0xd0(%rsp), %rdi
movq %r13, %rsi
callq 0x24302
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x20d02
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %r12, %rdi
callq 0x2426c
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x20d25
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
incq %rbx
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r15
cmpq %rbx, %rcx
ja 0x20bb2
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x20ede
movl $0x8, %ebx
xorl %r13d, %r13d
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
leaq 0x10(%rsp), %rcx
movq %rcx, (%rsp)
movq -0x8(%rax,%rbx), %rsi
movq (%rax,%rbx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x247c2
leaq 0xf0(%rsp), %rdi
callq 0x240d4
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq (%rsp), %rsi
movq 0x8(%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 0x20dd7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %r15
movq %r15, %rdi
callq 0x247c2
movq %r12, %rdi
movq %r15, %rsi
callq 0x2fc9c
leaq 0x1f8(%rsp), %rdi
movq %r12, %rsi
callq 0x22d0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x20e34
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2250
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x20e56
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2250
xorl %eax, %eax
cmpl $0x0, 0x250(%rsp)
setne %al
movq 0xd0(%rsp), %rsi
addq %r13, %rsi
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
movl 0x24(%rsp), %ecx
xorl %r8d, %r8d
movsd 0x101a8(%rip), %xmm0    # 0x31030
movl 0x28(%rsp), %r9d
pushq $0x0
pushq %rax
callq 0x2063e
addq $0x10, %rsp
movq %r15, %rdi
callq 0x2426c
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x20ebc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
incq %rbp
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x18, %r13
addq $0x20, %rbx
cmpq %rbp, %rcx
ja 0x20d5f
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 0x20f4a
jmp 0x20f52
movq %rax, %r14
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x20fa8
movq 0x60(%rsp), %rsi
jmp 0x20f40
jmp 0x20fa5
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x20fa8
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x20fa8
movq %rax, %r14
jmp 0x20fec
movq %rax, %r14
jmp 0x20fd1
jmp 0x20f7b
movq %rax, %r14
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x20fc4
movq 0xc0(%rsp), %rsi
jmp 0x20fa0
movq %rax, %r14
jmp 0x20fc4
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x20fc4
movq 0xa0(%rsp), %rsi
incq %rsi
jmp 0x20fbf
movq %rax, %r14
jmp 0x20fc4
movq %rax, %r14
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x20fc4
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0xf0(%rsp), %rdi
callq 0x2426c
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x20fec
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
leaq 0xd0(%rsp), %rdi
callq 0x2432e
movq %r14, %rdi
callq 0x23b0