// File: /workspace/github_cpp_makefile_star2_O2/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, %rbx
leaq 0x78(%rdi), %rsi
callq 0x1e58c
leaq 0x30(%rsp), %rdi
andq $0x0, (%rdi)
andl $0x0, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
andl $0x0, 0x18(%rdi)
andq $0x0, 0x20(%rdi)
movq 0x80(%rbx), %rax
subq 0x78(%rbx), %rax
pushq $0x18
popq %rcx
cqto
idivq %rcx
movq %rax, %rsi
xorl %edx, %edx
callq 0x80be
movq 0x30(%rsp), %rdi
movq 0x40(%rsp), %rdx
movl 0x48(%rsp), %ecx
leaq 0x350(%rsp), %r8
movb $0x0, (%r8)
xorl %esi, %esi
callq 0x864b
leaq 0xa8(%rsp), %rdi
callq 0x11468
xorl %r14d, %r14d
leaq 0xa8(%rsp), %r15
movq 0x78(%rbx), %r13
movq 0x80(%rbx), %rbp
movq %rbp, %rax
subq %r13, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r14, %rax
jbe 0x2018c
movq %r15, %rdi
movl %r14d, %esi
callq 0x174b0
incq %r14
jmp 0x2015e
xorl %r14d, %r14d
movq %r13, %rsi
movq %rbx, 0x10(%rsp)
movq %rbp, %rax
subq %rsi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r14, %rax
jbe 0x20215
imulq $0x18, %r14, %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
movq %rbp, %rax
subq %rsi, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %r12, %rax
jbe 0x2020b
cmpq %r12, %r14
je 0x201ff
leaq (%rsi,%rbx), %rdi
addq %r15, %rsi
callq 0x1f8f2
testb %al, %al
je 0x201ff
leaq 0xa8(%rsp), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq 0x1756e
movq 0x10(%rsp), %rax
movq 0x78(%rax), %r13
movq 0x80(%rax), %rbp
incq %r12
addq $0x18, %r15
movq %r13, %rsi
jmp 0x201b4
incq %r14
movq 0x10(%rsp), %rbx
jmp 0x20197
leaq 0x60(%rbx), %rax
movq %rax, 0x20(%rsp)
xorl %ebx, %ebx
leaq 0x30(%rsp), %r12
leaq 0xa8(%rsp), %r14
leaq 0xc(%rsp), %r15
leaq 0x18(%rsp), %r13
subq %rsi, %rbp
movq %rbp, %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
cmpq %rbx, %rax
jbe 0x203c0
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4b82
testq %rdx, (%rax)
jne 0x203a8
leaq 0x350(%rsp), %rbp
movq %rbp, %rdi
callq 0x1f76c
movq 0x10(%rsp), %rdi
movq 0x68(%rdi), %rax
subq 0x60(%rdi), %rax
cqto
movl $0x568, %ecx            # imm = 0x568
idivq %rcx
movl %eax, 0x658(%rsp)
imulq $0x18, %rbx, %rdx
addq 0x78(%rdi), %rdx
movq %rbp, %rsi
callq 0x2051a
movl %ebx, 0x1c(%rsp)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x4b82
orq %rdx, (%rax)
leaq 0x58(%rsp), %rbp
movq %rbp, %rdi
callq 0x22d64
movq %rbx, 0x28(%rsp)
movq %rbp, %rdi
leaq 0x1c(%rsp), %rsi
callq 0x2590c
movq 0x68(%rsp), %rax
cmpq %rax, 0x88(%rsp)
je 0x2037c
movl (%rax), %ebp
leaq 0x58(%rsp), %rdi
callq 0x25b40
xorl %ebx, %ebx
movl %ebp, 0xc(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0xf182
movq 0x8(%rax), %rcx
subq (%rax), %rcx
sarq $0x2, %rcx
cmpq %rbx, %rcx
jbe 0x202d1
movl %ebp, 0x18(%rsp)
movq %r14, %rdi
movq %r13, %rsi
callq 0xf182
movq (%rax), %rax
movslq (%rax,%rbx,4), %rsi
movl %esi, 0xc(%rsp)
movq %r12, %rdi
callq 0x4b82
testq %rdx, (%rax)
jne 0x20374
movslq 0xc(%rsp), %rsi
movq %r12, %rdi
callq 0x4b82
orq %rdx, (%rax)
movslq 0xc(%rsp), %rax
imulq $0x18, %rax, %rdx
movq 0x10(%rsp), %rdi
addq 0x78(%rdi), %rdx
leaq 0x350(%rsp), %rsi
callq 0x2051a
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
callq 0x2590c
incq %rbx
jmp 0x202f2
movq 0x20(%rsp), %rdi
leaq 0x350(%rsp), %rbx
movq %rbx, %rsi
callq 0x22d34
leaq 0x58(%rsp), %rdi
callq 0x24ba2
movq %rbx, %rdi
callq 0x1d5de
movq 0x28(%rsp), %rbx
incq %rbx
movq 0x10(%rsp), %rax
movq 0x78(%rax), %rsi
movq 0x80(%rax), %rbp
jmp 0x20237
xorl %r14d, %r14d
leaq 0x3b0(%rsp), %r15
leaq 0x350(%rsp), %r12
movl $0x568, %ebx            # imm = 0x568
movq 0x10(%rsp), %r13
movl %r14d, %r14d
movq 0x10(%rsp), %rcx
movq 0x18(%rcx), %rax
movq 0x20(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r14, %rcx
jbe 0x20453
cmpl $0x5f5e100, (%rax,%r14,4) # imm = 0x5F5E100
jne 0x2044e
movq %r12, %rdi
callq 0x1f76c
movq 0x68(%r13), %rax
subq 0x60(%r13), %rax
cqto
idivq %rbx
movl %eax, 0x658(%rsp)
movq %r15, %rdi
movl %r14d, %esi
callq 0x174b0
movl 0x658(%rsp), %eax
movq 0x18(%r13), %rcx
movl %eax, (%rcx,%r14,4)
movq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x22d34
movq %r12, %rdi
callq 0x1d5de
incl %r14d
jmp 0x203dd
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1fc1c
xorl %ebp, %ebp
movl $0x568, %ebx            # imm = 0x568
movl %ebp, %ecx
movq 0x68(%r14), %rax
subq 0x60(%r14), %rax
cqto
idivq %rbx
cmpq %rcx, %rax
jbe 0x20489
movq %r14, %rdi
movl %ebp, %esi
callq 0x1fdd0
incl %ebp
jmp 0x20467
leaq 0xa8(%rsp), %rdi
callq 0x1173e
leaq 0x30(%rsp), %rdi
callq 0x4e52
addq $0x8b8, %rsp            # imm = 0x8B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x204d4
jmp 0x204b8
jmp 0x204b8
movq %rax, %rbx
jmp 0x20508
jmp 0x204cb
jmp 0x204d4
jmp 0x204cb
jmp 0x204cb
jmp 0x204d4
jmp 0x204e1
jmp 0x204d4
movq %rax, %rbx
jmp 0x204ee
jmp 0x204d4
jmp 0x204d4
movq %rax, %rbx
jmp 0x204fb
jmp 0x204e1
jmp 0x204e1
jmp 0x204e1
jmp 0x204e1
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x24ba2
leaq 0x350(%rsp), %rdi
callq 0x1d5de
leaq 0xa8(%rsp), %rdi
callq 0x1173e
leaq 0x30(%rsp), %rdi
callq 0x4e52
movq %rbx, %rdi
callq 0x23d0