LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: statlist
static void statlist (LexState *ls) {
  /* statlist -> { stat [';'] } */
  while (!block_follow(ls, 1)) {
    if (ls->t.token == TK_RETURN) {
      statement(ls);
      return;  /* 'return' must be last statement */
    }
    statement(ls);
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0xfffffefc, %ebp       # imm = 0xFFFFFEFC
movl $0x20020007, %r14d      # imm = 0x20020007
movl 0x10(%rbx), %eax
addl %ebp, %eax
cmpl $0x1d, %eax
ja 0xc903
btl %eax, %r14d
jb 0xc90d
cmpl $0xe, %eax
je 0xc912
movq %rbx, %rdi
callq 0xcae1
jmp 0xc8ee
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0xcae1
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: errorlimit
static l_noret errorlimit (FuncState *fs, int limit, const char *what) {
  lua_State *L = fs->ls->L;
  const char *msg;
  int line = fs->f->linedefined;
  const char *where = (line == 0)
                      ? "main function"
                      : luaO_pushfstring(L, "function at line %d", line);
  msg = luaO_pushfstring(L, "too many %s (limit is %d) in %s",
                             what, limit, where);
  luaX_syntaxerror(fs->ls, msg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x10(%rdi), %rcx
movq 0x38(%rcx), %r15
movl 0x28(%rax), %edx
testl %edx, %edx
jne 0xcaab
leaq 0x15fa1(%rip), %r8      # 0x22a4a
jmp 0xcabf
leaq 0x15fa6(%rip), %rsi     # 0x22a58
movq %r15, %rdi
xorl %eax, %eax
callq 0xc391
movq %rax, %r8
leaq 0x15fa6(%rip), %rsi     # 0x22a6c
movq %r15, %rdi
movq %r14, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0xc391
movq 0x10(%rbx), %rdi
movq %rax, %rsi
callq 0x1790e
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: block
static void block (LexState *ls) {
  /* block -> statlist */
  FuncState *fs = ls->fs;
  BlockCnt bl;
  enterblock(fs, &bl, 0);
  statlist(ls);
  leaveblock(fs);
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq 0x30(%rdi), %rbx
xorl %eax, %eax
leaq 0x8(%rsp), %rcx
movb %al, 0x12(%rcx)
movb 0x3a(%rbx), %dl
movb %dl, 0x10(%rcx)
movq 0x10(%rbx), %rdx
movq 0x58(%rdx), %rdx
movl 0x28(%rdx), %esi
movl %esi, 0x8(%rcx)
movl 0x18(%rdx), %edx
movl %edx, 0xc(%rcx)
movb %al, 0x11(%rcx)
movq 0x18(%rbx), %rax
movq %rax, (%rcx)
movq %rcx, 0x18(%rbx)
callq 0xc8dc
movq %rbx, %rdi
callq 0xd709
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: check_match
static void check_match (LexState *ls, int what, int who, int where) {
  if (!testnext(ls, what)) {
    if (where == ls->linenumber)
      error_expected(ls, what);
    else {
      luaX_syntaxerror(ls, luaO_pushfstring(ls->L,
             "%s expected (to close %s at line %d)",
              luaX_token2str(ls, what), luaX_token2str(ls, who), where));
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
cmpl %esi, 0x10(%rdi)
jne 0xd61e
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x17a92
movl %ecx, %ebp
cmpl %ecx, 0x4(%rbx)
jne 0xd62d
movq %rbx, %rdi
callq 0xec32
movl %edx, %r14d
movq 0x38(%rbx), %r15
movq %rbx, %rdi
callq 0x178c3
movq %rax, %r12
movq %rbx, %rdi
movl %r14d, %esi
callq 0x178c3
leaq 0x15564(%rip), %rsi     # 0x22bb5
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0xc391
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1790e
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: str_checkname
static TString *str_checkname (LexState *ls) {
  TString *ts;
  check(ls, TK_NAME);
  ts = ls->t.seminfo.ts;
  luaX_next(ls);
  return ts;
}

// Assembly:
pushq %rbx
cmpl $0x124, 0x10(%rdi)      # imm = 0x124
jne 0xd687
movq 0x18(%rdi), %rbx
callq 0x17a92
movq %rbx, %rax
popq %rbx
retq
movl $0x124, %esi            # imm = 0x124
callq 0xec32
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: gotostat
static void gotostat (LexState *ls, int pc) {
  int line = ls->linenumber;
  TString *label;
  int g;
  if (testnext(ls, TK_GOTO))
    label = str_checkname(ls);
  else {
    luaX_next(ls);  /* skip break */
    label = luaS_new(ls->L, "break");
  }
  g = newlabelentry(ls, &ls->dyd->gt, label, line, pc);
  findlabel(ls, g);  /* close it if label already defined */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl 0x4(%rdi), %r14d
movl 0x10(%rdi), %r15d
callq 0x17a92
cmpl $0x10a, %r15d           # imm = 0x10A
jne 0xd6bd
movq %rbx, %rdi
callq 0xd66f
jmp 0xd6cd
movq 0x38(%rbx), %rdi
leaq 0x15454(%rip), %rsi     # 0x22b1c
callq 0xfa60
movq 0x58(%rbx), %rsi
addq $0x10, %rsi
movq %rbx, %rdi
movq %rax, %rdx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0xe9c7
movq %rbx, %rdi
movl %eax, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xeb74
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: leaveblock
static void leaveblock (FuncState *fs) {
  BlockCnt *bl = fs->bl;
  LexState *ls = fs->ls;
  if (bl->previous && bl->upval) {
    /* create a 'jump to here' to close upvalues */
    int j = luaK_jump(fs);
    luaK_patchclose(fs, j, bl->nactvar);
    luaK_patchtohere(fs, j);
  }
  if (bl->isloop)
    breaklabel(ls);  /* close pending breaks */
  fs->bl = bl->previous;
  removevars(fs, bl->nactvar);
  lua_assert(bl->nactvar == fs->nactvar);
  fs->freereg = fs->nactvar;  /* free registers */
  ls->dyd->label.n = bl->firstlabel;  /* remove local labels */
  if (bl->previous)  /* inner block? */
    movegotosout(fs, bl);  /* update pending gotos to outer block */
  else if (bl->firstgoto < ls->dyd->gt.n)  /* pending gotos in outer block? */
    undefgoto(ls, &ls->dyd->gt.arr[bl->firstgoto]);  /* error */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %r14
movq 0x18(%rdi), %r15
cmpq $0x0, (%r15)
je 0xd74c
cmpb $0x0, 0x11(%r15)
je 0xd74c
movq %rbx, %rdi
callq 0x16257
movl %eax, %ebp
movzbl 0x10(%r15), %edx
movq %rbx, %rdi
movl %eax, %esi
callq 0x16375
movq %rbx, %rdi
movl %ebp, %esi
callq 0x162c3
cmpb $0x0, 0x12(%r15)
je 0xd79a
movq 0x38(%r14), %rdi
leaq 0x153be(%rip), %rsi     # 0x22b1c
callq 0xfa60
movq 0x30(%r14), %rcx
movq 0x58(%r14), %rsi
addq $0x20, %rsi
movl 0x20(%rcx), %r8d
movq %r14, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0xe9c7
movq 0x58(%r14), %rcx
cltq
leaq (%rax,%rax,2), %rsi
shlq $0x3, %rsi
addq 0x20(%rcx), %rsi
movq %r14, %rdi
callq 0xea4b
movq (%r15), %rax
movq %rax, 0x18(%rbx)
movzbl 0x10(%r15), %edx
movb 0x3a(%rbx), %sil
movzbl %sil, %ecx
movl %edx, %edi
subl %ecx, %edi
movq 0x10(%rbx), %r8
movq 0x58(%r8), %r12
addl %edi, 0x8(%r12)
cmpb %dl, %cl
jbe 0xd800
movl 0x20(%rbx), %esi
movq (%r12), %r8
movslq 0x34(%rbx), %r9
movq (%rbx), %rdi
movq 0x50(%rdi), %rdi
leaq (%rcx,%rcx), %r10
leaq (%r10,%r9,2), %r9
addq %r9, %r8
addq $-0x2, %r8
movswq (%r8), %r9
shlq $0x4, %r9
movl %esi, 0xc(%rdi,%r9)
decl %ecx
addq $-0x2, %r8
cmpl %edx, %ecx
ja 0xd7e4
movb %cl, 0x3a(%rbx)
movl %ecx, %esi
movb %sil, 0x3c(%rbx)
movl 0x8(%r15), %edx
movq 0x58(%r14), %rcx
movl %edx, 0x28(%rcx)
movl 0xc(%r15), %ebp
testq %rax, %rax
je 0xd86a
cmpl 0x18(%r12), %ebp
jge 0xd86f
movq 0x10(%r12), %rcx
movslq %ebp, %rax
leaq (%rax,%rax,2), %rdx
movb 0x10(%r15), %al
cmpb %al, 0x10(%rcx,%rdx,8)
jbe 0xd857
leaq (%rcx,%rdx,8), %r14
cmpb $0x0, 0x11(%r15)
je 0xd853
movzbl %al, %edx
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x16375
movb 0x10(%r15), %al
movb %al, 0x10(%r14)
movq 0x10(%rbx), %rdi
movl %ebp, %esi
callq 0xeb74
cmpl $0x1, %eax
adcl $0x0, %ebp
jmp 0xd818
cmpl 0x18(%rcx), %ebp
jl 0xd878
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movslq %ebp, %rax
leaq (%rax,%rax,2), %rsi
shlq $0x3, %rsi
addq 0x10(%rcx), %rsi
movq %r14, %rdi
callq 0xe97b
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: suffixedexp
static void suffixedexp (LexState *ls, expdesc *v) {
  /* suffixedexp ->
       primaryexp { '.' NAME | '[' exp ']' | ':' NAME funcargs | funcargs } */
  FuncState *fs = ls->fs;
  int line = ls->linenumber;
  primaryexp(ls, v);
  for (;;) {
    switch (ls->t.token) {
      case '.': {  /* fieldsel */
        fieldsel(ls, v);
        break;
      }
      case '[': {  /* '[' exp1 ']' */
        expdesc key;
        luaK_exp2anyregup(fs, v);
        yindex(ls, &key);
        luaK_indexed(fs, v, &key);
        break;
      }
      case ':': {  /* ':' NAME funcargs */
        expdesc key;
        luaX_next(ls);
        checkname(ls, &key);
        luaK_self(fs, v, &key);
        funcargs(ls, v, line);
        break;
      }
      case '(': case TK_STRING: case '{': {  /* funcargs */
        luaK_exp2nextreg(fs, v);
        funcargs(ls, v, line);
        break;
      }
      default: return;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x30(%rdi), %r15
movl 0x4(%rdi), %ebp
movl 0x10(%rdi), %eax
cmpl $0x124, %eax            # imm = 0x124
je 0xe1f6
cmpl $0x28, %eax
jne 0xe2da
movq %rbx, %rdi
callq 0x17a92
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xd88f
movq %rbx, %rdi
movl $0x29, %esi
movl $0x28, %edx
movl %ebp, %ecx
callq 0xd5fe
movq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0x1684b
jmp 0xe201
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe7c9
leaq 0x8(%rsp), %r12
movl 0x10(%rbx), %eax
cmpl $0x5a, %eax
jg 0xe266
cmpl $0x28, %eax
je 0xe277
cmpl $0x2e, %eax
je 0xe2bd
cmpl $0x3a, %eax
jne 0xe2cd
movq %rbx, %rdi
callq 0x17a92
movq %rbx, %rdi
callq 0xd66f
movq 0x30(%rbx), %rdi
movq %rax, %rsi
callq 0x16516
movq $-0x1, 0x18(%rsp)
movl $0x4, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x16ca0
jmp 0xe282
cmpl $0x5b, %eax
je 0xe294
cmpl $0x7b, %eax
je 0xe277
cmpl $0x125, %eax            # imm = 0x125
jne 0xe2cd
movq %r15, %rdi
movq %r14, %rsi
callq 0x168d7
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xe68e
jmp 0xe206
movq %r15, %rdi
movq %r14, %rsi
callq 0x16aae
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe3b3
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x16f08
jmp 0xe206
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe62c
jmp 0xe206
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1480d(%rip), %rsi     # 0x22aee
movq %rbx, %rdi
callq 0x1790e
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: recfield
static void recfield (LexState *ls, struct ConsControl *cc) {
  /* recfield -> (NAME | '['exp1']') = exp1 */
  FuncState *fs = ls->fs;
  int reg = ls->fs->freereg;
  expdesc key, val;
  int rkkey;
  if (ls->t.token == TK_NAME) {
    checklimit(fs, cc->nh, MAX_INT, "items in a constructor");
    checkname(ls, &key);
  }
  else  /* ls->t.token == '[' */
    yindex(ls, &key);
  cc->nh++;
  checknext(ls, '=');
  rkkey = luaK_exp2RK(fs, &key);
  expr(ls, &val);
  luaK_codeABC(fs, OP_SETTABLE, cc->t->u.info, rkkey, luaK_exp2RK(fs, &val));
  fs->freereg = reg;  /* free registers */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %r15
movq 0x30(%rdi), %rbx
movb 0x3c(%rbx), %r13b
cmpl $0x124, 0x10(%rdi)      # imm = 0x124
jne 0xe339
movq %r15, %rdi
callq 0xd66f
movq 0x30(%r15), %rdi
movq %rax, %rsi
callq 0x16516
movq $-0x1, 0x18(%rsp)
movl $0x4, 0x8(%rsp)
movl %eax, 0x10(%rsp)
jmp 0xe346
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xe3b3
incl 0x20(%r14)
movq %r15, %rdi
movl $0x3d, %esi
callq 0xd6fa
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x16ad5
movl %eax, %ebp
leaq 0x20(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xd88f
movq 0x18(%r14), %rax
movl 0x8(%rax), %r14d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x16ad5
movq %rbx, %rdi
movl $0xa, %esi
movl %r14d, %edx
movl %ebp, %ecx
movl %eax, %r8d
callq 0x161bd
movb %r13b, 0x3c(%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: yindex
static void yindex (LexState *ls, expdesc *v) {
  /* index -> '[' expr ']' */
  luaX_next(ls);  /* skip the '[' */
  expr(ls, v);
  luaK_exp2val(ls->fs, v);
  checknext(ls, ']');
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x17a92
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xd88f
movq 0x30(%r14), %rdi
movq %rbx, %rsi
callq 0x16ac4
movq %r14, %rdi
movl $0x5d, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xd6fa
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: adjustlocalvars
static void adjustlocalvars (LexState *ls, int nvars) {
  FuncState *fs = ls->fs;
  fs->nactvar = cast_byte(fs->nactvar + nvars);
  for (; nvars; nvars--) {
    getlocvar(fs, fs->nactvar - nvars)->startpc = fs->pc;
  }
}

// Assembly:
movb 0x3a(%rdi), %cl
addb %sil, %cl
movb %cl, 0x3a(%rdi)
testl %esi, %esi
je 0xe43e
movl 0x20(%rdi), %eax
movzbl %cl, %ecx
movq (%rdi), %r8
movq 0x10(%rdi), %rdx
movq 0x58(%rdx), %rdx
movq (%rdx), %rdx
movq 0x50(%r8), %r8
addl 0x34(%rdi), %ecx
movl %esi, %edi
subl %esi, %ecx
decq %rdi
movq %rdi, %rsi
movslq %ecx, %rcx
movswq (%rdx,%rcx,2), %r9
shlq $0x4, %r9
movl %eax, 0x8(%r8,%r9)
incl %ecx
decq %rsi
testl %edi, %edi
movq %rsi, %rdi
jne 0xe421
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: new_localvar
static void new_localvar (LexState *ls, TString *name) {
  FuncState *fs = ls->fs;
  Dyndata *dyd = ls->dyd;
  int reg = registerlocalvar(ls, name);
  checklimit(fs, dyd->actvar.n + 1 - fs->firstlocal,
                  MAXVARS, "local variables");
  luaM_growvector(ls->L, dyd->actvar.arr, dyd->actvar.n + 1,
                  dyd->actvar.size, Vardesc, MAX_INT, "local variables");
  dyd->actvar.arr[dyd->actvar.n++].idx = cast(short, reg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq 0x30(%rdi), %r14
movq 0x58(%rdi), %r13
movq (%r14), %r12
movslq 0x24(%r12), %rbp
movswl 0x38(%r14), %eax
cmpl %eax, %ebp
jle 0xe473
movq 0x50(%r12), %rax
jmp 0xe54f
leaq 0x24(%r12), %rdx
movq 0x38(%rbx), %rdi
movq 0x50(%r12), %rsi
leaq 0x1463d(%rip), %r9      # 0x22ac5
movl $0x10, %ecx
movl $0x7fff, %r8d           # imm = 0x7FFF
callq 0xb838
movq %rax, 0x50(%r12)
movslq 0x24(%r12), %rdx
cmpl %edx, %ebp
jge 0xe54f
subq %rbp, %rdx
leaq 0x1(%rdx), %rcx
andq $-0x2, %rcx
decq %rdx
movq %rdx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
shlq $0x4, %rbp
leaq (%rax,%rbp), %rdx
addq $0x10, %rdx
xorl %esi, %esi
movdqa 0x13c18(%rip), %xmm1    # 0x220f0
movdqa 0x13c20(%rip), %xmm2    # 0x22100
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movq %rsi, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
por %xmm1, %xmm4
pxor %xmm2, %xmm4
movdqa %xmm4, %xmm5
pcmpgtd %xmm0, %xmm5
pcmpeqd %xmm0, %xmm4
pshufd $0xf5, %xmm4, %xmm6     # xmm6 = xmm4[1,1,3,3]
pand %xmm5, %xmm6
pshufd $0xf5, %xmm5, %xmm4     # xmm4 = xmm5[1,1,3,3]
por %xmm6, %xmm4
movd %xmm4, %edi
notl %edi
testb $0x1, %dil
je 0xe52c
movq $0x0, -0x10(%rdx)
pxor %xmm3, %xmm4
pextrw $0x4, %xmm4, %edi
testb $0x1, %dil
je 0xe542
movq $0x0, (%rdx)
addq $0x2, %rsi
addq $0x20, %rdx
cmpq %rsi, %rcx
jne 0xe4e8
movswq 0x38(%r14), %rbp
movq %rbp, %rcx
shlq $0x4, %rcx
movq %r15, (%rax,%rcx)
testb $0x4, 0x9(%r12)
je 0xe582
testb $0x3, 0x9(%r15)
je 0xe582
movq 0x38(%rbx), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0xa140
movzwl 0x38(%r14), %ebp
leal 0x1(%rbp), %eax
movw %ax, 0x38(%r14)
movl 0x8(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, %eax
subl 0x34(%r14), %eax
cmpl $0xc9, %eax
jge 0xe5f2
leal 0x2(%rcx), %esi
movq (%r13), %rax
cmpl 0xc(%r13), %esi
jle 0xe5d8
leaq 0xc(%r13), %rdx
movq 0x38(%rbx), %rdi
leaq 0x1450b(%rip), %r9      # 0x22ac5
movl $0x2, %ecx
movq %rax, %rsi
movl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
callq 0xb838
movq %rax, (%r13)
movl 0x8(%r13), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x8(%r13)
movslq %ecx, %rcx
movw %bp, (%rax,%rcx,2)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x144cc(%rip), %rdx     # 0x22ac5
movq %r14, %rdi
movl $0xc8, %esi
callq 0xca81
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: fieldsel
static void fieldsel (LexState *ls, expdesc *v) {
  /* fieldsel -> ['.' | ':'] NAME */
  FuncState *fs = ls->fs;
  expdesc key;
  luaK_exp2anyregup(fs, v);
  luaX_next(ls);  /* skip the dot or colon */
  checkname(ls, &key);
  luaK_indexed(fs, v, &key);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x30(%rdi), %r15
movq %r15, %rdi
callq 0x16aae
movq %r14, %rdi
callq 0x17a92
movq %r14, %rdi
callq 0xd66f
movq 0x30(%r14), %rdi
movq %rax, %rsi
callq 0x16516
leaq 0x8(%rsp), %rdx
movq $-0x1, 0x10(%rdx)
movl $0x4, (%rdx)
movl %eax, 0x8(%rdx)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x16f08
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: funcargs
static void funcargs (LexState *ls, expdesc *f, int line) {
  FuncState *fs = ls->fs;
  expdesc args;
  int base, nparams;
  switch (ls->t.token) {
    case '(': {  /* funcargs -> '(' [ explist ] ')' */
      luaX_next(ls);
      if (ls->t.token == ')')  /* arg list is empty? */
        args.k = VVOID;
      else {
        explist(ls, &args);
        luaK_setmultret(fs, &args);
      }
      check_match(ls, ')', '(', line);
      break;
    }
    case '{': {  /* funcargs -> constructor */
      constructor(ls, &args);
      break;
    }
    case TK_STRING: {  /* funcargs -> STRING */
      codestring(ls, &args, ls->t.seminfo.ts);
      luaX_next(ls);  /* must use 'seminfo' before 'next' */
      break;
    }
    default: {
      luaX_syntaxerror(ls, "function arguments expected");
    }
  }
  lua_assert(f->k == VNONRELOC);
  base = f->u.info;  /* base register for call */
  if (hasmultret(args.k))
    nparams = LUA_MULTRET;  /* open call */
  else {
    if (args.k != VVOID)
      luaK_exp2nextreg(fs, &args);  /* close last argument */
    nparams = fs->freereg - (base+1);
  }
  init_exp(f, VCALL, luaK_codeABC(fs, OP_CALL, base, nparams+1, 2));
  luaK_fixline(fs, line);
  fs->freereg = base+1;  /* call remove function and arguments and leaves
                            (unless changed) one result */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x30(%rdi), %rbx
movl 0x10(%rdi), %eax
cmpl $0x125, %eax            # imm = 0x125
je 0xe6e6
cmpl $0x7b, %eax
je 0xe6d7
cmpl $0x28, %eax
jne 0xe7ba
movq %r15, %rdi
callq 0x17a92
cmpl $0x29, 0x10(%r15)
jne 0xe715
movl $0x0, 0x8(%rsp)
jmp 0xe735
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xdcd4
jmp 0xe749
movq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0x16516
movq $-0x1, 0x18(%rsp)
movl $0x4, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movq %r15, %rdi
callq 0x17a92
movl 0x8(%r14), %r15d
jmp 0xe75f
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xe932
movq %rbx, %rdi
movq %r12, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x16789
movq %r15, %rdi
movl $0x29, %esi
movl $0x28, %edx
movl %ebp, %ecx
callq 0xd5fe
movl 0x8(%rsp), %eax
movl 0x8(%r14), %r15d
leal -0xd(%rax), %edx
xorl %ecx, %ecx
cmpl $0x2, %edx
jb 0xe773
testl %eax, %eax
je 0xe76c
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x168d7
movzbl 0x3c(%rbx), %ecx
subl %r15d, %ecx
movq %rbx, %rdi
movl $0x24, %esi
movl %r15d, %edx
movl $0x2, %r8d
callq 0x161bd
movq $-0x1, 0x10(%r14)
movl $0xd, (%r14)
movl %eax, 0x8(%r14)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x17508
incb %r15b
movb %r15b, 0x3c(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1433f(%rip), %rsi     # 0x22b00
movq %r15, %rdi
callq 0x1790e
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: singlevar
static void singlevar (LexState *ls, expdesc *var) {
  TString *varname = str_checkname(ls);
  FuncState *fs = ls->fs;
  singlevaraux(fs, varname, var, 1);
  if (var->k == VVOID) {  /* global name? */
    expdesc key;
    singlevaraux(fs, ls->envn, var, 1);  /* get environment variable */
    lua_assert(var->k != VVOID);  /* this one must exist */
    codestring(ls, &key, varname);  /* key is variable name */
    luaK_indexed(fs, var, &key);  /* env[varname] */
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r15
callq 0xd66f
movq %rax, %r12
movq 0x30(%r15), %r14
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0xe849
cmpl $0x0, (%rbx)
jne 0xe83d
movq 0x68(%r15), %rsi
movq %r14, %rdi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0xe849
movq 0x30(%r15), %rdi
movq %r12, %rsi
callq 0x16516
movq %rsp, %rdx
movq $-0x1, 0x10(%rdx)
movl $0x4, (%rdx)
movl %eax, 0x8(%rdx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16f08
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: singlevaraux
static void singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) {
  if (fs == NULL)  /* no more levels? */
    init_exp(var, VVOID, 0);  /* default is global */
  else {
    int v = searchvar(fs, n);  /* look up locals at current level */
    if (v >= 0) {  /* found? */
      init_exp(var, VLOCAL, v);  /* variable is local */
      if (!base)
        markupval(fs, v);  /* local will be used as an upval */
    }
    else {  /* not found as local at current level; try upvalues */
      int idx = searchupvalue(fs, n);  /* try existing upvalues */
      if (idx < 0) {  /* not found? */
        singlevaraux(fs->prev, n, var, 0);  /* try upper levels */
        if (var->k == VVOID)  /* not found? */
          return;  /* it is a global */
        /* else was LOCAL or UPVAL */
        idx  = newupvalue(fs, n, var);  /* will be a new upvalue */
      }
      init_exp(var, VUPVAL, idx);  /* new or old upvalue */
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
testq %rdi, %rdi
je 0xe8c2
movq %rsi, %r15
movq %rdi, %r14
movzbl 0x3a(%rdi), %eax
testl %eax, %eax
jle 0xe8d3
decl %eax
movq (%r14), %rdx
movq 0x10(%r14), %rsi
movq 0x58(%rsi), %rsi
movq (%rsi), %rsi
movl 0x34(%r14), %edi
addl %eax, %edi
movslq %edi, %rdi
movswq (%rsi,%rdi,2), %rsi
movq 0x50(%rdx), %rdx
shlq $0x4, %rsi
cmpq %r15, (%rdx,%rsi)
jne 0xe860
movq $-0x1, 0x10(%rbx)
movl $0x8, (%rbx)
movl %eax, 0x8(%rbx)
testl %ecx, %ecx
jne 0xe92c
incl %eax
addq $0x18, %r14
movq (%r14), %r14
movzbl 0x10(%r14), %ecx
cmpl %ecx, %eax
jle 0xe8af
movb $0x1, 0x11(%r14)
jmp 0xe92c
movq $-0x1, 0x10(%rbx)
xorl %eax, %eax
movl %eax, (%rbx)
movl %eax, 0x8(%rbx)
jmp 0xe92c
movzbl 0x3b(%r14), %ecx
testq %rcx, %rcx
je 0xe8f7
movq (%r14), %rax
movq 0x58(%rax), %rdx
xorl %eax, %eax
cmpq %r15, (%rdx)
je 0xe91b
incq %rax
addq $0x10, %rdx
cmpq %rax, %rcx
jne 0xe8e6
movq 0x8(%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xe849
cmpl $0x0, (%rbx)
je 0xe92c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xc758
movq $-0x1, 0x10(%rbx)
movl $0x9, (%rbx)
movl %eax, 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: explist
static int explist (LexState *ls, expdesc *v) {
  /* explist -> expr { ',' expr } */
  int n = 1;  /* at least one expression */
  expr(ls, v);
  while (testnext(ls, ',')) {
    luaK_exp2nextreg(ls->fs, v);
    expr(ls, v);
    n++;
  }
  return n;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
xorl %edx, %edx
callq 0xd88f
movl $0x1, %ebp
cmpl $0x2c, 0x10(%r14)
jne 0xe974
movq %r14, %rdi
callq 0x17a92
movq 0x30(%r14), %rdi
movq %rbx, %rsi
callq 0x168d7
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xd88f
incl %ebp
jmp 0xe948
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: undefgoto
static l_noret undefgoto (LexState *ls, Labeldesc *gt) {
  const char *msg = isreserved(gt->name)
                    ? "<%s> at line %d not inside a loop"
                    : "no visible label '%s' for <goto> at line %d";
  msg = luaO_pushfstring(ls->L, msg, getstr(gt->name), gt->line);
  semerror(ls, msg);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq (%rsi), %rdx
cmpb $0x4, 0x8(%rdx)
jne 0xe9a0
cmpb $0x0, 0xa(%rdx)
leaq 0x141f6(%rip), %rcx     # 0x22b89
leaq 0x141cd(%rip), %rax     # 0x22b67
cmoveq %rcx, %rax
jmp 0xe9a7
leaq 0x141e2(%rip), %rax     # 0x22b89
movq 0x38(%rbx), %rdi
addq $0x18, %rdx
movl 0xc(%rsi), %ecx
movq %rax, %rsi
xorl %eax, %eax
callq 0xc391
movq %rbx, %rdi
movq %rax, %rsi
callq 0xeb67
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: newlabelentry
static int newlabelentry (LexState *ls, Labellist *l, TString *name,
                          int line, int pc) {
  int n = l->n;
  luaM_growvector(ls->L, l->arr, n, l->size,
                  Labeldesc, SHRT_MAX, "labels/gotos");
  l->arr[n].name = name;
  l->arr[n].line = line;
  l->arr[n].nactvar = ls->fs->nactvar;
  l->arr[n].pc = pc;
  l->n = n + 1;
  return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movslq 0x8(%rsi), %r15
movq (%rsi), %rax
cmpl 0xc(%rsi), %r15d
jl 0xea13
leaq 0xc(%r14), %rdx
movq 0x38(%r12), %rdi
leaq 0x14125(%rip), %r9      # 0x22b22
movl $0x18, %ecx
movq %rax, %rsi
movl $0x7fff, %r8d           # imm = 0x7FFF
callq 0xb838
movq %rax, (%r14)
leal 0x1(%r15), %ecx
leaq (%r15,%r15,2), %rdx
movq %r13, (%rax,%rdx,8)
movl %ebp, 0xc(%rax,%rdx,8)
movq 0x30(%r12), %rsi
movb 0x3a(%rsi), %sil
movb %sil, 0x10(%rax,%rdx,8)
movl %ebx, 0x8(%rax,%rdx,8)
movl %ecx, 0x8(%r14)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: findgotos
static void findgotos (LexState *ls, Labeldesc *lb) {
  Labellist *gl = &ls->dyd->gt;
  int i = ls->fs->bl->firstgoto;
  while (i < gl->n) {
    if (eqstr(gl->arr[i].name, lb->name))
      closegoto(ls, i, lb);
    else
      i++;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x30(%rdi), %rax
movq 0x58(%rdi), %r15
movq 0x18(%rax), %rax
movl 0xc(%rax), %ebp
movl 0x18(%r15), %eax
cmpl %eax, %ebp
jge 0xea9c
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%r15), %rcx
movslq %ebp, %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rcx,%rdx,8), %rcx
cmpq (%rbx), %rcx
je 0xea87
incl %ebp
jmp 0xea98
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0xeaa7
movl 0x18(%r15), %eax
cmpl %eax, %ebp
jl 0xea6f
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: closegoto
static void closegoto (LexState *ls, int g, Labeldesc *label) {
  int i;
  FuncState *fs = ls->fs;
  Labellist *gl = &ls->dyd->gt;
  Labeldesc *gt = &gl->arr[g];
  lua_assert(eqstr(gt->name, label->name));
  if (gt->nactvar < label->nactvar) {
    TString *vname = getlocvar(fs, gt->nactvar)->varname;
    const char *msg = luaO_pushfstring(ls->L,
      "<goto %s> at line %d jumps into the scope of local '%s'",
      getstr(gt->name), gt->line, getstr(vname));
    semerror(ls, msg);
  }
  luaK_patchlist(fs, gt->pc, label->pc);
  /* remove goto from pending list */
  for (i = g; i < gl->n - 1; i++)
    gl->arr[i] = gl->arr[i + 1];
  gl->n--;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
movq 0x58(%rbx), %r14
movq 0x10(%r14), %rax
movslq %esi, %r15
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %r12
movzbl 0x10(%r12), %esi
cmpb 0x10(%rdx), %sil
jb 0xeb31
movl 0x8(%r12), %esi
movl 0x8(%rdx), %edx
callq 0x162d4
movl 0x18(%r14), %ecx
decl %ecx
cmpl %ebp, %ecx
jle 0xeb24
leaq (,%r15,8), %rax
leaq (%rax,%rax,2), %rax
movq 0x10(%r14), %rcx
incq %r15
movq 0x28(%rcx,%rax), %rdx
movq %rdx, 0x10(%rcx,%rax)
movups 0x18(%rcx,%rax), %xmm0
movups %xmm0, (%rcx,%rax)
movslq 0x18(%r14), %rcx
decq %rcx
addq $0x18, %rax
cmpq %rcx, %r15
jl 0xeafa
movl %ecx, 0x18(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0xe606
movq (%rax), %r8
movq 0x38(%rbx), %rdi
movq (%r12), %rdx
addq $0x18, %rdx
movl 0xc(%r12), %ecx
addq $0x18, %r8
leaq 0x13fda(%rip), %rsi     # 0x22b2f
xorl %eax, %eax
callq 0xc391
movq %rbx, %rdi
movq %rax, %rsi
callq 0xeb67
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: findlabel
static int findlabel (LexState *ls, int g) {
  int i;
  BlockCnt *bl = ls->fs->bl;
  Dyndata *dyd = ls->dyd;
  Labeldesc *gt = &dyd->gt.arr[g];
  /* check labels in current block for a match */
  for (i = bl->firstlabel; i < dyd->label.n; i++) {
    Labeldesc *lb = &dyd->label.arr[i];
    if (eqstr(lb->name, gt->name)) {  /* correct label? */
      if (gt->nactvar > lb->nactvar &&
          (bl->upval || dyd->label.n > bl->firstlabel))
        luaK_patchclose(ls->fs, gt->pc, lb->nactvar);
      closegoto(ls, g, lb);  /* close it */
      return 1;
    }
  }
  return 0;  /* label not found; cannot close goto */
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x30(%rdi), %rdi
movq 0x58(%r14), %r8
movq 0x18(%rdi), %rax
movslq 0x8(%rax), %r9
movslq 0x28(%r8), %rdx
xorl %eax, %eax
cmpl %edx, %r9d
jge 0xebee
movl %esi, %ebx
movslq %esi, %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x3, %rcx
addq 0x10(%r8), %rcx
movq (%rcx), %rsi
leaq (%r9,%r9,2), %r15
shlq $0x3, %r15
addq 0x20(%r8), %r15
subq %r9, %rdx
cmpq %rsi, (%r15)
je 0xebca
addq $0x18, %r15
decq %rdx
jne 0xebba
jmp 0xebee
movzbl 0x10(%r15), %edx
cmpb %dl, 0x10(%rcx)
jbe 0xebdc
movl 0x8(%rcx), %esi
callq 0x16375
movq %r14, %rdi
movl %ebx, %esi
movq %r15, %rdx
callq 0xeaa7
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: cond
static int cond (LexState *ls) {
  /* cond -> exp */
  expdesc v;
  expr(ls, &v);  /* read condition */
  if (v.k == VNIL) v.k = VFALSE;  /* 'falses' are all equal here */
  luaK_goiftrue(ls->fs, &v);
  return v.f;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rsi
xorl %edx, %edx
callq 0xd88f
cmpl $0x1, (%r14)
jne 0xec18
movl $0x3, (%rsp)
movq 0x30(%rbx), %rdi
movq %rsp, %rbx
movq %rbx, %rsi
callq 0x16d47
movl 0x14(%rbx), %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: forbody
static void forbody (LexState *ls, int base, int line, int nvars, int isnum) {
  /* forbody -> DO block */
  BlockCnt bl;
  FuncState *fs = ls->fs;
  int prep, endfor;
  adjustlocalvars(ls, 3);  /* control variables */
  checknext(ls, TK_DO);
  prep = isnum ? luaK_codeAsBx(fs, OP_FORPREP, base, NO_JUMP) : luaK_jump(fs);
  enterblock(fs, &bl, 0);  /* scope for declared variables */
  adjustlocalvars(ls, nvars);
  luaK_reserveregs(fs, nvars);
  block(ls);
  leaveblock(fs);  /* end of scope for declared variables */
  luaK_patchtohere(fs, prep);
  if (isnum)  /* numeric for? */
    endfor = luaK_codeAsBx(fs, OP_FORLOOP, base, NO_JUMP);
  else {  /* generic for */
    luaK_codeABC(fs, OP_TFORCALL, base, 0, nvars);
    luaK_fixline(fs, line);
    endfor = luaK_codeAsBx(fs, OP_TFORLOOP, base + 2, NO_JUMP);
  }
  luaK_patchlist(fs, endfor, prep + 1);
  luaK_fixline(fs, line);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %r13d
movl %ecx, %r12d
movl %edx, 0xc(%rsp)
movl %esi, %ebp
movq %rdi, %rbx
movq 0x30(%rdi), %r14
movq %r14, %rdi
movl $0x3, %esi
callq 0xe3ef
movq %rbx, %rdi
movl $0x103, %esi            # imm = 0x103
callq 0xd6fa
movq %r14, %rdi
testl %r13d, %r13d
je 0xecb7
movl $0x28, %esi
movl %ebp, %edx
movl $0x1fffe, %ecx          # imm = 0x1FFFE
callq 0x16297
jmp 0xecbc
callq 0x16257
movl %eax, %r15d
xorl %eax, %eax
leaq 0x10(%rsp), %rcx
movb %al, 0x12(%rcx)
movb 0x3a(%r14), %dl
movb %dl, 0x10(%rcx)
movq 0x10(%r14), %rdx
movq 0x58(%rdx), %rdx
movl 0x28(%rdx), %esi
movl %esi, 0x8(%rcx)
movl 0x18(%rdx), %edx
movl %edx, 0xc(%rcx)
movb %al, 0x11(%rcx)
movq 0x18(%r14), %rax
movq %rax, (%rcx)
movq %rcx, 0x18(%r14)
movq 0x30(%rbx), %rdi
movl %r12d, %esi
callq 0xe3ef
movq %r14, %rdi
movl %r12d, %esi
callq 0x164fc
movq %rbx, %rdi
callq 0xd5b0
movq %r14, %rdi
callq 0xd709
movq %r14, %rdi
movl %r15d, %esi
callq 0x162c3
movq %r14, %rdi
testl %r13d, %r13d
je 0xed43
movl $0x27, %esi
movl %ebp, %edx
movl $0x1fffe, %ecx          # imm = 0x1FFFE
callq 0x16297
movl 0xc(%rsp), %ebx
jmp 0xed79
movl $0x29, %esi
movl %ebp, %edx
xorl %ecx, %ecx
movl %r12d, %r8d
callq 0x161bd
movq %r14, %rdi
movl 0xc(%rsp), %ebx
movl %ebx, %esi
callq 0x17508
addl $0x2, %ebp
movq %r14, %rdi
movl $0x2a, %esi
movl %ebp, %edx
movl $0x1fffe, %ecx          # imm = 0x1FFFE
callq 0x16297
incl %r15d
movq %r14, %rdi
movl %eax, %esi
movl %r15d, %edx
callq 0x162d4
movq %r14, %rdi
movl %ebx, %esi
callq 0x17508
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: adjust_assign
static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) {
  FuncState *fs = ls->fs;
  int extra = nvars - nexps;
  if (hasmultret(e->k)) {
    extra++;  /* includes call itself */
    if (extra < 0) extra = 0;
    luaK_setreturns(fs, e, extra);  /* last exp. provides the difference */
    if (extra > 1) luaK_reserveregs(fs, extra-1);
  }
  else {
    if (e->k != VVOID) luaK_exp2nextreg(fs, e);  /* close last expression */
    if (extra > 0) {
      int reg = fs->freereg;
      luaK_reserveregs(fs, extra);
      luaK_nil(fs, reg, extra);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
subl %edx, %ebp
movl (%rcx), %eax
leal -0xd(%rax), %edx
cmpl $0x2, %edx
jae 0xede5
testl %ebp, %ebp
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
cmovnsl %ebp, %r14d
leal 0x1(%r14), %edx
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x16789
testl %ebp, %ebp
jle 0xee18
movq %rbx, %rdi
movl %r14d, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x164fc
testl %eax, %eax
je 0xedf4
movq %rbx, %rdi
movq %rcx, %rsi
callq 0x168d7
testl %ebp, %ebp
jle 0xee18
movzbl 0x3c(%rbx), %r14d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x164fc
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x16100
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: luaE_extendCI
CallInfo *luaE_extendCI (lua_State *L) {
  CallInfo *ci = luaM_new(L, CallInfo);
  lua_assert(L->ci->next == NULL);
  L->ci->next = ci;
  ci->previous = L->ci;
  ci->next = NULL;
  L->nci++;
  return ci;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x48, %ecx
xorl %esi, %esi
xorl %edx, %edx
callq 0xb897
movq 0x20(%rbx), %rcx
movq %rax, 0x18(%rcx)
movq %rcx, 0x10(%rax)
movq $0x0, 0x18(%rax)
incw 0xa(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: luaE_freeCI
void luaE_freeCI (lua_State *L) {
  CallInfo *ci = L->ci;
  CallInfo *next = ci->next;
  ci->next = NULL;
  while ((ci = next) != NULL) {
    next = ci->next;
    luaM_free(L, ci);
    L->nci--;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x20(%rdi), %rax
movq 0x18(%rax), %rsi
movq $0x0, 0x18(%rax)
testq %rsi, %rsi
je 0xf06b
movq %rdi, %rbx
movq 0x18(%rsi), %r14
movl $0x48, %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xb897
decw 0xa(%rbx)
movq %r14, %rsi
testq %r14, %r14
jne 0xf04c
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: luaE_shrinkCI
void luaE_shrinkCI (lua_State *L) {
  CallInfo *ci = L->ci;
  CallInfo *next2;  /* next's next */
  /* while there are two nexts */
  while (ci->next != NULL && (next2 = ci->next->next) != NULL) {
    luaM_free(L, ci->next);  /* free next */
    L->nci--;
    ci->next = next2;  /* remove 'next' from the list */
    next2->previous = ci;
    ci = next2;  /* keep next's next */
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x20(%rdi), %r14
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0xf0c5
movq %rdi, %rbx
leaq 0x18(%r14), %r15
movq 0x18(%rsi), %r12
testq %r12, %r12
je 0xf0c5
movl $0x48, %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xb897
decw 0xa(%rbx)
movq %r12, (%r15)
movq %r14, 0x10(%r12)
leaq 0x18(%r12), %r15
movq 0x18(%r12), %rsi
movq %r12, %r14
testq %rsi, %rsi
jne 0xf08f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: lua_newthread
LUA_API lua_State *lua_newthread (lua_State *L) {
  global_State *g = G(L);
  lua_State *L1;
  lua_lock(L);
  luaC_checkGC(L);
  /* create new thread */
  L1 = &cast(LX *, luaM_newobject(L, LUA_TTHREAD, sizeof(LX)))->l;
  L1->marked = luaC_white(g);
  L1->tt = LUA_TTHREAD;
  /* link it on list 'allgc' */
  L1->next = g->allgc;
  g->allgc = obj2gco(L1);
  /* anchor it on L stack */
  setthvalue(L, L->top, L1);
  api_incr_top(L);
  preinit_thread(L1, g);
  L1->hookmask = L->hookmask;
  L1->basehookcount = L->basehookcount;
  L1->hook = L->hook;
  resethookcount(L1);
  /* initialize L1 extra space */
  memcpy(lua_getextraspace(L1), lua_getextraspace(g->mainthread),
         LUA_EXTRASPACE);
  luai_userstatethread(L, L1);
  stack_init(L1, L);  /* init stack */
  lua_unlock(L);
  return L1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %r15
cmpq $0x0, 0x18(%r15)
jle 0xf0ef
movq %rbx, %rdi
callq 0xa9cc
xorl %r12d, %r12d
movl $0x8, %edx
movl $0xd8, %ecx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb897
leaq 0x8(%rax), %r14
movb 0x54(%r15), %cl
andb $0x3, %cl
movb %cl, 0x11(%rax)
movb $0x8, 0x10(%rax)
movq 0x58(%r15), %rcx
movq %rcx, 0x8(%rax)
movq %r14, 0x58(%r15)
movq 0x10(%rbx), %rcx
movq %r14, (%rcx)
movl $0x48, 0x8(%rcx)
addq $0x10, 0x10(%rbx)
movq %r15, 0x20(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rax)
movq %r12, 0x28(%rax)
movw $0x0, 0x12(%rax)
movq %r14, 0x58(%rax)
movq %r12, 0x60(%rax)
movq %r12, 0xb0(%rax)
movb $0x1, 0xd4(%rax)
movq $0x1, 0xcc(%rax)
movb $0x0, 0x14(%rax)
movups %xmm0, 0xb8(%rax)
movl 0xc8(%rbx), %ecx
movl %ecx, 0xd0(%rax)
movl 0xbc(%rbx), %ecx
movl %ecx, 0xc4(%rax)
movq 0xa8(%rbx), %rdx
movq %rdx, 0xb0(%rax)
movl %ecx, 0xc8(%rax)
movq 0xc8(%r15), %rcx
movq -0x8(%rcx), %rcx
movq %rcx, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf1cc
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: luaE_freethread
void luaE_freethread (lua_State *L, lua_State *L1) {
  LX *l = fromstate(L1);
  luaF_close(L1, L1->stack);  /* close all upvalues for this thread */
  lua_assert(L1->openupval == NULL);
  luai_userstatefree(L, L1);
  freestack(L1);
  luaM_free(L, l);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x8(%rsi), %r15
movq 0x38(%rsi), %rsi
movq %rbx, %rdi
callq 0x9fbd
movq %rbx, %rdi
callq 0xf282
movl $0xd8, %edx
movq %r14, %rdi
movq %r15, %rsi
xorl %ecx, %ecx
popq %rbx
popq %r14
popq %r15
jmp 0xb897
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: freestack
static void freestack (lua_State *L) {
  if (L->stack == NULL)
    return;  /* stack not completely built yet */
  L->ci = &L->base_ci;  /* free the entire 'ci' list */
  luaE_freeCI(L);
  lua_assert(L->nci == 0);
  luaM_freearray(L, L->stack, L->stacksize);  /* free stack array */
}

// Assembly:
cmpq $0x0, 0x38(%rdi)
je 0xf2b4
pushq %rbx
movq %rdi, %rbx
leaq 0x60(%rdi), %rax
movq %rax, 0x20(%rdi)
callq 0xf030
movq 0x38(%rbx), %rsi
movslq 0xb8(%rbx), %rdx
shlq $0x4, %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
popq %rbx
jmp 0xb897
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: f_luaopen
static void f_luaopen (lua_State *L, void *ud) {
  global_State *g = G(L);
  UNUSED(ud);
  stack_init(L, L);  /* init stack */
  init_registry(L, g);
  luaS_init(L);
  luaT_init(L);
  luaX_init(L);
  g->gcrunning = 1;  /* allow gc */
  g->version = lua_version(NULL);
  luai_userstateopen(L);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %r12
movq %rdi, %rsi
callq 0xf1cc
movq %rbx, %rdi
callq 0x100ba
movq %rax, %r14
movq %rax, 0x40(%r12)
movl $0x45, %ebp
movl %ebp, 0x48(%r12)
movq %rbx, %rdi
movq %rax, %rsi
movl $0x2, %edx
xorl %ecx, %ecx
callq 0xfcc2
movq %rsp, %r15
movq %rbx, (%r15)
movl $0x48, 0x8(%r15)
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x10000
movq %rbx, %rdi
callq 0x100ba
movq %rax, (%r15)
movl %ebp, 0x8(%r15)
movl $0x2, %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x10000
movq %rbx, %rdi
callq 0xf7bf
movq %rbx, %rdi
callq 0x108f8
movq %rbx, %rdi
callq 0x17858
movb $0x1, 0x57(%r12)
xorl %edi, %edi
callq 0x5cff
movq %rax, 0xd0(%r12)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstate.c
// Function: close_state
static void close_state (lua_State *L) {
  global_State *g = G(L);
  luaF_close(L, L->stack);  /* close all upvalues for this thread */
  luaC_freeallobjects(L);  /* collect all objects */
  if (g->version)  /* closing a fully built state? */
    luai_userstateclose(L);
  luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size);
  freestack(L);
  lua_assert(gettotalbytes(g) == sizeof(LG));
  (*g->frealloc)(g->ud, fromstate(L), sizeof(LG), 0);  /* free main block */
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %r14
movq 0x38(%rdi), %rsi
callq 0x9fbd
movq %rbx, %rdi
callq 0xa39c
movq 0x18(%rbx), %rax
movq 0x30(%rax), %rsi
movslq 0x3c(%rax), %rdx
shlq $0x3, %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xb897
movq %rbx, %rdi
callq 0xf282
movq (%r14), %rax
movq 0x8(%r14), %rdi
addq $-0x8, %rbx
movl $0x610, %edx            # imm = 0x610
movq %rbx, %rsi
xorl %ecx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstring.c
// Function: luaS_eqlngstr
int luaS_eqlngstr (TString *a, TString *b) {
  size_t len = a->u.lnglen;
  lua_assert(a->tt == LUA_TLNGSTR && b->tt == LUA_TLNGSTR);
  return (a == b) ||  /* same instance or... */
    ((len == b->u.lnglen) &&  /* equal length and ... */
     (memcmp(getstr(a), getstr(b), len) == 0));  /* equal contents */
}

// Assembly:
cmpq %rsi, %rdi
je 0xf5f5
movq 0x10(%rdi), %rdx
xorl %eax, %eax
cmpq 0x10(%rsi), %rdx
jne 0xf5f4
pushq %rax
addq $0x18, %rdi
addq $0x18, %rsi
callq 0x5380
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
addq $0x8, %rsp
retq
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstring.c
// Function: luaS_hash
unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {
  unsigned int h = seed ^ cast(unsigned int, l);
  size_t step = (l >> LUAI_HASHLIMIT) + 1;
  for (; l >= step; l -= step)
    h ^= ((h<<5) + (h>>2) + cast_byte(str[l - 1]));
  return h;
}

// Assembly:
movl %edx, %eax
xorl %esi, %eax
testq %rsi, %rsi
je 0xf636
movq %rsi, %rcx
shrq $0x5, %rcx
movq %rcx, %rdx
notq %rdx
movl %eax, %r8d
shll $0x5, %r8d
movl %eax, %r9d
shrl $0x2, %r9d
addl %r8d, %r9d
movzbl -0x1(%rdi,%rsi), %r8d
addl %r9d, %r8d
xorl %r8d, %eax
addq %rdx, %rsi
cmpq %rcx, %rsi
ja 0xf611
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstring.c
// Function: luaS_hashlongstr
unsigned int luaS_hashlongstr (TString *ts) {
  lua_assert(ts->tt == LUA_TLNGSTR);
  if (ts->extra == 0) {  /* no hash? */
    ts->hash = luaS_hash(getstr(ts), ts->u.lnglen, ts->hash);
    ts->extra = 1;  /* now it has its hash */
  }
  return ts->hash;
}

// Assembly:
cmpb $0x0, 0xa(%rdi)
je 0xf641
movl 0xc(%rdi), %eax
retq
movq 0x10(%rdi), %rcx
movl 0xc(%rdi), %eax
xorl %ecx, %eax
testq %rcx, %rcx
je 0xf681
movq %rcx, %rdx
shrq $0x5, %rdx
movq %rdx, %rsi
notq %rsi
movl %eax, %r8d
shll $0x5, %r8d
movl %eax, %r9d
shrl $0x2, %r9d
addl %r8d, %r9d
movzbl 0x17(%rdi,%rcx), %r8d
addl %r9d, %r8d
xorl %r8d, %eax
addq %rsi, %rcx
cmpq %rdx, %rcx
ja 0xf65c
movl %eax, 0xc(%rdi)
movb $0x1, 0xa(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstring.c
// Function: luaS_resize
void luaS_resize (lua_State *L, int newsize) {
  int i;
  stringtable *tb = &G(L)->strt;
  if (newsize > tb->size) {  /* grow table if needed */
    luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *);
    for (i = tb->size; i < newsize; i++)
      tb->hash[i] = NULL;
  }
  for (i = 0; i < tb->size; i++) {  /* rehash */
    TString *p = tb->hash[i];
    tb->hash[i] = NULL;
    while (p) {  /* for each node in the list */
      TString *hnext = p->u.hnext;  /* save next */
      unsigned int h = lmod(p->hash, newsize);  /* new position */
      p->u.hnext = tb->hash[h];  /* chain it */
      tb->hash[h] = p;
      p = hnext;
    }
  }
  if (newsize < tb->size) {  /* shrink table if needed */
    /* vanishing slice should be empty */
    lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL);
    luaM_reallocvector(L, tb->hash, tb->size, newsize, TString *);
  }
  tb->size = newsize;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0x18(%rdi), %r12
movl 0x3c(%r12), %eax
movslq %esi, %r15
cmpl %esi, %eax
jge 0xf6e9
movslq %eax, %rdx
movq 0x30(%r12), %rsi
shlq $0x3, %rdx
leaq (,%r15,8), %rcx
movq %r14, %rdi
callq 0xb897
movq %rax, 0x30(%r12)
movl 0x3c(%r12), %eax
cmpl %r15d, %eax
jge 0xf6e9
movslq %eax, %rcx
movq 0x30(%r12), %rdx
movq $0x0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %r15
jne 0xf6d4
testl %eax, %eax
jle 0xf73f
leal -0x1(%rbx), %ecx
xorl %edx, %edx
movq 0x30(%r12), %rdi
movq (%rdi,%rdx,8), %rsi
movq $0x0, (%rdi,%rdx,8)
testq %rsi, %rsi
je 0xf734
movq 0x10(%rsi), %rax
movl 0xc(%rsi), %edi
andl %ecx, %edi
movq 0x30(%r12), %r8
movq (%r8,%rdi,8), %r8
movq %r8, 0x10(%rsi)
movq 0x30(%r12), %r8
movq %rsi, (%r8,%rdi,8)
movq %rax, %rsi
testq %rax, %rax
jne 0xf708
movl 0x3c(%r12), %eax
incq %rdx
movslq %eax, %rsi
cmpq %rsi, %rdx
jl 0xf6f2
cmpl %ebx, %eax
jle 0xf763
movq 0x30(%r12), %rsi
movslq %eax, %rdx
shlq $0x3, %rdx
shlq $0x3, %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0xb897
movq %rax, 0x30(%r12)
movl %ebx, 0x3c(%r12)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tylerneylon[P]APIsWithLua/lua/lstring.c
// Function: luaS_clearcache
void luaS_clearcache (global_State *g) {
  int i, j;
  for (i = 0; i < STRCACHE_N; i++)
    for (j = 0; j < STRCACHE_M; j++) {
    if (iswhite(g->strcache[i][j]))  /* will entry be collected? */
      g->strcache[i][j] = g->memerrmsg;  /* replace it with something fixed */
    }
}

// Assembly:
leaq 0x1e8(%rdi), %rax
xorl %ecx, %ecx
movb $0x1, %dl
movq %rcx, %rsi
shlq $0x4, %rsi
addq %rax, %rsi
xorl %r8d, %r8d
movq (%rsi,%r8,8), %r9
testb $0x3, 0x9(%r9)
je 0xf7a5
leaq (%rsi,%r8,8), %r8
movq 0xd8(%rdi), %r9
movq %r9, (%r8)
movl $0x1, %r8d
testb $0x1, %dl
movl $0x0, %edx
jne 0xf78c
incq %rcx
cmpq $0x35, %rcx
jne 0xf77d
retq