// File: /workspace/github_c_makefile_star2_O2/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ldump.c
// Function: DumpFunction
static void DumpFunction(const Proto* f, DumpState* D)
{
 DumpInt(f->linedefined,D);
 DumpInt(f->lastlinedefined,D);
 DumpChar(f->numparams,D);
 DumpChar(f->is_vararg,D);
 DumpChar(f->maxstacksize,D);
 DumpCode(f,D);
 DumpConstants(f,D);
 DumpUpvalues(f,D);
 DumpDebug(f,D);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0x68(%rdi), %edi
callq 0xbd53
movl 0x6c(%r14), %edi
movq %rbx, %rsi
callq 0xbd53
movzbl 0x78(%r14), %edi
movq %rbx, %rsi
callq 0xbd6b
movzbl 0x79(%r14), %edi
movq %rbx, %rsi
callq 0xbd6b
movzbl 0x7a(%r14), %edi
movq %rbx, %rsi
callq 0xbd6b
movq 0x18(%r14), %rdi
movl 0x58(%r14), %esi
movq %rbx, %rdx
callq 0xbd84
movl 0x54(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0xbd53
xorl %ebp, %ebp
testl %r15d, %r15d
cmovlel %ebp, %r15d
shlq $0x4, %r15
pushq $0x8
popq %r13
cmpq %rbp, %r15
je 0xbbca
movq 0x10(%r14), %r12
movl 0x8(%r12,%rbp), %edi
andl $0xf, %edi
movq %rbx, %rsi
callq 0xbd6b
movl 0x8(%r12,%rbp), %eax
andl $0xf, %eax
cmpl $0x4, %eax
je 0xbbb8
cmpl $0x3, %eax
je 0xbb9d
cmpl $0x1, %eax
jne 0xbbc4
movl (%r12,%rbp), %edi
movq %rbx, %rsi
callq 0xbd6b
jmp 0xbbc4
movsd (%r12,%rbp), %xmm0
movsd %xmm0, (%rsp)
movq %rsp, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0xbd34
jmp 0xbbc4
movq (%r12,%rbp), %rdi
movq %rbx, %rsi
callq 0xbdad
addq $0x10, %rbp
jmp 0xbb5f
movl 0x60(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0xbd53
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
cmpq %r12, %r15
je 0xbbfd
movq 0x20(%r14), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
callq 0xbae3
incq %r12
jmp 0xbbe3
movl 0x50(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0xbd53
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0xbc49
movq 0x38(%r14), %rax
movzbl 0x8(%rax,%r12), %edi
movq %rbx, %rsi
callq 0xbd6b
movq 0x38(%r14), %rax
movzbl 0x9(%rax,%r12), %edi
movq %rbx, %rsi
callq 0xbd6b
addq $0x10, %r12
jmp 0xbc1a
xorl %r15d, %r15d
cmpl $0x0, 0x18(%rbx)
je 0xbc56
xorl %edi, %edi
jmp 0xbc5a
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0xbdad
cmpl $0x0, 0x18(%rbx)
jne 0xbc6c
movl 0x5c(%r14), %r15d
movq 0x28(%r14), %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0xbd84
xorl %r12d, %r12d
cmpl $0x0, 0x18(%rbx)
movl $0x0, %r15d
jne 0xbc8e
movl 0x64(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0xbd53
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0xbce1
movq 0x30(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0xbdad
movq 0x30(%r14), %rax
movl 0x8(%rax,%r12), %edi
movq %rbx, %rsi
callq 0xbd53
movq 0x30(%r14), %rax
movl 0xc(%rax,%r12), %edi
movq %rbx, %rsi
callq 0xbd53
addq $0x10, %r12
jmp 0xbca4
xorl %r12d, %r12d
cmpl $0x0, 0x18(%rbx)
movl $0x0, %r15d
jne 0xbcf4
movl 0x50(%r14), %r15d
movl %r15d, %edi
movq %rbx, %rsi
callq 0xbd53
testl %r15d, %r15d
cmovlel %r12d, %r15d
shlq $0x4, %r15
cmpq %r12, %r15
je 0xbd25
movq 0x38(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0xbdad
addq $0x10, %r12
jmp 0xbd0a
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq