// File: /workspace/github_c_makefile_star2_O0/zhou-yuxin[P]redis-aof-no-cow/deps/lua/src/print.c
// Function: PrintHeader
static void PrintHeader(const Proto* f)
{
 const char* s=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, %d bytes at %p)\n",
 	(f->linedefined==0)?"main":"function",s,
	f->linedefined,f->lastlinedefined,
	S(f->sizecode),f->sizecode*Sizeof(Instruction),VOID(f));
 printf("%d%s param%s, %d slot%s, %d upvalue%s, ",
	f->numparams,f->is_vararg?"+":"",SS(f->numparams),
	S(f->maxstacksize),S(f->nups));
 printf("%d local%s, %d constant%s, %d function%s\n",
	S(f->sizelocvars),S(f->sizek),S(f->sizep));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
addq $0x18, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x40, %eax
je 0x2d74
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x3d, %eax
jne 0x2d82
movq -0x10(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x2dae
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
movsbl 0x1b67c(%rip), %ecx     # 0x1e40c
cmpl %ecx, %eax
jne 0x2da1
leaq 0x1b676(%rip), %rax     # 0x1e411
movq %rax, -0x10(%rbp)
jmp 0x2dac
leaq 0x1b673(%rip), %rax     # 0x1e41b
movq %rax, -0x10(%rbp)
jmp 0x2dae
movq -0x8(%rbp), %rax
movl 0x60(%rax), %ecx
leaq 0x1bfad(%rip), %rsi     # 0x1ed69
leaq 0x1b694(%rip), %rax     # 0x1e457
cmpl $0x0, %ecx
cmoveq %rax, %rsi
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rax
movl 0x60(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x64(%rax), %r8d
movq -0x8(%rbp), %rax
movl 0x50(%rax), %r9d
movq -0x8(%rbp), %rax
movl 0x50(%rax), %edi
leaq 0x1bb02(%rip), %r11     # 0x1e8f5
leaq 0x1b6c5(%rip), %rax     # 0x1e4bf
cmpl $0x1, %edi
cmoveq %rax, %r11
movq -0x8(%rbp), %rax
movl 0x50(%rax), %r10d
shll $0x2, %r10d
movq -0x8(%rbp), %rax
leaq 0x1b60c(%rip), %rdi     # 0x1e424
movq %r11, (%rsp)
movl %r10d, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movb $0x0, %al
callq 0x2100
movq -0x8(%rbp), %rax
movzbl 0x71(%rax), %esi
movq -0x8(%rbp), %rax
movzbl 0x72(%rax), %ecx
leaq 0x1b67b(%rip), %rdx     # 0x1e4bf
leaq 0x1b639(%rip), %rax     # 0x1e484
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x8(%rbp), %rax
movzbl 0x71(%rax), %edi
leaq 0x1ba94(%rip), %rcx     # 0x1e8f5
leaq 0x1b657(%rip), %rax     # 0x1e4bf
cmpl $0x1, %edi
cmoveq %rax, %rcx
movq -0x8(%rbp), %rax
movzbl 0x73(%rax), %r8d
movq -0x8(%rbp), %rax
movzbl 0x73(%rax), %edi
leaq 0x1ba6e(%rip), %r9      # 0x1e8f5
leaq 0x1b631(%rip), %rax     # 0x1e4bf
cmpl $0x1, %edi
cmoveq %rax, %r9
movq -0x8(%rbp), %rax
movzbl 0x70(%rax), %r10d
movq -0x8(%rbp), %rax
movzbl 0x70(%rax), %r11d
leaq 0x1ba47(%rip), %rax     # 0x1e8f5
leaq 0x1b60a(%rip), %rdi     # 0x1e4bf
cmpl $0x1, %r11d
cmoveq %rdi, %rax
leaq 0x1b598(%rip), %rdi     # 0x1e45c
movl %r10d, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x2100
movq -0x8(%rbp), %rax
movl 0x5c(%rax), %esi
movq -0x8(%rbp), %rax
movl 0x5c(%rax), %ecx
leaq 0x1ba0c(%rip), %rdx     # 0x1e8f5
leaq 0x1b5cf(%rip), %rax     # 0x1e4bf
cmpl $0x1, %ecx
cmoveq %rax, %rdx
movq -0x8(%rbp), %rax
movl 0x4c(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x4c(%rax), %edi
leaq 0x1b9e9(%rip), %r8      # 0x1e8f5
leaq 0x1b5ac(%rip), %rax     # 0x1e4bf
cmpl $0x1, %edi
cmoveq %rax, %r8
movq -0x8(%rbp), %rax
movl 0x58(%rax), %r9d
movq -0x8(%rbp), %rax
movl 0x58(%rax), %r10d
leaq 0x1b9c4(%rip), %rax     # 0x1e8f5
leaq 0x1b587(%rip), %rdi     # 0x1e4bf
cmpl $0x1, %r10d
cmoveq %rdi, %rax
leaq 0x1b53f(%rip), %rdi     # 0x1e486
movq %rax, (%rsp)
movb $0x0, %al
callq 0x2100
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)