// File: /workspace/github_c_makefile_star2_O2/AK6DN[P]dec-utilities-for-pdp/d8tape/flow.c
// Function: flow
void
flow (void)
{
    pass1 ();
    pass2 ();
    pass3 ();
#ifdef PASS4_ENABLED
    pass4 ();   // this pass is fundamentally broken (well, maybe not the pass, but the interpretation of the results in dasm.c)
#endif
    verify_subroutines ();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x78ae(%rip), %r12      # 0xcf40
movl $0xe00, %r15d           # imm = 0xE00
leaq 0x98a1(%rip), %r14      # 0xef40
leaq 0x788a(%rip), %rbx      # 0xcf30
leaq 0x461a(%rip), %rbp      # 0x9cc7
xorl %r13d, %r13d
cmpq $0x1000, %r13           # imm = 0x1000
je 0x57e5
movswl (%r12,%r13,2), %edx
cmpl $-0x1, %edx
je 0x57dd
movl %edx, %eax
andl %r15d, %eax
cmpl %r15d, %eax
je 0x56f9
cmpl $0xc00, %eax            # imm = 0xC00
jne 0x5716
movl %edx, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5363
testl %eax, %eax
jne 0x57dd
orb $0x1, (%r14,%r13,2)
jmp 0x57dd
movl %edx, %ecx
andl $0xf00, %ecx            # imm = 0xF00
movl %edx, %eax
notl %eax
cmpl $0xe00, %ecx            # imm = 0xE00
jne 0x5772
testb $0xc, %al
je 0x5783
jmp 0x57dd
movl %r13d, %edi
movl %edx, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5323
movslq %eax, %rcx
movswl (%r12,%rcx,2), %r8d
cmpl $-0x1, %r8d
je 0x579c
movswl (%r12,%r13,2), %edx
movl %edx, %esi
andl $0xf00, %esi            # imm = 0xF00
cmpw $0x800, %si             # imm = 0x800
jne 0x57dd
testw %r8w, %r8w
sete %sil
cmpl %r8d, %eax
sete %dil
orb %sil, %dil
je 0x57c0
orb $0x1, 0x1(%r14,%rcx,2)
cmpl $0x2, (%rbx)
jl 0x57dd
leaq 0x460e(%rip), %rdi      # 0x9d7e
jmp 0x57b2
testw $0xf01, %ax             # imm = 0xF01
setne %al
testb $0x2e, %dl
sete %cl
orb %al, %cl
jne 0x57dd
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x57dd
movq %rbp, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq 0x30c0
jmp 0x57dd
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x57dd
movswl (%r12,%r13,2), %edx
leaq 0x453f(%rip), %rdi      # 0x9cf1
movl %r13d, %esi
movl %eax, %ecx
xorl %eax, %eax
callq 0x30c0
jmp 0x57dd
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x57dd
leaq 0x456d(%rip), %rdi      # 0x9d3e
movl %r13d, %esi
movl %eax, %ecx
xorl %eax, %eax
callq 0x30c0
incq %r13
jmp 0x56b0
xorl %ebp, %ebp
cmpq $0x1000, %rbp           # imm = 0x1000
je 0x58f9
movswl (%r12,%rbp,2), %esi
cmpl $-0x1, %esi
je 0x58f1
testb $0x1, (%r14,%rbp,2)
jne 0x58f1
movl %ebp, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5323
movl %eax, %r15d
movswl (%r12,%rbp,2), %edx
movl %edx, %eax
shrl $0x8, %eax
andl $0xf, %eax
movslq %r15d, %r13
cmpl $0x8, %eax
jae 0x588c
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x5852
leaq 0x4587(%rip), %rdi      # 0x9dc8
movl %ebp, %esi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x30c0
movzwl (%r12,%rbp,2), %edx
movl %edx, %eax
andl $0xd00, %eax            # imm = 0xD00
orl $0x200, %eax            # imm = 0x200
cmpl $0x600, %eax            # imm = 0x600
jne 0x58f1
orb $0x1, 0x1(%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x58f1
movswl %dx, %edx
leaq 0x4588(%rip), %rdi      # 0x9e06
movl %ebp, %esi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x30c0
jmp 0x58f1
je 0x58a6
cmpl $0xa, %eax
jne 0x58f1
orb $0x4, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x58f1
leaq 0x4634(%rip), %rdi      # 0x9ed8
jmp 0x587e
movzwl (%r12,%r13,2), %eax
testw %ax, %ax
sete %cl
movswl %ax, %r8d
cmpl %r8d, %r13d
sete %al
orb %cl, %al
cmpb $0x1, %al
jne 0x58d4
orb $0x2, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x58f1
leaq 0x4568(%rip), %rdi      # 0x9e3a
jmp 0x58e5
orb $0x1, (%r14,%rbp,2)
cmpl $0x2, (%rbx)
jl 0x58f1
leaq 0x45a4(%rip), %rdi      # 0x9e89
movl %ebp, %esi
movl %r15d, %ecx
xorl %eax, %eax
callq 0x30c0
incq %rbp
jmp 0x57e7
xorl %r13d, %r13d
cmpq $0x1000, %r13           # imm = 0x1000
je 0x5ad7
movswl (%r12,%r13,2), %edx
cmpl $-0x1, %edx
je 0x5acf
movzwl (%r14,%r13,2), %ecx
btl $0x8, %edx
jae 0x59e1
cmpw $0xbff, %dx             # imm = 0xBFF
jg 0x59e1
movl %ecx, %eax
andl $0x1, %eax
jne 0x59e1
movl %r13d, %edi
movl %edx, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5323
movl %eax, %ebp
movswl (%r12,%r13,2), %edx
movl %edx, %eax
shrl $0x9, %eax
andl $0x7, %eax
movslq %ebp, %r15
cmpl $0x4, %eax
jae 0x5a00
movswq (%r12,%r15,2), %r8
cmpq $-0x1, %r8
je 0x5acf
testb $0x1, 0x1(%r14,%r15,2)
jne 0x5acf
orb $0x1, (%r14,%r8,2)
cmpl $0x2, (%rbx)
jl 0x59a2
leaq 0x459a(%rip), %rdi      # 0x9f2b
movl %r13d, %esi
movl %ebp, %ecx
xorl %eax, %eax
callq 0x30c0
movzwl (%r12,%r13,2), %edx
movl %edx, %eax
andl $0xc00, %eax            # imm = 0xC00
orl $0x200, %eax            # imm = 0x200
cmpl $0x600, %eax            # imm = 0x600
jne 0x5acf
movswq (%r12,%r15,2), %r8
orb $0x1, 0x1(%r14,%r8,2)
cmpl $0x2, (%rbx)
jl 0x5acf
movswl %dx, %edx
leaq 0x45ab(%rip), %rdi      # 0x9f82
movl %r13d, %esi
movl %ebp, %ecx
jmp 0x5aa9
cmpl $0x3, (%rbx)
jl 0x5acf
leaq 0x4514(%rip), %rdi      # 0x9f05
movl %r13d, %esi
xorl %eax, %eax
callq 0x30c0
jmp 0x5acf
je 0x5a4b
cmpl $0x5, %eax
jne 0x5acf
movswq (%r12,%r15,2), %r8
cmpq $-0x1, %r8
je 0x5a8f
movzwl (%r14,%r15,2), %eax
btl $0x8, %eax
jb 0x5acf
orl $0x401, %eax            # imm = 0x401
movw %ax, (%r14,%r15,2)
orb $0x4, (%r14,%r8,2)
cmpl $0x2, (%rbx)
jl 0x5acf
movswl (%r12,%r8,2), %r9d
leaq 0x4665(%rip), %rdi      # 0xa0ae
jmp 0x5ac3
movswq (%r12,%r15,2), %r8
cmpq $-0x1, %r8
je 0x5acf
testb $0x1, 0x1(%r14,%r15,2)
jne 0x5acf
movswl (%r12,%r8,2), %r9d
testw %r9w, %r9w
setne %al
cmpw %r8w, %r9w
setne %cl
testb %cl, %al
jne 0x5ab2
orb $0x2, (%r14,%r8,2)
orw $0x401, (%r14,%r15,2)   # imm = 0x401
cmpl $0x2, (%rbx)
jl 0x5acf
leaq 0x4548(%rip), %rdi      # 0x9fd5
jmp 0x5ac3
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x5acf
leaq 0x46a1(%rip), %rdi      # 0xa141
movl %r13d, %esi
movl %ebp, %ecx
pushq $-0x1
popq %r8
xorl %eax, %eax
callq 0x30c0
jmp 0x5acf
orb $0x1, (%r14,%r13,2)
cmpl $0x2, (%rbx)
jl 0x5acf
leaq 0x457c(%rip), %rdi      # 0xa03f
movl %r13d, %esi
movl %ebp, %ecx
xorl %eax, %eax
callq 0x30c0
incq %r13
jmp 0x58fc
xorl %r15d, %r15d
cmpq $0x1000, %r15           # imm = 0x1000
je 0x5b3a
testb $0x2, (%r14,%r15,2)
je 0x5b35
movl %r15d, %r13d
orl $0x7f, %r13d
xorl %ebp, %ebp
movq %r15, %rbx
cmpq %r13, %rbx
ja 0x5b2c
movswl (%r12,%rbx,2), %esi
movl %esi, %eax
andl $0xf00, %eax            # imm = 0xF00
cmpl $0xb00, %eax            # imm = 0xB00
jne 0x5b27
movl %ebx, %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5323
movl %eax, %eax
cmpq %rax, %r15
jne 0x5b27
orb $0x8, (%r14,%rbx,2)
incl %ebp
incq %rbx
jmp 0x5af6
testl %ebp, %ebp
jne 0x5b35
andb $-0x3, (%r14,%r15,2)
incq %r15
jmp 0x5ada
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)