LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/iter_info_t.cc
// Function: iter_info_t::init_all(unsigned long)
void iter_info_t::init_all(size_t N)
{
    fill_vec<vector<node_id_t> >(P, N, vector<node_id_t>());
    fill_vec<int>(sigma_vec, N, 0);
    fill_vec<int>(dist_vec, N, -1);
    fill_vec<int>(sigma_inc_vec, N, 0);
    
    fill_vec<double>(delta_vec, N, 0);
    fill_vec<double>(Delta_vec, N, 0);

    fill_vec<bool>(visited_vec, N, false);
    S.clear();
    
//    fill_vec<int>(new_sigma_vec, N, 0);
//    fill_vec<double>(new_delta_vec, N, 0);
//    fill_vec<double>(new_Delta_vec, N, 0);
    
//    fill_vec<vector<node_id_t> >(old_P, N, vector<node_id_t>());
//    fill_vec<int>(old_sigma_vec, N, 0);
//    fill_vec<int>(old_dist_vec, N, -1);
//    fill_vec<double>(old_delta_vec, N, 0);
//    fill_vec<double>(old_Delta_vec, N, 0);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
callq 0x8c01
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1fa25
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x18(%rbx), %rdi
movq %r14, %rsi
callq 0xd848
movq 0x18(%rbx), %rdi
movq 0x20(%rbx), %rdx
cmpq %rdx, %rdi
je 0x1fa54
subq %rdi, %rdx
addq $-0x4, %rdx
andq $-0x4, %rdx
addq $0x4, %rdx
xorl %esi, %esi
callq 0x2110
leaq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xd848
movq 0x30(%rbx), %rdi
movq 0x38(%rbx), %rdx
cmpq %rdx, %rdi
je 0x1fa86
subq %rdi, %rdx
addq $-0x4, %rdx
andq $-0x4, %rdx
addq $0x4, %rdx
movl $0xff, %esi
callq 0x2110
leaq 0xc0(%rbx), %rdi
movq %r14, %rsi
callq 0xd848
movq 0xc0(%rbx), %rdi
movq 0xc8(%rbx), %rdx
cmpq %rdx, %rdi
je 0x1fabe
subq %rdi, %rdx
addq $-0x4, %rdx
andq $-0x4, %rdx
addq $0x4, %rdx
xorl %esi, %esi
callq 0x2110
leaq 0x48(%rbx), %rdi
movq %r14, %rsi
callq 0x5be8
movq 0x48(%rbx), %rdi
movq 0x50(%rbx), %rdx
cmpq %rdx, %rdi
je 0x1faed
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
leaq 0x60(%rbx), %rdi
movq %r14, %rsi
callq 0x5be8
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rdx
cmpq %rdx, %rdi
je 0x1fb1c
subq %rdi, %rdx
addq $-0x8, %rdx
andq $-0x8, %rdx
addq $0x8, %rdx
xorl %esi, %esi
callq 0x2110
leaq 0xd8(%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x8e0a
movq 0x100(%rbx), %rax
cmpq %rax, 0x108(%rbx)
je 0x1fb44
movq %rax, 0x108(%rbx)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1fb65
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/unit_tests.h
// Function: fill_test_graph(graph_t&)
void fill_test_graph(graph_t& graph)
{
    graph.init_size(20);
    graph.insert_edge(0,1);
    graph.insert_edge(1,2);
    graph.insert_edge(2,3);
    graph.insert_edge(3,0);
    graph.insert_edge(0,4);
    graph.insert_edge(4,5);
    graph.insert_edge(5,6);
    graph.insert_edge(6,7);
    graph.insert_edge(7,8);
    graph.insert_edge(8,4);
    graph.insert_edge(5,9);
    graph.insert_edge(9,8);
    graph.insert_edge(3,10);
    graph.insert_edge(10,11);
    graph.insert_edge(11,12);
    graph.insert_edge(12,13);
    graph.insert_edge(13,14);
    graph.insert_edge(14,15);
    graph.insert_edge(15,10);
    graph.insert_edge(2,16);
    graph.insert_edge(16,17);
    graph.insert_edge(17,18);
    graph.insert_edge(2,19);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x14, %esi
callq 0x1de34
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x1, %esi
movl $0x2, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x2, %esi
movl $0x3, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x3, %esi
xorl %edx, %edx
callq 0x1dc86
movq %rbx, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x4, %esi
movl $0x5, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x5, %esi
movl $0x6, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x6, %esi
movl $0x7, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x7, %esi
movl $0x8, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x8, %esi
movl $0x4, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x5, %esi
movl $0x9, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x9, %esi
movl $0x8, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x3, %esi
movl $0xa, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xa, %esi
movl $0xb, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xb, %esi
movl $0xc, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xc, %esi
movl $0xd, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xd, %esi
movl $0xe, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xe, %esi
movl $0xf, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0xf, %esi
movl $0xa, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x2, %esi
movl $0x10, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x10, %esi
movl $0x11, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x11, %esi
movl $0x12, %edx
callq 0x1dc86
movq %rbx, %rdi
movl $0x2, %esi
movl $0x13, %edx
popq %rbx
jmp 0x1dc86
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/unit_tests.h
// Function: test__fast_brandes_BC()
bool test__fast_brandes_BC()
{
    bool passed = false;
    printf("Testing [brandes_BC] ...\t");
    graph_t g;
    g.read_graph(string("Erdos02.lcc.net"));
    //fill_test_graph(g);
    vector<double> BC_vec;
    fast_brandes_BC(g, BC_vec);
    vector<double> ref_BC_vec = brandes_bc(g);
    passed = true;
    for(node_id_t v = 0; v < BC_vec.size(); ++v) {
        if((BC_vec[v] - ref_BC_vec[v]) > EPS) {
            passed = false;
        }
        //printf("[%f]\t\t[%f]\n", BC_vec[v], ref_BC_vec[v]);
    }
    if(passed) {
        printf("PASSED\n");
    } else {
        printf("FAILED\n");
    }
    
    return passed;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
leaq 0x10e83(%rip), %rdi     # 0x30c60
xorl %eax, %eax
callq 0x2030
leaq 0x50(%rsp), %rdi
callq 0x23f22
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x10e7c(%rip), %rsi     # 0x30c7a
leaq 0x10e84(%rip), %rdx     # 0x30c89
leaq 0x18(%rsp), %rdi
callq 0x246ba
leaq 0x50(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x1dfe6
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1fe35
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2250
xorpd %xmm0, %xmm0
movq %rsp, %rsi
movapd %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
leaq 0x50(%rsp), %rdi
callq 0x32cc
leaq 0x38(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xaa33
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
je 0x1febe
sarq $0x3, %rcx
movb $0x1, %bl
movq 0x38(%rsp), %rdx
xorl %esi, %esi
movsd 0x10db7(%rip), %xmm0    # 0x30c40
movsd (%rax,%rsi,8), %xmm1
subsd (%rdx,%rsi,8), %xmm1
ucomisd %xmm0, %xmm1
setbe %dil
andb %dil, %bl
incq %rsi
movl %esi, %edi
cmpq %rdi, %rcx
ja 0x1fe89
leaq 0x1102b(%rip), %rax     # 0x30eda
leaq 0x1101d(%rip), %rdi     # 0x30ed3
testb %bl, %bl
cmovneq %rax, %rdi
jmp 0x1fec7
movb $0x1, %bl
leaq 0x11013(%rip), %rdi     # 0x30eda
callq 0x2350
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1fee3
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1fef9
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x50(%rsp), %rdi
callq 0x240ba
movl %ebx, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r14
retq
jmp 0x1ff12
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1ff47
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
jmp 0x1ff3d
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1ff47
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x2250
jmp 0x1ff47
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x240ba
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: shared_vertex(muc_t&, std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>&)
bool shared_vertex(muc_t& muc, cycle_t& cycle)
{
    bool res = false;
    for(int i = 0; i < cycle.size(); ++i) {
        if(   muc.muc_subgraph.nodes_map.find(cycle[i].first) != muc.muc_subgraph.nodes_map.end() 
           || muc.muc_subgraph.nodes_map.find(cycle[i].second) != muc.muc_subgraph.nodes_map.end())
            return true;
    }
    return res;
}

// Assembly:
movq (%rsi), %r8
movq 0x8(%rsi), %r9
subq %r8, %r9
je 0x26dd1
pushq %r14
pushq %rbx
sarq $0x3, %r9
movq 0x68(%rdi), %r10
movq 0x70(%rdi), %rdi
movq (%r10,%rdi,8), %r11
cmpq $0x1, %r9
movq %r9, %rbx
adcq $0x0, %rbx
movb $0x1, %cl
xorl %r14d, %r14d
movl (%r8,%r14,8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movq (%r10,%rdx,8), %rax
testq %rax, %rax
je 0x26d99
cmpl (%rax), %esi
je 0x26d94
movq 0x20(%rax), %rax
jmp 0x26d85
cmpq %r11, %rax
jne 0x26dcc
movl 0x4(%r8,%r14,8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movq (%r10,%rdx,8), %rax
testq %rax, %rax
je 0x26dbe
cmpl (%rax), %esi
je 0x26db9
movq 0x20(%rax), %rax
jmp 0x26daa
cmpq %r11, %rax
jne 0x26dcc
incq %r14
cmpq %r14, %r9
seta %cl
cmpq %rbx, %r14
jne 0x26d75
popq %rbx
popq %r14
jmp 0x26dd3
xorl %ecx, %ecx
andb $0x1, %cl
movl %ecx, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: shared_vertex(std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>&, std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>&)
bool shared_vertex(cycle_t& c1, cycle_t& c2)
{
   bool res = false;
    for(int i = 0; i < c1.size(); ++i) {
        for(int j = 0; j < c2.size(); ++j) {
            if(   c1[i].first   == c2[j].first
               || c1[i].first   == c2[j].second
               || c1[i].second  == c2[j].first
               || c1[i].second  == c2[j].second) {
                return true;
            }
        }
    }
    return res;    
}

// Assembly:
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
subq %rcx, %rdx
je 0x26e62
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
sarq $0x3, %rdx
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
movq %rsi, %r8
subq %rdi, %r8
sarq $0x3, %r8
cmpq $0x1, %r8
adcq $0x0, %r8
cmpq $0x1, %rdx
movq %rdx, %r9
adcq $0x0, %r9
movb $0x1, %al
xorl %r10d, %r10d
cmpq %rdi, %rsi
je 0x26e4c
movl (%rcx,%r10,8), %r11d
xorl %ebx, %ebx
movl (%rdi,%rbx,8), %ebp
cmpl %ebp, %r11d
je 0x26e5a
movl 0x4(%rdi,%rbx,8), %r14d
cmpl %r14d, %r11d
je 0x26e5a
movl 0x4(%rcx,%r10,8), %r15d
cmpl %ebp, %r15d
je 0x26e5a
cmpl %r14d, %r15d
je 0x26e5a
incq %rbx
cmpq %rbx, %r8
jne 0x26e23
incq %r10
cmpq %r10, %rdx
seta %al
cmpq %r9, %r10
jne 0x26e18
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x26e64
xorl %eax, %eax
andb $0x1, %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: graph_t::merge_muc_cycle(muc_t&, std::vector<std::pair<unsigned int, unsigned int>, std::allocator<std::pair<unsigned int, unsigned int>>>&)
void graph_t::merge_muc_cycle(muc_t& muc, cycle_t& cycle)
{
    for(int i = 0; i < cycle.size(); ++i) {
        node_id_t src, dst;
        src = cycle[i].first;
        dst = cycle[i].second;
        muc.muc_subgraph.insert_edge(src, dst);
        node_to_muc_vec[src] = muc.id;
        node_to_muc_vec[dst] = muc.id;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x27ff6
movq %rdx, %rbx
movq %rdi, %r14
movq (%rsp), %rcx
leaq 0x60(%rcx), %r12
xorl %r15d, %r15d
movl (%rax,%r15,8), %r13d
movl 0x4(%rax,%r15,8), %ebp
movq %r12, %rdi
movl %r13d, %esi
movl %ebp, %edx
callq 0x1c320
movq (%rsp), %rax
movl 0x308(%rax), %eax
movq 0x18(%r14), %rcx
movl %eax, (%rcx,%r13,4)
movl %eax, (%rcx,%rbp,4)
incq %r15
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r15, %rcx
ja 0x27fb5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: muc_t::insert_conn_vertex(unsigned int, unsigned int)
void muc_t::insert_conn_vertex(node_id_t id, node_id_t nbr) {
    if(conn_vertex_map.find(id) != conn_vertex_map.end()) {
        conn_vertex_map[id].push_back(nbr);
    } else {
        vector<node_id_t> vec;
        vec.push_back(nbr);
        conn_vertex_map.insert(make_pair(id, vec));
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, 0xc(%rsp)
movl %edx, 0x8(%rsp)
movl %esi, %eax
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rsi
xorl %edx, %edx
divq %rsi
movq (%rcx,%rdx,8), %rax
testq %rax, %rax
je 0x2807a
cmpl %ebp, (%rax)
je 0x28046
movq 0x20(%rax), %rax
jmp 0x28037
cmpq (%rcx,%rsi,8), %rax
je 0x2807a
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0xd984
movq 0x8(%rax), %rsi
cmpq 0x10(%rax), %rsi
je 0x28139
movl 0x8(%rsp), %ecx
movl %ecx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rax)
jmp 0x2812d
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x8(%rsp), %rdx
xorl %esi, %esi
callq 0x6f14
leaq 0x30(%rsp), %r14
movl %ebp, -0x8(%r14)
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x6112
movl 0x28(%rsp), %eax
leaq 0x48(%rsp), %rdx
movl %eax, (%rdx)
movups 0x30(%rsp), %xmm0
movups %xmm0, 0x8(%rdx)
movq 0x40(%rsp), %rax
movq %rax, 0x18(%rdx)
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0x1d500
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x280ff
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x28116
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2812d
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
addq $0x80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8(%rsp), %rdx
movq %rax, %rdi
callq 0x6f14
jmp 0x2812d
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x28162
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x28180
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
jmp 0x28180
jmp 0x2817d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x28197
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: graph_t::get_num_mucs()
size_t graph_t::get_num_mucs()
{
    size_t res = 0;
    for(int i = 0; i < muc_vec.size(); ++i) {
        if(muc_vec[i].valid) {
            ++res;
        }
    }
    return res;
}

// Assembly:
movq 0x60(%rdi), %rcx
movq 0x68(%rdi), %rax
subq %rcx, %rax
je 0x2876d
sarq $0x3, %rax
movabsq $-0x77dc7c4cf2ae9cdb, %rdx # imm = 0x882383B30D516325
imulq %rax, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
addq $0x30c, %rcx            # imm = 0x30C
xorl %eax, %eax
movzbl (%rcx), %esi
addq %rsi, %rax
addq $0x568, %rcx            # imm = 0x568
decq %rdx
jne 0x2875a
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::insert_edge(unsigned int, unsigned int)
void subgraph_t::insert_edge(node_id_t src, node_id_t dst)
{
    edge_t e1, e2;
    e1.first   = src;
    e1.second  = dst;
    e2.first   = dst;
    e2.second  = src;
    if(edge_set.find(e1) != edge_set.end() || edge_set.find(e2) != edge_set.end())
        return;
    else
        edge_set.insert(e1);
    nodes_vec[src].push_back(dst);
    nodes_vec[dst].push_back(src);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movl %esi, %ebx
movq %rdi, %r14
movl %esi, 0xc(%rsp)
movl %edx, 0x8(%rsp)
leaq 0x18(%rsp), %rsi
movl %ebx, (%rsi)
movl %edx, 0x4(%rsi)
movl %edx, 0x10(%rsp)
movl %ebx, 0x14(%rsp)
leaq 0x18(%rdi), %r15
movq %r15, %rdi
callq 0x1d614
movq %rax, %r12
leaq 0x20(%r14), %rax
cmpq %rax, %r12
jne 0x2e908
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x1d614
cmpq %r12, %rax
jne 0x2e908
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
callq 0x1d672
movl %ebx, %ecx
movq (%r14), %rax
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x2e8cb
movl %ebp, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x2e8de
leaq 0x8(%rsp), %r15
movq %r15, %rdx
callq 0x6f14
movl (%r15), %ebp
movq (%r14), %rax
movl %ebp, %ecx
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x2e8fe
movl %ebx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x2e908
leaq 0xc(%rsp), %rdx
callq 0x6f14
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::remove_edge(unsigned int, unsigned int)
void subgraph_t::remove_edge(node_id_t src, node_id_t dst)
{
    pair<node_id_t, node_id_t> edge = make_pair(src, dst);
    edge_set.erase(edge);
    edge = make_pair(dst, src);
    edge_set.erase(edge);
    
    vector<node_id_t>& v1 = nodes_vec[src];
    vector<node_id_t>& v2 = nodes_vec[dst];
    v1.erase(std::remove(v1.begin(), v1.end(), dst), v1.end());
    v2.erase(std::remove(v2.begin(), v2.end(), src), v2.end());    
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movl %esi, 0x8(%rsp)
leaq 0xc(%rsp), %rbx
movl %edx, (%rbx)
shlq $0x20, %rdx
movl %esi, %eax
orq %rdx, %rax
leaq 0x10(%rsp), %r15
movq %rax, (%r15)
leaq 0x18(%rdi), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1d7b2
movq %r12, %rdi
movq %rax, %rsi
callq 0x1d87e
movl (%rbx), %eax
movl 0x8(%rsp), %ecx
movl %eax, (%r15)
movl %ecx, 0x4(%r15)
movq %r12, %rdi
movq %r15, %rsi
callq 0x1d7b2
movq %r12, %rdi
movq %rax, %rsi
callq 0x1d87e
movl 0x8(%rsp), %eax
movq (%r14), %r15
leaq (%rax,%rax,2), %r12
movl (%rbx), %eax
leaq (%rax,%rax,2), %rax
leaq (%r15,%rax,8), %r14
movq (%r15,%r12,8), %rdi
movq 0x8(%r15,%r12,8), %rsi
movq %rbx, %rdx
callq 0x1d923
cmpq 0x8(%r15,%r12,8), %rax
je 0x2e9b2
leaq (%r15,%r12,8), %rcx
movq %rax, 0x8(%rcx)
movq (%r14), %rdi
movq 0x8(%r14), %rsi
leaq 0x8(%rsp), %rdx
callq 0x1d923
cmpq 0x8(%r14), %rax
je 0x2e9cd
movq %rax, 0x8(%r14)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::print_graph(bool)
void subgraph_t::print_graph(bool with_nodes)
{
    printf("Edges: \n");
    for(set<edge_t >::iterator it = edge_set.begin(); it != edge_set.end(); it++) {
        printf("[%d] === [%d]\n", it->first, it->second);
    }
    if(with_nodes) {
        printf("Nodes with edge lists: \n");
        for(int i = 0; i < nodes_vec.size(); ++i) {
            printf("[%d]\t-- ", i);
            for(int j = 0; j < nodes_vec[i].size(); j++) {
                printf("[%d] ", nodes_vec[i][j]);
            }
            printf("\n");
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x21a4(%rip), %rdi      # 0x30baf
callq 0x2350
movq 0x30(%rbx), %r14
leaq 0x20(%rbx), %r12
cmpq %r12, %r14
je 0x2ea46
leaq 0x216d(%rip), %r15      # 0x30b91
movl 0x20(%r14), %esi
movl 0x24(%r14), %edx
movq %r15, %rdi
xorl %eax, %eax
callq 0x2030
movq %r14, %rdi
callq 0x2290
movq %rax, %r14
cmpq %r12, %rax
jne 0x2ea24
testb %bpl, %bpl
je 0x2eaec
leaq 0x2161(%rip), %rdi      # 0x30bb7
callq 0x2350
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2eaec
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x2130(%rip), %r15      # 0x30ba9
xorl %r12d, %r12d
leaq 0x211d(%rip), %rdi      # 0x30ba0
movl %r12d, %esi
xorl %eax, %eax
callq 0x2030
movq (%rbx), %rcx
leaq (%r12,%r12,2), %rbp
movq (%rcx,%rbp,8), %rax
cmpq %rax, 0x8(%rcx,%rbp,8)
je 0x2eacb
xorl %r14d, %r14d
movl (%rax,%r14,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x2030
incq %r14
movq (%rbx), %rcx
movq (%rcx,%rbp,8), %rax
movq 0x8(%rcx,%rbp,8), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r14, %rcx
ja 0x2eaa2
movl $0xa, %edi
callq 0x22f0
movq 0x8(%rbx), %rax
subq (%rbx), %rax
incq %r12
sarq $0x3, %rax
imulq %r13, %rax
cmpq %r12, %rax
ja 0x2ea7c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::find_sssp(unsigned int, std::vector<int, std::allocator<int>>&)
void subgraph_t::find_sssp(node_id_t s, vector<int>& out_vec)
{
    out_vec.clear();
    i_fill_map<int>(out_vec, -1);
    queue<node_id_t> Q;
    Q.push(s);
    out_vec[s] = 0;
    while(!Q.empty()) {
        node_id_t v = Q.front(); Q.pop();
        vector<node_id_t> nbr_vec = get_nbrs(v);
        for(int i = 0; i < nbr_vec.size(); ++i) {
            node_id_t nbr = nbr_vec[i];
            if(out_vec[nbr] == -1) {
                out_vec[nbr] = out_vec[v] + 1;
                Q.push(nbr);
            }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movl %esi, 0x4(%rsp)
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x2ee7b
movq %rax, 0x8(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2f43a
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r15
movaps %xmm0, 0x40(%r15)
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
movq %r15, %rdi
xorl %esi, %esi
callq 0x6ad0
movq 0x30(%r15), %rcx
movq 0x40(%r15), %rax
addq $-0x4, %rax
cmpq %rax, %rcx
je 0x2eed3
movl %ebp, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x50(%rsp)
jmp 0x2eeeb
leaq 0x20(%rsp), %rdi
leaq 0x4(%rsp), %rsi
callq 0x75be
movl 0x4(%rsp), %ebp
movq 0x50(%rsp), %rcx
movl %ebp, %eax
movq (%rbx), %rdx
movl $0x0, (%rdx,%rax,4)
movq 0x30(%rsp), %rax
cmpq %rax, %rcx
je 0x2f00c
leaq 0x20(%rsp), %r12
movq %rsp, %r13
movl (%rax), %ebp
movq 0x40(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x2ef23
addq $0x4, %rax
jmp 0x2ef55
movq 0x38(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2250
movq 0x48(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x48(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x38(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x40(%rsp)
movq %rax, 0x30(%rsp)
leaq (,%rbp,2), %rsi
addq %rbp, %rsi
shlq $0x3, %rsi
addq (%r14), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6112
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
cmpq %rdi, %rax
je 0x2efea
xorl %r15d, %r15d
movl (%rdi,%r15,4), %ecx
movl %ecx, (%rsp)
movq (%rbx), %rdx
cmpl $-0x1, (%rdx,%rcx,4)
jne 0x2efd8
movl (%rdx,%rbp,4), %esi
incl %esi
movl %esi, (%rdx,%rcx,4)
movq 0x50(%rsp), %rcx
movq 0x60(%rsp), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x2efc3
movl (%rsp), %edx
movl %edx, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x50(%rsp)
jmp 0x2efd8
movq %r12, %rdi
movq %r13, %rsi
callq 0x75be
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
incq %r15
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x2ef88
testq %rdi, %rdi
je 0x2effc
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x30(%rsp), %rax
cmpq %rax, 0x50(%rsp)
jne 0x2ef0d
leaq 0x20(%rsp), %rdi
callq 0x690a
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2f027
movq %rax, %rbx
jmp 0x2f046
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2f046
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
leaq 0x20(%rsp), %rdi
callq 0x690a
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::find_pruning_counts_exp(unsigned int, unsigned int, int&, int&, int&)
void subgraph_t::find_pruning_counts_exp(node_id_t src,
                                        node_id_t dst,
                                        int& d0_cnt,
                                        int& d1_cnt,
                                        int& d2_cnt)
{
    vector<int> d_src_vec, d_dst_vec;
    find_sssp(src, d_src_vec);
    find_sssp(dst, d_dst_vec);
    d0_cnt = 0;
    d1_cnt = 0;
    d2_cnt = 0;
    for(int i = 0; i < nodes_vec.size(); ++i) {
        node_id_t s = i;
        int diff = d_src_vec[s] - d_dst_vec[s];
        int abs_diff = abs(diff);
        switch(abs_diff) {
            case 0:  d0_cnt++; break;
            case 1:  d1_cnt++; break;
            default: d2_cnt++;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movq %rdi, %r12
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdx
movaps %xmm0, (%rdx)
xorl %eax, %eax
movq %rax, 0x10(%rdx)
movq %rax, 0x10(%rsp)
movaps %xmm0, (%rsp)
callq 0x2ee54
movq %rsp, %rdx
movq %r12, %rdi
movl %ebp, %esi
callq 0x2ee54
xorl %eax, %eax
movl %eax, (%r15)
movl %eax, (%r14)
movl %eax, (%rbx)
movq 0x8(%r12), %rcx
movq (%rsp), %rdi
subq (%r12), %rcx
je 0x2f108
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
movq 0x20(%rsp), %rcx
cmpq $0x1, %rax
adcq $0x0, %rax
xorl %edx, %edx
movl (%rcx,%rdx,4), %r8d
subl (%rdi,%rdx,4), %r8d
movl %r8d, %esi
negl %esi
cmovsl %r8d, %esi
movq %r15, %r8
testl %esi, %esi
je 0x2f0fb
movq %r14, %r8
cmpl $0x1, %esi
je 0x2f0fb
movq %rbx, %r8
incl (%r8)
incq %rdx
cmpq %rdx, %rax
jne 0x2f0d8
jmp 0x2f10d
testq %rdi, %rdi
je 0x2f11a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x2f131
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2f157
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2f45
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::fill_graph(graph_hash_t&)
void subgraph_t::fill_graph(graph_hash_t& g)
{       
    nodes_vec.clear();
    edge_set.clear();
    
    inout_label_map.clear(); // maps internal labels to original
    outin_label_map.clear(); // original labels to internal    

    nodes_vec.resize(g.size());
    inout_label_map.resize(g.size());
    int cnt = 0;
    for(graph_hash_t::nodes_map_t::iterator it = g.nodes_map.begin();
            it != g.nodes_map.end();
            ++it) {
        inout_label_map[cnt] = it->first;
        outin_label_map.insert(make_pair(it->first, cnt));
        cnt++;
    }
    for(set<edge_t>::iterator it = g.edge_set.begin();
            it != g.edge_set.end();
            ++it) {
        node_id_t src, dst;
        src = outin_label_map[it->first];
        dst = outin_label_map[it->second];
        insert_edge(src, dst);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rsi
callq 0x716e
leaq 0x18(%r14), %rdi
callq 0x1d8f6
leaq 0x48(%r14), %rax
movq %rax, (%rsp)
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x2f1a7
movq %rax, 0x50(%r14)
leaq 0x60(%r14), %r15
movq 0x68(%r14), %rsi
movq 0x70(%r14), %rdx
movq %r15, %rdi
callq 0x66a6
movq $0x0, 0x78(%r14)
movq %rbx, %rdi
callq 0x1c4e0
movq %r14, %rdi
movq %rax, %rsi
callq 0x5e32
movq %rbx, %rdi
callq 0x1c4e0
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x1527c
movq 0x8(%rbx), %rax
movq (%rax), %rbp
movq %rax, %r13
testq %rbp, %rbp
jne 0x2f209
movq %rax, %r13
movq 0x8(%r13), %rbp
addq $0x8, %r13
testq %rbp, %rbp
je 0x2f1fc
movq 0x10(%rbx), %rcx
cmpq (%rax,%rcx,8), %rbp
je 0x2f263
xorl %r12d, %r12d
movl (%rbp), %eax
movq (%rsp), %rcx
movq (%rcx), %rcx
movl %eax, (%rcx,%r12,4)
movl %eax, 0x8(%rsp)
movl %r12d, 0xc(%rsp)
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
leaq 0x8(%rsp), %rdx
callq 0x2f6fa
movq 0x20(%rbp), %rbp
testq %rbp, %rbp
jne 0x2f252
movq 0x8(%r13), %rbp
addq $0x8, %r13
jmp 0x2f243
incq %r12
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
cmpq (%rax,%rcx,8), %rbp
jne 0x2f216
movq 0x48(%rbx), %r12
addq $0x38, %rbx
cmpq %rbx, %r12
je 0x2f2a8
leaq 0x20(%r12), %rsi
movq %r15, %rdi
callq 0x5d14
movl (%rax), %ebp
leaq 0x24(%r12), %rsi
movq %r15, %rdi
callq 0x5d14
movl (%rax), %edx
movq %r14, %rdi
movl %ebp, %esi
callq 0x2e844
movq %r12, %rdi
callq 0x2290
movq %rax, %r12
cmpq %rbx, %rax
jne 0x2f270
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/subgraph_t.cc
// Function: subgraph_t::fill_graph(graph_t&)
void subgraph_t::fill_graph(graph_t& g)
{       
    nodes_vec.clear();
    edge_set.clear();
    
    inout_label_map.clear(); // maps internal labels to original
    outin_label_map.clear(); // original labels to internal    

    nodes_vec.resize(g.size());
    for(node_id_t i = 0; i < g.size(); ++i) {
        nodes_vec[i] = g.nodes_vec[i].nbrs_vec;
    } 
    edge_set = g.edge_set;
    
    inout_label_map.resize(size());
    for(node_id_t i = 0; i < size(); ++i) {
        outin_label_map.insert(make_pair(i, i));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %rsi
callq 0x716e
leaq 0x18(%rbx), %r13
movq %r13, %rdi
callq 0x1d8f6
movq 0x48(%rbx), %rax
cmpq %rax, 0x50(%rbx)
je 0x2f2ee
movq %rax, 0x50(%rbx)
leaq 0x48(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x60(%rbx), %r14
movq 0x68(%rbx), %rsi
movq 0x70(%rbx), %rdx
movq %r14, %rdi
callq 0x66a6
movq $0x0, 0x78(%rbx)
movq %r15, %rdi
callq 0x1dfcc
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5e32
movq %r15, %rdi
callq 0x1dfcc
testq %rax, %rax
je 0x2f363
movl $0x1, %ebp
xorl %r12d, %r12d
shlq $0x3, %r12
leaq (%r12,%r12,2), %rdi
movq (%r15), %rsi
addq %rdi, %rsi
addq (%rbx), %rdi
callq 0x5d4e
movl %ebp, %r12d
movq %r15, %rdi
callq 0x1dfcc
incl %ebp
cmpq %r12, %rax
ja 0x2f33b
addq $0x30, %r15
movq %r13, %rdi
movq %r15, %rsi
callq 0x2b6b8
movq 0x8(%rbx), %rsi
subq (%rbx), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r13, %rsi
movq 0x8(%rsp), %rdi
callq 0x1527c
movq 0x8(%rbx), %rax
cmpq (%rbx), %rax
je 0x2f3db
movl $0x1, %ebp
leaq 0x10(%rsp), %r15
movq %rsp, %r12
leal -0x1(%rbp), %eax
movl %eax, (%rsp)
movl %eax, 0x4(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2f6fa
movl %ebp, %eax
movq 0x8(%rbx), %rcx
subq (%rbx), %rcx
sarq $0x3, %rcx
imulq %r13, %rcx
incl %ebp
cmpq %rax, %rcx
ja 0x2f3ab
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/utility.cc
// Function: simple_stats(std::vector<double, std::allocator<double>>, double&, double&, double&, double&, double&)
void simple_stats(vector<double> vec,
        double& mean,
        double& stddev,
        double& median,
        double& min,
        double& max)
{
    sort(vec.begin(), vec.end());
    min = *(min_element(vec.begin(), vec.end()));
    max = *(max_element(vec.begin(), vec.end()));
    double sum = accumulate(vec.begin(), vec.end(), 0.0);
    mean = sum/vec.size();
    median = vec[vec.size()/2];
    
    double sum_2 = 0;
    for(int i = 0; i < vec.size(); ++i)
        sum_2 += ((vec[i]-mean)*(vec[i]-mean));
    stddev = sqrt(sum_2/vec.size());
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r13
movq %r8, %rbp
movq %rcx, %r14
movq %rdx, 0x10(%rsp)
movq (%rdi), %r12
movq 0x8(%rdi), %r15
cmpq %r15, %r12
je 0x2f7fe
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq %r15, %rax
subq %r12, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x2f9ee
movq %r12, %rdi
movq %r15, %rsi
callq 0x2fae7
movq (%rbx), %rax
movq 0x8(%rbx), %r12
cmpq %r12, %rax
sete %dl
leaq 0x8(%rax), %rdi
cmpq %r12, %rdi
sete %sil
orb %dl, %sil
movsd (%rax), %xmm0
je 0x2f820
movsd %xmm0, (%rbp)
movsd (%rax), %xmm0
movsd %xmm0, (%r13)
cmpq %r12, %rax
movq 0x8(%rsp), %rsi
jne 0x2f888
xorpd %xmm0, %xmm0
movb $0x1, %dl
jmp 0x2f89e
movsd (%r12), %xmm0
movsd %xmm0, (%rbp)
movsd (%r12), %xmm0
movsd %xmm0, (%r13)
xorpd %xmm0, %xmm0
movb $0x1, %dl
movq %r12, %rax
jmp 0x2f89e
movq %rdi, %rsi
movq %rax, %rdx
movsd (%rsi), %xmm1
ucomisd %xmm1, %xmm0
cmovaq %rsi, %rdx
minsd %xmm0, %xmm1
addq $0x8, %rsi
movapd %xmm1, %xmm0
cmpq %r12, %rsi
jne 0x2f826
movsd (%rdx), %xmm0
movsd %xmm0, (%rbp)
movsd (%rax), %xmm0
movq %rax, %rdx
movq 0x8(%rsp), %rsi
movsd (%rdi), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rdi, %rdx
maxsd %xmm0, %xmm1
addq $0x8, %rdi
movapd %xmm1, %xmm0
cmpq %r12, %rdi
jne 0x2f858
movsd (%rdx), %xmm0
movsd %xmm0, (%r13)
cmpq %r12, %rax
je 0x2f7f3
xorpd %xmm0, %xmm0
movq %rax, %rdx
addsd (%rdx), %xmm0
addq $0x8, %rdx
cmpq %r12, %rdx
jne 0x2f88f
xorl %edx, %edx
subq %rax, %r12
movq %r12, %rdi
sarq $0x3, %rdi
movq %rdi, %xmm2
punpckldq 0x96b(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x973(%rip), %xmm2      # 0x30230
movapd %xmm2, %xmm1
unpckhpd %xmm2, %xmm1            # xmm1 = xmm1[1],xmm2[1]
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, (%rsi)
sarq %r12
andq $-0x8, %r12
movsd (%rax,%r12), %xmm0
movsd %xmm0, (%r14)
xorpd %xmm2, %xmm2
xorpd %xmm0, %xmm0
testb %dl, %dl
jne 0x2f916
movsd (%rsi), %xmm3
cmpq $0x1, %rdi
adcq $0x0, %rdi
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm4
subsd %xmm3, %xmm4
mulsd %xmm4, %xmm4
addsd %xmm4, %xmm0
incq %rdx
cmpq %rdx, %rdi
jne 0x2f8fd
divsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0x2f926
sqrtsd %xmm0, %xmm0
jmp 0x2f92b
callq 0x21d0
movq 0x10(%rsp), %rax
movsd %xmm0, (%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/utility.cc
// Function: extract_graph_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string extract_graph_name(string path)
{
    string out;
    int pos = path.rfind("/") + 1;
    int length = path.length() - pos + 1;
    out = path.substr(pos, length);
    return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x1458(%rip), %rsi      # 0x30dc4
movl $0x1, %ecx
movq %r14, %rdi
movq $-0x1, %rdx
callq 0x22e0
movl 0x8(%r14), %ecx
incl %eax
movslq %eax, %rdx
subl %edx, %ecx
incl %ecx
movslq %ecx, %rcx
movq %rsp, %rdi
movq %r14, %rsi
callq 0x2260
movq %rsp, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22d0
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x2f9c3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x2f9e6
movq (%r15), %rsi
incq %rsi
callq 0x2250
movq %r14, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O3/sidscrazy[P]Paxos/./paxos_controller.cpp
// Function: PaxosController::end_simulation()
void end_simulation (){
		int status;
		char buf[1024];
		for (int i = 0; i < nodes ; i++){
			threads[i].join ();
			waitpid (children[i], &status, 0);
		}
		log->CloseLogFile ();
		//std::cout << "Simulation Complete" << std::endl;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x0, 0xb0(%rdi)
jle 0x3843
xorl %r15d, %r15d
leaq -0x24(%rbp), %r14
xorl %r12d, %r12d
movq 0x30(%rbx), %rdi
addq %r15, %rdi
callq 0x2320
movq (%rbx), %rax
movl (%rax,%r12,4), %edi
movq %r14, %rsi
xorl %edx, %edx
callq 0x2180
incq %r12
movslq 0xb0(%rbx), %rax
addq $0x8, %r15
cmpq %rax, %r12
jl 0x3813
movq 0xc0(%rbx), %rdi
callq 0x449e
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/sidscrazy[P]Paxos/./paxos_controller.cpp
// Function: PaxosController::clear_memory()
void clear_memory (){
		children.erase (children.begin (), children.end ());
		sockets.erase (sockets.begin (), sockets.end ());
		threads.erase (threads.begin (), threads.end ());
		mutexes.clear ();
		delete log;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
cmpq 0x8(%rdi), %rax
je 0x3872
movq %rax, 0x8(%rbx)
movq 0x18(%rbx), %rax
cmpq 0x20(%rbx), %rax
je 0x3880
movq %rax, 0x20(%rbx)
leaq 0x30(%rbx), %rdi
movq 0x30(%rbx), %rsi
movq 0x38(%rbx), %rdx
callq 0x3e32
movq 0x48(%rbx), %rax
cmpq %rax, 0x50(%rbx)
je 0x389f
movq %rax, 0x50(%rbx)
movq 0xc0(%rbx), %rbx
testq %rbx, %rbx
je 0x38b3
movq %rbx, %rdi
callq 0x43e6
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x21f0
nop
// File: /workspace/github_cpp_makefile_star2_O3/cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::KdTree(std::vector<Kdtree::KdNode, std::allocator<Kdtree::KdNode>> const*, int)
KdTree::KdTree(const KdNodeVector* nodes, int distance_type /*=2*/) {
  size_t i, j;
  double val;
  // copy over input data
  if (!nodes || nodes->empty())
    throw std::invalid_argument(
        "kdtree::KdTree(): argument nodes must not be empty");
  dimension = nodes->begin()->point.size();
  allnodes = *nodes;
  // initialize distance values
  distance = NULL;
  this->distance_type = -1;
  set_distance(distance_type);
  // compute global bounding box
  lobound = nodes->begin()->point;
  upbound = nodes->begin()->point;
  for (i = 1; i < nodes->size(); i++) {
    for (j = 0; j < dimension; j++) {
      val = allnodes[i].point[j];
      if (lobound[j] > val) lobound[j] = val;
      if (upbound[j] < val) upbound[j] = val;
    }
  }
  // build tree recursively
  root = build_tree(0, 0, allnodes.size());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
leaq 0x48(%rdi), %r15
xorpd %xmm0, %xmm0
movupd %xmm0, 0x48(%rdi)
movq $0x0, 0x58(%rdi)
movupd %xmm0, (%rdi)
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, 0x20(%rdi)
testq %rsi, %rsi
je 0x3a8c
movq %rsi, %r12
movq (%rsi), %rax
cmpq 0x8(%rsi), %rax
je 0x3a8c
movl %edx, %ebp
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x3, %rcx
movq %rcx, 0x60(%rbx)
movq %r15, %rdi
movq %r12, %rsi
callq 0x4670
movq $0x0, 0x38(%rbx)
movl $0xffffffff, 0x30(%rbx) # imm = 0xFFFFFFFF
movq %rbx, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x3b0a
movq (%r12), %rsi
movq %rbx, %rdi
callq 0x33a0
movq (%r12), %rsi
movq %r14, %rdi
callq 0x33a0
movq 0x8(%r12), %rcx
subq (%r12), %rcx
sarq $0x3, %rcx
movabsq $-0x3333333333333333, %rax # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %rcx
movq (%r15), %rdx
cmpq $0x2, %rcx
jb 0x3a5e
movq 0x60(%rbx), %rsi
movq (%rbx), %rdi
movq 0x18(%rbx), %r8
movl $0x1, %r9d
testq %rsi, %rsi
je 0x3a56
leaq (%r9,%r9,4), %r10
movq (%rdx,%r10,8), %r10
xorl %r11d, %r11d
movsd (%r10,%r11,8), %xmm0
movsd (%rdi,%r11,8), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x3a40
movsd %xmm0, (%rdi,%r11,8)
ucomisd (%r8,%r11,8), %xmm0
jbe 0x3a4e
movsd %xmm0, (%r8,%r11,8)
incq %r11
cmpq %r11, %rsi
jne 0x3a28
incq %r9
cmpq %rcx, %r9
jne 0x3a18
movq 0x50(%rbx), %rcx
subq %rdx, %rcx
sarq $0x3, %rcx
imulq %rax, %rcx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3b9a
movq %rax, 0x68(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x2080
movq %rax, %r13
leaq 0x3880(%rip), %rsi      # 0x7320
movq %rax, %rdi
callq 0x21b0
movq 0x6531(%rip), %rsi      # 0x9fe0
movq 0x651a(%rip), %rdx      # 0x9fd0
movq %r13, %rdi
callq 0x2190
jmp 0x3acf
jmp 0x3acf
movq %rax, %r12
movq %r13, %rdi
callq 0x20d0
jmp 0x3ad2
movq %rax, %r12
movq %r15, %rdi
callq 0x334c
movq (%r14), %rdi
testq %rdi, %rdi
je 0x3aee
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x2120
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3b02
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x2120
movq %r12, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O3/cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::set_distance(int, std::vector<double, std::allocator<double>> const*)
void KdTree::set_distance(int distance_type,
                          const DoubleVector* weights /*=NULL*/) {
  if (distance) delete distance;
  this->distance_type = distance_type;
  if (distance_type == 0) {
    distance = (DistanceMeasure*)new DistanceL0(weights);
  } else if (distance_type == 1) {
    distance = (DistanceMeasure*)new DistanceL1(weights);
  } else {
    distance = (DistanceMeasure*)new DistanceL2(weights);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebp
movq %rdi, %r14
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x3b28
movq (%rdi), %rax
callq *0x8(%rax)
movl %ebp, 0x30(%r14)
movl $0x10, %edi
callq 0x2110
movq %rax, %rbx
cmpl $0x1, %ebp
je 0x3b4f
testl %ebp, %ebp
jne 0x3b5c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4834
jmp 0x3b67
movq %rbx, %rdi
movq %r15, %rsi
callq 0x488e
jmp 0x3b67
movq %rbx, %rdi
movq %r15, %rsi
callq 0x48e8
movq (%rbx), %rax
addq -0x30(%rax), %rbx
movq %rbx, 0x38(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3b81
jmp 0x3b81
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x2120
movq %r14, %rdi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::range_nearest_neighbors(std::vector<double, std::allocator<double>> const&, double, std::vector<Kdtree::KdNode, std::allocator<Kdtree::KdNode>>*)
void KdTree::range_nearest_neighbors(const CoordPoint& point, double r,
                                     KdNodeVector* result) {
  KdNode temp;

  result->clear();
  if (point.size() != dimension)
    throw std::invalid_argument(
        "kdtree::k_nearest_neighbors(): point must be of same dimension as "
        "kdtree");
  if (this->distance_type == 2) {
    // if euclidien distance is used the range must be squared because we
    // get squared distances from this implementation
    r *= r;
  }

  // collect result in range_result
  std::vector<size_t> range_result;
  range_search(point, root, r, &range_result);

  // copy over result
  for (std::vector<size_t>::iterator i = range_result.begin();
       i != range_result.end(); ++i) {
    result->push_back(allnodes[*i]);
  }

  // clear vector
  range_result.clear();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movsd %xmm0, 0x18(%rsp)
movq %rsi, %r15
movq %rdi, %r14
movq (%rdx), %rsi
movq %rdx, %rdi
callq 0x5bae
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x3, %rax
cmpq 0x60(%r14), %rax
jne 0x42f5
cmpl $0x2, 0x30(%r14)
je 0x426f
movsd 0x18(%rsp), %xmm0
jmp 0x4279
movsd 0x18(%rsp), %xmm0
mulsd %xmm0, %xmm0
xorps %xmm1, %xmm1
movq %rsp, %rcx
movaps %xmm1, (%rcx)
movq $0x0, 0x10(%rcx)
movq 0x68(%r14), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4358
movq (%rsp), %r15
cmpq 0x8(%rsp), %r15
je 0x42d6
movq (%r15), %rax
leaq (%rax,%rax,4), %rsi
shlq $0x3, %rsi
addq 0x48(%r14), %rsi
movq %rbx, %rdi
callq 0x4a1c
addq $0x8, %r15
cmpq 0x8(%rsp), %r15
jne 0x42a4
movq (%rsp), %rdi
cmpq %rdi, %r15
je 0x42d9
movq %rdi, 0x8(%rsp)
jmp 0x42d9
movq %r15, %rdi
testq %rdi, %rdi
je 0x42eb
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2120
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x2080
movq %rax, %r14
leaq 0x304a(%rip), %rsi      # 0x7353
movq %rax, %rdi
callq 0x21b0
movq 0x5cc8(%rip), %rsi      # 0x9fe0
movq 0x5cb1(%rip), %rdx      # 0x9fd0
movq %r14, %rdi
callq 0x2190
movq %rax, %rbx
movq %r14, %rdi
callq 0x20d0
jmp 0x434f
jmp 0x4336
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x434f
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2120
movq %rbx, %rdi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::range_search(std::vector<double, std::allocator<double>> const&, Kdtree::kdtree_node*, double, std::vector<unsigned long, std::allocator<unsigned long>>*)
void KdTree::range_search(const CoordPoint& point, kdtree_node* node,
                          double r, std::vector<size_t>* range_result) {
  double curdist = distance->distance(point, node->point);
  if (curdist <= r) {
    range_result->push_back(node->dataindex);
  }
  if (node->loson != NULL && this->bounds_overlap_ball(point, r, node->loson)) {
    range_search(point, node->loson, r, range_result);
  }
  if (node->hison != NULL && this->bounds_overlap_ball(point, r, node->hison)) {
    range_search(point, node->hison, r, range_result);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movsd %xmm0, (%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq 0x38(%r12), %rdi
leaq 0x10(%r14), %rdx
movq (%rdi), %rax
movq %r15, %rsi
callq *0x10(%rax)
movsd (%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x43b3
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x43a8
movq (%r14), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x43b3
movq %rbx, %rdi
movq %r14, %rdx
callq 0x5fc0
movq 0x28(%r14), %rdx
testq %rdx, %rdx
je 0x43e7
movq %r12, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x441a
testb %al, %al
je 0x43e7
movq 0x28(%r14), %rdx
movq %r12, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
movq %rbx, %rcx
callq 0x4358
movq 0x30(%r14), %rdx
testq %rdx, %rdx
je 0x440d
movq %r12, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x441a
testb %al, %al
je 0x440d
movq 0x30(%r14), %r14
jmp 0x4371
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/cdalitz[P]kdtree-cpp/kdtree.cpp
// Function: Kdtree::KdTree::bounds_overlap_ball(std::vector<double, std::allocator<double>> const&, double, Kdtree::kdtree_node*)
bool KdTree::bounds_overlap_ball(const CoordPoint& point, double dist,
                                 kdtree_node* node) {
  if (distance_type != 0) {
    double distsum = 0.0;
    size_t i;
    for (i = 0; i < dimension; i++) {
      if (point[i] < node->lobound[i]) {  // lower than low boundary
        distsum += distance->coordinate_distance(point[i], node->lobound[i], i);
        if (distsum > dist) return false;
      } else if (point[i] > node->upbound[i]) {  // higher than high boundary
        distsum += distance->coordinate_distance(point[i], node->upbound[i], i);
        if (distsum > dist) return false;
      }
    }
    return true;
  } else { // maximum distance needs different treatment
    double max_dist = 0.0;
    double curr_dist = 0.0;
    size_t i;
    for (i = 0; i < dimension; i++) {
      if (point[i] < node->lobound[i]) {  // lower than low boundary
        curr_dist = distance->coordinate_distance(point[i], node->lobound[i], i);
      } else if (point[i] > node->upbound[i]) {  // higher than high boundary
        curr_dist = distance->coordinate_distance(point[i], node->upbound[i], i);
      }
      if(curr_dist > max_dist) {
        max_dist = curr_dist;
      }
      if (max_dist > dist) return false;
    }
    return true;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %r15
cmpl $0x0, 0x30(%rdi)
je 0x44ae
movb $0x1, %bpl
cmpq $0x0, 0x60(%r15)
je 0x452e
xorpd %xmm2, %xmm2
xorl %r12d, %r12d
movq (%r14), %rax
movsd (%rax,%r12,8), %xmm0
movq 0x38(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
ucomisd %xmm0, %xmm1
ja 0x4479
movq 0x50(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x44a0
movq 0x38(%r15), %rdi
movq (%rdi), %rax
movq %r12, %rsi
movsd %xmm2, (%rsp)
callq *0x18(%rax)
movsd (%rsp), %xmm2
addsd %xmm0, %xmm2
ucomisd 0x8(%rsp), %xmm2
ja 0x4527
incq %r12
cmpq 0x60(%r15), %r12
jb 0x4450
jmp 0x452e
cmpq $0x0, 0x60(%r15)
je 0x452b
xorpd %xmm0, %xmm0
xorl %r12d, %r12d
xorpd %xmm3, %xmm3
movq (%r14), %rax
movsd (%rax,%r12,8), %xmm2
movq 0x38(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
ucomisd %xmm2, %xmm1
ja 0x44e9
movq 0x50(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
ucomisd %xmm1, %xmm2
jbe 0x4504
movq 0x38(%r15), %rdi
movq (%rdi), %rax
movapd %xmm2, %xmm0
movq %r12, %rsi
movsd %xmm3, (%rsp)
callq *0x18(%rax)
movsd (%rsp), %xmm3
movapd %xmm0, %xmm1
maxsd %xmm3, %xmm1
ucomisd 0x8(%rsp), %xmm1
setbe %bpl
ja 0x452e
incq %r12
movapd %xmm1, %xmm3
cmpq 0x60(%r15), %r12
jb 0x44c0
jmp 0x452e
xorl %ebp, %ebp
jmp 0x452e
movb $0x1, %bpl
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop