// File: /workspace/github_c_makefile_star2_O1/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, %ebp
movq %rdi, %r13
movq 0x48(%rdi), %rax
leaq 0x18(%rax), %rcx
testq %rax, %rax
leaq 0x11929(%rip), %rdx     # 0x16321
cmovneq %rcx, %rdx
movzbl (%rdx), %eax
cmpl $0x1b, %eax
je 0x4a13
cmpl $0x40, %eax
je 0x4a0e
cmpl $0x3d, %eax
jne 0x4a1c
incq %rdx
jmp 0x4a23
leaq 0x1190a(%rip), %rdx     # 0x16324
jmp 0x4a23
leaq 0x1190b(%rip), %rdx     # 0x1632e
movl 0x60(%r13), %eax
movq %rax, 0x50(%rsp)
movl 0x68(%r13), %ecx
testl %ecx, %ecx
leaq 0x11927(%rip), %rax     # 0x16360
leaq 0x1264b(%rip), %rsi     # 0x1708b
cmoveq %rax, %rsi
movl 0x58(%r13), %r9d
movl 0x6c(%r13), %r8d
cmpl $0x1, %r9d
leaq 0x11971(%rip), %r14     # 0x163c8
leaq 0x11fa6(%rip), %rbx     # 0x16a04
movq %rbx, %r10
cmoveq %r14, %r10
leaq 0x118cb(%rip), %rdi     # 0x16337
xorl %eax, %eax
pushq %r13
pushq %r10
callq 0x4110
addq $0x10, %rsp
movzbl 0x78(%r13), %esi
cmpb $0x0, 0x79(%r13)
leaq 0x11901(%rip), %rdx     # 0x1638d
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 0x118a5(%rip), %rdi     # 0x16365
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 0x1188d(%rip), %rdi     # 0x1638f
xorl %eax, %eax
pushq %rbx
callq 0x4110
addq $0x10, %rsp
movl 0x58(%r13), %eax
movl %eax, 0x3c(%rsp)
testl %eax, %eax
movl %ebp, 0x4(%rsp)
jle 0x4f72
movq 0x18(%r13), %rax
movq %rax, 0x40(%rsp)
xorl %ebx, %ebx
movq %r13, 0x10(%rsp)
movslq %ebx, %rbp
movq 0x28(%r13), %rax
testq %rax, %rax
movq %rbx, 0x8(%rsp)
je 0x4b48
movl (%rax,%rbp,4), %ebx
jmp 0x4b4a
xorl %ebx, %ebx
movq 0x40(%rsp), %rax
movl (%rax,%rbp,4), %r14d
incl %ebp
leaq 0x1185d(%rip), %rdi     # 0x163b9
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
jle 0x4b7b
leaq 0x1184e(%rip), %rdi     # 0x163be
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
jmp 0x4b89
leaq 0x11842(%rip), %rdi     # 0x163c4
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, 0x2c(%rsp)
movq %rax, 0x18(%rsp)
addl $0xfffe0001, %eax       # imm = 0xFFFE0001
movq %rax, 0x48(%rsp)
leaq 0x19f42(%rip), %rax     # 0x1eb10
movq (%rax,%r12,8), %rsi
leaq 0x117f0(%rip), %rdi     # 0x163c9
xorl %eax, %eax
callq 0x4110
leaq 0x12309(%rip), %rax     # 0x16ef0
movzbl (%r12,%rax), %r13d
movl %r13d, %eax
andl $0x3, %eax
leaq 0x1140b(%rip), %rcx     # 0x16004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x117e8(%rip), %rdi     # 0x163f1
movq %rbx, 0x30(%rsp)
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
testb $0x30, %r13b
je 0x4c40
movq 0x20(%rsp), %rax
movl %eax, %esi
notl %esi
orl $0xffffff00, %esi       # imm = 0xFFFFFF00
testl %r14d, %r14d
cmovnsl %eax, %esi
leaq 0x117b7(%rip), %rdi     # 0x163f0
xorl %eax, %eax
callq 0x4110
testb $0xc, %r13b
movq 0x30(%rsp), %rbx
je 0x4cd4
movq 0x18(%rsp), %rax
movl %eax, %esi
notl %esi
orl $0xffffff00, %esi       # imm = 0xFFFFFF00
btl $0x16, %r14d
cmovael 0x2c(%rsp), %esi
jmp 0x4cc6
leaq 0x1175e(%rip), %rdi     # 0x163cf
movl %ebx, %esi
movq 0x48(%rsp), %rdx
xorl %eax, %eax
callq 0x4110
jmp 0x4cd4
movl %r15d, %esi
notl %esi
leaq 0x11764(%rip), %rdi     # 0x163f1
jmp 0x4ccd
leaq 0x1175b(%rip), %rdi     # 0x163f1
movq %rbx, 0x30(%rsp)
movl %ebx, %esi
xorl %eax, %eax
callq 0x4110
andl $0x30, %r13d
cmpl $0x10, %r13d
je 0x4ddf
cmpl $0x30, %r13d
movq 0x30(%rsp), %rbx
jne 0x4cd4
movq 0x18(%rsp), %rax
movl %eax, %esi
notl %esi
leaq 0x11723(%rip), %rdi     # 0x163f0
xorl %eax, %eax
callq 0x4110
decl %r12d
cmpl $0x26, %r12d
ja 0x4f0b
leaq 0x1132c(%rip), %rcx     # 0x16014
movslq (%rcx,%r12,4), %rax
addq %rcx, %rax
jmpq *%rax
testl $0x80400000, %r14d      # imm = 0x80400000
movq 0x10(%rsp), %r13
je 0x4e59
leaq 0x116cb(%rip), %rdi     # 0x163d5
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
movl 0x4(%rsp), %ebp
js 0x4d52
movl $0x2d, %edi
callq 0x4040
jmp 0x4d5f
movq 0x8(%rsp), %rbx
movq 0x48(%rsp), %rax
leal (%rbx,%rax), %esi
addl $0x2, %esi
leaq 0x116a2(%rip), %rdi     # 0x163df
xorl %eax, %eax
callq 0x4110
movl 0x4(%rsp), %ebp
movq 0x10(%rsp), %r13
jmp 0x4f19
movzbl 0x20(%rsp), %esi
movq %r13, %rdi
callq 0x5167
movl $0x20, %edi
callq 0x4040
btl $0x16, %r14d
jb 0x4efc
movl $0x2d, %edi
callq 0x4040
jmp 0x4f14
btl $0x16, %r14d
movq 0x10(%rsp), %r13
jae 0x4e59
leaq 0x1163b(%rip), %rdi     # 0x163d5
xorl %eax, %eax
callq 0x4110
movzbl 0x18(%rsp), %esi
movq %r13, %rdi
jmp 0x4e54
movq 0x10(%rsp), %r13
movq 0x38(%r13), %rax
movq 0x20(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x12d77(%rip), %rsi     # 0x17b41
testq %rax, %rax
je 0x4dd6
addq $0x18, %rax
movq %rax, %rsi
leaq 0x115fc(%rip), %rdi     # 0x163d9
jmp 0x4e15
leaq 0x1160a(%rip), %rdi     # 0x163f0
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x4110
movq 0x30(%rsp), %rbx
jmp 0x4cd4
movq 0x10(%rsp), %r13
movq 0x20(%r13), %rax
movq 0x18(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x115d3(%rip), %rdi     # 0x163e8
xorl %eax, %eax
callq 0x4110
jmp 0x4e59
leaq 0x115b0(%rip), %rdi     # 0x163d5
xorl %eax, %eax
callq 0x4110
movq 0x10(%rsp), %r13
movq %r13, %rdi
movl %r15d, %esi
jmp 0x4e54
leaq 0x11595(%rip), %rdi     # 0x163d5
xorl %eax, %eax
callq 0x4110
movq 0x10(%rsp), %r13
movq %r13, %rdi
movq 0x18(%rsp), %rsi
callq 0x5167
movl 0x4(%rsp), %ebp
jmp 0x4f14
movq 0x10(%rsp), %r13
movq 0x38(%r13), %rax
movq 0x20(%rsp), %rcx
shll $0x4, %ecx
movq (%rax,%rcx), %rax
leaq 0x12cc3(%rip), %rsi     # 0x17b41
testq %rax, %rax
je 0x4e8a
addq $0x18, %rax
movq %rax, %rsi
leaq 0x11548(%rip), %rdi     # 0x163d9
xorl %eax, %eax
callq 0x4110
jmp 0x4ee7
movq 0x10(%rsp), %r13
movq 0x38(%r13), %rax
shll $0x4, %ebx
movq (%rax,%rbx), %rax
leaq 0x12c90(%rip), %rsi     # 0x17b41
testq %rax, %rax
je 0x4ebd
addq $0x18, %rax
movq %rax, %rsi
leaq 0x11515(%rip), %rdi     # 0x163d9
xorl %eax, %eax
callq 0x4110
testl %r14d, %r14d
jns 0x4ee7
movl $0x20, %edi
callq 0x4040
movzbl 0x20(%rsp), %esi
movq %r13, %rdi
callq 0x5167
btl $0x16, %r14d
movl 0x4(%rsp), %ebp
jae 0x4f14
movl $0x20, %edi
callq 0x4040
movzbl 0x18(%rsp), %esi
movq %r13, %rdi
callq 0x5167
jmp 0x4f14
movl 0x4(%rsp), %ebp
movq 0x10(%rsp), %r13
movq 0x8(%rsp), %rbx
movl $0xa, %edi
callq 0x4040
incl %ebx
cmpl 0x3c(%rsp), %ebx
jl 0x4b32
jmp 0x4f72
movl 0x2c(%rsp), %esi
testl %esi, %esi
movq 0x10(%rsp), %r13
je 0x4f51
leaq 0x114a9(%rip), %rdi     # 0x163ee
xorl %eax, %eax
callq 0x4110
jmp 0x4e59
movslq %ebp, %rax
movq 0x40(%rsp), %rcx
movl (%rcx,%rax,4), %esi
leaq 0x1148b(%rip), %rdi     # 0x163ee
xorl %eax, %eax
callq 0x4110
movl %ebp, %ebx
movl 0x4(%rsp), %ebp
jmp 0x4f19
testl %ebp, %ebp
je 0x509a
movl 0x54(%r13), %ebx
leaq 0x114ab(%rip), %rdi     # 0x16430
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testl %ebx, %ebx
jle 0x4fcb
leaq 0x1141d(%rip), %r14     # 0x163b9
xorl %r15d, %r15d
leal 0x1(%r15), %ebp
movq %r14, %rdi
movl %ebp, %esi
xorl %eax, %eax
callq 0x4110
movq %r13, %rdi
movl %r15d, %esi
callq 0x5167
movl $0xa, %edi
callq 0x4040
movl %ebp, %r15d
cmpl %ebp, %ebx
jne 0x4f9f
movslq 0x64(%r13), %rbx
leaq 0x11472(%rip), %rdi     # 0x16448
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testq %rbx, %rbx
jle 0x502b
movl $0xc, %r12d
leaq 0x11469(%rip), %r14     # 0x1645d
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 0x4ff7
movslq 0x50(%r13), %rbx
leaq 0x11435(%rip), %rdi     # 0x1646b
movl %ebx, %esi
movq %r13, %rdx
xorl %eax, %eax
callq 0x4110
testq %rbx, %rbx
movl 0x4(%rsp), %ebp
jle 0x509a
movl $0x9, %r12d
leaq 0x11405(%rip), %r14     # 0x1645d
xorl %r15d, %r15d
movq 0x38(%r13), %rax
movq -0x9(%rax,%r12), %rcx
leaq 0x18(%rcx), %rdx
testq %rcx, %rcx
leaq 0x12acf(%rip), %rcx     # 0x17b41
cmoveq %rcx, %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 0x505b
movq 0x50(%rsp), %r14
testl %r14d, %r14d
jle 0x50bd
xorl %ebx, %ebx
movq 0x20(%r13), %rax
movq (%rax,%rbx,8), %rdi
movl %ebp, %esi
callq 0x49d3
incq %rbx
cmpq %rbx, %r14
jne 0x50a6
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq