// File: /workspace/github_c_makefile_star2_O0/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/luac.c
// Function: PrintDebug
static void PrintDebug(const Proto* f)
{
 int i,n;
 n=f->sizek;
 printf("constants (%d) for %p:\n",n,VOID(f));
 for (i=0; i<n; i++)
 {
  printf("\t%d\t",i+1);
  PrintConstant(f,i);
  printf("\n");
 }
 n=f->sizelocvars;
 printf("locals (%d) for %p:\n",n,VOID(f));
 for (i=0; i<n; i++)
 {
  printf("\t%d\t%s\t%d\t%d\n",
  i,getstr(f->locvars[i].varname),f->locvars[i].startpc+1,f->locvars[i].endpc+1);
 }
 n=f->sizeupvalues;
 printf("upvalues (%d) for %p:\n",n,VOID(f));
 for (i=0; i<n; i++)
 {
  printf("\t%d\t%s\t%d\t%d\n",
  i,UPVALNAME(i),f->upvalues[i].instack,f->upvalues[i].idx);
 }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movl 0x54(%rax), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %esi
movq 0x20(%rsp), %rdx
leaq 0x20f4f(%rip), %rdi     # 0x26574
movb $0x0, %al
callq 0x40f0
movl $0x0, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jge 0x567c
movl 0x1c(%rsp), %esi
addl $0x1, %esi
leaq 0x20eae(%rip), %rdi     # 0x264fa
movb $0x0, %al
callq 0x40f0
movq 0x20(%rsp), %rdi
movl 0x1c(%rsp), %esi
callq 0x5810
leaq 0x2202b(%rip), %rdi     # 0x27693
movb $0x0, %al
callq 0x40f0
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x5634
movq 0x20(%rsp), %rax
movl 0x64(%rax), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %esi
movq 0x20(%rsp), %rdx
leaq 0x20ef4(%rip), %rdi     # 0x2658c
movb $0x0, %al
callq 0x40f0
movl $0x0, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jge 0x5724
movl 0x1c(%rsp), %esi
movq 0x20(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
addq $0x18, %rdx
movq 0x20(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movq 0x20(%rsp), %rax
movq 0x30(%rax), %rax
movslq 0x1c(%rsp), %rdi
shlq $0x4, %rdi
addq %rdi, %rax
movl 0xc(%rax), %r8d
addl $0x1, %r8d
leaq 0x20e91(%rip), %rdi     # 0x265a1
movb $0x0, %al
callq 0x40f0
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x56a7
movq 0x20(%rsp), %rax
movl 0x50(%rax), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %esi
movq 0x20(%rsp), %rdx
leaq 0x20e6f(%rip), %rdi     # 0x265af
movb $0x0, %al
callq 0x40f0
movl $0x0, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jge 0x580b
movl 0x1c(%rsp), %eax
movl %eax, 0x14(%rsp)
movq 0x20(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
je 0x57a3
movq 0x20(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
addq $0x18, %rax
movq %rax, 0x8(%rsp)
jmp 0x57b1
leaq 0x2293b(%rip), %rax     # 0x280e5
movq %rax, 0x8(%rsp)
jmp 0x57b1
movl 0x14(%rsp), %esi
movq 0x8(%rsp), %rdx
movq 0x20(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movzbl 0x8(%rax), %ecx
movq 0x20(%rsp), %rax
movq 0x38(%rax), %rax
movslq 0x1c(%rsp), %rdi
shlq $0x4, %rdi
addq %rdi, %rax
movzbl 0x9(%rax), %r8d
leaq 0x20dad(%rip), %rdi     # 0x265a1
movb $0x0, %al
callq 0x40f0
movl 0x1c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c(%rsp)
jmp 0x574f
addq $0x28, %rsp
retq