// File: /workspace/github_cpp_makefile_star2_O1/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 0x14de0
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
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 0x176e8
leaq 0xd8f2(%rip), %rsi      # 0x1cfaf
movl $0xb, %edx
movq %rbx, %rdi
callq 0x21a0
leaq 0x70(%rsp), %rdi
movq %rsp, %rsi
callq 0x15032
leaq 0x100(%rsp), %r14
leaq 0x30(%rsp), %rdi
movq %rsp, %rsi
movq %r14, %rdx
callq 0x18373
movq %r14, %rdi
callq 0x5be8
leaq 0xd0(%rsp), %rdi
callq 0x17556
leaq 0x80(%rsp), %rdi
callq 0x5c86
leaq 0x30(%rsp), %rsi
movq %rbx, %rdi
callq 0x15188
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xf72d
callq 0x35d6
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xf73c
callq 0x35d6
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xf789
callq 0x35d6
jmp 0xf789
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x15162
jmp 0xf789
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
jmp 0xf786
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xf798
callq 0x35d6
movq %rbx, %rdi
callq 0x2250