// File: /workspace/github_c_makefile_star2_O3/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/luac.c
// Function: PrintFunction
static void PrintFunction(const Proto* f, int full)
{
 int i,n=f->sizep;
 PrintHeader(f);
 PrintCode(f);
 if (full) PrintDebug(f);
 for (i=0; i<n; i++) PrintFunction(f->p[i],full);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r13
movq 0x48(%rdi), %rax
leaq 0x18(%rax), %rcx
testq %rax, %rax
leaq 0x119e0(%rip), %rdx     # 0x1633b
cmovneq %rcx, %rdx
movzbl (%rdx), %eax
cmpl $0x1b, %eax
movl %esi, 0x2c(%rsp)
je 0x497a
cmpl $0x40, %eax
je 0x4975
cmpl $0x3d, %eax
jne 0x4983
incq %rdx
jmp 0x498a
leaq 0x119bd(%rip), %rdx     # 0x1633e
jmp 0x498a
leaq 0x119be(%rip), %rdx     # 0x16348
movl 0x60(%r13), %eax
movq %rax, 0x48(%rsp)
movl 0x68(%r13), %ecx
testl %ecx, %ecx
leaq 0x119da(%rip), %rax     # 0x1637a
leaq 0x12724(%rip), %rsi     # 0x170cb
cmoveq %rax, %rsi
movl 0x58(%r13), %r9d
movl 0x6c(%r13), %r8d
cmpl $0x1, %r9d
leaq 0x11a24(%rip), %r14     # 0x163e2
leaq 0x1209b(%rip), %rbx     # 0x16a60
movq %rbx, %r10
cmoveq %r14, %r10
leaq 0x1197e(%rip), %rdi     # 0x16351
xorl %eax, %eax
pushq %r13
pushq %r10
callq 0x4110
addq $0x10, %rsp
movzbl 0x78(%r13), %esi
cmpb $0x0, 0x79(%r13)
leaq 0x119b4(%rip), %rdx     # 0x163a7
cmoveq %r14, %rdx
cmpl $0x1, %esi
movq %rbx, %rcx
cmoveq %r14, %rcx
movzbl 0x7a(%r13), %r8d
cmpl $0x1, %r8d
movq %rbx, %r9
cmoveq %r14, %r9
movl 0x50(%r13), %r10d
cmpl $0x1, %r10d
movq %rbx, %r11
cmoveq %r14, %r11
leaq 0x11958(%rip), %rdi     # 0x1637f
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x4110
addq $0x10, %rsp
movl 0x64(%r13), %esi
cmpl $0x1, %esi
movq %rbx, %rdx
cmoveq %r14, %rdx
movl 0x54(%r13), %ecx
cmpl $0x1, %ecx
movq %rbx, %r8
cmoveq %r14, %r8
movl 0x60(%r13), %r9d
cmpl $0x1, %r9d
cmoveq %r14, %rbx
subq $0x8, %rsp
leaq 0x11940(%rip), %rdi     # 0x163a9
xorl %eax, %eax
pushq %rbx
callq 0x4110
addq $0x10, %rsp
movl 0x58(%r13), %eax
movl %eax, 0x34(%rsp)
testl %eax, %eax
jle 0x4ead
movq 0x18(%r13), %rax
movq %rax, 0x38(%rsp)
xorl %ebx, %ebx
movq %r13, 0x18(%rsp)
movslq %ebx, %rbp
movq 0x38(%rsp), %rax
movl (%rax,%rbp,4), %r14d
movq 0x28(%r13), %rax
testq %rax, %rax
movq %rbx, 0x8(%rsp)
je 0x4ada
movl (%rax,%rbp,4), %ebx
incl %ebp
leaq 0x11918(%rip), %rdi     # 0x163d3
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
jle 0x4aed
leaq 0x11909(%rip), %rdi     # 0x163d8
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
jmp 0x4afb
leal 0x1(%rbx), %ebp
leaq 0x118ef(%rip), %rdi     # 0x163d3
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
leaq 0x118ea(%rip), %rdi     # 0x163de
xorl %eax, %eax
callq 0x4110
movl %r14d, %r12d
andl $0x3f, %r12d
movl %r14d, %r15d
shrl $0x6, %r15d
movzbl %r15b, %ebx
movl %r14d, %eax
shrl $0x17, %eax
movq %rax, 0x20(%rsp)
movl %r14d, %eax
shrl $0xe, %eax
movl %eax, %ecx
andl $0x1ff, %ecx            # imm = 0x1FF
movl %ecx, 0x30(%rsp)
movq %rax, 0x10(%rsp)
addl $0xfffe0001, %eax       # imm = 0xFFFE0001
movq %rax, 0x40(%rsp)
leaq 0x19fd0(%rip), %rax     # 0x1eb10
movq (%rax,%r12,8), %rsi
leaq 0x11898(%rip), %rdi     # 0x163e3
xorl %eax, %eax
callq 0x4110
leaq 0x123b7(%rip), %rax     # 0x16f10
movzbl (%r12,%rax), %r13d
movl %r13d, %eax
andl $0x3, %eax
leaq 0x114c5(%rip), %rcx     # 0x16030
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rbx, 0x50(%rsp)
jmpq *%rax
leaq 0x1188b(%rip), %rdi     # 0x1640b
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
testb $0x30, %r13b
je 0x4bb2
movq 0x20(%rsp), %rax
movl %eax, %esi
notl %esi
orl $0xffffff00, %esi       # imm = 0xFFFFFF00
testl %r14d, %r14d
cmovnsl %eax, %esi
leaq 0x1185f(%rip), %rdi     # 0x1640a
xorl %eax, %eax
callq 0x4110
testb $0xc, %r13b
movq 0x18(%rsp), %r13
je 0x4c57
movq 0x10(%rsp), %rax
movl %eax, %esi
notl %esi
orl $0xffffff00, %esi       # imm = 0xFFFFFF00
btl $0x16, %r14d
cmovael 0x30(%rsp), %esi
jmp 0x4c2f
leaq 0x11806(%rip), %rdi     # 0x163e9
movl %ebx, %esi
movq 0x40(%rsp), %rdx
xorl %eax, %eax
callq 0x4110
jmp 0x4c52
movl %r15d, %esi
notl %esi
leaq 0x1180c(%rip), %rdi     # 0x1640b
jmp 0x4c4b
leaq 0x11803(%rip), %rdi     # 0x1640b
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
andl $0x30, %r13d
cmpl $0x10, %r13d
je 0x4c3f
cmpl $0x30, %r13d
movq 0x18(%rsp), %r13
jne 0x4c57
movq 0x10(%rsp), %rax
movl %eax, %esi
notl %esi
leaq 0x117d4(%rip), %rdi     # 0x1640a
xorl %eax, %eax
callq 0x4110
jmp 0x4c57
leaq 0x117c4(%rip), %rdi     # 0x1640a
movq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x4110
movq 0x18(%rsp), %r13
decl %r12d
cmpl $0x26, %r12d
ja 0x4de4
leaq 0x113d5(%rip), %rcx     # 0x16040
movslq (%rcx,%r12,4), %rax
addq %rcx, %rax
jmpq *%rax
testl $0x80400000, %r14d      # imm = 0x80400000
je 0x4de4
leaq 0x11767(%rip), %rdi     # 0x163ef
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
js 0x4cc3
movl $0x2d, %edi
callq 0x4040
jmp 0x4cd1
movq 0x8(%rsp), %rbx
movq 0x40(%rsp), %rax
leal (%rbx,%rax), %esi
addl $0x2, %esi
leaq 0x11742(%rip), %rdi     # 0x163f9
xorl %eax, %eax
callq 0x4110
jmp 0x4e5d
movzbl 0x20(%rsp), %esi
movq 0x10(%r13), %rdi
callq 0x50a6
movl $0x20, %edi
callq 0x4040
btl $0x16, %r14d
movq 0x8(%rsp), %rbx
jb 0x4e4f
movl $0x2d, %edi
callq 0x4040
jmp 0x4e5d
btl $0x16, %r14d
jae 0x4de4
leaq 0x116e3(%rip), %rdi     # 0x163ef
xorl %eax, %eax
callq 0x4110
jmp 0x4dd6
movq 0x38(%r13), %rax
movq 0x20(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x12e52(%rip), %rsi     # 0x17b81
testq %rax, %rax
je 0x4d3b
addq $0x18, %rax
movq %rax, %rsi
leaq 0x116b1(%rip), %rdi     # 0x163f3
jmp 0x4d58
movq 0x20(%r13), %rax
movq 0x10(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x116aa(%rip), %rdi     # 0x16402
xorl %eax, %eax
callq 0x4110
jmp 0x4de4
leaq 0x11684(%rip), %rdi     # 0x163ef
xorl %eax, %eax
callq 0x4110
movq 0x10(%r13), %rdi
movl %r15d, %esi
jmp 0x4ddf
leaq 0x1166d(%rip), %rdi     # 0x163ef
xorl %eax, %eax
callq 0x4110
movq 0x10(%r13), %rdi
movq 0x10(%rsp), %rsi
jmp 0x4ddf
movq 0x38(%r13), %rax
movq 0x20(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x12dd6(%rip), %rsi     # 0x17b81
testq %rax, %rax
je 0x4db7
addq $0x18, %rax
movq %rax, %rsi
leaq 0x11635(%rip), %rdi     # 0x163f3
xorl %eax, %eax
callq 0x4110
btl $0x16, %r14d
jae 0x4de4
movl $0x20, %edi
callq 0x4040
movzbl 0x10(%rsp), %esi
movq 0x10(%r13), %rdi
callq 0x50a6
movq 0x8(%rsp), %rbx
jmp 0x4e5d
movq 0x38(%r13), %rax
movq 0x50(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x12d7f(%rip), %rsi     # 0x17b81
testq %rax, %rax
je 0x4e0e
addq $0x18, %rax
movq %rax, %rsi
leaq 0x115de(%rip), %rdi     # 0x163f3
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
jns 0x4e39
movl $0x20, %edi
callq 0x4040
movzbl 0x20(%rsp), %esi
movq 0x10(%r13), %rdi
callq 0x50a6
btl $0x16, %r14d
movq 0x8(%rsp), %rbx
jae 0x4e5d
movl $0x20, %edi
callq 0x4040
movzbl 0x10(%rsp), %esi
movq 0x10(%r13), %rdi
callq 0x50a6
movl $0xa, %edi
callq 0x4040
incl %ebx
cmpl 0x34(%rsp), %ebx
jl 0x4a95
jmp 0x4ead
movl 0x30(%rsp), %esi
testl %esi, %esi
je 0x4e90
leaq 0x11584(%rip), %rdi     # 0x16408
xorl %eax, %eax
callq 0x4110
jmp 0x4de4
movslq %ebp, %rax
movq 0x38(%rsp), %rcx
movl (%rcx,%rax,4), %esi
leaq 0x11566(%rip), %rdi     # 0x16408
xorl %eax, %eax
callq 0x4110
movl %ebp, %ebx
jmp 0x4e5d
cmpl $0x0, 0x2c(%rsp)
je 0x4fd5
movl 0x54(%r13), %ebx
leaq 0x11587(%rip), %rdi     # 0x1644a
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
jle 0x4f0a
leaq 0x114f9(%rip), %r14     # 0x163d3
xorl %r15d, %r15d
leal 0x1(%r15), %ebp
movq %r14, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
movq 0x10(%r13), %rdi
movl %r15d, %esi
callq 0x50a6
movl $0xa, %edi
callq 0x4040
movl %ebp, %r15d
cmpl %ebp, %ebx
jne 0x4edd
movslq 0x64(%r13), %rbx
leaq 0x1154d(%rip), %rdi     # 0x16462
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testq %rbx, %rbx
jle 0x4f6a
movl $0xc, %r12d
leaq 0x11544(%rip), %r14     # 0x16477
xorl %r15d, %r15d
movq 0x30(%r13), %rax
movq -0xc(%rax,%r12), %rdx
addq $0x18, %rdx
movl -0x4(%rax,%r12), %ecx
incl %ecx
movl (%rax,%r12), %r8d
incl %r8d
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x4110
incq %r15
addq $0x10, %r12
cmpq %r15, %rbx
jne 0x4f36
movslq 0x50(%r13), %rbx
leaq 0x11510(%rip), %rdi     # 0x16485
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testq %rbx, %rbx
jle 0x4fd5
movl $0x9, %r12d
leaq 0x12bee(%rip), %rbp     # 0x17b81
leaq 0x114dd(%rip), %r14     # 0x16477
xorl %r15d, %r15d
movq 0x38(%r13), %rax
movq -0x9(%rax,%r12), %rcx
leaq 0x18(%rcx), %rdx
testq %rcx, %rcx
cmoveq %rbp, %rdx
movzbl -0x1(%rax,%r12), %ecx
movzbl (%rax,%r12), %r8d
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x4110
incq %r15
addq $0x10, %r12
cmpq %r15, %rbx
jne 0x4f9d
movq 0x48(%rsp), %r14
testl %r14d, %r14d
movl 0x2c(%rsp), %ebp
jle 0x4ffc
xorl %ebx, %ebx
movq 0x20(%r13), %rax
movq (%rax,%rbx,8), %rdi
movl %ebp, %esi
callq 0x4938
incq %rbx
cmpq %rbx, %r14
jne 0x4fe5
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq