// File: /workspace/github_cpp_makefile_star2_O1/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 0x25680
xorl %eax, %eax
leaq 0x18(%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 0x96d2
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rbx
movl 0x30(%rsp), %ebp
cmpq %rbx, %rdi
je 0x27b75
movq %rbx, %rdx
subq %rdi, %rdx
xorl %esi, %esi
callq 0x2110
jmp 0x27b78
movq %rdi, %rbx
testl %ebp, %ebp
je 0x27b91
negb %bpl
movq $-0x1, %rax
movl %ebp, %ecx
shrq %cl, %rax
notq %rax
andq %rax, (%rbx)
leaq 0x610(%rsp), %rdi
callq 0x153ae
movq 0x80(%r12), %rax
cmpq 0x78(%r12), %rax
je 0x27bea
xorl %r14d, %r14d
leaq 0x610(%rsp), %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0x1c396
movq 0x80(%r12), %rax
subq 0x78(%r12), %rax
incq %r14
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %r14, %rax
ja 0x27bb8
movq 0x80(%r12), %rax
cmpq 0x78(%r12), %rax
movq %r12, 0x8(%rsp)
je 0x27caa
xorl %r14d, %r14d
leaq 0x610(%rsp), %r15
movq 0x78(%r12), %rsi
cmpq %rsi, 0x80(%r12)
je 0x27c7a
leaq (%r14,%r14,2), %rbx
xorl %r13d, %r13d
xorl %r12d, %r12d
cmpq %r12, %r14
je 0x27c49
leaq (%rsi,%rbx,8), %rdi
addq %r13, %rsi
callq 0x27026
testb %al, %al
je 0x27c49
movq %r15, %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x1c440
incq %r12
movq 0x8(%rsp), %rax
movq 0x78(%rax), %rsi
movq 0x80(%rax), %rax
subq %rsi, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0x18, %r13
cmpq %r12, %rax
ja 0x27c26
movq 0x8(%rsp), %r12
movq 0x80(%r12), %rax
subq 0x78(%r12), %rax
incq %r14
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %r14, %rax
ja 0x27c0d
movq 0x80(%r12), %rax
cmpq 0x78(%r12), %rax
je 0x27fd2
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
movq 0x8(%rsp), %rax
addq $0x60, %rax
movq %rax, 0xa0(%rsp)
xorl %ecx, %ecx
leaq 0xa8(%rsp), %rsi
leaq 0x610(%rsp), %r15
leaq 0x10(%rsp), %r14
movq %rdx, %r12
leaq 0x3f(%rdx), %r13
movq 0x18(%rsp), %rax
movl $0x1, %ebx
shlq %cl, %rbx
movq %rcx, %rdx
movq %rcx, %rbp
shrq $0x6, %rbp
movq (%rax,%rbp,8), %rax
btq %rcx, %rax
jb 0x27fa1
movq %rdx, 0x40(%rsp)
movq %rsi, %rdi
callq 0x26e2c
movq 0x8(%rsp), %rdi
movq 0x68(%rdi), %rax
subq 0x60(%rdi), %rax
shrq $0x3, %rax
imull $0xd516325, %eax, %eax  # imm = 0xD516325
movl %eax, 0x3b0(%rsp)
movq 0x40(%rsp), %rax
leaq (%rax,%rax,2), %rdx
shlq $0x3, %rdx
addq 0x78(%rdi), %rdx
leaq 0xa8(%rsp), %rsi
callq 0x28230
movq 0x40(%rsp), %rax
movl %eax, 0x14(%rsp)
movq 0x18(%rsp), %rax
orq %rbx, (%rax,%rbp,8)
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
callq 0x2e224
movq 0x80(%rsp), %rax
movq 0x90(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27dd1
movl 0x14(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x80(%rsp)
jmp 0x27de0
leaq 0x50(%rsp), %rdi
leaq 0x14(%rsp), %rsi
callq 0x2e39a
movq 0x60(%rsp), %rax
cmpq %rax, 0x80(%rsp)
je 0x27f29
movl (%rax), %ebx
movq 0x70(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27e09
addq $0x4, %rax
jmp 0x27e3b
movq 0x68(%rsp), %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2250
movq 0x78(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x78(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x68(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x70(%rsp)
movq %rax, 0x60(%rsp)
xorl %ebp, %ebp
movl %ebx, 0x10(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x12762
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x2, %rcx
cmpq %rbp, %rcx
jbe 0x27de0
movl %ebx, 0x4c(%rsp)
movq %r15, %rdi
leaq 0x4c(%rsp), %rsi
callq 0x12762
movq (%rax), %rax
movslq (%rax,%rbp,4), %rcx
leaq 0x3f(%rcx), %rax
testq %rcx, %rcx
cmovnsq %rcx, %rax
sarq $0x6, %rax
shlq $0x3, %rax
addq 0x18(%rsp), %rax
movq %rcx, %rsi
andq %r13, %rsi
xorl %edx, %edx
cmpq %r12, %rsi
setbe %dl
movl $0x1, %esi
shlq %cl, %rsi
movl %ecx, 0x10(%rsp)
movq -0x8(%rax,%rdx,8), %rdi
btq %rcx, %rdi
jb 0x27f21
leaq -0x8(,%rdx,8), %rdx
orq %rsi, %rdi
movq %rdi, (%rax,%rdx)
leaq (%rcx,%rcx,2), %rdx
shlq $0x3, %rdx
movq 0x8(%rsp), %rdi
addq 0x78(%rdi), %rdx
leaq 0xa8(%rsp), %rsi
callq 0x28230
movq 0x80(%rsp), %rax
movq 0x90(%rsp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x27f14
movl 0x10(%rsp), %ecx
movl %ecx, (%rax)
addq $0x4, %rax
movq %rax, 0x80(%rsp)
jmp 0x27f21
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x2e39a
incq %rbp
jmp 0x27e42
movq 0xa0(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x2b634
leaq 0x50(%rsp), %rdi
callq 0x2d4b4
leaq 0x5e0(%rsp), %rdi
callq 0x246f6
leaq 0x5b0(%rsp), %rdi
callq 0x158ce
leaq 0x3b8(%rsp), %rdi
callq 0x6460
leaq 0x108(%rsp), %rdi
callq 0x15750
leaq 0xd8(%rsp), %rdi
callq 0x246f6
leaq 0xa8(%rsp), %rbx
movq %rbx, %rdi
callq 0x158ce
movq %rbx, %rsi
movq 0x40(%rsp), %rdx
movq 0x8(%rsp), %rcx
movq 0x80(%rcx), %rax
subq 0x78(%rcx), %rax
incq %rdx
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
cmpq %rdx, %rax
movq %rdx, %rcx
ja 0x27cf6
movq 0x8(%rsp), %rcx
movq 0x18(%rcx), %rax
cmpq %rax, 0x20(%rcx)
je 0x280c1
movq 0x8(%rsp), %rcx
leaq 0x60(%rcx), %r14
leaq 0x108(%rsp), %r15
xorl %r12d, %r12d
leaq 0xd8(%rsp), %r13
leaq 0xa8(%rsp), %rbp
movq 0x8(%rsp), %rbx
cmpl $0x5f5e100, (%rax,%r12,4) # imm = 0x5F5E100
jne 0x280a1
movq %rbp, %rdi
callq 0x26e2c
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 0x1c396
movl 0x3b0(%rsp), %eax
movq 0x18(%rbx), %rcx
movl %eax, (%rcx,%r12,4)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2b634
leaq 0x5e0(%rsp), %rdi
callq 0x246f6
leaq 0x5b0(%rsp), %rdi
callq 0x158ce
leaq 0x3b8(%rsp), %rdi
callq 0x6460
movq %r15, %rdi
callq 0x15750
movq %r13, %rdi
callq 0x246f6
movq %rbp, %rdi
callq 0x158ce
incl %r12d
movq 0x8(%rsp), %rcx
movq 0x18(%rcx), %rax
movq 0x20(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x2800e
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x27454
movq 0x68(%r15), %rax
cmpq 0x60(%r15), %rax
je 0x28108
xorl %r14d, %r14d
movabsq $-0x77dc7c4cf2ae9cdb, %rbx # imm = 0x882383B30D516325
movq %r15, %rdi
movl %r14d, %esi
callq 0x27642
movq 0x68(%r15), %rax
subq 0x60(%r15), %rax
incl %r14d
sarq $0x3, %rax
imulq %rbx, %rax
cmpq %r14, %rax
ja 0x280e5
leaq 0x610(%rsp), %rdi
callq 0x15750
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x28145
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movq %rax, 0x28(%rsp)
movl %eax, 0x30(%rsp)
movq %rax, 0x38(%rsp)
addq $0x8b8, %rsp            # imm = 0x8B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28186
jmp 0x2815b
movq %rax, %rbx
jmp 0x281f7
jmp 0x28165
movq %rax, %rbx
jmp 0x2819c
jmp 0x28186
jmp 0x28186
jmp 0x2818f
jmp 0x28186
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x2b664
jmp 0x281ea
jmp 0x28186
movq %rax, %rbx
jmp 0x281ea
jmp 0x2818f
jmp 0x2818f
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2d4b4
leaq 0x5e0(%rsp), %rdi
callq 0x246f6
leaq 0x5b0(%rsp), %rdi
callq 0x158ce
leaq 0x3b8(%rsp), %rdi
callq 0x6460
leaq 0x108(%rsp), %rdi
callq 0x15750
leaq 0xd8(%rsp), %rdi
callq 0x246f6
leaq 0xa8(%rsp), %rdi
callq 0x158ce
leaq 0x610(%rsp), %rdi
callq 0x15750
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x28227
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x2250
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movq %rax, 0x28(%rsp)
movl %eax, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movq %rbx, %rdi
callq 0x23b0
nop