// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/external/lua-5.1.5/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 $0x68, %rsp
movq %rdi, %rbx
movq 0x38(%rdi), %rax
movl 0x60(%rax), %ecx
incl %ecx
movw %cx, 0x60(%rax)
movzwl %cx, %eax
cmpl $0xc8, %eax
ja 0x615c9
leaq 0x10(%rbx), %r12
leaq 0x20(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x18(%rsp), %r13
leaq 0x8c8c2(%rip), %r15     # 0xed348
movl (%r12), %eax
leal -0x104(%rax), %ecx
cmpl $0x1b, %ecx
ja 0x60aa3
movl $0x8010007, %edx        # imm = 0x8010007
btl %ecx, %edx
jb 0x615b2
addl $0xfffffefe, %eax       # imm = 0xFFFFFEFE
cmpl $0x13, %eax
ja 0x60cba
movl 0x4(%rbx), %ebp
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x60e13
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x60e26
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x60d23
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x60d36
movq 0x30(%rbx), %r14
movl $0xffffffff, 0x18(%rsp) # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x62804
movl %eax, %r13d
leaq 0x38(%r14), %r15
movl (%r12), %eax
movq %r14, %rdi
cmpl $0x105, %eax            # imm = 0x105
jne 0x60b67
callq 0x628ac
movq %r14, %rdi
leaq 0x18(%rsp), %rsi
movl %eax, %edx
callq 0x62868
movl 0x30(%r14), %eax
movl %eax, 0x34(%r14)
movq %r14, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x62868
movq %rbx, %rdi
callq 0x62804
movl %eax, %r13d
jmp 0x60b22
cmpl $0x104, %eax            # imm = 0x104
jne 0x60dfe
callq 0x628ac
movq %r14, %rdi
leaq 0x18(%rsp), %rsi
movl %eax, %edx
callq 0x62868
movl 0x30(%r14), %eax
movl %eax, 0x34(%r14)
movq %r14, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x62868
movl 0x4(%rbx), %eax
movl 0x20(%rbx), %ecx
movl %eax, 0x8(%rbx)
cmpl $0x11f, %ecx            # imm = 0x11F
jne 0x61322
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x61335
movq 0x30(%rbx), %rcx
movl $0xffffffff, 0x48(%rsp) # imm = 0xFFFFFFFF
movb $0x1, 0x4e(%rsp)
movb 0x4a(%rcx), %al
movb %al, 0x4c(%rsp)
movb $0x0, 0x4d(%rsp)
movq 0x28(%rcx), %rax
movq %rax, 0x40(%rsp)
leaq 0x40(%rsp), %rax
movq %rax, 0x28(%rcx)
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
movq %rcx, 0x58(%rsp)
jne 0x60e47
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x60e5a
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x610ca
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x610dd
movq 0x30(%rbx), %r14
movl 0x30(%r14), %r15d
movl %r15d, 0x34(%r14)
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movl %edx, 0x20(%rsp)
movb $0x1, 0x26(%rsp)
movb 0x4a(%r14), %al
movb %al, 0x24(%rsp)
movb $0x0, 0x25(%rsp)
movq 0x28(%r14), %rcx
movq %rcx, 0x18(%rsp)
movq %r13, 0x28(%r14)
movl %edx, 0x48(%rsp)
movb %al, 0x4c(%rsp)
movw $0x0, 0x4d(%rsp)
movq %r13, 0x40(%rsp)
leaq 0x40(%rsp), %rax
movq %rax, 0x28(%r14)
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x61150
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x61163
movq 0x30(%rbx), %r14
movq %rbx, %rdi
leaq 0x20(%rsp), %rsi
callq 0x6443b
cmpl $0xd, 0x20(%rsp)
jne 0x611d4
movq (%r14), %rax
movq 0x18(%rax), %rax
movslq 0x28(%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 0x61436
movq 0x30(%rbx), %r14
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x611f2
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x61205
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
movl $0x109, %esi            # imm = 0x109
callq 0x62690
testl %eax, %eax
je 0x612ab
movq 0x30(%rbx), %r14
movq %rbx, %rdi
callq 0x6492c
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x64a13
movl 0x3c(%r14), %eax
movq $-0x1, 0x28(%rsp)
movl $0x6, 0x18(%rsp)
movl %eax, 0x20(%rsp)
movq %r14, %rdi
movl $0x1, %esi
callq 0x63cbf
incl 0x3c(%r14)
movq 0x30(%rbx), %rax
movb 0x4a(%rax), %cl
incb %cl
movb %cl, 0x4a(%rax)
movq (%rax), %rdx
movq 0x30(%rdx), %rdx
movl 0x30(%rax), %esi
movzbl %cl, %ecx
movzwl 0xc2(%rax,%rcx,2), %eax
shll $0x4, %eax
movl %esi, 0x8(%rdx,%rax)
movl 0x4(%rbx), %ecx
movq %rbx, %rdi
leaq 0x40(%rsp), %rbp
movq %rbp, %rsi
xorl %edx, %edx
callq 0x6411e
movq %r14, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x655a2
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 0x61436
leaq 0x18(%rsp), %rsi
movl %r13d, %edx
movq %rsi, %r13
callq 0x62868
jmp 0x61342
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0x626d8
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x103, %edx            # imm = 0x103
movl %ebp, %ecx
callq 0x62717
jmp 0x61436
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0x6492c
movq %rax, %r13
movl 0x10(%rbx), %edx
cmpl $0x2c, %edx
je 0x60f8f
cmpl $0x10b, %edx            # imm = 0x10B
je 0x60f8f
cmpl $0x3d, %edx
jne 0x615da
movq 0x30(%rbx), %r14
movl 0x3c(%r14), %eax
movl %eax, 0x3c(%rsp)
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x8d3f1(%rip), %rsi     # 0xee292
callq 0x62525
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x64a13
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x8d3dc(%rip), %rsi     # 0xee29e
callq 0x62525
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x64a13
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x8d3c4(%rip), %rsi     # 0xee2aa
callq 0x62525
movq %rbx, %rdi
movq %rax, %rsi
movl $0x2, %edx
callq 0x64a13
movq %rbx, %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x64a13
movq %rbx, %rdi
movl $0x3d, %esi
callq 0x62931
movq %rbx, %rdi
leaq 0x18(%rsp), %r13
movq %r13, %rsi
xorl %edx, %edx
callq 0x629ed
movq 0x30(%rbx), %rdi
movq %r13, %rsi
callq 0x635d4
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x62931
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x629ed
movq 0x30(%rbx), %rdi
movq %r13, %rsi
callq 0x635d4
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x62690
testl %eax, %eax
je 0x6139f
movq %rbx, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x629ed
movq 0x30(%rbx), %rdi
movq %r13, %rsi
callq 0x635d4
jmp 0x613ff
movq 0x30(%rbx), %rax
movq %rax, 0x60(%rsp)
movl 0x3c(%rax), %eax
movl %eax, 0x3c(%rsp)
movl $0xf, %edx
movq %rbx, %rdi
leaq 0x8d307(%rip), %rsi     # 0xee2b5
callq 0x62525
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x64a13
movl $0xb, %edx
movq %rbx, %rdi
leaq 0x8d2f6(%rip), %rsi     # 0xee2c5
callq 0x62525
movl $0x1, %r15d
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x64a13
movl $0xd, %edx
movq %rbx, %rdi
leaq 0x8d2d8(%rip), %rsi     # 0xee2d1
callq 0x62525
movq %rbx, %rdi
movq %rax, %rsi
movl $0x2, %edx
callq 0x64a13
movq %rbx, %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x64a13
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x62690
testl %eax, %eax
je 0x61067
movl $0x4, %r15d
movl %r15d, %r13d
movq %rbx, %rdi
callq 0x6492c
leal 0x1(%r13), %r15d
movq %rbx, %rdi
movq %rax, %rsi
movl %r13d, %edx
callq 0x64a13
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x62690
testl %eax, %eax
jne 0x61035
addl $-0x3, %r15d
movq %rbx, %rdi
movl $0x10b, %esi            # imm = 0x10B
callq 0x62931
movl 0x4(%rbx), %r14d
movq %rbx, %rdi
leaq 0x18(%rsp), %r13
movq %r13, %rsi
callq 0x650eb
movq %rbx, %rdi
movl $0x3, %esi
movl %eax, %edx
movq %r13, %rcx
callq 0x65522
movq 0x60(%rsp), %rdi
movl $0x3, %esi
callq 0x63cbf
movq %rbx, %rdi
movl 0x3c(%rsp), %esi
movl %r14d, %edx
movl %r15d, %ecx
xorl %r8d, %r8d
callq 0x653c0
leaq 0x8c283(%rip), %r15     # 0xed348
jmp 0x61418
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
movq %r13, %rsi
callq 0x64eb2
movl (%r12), %eax
cmpl $0x2e, %eax
jne 0x610fe
movq %rbx, %rdi
movq %r13, %rsi
callq 0x64c2f
jmp 0x610e8
cmpl $0x3a, %eax
jne 0x61115
movq %rbx, %rdi
movq %r13, %rsi
callq 0x64c2f
movl $0x1, %edx
jmp 0x61117
xorl %edx, %edx
movq %rbx, %rdi
leaq 0x40(%rsp), %r14
movq %r14, %rsi
movl %ebp, %ecx
callq 0x6411e
movq 0x30(%rbx), %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x655a2
movq 0x30(%rbx), %rax
movq (%rax), %rcx
movq 0x28(%rcx), %rcx
movslq 0x30(%rax), %rax
movl %ebp, -0x4(%rcx,%rax,4)
jmp 0x61436
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0x60a38
movq %rbx, %rdi
movl $0x114, %esi            # imm = 0x114
movl $0x110, %edx            # imm = 0x110
movl %ebp, %ecx
callq 0x62717
movq %rbx, %rdi
callq 0x628f3
movl %eax, %ebp
cmpb $0x0, 0x4d(%rsp)
je 0x61302
movq %rbx, %rdi
callq 0x62791
movq 0x30(%rbx), %rdi
movl 0x30(%rdi), %eax
movl %eax, 0x34(%rdi)
leaq 0x38(%rdi), %rsi
movl %ebp, %edx
callq 0x62868
movq %r14, %rdi
callq 0x65300
movq 0x30(%rbx), %r13
movq %r14, %rdi
callq 0x628ac
movq %r13, %rdi
leaq 0x18(%rsp), %r13
movl %eax, %esi
jmp 0x61310
movq $0x0, 0x18(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movl $0x1, %edx
callq 0x6568a
jmp 0x61436
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movl 0x30(%r14), %r13d
movl %r13d, 0x34(%r14)
movq %rbx, %rdi
callq 0x628f3
movl %eax, 0x58(%rsp)
movl $0xffffffff, 0x20(%rsp) # imm = 0xFFFFFFFF
movb $0x1, 0x26(%rsp)
movb 0x4a(%r14), %al
movb %al, 0x24(%rsp)
movb $0x0, 0x25(%rsp)
movq 0x28(%r14), %rax
movq %rax, 0x18(%rsp)
leaq 0x18(%rsp), %r15
movq %r15, 0x28(%r14)
movq %rbx, %rdi
movl $0x103, %esi            # imm = 0x103
callq 0x62931
movq %rbx, %rdi
callq 0x626d8
movq %r14, %rdi
callq 0x628ac
movq %r14, %rdi
movl %eax, %esi
movl %r13d, %edx
movq %r15, %r13
callq 0x652d8
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x115, %edx            # imm = 0x115
movl %ebp, %ecx
callq 0x62717
movq %r14, %rdi
callq 0x65300
movl 0x30(%r14), %eax
movl %eax, 0x34(%r14)
leaq 0x38(%r14), %rsi
movq %r14, %rdi
movl 0x58(%rsp), %edx
callq 0x62868
jmp 0x6136d
xorl %ebp, %ebp
movl %ebp, %r14d
movq %rbx, %rdi
callq 0x6492c
leal 0x1(%r14), %ebp
movq %rbx, %rdi
movq %rax, %rsi
movl %r14d, %edx
callq 0x64a13
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x62690
testl %eax, %eax
jne 0x612ad
movq %rbx, %rdi
movl $0x3d, %esi
callq 0x62690
testl %eax, %eax
je 0x61379
movq %rbx, %rdi
movq %r13, %rsi
callq 0x650eb
movl %eax, %edx
jmp 0x61383
movq %r14, %rdi
callq 0x65300
movq 0x30(%rbx), %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0x652d8
movq %r14, %rdi
callq 0x65300
jmp 0x6136d
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0x626d8
leaq 0x18(%rsp), %r13
movl 0x18(%rsp), %edx
movl 0x30(%r14), %eax
movl %eax, 0x34(%r14)
movq %r14, %rdi
movq %r15, %rsi
callq 0x62868
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x10a, %edx            # imm = 0x10A
movl %ebp, %ecx
callq 0x62717
leaq 0x8bfd4(%rip), %r15     # 0xed348
jmp 0x61436
movl $0x0, 0x18(%rsp)
xorl %edx, %edx
movq %rbx, %rdi
movl %ebp, %esi
movq %r13, %rcx
callq 0x65522
movq %rbx, %rdi
movl %ebp, %esi
callq 0x64bec
jmp 0x61436
movl 0x3c(%r14), %r15d
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x18(%rsp)
movl $0x3, 0x20(%rsp)
movq %r14, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x63ac5
shll $0x6, %r15d
shll $0xe, %eax
orl %eax, %r15d
incl %r15d
movq 0x18(%r14), %rax
movl 0x8(%rax), %edx
movq %r14, %rdi
movl %r15d, %esi
leaq 0x8bf5f(%rip), %r15     # 0xed348
callq 0x63675
movq %r14, %rdi
movl $0x1, %esi
callq 0x63cbf
incl 0x3c(%r14)
movq %rbx, %rdi
movl 0x3c(%rsp), %esi
movl %ebp, %edx
movl $0x1, %ecx
movl $0x1, %r8d
callq 0x653c0
movq %rbx, %rdi
movl $0x106, %esi            # imm = 0x106
movl $0x108, %edx            # imm = 0x108
movl %ebp, %ecx
callq 0x62717
movq 0x58(%rsp), %rdi
callq 0x65300
movq %rbx, %rdi
movl $0x3b, %esi
callq 0x62690
movq 0x30(%rbx), %rax
movzbl 0x4a(%rax), %ecx
movl %ecx, 0x3c(%rax)
jmp 0x60a86
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x61493
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x614a6
movq 0x30(%rbx), %r15
movl %ebp, 0x8(%rbx)
cmpl $0x11f, 0x20(%rbx)      # imm = 0x11F
jne 0x614b3
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
callq 0x617cb
movl %eax, 0x10(%rbx)
jmp 0x614c6
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0x62791
jmp 0x6159a
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movl (%r12), %edi
leal -0x104(%rdi), %ecx
cmpl $0x1c, %ecx
setb %al
movl $0x8010007, %edx        # imm = 0x8010007
shrl %cl, %edx
xorl %esi, %esi
movl $0x80001e, %ebp         # imm = 0x80001E
cmpl $0x3b, %edi
je 0x61586
andb %dl, %al
jne 0x61586
leaq 0x18(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x650eb
movl %eax, %ebp
movl (%r14), %eax
addl $-0xd, %eax
cmpl $0x1, %eax
ja 0x61558
leaq 0x18(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6498c
movl (%r14), %eax
xorl $0xd, %eax
xorl $0x1, %ebp
orl %eax, %ebp
jne 0x6154c
movq (%r15), %rax
movq 0x18(%rax), %rax
movslq 0x20(%rsp), %rcx
movl (%rax,%rcx,4), %edx
andl $-0x40, %edx
orl $0x1d, %edx
movl %edx, (%rax,%rcx,4)
movzbl 0x4a(%r15), %esi
movl $0x1e, %ebp
jmp 0x61586
leaq 0x18(%rsp), %rsi
movq %r15, %rdi
cmpl $0x1, %ebp
jne 0x61573
callq 0x631f7
movl %eax, %esi
movl $0x100001e, %ebp        # imm = 0x100001E
jmp 0x61586
callq 0x635d4
movzbl 0x4a(%r15), %esi
shll $0x17, %ebp
addl $0x80001e, %ebp         # imm = 0x80001E
shll $0x6, %esi
orl %ebp, %esi
movq 0x18(%r15), %rax
movl 0x8(%rax), %edx
movq %r15, %rdi
callq 0x63675
movq %rbx, %rdi
movl $0x3b, %esi
callq 0x62690
movq 0x30(%rbx), %rax
movzbl 0x4a(%rax), %ecx
movl %ecx, 0x3c(%rax)
movq 0x38(%rbx), %rax
decw 0x60(%rax)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8cac6(%rip), %rsi     # 0xee096
movq %rbx, %rdi
xorl %edx, %edx
callq 0x62217
leaq 0x8cc9c(%rip), %rsi     # 0xee27d
movq %rbx, %rdi
callq 0x62217