// File: /workspace/github_cpp_makefile_star2_O1/ldionne[P]hawick_circuits/boost/graph/hawick_circuits.hpp
// Function: void boost::hawick_circuits_detail::call_hawick_circuits<boost::hawick_circuits_detail::get_all_adjacent_vertices, boost::directed_graph<boost::no_property, boost::no_property, boost::no_property>, cycle_printer<std::ostream>, boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS, boost::listS, boost::bidirectionalS, boost::property<boost::vertex_index_t, unsigned int, boost::no_property>, boost::property<boost::edge_index_t, unsigned int, boost::no_property>, boost::no_property, boost::listS>, unsigned int, unsigned int const&, boost::vertex_index_t>>(boost::directed_graph<boost::no_property, boost::no_property, boost::no_property> const&, cycle_printer<std::ostream>, boost::adj_list_vertex_property_map<boost::adjacency_list<boost::listS, boost::listS, boost::bidirectionalS, boost::property<boost::vertex_index_t, unsigned int, boost::no_property>, boost::property<boost::edge_index_t, unsigned int, boost::no_property>, boost::no_property, boost::listS>, unsigned int, unsigned int const&, boost::vertex_index_t> const&)
void call_hawick_circuits(Graph const& graph,
                          Visitor /* by value */ visitor,
                          VertexIndexMap const& vertex_index_map) {
    typedef graph_traits<Graph> Traits;
    typedef typename Traits::vertex_descriptor Vertex;
    typedef typename Traits::vertices_size_type VerticesSize;
    typedef typename Traits::vertex_iterator VertexIterator;

    typedef std::vector<Vertex> Stack;
    typedef std::vector<std::vector<Vertex> > ClosedMatrix;

    typedef hawick_circuits_from<
                Graph, Visitor, VertexIndexMap, Stack, ClosedMatrix,
                GetAdjacentVertices
            > SubAlgorithm;

    VerticesSize const n_vertices = num_vertices(graph);
    Stack stack; stack.reserve(n_vertices);
    ClosedMatrix closed(n_vertices);

    VertexIterator start, last;
    for (boost::tie(start, last) = vertices(graph); start != last; ++start) {
        // Note1: The sub algorithm may NOT be reused once it has been called.

        // Note2: We reuse the Stack and the ClosedMatrix (after clearing them)
        // in each iteration to avoid redundant destruction and construction.
        // It would be strictly equivalent to have these as member variables
        // of the sub algorithm.
        SubAlgorithm sub_algo(graph, visitor, vertex_index_map,
                              stack, closed, n_vertices);
        sub_algo(*start);
        stack.clear();
        typename ClosedMatrix::iterator row, last_row = closed.end();
        for (row = closed.begin(); row != last_row; ++row)
            row->clear();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, -0x48(%rbp)
movq %rdi, %r14
movq %rsi, -0x68(%rbp)
movq 0x38(%rdi), %r15
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq %r15, %rsi
callq 0x3782
leaq -0x60(%rbp), %rdi
leaq -0xb0(%rbp), %rdx
movq %r15, %rsi
callq 0x3822
leaq 0x18(%r14), %r12
movq 0x18(%r14), %rbx
cmpq %r12, %rbx
je 0x3714
leaq -0xb0(%rbp), %r13
movq %r15, (%rsp)
movq %r13, %rdi
movq %r14, %rsi
leaq -0x68(%rbp), %rdx
movq -0x48(%rbp), %rcx
leaq -0x40(%rbp), %r8
leaq -0x60(%rbp), %r9
callq 0x38b4
movq 0x10(%rbx), %rdx
movq %r13, %rdi
movq %rdx, %rsi
callq 0x3ce2
movq -0x40(%rbp), %rax
cmpq %rax, -0x38(%rbp)
je 0x36e3
movq %rax, -0x38(%rbp)
movq -0x60(%rbp), %rax
movq -0x58(%rbp), %rcx
cmpq %rcx, %rax
je 0x3703
movq (%rax), %rdx
cmpq %rdx, 0x8(%rax)
je 0x36fd
movq %rdx, 0x8(%rax)
addq $0x18, %rax
jmp 0x36eb
leaq -0x70(%rbp), %rdi
callq 0x3ca6
movq (%rbx), %rbx
cmpq %r12, %rbx
jne 0x36a7
leaq -0x60(%rbp), %rdi
callq 0x3a3e
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x3732
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2170
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3746
movq %rax, %rbx
jmp 0x3765
movq %rax, %rbx
jmp 0x375c
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x3ca6
leaq -0x60(%rbp), %rdi
callq 0x3a3e
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x377a
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2170
movq %rbx, %rdi
callq 0x2260