// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lundump.c
// Function: LoadFunction
static void LoadFunction (LoadState *S, Proto *f, TString *psource) {
  f->source = LoadString(S);
  if (f->source == NULL)  /* no source in dump? */
    f->source = psource;  /* reuse parent's source */
  f->linedefined = LoadInt(S);
  f->lastlinedefined = LoadInt(S);
  f->numparams = LoadByte(S);
  f->is_vararg = LoadByte(S);
  f->maxstacksize = LoadByte(S);
  LoadCode(S, f);
  LoadConstants(S, f);
  LoadUpvalues(S, f);
  LoadProtos(S, f);
  LoadDebug(S, f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
callq 0x11585
testq %rax, %rax
cmovneq %rax, %r15
movq %r15, 0x68(%rbx)
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movl (%r15), %eax
movl %eax, 0x28(%rbx)
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movl (%r15), %eax
movl %eax, 0x2c(%rbx)
leaq 0x8(%rsp), %r15
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movb (%r15), %al
movb %al, 0xa(%rbx)
leaq 0x8(%rsp), %r15
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movb (%r15), %al
movb %al, 0xb(%rbx)
leaq 0x8(%rsp), %r15
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movb (%r15), %al
movb %al, 0xc(%rbx)
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r12
movq (%r14), %rdi
movq %r12, %r15
shlq $0x2, %r15
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb897
movq %rax, 0x38(%rbx)
movl %r12d, 0x18(%rbx)
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x11562
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r15
movq (%r14), %rdi
movq %r15, %rcx
shlq $0x4, %rcx
xorl %esi, %esi
xorl %edx, %edx
movq %rcx, 0x10(%rsp)
callq 0xb897
movq %rax, 0x30(%rbx)
movl %r15d, 0x14(%rbx)
testq %r15, %r15
jle 0x11119
leal 0x3(%r15), %ecx
decq %r15
movq %r15, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl $0x2, %ecx
shlq $0x6, %rcx
movdqa 0x11171(%rip), %xmm1    # 0x220e0
movdqa 0x11179(%rip), %xmm2    # 0x220f0
xorl %edx, %edx
movdqa 0x1117f(%rip), %xmm3    # 0x22100
pxor %xmm3, %xmm0
pcmpeqd %xmm4, %xmm4
movdqa 0x11eff(%rip), %xmm5    # 0x22e90
movdqa %xmm2, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %esi
notl %esi
testb $0x1, %sil
je 0x10fce
movl $0x0, 0x8(%rax,%rdx)
pxor %xmm4, %xmm6
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x10fe5
movl $0x0, 0x18(%rax,%rdx)
movdqa %xmm1, %xmm6
pxor %xmm3, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm0, %xmm7
pcmpeqd %xmm0, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
pxor %xmm4, %xmm6
pextrw $0x0, %xmm6, %esi
testb $0x1, %sil
je 0x11025
movl $0x0, 0x28(%rax,%rdx)
pextrw $0x4, %xmm6, %esi
testb $0x1, %sil
je 0x11038
movl $0x0, 0x38(%rax,%rdx)
paddq %xmm5, %xmm2
paddq %xmm5, %xmm1
addq $0x40, %rdx
cmpq %rdx, %rcx
jne 0x10f91
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
leaq 0x11e54(%rip), %rbp     # 0x22eb0
movq 0x30(%rbx), %r15
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movzbl 0x8(%rsp), %eax
cmpq $0x4, %rax
ja 0x110a5
movslq (%rbp,%rax,4), %rcx
addq %rbp, %rcx
jmpq *%rcx
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movzbl 0x8(%rsp), %eax
movl %eax, (%r15,%r13)
movl $0x1, %eax
jmp 0x11105
cmpl $0x13, %eax
je 0x110e7
cmpl $0x14, %eax
jne 0x1110a
movq %r14, %rdi
callq 0x11585
movq %rax, (%r15,%r13)
movzbl 0x8(%rax), %eax
orl $0x40, %eax
jmp 0x11105
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movq 0x8(%rsp), %xmm0
movq %xmm0, (%r15,%r13)
movl $0x3, %eax
jmp 0x11105
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movq 0x8(%rsp), %rax
movq %rax, (%r15,%r13)
movl $0x13, %eax
movl %eax, 0x8(%r15,%r13)
addq $0x10, %r13
cmpq %r13, 0x10(%rsp)
jne 0x1105c
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r12
movq (%r14), %rdi
movq %r12, %r15
shlq $0x4, %r15
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb897
movq %rax, 0x58(%rbx)
movl %r12d, 0x10(%rbx)
testq %r12, %r12
jle 0x1123c
leal 0x1(%r12), %ecx
decq %r12
movq %r12, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %ecx
shlq $0x5, %rcx
movdqa 0x10f78(%rip), %xmm1    # 0x220f0
xorl %edx, %edx
movdqa 0x10f7e(%rip), %xmm2    # 0x22100
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x11d0e(%rip), %xmm4    # 0x22ea0
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x111cc
movq $0x0, (%rax,%rdx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x111e4
movq $0x0, 0x10(%rax,%rdx)
paddq %xmm4, %xmm1
addq $0x20, %rdx
cmpq %rdx, %rcx
jne 0x11192
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movb 0x8(%rsp), %al
movq 0x58(%rbx), %rcx
movb %al, 0x8(%rcx,%r13)
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movb 0x8(%rsp), %al
movq 0x58(%rbx), %rcx
movb %al, 0x9(%rcx,%r13)
addq $0x10, %r13
cmpq %r13, %r15
jne 0x111f9
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r15
movq (%r14), %rdi
leaq (,%r15,8), %rcx
xorl %esi, %esi
xorl %edx, %edx
callq 0xb897
movq %rax, 0x40(%rbx)
movl %r15d, 0x20(%rbx)
testq %r15, %r15
jle 0x112bf
xorl %eax, %eax
movq 0x40(%rbx), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %r15
jne 0x11277
testl %r15d, %r15d
jle 0x112bf
xorl %r12d, %r12d
movq (%r14), %rdi
callq 0xa024
movq 0x40(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
movq 0x40(%rbx), %rax
movq 0x68(%rbx), %rdx
movq (%rax,%r12,8), %rsi
movq %r14, %rdi
callq 0x10e1c
incq %r12
cmpq %r12, %r15
jne 0x11293
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r12
movq (%r14), %rdi
movq %r12, %r15
shlq $0x2, %r15
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb897
movq %rax, 0x48(%rbx)
movl %r12d, 0x1c(%rbx)
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x11562
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r12
movq (%r14), %rdi
movq %r12, %r15
shlq $0x4, %r15
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb897
movq %rax, 0x50(%rbx)
movl %r12d, 0x24(%rbx)
testq %r12, %r12
jle 0x11436
leal 0x1(%r12), %ecx
decq %r12
movq %r12, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shrl %ecx
shlq $0x5, %rcx
movdqa 0x10d8e(%rip), %xmm1    # 0x220f0
xorl %edx, %edx
movdqa 0x10d94(%rip), %xmm2    # 0x22100
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x11b24(%rip), %xmm4    # 0x22ea0
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x113b6
movq $0x0, (%rax,%rdx)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x113ce
movq $0x0, 0x10(%rax,%rdx)
paddq %xmm4, %xmm1
addq $0x20, %rdx
cmpq %rdx, %rcx
jne 0x1137c
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
movq %r14, %rdi
callq 0x11585
movq 0x50(%rbx), %rcx
movq %rax, (%rcx,%r13)
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movl 0x8(%rsp), %eax
movq 0x50(%rbx), %rcx
movl %eax, 0x8(%rcx,%r13)
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x11562
movl 0x8(%rsp), %eax
movq 0x50(%rbx), %rcx
movl %eax, 0xc(%rcx,%r13)
addq $0x10, %r13
cmpq %r13, %r15
jne 0x113e3
leaq 0x8(%rsp), %r15
movl $0x4, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11562
movslq (%r15), %r15
testq %r15, %r15
jle 0x11473
shlq $0x4, %r15
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x11585
movq 0x58(%rbx), %rcx
movq %rax, (%rcx,%r12)
addq $0x10, %r12
cmpq %r12, %r15
jne 0x1145a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq