// File: /workspace/github_c_makefile_star2_O3/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
cmpl $0x0, 0x18(%rdx)
je 0x9938
movb $0x0, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x994c
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x1, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
jmp 0x994c
movq 0x68(%r14), %rdi
cmpq %rsi, %rdi
je 0x9916
movq %rbx, %rsi
callq 0x9d6c
movl 0x1c(%rbx), %eax
movl 0x28(%r14), %ecx
movl %ecx, (%rsp)
testl %eax, %eax
jne 0x9a12
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x2c(%r14), %ecx
movl %ecx, (%r15)
testl %eax, %eax
jne 0x9a12
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0xa(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x9a12
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0xb(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x9a12
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0xc(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x9a12
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x18(%r14), %ecx
movl %ecx, (%r15)
testl %eax, %eax
je 0x9d04
movl 0x14(%r14), %ebp
testl %ebp, %ebp
jle 0x9aee
movl %ebp, %r12d
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x30(%r14), %rbp
movl 0x8(%rbp,%r13), %ecx
movl %ecx, %eax
andb $0x3f, %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
je 0x9a45
xorl %eax, %eax
jmp 0x9a64
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x8(%rbp,%r13), %ecx
testl %eax, %eax
sete %al
andl $0x3f, %ecx
cmpl $0x3, %ecx
jle 0x9a8a
cmpl $0x4, %ecx
je 0x9a7b
cmpl $0x13, %ecx
je 0x9aa2
cmpl $0x14, %ecx
jne 0x9ade
movq (%rbp,%r13), %rdi
movq %rbx, %rsi
callq 0x9d6c
jmp 0x9ade
cmpl $0x1, %ecx
je 0x9abd
cmpl $0x3, %ecx
jne 0x9ade
movsd (%rbp,%r13), %xmm0
movsd %xmm0, (%rsp)
jmp 0x9aab
movq (%rbp,%r13), %rcx
movq %rcx, (%rsp)
testb %al, %al
je 0x9ade
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x8, %edx
jmp 0x9ad5
movb (%rbp,%r13), %cl
movb %cl, (%rsp)
testb %al, %al
je 0x9ade
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
addq $0x10, %r13
cmpq %r13, %r12
jne 0x9a2b
movl 0x1c(%rbx), %eax
movl 0x10(%r14), %r12d
movl %r12d, (%rsp)
testl %eax, %eax
jne 0x9b0f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0x9b71
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x58(%r14), %rcx
movb 0x8(%rcx,%r13), %cl
movb %cl, (%rsp)
testl %eax, %eax
jne 0x9b68
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x58(%r14), %rcx
movb 0x9(%rcx,%r13), %cl
movb %cl, (%rsp)
testl %eax, %eax
jne 0x9b68
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
addq $0x10, %r13
cmpq %r13, %r12
jne 0x9b1e
movl 0x20(%r14), %r15d
movl %r15d, (%rsp)
testl %eax, %eax
jne 0x9b92
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r15d, %r15d
jle 0x9bb6
xorl %r12d, %r12d
movq 0x40(%r14), %rax
movq 0x68(%r14), %rsi
movq (%rax,%r12,8), %rdi
movq %rbx, %rdx
callq 0x98ff
incq %r12
cmpq %r12, %r15
jne 0x9b9a
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0x9bc2
movl 0x1c(%r14), %ebp
movl %ebp, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x9c07
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %eax, %eax
setne %cl
testl %ebp, %ebp
sete %dl
orb %cl, %dl
jne 0x9c07
movslq %ebp, %rdx
shlq $0x2, %rdx
movq 0x48(%r14), %rsi
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0x9c13
movl 0x24(%r14), %ebp
movl %ebp, (%rsp)
testl %eax, %eax
jne 0x9c2f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0x9ca6
movl %ebp, %r12d
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x50(%r14), %rax
movq (%rax,%r13), %rdi
movq %rbx, %rsi
callq 0x9d6c
movq 0x50(%r14), %rax
movl 0x8(%rax,%r13), %eax
movl %eax, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x9c9d
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x50(%r14), %rcx
movl 0xc(%rcx,%r13), %ecx
movl %ecx, (%rsp)
testl %eax, %eax
jne 0x9c9d
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
addq $0x10, %r13
cmpq %r13, %r12
jne 0x9c40
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0x9cb2
movl 0x10(%r14), %ebp
movl %ebp, (%rsp)
testl %eax, %eax
jne 0x9cce
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0x9cf5
movl %ebp, %r15d
shlq $0x4, %r15
xorl %r12d, %r12d
movq 0x58(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0x9d6c
addq $0x10, %r12
cmpq %r12, %r15
jne 0x9cdc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movslq 0x18(%r14), %rdx
testq %rdx, %rdx
sete %cl
testl %eax, %eax
setne %sil
orb %cl, %sil
jne 0x9d43
shlq $0x2, %rdx
movq 0x38(%r14), %rsi
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x14(%r14), %ebp
movl %ebp, (%rsp)
testl %eax, %eax
jne 0x9a16
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
jmp 0x9a16