// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/ldump.c
// Function: DumpFunction
static void DumpFunction (const Proto *f, TString *psource, DumpState *D) {
  if (D->strip || f->source == psource)
    DumpString(NULL, D);  /* no debug info or same source as its parent */
  else
    DumpString(f->source, D);
  DumpInt(f->linedefined, D);
  DumpInt(f->lastlinedefined, D);
  DumpByte(f->numparams, D);
  DumpByte(f->is_vararg, D);
  DumpByte(f->maxstacksize, D);
  DumpCode(f, D);
  DumpConstants(f, D);
  DumpUpvalues(f, D);
  DumpProtos(f, D);
  DumpDebug(f, D);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
xorl %r12d, %r12d
cmpl $0x0, 0x18(%rdx)
je 0x9134
xorl %edi, %edi
jmp 0x9141
movq 0x68(%r14), %rax
xorl %edi, %edi
cmpq %rsi, %rax
cmovneq %rax, %rdi
movq %rbx, %rsi
callq 0x93f3
movl 0x28(%r14), %edi
movq %rbx, %rsi
callq 0x9489
movl 0x2c(%r14), %edi
movq %rbx, %rsi
callq 0x9489
movzbl 0xa(%r14), %edi
movq %rbx, %rsi
callq 0x90fd
movzbl 0xb(%r14), %edi
movq %rbx, %rsi
callq 0x90fd
movzbl 0xc(%r14), %edi
movq %rbx, %rsi
callq 0x90fd
movl 0x18(%r14), %edi
movq %rbx, %rsi
callq 0x9489
movq 0x38(%r14), %rdi
movslq 0x18(%r14), %rsi
shlq $0x2, %rsi
movq %rbx, %rdx
callq 0x93a3
movl 0x14(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0x9489
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0x923e
movq 0x30(%r14), %r13
movl 0x8(%r13,%r12), %edi
andl $0x3f, %edi
movq %rbx, %rsi
callq 0x90fd
movl 0x8(%r13,%r12), %eax
andl $0x3f, %eax
cmpl $0x14, %eax
je 0x920b
cmpl $0x3, %eax
je 0x921a
cmpl $0x4, %eax
je 0x920b
cmpl $0x13, %eax
je 0x922b
cmpl $0x1, %eax
jne 0x9238
movl (%r13,%r12), %edi
movq %rbx, %rsi
callq 0x90fd
jmp 0x9238
movq (%r13,%r12), %rdi
movq %rbx, %rsi
callq 0x93f3
jmp 0x9238
movsd (%r13,%r12), %xmm0
movq %rbx, %rdi
callq 0x93de
jmp 0x9238
movq (%r13,%r12), %rdi
movq %rbx, %rsi
callq 0x93c7
addq $0x10, %r12
jmp 0x91c2
movl 0x10(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0x9489
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0x928a
movq 0x58(%r14), %rax
movzbl 0x8(%rax,%r12), %edi
movq %rbx, %rsi
callq 0x90fd
movq 0x58(%r14), %rax
movzbl 0x9(%rax,%r12), %edi
movq %rbx, %rsi
callq 0x90fd
addq $0x10, %r12
jmp 0x925b
movl 0x20(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0x9489
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
cmpq %r12, %r15
je 0x92c1
movq 0x40(%r14), %rax
movq 0x68(%r14), %rsi
movq (%rax,%r12,8), %rdi
movq %rbx, %rdx
callq 0x9116
incq %r12
jmp 0x92a3
xorl %r15d, %r15d
cmpl $0x0, 0x18(%rbx)
movl $0x0, %ebp
jne 0x92d3
movl 0x1c(%r14), %ebp
movl %ebp, %edi
movq %rbx, %rsi
callq 0x9489
movq 0x48(%r14), %rdi
movslq %ebp, %rsi
shlq $0x2, %rsi
movq %rbx, %rdx
callq 0x93a3
cmpl $0x0, 0x18(%rbx)
jne 0x92fa
movl 0x24(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0x9489
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0x9350
movq 0x50(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0x93f3
movq 0x50(%r14), %rax
movl 0x8(%rax,%r12), %edi
movq %rbx, %rsi
callq 0x9489
movq 0x50(%r14), %rax
movl 0xc(%rax,%r12), %edi
movq %rbx, %rsi
callq 0x9489
addq $0x10, %r12
jmp 0x9313
xorl %r12d, %r12d
cmpl $0x0, 0x18(%rbx)
movl $0x0, %r15d
jne 0x9363
movl 0x10(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0x9489
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0x9394
movq 0x58(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0x93f3
addq $0x10, %r12
jmp 0x9379
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq