// File: /workspace/github_c_makefile_star2_O2/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
movl %esi, 0x18(%rsp)
movq %rdi, %rbp
movq 0x48(%rdi), %rax
leaq 0x18(%rax), %rcx
testq %rax, %rax
leaq 0x10b0d(%rip), %rdx     # 0x1533b
cmovneq %rcx, %rdx
movzbl (%rdx), %eax
cmpl $0x1b, %eax
je 0x4849
cmpl $0x40, %eax
je 0x4844
cmpl $0x3d, %eax
jne 0x4852
incq %rdx
jmp 0x4859
leaq 0x10aee(%rip), %rdx     # 0x1533e
jmp 0x4859
leaq 0x10aef(%rip), %rdx     # 0x15348
movl 0x60(%rbp), %eax
movq %rax, 0x50(%rsp)
movl 0x68(%rbp), %ecx
testl %ecx, %ecx
leaq 0x10b0d(%rip), %rax     # 0x1537a
leaq 0x11817(%rip), %rsi     # 0x1608b
cmoveq %rax, %rsi
movl 0x58(%rbp), %r9d
movl 0x6c(%rbp), %r8d
cmpl $0x1, %r9d
leaq 0x10b57(%rip), %r14     # 0x153e2
leaq 0x11192(%rip), %rbx     # 0x15a24
movq %rbx, %r10
cmoveq %r14, %r10
leaq 0x10ab1(%rip), %rdi     # 0x15351
xorl %eax, %eax
pushq %rbp
pushq %r10
callq 0x4110
popq %rcx
popq %rdx
movzbl 0x78(%rbp), %esi
cmpb $0x0, 0x79(%rbp)
leaq 0x10aec(%rip), %rdx     # 0x153a7
cmoveq %r14, %rdx
cmpl $0x1, %esi
movq %rbx, %rcx
cmoveq %r14, %rcx
movzbl 0x7a(%rbp), %r8d
cmpl $0x1, %r8d
movq %rbx, %r9
cmoveq %r14, %r9
movl 0x50(%rbp), %r10d
cmpl $0x1, %r10d
movq %rbx, %r11
cmoveq %r14, %r11
leaq 0x10a90(%rip), %rdi     # 0x1537f
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x4110
popq %rcx
popq %rdx
movl 0x64(%rbp), %esi
cmpl $0x1, %esi
movq %rbx, %rdx
cmoveq %r14, %rdx
movl 0x54(%rbp), %ecx
cmpl $0x1, %ecx
movq %rbx, %r8
cmoveq %r14, %r8
movl 0x60(%rbp), %r9d
cmpl $0x1, %r9d
cmoveq %r14, %rbx
subq $0x8, %rsp
leaq 0x10a7c(%rip), %rdi     # 0x153a9
xorl %eax, %eax
pushq %rbx
callq 0x4110
addq $0x10, %rsp
movq 0x18(%rbp), %rax
movq %rax, 0x38(%rsp)
movl 0x58(%rbp), %eax
movl %eax, 0x34(%rsp)
xorl %edx, %edx
movq %rbp, 0x28(%rsp)
cmpl 0x34(%rsp), %edx
jge 0x4d2b
movslq %edx, %rax
movq 0x28(%rbp), %rcx
testq %rcx, %rcx
je 0x496b
movl (%rcx,%rax,4), %ebx
jmp 0x496d
xorl %ebx, %ebx
movq 0x38(%rsp), %rcx
movl (%rcx,%rax,4), %r14d
movq %rdx, 0x40(%rsp)
leal 0x1(%rdx), %esi
leaq 0x10a4e(%rip), %rdi     # 0x153d3
movl %esi, 0x4(%rsp)
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
jle 0x49a6
leaq 0x10a3d(%rip), %rdi     # 0x153d8
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
jmp 0x49b4
leaq 0x10a31(%rip), %rdi     # 0x153de
xorl %eax, %eax
callq 0x4110
movl %r14d, %r15d
andl $0x3f, %r15d
movl %r14d, %r13d
shrl $0x6, %r13d
movzbl %r13b, %r12d
movl %r14d, %eax
shrl $0x17, %eax
movq %rax, 0x10(%rsp)
movl %r14d, %ebp
shrl $0xe, %ebp
movl %ebp, %eax
andl $0x1ff, %eax            # imm = 0x1FF
movl %eax, 0x1c(%rsp)
leal -0x1ffff(%rbp), %eax
movq %rax, 0x48(%rsp)
leaq 0x1a11c(%rip), %rax     # 0x1eb10
movq (%rax,%r15,8), %rsi
leaq 0x109e4(%rip), %rdi     # 0x153e3
xorl %eax, %eax
callq 0x4110
leaq 0x114c3(%rip), %rax     # 0x15ed0
movzbl (%r15,%rax), %ebx
movl %ebx, %eax
andl $0x3, %eax
leaq 0x10612(%rip), %rcx     # 0x15030
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rbp, 0x8(%rsp)
notl %ebp
jmpq *%rax
leaq 0x109d6(%rip), %rdi     # 0x1540b
movq %r12, 0x20(%rsp)
movl %r12d, %esi
xorl %eax, %eax
callq 0x4110
testb $0x30, %bl
je 0x4a6c
movq 0x10(%rsp), %rax
movl %eax, %esi
notl %esi
orl $0xffffff00, %esi       # imm = 0xFFFFFF00
testl %r14d, %r14d
cmovnsl %eax, %esi
leaq 0x109a5(%rip), %rdi     # 0x1540a
xorl %eax, %eax
callq 0x4110
testb $0xc, %bl
movq 0x20(%rsp), %r12
je 0x4aea
orl $0xffffff00, %ebp       # imm = 0xFFFFFF00
btl $0x16, %r14d
cmovael 0x1c(%rsp), %ebp
jmp 0x4ada
leaq 0x1095a(%rip), %rdi     # 0x153e9
movl %r12d, %esi
movq 0x48(%rsp), %rdx
xorl %eax, %eax
callq 0x4110
jmp 0x4aea
movl %r13d, %esi
notl %esi
leaq 0x1095f(%rip), %rdi     # 0x1540b
jmp 0x4ae3
leaq 0x10956(%rip), %rdi     # 0x1540b
movq %r12, 0x20(%rsp)
movl %r12d, %esi
xorl %eax, %eax
callq 0x4110
andl $0x30, %ebx
cmpl $0x10, %ebx
je 0x4bd0
cmpl $0x30, %ebx
movq 0x20(%rsp), %r12
jne 0x4aea
leaq 0x10929(%rip), %rdi     # 0x1540a
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
decl %r15d
cmpl $0x26, %r15d
ja 0x4cfd
leaq 0x10542(%rip), %rcx     # 0x15040
movslq (%rcx,%r15,4), %rax
addq %rcx, %rax
movq 0x28(%rsp), %rbp
jmpq *%rax
testl $0x80400000, %r14d      # imm = 0x80400000
je 0x4cd6
leaq 0x108cf(%rip), %rdi     # 0x153ef
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
js 0x4b59
pushq $0x2d
popq %rdi
callq 0x4040
jmp 0x4b66
movq 0x40(%rsp), %rax
movq 0x48(%rsp), %rcx
leal (%rax,%rcx), %esi
addl $0x2, %esi
leaq 0x108ac(%rip), %rdi     # 0x153f9
xorl %eax, %eax
callq 0x4110
jmp 0x4cd6
movzbl 0x10(%rsp), %esi
movq %rbp, %rdi
callq 0x4f32
pushq $0x20
popq %rdi
callq 0x4040
btl $0x16, %r14d
jb 0x4cc9
pushq $0x2d
popq %rdi
callq 0x4040
jmp 0x4cd6
btl $0x16, %r14d
jae 0x4cd6
leaq 0x10857(%rip), %rdi     # 0x153ef
xorl %eax, %eax
callq 0x4110
jmp 0x4cc9
movq 0x38(%rbp), %rax
movq 0x10(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x11f96(%rip), %rsi     # 0x16b51
testq %rax, %rax
je 0x4bc7
addq $0x18, %rax
movq %rax, %rsi
leaq 0x10825(%rip), %rdi     # 0x153f3
jmp 0x4c01
leaq 0x10833(%rip), %rdi     # 0x1540a
movq 0x8(%rsp), %rsi
xorl %eax, %eax
callq 0x4110
movq 0x20(%rsp), %r12
jmp 0x4aea
movq 0x20(%rbp), %rax
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x10801(%rip), %rdi     # 0x15402
xorl %eax, %eax
callq 0x4110
jmp 0x4cd6
leaq 0x107db(%rip), %rdi     # 0x153ef
xorl %eax, %eax
callq 0x4110
movq %rbp, %rdi
movl %r13d, %esi
jmp 0x4cd1
leaq 0x107c2(%rip), %rdi     # 0x153ef
xorl %eax, %eax
callq 0x4110
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
jmp 0x4cd1
movq 0x38(%rbp), %rax
movq 0x10(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x18(%rax), %rsi
testq %rax, %rax
leaq 0x11ef2(%rip), %rax     # 0x16b51
cmoveq %rax, %rsi
leaq 0x10789(%rip), %rdi     # 0x153f3
xorl %eax, %eax
callq 0x4110
jmp 0x4cba
movq 0x38(%rbp), %rax
shll $0x4, %r12d
movq (%rax,%r12), %rax
leaq 0x11ecb(%rip), %rsi     # 0x16b51
testq %rax, %rax
je 0x4c92
addq $0x18, %rax
movq %rax, %rsi
leaq 0x1075a(%rip), %rdi     # 0x153f3
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
jns 0x4cba
pushq $0x20
popq %rdi
callq 0x4040
movzbl 0x10(%rsp), %esi
movq %rbp, %rdi
callq 0x4f32
btl $0x16, %r14d
jae 0x4cd6
pushq $0x20
popq %rdi
callq 0x4040
movzbl 0x8(%rsp), %esi
movq %rbp, %rdi
callq 0x4f32
movl 0x4(%rsp), %ebx
pushq $0xa
popq %rdi
callq 0x4040
movl %ebx, %edx
jmp 0x4950
movl 0x1c(%rsp), %esi
testl %esi, %esi
je 0x4d04
leaq 0x10710(%rip), %rdi     # 0x15408
jmp 0x4b4d
movq 0x28(%rsp), %rbp
jmp 0x4cd6
movslq 0x4(%rsp), %rax
movq 0x38(%rsp), %rcx
movl (%rcx,%rax,4), %esi
leaq 0x106f0(%rip), %rdi     # 0x15408
xorl %eax, %eax
callq 0x4110
movq 0x40(%rsp), %rax
addl $0x2, %eax
movl %eax, %ebx
jmp 0x4cda
cmpl $0x0, 0x18(%rsp)
je 0x4e65
movl 0x54(%rbp), %ebx
leaq 0x1070a(%rip), %rdi     # 0x1544a
movq %rbp, %rdx
xorl %ebp, %ebp
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
cmovlel %ebp, %ebx
leaq 0x10679(%rip), %r14     # 0x153d3
pushq $0xa
popq %rbp
xorl %r15d, %r15d
subl $0x1, %ebx
jb 0x4d8f
leal 0x1(%r15), %r12d
movq %r14, %rdi
movl %r12d, %esi
xorl %eax, %eax
callq 0x4110
movq 0x28(%rsp), %rdi
movl %r15d, %esi
callq 0x4f32
movl %ebp, %edi
callq 0x4040
movl %r12d, %r15d
jmp 0x4d60
movq 0x28(%rsp), %rbp
movl 0x64(%rbp), %ebx
leaq 0x106c4(%rip), %rdi     # 0x15462
xorl %r14d, %r14d
movl %ebx, %esi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
cmovlel %r14d, %ebx
pushq $0xc
popq %r12
leaq 0x106b9(%rip), %r14     # 0x15477
xorl %r15d, %r15d
cmpq %r15, %rbx
je 0x4df7
movq 0x30(%rbp), %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
jmp 0x4dc1
movl 0x50(%rbp), %ebx
leaq 0x10684(%rip), %rdi     # 0x15485
xorl %r14d, %r14d
movl %ebx, %esi
movq %rbp, %rdx
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
cmovlel %r14d, %ebx
pushq $0x9
popq %r12
leaq 0x11d30(%rip), %r13     # 0x16b51
leaq 0x1064f(%rip), %r14     # 0x15477
xorl %r15d, %r15d
cmpq %r15, %rbx
je 0x4e65
movq 0x38(%rbp), %rax
movq -0x9(%rax,%r12), %rcx
leaq 0x18(%rcx), %rdx
testq %rcx, %rcx
cmoveq %r13, %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
jmp 0x4e2b
xorl %ebx, %ebx
movq 0x50(%rsp), %r14
testl %r14d, %r14d
cmovlel %ebx, %r14d
cmpq %rbx, %r14
je 0x4e8e
movq 0x20(%rbp), %rax
movq (%rax,%rbx,8), %rdi
movl 0x18(%rsp), %esi
callq 0x4807
incq %rbx
jmp 0x4e73
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq