// File: /workspace/github_c_makefile_star2_O3/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 0xc29f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x6c(%r14), %ecx
movl %ecx, (%r15)
testl %eax, %eax
jne 0xc29f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x78(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0xc29f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x79(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0xc29f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x7a(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0xc29f
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 0xc588
movl 0x54(%r14), %r12d
movl %r12d, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0xc2d3
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0xc38f
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x10(%r14), %rbp
movl 0x8(%rbp,%r13), %ecx
movl %ecx, %eax
andb $0xf, %al
movb %al, (%rsp)
cmpl $0x0, 0x1c(%rbx)
je 0xc300
xorl %eax, %eax
jmp 0xc31f
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 $0xf, %ecx
cmpl $0x4, %ecx
je 0xc372
cmpl $0x3, %ecx
je 0xc34b
cmpl $0x1, %ecx
jne 0xc37f
movb (%rbp,%r13), %cl
movb %cl, (%rsp)
testb %al, %al
je 0xc37f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
jmp 0xc367
movsd (%rbp,%r13), %xmm0
movsd %xmm0, (%rsp)
testb %al, %al
je 0xc37f
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x8, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
jmp 0xc37f
movq (%rbp,%r13), %rdi
movq %rbx, %rsi
callq 0xc5dd
addq $0x10, %r13
cmpq %r13, %r12
jne 0xc2e6
movl 0x1c(%rbx), %eax
movl 0x60(%r14), %r15d
movl %r15d, (%rsp)
testl %eax, %eax
jne 0xc3b0
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r15d, %r15d
jle 0xc3d3
xorl %r12d, %r12d
movq 0x20(%r14), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
callq 0xc1dd
incq %r12
cmpq %r12, %r15
jne 0xc3b8
movl 0x1c(%rbx), %eax
movl 0x50(%r14), %r12d
movl %r12d, (%rsp)
testl %eax, %eax
jne 0xc3f4
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0xc456
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x38(%r14), %rcx
movb 0x8(%rcx,%r13), %cl
movb %cl, (%rsp)
testl %eax, %eax
jne 0xc44d
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x38(%r14), %rcx
movb 0x9(%rcx,%r13), %cl
movb %cl, (%rsp)
testl %eax, %eax
jne 0xc44d
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 0xc403
xorl %r15d, %r15d
cmpl $0x0, 0x18(%rbx)
je 0xc463
xorl %edi, %edi
jmp 0xc467
movq 0x48(%r14), %rdi
movq %rbx, %rsi
callq 0xc5dd
cmpl $0x0, 0x18(%rbx)
jne 0xc479
movl 0x5c(%r14), %r15d
movq 0x28(%r14), %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0xc588
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0xc494
movl 0x64(%r14), %ebp
movl %ebp, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0xc4b3
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0xc52a
movl %ebp, %r12d
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x30(%r14), %rax
movq (%rax,%r13), %rdi
movq %rbx, %rsi
callq 0xc5dd
movq 0x30(%r14), %rax
movl 0x8(%rax,%r13), %eax
movl %eax, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0xc521
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movq 0x30(%r14), %rcx
movl 0xc(%rcx,%r13), %ecx
movl %ecx, (%rsp)
testl %eax, %eax
jne 0xc521
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 0xc4c4
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0xc536
movl 0x50(%r14), %ebp
movl %ebp, (%rsp)
testl %eax, %eax
jne 0xc552
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0xc579
movl %ebp, %r15d
shlq $0x4, %r15
xorl %r12d, %r12d
movq 0x38(%r14), %rax
movq (%rax,%r12), %rdi
movq %rbx, %rsi
callq 0xc5dd
addq $0x10, %r12
cmpq %r12, %r15
jne 0xc560
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq