// File: /workspace/github_cpp_makefile_star2_O1/grame-cncm[P]digraph/./dglib/schedule.hh
// Function: schedule<char> bfcyclesschedule<char, int>(digraph<char, int> const&)
inline schedule<N> bfcyclesschedule(const digraph<N, A>& G)
{
    digraph<digraph<N, A>, A> H  = graph2dag(G);
    schedule<digraph<N, A>>   SH = bfschedule(H);
    schedule<N>               S;
    for (const digraph<N, A>& n : SH.elements()) {
        S.append(dfschedule(cut(n, 1)));
    }
    return S;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x90(%rsp), %rdi
callq 0x15032
leaq 0x120(%rsp), %r14
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x18373
movq %r14, %rdi
callq 0x5be8
leaq 0xf0(%rsp), %rdi
callq 0x17556
leaq 0xa0(%rsp), %rdi
callq 0x5c86
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1581c
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %rax
movaps %xmm0, -0x20(%rax)
xorl %ecx, %ecx
movq %rcx, -0x10(%rax)
movl $0x0, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq 0x48(%rsp), %rax
cmpq %rax, 0x50(%rsp)
je 0x17341
xorl %r12d, %r12d
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x90(%rsp), %r14
leaq (%r12,%r12,2), %rcx
movq (%rax,%rcx,8), %r15
movq 0x8(%rax,%rcx,8), %rbp
cmpq %rbp, %r15
je 0x17324
movq %r14, %rdi
movq %r15, %rsi
callq 0x1b3cc
addq $0x10, %r15
jmp 0x1730e
incq %r12
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %r13, %rcx
cmpq %rcx, %r12
jb 0x17301
leaq 0x48(%rsp), %rdi
callq 0x163ea
xorl %eax, %eax
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
leaq 0x20(%rbx), %rcx
movl $0x0, 0x20(%rbx)
movq %rax, 0x28(%rbx)
movq %rcx, 0x30(%rbx)
movq %rcx, 0x38(%rbx)
movq %rax, 0x40(%rbx)
movq 0x90(%rsp), %r14
movq 0x98(%rsp), %rax
movq %rax, 0x20(%rsp)
cmpq %rax, %r14
je 0x17451
leaq 0x38(%rsp), %r15
movq %rsp, %r13
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movaps %xmm0, 0x10(%rsp)
movl $0x1, (%rsp)
leaq 0x2362(%rip), %rax      # 0x19714
movq %rax, 0x18(%rsp)
leaq 0x235e(%rip), %rax      # 0x1971c
movq %rax, 0x10(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x195d8
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x173e8
movq %r13, %rdi
movq %r13, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x48(%rsp), %rdi
movq %r15, %rbp
movq %r15, %rsi
callq 0x16e7c
movq 0x48(%rsp), %r15
movq 0x50(%rsp), %r12
cmpq %r12, %r15
je 0x17417
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1a9b4
incq %r15
jmp 0x17402
leaq 0x60(%rsp), %rdi
callq 0x175a0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x17430
callq 0x2150
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
movq %rbp, %r15
je 0x17442
callq 0x35d6
addq $0x10, %r14
cmpq 0x20(%rsp), %r14
jne 0x17398
leaq 0xa8(%rsp), %rdi
callq 0x18920
leaq 0x90(%rsp), %rdi
callq 0x163aa
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1747a
callq 0x35d6
movq %rbx, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x1753e
movq %rax, %r14
leaq 0x90(%rsp), %rdi
callq 0x15162
jmp 0x1754d
jmp 0x174cf
movq %rax, %r14
jmp 0x174e4
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x174f3
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x174f3
movq %rax, %rdi
callq 0x329c
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x16fe0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x174f3
callq 0x35d6
movq %rbx, %rdi
callq 0x16fe0
leaq 0xa8(%rsp), %rdi
callq 0x18920
leaq 0x90(%rsp), %rdi
callq 0x163aa
jmp 0x1753e
movq %rax, %r14
leaq 0xa8(%rsp), %rdi
callq 0x18920
leaq 0x90(%rsp), %rdi
callq 0x163aa
leaq 0x48(%rsp), %rdi
callq 0x163ea
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1754d
callq 0x35d6
movq %r14, %rdi
callq 0x2250
nop