// File: /workspace/github_cpp_makefile_star2_O3/grame-cncm[P]digraph/tests.cpp
// Function: test2(std::ostream&)
void test2(std::ostream& ss)
{
    digraph<char, int> g;
    g.add('A', 'B', 0)
        .add('B', 'C', 1)
        .add('C', 'A', 0)
        .add('D', 'B', 0)
        .add('D', 'C', 0)
        .add('D', 'E', 1)
        .add('E', 'D', 0)
        .add('E', 'F', 0)
        .add('F', 'G', 0)
        .add('G', 'F', 1)
        .add('H', 'G', 0)
        .add('H', 'E', 0)
        .add('H', 'H', 1);

    ss << "dag of g = " << graph2dag(g);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x14ee8
leaq 0x2f(%rsp), %rsi
movb $0x41, (%rsi)
leaq 0x2e(%rsp), %rdx
movb $0x42, (%rdx)
leaq 0x70(%rsp), %rcx
movl $0x0, (%rcx)
movq (%r14), %rdi
callq 0x1781e
leaq 0x2d(%rsp), %rsi
movb $0x42, (%rsi)
leaq 0x2c(%rsp), %rdx
movb $0x43, (%rdx)
leaq 0x30(%rsp), %rcx
movl $0x1, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x2b(%rsp), %rsi
movb $0x43, (%rsi)
leaq 0x2a(%rsp), %rdx
movb $0x41, (%rdx)
leaq 0x6c(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x29(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x28(%rsp), %rdx
movb $0x42, (%rdx)
leaq 0x68(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x27(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x26(%rsp), %rdx
movb $0x43, (%rdx)
leaq 0x64(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x25(%rsp), %rsi
movb $0x44, (%rsi)
leaq 0x24(%rsp), %rdx
movb $0x45, (%rdx)
leaq 0x60(%rsp), %rcx
movl $0x1, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x23(%rsp), %rsi
movb $0x45, (%rsi)
leaq 0x22(%rsp), %rdx
movb $0x44, (%rdx)
leaq 0x5c(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x21(%rsp), %rsi
movb $0x45, (%rsi)
leaq 0x20(%rsp), %rdx
movb $0x46, (%rdx)
leaq 0x58(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x1f(%rsp), %rsi
movb $0x46, (%rsi)
leaq 0x1e(%rsp), %rdx
movb $0x47, (%rdx)
leaq 0x54(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x1d(%rsp), %rsi
movb $0x47, (%rsi)
leaq 0x1c(%rsp), %rdx
movb $0x46, (%rdx)
leaq 0x50(%rsp), %rcx
movl $0x1, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x1b(%rsp), %rsi
movb $0x48, (%rsi)
leaq 0x1a(%rsp), %rdx
movb $0x47, (%rdx)
leaq 0x4c(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0x19(%rsp), %rsi
movb $0x48, (%rsi)
leaq 0x18(%rsp), %rdx
movb $0x45, (%rdx)
leaq 0x48(%rsp), %rcx
movl $0x0, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
movb $0x48, %al
leaq 0x17(%rsp), %rsi
movb %al, (%rsi)
leaq 0x16(%rsp), %rdx
movb %al, (%rdx)
leaq 0x44(%rsp), %rcx
movl $0x1, (%rcx)
movq (%rsp), %rdi
callq 0x1781e
leaq 0xda36(%rip), %rsi      # 0x1cfaf
movl $0xb, %edx
movq %rbx, %rdi
callq 0x21a0
leaq 0x70(%rsp), %rdi
movq %rsp, %rsi
callq 0x1513a
leaq 0x100(%rsp), %r14
leaq 0x30(%rsp), %rdi
movq %rsp, %rsi
movq %r14, %rdx
callq 0x1848d
movq %r14, %rdi
callq 0x5ad0
leaq 0xd0(%rsp), %rdi
callq 0x1767c
leaq 0x80(%rsp), %rdi
callq 0x5b6e
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x1527e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xf5e9
callq 0x3504
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xf5f8
callq 0x3504
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xf645
callq 0x3504
jmp 0xf645
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x15258
jmp 0xf645
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
jmp 0xf642
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xf654
callq 0x3504
movq %rbx, %rdi
callq 0x2250