// File: /workspace/github_c_makefile_star2_O0/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/luac.c
// Function: PrintHeader
static void PrintHeader(const Proto* f)
{
 const char* s=f->source ? getstr(f->source) : "=?";
 if (*s=='@' || *s=='=')
  s++;
 else if (*s==LUA_SIGNATURE[0])
  s="(bstring)";
 else
  s="(string)";
 printf("\n%s <%s:%d,%d> (%d instruction%s at %p)\n",
 	(f->linedefined==0)?"main":"function",s,
	f->linedefined,f->lastlinedefined,
	S(f->sizecode),VOID(f));
 printf("%d%s param%s, %d slot%s, %d upvalue%s, ",
	(int)(f->numparams),f->is_vararg?"+":"",SS(f->numparams),
	S(f->maxstacksize),S(f->sizeupvalues));
 printf("%d local%s, %d constant%s, %d function%s\n",
	S(f->sizelocvars),S(f->sizek),S(f->sizep));
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
cmpq $0x0, 0x48(%rax)
je 0x4d39
movq 0x20(%rsp), %rax
movq 0x48(%rax), %rax
addq $0x18, %rax
movq %rax, 0x10(%rsp)
jmp 0x4d47
leaq 0x2171d(%rip), %rax     # 0x2645d
movq %rax, 0x10(%rsp)
jmp 0x4d47
movq 0x10(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x40, %eax
je 0x4d6b
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3d, %eax
jne 0x4d7b
movq 0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x18(%rsp)
jmp 0x4daa
movq 0x18(%rsp), %rax
movsbl (%rax), %eax
movsbl 0x216d6(%rip), %ecx     # 0x26460
cmpl %ecx, %eax
jne 0x4d9c
leaq 0x216d0(%rip), %rax     # 0x26465
movq %rax, 0x18(%rsp)
jmp 0x4da8
leaq 0x216cc(%rip), %rax     # 0x2646f
movq %rax, 0x18(%rsp)
jmp 0x4daa
movq 0x20(%rsp), %rax
movl 0x68(%rax), %ecx
leaq 0x22534(%rip), %rsi     # 0x272ed
leaq 0x216e1(%rip), %rax     # 0x264a1
cmpl $0x0, %ecx
cmoveq %rax, %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rax
movl 0x68(%rax), %ecx
movq 0x20(%rsp), %rax
movl 0x6c(%rax), %r8d
movq 0x20(%rsp), %rax
movl 0x58(%rax), %r9d
movq 0x20(%rsp), %rax
movl 0x58(%rax), %edi
leaq 0x21ea7(%rip), %r10     # 0x26c9c
leaq 0x2170d(%rip), %rax     # 0x26509
cmpl $0x1, %edi
cmoveq %rax, %r10
movq 0x20(%rsp), %rax
leaq 0x21669(%rip), %rdi     # 0x26478
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x40f0
movq 0x20(%rsp), %rax
movzbl 0x78(%rax), %esi
movq 0x20(%rsp), %rax
movzbl 0x79(%rax), %ecx
leaq 0x216d1(%rip), %rdx     # 0x26509
leaq 0x2168f(%rip), %rax     # 0x264ce
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq 0x20(%rsp), %rax
movzbl 0x78(%rax), %edi
leaq 0x21e46(%rip), %rcx     # 0x26c9c
leaq 0x216ac(%rip), %rax     # 0x26509
cmpl $0x1, %edi
cmoveq %rax, %rcx
movq 0x20(%rsp), %rax
movzbl 0x7a(%rax), %r8d
movq 0x20(%rsp), %rax
movzbl 0x7a(%rax), %edi
leaq 0x21e1e(%rip), %r9      # 0x26c9c
leaq 0x21684(%rip), %rax     # 0x26509
cmpl $0x1, %edi
cmoveq %rax, %r9
movq 0x20(%rsp), %rax
movl 0x50(%rax), %r10d
movq 0x20(%rsp), %rax
movl 0x50(%rax), %r11d
leaq 0x21df7(%rip), %rax     # 0x26c9c
leaq 0x2165d(%rip), %rdi     # 0x26509
cmpl $0x1, %r11d
cmoveq %rdi, %rax
leaq 0x215eb(%rip), %rdi     # 0x264a6
movl %r10d, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x40f0
movq 0x20(%rsp), %rax
movl 0x64(%rax), %esi
movq 0x20(%rsp), %rax
movl 0x64(%rax), %ecx
leaq 0x21dba(%rip), %rdx     # 0x26c9c
leaq 0x21620(%rip), %rax     # 0x26509
cmpl $0x1, %ecx
cmoveq %rax, %rdx
movq 0x20(%rsp), %rax
movl 0x54(%rax), %ecx
movq 0x20(%rsp), %rax
movl 0x54(%rax), %edi
leaq 0x21d95(%rip), %r8      # 0x26c9c
leaq 0x215fb(%rip), %rax     # 0x26509
cmpl $0x1, %edi
cmoveq %rax, %r8
movq 0x20(%rsp), %rax
movl 0x60(%rax), %r9d
movq 0x20(%rsp), %rax
movl 0x60(%rax), %r10d
leaq 0x21d6e(%rip), %rax     # 0x26c9c
leaq 0x215d4(%rip), %rdi     # 0x26509
cmpl $0x1, %r10d
cmoveq %rdi, %rax
leaq 0x2158c(%rip), %rdi     # 0x264d0
movq %rax, (%rsp)
movb $0x0, %al
callq 0x40f0
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)