// File: /workspace/github_c_makefile_star2_O1/Oric4ever[P]lcc65/6502/build/../src/gen.c
// Function: gen
Node gen(Node p) {
    Node head, *last;
    for (last = &head; p; p = p->link)
        last = linearize(p, last, 0);
    for (p = head; p; p = p->x.next) {
        if (graph_output) print_graph_node(p);
        else tmpalloc(p);
    }
    return head;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x1adf4
movq %rdi, %rbx
movq %rsp, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1b2b6
movq 0x30(%rbx), %rbx
testq %rbx, %rbx
jne 0x1ade0
movq (%rsp), %rbx
testq %rbx, %rbx
je 0x1b27f
leaq 0xea78(%rip), %r15      # 0x29880
leaq 0x6b81(%rip), %r13      # 0x21990
cmpb $0x1, 0x17632(%rip)     # 0x32448
jne 0x1ae6a
movq 0x8(%rbx), %r14
movq 0x20(%rbx), %rbp
movq 0x28(%rbx), %r12
movl (%rbx), %eax
movq (%r15), %rsi
cmpq $0x25f, %rax            # imm = 0x25F
ja 0x1aed1
movl %eax, %ecx
shrl $0x4, %ecx
leaq 0xce6f(%rip), %rdx      # 0x27cb0
movq (%rdx,%rcx,8), %rcx
andl $0xf, %eax
leaq 0x7981(%rip), %rdx      # 0x227d0
movsbl (%rax,%rdx), %r8d
leaq 0x71ee(%rip), %rdi      # 0x22049
movq %rbx, %rdx
xorl %eax, %eax
callq 0x30c0
jmp 0x1aef5
movq 0x20(%rbx), %r12
movq 0x28(%rbx), %r14
movb $0x0, 0x60(%rbx)
leaq 0x72cd(%rip), %rax      # 0x2214a
movq %rax, 0x38(%rbx)
movb $0x2a, 0x40(%rbx)
movq %r12, %rdi
callq 0x1cf6d
movq %r14, %rdi
callq 0x1cf6d
movl (%rbx), %eax
movl %eax, %ecx
andl $-0x10, %ecx
cmpl $0xd0, %ecx
je 0x1af82
cmpl $0x30, %ecx
je 0x1af28
cmpl $0x20, %ecx
jne 0x1af9e
movl 0x177ec(%rip), %eax     # 0x326a8
movl %eax, 0x50(%rbx)
movq 0x8(%rbx), %rcx
addl 0x48(%rcx), %eax
movl %eax, 0x177dc(%rip)     # 0x326a8
jmp 0x1af9e
addl $0xfffffda0, %eax       # imm = 0xFFFFFDA0
leaq 0x6ed7(%rip), %rdx      # 0x21db4
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
leaq 0x7175(%rip), %rdi      # 0x22060
movq %rbx, %rdx
xorl %eax, %eax
callq 0x30c0
movl (%rbx), %eax
leal -0x10(%rax), %ecx
shrl $0x4, %ecx
cmpl $0x24, %ecx
ja 0x1b09f
movslq (%r13,%rcx,4), %rcx
addq %r13, %rcx
jmpq *%rcx
movq (%r15), %rcx
leaq 0x7202(%rip), %rdi      # 0x2211c
movq %rcx, %rsi
movq %rbx, %rdx
movq %rbp, %r8
jmp 0x1b098
andl $0xf, %eax
cmpl $0x9, %eax
je 0x1af9e
cmpl $0x3, 0xe891(%rip)      # 0x297c8
jl 0x1af9e
cmpb $0x0, 0x60(%r14)
jne 0x1af9e
cmpq %rbx, 0x58(%r14)
jne 0x1af9e
movq 0x48(%r14), %rax
cmpq %rax, 0x1753f(%rip)     # 0x32490
je 0x1b22c
movq $-0x1, %rcx
cmpq $0x1e, %rcx
je 0x1b21d
leaq 0x1(%rcx), %rdx
leaq 0x1751d(%rip), %rsi     # 0x32490
cmpq %rax, 0x10(%rsi,%rcx,8)
movq %rdx, %rcx
jne 0x1af5e
jmp 0x1b222
movl 0x17720(%rip), %eax     # 0x326a8
movl %eax, 0x50(%rbx)
movl 0x1770b(%rip), %eax     # 0x3269c
movl %eax, 0x54(%rbx)
movl $0x0, 0x1770a(%rip)     # 0x326a8
cmpb $0x0, 0x174a3(%rip)     # 0x32448
jne 0x1b09f
movl (%rbx), %ecx
leal -0x10(%rcx), %eax
shrl $0x4, %eax
cmpl $0x24, %eax
ja 0x1afd5
leaq 0x693d(%rip), %rdx      # 0x218fc
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
cmpl $0x0, 0xe7f9(%rip)      # 0x297c8
jne 0x1b297
movl (%rbx), %eax
andl $0xf, %eax
decl %eax
xorl %ecx, %ecx
cmpl $0x2, %eax
jae 0x1b0b1
movl 0x176b7(%rip), %eax     # 0x326a4
leaq 0x1759c(%rip), %r14     # 0x32590
movl $0x1, %edx
shll %cl, %edx
btl %ecx, %eax
jae 0x1b0da
incl %ecx
addq $0x8, %r14
cmpl $0x20, %ecx
jne 0x1aff4
jmp 0x1b292
movq (%r14), %rdx
leaq 0x7095(%rip), %rdi      # 0x220b3
movq %r14, %rsi
xorl %eax, %eax
callq 0x30c0
movq (%r15), %rsi
leaq 0x709f(%rip), %rdi      # 0x220d1
movq %rbx, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x30c0
movq (%r15), %rcx
leaq 0x70b4(%rip), %rdi      # 0x220fd
movq %rcx, %rsi
movq %rbx, %rdx
movq %rbp, %r8
xorl %eax, %eax
callq 0x30c0
movq (%r15), %rcx
leaq 0x70b9(%rip), %rdi      # 0x2211c
movq %rcx, %rsi
movq %rbx, %rdx
movq %r12, %r8
jmp 0x1b098
movq (%r15), %rsi
movq (%r14), %rcx
leaq 0x6ffa(%rip), %rdi      # 0x22075
movq %r14, %rdx
xorl %eax, %eax
callq 0x30c0
movq (%r15), %rcx
leaq 0x7005(%rip), %rdi      # 0x22094
movq %rcx, %rsi
movq %rbx, %rdx
movq %r14, %r8
xorl %eax, %eax
callq 0x30c0
movq 0x58(%rbx), %rbx
testq %rbx, %rbx
jne 0x1ae0f
jmp 0x1b27f
movl 0x175e5(%rip), %edx     # 0x3269c
leaq 0x173d2(%rip), %rax     # 0x32490
movl $0x1, %esi
shll %cl, %esi
btl %ecx, %edx
jae 0x1b0f7
incl %ecx
addq $0x8, %rax
cmpl $0x20, %ecx
jne 0x1b0be
jmp 0x1b292
orl %eax, %edx
movl %edx, 0x175c2(%rip)     # 0x326a4
movq (%r14), %rdi
movq %rdi, 0x48(%rbx)
movb $0x59, 0x40(%rbx)
callq 0x1ac84
movq (%r14), %rax
jmp 0x1b10a
orl %edx, %esi
movl %esi, 0x1759d(%rip)     # 0x3269c
movq (%rax), %rax
movq %rax, 0x48(%rbx)
movb $0x5a, 0x40(%rbx)
movq (%rax), %rax
movq %rax, 0x38(%rbx)
jmp 0x1b09f
movq 0x20(%rbx), %rax
movl 0xe6ab(%rip), %edx      # 0x297c8
testl %edx, %edx
sete %sil
andl $0xf, %ecx
cmpl $0x9, %ecx
setne %cl
orb %sil, %cl
jne 0x1b1c7
movb $0x1, 0x60(%rbx)
movq 0x48(%rax), %rcx
movq %rcx, 0x48(%rbx)
movq (%rcx), %rcx
movq %rcx, 0x38(%rbx)
movb 0x40(%rax), %al
movb %al, 0x40(%rbx)
jmp 0x1b09f
andl $0xf, %ecx
cmpl $0x9, %ecx
je 0x1b09f
cmpw $0x0, 0x4(%rbx)
jne 0x1b16c
movl $0xd8, (%rbx)
movl (%rbx), %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x1afd5
jmp 0x1b09f
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x1af10
jmp 0x1b09f
movq (%r15), %rcx
leaq 0x6f82(%rip), %rdi      # 0x2211c
movq %rcx, %rsi
movq %rbx, %rdx
movq %rbp, %r8
xorl %eax, %eax
callq 0x30c0
movl (%rbx), %eax
andl $0xf, %eax
cmpl $0x9, %eax
jne 0x1b09f
movq (%r15), %rcx
leaq 0x6f6a(%rip), %rdi      # 0x2212c
jmp 0x1b063
cmpl $0x3, %edx
jl 0x1afd5
cmpw $0x1, 0x4(%rbx)
jg 0x1afd5
movzbl 0x40(%rax), %ecx
leal -0x41(%rcx), %edx
cmpl $0x19, %edx
ja 0x1afd5
movl $0x2020005, %esi        # imm = 0x2020005
btl %edx, %esi
jae 0x1afd5
movb $0x1, 0x60(%rbx)
movq 0x48(%rax), %rdx
movq %rdx, 0x48(%rbx)
movq 0x48(%rax), %rax
movq (%rax), %rax
movq %rax, 0x38(%rbx)
movsbl %cl, %edi
callq 0x1d046
jmp 0x1b14b
movl $0x1f, %edx
cmpq $0x1e, %rdx
ja 0x1af9e
movzbl 0x40(%r12), %eax
leal -0x41(%rax), %ecx
cmpl $0x19, %ecx
ja 0x1af9e
movl $0x2020005, %edx        # imm = 0x2020005
btl %ecx, %edx
jae 0x1af9e
cmpw $0x0, 0x4(%r14)
jne 0x1af9e
movb $0x1, 0x60(%rbx)
movq 0x48(%r12), %rcx
movq %rcx, 0x48(%r14)
movq 0x38(%r12), %rcx
movq %rcx, 0x38(%r14)
movsbl %al, %edi
callq 0x1d046
movb %al, 0x40(%r14)
jmp 0x1af9e
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3338
leaq 0x6f09(%rip), %rdi      # 0x221a7
leaq 0x6ca1(%rip), %rsi      # 0x21f46
leaq 0x6f0c(%rip), %rcx      # 0x221b8
movl $0x1c9, %edx            # imm = 0x1C9
callq 0x30d0