// File: /workspace/github_cpp_makefile_star2_O1/fjamour[P]icentral/src/qube.cc
// Function: graph_t::find_muc_subgraphs(unsigned int)
void graph_t::find_muc_subgraphs(muc_id_t muc_id) {
    //THIS IS SLOW, and not needed for the QUBE ideal speedup experiemtn
    //so just return if you want to do this experiment..
    //return;
    if (muc_vec[muc_id].muc_subgraph.size() == 1)
        return;
    if(!muc_vec[muc_id].valid)
        return;
    for (muc_t::conn_vert_map_t::iterator
        it = muc_vec[muc_id].conn_vertex_map.begin();
            it != muc_vec[muc_id].conn_vertex_map.end();
            ++it) {
        node_id_t conn_vert = it->first;
        graph_hash_t g;
        for (vector<node_id_t>::iterator it2 = it->second.begin();
                it2 != it->second.end(); ++it2) {
            node_id_t bfs_source = *it2;
            vector<bool> visited_vec;
            visited_vec.resize(size());
            fill(visited_vec.begin(), visited_vec.end(), false);
            visited_vec[bfs_source] = true;
            visited_vec[conn_vert] = true;
            queue<node_id_t> q;
            q.push(bfs_source);
            while (!q.empty()) {
                node_id_t node = q.front();
                q.pop();
                g.insert_node(node);
                for (int bfs_nbr_i = 0; bfs_nbr_i < get_nbrs(node).size(); ++bfs_nbr_i) {
                    node_id_t bfs_nbr = get_nbrs(node)[bfs_nbr_i];
                    if (!visited_vec[bfs_nbr]) {
                        q.push(bfs_nbr);
                        visited_vec[bfs_nbr] = true;
                        if (bfs_nbr != conn_vert) {
                            g.insert_edge(node, bfs_nbr);
                        }
                    }
                }
            }
        }
        muc_vec[muc_id].subgraph_map.insert(make_pair(conn_vert, g));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x858, %rsp            # imm = 0x858
movq %rdi, %rbx
movl %esi, %eax
movq 0x60(%rdi), %rcx
imulq $0x568, %rax, %r15      # imm = 0x568
leaq (%rcx,%r15), %rdi
addq $0x60, %rdi
callq 0x1c62c
cmpq $0x1, %rax
je 0x27a5e
movq 0x60(%rbx), %rax
cmpb $0x1, 0x30c(%rax,%r15)
jne 0x27a5e
addq %r15, %rax
movq 0x8(%rax), %rdx
movq (%rdx), %r13
testq %r13, %r13
jne 0x276a6
movq 0x8(%rdx), %r13
addq $0x8, %rdx
jmp 0x27697
movq 0x60(%rbx), %rax
movq 0x8(%rax,%r15), %rcx
movq 0x10(%rax,%r15), %rax
cmpq (%rcx,%rax,8), %r13
je 0x27a5e
leaq 0x5b0(%rsp), %r12
leaq 0x300(%rsp), %rbp
movq %r15, 0x18(%rsp)
movq %rdx, 0x8(%rsp)
movq %r13, %r14
movl (%r13), %r13d
movq %r12, %rdi
callq 0x153ae
movq 0x8(%r14), %rdx
movq %r14, 0x10(%rsp)
cmpq 0x10(%r14), %rdx
je 0x279b2
movl %r13d, %eax
shrl $0x6, %eax
movq %rax, 0x28(%rsp)
movl $0x1, %eax
movl %r13d, %ecx
shlq %cl, %rax
movq %rax, 0x20(%rsp)
movq %rdx, 0x30(%rsp)
movl (%rdx), %eax
movl %eax, 0x38(%rsp)
xorl %eax, %eax
movq %rax, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movl %eax, 0x68(%rsp)
movq %rax, 0x70(%rsp)
movq %rbx, %rdi
callq 0x1e160
leaq 0x50(%rsp), %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x96d2
movq 0x50(%rsp), %rdi
movq 0x60(%rsp), %r14
movl 0x68(%rsp), %r15d
cmpq %r14, %rdi
je 0x27773
movq %r14, %rdx
subq %rdi, %rdx
xorl %esi, %esi
callq 0x2110
jmp 0x27776
movq %rdi, %r14
testl %r15d, %r15d
je 0x27791
negb %r15b
movq $-0x1, %rax
movl %r15d, %ecx
shrq %cl, %rax
notq %rax
andq %rax, (%r14)
movl 0x38(%rsp), %ecx
movq 0x50(%rsp), %rax
movl %ecx, %edx
movl $0x1, %esi
shlq %cl, %rsi
shrl $0x6, %edx
orq %rsi, (%rax,%rdx,8)
movq 0x28(%rsp), %rcx
movq 0x20(%rsp), %rdx
orq %rdx, (%rax,%rcx,8)
xorps %xmm0, %xmm0
movaps %xmm0, 0x340(%rsp)
movaps %xmm0, 0x330(%rsp)
movaps %xmm0, 0x320(%rsp)
movaps %xmm0, 0x310(%rsp)
movaps %xmm0, 0x300(%rsp)
movq %rbp, %rdi
xorl %esi, %esi
callq 0x6b50
movq 0x330(%rsp), %rax
movq 0x340(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x2781b
movl 0x38(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x330(%rsp)
jmp 0x27828
movq %rbp, %rdi
leaq 0x38(%rsp), %rsi
callq 0x7644
movq 0x310(%rsp), %rax
cmpq %rax, 0x330(%rsp)
je 0x27962
movl (%rax), %r15d
movq 0x320(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27858
addq $0x4, %rax
jmp 0x27899
movq 0x318(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2250
movq 0x328(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x328(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x318(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x320(%rsp)
movq %rax, 0x310(%rsp)
movq %r12, %rdi
movl %r15d, %esi
callq 0x1c396
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r15d, %esi
callq 0x1ddf8
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x2, %rcx
cmpq %r14, %rcx
jbe 0x27828
movq %rbx, %rdi
movl %r15d, %esi
callq 0x1ddf8
movq (%rax), %rax
movl (%rax,%r14,4), %eax
movl %eax, 0x4(%rsp)
movq 0x50(%rsp), %rcx
movl %eax, %edx
shrl $0x6, %edx
movq (%rcx,%rdx,8), %rcx
btq %rax, %rcx
jb 0x2795a
movq 0x330(%rsp), %rcx
movq 0x340(%rsp), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x27921
movl %eax, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x330(%rsp)
jmp 0x2792e
movq %rbp, %rdi
leaq 0x4(%rsp), %rsi
callq 0x7644
movl 0x4(%rsp), %ecx
movq 0x50(%rsp), %rax
movl %ecx, %edx
shrl $0x6, %edx
movl $0x1, %esi
shlq %cl, %rsi
orq %rsi, (%rax,%rdx,8)
cmpl %r13d, %ecx
je 0x2795a
movq %r12, %rdi
movl %r15d, %esi
movl %ecx, %edx
callq 0x1c440
incq %r14
jmp 0x278af
movq %rbp, %rdi
callq 0x6998
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x2799a
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
xorl %eax, %eax
movq %rax, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movl %eax, 0x68(%rsp)
movq %rax, 0x70(%rsp)
movq 0x30(%rsp), %rdx
addq $0x4, %rdx
movq 0x10(%rsp), %rax
cmpq 0x10(%rax), %rdx
jne 0x27715
movq 0x60(%rbx), %r14
movl %r13d, 0x50(%rsp)
leaq 0x58(%rsp), %r15
movq %r15, %rdi
movq %r12, %rsi
callq 0x163e6
movl 0x50(%rsp), %eax
movl %eax, 0x300(%rsp)
leaq 0x308(%rsp), %rdi
movq %r15, %rsi
callq 0x2d504
movq 0x18(%rsp), %r15
movq 0x10(%rsp), %r13
leaq (%r14,%r15), %rsi
addq $0x30, %rsi
leaq 0x38(%rsp), %rdi
movq %rbp, %rdx
callq 0x2e744
leaq 0x308(%rsp), %rdi
callq 0x15750
leaq 0x58(%rsp), %rdi
callq 0x15750
movq %r12, %rdi
callq 0x15750
movq 0x20(%r13), %r13
testq %r13, %r13
je 0x27a34
movq 0x8(%rsp), %rdx
jmp 0x27a46
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %r13
addq $0x8, %rdx
testq %r13, %r13
je 0x27a39
movq 0x60(%rbx), %rax
movq 0x8(%rax,%r15), %rcx
movq 0x10(%rax,%r15), %rax
cmpq (%rcx,%rax,8), %r13
jne 0x276d3
addq $0x858, %rsp            # imm = 0x858
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x308(%rsp), %rdi
callq 0x15750
jmp 0x27a85
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x15750
jmp 0x27ae3
movq %rax, %rbx
jmp 0x27ae3
jmp 0x27aa3
jmp 0x27a9a
movq %rax, %rbx
jmp 0x27ab3
jmp 0x27aa3
jmp 0x27aa3
movq %rax, %rbx
leaq 0x300(%rsp), %rdi
callq 0x6998
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x27ae3
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
xorl %eax, %eax
movq %rax, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movl %eax, 0x68(%rsp)
movq %rax, 0x70(%rsp)
leaq 0x5b0(%rsp), %rdi
callq 0x15750
movq %rbx, %rdi
callq 0x23b0