LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: numarith
static lua_Number numarith (lua_State *L, int op, lua_Number v1,
                                                  lua_Number v2) {
  switch (op) {
    case LUA_OPADD: return luai_numadd(L, v1, v2);
    case LUA_OPSUB: return luai_numsub(L, v1, v2);
    case LUA_OPMUL: return luai_nummul(L, v1, v2);
    case LUA_OPDIV: return luai_numdiv(L, v1, v2);
    case LUA_OPPOW: return luai_numpow(L, v1, v2);
    case LUA_OPIDIV: return luai_numidiv(L, v1, v2);
    case LUA_OPUNM: return luai_numunm(L, v1);
    case LUA_OPMOD: {
      lua_Number m;
      luai_nummod(L, v1, v2, m);
      return m;
    }
    default: lua_assert(0); return 0;
  }
}

// Assembly:
movapd %xmm0, %xmm2
xorpd %xmm0, %xmm0
cmpl $0xc, %edi
ja 0xaf32
movl %edi, %eax
leaq 0x1477c(%rip), %rcx     # 0x1f638
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addsd %xmm1, %xmm2
jmp 0xaef2
divsd %xmm1, %xmm2
jmp 0xaef2
subsd %xmm1, %xmm2
jmp 0xaef2
divsd %xmm1, %xmm2
movapd %xmm2, %xmm0
jmp 0x5450
xorpd 0x14894(%rip), %xmm2    # 0x1f780
jmp 0xaef2
mulsd %xmm1, %xmm2
movapd %xmm2, %xmm0
retq
subq $0x18, %rsp
movapd %xmm2, %xmm0
movaps %xmm1, (%rsp)
callq 0x51d0
movapd %xmm0, %xmm1
movapd (%rsp), %xmm3
mulsd %xmm3, %xmm0
addsd %xmm1, %xmm3
xorpd %xmm2, %xmm2
cmpltsd %xmm2, %xmm0
andpd %xmm0, %xmm3
andnpd %xmm1, %xmm0
orpd %xmm3, %xmm0
addq $0x18, %rsp
retq
movapd %xmm2, %xmm0
jmp 0x5110
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: luaO_str2num
size_t luaO_str2num (const char *s, TValue *o) {
  lua_Integer i; lua_Number n;
  const char *e;
  if ((e = l_str2int(s, &i)) != NULL) {  /* try as an integer */
    setivalue(o, i);
  }
  else if ((e = l_str2d(s, &n)) != NULL) {  /* else try as a float */
    setfltvalue(o, n);
  }
  else
    return 0;  /* conversion failed */
  return (e - s) + 1;  /* success; return string size */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x157a8(%rip), %r12     # 0x20720
movq %rdi, %r15
movzbl (%r15), %eax
incq %r15
testb $0x8, 0x1(%rax,%r12)
jne 0xaf7b
cmpl $0x2b, %eax
je 0xaf9a
cmpl $0x2d, %eax
jne 0xafa2
pushq $0x1
popq %r13
jmp 0xaf9d
xorl %r13d, %r13d
movb (%r15), %al
jmp 0xafa8
decq %r15
xorl %r13d, %r13d
cmpb $0x30, %al
jne 0xafe6
movzbl 0x1(%r15), %ecx
orl $0x20, %ecx
cmpl $0x78, %ecx
jne 0xafe6
addq $0x2, %r15
pushq $0x1
popq %rcx
xorl %ebp, %ebp
movzbl (%r15), %eax
testb $0x10, 0x1(%rax,%r12)
je 0xb032
movsbl %al, %edi
shlq $0x4, %rbp
callq 0xaf3c
cltq
addq %rax, %rbp
incq %r15
xorl %ecx, %ecx
jmp 0xafc2
movabsq $0xccccccccccccccb, %rdx # imm = 0xCCCCCCCCCCCCCCB
leal 0x7(%r13), %esi
pushq $0x1
popq %rcx
xorl %ebp, %ebp
leaq 0x1(%rdx), %rdi
movzbl %al, %r8d
testb $0x2, 0x1(%r8,%r12)
je 0xb032
movsbl %al, %eax
addl $-0x30, %eax
cmpq %rdx, %rbp
jbe 0xb01d
cmpq %rdi, %rbp
jne 0xb05f
cmpl %esi, %eax
jg 0xb05f
imulq $0xa, %rbp, %rcx
movslq %eax, %rbp
addq %rcx, %rbp
movb 0x1(%r15), %al
incq %r15
xorl %ecx, %ecx
jmp 0xaffd
decq %r15
movzbl 0x1(%r15), %eax
incq %r15
testb $0x8, 0x1(%rax,%r12)
jne 0xb035
testl %ecx, %ecx
jne 0xb05f
testb %al, %al
jne 0xb05f
movq %rbp, %rax
negq %rax
testl %r13d, %r13d
cmoveq %rbp, %rax
pushq $0x13
popq %rcx
jmp 0xb09c
leaq 0x14788(%rip), %rsi     # 0x1f7ee
movq %rbx, %rdi
callq 0x53b0
testq %rax, %rax
je 0xb07f
movb (%rax), %al
andb $-0x21, %al
cmpb $0x4e, %al
je 0xb11e
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0xb746
movq %rax, %r15
testq %rax, %rax
je 0xb0ab
pushq $0x3
popq %rcx
movq 0x8(%rsp), %rax
movq %rax, (%r14)
movl %ecx, 0x8(%r14)
subq %rbx, %r15
incq %r15
jmp 0xb121
pushq $0x2e
popq %rsi
movq %rbx, %rdi
callq 0x5160
movq %rax, %r15
movq %rbx, %rdi
callq 0x5140
cmpq $0xc9, %rax
setb %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xb11e
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x50b0
callq 0x50f0
movq (%rax), %rax
movb (%rax), %al
subq %rbx, %r15
movb %al, 0x10(%rsp,%r15)
leaq 0x8(%rsp), %rsi
movq %r12, %rdi
callq 0xb746
testq %rax, %rax
je 0xb11e
testq %rbx, %rbx
je 0xb11e
movq %rax, %r15
subq %r12, %r15
addq %rbx, %r15
jmp 0xb094
xorl %r15d, %r15d
movq %r15, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: luaO_utf8esc
int luaO_utf8esc (char *buff, unsigned long x) {
  int n = 1;  /* number of bytes put in buffer (backwards) */
  lua_assert(x <= 0x10FFFF);
  if (x < 0x80)  /* ascii? */
    buff[UTF8BUFFSZ - 1] = cast(char, x);
  else {  /* need continuation bytes */
    unsigned int mfb = 0x3f;  /* maximum that fits in first byte */
    do {  /* add continuation bytes */
      buff[UTF8BUFFSZ - (n++)] = cast(char, 0x80 | (x & 0x3f));
      x >>= 6;  /* remove added bits */
      mfb >>= 1;  /* now there is one less bit available in first byte */
    } while (x > mfb);  /* still needs continuation byte? */
    buff[UTF8BUFFSZ - n] = cast(char, (~mfb << 1) | x);  /* add first byte */
  }
  return n;
}

// Assembly:
cmpq $0x80, %rsi
jae 0xb147
pushq $0x1
popq %rax
pushq $0x7
popq %rcx
jmp 0xb193
pushq $0x3f
popq %rdx
movabsq $0x700000000, %rcx      # imm = 0x700000000
xorl %r8d, %r8d
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
addq %rax, %rcx
movl %esi, %r9d
andb $0x3f, %r9b
orb $-0x80, %r9b
movb %r9b, 0x7(%rdi,%r8)
shrq $0x6, %rsi
shrl %edx
decq %r8
cmpq %rdx, %rsi
ja 0xb161
pushq $0x1
popq %rax
subl %r8d, %eax
notl %edx
addl %edx, %edx
orq %rdx, %rsi
sarq $0x20, %rcx
movb %sil, (%rdi,%rcx)
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: luaO_tostring
void luaO_tostring (lua_State *L, StkId obj) {
  char buff[MAXNUMBER2STR];
  size_t len;
  lua_assert(ttisnumber(obj));
  if (ttisinteger(obj))
    len = lua_integer2str(buff, sizeof(buff), ivalue(obj));
  else {
    len = lua_number2str(buff, sizeof(buff), fltvalue(obj));
#if !defined(LUA_COMPAT_FLOATSTRING)
    if (buff[strspn(buff, "-0123456789")] == '\0') {  /* looks like an int? */
      buff[len++] = lua_getlocaledecpoint();
      buff[len++] = '0';  /* adds '.0' to result */
    }
#endif
  }
  setsvalue2s(L, obj, luaS_newlstr(L, buff, len));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x13, 0x8(%rsi)
jne 0xb1cb
movq (%rbx), %rcx
leaq 0x145d7(%rip), %rdx     # 0x1f790
movq %rsp, %rdi
pushq $0x32
popq %rsi
xorl %eax, %eax
callq 0x5180
movslq %eax, %r15
jmp 0xb216
movsd (%rbx), %xmm0
leaq 0x145bf(%rip), %rdx     # 0x1f795
movq %rsp, %r12
pushq $0x32
popq %rsi
movq %r12, %rdi
movb $0x1, %al
callq 0x5180
movslq %eax, %r15
leaq 0x145ab(%rip), %rsi     # 0x1f79b
movq %r12, %rdi
callq 0x51e0
cmpb $0x0, (%rsp,%rax)
jne 0xb216
callq 0x50f0
movq (%rax), %rax
movb (%rax), %al
movb %al, (%rsp,%r15)
movb $0x30, 0x1(%rsp,%r15)
addq $0x2, %r15
movq %rsp, %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0xe658
movq %rax, (%rbx)
movzbl 0x8(%rax), %eax
orl $0x40, %eax
movl %eax, 0x8(%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: luaO_pushfstring
const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) {
  const char *msg;
  va_list argp;
  va_start(argp, fmt);
  msg = luaO_pushvfstring(L, fmt, argp);
  va_end(argp);
  return msg;
}

// Assembly:
subq $0xd8, %rsp
leaq 0x20(%rsp), %r10
movq %rdx, 0x10(%r10)
movq %rcx, 0x18(%r10)
movq %r8, 0x20(%r10)
movq %r9, 0x28(%r10)
testb %al, %al
je 0xb5ea
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rsp, %rdx
movq %r10, 0x10(%rdx)
leaq 0xe0(%rsp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rdx)
callq 0xb23d
addq $0xd8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: luaO_chunkid
void luaO_chunkid (char *out, const char *source, size_t bufflen) {
  size_t l = strlen(source);
  if (*source == '=') {  /* 'literal' source */
    if (l <= bufflen)  /* small enough? */
      memcpy(out, source + 1, l * sizeof(char));
    else {  /* truncate it */
      addstr(out, source + 1, bufflen - 1);
      *out = '\0';
    }
  }
  else if (*source == '@') {  /* file name */
    if (l <= bufflen)  /* small enough? */
      memcpy(out, source + 1, l * sizeof(char));
    else {  /* add '...' before rest of name */
      addstr(out, RETS, LL(RETS));
      bufflen -= LL(RETS);
      memcpy(out, source + 1 + l - bufflen, bufflen * sizeof(char));
    }
  }
  else {  /* string; format as [string "source"] */
    const char *nl = strchr(source, '\n');  /* find first new line (if any) */
    addstr(out, PRE, LL(PRE));  /* add prefix */
    bufflen -= LL(PRE RETS POS) + 1;  /* save space for prefix+suffix+'\0' */
    if (l < bufflen && nl == NULL) {  /* small one-line source? */
      addstr(out, source, l);  /* keep it */
    }
    else {
      if (nl != NULL) l = nl - source;  /* stop at first newline */
      if (l > bufflen) l = bufflen;
      addstr(out, source, l);
      addstr(out, RETS, LL(RETS));
    }
    memcpy(out, POS, (LL(POS) + 1) * sizeof(char));
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5140
movq %rax, %r12
movzbl (%r14), %eax
cmpl $0x40, %eax
je 0xb668
cmpl $0x3d, %eax
jne 0xb693
incq %r14
cmpq %r15, %r12
jbe 0xb6e0
leaq -0x1(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5300
movb $0x0, -0x1(%rbx,%r15)
jmp 0xb73c
cmpq %r15, %r12
jbe 0xb6dd
movb $0x2e, 0x2(%rbx)
movw $0x2e2e, (%rbx)         # imm = 0x2E2E
addq $0x3, %rbx
addq %r12, %r14
subq %r15, %r14
addq $-0x3, %r15
addq $0x4, %r14
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
jmp 0xb6e9
pushq $0xa
popq %rsi
movq %r14, %rdi
callq 0x5160
movabsq $0x20676e697274735b, %rcx # imm = 0x20676E697274735B
movq %rcx, (%rbx)
movb $0x22, 0x8(%rbx)
addq $0x9, %rbx
addq $-0xf, %r15
cmpq %r15, %r12
setb %cl
testq %rax, %rax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0xb6f7
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x5300
addq %rbx, %r12
jmp 0xb72f
incq %r14
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x5300
movq %rax, %r13
subq %r14, %r13
testq %rax, %rax
cmoveq %r12, %r13
cmpq %r15, %r13
cmovaeq %r15, %r13
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x5300
leaq (%rbx,%r13), %r12
addq $0x3, %r12
movw $0x2e2e, -0x3(%r12)     # imm = 0x2E2E
movb $0x2e, -0x1(%r12)
movb $0x0, 0x2(%r12)
movw $0x5d22, (%r12)         # imm = 0x5D22
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lobject.c
// Function: l_str2dloc
static const char *l_str2dloc (const char *s, lua_Number *result, int mode) {
  char *endptr;
  *result = (mode == 'x') ? lua_strx2number(s, &endptr)  /* try to convert */
                          : lua_str2number(s, &endptr);
  if (endptr == s) return NULL;  /* nothing recognized? */
  while (lisspace(cast_uchar(*endptr))) endptr++;  /* skip trailing spaces */
  return (*endptr == '\0') ? endptr : NULL;  /* OK if no trailing characters */
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x50e0
movsd %xmm0, (%rbx)
movq (%r15), %rcx
cmpq %r14, %rcx
je 0xb790
decq %rcx
leaq 0x14fa8(%rip), %rax     # 0x20720
movzbl 0x1(%rcx), %edx
incq %rcx
testb $0x8, 0x1(%rdx,%rax)
jne 0xb778
xorl %eax, %eax
testb %dl, %dl
cmoveq %rcx, %rax
jmp 0xb792
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: luaY_parser
LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
                       Dyndata *dyd, const char *name, int firstchar) {
  LexState lexstate;
  FuncState funcstate;
  LClosure *cl = luaF_newLclosure(L, 1);  /* create main closure */
  setclLvalue(L, L->top, cl);  /* anchor it (to avoid being collected) */
  luaD_inctop(L);
  lexstate.h = luaH_new(L);  /* create table for scanner */
  sethvalue(L, L->top, lexstate.h);  /* anchor it */
  luaD_inctop(L);
  funcstate.f = cl->p = luaF_newproto(L);
  funcstate.f->source = luaS_new(L, name);  /* create and anchor TString */
  lua_assert(iswhite(funcstate.f));  /* do not need barrier here */
  lexstate.buff = buff;
  lexstate.dyd = dyd;
  dyd->actvar.n = dyd->gt.n = dyd->label.n = 0;
  luaX_setinput(L, &lexstate, z, funcstate.f->source, firstchar);
  mainfunc(&lexstate, &funcstate);
  lua_assert(!funcstate.prev && funcstate.nups == 1 && !lexstate.fs);
  /* all scopes should be correctly finished */
  lua_assert(dyd->actvar.n == 0 && dyd->gt.n == 0 && dyd->label.n == 0);
  L->top--;  /* remove scanner's table */
  return cl;  /* closure is on the stack, too */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %r9d, 0xc(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %r13
movq %rdx, 0x18(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdi, %rbx
pushq $0x1
popq %rsi
callq 0x94bf
movq %rax, %r14
movq 0x10(%rbx), %rax
movq %r14, (%rax)
movl $0x46, 0x8(%rax)
movq %rbx, %rdi
callq 0x8447
movq %rbx, %rdi
callq 0xed08
leaq 0x98(%rsp), %r15
movq %rax, 0x50(%r15)
movq 0x10(%rbx), %rcx
movq %rax, (%rcx)
movl $0x45, 0x8(%rcx)
movq %rbx, %rdi
callq 0x8447
movq %rbx, %rdi
callq 0x961d
movq %rax, %r12
movq %rax, 0x18(%r14)
leaq 0x58(%rsp), %rbp
movq %rax, (%rbp)
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
callq 0xe823
movq %rax, 0x68(%r12)
movq 0x18(%rsp), %rcx
movq %rcx, 0x48(%r15)
movq %r13, 0x58(%r15)
andl $0x0, 0x28(%r13)
andl $0x0, 0x18(%r13)
andl $0x0, 0x8(%r13)
movq %rbx, %rdi
movq %r15, %rsi
movq 0x20(%rsp), %rdx
movq %rax, %rcx
movl 0xc(%rsp), %r8d
callq 0x15780
leaq 0x40(%rsp), %rdx
movq %r15, %rdi
movq %rbp, %rsi
callq 0xb8e7
movq (%rbp), %rax
movb $0x2, 0xb(%rax)
leaq 0x28(%rsp), %rdx
orq $-0x1, 0x10(%rdx)
movl $0x8, (%rdx)
andl $0x0, 0x8(%rdx)
movq 0x68(%r15), %rsi
movq %rbp, %rdi
callq 0xb939
movq %r15, %rdi
callq 0x157ec
movq %r15, %rdi
callq 0xba1e
movq %r15, %rdi
movl $0x121, %esi            # imm = 0x121
callq 0xba60
movq %r15, %rdi
callq 0xba6c
addq $-0x10, 0x10(%rbx)
movq %r14, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: open_func
static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) {
  Proto *f;
  fs->prev = ls->fs;  /* linked list of funcstates */
  fs->ls = ls;
  ls->fs = fs;
  fs->pc = 0;
  fs->lasttarget = 0;
  fs->jpc = NO_JUMP;
  fs->freereg = 0;
  fs->nk = 0;
  fs->np = 0;
  fs->nups = 0;
  fs->nlocvars = 0;
  fs->nactvar = 0;
  fs->firstlocal = ls->dyd->actvar.n;
  fs->bl = NULL;
  f = fs->f;
  f->source = ls->source;
  f->maxstacksize = 2;  /* registers 0/1 are always valid */
  enterblock(fs, bl, 0);
}

// Assembly:
movq 0x30(%rdi), %rax
movq %rax, 0x8(%rsi)
movq %rdi, 0x10(%rsi)
movq %rsi, 0x30(%rdi)
movaps 0x14032(%rip), %xmm0    # 0x1f930
movups %xmm0, 0x20(%rsi)
andl $0x0, 0x30(%rsi)
andl $0x0, 0x38(%rsi)
movb $0x0, 0x3c(%rsi)
movq 0x58(%rdi), %rax
movl 0x8(%rax), %eax
movl %eax, 0x34(%rsi)
andq $0x0, 0x18(%rsi)
movq (%rsi), %rax
movq 0x60(%rdi), %rcx
movq %rcx, 0x68(%rax)
movb $0x2, 0xc(%rax)
movq %rsi, %rdi
movq %rdx, %rsi
xorl %edx, %edx
jmp 0xbbcf
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: newupvalue
static int newupvalue (FuncState *fs, TString *name, expdesc *v) {
  Proto *f = fs->f;
  int oldsize = f->sizeupvalues;
  checklimit(fs, fs->nups + 1, MAXUPVAL, "upvalues");
  luaM_growvector(fs->ls->L, f->upvalues, fs->nups, f->sizeupvalues,
                  Upvaldesc, MAXUPVAL, "upvalues");
  while (oldsize < f->sizeupvalues)
    f->upvalues[oldsize++].name = NULL;
  f->upvalues[fs->nups].instack = (v->k == VLOCAL);
  f->upvalues[fs->nups].idx = cast_byte(v->u.info);
  f->upvalues[fs->nups].name = name;
  luaC_objbarrier(fs->ls->L, f, name);
  return fs->nups++;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %r15
movslq 0x10(%r15), %r13
movzbl 0x3b(%rdi), %esi
incl %esi
leaq 0x14a7d(%rip), %rcx     # 0x203dc
movl $0xff, %edx
callq 0xbbfc
movzbl 0x3b(%rbx), %ecx
movl 0x10(%r15), %eax
cmpl %ecx, %eax
jg 0xb9a2
leaq 0x10(%r15), %rdx
movq 0x10(%rbx), %rax
movq 0x38(%rax), %rdi
movq 0x58(%r15), %rsi
leaq 0x14a50(%rip), %r9      # 0x203dc
pushq $0x10
popq %rcx
movl $0xff, %r8d
callq 0xab14
movq %rax, 0x58(%r15)
movl 0x10(%r15), %eax
cltq
movq %r13, %rcx
shlq $0x4, %rcx
cmpq %rax, %r13
jge 0xb9c2
movq 0x58(%r15), %rdx
incq %r13
andq $0x0, (%rdx,%rcx)
addq $0x10, %rcx
jmp 0xb9ab
movzbl 0x3b(%rbx), %eax
movl %eax, %ecx
shll $0x4, %ecx
cmpl $0x8, (%r12)
movq 0x58(%r15), %rdx
sete 0x8(%rdx,%rcx)
movb 0x8(%r12), %sil
movb %sil, 0x9(%rdx,%rcx)
movq %r14, (%rdx,%rcx)
testb $0x4, 0x9(%r15)
je 0xba0b
testb $0x3, 0x9(%r14)
je 0xba0b
movq 0x10(%rbx), %rax
movq 0x38(%rax), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x972c
movb 0x3b(%rbx), %al
leal 0x1(%rax), %ecx
movb %cl, 0x3b(%rbx)
movzbl %al, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xba45
btl %eax, %r14d
jb 0xba4f
cmpl $0xe, %eax
je 0xba54
movq %rbx, %rdi
callq 0xbc6c
jmp 0xba30
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0xbc6c
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: close_func
static void close_func (LexState *ls) {
  lua_State *L = ls->L;
  FuncState *fs = ls->fs;
  Proto *f = fs->f;
  luaK_ret(fs, 0, 0);  /* final return */
  leaveblock(fs);
  luaM_reallocvector(L, f->code, f->sizecode, fs->pc, Instruction);
  f->sizecode = fs->pc;
  luaM_reallocvector(L, f->lineinfo, f->sizelineinfo, fs->pc, int);
  f->sizelineinfo = fs->pc;
  luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue);
  f->sizek = fs->nk;
  luaM_reallocvector(L, f->p, f->sizep, fs->np, Proto *);
  f->sizep = fs->np;
  luaM_reallocvector(L, f->locvars, f->sizelocvars, fs->nlocvars, LocVar);
  f->sizelocvars = fs->nlocvars;
  luaM_reallocvector(L, f->upvalues, f->sizeupvalues, fs->nups, Upvaldesc);
  f->sizeupvalues = fs->nups;
  lua_assert(fs->bl == NULL);
  ls->fs = fs->prev;
  luaC_checkGC(L);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x30(%rdi), %r15
movq 0x38(%rdi), %rbx
movq (%r15), %r12
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1431a
movq %r15, %rdi
callq 0xc807
movq 0x38(%r12), %rsi
movslq 0x18(%r12), %rdx
shlq $0x2, %rdx
movslq 0x20(%r15), %rcx
shlq $0x2, %rcx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x38(%r12)
movslq 0x20(%r15), %rcx
movl %ecx, 0x18(%r12)
movq 0x48(%r12), %rsi
movslq 0x1c(%r12), %rdx
shlq $0x2, %rdx
shlq $0x2, %rcx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x48(%r12)
movl 0x20(%r15), %eax
movl %eax, 0x1c(%r12)
movq 0x30(%r12), %rsi
movslq 0x14(%r12), %rdx
shlq $0x4, %rdx
movslq 0x2c(%r15), %rcx
shlq $0x4, %rcx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x30(%r12)
movl 0x2c(%r15), %eax
movl %eax, 0x14(%r12)
movq 0x40(%r12), %rsi
movslq 0x20(%r12), %rdx
shlq $0x3, %rdx
movslq 0x30(%r15), %rcx
shlq $0x3, %rcx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x40(%r12)
movl 0x30(%r15), %eax
movl %eax, 0x20(%r12)
movq 0x50(%r12), %rsi
movslq 0x24(%r12), %rdx
shlq $0x4, %rdx
movswq 0x38(%r15), %rcx
shlq $0x4, %rcx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x50(%r12)
movswl 0x38(%r15), %eax
movl %eax, 0x24(%r12)
movq 0x58(%r12), %rsi
movslq 0x10(%r12), %rdx
shlq $0x4, %rdx
movzbl 0x3b(%r15), %ecx
shll $0x4, %ecx
movq %rbx, %rdi
callq 0xab76
movq %rax, 0x58(%r12)
movzbl 0x3b(%r15), %eax
movl %eax, 0x10(%r12)
movq 0x8(%r15), %rax
movq %rax, 0x30(%r14)
movq 0x18(%rbx), %rax
cmpq $0x0, 0x18(%rax)
jle 0xbbc3
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x9f05
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: enterblock
static void enterblock (FuncState *fs, BlockCnt *bl, lu_byte isloop) {
  bl->isloop = isloop;
  bl->nactvar = fs->nactvar;
  bl->firstlabel = fs->ls->dyd->label.n;
  bl->firstgoto = fs->ls->dyd->gt.n;
  bl->upval = 0;
  bl->previous = fs->bl;
  fs->bl = bl;
  lua_assert(fs->freereg == fs->nactvar);
}

// Assembly:
movb %dl, 0x12(%rsi)
movb 0x3a(%rdi), %al
movb %al, 0x10(%rsi)
movq 0x10(%rdi), %rax
movq 0x58(%rax), %rax
movl 0x28(%rax), %ecx
movl %ecx, 0x8(%rsi)
movl 0x18(%rax), %eax
movl %eax, 0xc(%rsi)
movb $0x0, 0x11(%rsi)
movq 0x18(%rdi), %rax
movq %rax, (%rsi)
movq %rsi, 0x18(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xbc36
leaq 0x13e26(%rip), %r8      # 0x1fa5a
jmp 0xbc4a
leaq 0x13e2b(%rip), %rsi     # 0x1fa68
movq %r15, %rdi
xorl %eax, %eax
callq 0xb593
movq %rax, %r8
leaq 0x13e2b(%rip), %rsi     # 0x1fa7c
movq %r15, %rdi
movq %r14, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0xb593
movq 0x10(%rbx), %rdi
movq %rax, %rsi
callq 0x15676
// File: /workspace/github_c_makefile_star2_O2/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 0xba1e
movq %rbx, %rdi
callq 0xc807
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/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
movl %ecx, %ebp
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
callq 0xc731
testl %eax, %eax
je 0xc6df
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl %ebp, 0x4(%rbx)
jne 0xc6ef
movq %rbx, %rdi
movl %r15d, %esi
callq 0xdafc
movq 0x38(%rbx), %r12
movq %rbx, %rdi
movl %r15d, %esi
callq 0x1562b
movq %rax, %r15
movq %rbx, %rdi
movl %r14d, %esi
callq 0x1562b
leaq 0x134c9(%rip), %rsi     # 0x1fbdc
movq %r12, %rdi
movq %r15, %rdx
movq %rax, %rcx
movl %ebp, %r8d
xorl %eax, %eax
callq 0xb593
movq %rbx, %rdi
movq %rax, %rsi
callq 0x15676
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x124, %esi            # imm = 0x124
callq 0xba60
movq 0x18(%rbx), %r14
movq %rbx, %rdi
callq 0x157ec
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movl 0x4(%rdi), %r14d
movl $0x10a, %esi            # imm = 0x10A
callq 0xc731
movq %rbx, %rdi
testl %eax, %eax
je 0xc793
callq 0xc746
jmp 0xc7a8
callq 0x157ec
movq 0x38(%rbx), %rdi
leaq 0x133a0(%rip), %rsi     # 0x1fb43
callq 0xe823
movq 0x58(%rbx), %rsi
addq $0x10, %rsi
movq %rbx, %rdi
movq %rax, %rdx
movl %r14d, %ecx
movl %ebp, %r8d
callq 0xd89d
movq %rbx, %rdi
movl %eax, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0xda33
// File: /workspace/github_c_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %r14
movq 0x18(%rdi), %r15
cmpq $0x0, (%r15)
je 0xc850
cmpb $0x0, 0x11(%r15)
je 0xc850
movq %rbx, %rdi
callq 0x142ce
movl %eax, %ebp
movzbl 0x10(%r15), %edx
movq %rbx, %rdi
movl %eax, %esi
callq 0x143b9
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14333
cmpb $0x0, 0x12(%r15)
je 0xc89a
movq 0x38(%r14), %rdi
leaq 0x132e1(%rip), %rsi     # 0x1fb43
callq 0xe823
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 0xd89d
movq 0x58(%r14), %rcx
cltq
imulq $0x18, %rax, %rsi
addq 0x20(%rcx), %rsi
movq %r14, %rdi
callq 0xd91f
movq %r14, 0x10(%rsp)
movq (%r15), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x18(%rbx)
movzbl 0x10(%r15), %r14d
movzbl 0x3a(%rbx), %ebp
movl %r14d, %eax
subl %ebp, %eax
movq 0x10(%rbx), %rcx
movq 0x58(%rcx), %r12
addl %eax, 0x8(%r12)
cmpl %r14d, %ebp
jbe 0xc8e7
movl 0x20(%rbx), %r13d
decl %ebp
movb %bpl, 0x3a(%rbx)
movzbl %bpl, %esi
movq %rbx, %rdi
callq 0xd525
movl %r13d, 0xc(%rax)
jmp 0xc8c6
movb %bpl, 0x3c(%rbx)
movl 0x8(%r15), %ecx
movq 0x10(%rsp), %rdi
movq 0x58(%rdi), %rax
movl %ecx, 0x28(%rax)
movl 0xc(%r15), %ebp
cmpq $0x0, 0x8(%rsp)
je 0xc959
cmpl 0x18(%r12), %ebp
jge 0xc95e
movq 0x10(%r12), %r14
movslq %ebp, %rax
imulq $0x18, %rax, %rcx
movb 0x10(%r15), %al
cmpb %al, 0x10(%r14,%rcx)
jbe 0xc946
addq %rcx, %r14
cmpb $0x0, 0x11(%r15)
je 0xc942
movzbl %al, %edx
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x143b9
movb 0x10(%r15), %al
movb %al, 0x10(%r14)
movq 0x10(%rbx), %rdi
movl %ebp, %esi
callq 0xda33
cmpl $0x1, %eax
adcl $0x0, %ebp
jmp 0xc907
cmpl 0x18(%rax), %ebp
jl 0xc96d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movslq %ebp, %rcx
imulq $0x18, %rcx, %rsi
addq 0x10(%rax), %rsi
callq 0xd851
// File: /workspace/github_c_makefile_star2_O2/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 0xd178
cmpl $0x28, %eax
jne 0xd235
movq %rbx, %rdi
callq 0x157ec
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc7cf
pushq $0x29
popq %rsi
pushq $0x28
popq %rdx
movq %rbx, %rdi
movl %ebp, %ecx
callq 0xc6ba
movq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0x14786
jmp 0xd1fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd6c0
jmp 0xd1fd
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd54b
jmp 0xd1fd
movq %r15, %rdi
movq %r14, %rsi
callq 0x14836
jmp 0xd1c5
movq %rbx, %rdi
callq 0x157ec
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd345
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x14b94
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xd598
jmp 0xd1fd
movq %r15, %rdi
movq %r14, %rsi
callq 0x149cd
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd369
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x14d64
movl 0x10(%rbx), %eax
cmpl $0x28, %eax
je 0xd192
cmpl $0x125, %eax            # imm = 0x125
je 0xd192
cmpl $0x3a, %eax
je 0xd19f
cmpl $0x5b, %eax
je 0xd1d4
cmpl $0x7b, %eax
je 0xd192
cmpl $0x2e, %eax
je 0xd185
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x128d9(%rip), %rsi     # 0x1fb15
movq %rbx, %rdi
callq 0x15676
// File: /workspace/github_c_makefile_star2_O2/tylerneylon[P]APIsWithLua/lua/lparser.c
// Function: listfield
static void listfield (LexState *ls, struct ConsControl *cc) {
  /* listfield -> exp */
  expr(ls, &cc->v);
  checklimit(ls->fs, cc->na, MAX_INT, "items in a constructor");
  cc->na++;
  cc->tostore++;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xc7cf
movq 0x30(%r14), %rdi
movl 0x24(%rbx), %esi
leaq 0x1286f(%rip), %rcx     # 0x1fad0
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
callq 0xbbfc
movq 0x24(%rbx), %xmm0
pcmpeqd %xmm1, %xmm1
psubd %xmm1, %xmm0
movq %xmm0, 0x24(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xd2d1
movl 0x20(%r14), %esi
leaq 0x1281b(%rip), %rcx     # 0x1fad0
movq %rbx, %rdi
movl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
callq 0xbbfc
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xd345
jmp 0xd2de
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xd369
incl 0x20(%r14)
pushq $0x3d
popq %rsi
movq %r15, %rdi
callq 0xc7d6
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x149f4
movl %eax, %ebp
leaq 0x20(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xc7cf
movq 0x18(%r14), %rax
movl 0x8(%rax), %r14d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x149f4
pushq $0xa
popq %rsi
movq %rbx, %rdi
movl %r14d, %edx
movl %ebp, %ecx
movl %eax, %r8d
callq 0x14213
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_O2/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 0x157ec
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc7cf
movq 0x30(%r14), %rdi
movq %rbx, %rsi
callq 0x149e3
pushq $0x5d
popq %rsi
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc7d6
// File: /workspace/github_c_makefile_star2_O2/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq 0x30(%rdi), %r14
movb 0x3a(%r14), %al
addb %bl, %al
movb %al, 0x3a(%r14)
movzbl %al, %r15d
negl %ebx
testl %ebx, %ebx
je 0xd3eb
movl 0x20(%r14), %ebp
leal (%r15,%rbx), %esi
movq %r14, %rdi
callq 0xd525
movl %ebp, 0x8(%rax)
incl %ebx
jmp 0xd3d0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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
movl 0x24(%r12), %ecx
movslq %ecx, %rbp
movswl 0x38(%r14), %eax
cmpl %eax, %ebp
jle 0xd42a
movq 0x50(%r12), %rax
jmp 0xd457
leaq 0x24(%r12), %rdx
movq 0x38(%rbx), %rdi
movq 0x50(%r12), %rsi
leaq 0x126ad(%rip), %r9      # 0x1faec
pushq $0x10
popq %rcx
movl $0x7fff, %r8d           # imm = 0x7FFF
callq 0xab14
movq %rax, 0x50(%r12)
movl 0x24(%r12), %ecx
movslq %ecx, %rcx
movq %rbp, %rdx
shlq $0x4, %rdx
addq %rax, %rdx
cmpq %rcx, %rbp
jge 0xd476
incq %rbp
andq $0x0, (%rdx)
addq $0x10, %rdx
jmp 0xd464
movswq 0x38(%r14), %rbp
movq %rbp, %rcx
shlq $0x4, %rcx
movq %r15, (%rax,%rcx)
testb $0x4, 0x9(%r12)
je 0xd4a9
testb $0x3, 0x9(%r15)
je 0xd4a9
movq 0x38(%rbx), %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x972c
movzwl 0x38(%r14), %ebp
leal 0x1(%rbp), %eax
movw %ax, 0x38(%r14)
movl 0x8(%r13), %esi
subl 0x34(%r14), %esi
incl %esi
leaq 0x1262a(%rip), %rcx     # 0x1faec
movq %r14, %rdi
movl $0xc8, %edx
callq 0xbbfc
movl 0x8(%r13), %ecx
leal 0x2(%rcx), %edx
movq (%r13), %rax
cmpl 0xc(%r13), %edx
jle 0xd508
leaq 0xc(%r13), %rdx
movq 0x38(%rbx), %rdi
leaq 0x125fd(%rip), %r9      # 0x1faec
pushq $0x2
popq %rcx
movq %rax, %rsi
movl $0x7fffffff, %r8d       # imm = 0x7FFFFFFF
callq 0xab14
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
// File: /workspace/github_c_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x30(%rdi), %r15
movq %r15, %rdi
callq 0x149cd
movq %r14, %rdi
callq 0x157ec
movq %rsp, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0xd345
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x14d64
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xd5ed
cmpl $0x7b, %eax
je 0xd5de
cmpl $0x28, %eax
jne 0xd6b1
movq %r15, %rdi
callq 0x157ec
cmpl $0x29, 0x10(%r15)
jne 0xd619
andl $0x0, 0x8(%rsp)
jmp 0xd637
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xccec
jmp 0xd647
movq 0x18(%r15), %rsi
movq %rbx, %rdi
callq 0x14550
orq $-0x1, 0x18(%rsp)
movl $0x4, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movq %r15, %rdi
callq 0x157ec
movl 0x8(%r14), %r15d
jmp 0xd65d
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xd801
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x146d3
pushq $0x29
popq %rsi
pushq $0x28
popq %rdx
movq %r15, %rdi
movl %ebp, %ecx
callq 0xc6ba
movl 0x8(%rsp), %eax
movl 0x8(%r14), %r15d
leal -0xd(%rax), %edx
xorl %ecx, %ecx
cmpl $0x2, %edx
jb 0xd671
testl %eax, %eax
je 0xd66a
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x14836
movzbl 0x3c(%rbx), %ecx
subl %r15d, %ecx
pushq $0x24
popq %rsi
pushq $0x2
popq %r8
movq %rbx, %rdi
movl %r15d, %edx
callq 0x14213
orq $-0x1, 0x10(%r14)
movl $0xd, (%r14)
movl %eax, 0x8(%r14)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x152f5
incb %r15b
movb %r15b, 0x3c(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1246f(%rip), %rsi     # 0x1fb27
movq %r15, %rdi
callq 0x15676
// File: /workspace/github_c_makefile_star2_O2/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 0xc746
movq %rax, %r12
movq 0x30(%r15), %r14
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0xd739
cmpl $0x0, (%rbx)
jne 0xd72d
movq 0x68(%r15), %rsi
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %rbx, %rdx
callq 0xd739
movq 0x30(%r15), %rdi
movq %r12, %rsi
callq 0x14550
movq %rsp, %rdx
orq $-0x1, 0x10(%rdx)
movl $0x4, (%rdx)
movl %eax, 0x8(%rdx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x14d64
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
testq %rdi, %rdi
je 0xd797
movl %ecx, %r12d
movq %rsi, %r15
movq %rdi, %r14
movzbl 0x3a(%rdi), %ebp
testl %ebp, %ebp
jle 0xd7a5
decl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0xd525
cmpq %r15, (%rax)
jne 0xd756
orq $-0x1, 0x10(%rbx)
movl $0x8, (%rbx)
movl %ebp, 0x8(%rbx)
testl %r12d, %r12d
jne 0xd7f8
incl %ebp
addq $0x18, %r14
movq (%r14), %r14
movzbl 0x10(%r14), %eax
cmpl %eax, %ebp
jle 0xd784
movb $0x1, 0x11(%r14)
jmp 0xd7f8
orq $-0x1, 0x10(%rbx)
andl $0x0, (%rbx)
andl $0x0, 0x8(%rbx)
jmp 0xd7f8
movq (%r14), %rax
movq 0x58(%rax), %rcx
movzbl 0x3b(%r14), %edx
xorl %eax, %eax
cmpq %rax, %rdx
je 0xd7c6
cmpq %r15, (%rcx)
je 0xd7ea
incq %rax
addq $0x10, %rcx
jmp 0xd7b3
movq 0x8(%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xd739
cmpl $0x0, (%rbx)
je 0xd7f8
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xb939
orq $-0x1, 0x10(%rbx)
movl $0x9, (%rbx)
movl %eax, 0x8(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xc7cf
pushq $0x1
popq %rbp
pushq $0x2c
popq %r15
movq %r14, %rdi
movl %r15d, %esi
callq 0xc731
testl %eax, %eax
je 0xd844
movq 0x30(%r14), %rdi
movq %rbx, %rsi
callq 0x14836
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc7cf
incl %ebp
jmp 0xd81a
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/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 0xd876
cmpb $0x0, 0xa(%rdx)
leaq 0x12347(%rip), %rcx     # 0x1fbb0
leaq 0x1231e(%rip), %rax     # 0x1fb8e
cmoveq %rcx, %rax
jmp 0xd87d
leaq 0x12333(%rip), %rax     # 0x1fbb0
movq 0x38(%rbx), %rdi
addq $0x18, %rdx
movl 0xc(%rsi), %ecx
movq %rax, %rsi
xorl %eax, %eax
callq 0xb593
movq %rbx, %rdi
movq %rax, %rsi
callq 0xda29
// File: /workspace/github_c_makefile_star2_O2/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 0xd8e7
leaq 0xc(%r14), %rdx
movq 0x38(%r12), %rdi
leaq 0x12276(%rip), %r9      # 0x1fb49
pushq $0x18
popq %rcx
movq %rax, %rsi
movl $0x7fff, %r8d           # imm = 0x7FFF
callq 0xab14
movq %rax, (%r14)
leal 0x1(%r15), %ecx
imulq $0x18, %r15, %rdx
movq %r13, (%rax,%rdx)
movl %ebp, 0xc(%rax,%rdx)
movq 0x30(%r12), %rsi
movb 0x3a(%rsi), %sil
movb %sil, 0x10(%rax,%rdx)
movl %ebx, 0x8(%rax,%rdx)
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_O2/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x30(%rdi), %rax
movq 0x58(%rdi), %r12
movq 0x18(%rax), %rax
movl 0xc(%rax), %ebp
movslq %ebp, %r15
imulq $0x18, %r15, %r13
cmpl 0x18(%r12), %r15d
jge 0xd96f
movq 0x10(%r12), %rax
movq (%rax,%r13), %rax
cmpq (%rbx), %rax
jne 0xd96b
movq %r14, %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0xd97e
jmp 0xd946
incl %ebp
jmp 0xd93f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq