// File: /workspace/github_cpp_makefile_star2_O2/grame-cncm[P]digraph/mtests.cpp
// Function: mtest5[abi:cxx11]()
std::string mtest5()
{
    digraph<char, multidep> g;
    g.add('A', 'B', mdep("Y", 1))
        .add('A', 'B', mdep("Y", 2))
        .add('B', 'C', mdep("Q"))
        .add('C', 'A', mdep("X"))
        .add('D', 'B', mdep("M"))
        .add('D', 'C', mdep("W", 2))
        .add('D', 'E', mdep("M"))
        .add('E', 'D', mdep("N", 1))
        .add('G', 'A', mdep("init", 1))
        .add('E', 'H', mdep("end", 0));

    // inline std::pair<std::map<N, A>, std::map<N, A>> arrows(const digraph<N, A>& G)
    std::pair<std::map<char, multidep>, std::map<char, multidep>> PM = arrows(g);

    std::stringstream ss;

    for (char c : g.nodes()) {
        ss << c << ": incoming " << PM.first[c] << ", outcoming: " << PM.second[c] << std::endl;
    }
    return ss.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x528, %rsp            # imm = 0x528
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
callq 0x25fa
movb $0x41, 0x1d(%rsp)
movb $0x42, 0x1c(%rsp)
leaq 0xd4e7(%rip), %rsi      # 0x15751
leaq 0x160(%rsp), %rdi
leaq 0x27(%rsp), %rdx
callq 0x2080
leaq 0x3a0(%rsp), %rdi
leaq 0x160(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0x1d(%rsp), %rsi
leaq 0x1c(%rsp), %rdx
leaq 0x3a0(%rsp), %rcx
callq 0x340c
movb $0x41, 0x1b(%rsp)
movb $0x42, 0x1a(%rsp)
leaq 0xd490(%rip), %rsi      # 0x15751
leaq 0x140(%rsp), %rdi
leaq 0x26(%rsp), %rdx
callq 0x2080
leaq 0x1b8(%rsp), %rdi
leaq 0x140(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0x1b(%rsp), %rsi
leaq 0x1a(%rsp), %rdx
leaq 0x1b8(%rsp), %rcx
callq 0x340c
movb $0x42, 0x19(%rsp)
movb $0x43, 0x18(%rsp)
leaq 0xd43b(%rip), %rsi      # 0x15753
leaq 0x120(%rsp), %rdi
leaq 0x25(%rsp), %rdx
callq 0x2080
leaq 0x180(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x8a6a
movq 0x28(%rsp), %rdi
leaq 0x19(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0x180(%rsp), %rcx
callq 0x340c
movb $0x43, 0x17(%rsp)
movb $0x41, 0x16(%rsp)
leaq 0xd3e9(%rip), %rsi      # 0x15755
leaq 0x100(%rsp), %rdi
leaq 0x24(%rsp), %rdx
callq 0x2080
leaq 0x368(%rsp), %rdi
leaq 0x100(%rsp), %rsi
callq 0x8a6a
movq 0x28(%rsp), %rdi
leaq 0x17(%rsp), %rsi
leaq 0x16(%rsp), %rdx
leaq 0x368(%rsp), %rcx
callq 0x340c
movb $0x44, 0x15(%rsp)
movb $0x42, 0x14(%rsp)
leaq 0xcc44(%rip), %rsi      # 0x15004
leaq 0xe0(%rsp), %rdi
leaq 0x23(%rsp), %rdx
callq 0x2080
leaq 0x330(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x8a6a
movq 0x28(%rsp), %rdi
leaq 0x15(%rsp), %rsi
leaq 0x14(%rsp), %rdx
leaq 0x330(%rsp), %rcx
callq 0x340c
movb $0x44, 0x13(%rsp)
movb $0x43, 0x12(%rsp)
leaq 0xd497(%rip), %rsi      # 0x158ab
leaq 0xc0(%rsp), %rdi
leaq 0x22(%rsp), %rdx
callq 0x2080
leaq 0x2f8(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
pushq $0x2
popq %rdx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0x13(%rsp), %rsi
leaq 0x12(%rsp), %rdx
leaq 0x2f8(%rsp), %rcx
callq 0x340c
movb $0x44, 0x11(%rsp)
movb $0x45, 0x10(%rsp)
leaq 0xcb99(%rip), %rsi      # 0x15004
leaq 0xa0(%rsp), %rdi
leaq 0x21(%rsp), %rdx
callq 0x2080
leaq 0x2c0(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x8a6a
movq 0x28(%rsp), %rdi
leaq 0x11(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x2c0(%rsp), %rcx
callq 0x340c
movb $0x45, 0xf(%rsp)
movb $0x44, 0xe(%rsp)
leaq 0xcb47(%rip), %rsi      # 0x15006
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x2080
leaq 0x288(%rsp), %rdi
leaq 0x80(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0xf(%rsp), %rsi
leaq 0xe(%rsp), %rdx
leaq 0x288(%rsp), %rcx
callq 0x340c
movb $0x47, 0xd(%rsp)
movb $0x41, 0xc(%rsp)
leaq 0xd56f(%rip), %rsi      # 0x15a85
leaq 0x60(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x2080
leaq 0x250(%rsp), %rdi
leaq 0x60(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0xd(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x250(%rsp), %rcx
callq 0x340c
movb $0x45, 0xb(%rsp)
movb $0x48, 0xa(%rsp)
leaq 0xe99d(%rip), %rsi      # 0x16f04
leaq 0x40(%rsp), %rdi
leaq 0x1e(%rsp), %rdx
callq 0x2080
leaq 0x218(%rsp), %rdi
leaq 0x40(%rsp), %rsi
xorl %edx, %edx
callq 0x8af4
movq 0x28(%rsp), %rdi
leaq 0xb(%rsp), %rsi
leaq 0xa(%rsp), %rdx
leaq 0x218(%rsp), %rcx
callq 0x340c
leaq 0x218(%rsp), %rdi
callq 0x2ee8
leaq 0x40(%rsp), %rdi
callq 0x20a0
leaq 0x250(%rsp), %rdi
callq 0x2ee8
leaq 0x60(%rsp), %rdi
callq 0x20a0
leaq 0x288(%rsp), %rdi
callq 0x2ee8
leaq 0x80(%rsp), %rdi
callq 0x20a0
leaq 0x2c0(%rsp), %rdi
callq 0x2ee8
leaq 0xa0(%rsp), %rdi
callq 0x20a0
leaq 0x2f8(%rsp), %rdi
callq 0x2ee8
leaq 0xc0(%rsp), %rdi
callq 0x20a0
leaq 0x330(%rsp), %rdi
callq 0x2ee8
leaq 0xe0(%rsp), %rdi
callq 0x20a0
leaq 0x368(%rsp), %rdi
callq 0x2ee8
leaq 0x100(%rsp), %rdi
callq 0x20a0
leaq 0x180(%rsp), %rdi
callq 0x2ee8
leaq 0x120(%rsp), %rdi
callq 0x20a0
leaq 0x1b8(%rsp), %rdi
callq 0x2ee8
leaq 0x140(%rsp), %rdi
callq 0x20a0
leaq 0x3a0(%rsp), %rdi
callq 0x2ee8
leaq 0x160(%rsp), %rdi
callq 0x20a0
leaq 0x1b8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x8d40
movq %rbx, 0x38(%rsp)
leaq 0x3a0(%rsp), %rdi
callq 0x20e0
movq 0x28(%rsp), %r13
movq 0x18(%r13), %r15
addq $0x8, %r13
leaq 0x1b8(%rsp), %rbp
leaq 0x180(%rsp), %rbx
leaq 0xd3aa(%rip), %r14      # 0x15a96
cmpq %r13, %r15
je 0x8778
movsbl 0x20(%r15), %esi
movb %sil, 0x180(%rsp)
leaq 0x3b0(%rsp), %rdi
callq 0x2190
movq %rax, %rdi
leaq 0xd371(%rip), %rsi      # 0x15a8a
callq 0x2140
movq %rax, %r12
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x3700
movq %r12, %rdi
movq %rax, %rsi
callq 0x43a8
movq %rax, %rdi
movq %r14, %rsi
callq 0x2140
movq %rax, %r12
leaq 0x1e8(%rsp), %rdi
movq %rbx, %rsi
callq 0x3700
movq %r12, %rdi
movq %rax, %rsi
callq 0x43a8
movq %rax, %rdi
callq 0x20b0
movq %r15, %rdi
callq 0x2170
movq %rax, %r15
jmp 0x86ec
leaq 0x3b8(%rsp), %rsi
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x21e0
leaq 0x3a0(%rsp), %rdi
callq 0x20f0
leaq 0x1b8(%rsp), %rdi
callq 0x8f7c
leaq 0x30(%rsp), %rdi
callq 0x2efc
movq %rbx, %rax
addq $0x528, %rsp            # imm = 0x528
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x897b
movq %rax, %rbx
jmp 0x898b
jmp 0x8976
movq %rax, %rbx
leaq 0x218(%rsp), %rdi
callq 0x2ee8
jmp 0x87ed
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x20a0
jmp 0x87fe
jmp 0x87fb
movq %rax, %rbx
leaq 0x250(%rsp), %rdi
callq 0x2ee8
jmp 0x8810
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x20a0
jmp 0x8821
jmp 0x881e
movq %rax, %rbx
leaq 0x288(%rsp), %rdi
callq 0x2ee8
leaq 0x80(%rsp), %rdi
callq 0x20a0
jmp 0x8847
movq %rax, %rbx
jmp 0x882e
jmp 0x8844
movq %rax, %rbx
leaq 0x2c0(%rsp), %rdi
callq 0x2ee8
leaq 0xa0(%rsp), %rdi
callq 0x20a0
leaq 0x2f8(%rsp), %rdi
callq 0x2ee8
leaq 0xc0(%rsp), %rdi
callq 0x20a0
leaq 0x330(%rsp), %rdi
callq 0x2ee8
leaq 0xe0(%rsp), %rdi
callq 0x20a0
leaq 0x368(%rsp), %rdi
callq 0x2ee8
leaq 0x100(%rsp), %rdi
callq 0x20a0
leaq 0x180(%rsp), %rdi
callq 0x2ee8
leaq 0x120(%rsp), %rdi
callq 0x20a0
leaq 0x1b8(%rsp), %rdi
callq 0x2ee8
leaq 0x140(%rsp), %rdi
callq 0x20a0
leaq 0x3a0(%rsp), %rdi
callq 0x2ee8
leaq 0x160(%rsp), %rdi
callq 0x20a0
jmp 0x8998
movq %rax, %rbx
jmp 0x8854
jmp 0x890c
movq %rax, %rbx
jmp 0x8861
movq %rax, %rbx
jmp 0x886e
jmp 0x891e
movq %rax, %rbx
jmp 0x887b
movq %rax, %rbx
jmp 0x8888
jmp 0x8930
movq %rax, %rbx
jmp 0x8895
movq %rax, %rbx
jmp 0x88a2
jmp 0x8942
movq %rax, %rbx
jmp 0x88af
movq %rax, %rbx
jmp 0x88bc
jmp 0x8954
movq %rax, %rbx
jmp 0x88c9
movq %rax, %rbx
jmp 0x88d6
jmp 0x8966
movq %rax, %rbx
jmp 0x88e3
movq %rax, %rbx
jmp 0x88f0
movq %rax, %rbx
jmp 0x8998
movq %rax, %rbx
leaq 0x3a0(%rsp), %rdi
callq 0x20f0
leaq 0x1b8(%rsp), %rdi
callq 0x8f7c
leaq 0x30(%rsp), %rdi
callq 0x2efc
movq %rbx, %rdi
callq 0x2220