// File: /workspace/github_c_makefile_star2_O1/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), %eax
movl %eax, (%rsp)
cmpl $0x0, 0x1c(%rsi)
jne 0xc0e9
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x6c(%r14), %eax
movl %eax, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc10b
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x78(%r14), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc12d
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x1, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x79(%r14), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc14f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x1, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x7a(%r14), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc171
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x1, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x18(%r14), %rdi
movl 0x58(%r14), %esi
movq %rbx, %rdx
callq 0xc456
movl 0x54(%r14), %r12d
movl %r12d, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc1a4
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0xc256
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x10(%r14), %rbp
movb 0x8(%rbp,%r13), %al
andb $0xf, %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc1e0
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x8(%rbp,%r13), %eax
andl $0xf, %eax
cmpl $0x4, %eax
je 0xc23c
cmpl $0x3, %eax
je 0xc213
cmpl $0x1, %eax
jne 0xc249
movb (%rbp,%r13), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc249
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
jmp 0xc231
movsd (%rbp,%r13), %xmm0
movsd %xmm0, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc249
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x8, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
jmp 0xc249
movq (%rbp,%r13), %rdi
movq %rbx, %rsi
callq 0xc4ad
addq $0x10, %r13
cmpq %r13, %r12
jne 0xc1b7
movl 0x60(%r14), %r15d
movl %r15d, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc279
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r15d, %r15d
jle 0xc299
xorl %r12d, %r12d
movq 0x20(%r14), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
callq 0xc0b7
incq %r12
cmpq %r12, %r15
jne 0xc281
movl 0x50(%r14), %r12d
movl %r12d, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc2bc
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0xc322
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x38(%r14), %rax
movb 0x8(%rax,%r13), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc2f2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x38(%r14), %rax
movb 0x9(%rax,%r13), %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc319
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 0xc2cb
xorl %r15d, %r15d
cmpl $0x0, 0x18(%rbx)
je 0xc32f
xorl %edi, %edi
jmp 0xc333
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0xc4ad
cmpl $0x0, 0x18(%rbx)
jne 0xc345
movl 0x5c(%r14), %r15d
movq 0x28(%r14), %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0xc456
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0xc360
movl 0x64(%r14), %ebp
movl %ebp, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc37e
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0xc3f6
movl %ebp, %r12d
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x30(%r14), %rax
movq (%rax,%r13), %rdi
movq %rbx, %rsi
callq 0xc4ad
movq 0x30(%r14), %rax
movl 0x8(%rax,%r13), %eax
movl %eax, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc3c6
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x30(%r14), %rax
movl 0xc(%rax,%r13), %eax
movl %eax, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc3ed
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 0xc38f
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0xc402
movl 0x50(%r14), %ebp
movl %ebp, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0xc420
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0xc447
movl %ebp, %r15d
shlq $0x4, %r15
xorl %r12d, %r12d
movq 0x38(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0xc4ad
addq $0x10, %r12
cmpq %r12, %r15
jne 0xc42e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq