// File: /workspace/github_cpp_makefile_star2_O3/fjamour[P]icentral/src/qube.cc
// Function: graph_t::find_muc_mcb()
void graph_t::find_muc_mcb()
{
    mcb_find(this, &mcb);
    vector<bool> visited_vec;
    visited_vec.resize(mcb.cycle_vec.size());
    fill(visited_vec.begin(), visited_vec.end(), false);
    graph_hash_t cycle_graph;
    for(int i = 0; i < mcb.cycle_vec.size(); ++i) {
        cycle_graph.insert_node(i);
    }
    for(int i = 0; i < mcb.cycle_vec.size(); ++i) {
        for(int j = 0; j < mcb.cycle_vec.size(); ++j) {
            if(i != j && shared_vertex(mcb.cycle_vec[i], mcb.cycle_vec[j])) {
                cycle_graph.insert_edge(i, j);
            }
        }        
    }
    //cycle_graph.print_graph();
    for(int i = 0; i < mcb.cycle_vec.size(); ++i) {
        if(!visited_vec[i]) {
            muc_t muc;
            muc.id = muc_vec.size();
            merge_muc_cycle(muc, mcb.cycle_vec[i]);       
            int src = i;
            visited_vec[src] = true;
            queue<int> q;
            q.push(src);
            while(!q.empty()) {
                int node = q.front(); q.pop();
                for(int nb_i = 0; nb_i < cycle_graph.nodes_map[node].nbrs_vec.size(); ++nb_i) {
                    int nbr = cycle_graph.nodes_map[node].nbrs_vec[nb_i];
                    if(!visited_vec[nbr]) {
                        visited_vec[nbr] = true;
                        merge_muc_cycle(muc, mcb.cycle_vec[nbr]);
                        q.push(nbr);
                    }
                }
            }
            muc_vec.push_back(muc);
        }
    }
    //print_mucs();
    //create single vertex muc's
    for(node_id_t i = 0; i < node_to_muc_vec.size(); ++i) {
        if(node_to_muc_vec[i] == INF) {
            muc_t muc;
            muc.id = muc_vec.size();
            muc.muc_subgraph.insert_node(i);
            node_to_muc_vec[i] = muc.id;
            muc_vec.push_back(muc);
        }
    }
    
    find_conn_verts();
    
    //find the disconnected subgraphs that will result from the deletion of
    //connection vertices
    for(muc_id_t m = 0; m < muc_vec.size(); ++m) {
        find_muc_subgraphs(m);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8b8, %rsp            # imm = 0x8B8
movq %rdi, %r12
leaq 0x78(%rdi), %rsi
callq 0x254a8
xorl %eax, %eax
leaq 0x70(%rsp), %rdi
movq %rax, (%rdi)
movl %eax, 0x8(%rdi)
movq %rax, 0x10(%rdi)
movl %eax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq 0x80(%r12), %rsi
subq 0x78(%r12), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
xorl %edx, %edx
callq 0x96c4
movq 0x70(%rsp), %rdi
movq 0x80(%rsp), %rbx
movl 0x88(%rsp), %ebp
cmpq %rbx, %rdi
je 0x27929
movq %rbx, %rdx
subq %rdi, %rdx
xorl %esi, %esi
callq 0x2110
jmp 0x2792c
movq %rdi, %rbx
testl %ebp, %ebp
je 0x27945
negb %bpl
movq $-0x1, %rax
movl %ebp, %ecx
shrq %cl, %rax
notq %rax
andq %rax, (%rbx)
leaq 0x610(%rsp), %rdi
callq 0x152ae
movq 0x78(%r12), %rbx
movq 0x80(%r12), %rsi
cmpq %rbx, %rsi
je 0x279a7
xorl %r14d, %r14d
leaq 0x610(%rsp), %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0x1c28e
incq %r14
movq 0x78(%r12), %rbx
movq 0x80(%r12), %rsi
movq %rsi, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %r14, %rax
ja 0x2796f
movq %r12, (%rsp)
cmpq %rbx, %rsi
je 0x27d5e
xorl %r14d, %r14d
cmpq %rbx, %rsi
je 0x27a29
leaq (%r14,%r14,2), %r13
xorl %ebp, %ebp
xorl %r12d, %r12d
cmpq %r12, %r14
je 0x27a03
leaq (%rbx,%r13,8), %rdi
movq %rsi, %r15
leaq (%rbx,%rbp), %rsi
callq 0x26dd9
movq %r15, %rsi
testb %al, %al
je 0x27a03
leaq 0x610(%rsp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x1c320
movq (%rsp), %rax
movq 0x78(%rax), %rbx
movq 0x80(%rax), %rsi
incq %r12
movq %rsi, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0x18, %rbp
cmpq %r12, %rax
ja 0x279c5
jmp 0x27a2c
movq %rbx, %rsi
incq %r14
movq %rsi, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %r14, %rax
ja 0x279b7
cmpq %rbx, %rsi
je 0x27d5e
movabsq $-0x8000000000000000, %r13 # imm = 0x8000000000000000
movq (%rsp), %rax
addq $0x60, %rax
movq %rax, 0x98(%rsp)
xorl %ecx, %ecx
leaq 0xa8(%rsp), %r15
leaq 0x610(%rsp), %rbp
leaq 0x8(%rsp), %r14
movq 0x70(%rsp), %rax
movl $0x1, %edi
shlq %cl, %rdi
movq %rcx, %rdx
movl %edx, %r12d
shrl $0x6, %r12d
movq (%rax,%r12,8), %rax
btq %rcx, %rax
jb 0x27d37
movq %rdi, 0xa0(%rsp)
movq %rdx, 0x10(%rsp)
movq %r15, %rbx
movq %r15, %rdi
callq 0x26bfc
movq (%rsp), %rdi
movq 0x68(%rdi), %rax
subq 0x60(%rdi), %rax
shrq $0x3, %rax
imull $0xd516325, %eax, %eax  # imm = 0xD516325
movl %eax, 0x3b0(%rsp)
movq 0x10(%rsp), %rax
leaq (%rax,%rax,2), %rdx
shlq $0x3, %rdx
addq 0x78(%rdi), %rdx
movq %rbx, %r15
movq %rbx, %rsi
callq 0x27f8c
movq 0x10(%rsp), %rax
movl %eax, 0xc(%rsp)
movq 0x70(%rsp), %rax
movq 0xa0(%rsp), %rcx
orq %rcx, (%rax,%r12,8)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2deea
movq 0x50(%rsp), %rcx
movq 0x60(%rsp), %rax
addq $-0x4, %rax
cmpq %rax, %rcx
je 0x27b66
movl 0xc(%rsp), %eax
movl %eax, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x50(%rsp)
jmp 0x27b7a
leaq 0x20(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x2e060
movq 0x50(%rsp), %rcx
movq 0x30(%rsp), %rax
cmpq %rax, %rcx
je 0x27cc0
movl (%rax), %ebx
movq 0x40(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27b9e
addq $0x4, %rax
jmp 0x27bd0
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)
xorl %r12d, %r12d
movl %ebx, 0x8(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
callq 0x126b8
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x27cb0
movl %ebx, 0x1c(%rsp)
movq %rbp, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x126b8
movq (%rax), %rax
movslq (%rax,%r12,4), %rcx
leal 0x3f(%rcx), %eax
testq %rcx, %rcx
cmovnsl %ecx, %eax
sarl $0x6, %eax
cltq
shlq $0x3, %rax
addq 0x70(%rsp), %rax
leaq 0x3f(%r13), %rsi
andq %rcx, %rsi
xorl %edx, %edx
cmpq %r13, %rsi
setbe %dl
movl $0x1, %esi
shlq %cl, %rsi
movl %ecx, 0x8(%rsp)
movq -0x8(%rax,%rdx,8), %rdi
btq %rcx, %rdi
jb 0x27ca8
leaq -0x8(,%rdx,8), %rdx
orq %rsi, %rdi
movq %rdi, (%rax,%rdx)
leaq (%rcx,%rcx,2), %rdx
shlq $0x3, %rdx
movq (%rsp), %rdi
addq 0x78(%rdi), %rdx
movq %r15, %rsi
callq 0x27f8c
movq 0x50(%rsp), %rax
movq 0x60(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27c9b
movl 0x8(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x50(%rsp)
jmp 0x27ca8
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x2e060
incq %r12
jmp 0x27bd8
movq 0x30(%rsp), %rax
cmpq %rax, 0x50(%rsp)
jne 0x27b88
movq 0x98(%rsp), %rdi
movq %r15, %rsi
callq 0x2b29e
leaq 0x20(%rsp), %rdi
callq 0x2d15a
leaq 0x5e0(%rsp), %rdi
callq 0x24558
leaq 0x5b0(%rsp), %rdi
callq 0x157dc
leaq 0x3b8(%rsp), %rdi
callq 0x63d2
leaq 0x108(%rsp), %rdi
callq 0x15650
leaq 0xd8(%rsp), %rdi
callq 0x24558
movq %r15, %rdi
callq 0x157dc
movq (%rsp), %rax
movq 0x78(%rax), %rbx
movq 0x80(%rax), %rsi
movq 0x10(%rsp), %rdx
incq %rdx
movq %rsi, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %rdx, %rax
movq %rdx, %rcx
ja 0x27a8a
movq (%rsp), %rcx
movq 0x18(%rcx), %rax
movq 0x20(%rcx), %rcx
cmpq %rax, %rcx
je 0x27e4b
movq (%rsp), %rdx
leaq 0x60(%rdx), %r14
leaq 0x108(%rsp), %r15
xorl %r12d, %r12d
leaq 0xd8(%rsp), %r13
leaq 0xa8(%rsp), %rbp
movq (%rsp), %rbx
cmpl $0x5f5e100, (%rax,%r12,4) # imm = 0x5F5E100
jne 0x27e35
movq %rbp, %rdi
callq 0x26bfc
movq 0x68(%rbx), %rax
subq 0x60(%rbx), %rax
shrq $0x3, %rax
imull $0xd516325, %eax, %eax  # imm = 0xD516325
movl %eax, 0x3b0(%rsp)
movq %r15, %rdi
movl %r12d, %esi
callq 0x1c28e
movl 0x3b0(%rsp), %eax
movq 0x18(%rbx), %rcx
movl %eax, (%rcx,%r12,4)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2b29e
leaq 0x5e0(%rsp), %rdi
callq 0x24558
leaq 0x5b0(%rsp), %rdi
callq 0x157dc
leaq 0x3b8(%rsp), %rdi
callq 0x63d2
movq %r15, %rdi
callq 0x15650
movq %r13, %rdi
callq 0x24558
movq %rbp, %rdi
callq 0x157dc
movq 0x18(%rbx), %rax
movq 0x20(%rbx), %rcx
incl %r12d
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %r12, %rdx
ja 0x27d9a
movq (%rsp), %r15
movq %r15, %rdi
callq 0x27210
movq 0x68(%r15), %rax
cmpq 0x60(%r15), %rax
je 0x27e91
xorl %r14d, %r14d
movabsq $-0x77dc7c4cf2ae9cdb, %rbx # imm = 0x882383B30D516325
movq %r15, %rdi
movl %r14d, %esi
callq 0x27400
movq 0x68(%r15), %rax
subq 0x60(%r15), %rax
incl %r14d
sarq $0x3, %rax
imulq %rbx, %rax
cmpq %r14, %rax
ja 0x27e6e
leaq 0x610(%rsp), %rdi
callq 0x15650
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x27eb8
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
addq $0x8b8, %rsp            # imm = 0x8B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x27ef9
jmp 0x27ece
movq %rax, %rbx
jmp 0x27f6a
jmp 0x27ed8
movq %rax, %rbx
jmp 0x27f0f
jmp 0x27ef9
jmp 0x27f02
jmp 0x27ef9
jmp 0x27ef9
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x2b2ce
jmp 0x27f5d
jmp 0x27ef9
movq %rax, %rbx
jmp 0x27f5d
jmp 0x27f02
jmp 0x27f02
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2d15a
leaq 0x5e0(%rsp), %rdi
callq 0x24558
leaq 0x5b0(%rsp), %rdi
callq 0x157dc
leaq 0x3b8(%rsp), %rdi
callq 0x63d2
leaq 0x108(%rsp), %rdi
callq 0x15650
leaq 0xd8(%rsp), %rdi
callq 0x24558
leaq 0xa8(%rsp), %rdi
callq 0x157dc
leaq 0x610(%rsp), %rdi
callq 0x15650
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x27f84
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x23b0