// File: /workspace/github_c_makefile_star2_O3/gplessis[P]dotdeb-redis/deps/lua/src/lparser.c
// Function: chunk
static void chunk (LexState *ls) {
  /* chunk -> { stat [`;'] } */
  int islast = 0;
  enterlevel(ls);
  while (!islast && !block_follow(ls->t.token)) {
    islast = statement(ls);
    testnext(ls, ';');
    lua_assert(ls->fs->f->maxstacksize >= ls->fs->freereg &&
               ls->fs->freereg >= ls->fs->nactvar);
    ls->fs->freereg = ls->fs->nactvar;  /* free registers */
  }
  leavelevel(ls);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movl 0x60(%rax), %ecx
incl %ecx
movw %cx, 0x60(%rax)
movzwl %cx, %eax
cmpl $0xc9, %eax
jb 0xaa20
leaq 0x10fa6(%rip), %rsi     # 0x1b9bc
movq %rbx, %rdi
xorl %edx, %edx
callq 0x12fda
leaq 0x8(%rsp), %r15
leaq 0x10e94(%rip), %r13     # 0x1b8c0
movl $0x8010007, %r12d       # imm = 0x8010007
movl 0x10(%rbx), %eax
leal -0x104(%rax), %ecx
cmpl $0x1b, %ecx
ja 0xaa4a
btl %ecx, %r12d
jb 0xb39d
addl $0xfffffefe, %eax       # imm = 0xFFFFFEFE
cmpl $0x13, %eax
ja 0xaf70
movl 0x4(%rbx), %ebp
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xb691
jmp 0xadd5
movq 0x30(%rbx), %r13
movl $0xffffffff, 0x30(%rsp) # imm = 0xFFFFFFFF
movb $0x1, 0x36(%rsp)
movb 0x4a(%r13), %al
movb %al, 0x34(%rsp)
movb $0x0, 0x35(%rsp)
movq 0x28(%r13), %rax
movq %rax, 0x28(%rsp)
leaq 0x28(%rsp), %rax
movq %rax, 0x28(%r13)
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xc2db
movq %rax, %r12
movl 0x10(%rbx), %eax
cmpl $0x2c, %eax
je 0xafb0
cmpl $0x10b, %eax            # imm = 0x10B
je 0xafb0
cmpl $0x3d, %eax
jne 0xb2e4
movq 0x30(%rbx), %r14
movl 0x3c(%r14), %eax
movl %eax, 0x4(%rsp)
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x11066(%rip), %rsi     # 0x1bb5e
callq 0x1308d
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc30f
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x11051(%rip), %rsi     # 0x1bb6a
callq 0x1308d
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0xc30f
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x11039(%rip), %rsi     # 0x1bb76
callq 0x1308d
movq %rbx, %rdi
movq %rax, %rsi
movl $0x2, %edx
callq 0xc30f
movq %rbx, %rdi
movq %r12, %rsi
movl $0x3, %edx
callq 0xc30f
movq %rbx, %rdi
movl $0x3d, %esi
callq 0xb73c
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xb756
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x11f51
movq %rbx, %rdi
movl $0x2c, %esi
callq 0xb73c
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xb756
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x11f51
cmpl $0x2c, 0x10(%rbx)
jne 0xb2fb
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xb756
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x11f51
jmp 0xb32e
movq %rbx, %rdi
callq 0x1315f
cmpl $0x109, 0x10(%rbx)      # imm = 0x109
jne 0xb0d3
movq %rbx, %rdi
callq 0x1315f
movq 0x30(%rbx), %r14
movq %rbx, %rdi
callq 0xc2db
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc30f
movl 0x3c(%r14), %eax
movq $-0x1, 0x18(%rsp)
movl $0x6, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movq %r14, %rdi
movl $0x1, %esi
callq 0x11bab
movq 0x30(%rbx), %rax
movb 0x4a(%rax), %cl
incb %cl
movb %cl, 0x4a(%rax)
movl 0x30(%rax), %edx
movq (%rax), %rsi
movq 0x30(%rsi), %rsi
movzbl %cl, %ecx
movzwl 0xc2(%rax,%rcx,2), %eax
shll $0x4, %eax
movl %edx, 0x8(%rsi,%rax)
movl 0x4(%rbx), %ecx
movq %rbx, %rdi
leaq 0x28(%rsp), %r12
movq %r12, %rsi
xorl %edx, %edx
callq 0xbce3
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
movl $0x8010007, %r12d       # imm = 0x8010007
callq 0x12206
movl 0x30(%r14), %eax
movq (%r14), %rcx
movq 0x30(%rcx), %rcx
movzbl 0x4a(%r14), %edx
movzwl 0xc2(%r14,%rdx,2), %edx
shll $0x4, %edx
movl %eax, 0x8(%rcx,%rdx)
jmp 0xb2ba
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xb5d1
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x103, %edx            # imm = 0x103
movl %ebp, %ecx
callq 0xb610
jmp 0xb2ba
movq 0x30(%rbx), %r14
movq %r14, %rdi
callq 0x11a5b
movl %eax, %r12d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %edx, 0x10(%rsp)
movb $0x1, 0x16(%rsp)
movb 0x4a(%r14), %al
movb %al, 0x14(%rsp)
movb $0x0, 0x15(%rsp)
movq 0x28(%r14), %rcx
movq %rcx, 0x8(%rsp)
movl %edx, 0x30(%rsp)
movb %al, 0x34(%rsp)
movw $0x0, 0x35(%rsp)
movq %r15, 0x28(%rsp)
leaq 0x28(%rsp), %rax
movq %rax, 0x28(%r14)
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xa9e7
movq %rbx, %rdi
movl $0x114, %esi            # imm = 0x114
movl $0x110, %edx            # imm = 0x110
movl %ebp, %ecx
callq 0xb610
movq %rbx, %rdi
callq 0xb6fe
movl %eax, %ebp
cmpb $0x0, 0x35(%rsp)
je 0xb1c9
movq %rbx, %rdi
callq 0xb691
movq 0x30(%rbx), %rdi
movl %ebp, %esi
callq 0x11a86
movq %r14, %rdi
callq 0xc8d0
movq %r15, %rbp
movq %r13, %r15
movq 0x30(%rbx), %r13
movq %r14, %rdi
callq 0x119a1
movq %r13, %rdi
movq %r15, %r13
movq %rbp, %r15
movl %eax, %esi
jmp 0xb1d7
movq 0x30(%rbx), %r14
movq %rbx, %rdi
callq 0x1315f
movl 0x10(%rbx), %eax
xorl %esi, %esi
leal -0x104(%rax), %ecx
cmpl $0x1b, %ecx
ja 0xb1f5
btl %ecx, %r12d
jae 0xb1f5
xorl %ebp, %ebp
movq %r14, %rdi
movl %ebp, %edx
callq 0x11a3e
xorl %ebp, %ebp
jmp 0xb2bd
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc660
movl 0x10(%rbx), %eax
cmpl $0x2e, %eax
jne 0xae04
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc4a6
jmp 0xadef
cmpl $0x3a, %eax
jne 0xb14b
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc4a6
movl $0x1, %edx
jmp 0xb14d
movq 0x30(%rbx), %r14
movl $0xffffffff, 0x8(%rsp)  # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xb6fe
movl %eax, %r12d
movq %rbx, %rdi
movl $0x112, %esi            # imm = 0x112
callq 0xb73c
movq %rbx, %rdi
callq 0xb5d1
movl 0x10(%rbx), %eax
movq %r14, %rdi
cmpl $0x105, %eax            # imm = 0x105
jne 0xae82
callq 0x119a1
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x119fe
movq %r14, %rdi
movl %r12d, %esi
callq 0x11a86
jmp 0xae2e
cmpl $0x104, %eax            # imm = 0x104
jne 0xb17e
callq 0x119a1
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x119fe
movq %r14, %rdi
movl %r12d, %esi
callq 0x11a86
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xb5d1
jmp 0xb189
movq 0x30(%rbx), %r14
movq %rbx, %rdi
callq 0x1315f
movq %r14, %rdi
callq 0x11a5b
movl %ebp, %r12d
movq %r13, %rbp
movl %eax, %r13d
movq %rbx, %rdi
callq 0xb6fe
movl %eax, 0x4(%rsp)
movl $0xffffffff, 0x10(%rsp) # imm = 0xFFFFFFFF
movb $0x1, 0x16(%rsp)
movb 0x4a(%r14), %al
movb %al, 0x14(%rsp)
movb $0x0, 0x15(%rsp)
movq 0x28(%r14), %rax
movq %rax, 0x8(%rsp)
movq %r15, 0x28(%r14)
movq %rbx, %rdi
movl $0x103, %esi            # imm = 0x103
callq 0xb73c
movq %rbx, %rdi
callq 0xb5d1
movq %r14, %rdi
callq 0x119a1
movq %r14, %rdi
movl %eax, %esi
movl %r13d, %edx
movq %rbp, %r13
callq 0x11a62
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x115, %edx            # imm = 0x115
movl %r12d, %ecx
callq 0xb610
movq %r14, %rdi
callq 0xc8d0
movq %r14, %rdi
movl 0x4(%rsp), %esi
movl $0x8010007, %r12d       # imm = 0x8010007
callq 0x11a86
jmp 0xb2ba
movq 0x30(%rbx), %r14
movq %rbx, %rdi
leaq 0x10(%rsp), %rsi
callq 0xbfd7
cmpl $0xd, 0x10(%rsp)
jne 0xb1ab
movq (%r14), %rax
movq 0x18(%rax), %rax
movslq 0x18(%rsp), %rcx
movl (%rax,%rcx,4), %edx
movl $0xff803fff, %esi       # imm = 0xFF803FFF
andl %esi, %edx
orl $0x4000, %edx           # imm = 0x4000
movl %edx, (%rax,%rcx,4)
jmp 0xb2ba
movq 0x30(%rbx), %rax
movq %rax, 0x40(%rsp)
movl 0x3c(%rax), %eax
movl %eax, 0x4(%rsp)
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x10bb2(%rip), %rsi     # 0x1bb81
callq 0x1308d
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc30f
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x10ba1(%rip), %rsi     # 0x1bb91
callq 0x1308d
movl $0x1, %r14d
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0xc30f
movl $0xd, %edx
movq %rbx, %rdi
leaq 0x10b83(%rip), %rsi     # 0x1bb9d
callq 0x1308d
movq %rbx, %rdi
movq %rax, %rsi
movl $0x2, %edx
callq 0xc30f
movq %rbx, %rdi
movq %r12, %rsi
movl $0x3, %edx
callq 0xc30f
cmpl $0x2c, 0x10(%rbx)
jne 0xb07b
movl $0x4, %r14d
movl %r14d, %r12d
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xc2db
leal 0x1(%r12), %r14d
movq %rbx, %rdi
movq %rax, %rsi
movl %r12d, %edx
callq 0xc30f
cmpl $0x2c, 0x10(%rbx)
je 0xb04b
addl $-0x3, %r14d
movq %rbx, %rdi
movl $0x10b, %esi            # imm = 0x10B
callq 0xb73c
movl 0x4(%rbx), %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc887
movq 0x30(%rbx), %rdi
movl $0x3, %esi
movl %eax, %edx
movq %r15, %rcx
callq 0xcadd
movq 0x40(%rsp), %rdi
movl $0x3, %esi
callq 0x11b6e
movq %rbx, %rdi
movl 0x4(%rsp), %esi
movl %r12d, %edx
movl %r14d, %ecx
xorl %r8d, %r8d
callq 0xc954
jmp 0xb2f3
movq %rbx, %rdi
callq 0xc2db
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc30f
movl 0x10(%rbx), %eax
movl $0x1, %ebp
cmpl $0x2c, %eax
jne 0xb128
movl $0x1, %r14d
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
callq 0xc2db
leal 0x1(%r14), %ebp
movq %rbx, %rdi
movq %rax, %rsi
movl %r14d, %edx
callq 0xc30f
movl 0x10(%rbx), %eax
movl %ebp, %r14d
cmpl $0x2c, %eax
je 0xb0fb
cmpl $0x3d, %eax
jne 0xb265
movq %rbx, %rdi
callq 0x1315f
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc887
movl %eax, %edx
jmp 0xb26f
xorl %edx, %edx
movq %rbx, %rdi
leaq 0x28(%rsp), %r14
movq %r14, %rsi
movl %ebp, %ecx
callq 0xbce3
movq 0x30(%rbx), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x12206
movq 0x30(%rbx), %rdi
movl %ebp, %esi
callq 0x12b94
jmp 0xb2ba
movq %r15, %rsi
movl %r12d, %edx
callq 0x119fe
movl 0x8(%rsp), %esi
movq %r14, %rdi
callq 0x11a86
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x10a, %edx            # imm = 0x10A
movl %ebp, %ecx
callq 0xb610
jmp 0xb1e7
movq $0x0, 0x8(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0xcb57
jmp 0xb2ba
movq %r14, %rdi
callq 0xc8d0
movq 0x30(%rbx), %rdi
movl %ebp, %esi
movl %r12d, %edx
callq 0x11a62
movq %r14, %rdi
callq 0xc8d0
movb $0x1, %bpl
movl $0x8010007, %r12d       # imm = 0x8010007
jmp 0xb2bd
movl $0x0, %ebp
cmpl $0x3b, %eax
je 0xadcb
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc887
movl %eax, %ebp
movl 0x8(%rsp), %eax
addl $-0xd, %eax
movq %r14, %rdi
movq %r15, %rsi
cmpl $0x1, %eax
ja 0xb378
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x11de4
movl 0x8(%rsp), %eax
xorl $0xd, %eax
xorl $0x1, %ebp
orl %eax, %ebp
jne 0xb256
movq (%r14), %rax
movq 0x18(%rax), %rax
movslq 0x10(%rsp), %rcx
movl (%rax,%rcx,4), %edx
andl $-0x40, %edx
orl $0x1d, %edx
movl %edx, (%rax,%rcx,4)
movzbl 0x4a(%r14), %esi
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
jmp 0xadcb
movl $0x0, 0x8(%rsp)
xorl %edx, %edx
movq 0x30(%rbx), %rdi
movl %ebp, %esi
movq %r15, %rcx
callq 0xcadd
movq 0x30(%rbx), %rsi
movb 0x4a(%rsi), %dil
addb %bpl, %dil
movb %dil, 0x4a(%rsi)
movl 0x30(%rsi), %eax
movq (%rsi), %rcx
movq 0x30(%rcx), %rcx
movl %ebp, %edx
negq %rdx
movzbl %dil, %edi
leaq (%rsi,%rdi,2), %rsi
addq $0xc4, %rsi
movzwl (%rsi,%rdx,2), %edi
shll $0x4, %edi
movl %eax, 0x8(%rcx,%rdi)
incq %rdx
jne 0xb2aa
movb $0x1, %bpl
cmpl $0x3b, 0x10(%rbx)
jne 0xb2cb
movq %rbx, %rdi
callq 0x1315f
movq 0x30(%rbx), %rax
movzbl 0x4a(%rax), %ecx
movl %ecx, 0x3c(%rax)
testb %bpl, %bpl
jne 0xaa32
jmp 0xb39d
movq %rbx, %rdi
leaq 0x1085b(%rip), %rsi     # 0x1bb49
callq 0x13085
movl $0x8010007, %r12d       # imm = 0x8010007
jmp 0xb34d
movl 0x3c(%r14), %r12d
movq %r14, %rdi
movsd 0x105ae(%rip), %xmm0    # 0x1b8b8
callq 0x11dc3
movq %r14, %rdi
movl $0x1, %esi
movl %r12d, %edx
movl %eax, %ecx
callq 0x119e8
movq %r14, %rdi
movl $0x1, %esi
callq 0x11bab
movl $0x8010007, %r12d       # imm = 0x8010007
movq %rbx, %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0xc954
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x108, %edx            # imm = 0x108
movl %ebp, %ecx
callq 0xb610
movq %r13, %rdi
callq 0xc8d0
movb $0x1, %bpl
leaq 0x1054d(%rip), %r13     # 0x1b8c0
jmp 0xb2bd
cmpl $0x1, %ebp
jne 0xb38e
callq 0x120d8
movl %eax, %esi
movl $0x1, %ebp
jmp 0xadcb
callq 0x11f51
movzbl 0x4a(%r14), %esi
jmp 0xadcb
movq 0x38(%rbx), %rax
decw 0x60(%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq