// File: /workspace/github_c_makefile_star2_O3/gplessis[P]dotdeb-redis/deps/lua/src/ldump.c
// Function: DumpFunction
static void DumpFunction(const Proto* f, const TString* p, DumpState* D)
{
 DumpString((f->source==p || D->strip) ? NULL : f->source,D);
 DumpInt(f->linedefined,D);
 DumpInt(f->lastlinedefined,D);
 DumpChar(f->nups,D);
 DumpChar(f->numparams,D);
 DumpChar(f->is_vararg,D);
 DumpChar(f->maxstacksize,D);
 DumpCode(f,D);
 DumpConstants(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
movq 0x40(%rdi), %rax
xorl %edi, %edi
cmpq %rsi, %rax
je 0x88e1
cmpl $0x0, 0x18(%rbx)
cmoveq %rax, %rdi
movq %rbx, %rsi
callq 0x8c06
movl 0x60(%r14), %eax
movl %eax, (%rsp)
cmpl $0x0, 0x1c(%rbx)
jne 0x89c2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movl 0x64(%r14), %ecx
movl %ecx, (%r15)
testl %eax, %eax
jne 0x89c2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x4, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x70(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x89c2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x71(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x89c2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x72(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x89c2
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %r15
movl $0x1, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
movb 0x73(%r14), %cl
movb %cl, (%r15)
testl %eax, %eax
jne 0x89c2
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 0x50(%r14), %esi
movq %rbx, %rdx
callq 0x8c7e
movl 0x4c(%r14), %r12d
movl %r12d, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x89f6
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r12d, %r12d
jle 0x8aab
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x10(%r14), %rbp
movl 0x8(%rbp,%r13), %ecx
movb %cl, (%rsp)
cmpl $0x0, 0x1c(%rbx)
je 0x8a1f
xorl %eax, %eax
jmp 0x8a3e
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
cmpl $0x4, %ecx
je 0x8a8e
cmpl $0x3, %ecx
je 0x8a67
cmpl $0x1, %ecx
jne 0x8a9b
movb (%rbp,%r13), %cl
movb %cl, (%rsp)
testb %al, %al
je 0x8a9b
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x1, %edx
jmp 0x8a83
movsd (%rbp,%r13), %xmm0
movsd %xmm0, (%rsp)
testb %al, %al
je 0x8a9b
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movl $0x8, %edx
movq %r15, %rsi
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
jmp 0x8a9b
movq (%rbp,%r13), %rdi
movq %rbx, %rsi
callq 0x8c06
addq $0x10, %r13
cmpq %r13, %r12
jne 0x8a09
movl 0x1c(%rbx), %eax
movl 0x58(%r14), %r15d
movl %r15d, (%rsp)
testl %eax, %eax
jne 0x8acc
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %r15d, %r15d
jle 0x8af0
xorl %r12d, %r12d
movq 0x20(%r14), %rax
movq 0x40(%r14), %rsi
movq (%rax,%r12,8), %rdi
movq %rbx, %rdx
callq 0x88bd
incq %r12
cmpq %r12, %r15
jne 0x8ad4
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
movl $0x0, %esi
jne 0x8b01
movl 0x54(%r14), %esi
movq 0x28(%r14), %rdi
movq %rbx, %rdx
callq 0x8c7e
cmpl $0x0, 0x18(%rbx)
jne 0x8b17
movl 0x5c(%r14), %ebp
movl %ebp, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x8b36
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0x8bad
movl %ebp, %r12d
shlq $0x4, %r12
xorl %r13d, %r13d
movq %rsp, %r15
movq 0x30(%r14), %rax
movq (%rax,%r13), %rdi
movq %rbx, %rsi
callq 0x8c06
movq 0x30(%r14), %rax
movl 0x8(%rax,%r13), %eax
movl %eax, (%rsp)
movl 0x1c(%rbx), %eax
testl %eax, %eax
jne 0x8ba4
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 0x8ba4
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 0x8b47
xorl %ebp, %ebp
cmpl $0x0, 0x18(%rbx)
jne 0x8bb9
movl 0x48(%r14), %ebp
movl %ebp, (%rsp)
testl %eax, %eax
jne 0x8bd5
movq (%rbx), %rdi
movq 0x10(%rbx), %rcx
movq %rsp, %rsi
movl $0x4, %edx
callq *0x8(%rbx)
movl %eax, 0x1c(%rbx)
testl %ebp, %ebp
jle 0x8bf7
movl %ebp, %r15d
xorl %r12d, %r12d
movq 0x38(%r14), %rax
movq (%rax,%r12,8), %rdi
movq %rbx, %rsi
callq 0x8c06
incq %r12
cmpq %r12, %r15
jne 0x8bdf
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq