// File: /workspace/github_c_makefile_star2_O2/gplessis[P]dotdeb-redis/deps/lua/src/lparser.c
// Function: body
static void body (LexState *ls, expdesc *e, int needself, int line) {
  /* body ->  `(' parlist `)' chunk END */
  FuncState new_fs;
  open_func(ls, &new_fs);
  new_fs.f->linedefined = line;
  checknext(ls, '(');
  if (needself) {
    new_localvarliteral(ls, "self", 0);
    adjustlocalvars(ls, 1);
  }
  parlist(ls);
  checknext(ls, ')');
  chunk(ls);
  new_fs.f->lastlinedefined = ls->linenumber;
  check_match(ls, TK_END, TK_FUNCTION, line);
  close_func(ls);
  pushclosure(ls, &new_fs, e);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r13
movq %rdi, %r14
leaq 0x10(%rsp), %r15
movq %r15, %rsi
callq 0x9e6f
movq (%r15), %rax
movl %ebp, 0xc(%rsp)
movl %ebp, 0x60(%rax)
pushq $0x28
popq %rsi
movq %r14, %rdi
callq 0xac0b
testl %ebx, %ebx
je 0xb172
leaq 0xe8fa(%rip), %rsi      # 0x19a49
pushq $0x4
popq %rdx
movq %r14, %rdi
callq 0x11777
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb66d
pushq $0x1
popq %rsi
movq %r14, %rdi
callq 0xb774
movq 0x30(%r14), %r15
movq (%r15), %rbp
movb $0x0, 0x72(%rbp)
movl 0x10(%r14), %eax
xorl %r12d, %r12d
cmpl $0x29, %eax
je 0xb222
movq %r13, (%rsp)
xorl %r12d, %r12d
pushq $0x2c
popq %r13
movq %r14, %rdi
cmpl $0x11d, %eax            # imm = 0x11D
je 0xb1b7
cmpl $0x117, %eax            # imm = 0x117
je 0xb1ed
leaq 0xe8b7(%rip), %rsi      # 0x19a67
callq 0x1176f
jmp 0xb1d2
callq 0xb645
leal 0x1(%r12), %ebx
movq %r14, %rdi
movq %rax, %rsi
movl %r12d, %edx
callq 0xb66d
movl %ebx, %r12d
cmpb $0x0, 0x72(%rbp)
jne 0xb21e
movq %r14, %rdi
movl %r13d, %esi
callq 0xaa8f
testl %eax, %eax
je 0xb21e
movl 0x10(%r14), %eax
jmp 0xb198
callq 0x11842
leaq 0xdfe1(%rip), %rsi      # 0x191da
pushq $0x3
popq %rdx
movq %r14, %rdi
callq 0x11777
leal 0x1(%r12), %ebx
movq %r14, %rdi
movq %rax, %rsi
movl %r12d, %edx
callq 0xb66d
movb $0x7, 0x72(%rbp)
movl %ebx, %r12d
movq (%rsp), %r13
movq %r14, %rdi
movl %r12d, %esi
callq 0xb774
movzbl 0x4a(%r15), %esi
movb 0x72(%rbp), %al
andb $0x1, %al
movl %esi, %ecx
subb %al, %cl
movb %cl, 0x71(%rbp)
movq %r15, %rdi
callq 0x1066d
pushq $0x29
popq %rsi
movq %r14, %rdi
callq 0xac0b
movq %r14, %rdi
callq 0x9f5a
movl 0x4(%r14), %eax
movq 0x10(%rsp), %rcx
movl %eax, 0x64(%rcx)
movq %r14, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x109, %edx            # imm = 0x109
movl 0xc(%rsp), %ecx
callq 0xaae0
movq %r14, %rdi
callq 0xa83f
movq 0x30(%r14), %r15
movq (%r15), %r12
movl 0x58(%r12), %ebx
movl %ebx, %ecx
cmpl %ebx, 0x44(%r15)
jl 0xb2c4
leaq 0x58(%r12), %rdx
movq 0x38(%r14), %rdi
movq 0x20(%r12), %rsi
leaq 0xe7d4(%rip), %r9       # 0x19a80
pushq $0x8
popq %rcx
movl $0x3ffff, %r8d          # imm = 0x3FFFF
callq 0x9718
movq %rax, 0x20(%r12)
movl 0x58(%r12), %ecx
movslq %ebx, %rax
movslq %ecx, %rcx
cmpq %rcx, %rax
jge 0xb2de
movq 0x20(%r12), %rdx
andq $0x0, (%rdx,%rax,8)
incq %rax
jmp 0xb2ca
movq 0x10(%rsp), %rdx
movq 0x20(%r12), %rax
movslq 0x44(%r15), %rcx
leal 0x1(%rcx), %esi
movl %esi, 0x44(%r15)
movq %rdx, (%rax,%rcx,8)
testb $0x3, 0x9(%rdx)
je 0xb317
testb $0x4, 0x9(%r12)
je 0xb317
movq 0x38(%r14), %rdi
movq %r12, %rsi
callq 0x9066
movl 0x44(%r15), %ecx
decl %ecx
pushq $0x24
popq %rsi
xorl %ebx, %ebx
movq %r15, %rdi
xorl %edx, %edx
callq 0x104c0
orq $-0x1, 0x10(%r13)
movl $0xb, (%r13)
movl %eax, 0x8(%r13)
movq 0x10(%rsp), %rax
movzbl 0x70(%rax), %eax
cmpq %rax, %rbx
jae 0xb36a
xorl %esi, %esi
cmpb $0x6, 0x5b(%rsp,%rbx,2)
setne %sil
shll $0x2, %esi
movzbl 0x5c(%rsp,%rbx,2), %ecx
movq %r15, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x10460
incq %rbx
jmp 0xb337
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq