LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lstrlib.c
// Function: str_rep
static int str_rep (lua_State *L) {
  size_t l, lsep;
  const char *s = luaL_checklstring(L, 1, &l);
  int n = luaL_checkint(L, 2);
  const char *sep = luaL_optlstring(L, 3, "", &lsep);
  if (n <= 0) lua_pushliteral(L, "");
  else if (l + lsep < l || l + lsep >= MAXSIZE / n)  /* may overflow? */
    return luaL_error(L, "resulting string too large");
  else {
    size_t totallen = n * l + (n - 1) * lsep;
    luaL_Buffer b;
    char *p = luaL_buffinitsize(L, &b, totallen);
    while (n-- > 1) {  /* first n-1 copies (followed by separator) */
      memcpy(p, s, l * sizeof(char)); p += l;
      if (lsep > 0) {  /* avoid empty 'memcpy' (may be expensive) */
        memcpy(p, sep, lsep * sizeof(char)); p += lsep;
      }
    }
    memcpy(p, s, l * sizeof(char));  /* last copy (not followed by separator) */
    luaL_pushresultsize(&b, totallen);
  }
  return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2038, %rsp           # imm = 0x2038
movq %rdi, %r12
movl $0x1, %ebp
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0x9559
movq %rax, %rbx
movq %r12, %rdi
movl $0x2, %esi
callq 0x96d4
movq %rax, %r13
leaq 0xb4b8(%rip), %rdx      # 0x20f57
leaq 0x10(%rsp), %rcx
movq %r12, %rdi
movl $0x3, %esi
callq 0x9500
testl %r13d, %r13d
jle 0x15b90
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r14
movq %r14, %rsi
addq %rcx, %rsi
jb 0x15b7b
movq %rax, %r15
movl %r13d, %edi
andl $0x7fffffff, %edi       # imm = 0x7FFFFFFF
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
divq %rdi
cmpq %rax, %rsi
jae 0x15b7b
imulq %rdi, %rcx
movl %r13d, %eax
decl %eax
imulq %rax, %r14
addq %rcx, %r14
leaq 0x18(%rsp), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x99b7
movq %rax, %r12
cmpl $0x1, %r13d
je 0x15b57
leal 0x1(%r13), %ebp
movq 0x8(%rsp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6360
addq 0x8(%rsp), %r12
movq 0x10(%rsp), %rdx
testq %rdx, %rdx
je 0x15b50
movq %r12, %rdi
movq %r15, %rsi
callq 0x6360
addq 0x10(%rsp), %r12
decl %ebp
cmpl $0x2, %ebp
jg 0x15b21
movq 0x8(%rsp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0x6360
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0x990f
movl $0x1, %ebp
jmp 0x15ba1
leaq 0xbf50(%rip), %rsi      # 0x21ad2
movq %r12, %rdi
xorl %eax, %eax
callq 0x9024
movl %eax, %ebp
jmp 0x15ba1
leaq 0xb3c0(%rip), %rsi      # 0x20f57
movq %r12, %rdi
xorl %edx, %edx
callq 0x7dc7
movl %ebp, %eax
addq $0x2038, %rsp           # imm = 0x2038
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lstrlib.c
// Function: str_sub
static int str_sub (lua_State *L) {
  size_t l;
  const char *s = luaL_checklstring(L, 1, &l);
  size_t start = posrelat(luaL_checkinteger(L, 2), l);
  size_t end = posrelat(luaL_optinteger(L, 3, -1), l);
  if (start < 1) start = 1;
  if (end > l) end = l;
  if (start <= end)
    lua_pushlstring(L, s + start - 1, end - start + 1);
  else lua_pushliteral(L, "");
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
callq 0x9559
movq %rax, %r14
movq %rbx, %rdi
movl $0x2, %esi
callq 0x96d4
movq %rax, %r15
testq %rax, %rax
jns 0x15c76
movq 0x8(%rsp), %rax
movq %r15, %rcx
negq %rcx
cmpq %rcx, %rax
jae 0x15c70
xorl %r15d, %r15d
jmp 0x15c76
addq %rax, %r15
incq %r15
movq %rbx, %rdi
movl $0x3, %esi
movq $-0x1, %rdx
callq 0x9769
movq 0x8(%rsp), %rdx
testq %rax, %rax
jns 0x15ca9
movq %rax, %rcx
negq %rcx
cmpq %rcx, %rdx
jae 0x15ca3
xorl %eax, %eax
jmp 0x15ca9
addq %rdx, %rax
incq %rax
cmpq $0x1, %r15
adcq $0x0, %r15
cmpq %rdx, %rax
cmovbq %rax, %rdx
subq %r15, %rdx
jae 0x15ccb
leaq 0xb293(%rip), %rsi      # 0x20f57
movq %rbx, %rdi
xorl %edx, %edx
jmp 0x15cd8
leaq (%r14,%r15), %rsi
decq %rsi
incq %rdx
movq %rbx, %rdi
callq 0x7dc7
movl $0x1, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lstrlib.c
// Function: push_onecapture
static void push_onecapture (MatchState *ms, int i, const char *s,
                                                    const char *e) {
  if (i >= ms->level) {
    if (i == 0)  /* ms->level == 0, too */
      lua_pushlstring(ms->L, s, e - s);  /* add whole match */
    else
      luaL_error(ms->L, "invalid capture index");
  }
  else {
    ptrdiff_t l = ms->capture[i].len;
    if (l == CAP_UNFINISHED) luaL_error(ms->L, "unfinished capture");
    if (l == CAP_POSITION)
      lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1);
    else
      lua_pushlstring(ms->L, ms->capture[i].init, l);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl %esi, 0x28(%rdi)
jle 0x16855
movslq %esi, %rax
shlq $0x4, %rax
leaq (%rbx,%rax), %r15
addq $0x30, %r15
movq 0x8(%r15), %r14
cmpq $-0x2, %r14
je 0x16883
cmpq $-0x1, %r14
jne 0x16849
movq 0x20(%rbx), %rdi
leaq 0xb144(%rip), %rsi      # 0x21986
xorl %eax, %eax
callq 0x9024
movq 0x20(%rbx), %rdi
movq (%r15), %rsi
movq %r14, %rdx
jmp 0x16879
movq 0x20(%rbx), %rdi
testl %esi, %esi
je 0x16870
leaq 0xb10c(%rip), %rsi      # 0x21970
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
jmp 0x9024
subq %rdx, %rcx
movq %rdx, %rsi
movq %rcx, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x7dc7
movq (%r15), %rsi
subq 0x8(%rbx), %rsi
movq 0x20(%rbx), %rdi
incq %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x7d87
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lstrlib.c
// Function: gmatch_aux
static int gmatch_aux (lua_State *L) {
  MatchState ms;
  size_t ls, lp;
  const char *s = lua_tolstring(L, lua_upvalueindex(1), &ls);
  const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp);
  const char *src;
  ms.L = L;
  ms.matchdepth = MAXCCALLS;
  ms.src_init = s;
  ms.src_end = s+ls;
  ms.p_end = p + lp;
  for (src = s + (size_t)lua_tointeger(L, lua_upvalueindex(3));
       src <= ms.src_end;
       src++) {
    const char *e;
    ms.level = 0;
    lua_assert(ms.matchdepth == MAXCCALLS);
    if ((e = match(&ms, src, p)) != NULL) {
      lua_Integer newstart = e-s;
      if (e == src) newstart++;  /* empty match? go at least one position */
      lua_pushinteger(L, newstart);
      lua_replace(L, lua_upvalueindex(3));
      return push_captures(&ms, src, e);
    }
  }
  return 0;  /* not found */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movl $0xfff0b9d7, %esi       # imm = 0xFFF0B9D7
movq %r14, %rdx
callq 0x7bdc
movq %rax, %rbp
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movl $0xfff0b9d6, %esi       # imm = 0xFFF0B9D6
movq %r12, %rdx
callq 0x7bdc
movq %rax, %r15
movq %rbx, 0x38(%rsp)
movl $0xc8, 0x18(%rsp)
movq %rbp, 0x20(%rsp)
movq (%r14), %rax
addq %rbp, %rax
movq %rax, 0x28(%rsp)
movq (%r12), %rax
addq %r15, %rax
movq %rax, 0x30(%rsp)
xorl %r14d, %r14d
movq %rbx, %rdi
movl $0xfff0b9d5, %esi       # imm = 0xFFF0B9D5
xorl %edx, %edx
callq 0x7b1d
movq %rax, %r13
movq %rbp, (%rsp)
addq %rbp, %r13
cmpq 0x28(%rsp), %r13
ja 0x169eb
leaq 0x18(%rsp), %rbp
movl $0x0, 0x40(%rsp)
movq %rbp, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x16036
movq %rax, %r12
testq %rax, %rax
je 0x169d7
movq %r12, %rax
subq (%rsp), %rax
xorl %esi, %esi
cmpq %r12, %r13
sete %sil
addq %rax, %rsi
movq %rbx, %rdi
callq 0x7d87
movq %rbx, %rdi
movl $0xfff0b9d5, %esi       # imm = 0xFFF0B9D5
callq 0x77d7
movq %rbp, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x1648e
movl %eax, %r14d
testq %r12, %r12
jne 0x169eb
incq %r13
cmpq 0x28(%rsp), %r13
jbe 0x16980
xorl %r14d, %r14d
jmp 0x169eb
movl %r14d, %eax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_next
int luaH_next (lua_State *L, Table *t, StkId key) {
  int i = findindex(L, t, key);  /* find original element */
  for (i++; i < t->sizearray; i++) {  /* try first array part */
    if (!ttisnil(&t->array[i])) {  /* a non-nil value? */
      setnvalue(key, cast_num(i+1));
      setobj2s(L, key+1, &t->array[i]);
      return 1;
    }
  }
  for (i -= t->sizearray; i < sizenode(t); i++) {  /* then hash part */
    if (!ttisnil(gval(gnode(t, i)))) {  /* a non-nil value? */
      setobj2s(L, key, gkey(gnode(t, i)));
      setobj2s(L, key+1, gval(gnode(t, i)));
      return 1;
    }
  }
  return 0;  /* no more elements */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movl 0x8(%rdx), %eax
testl %eax, %eax
je 0x16ad3
movq %rdi, %r15
cmpl $0x3, %eax
jne 0x16a4f
movsd (%rbx), %xmm0
movsd 0x98d6(%rip), %xmm1     # 0x20308
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movl 0x8(%rsp), %ecx
xorps %xmm1, %xmm1
cvtsi2sd %ecx, %xmm1
ucomisd %xmm1, %xmm0
jne 0x16a4f
jnp 0x16a54
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
testl %ecx, %ecx
jle 0x16a5e
cmpl 0x38(%r14), %ecx
jle 0x16ada
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1735c
movq %rax, %r12
leaq 0x10(%r12), %r13
movl 0x18(%r12), %eax
cmpl 0x8(%rbx), %eax
jne 0x16a8c
xorl %edi, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x18fda
testl %eax, %eax
jne 0x16abe
cmpl $0xb, 0x18(%r12)
jne 0x16aa3
testb $0x40, 0x8(%rbx)
je 0x16aa3
movq (%r13), %rax
cmpq (%rbx), %rax
je 0x16abe
movq 0x20(%r12), %r12
testq %r12, %r12
jne 0x16a6c
leaq 0xb09a(%rip), %rsi      # 0x21b4e
movq %r15, %rdi
xorl %eax, %eax
callq 0xaf1a
subq 0x20(%r14), %r12
shrq $0x3, %r12
imull $0xcccccccd, %r12d, %ecx # imm = 0xCCCCCCCD
addl 0x38(%r14), %ecx
jmp 0x16adc
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x16adc
decl %ecx
movslq 0x38(%r14), %rax
movslq %ecx, %rdx
movq %rdx, %rsi
shlq $0x4, %rsi
incq %rdx
cmpq %rax, %rdx
jge 0x16b1f
movq 0x18(%r14), %rdi
incq %rdx
leaq 0x10(%rsi), %rcx
cmpl $0x0, 0x18(%rdi,%rsi)
movq %rcx, %rsi
je 0x16aed
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
movsd %xmm0, (%rbx)
movl $0x3, 0x8(%rbx)
addq 0x18(%r14), %rcx
jmp 0x16b70
movb 0xb(%r14), %cl
movl $0x1, %edi
shll %cl, %edi
subl %eax, %edx
xorl %eax, %eax
cmpl %edi, %edx
jge 0x16b82
movq 0x20(%r14), %rsi
movslq %edx, %rdx
movslq %edi, %rdi
leaq (,%rdx,8), %rcx
leaq (%rcx,%rcx,4), %rcx
cmpl $0x0, 0x8(%rsi,%rcx)
jne 0x16b5d
incq %rdx
addq $0x28, %rcx
cmpq %rdi, %rdx
jl 0x16b48
jmp 0x16b82
movq 0x10(%rsi,%rcx), %rax
movq %rax, (%rbx)
movl 0x18(%rsi,%rcx), %eax
movl %eax, 0x8(%rbx)
addq 0x20(%r14), %rcx
movq (%rcx), %rax
movq %rax, 0x10(%rbx)
movl 0x8(%rcx), %eax
movl %eax, 0x18(%rbx)
movl $0x1, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: setnodevector
static void setnodevector (lua_State *L, Table *t, int size) {
  int lsize;
  if (size == 0) {  /* no elements to hash part? */
    t->node = cast(Node *, dummynode);  /* use common `dummynode' */
    lsize = 0;
  }
  else {
    int i;
    lsize = luaO_ceillog2(size);
    if (lsize > MAXBITS)
      luaG_runerror(L, "table overflow");
    size = twoto(lsize);
    t->node = luaM_newvector(L, size, Node);
    for (i=0; i<size; i++) {
      Node *n = gnode(t, i);
      gnext(n) = NULL;
      setnilvalue(gkey(n));
      setnilvalue(gval(n));
    }
  }
  t->lsizenode = cast_byte(lsize);
  t->lastfree = gnode(t, size);  /* all positions are free */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
testl %edx, %edx
je 0x16ebb
movq %rdi, %r15
movl %edx, %edi
callq 0x107ad
cmpl $0x1f, %eax
jge 0x16eea
movl %eax, %r14d
movl $0x1, %r12d
movl %r14d, %ecx
shll %cl, %r12d
movl $0x28, %eax
shlq %cl, %rax
xorl %r13d, %r13d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %rcx
callq 0xfa40
movq %rax, 0x20(%rbx)
movl $0x20, %eax
movq %r12, %rcx
movq 0x20(%rbx), %rdx
movq $0x0, (%rdx,%rax)
movl %r13d, -0x8(%rdx,%rax)
movl %r13d, -0x18(%rdx,%rax)
addq $0x28, %rax
decq %rcx
jne 0x16e9a
jmp 0x16ecc
leaq 0xac3e(%rip), %rax      # 0x21b00
movq %rax, 0x20(%rbx)
xorl %r14d, %r14d
xorl %r12d, %r12d
movb %r14b, 0xb(%rbx)
leaq (%r12,%r12,4), %rax
shlq $0x3, %rax
addq 0x20(%rbx), %rax
movq %rax, 0x28(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0xac73(%rip), %rsi      # 0x21b64
movq %r15, %rdi
xorl %eax, %eax
callq 0xaf1a
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_setint
void luaH_setint (lua_State *L, Table *t, int key, TValue *value) {
  const TValue *p = luaH_getint(t, key);
  TValue *cell;
  if (p != luaO_nilobject)
    cell = cast(TValue *, p);
  else {
    TValue k;
    setnvalue(&k, cast_num(key));
    cell = luaH_newkey(L, t, &k);
  }
  setobj2t(L, cell, value);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
movl %edx, %esi
callq 0x1744b
leaq 0xa0af(%rip), %rcx      # 0x20fd0
cmpq %rcx, %rax
jne 0x16f45
cvtsi2sd %ebp, %xmm0
leaq 0x8(%rsp), %rdx
movsd %xmm0, (%rdx)
movl $0x3, 0x8(%rdx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1705d
movq (%rbx), %rcx
movq %rcx, (%rax)
movl 0x8(%rbx), %ecx
movl %ecx, 0x8(%rax)
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_new
Table *luaH_new (lua_State *L) {
  Table *t = &luaC_newobj(L, LUA_TTABLE, sizeof(Table), NULL, 0)->h;
  t->metatable = NULL;
  t->flags = cast_byte(~0);
  t->array = NULL;
  t->sizearray = 0;
  setnodevector(L, t, 0);
  return t;
}

// Assembly:
pushq %rax
movl $0x40, %edx
movl $0x5, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0xca0d
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movw $0xff, 0xa(%rax)
movl $0x0, 0x38(%rax)
leaq 0xab14(%rip), %rcx      # 0x21b00
movq %rcx, 0x20(%rax)
movq %rcx, 0x28(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: mainposition
static Node *mainposition (const Table *t, const TValue *key) {
  switch (ttype(key)) {
    case LUA_TNUMBER:
      return hashnum(t, nvalue(key));
    case LUA_TLNGSTR: {
      TString *s = rawtsvalue(key);
      if (s->tsv.extra == 0) {  /* no hash? */
        s->tsv.hash = luaS_hash(getstr(s), s->tsv.len, s->tsv.hash);
        s->tsv.extra = 1;  /* now it has its hash */
      }
      return hashstr(t, rawtsvalue(key));
    }
    case LUA_TSHRSTR:
      return hashstr(t, rawtsvalue(key));
    case LUA_TBOOLEAN:
      return hashboolean(t, bvalue(key));
    case LUA_TLIGHTUSERDATA:
      return hashpointer(t, pvalue(key));
    case LUA_TLCF:
      return hashpointer(t, fvalue(key));
    default:
      return hashpointer(t, gcvalue(key));
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x8(%rsi), %eax
andl $0x3f, %eax
leal -0x1(%rax), %ecx
cmpl $0x3, %ecx
ja 0x1739d
leaq 0xa770(%rip), %rax      # 0x21af0
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movb 0xb(%rbx), %cl
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
notl %edx
andl (%r14), %edx
jmp 0x17433
cmpl $0x14, %eax
je 0x173bd
cmpl $0x16, %eax
movb 0xb(%rbx), %cl
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
movl (%r14), %eax
notl %esi
orl $0x1, %esi
xorl %edx, %edx
divl %esi
jmp 0x17433
movq (%r14), %r15
cmpb $0x0, 0xa(%r15)
jne 0x173e1
leaq 0x18(%r15), %rdi
movq 0x10(%r15), %rsi
movl 0xc(%r15), %edx
callq 0x14908
movl %eax, 0xc(%r15)
movb $0x1, 0xa(%r15)
movb 0xb(%rbx), %cl
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
movq (%r14), %rax
notl %edx
andl 0xc(%rax), %edx
jmp 0x17433
movsd (%r14), %xmm0
addsd 0x9856(%rip), %xmm0     # 0x20c58
movsd %xmm0, 0x8(%rsp)
movl 0x8(%rsp), %ecx
addl 0xc(%rsp), %ecx
movl %ecx, %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmovnel %ecx, %eax
negl %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
movb 0xb(%rbx), %cl
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
notl %esi
orl $0x1, %esi
cltd
idivl %esi
movl %edx, %eax
leaq (%rax,%rax,4), %rax
shlq $0x3, %rax
addq 0x20(%rbx), %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_getint
const TValue *luaH_getint (Table *t, int key) {
  /* (1 <= key && key <= t->sizearray) */
  if (cast(unsigned int, key-1) < cast(unsigned int, t->sizearray))
    return &t->array[key-1];
  else {
    lua_Number nk = cast_num(key);
    Node *n = hashnum(t, nk);
    do {  /* check whether `key' is somewhere in the chain */
      if (ttisnumber(gkey(n)) && luai_numeq(nvalue(gkey(n)), nk))
        return gval(n);  /* that's it */
      else n = gnext(n);
    } while (n);
    return luaO_nilobject;
  }
}

// Assembly:
leal -0x1(%rsi), %eax
cmpl 0x38(%rdi), %eax
jae 0x1745e
cltq
shlq $0x4, %rax
addq 0x18(%rdi), %rax
retq
cvtsi2sd %esi, %xmm0
movsd 0x97ee(%rip), %xmm1     # 0x20c58
addsd %xmm0, %xmm1
movsd %xmm1, -0x8(%rsp)
movl -0x8(%rsp), %ecx
addl -0x4(%rsp), %ecx
movl %ecx, %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
cmovnel %ecx, %eax
negl %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
movb 0xb(%rdi), %cl
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
notl %esi
orl $0x1, %esi
cltd
idivl %esi
leaq (%rdx,%rdx,4), %rax
shlq $0x3, %rax
addq 0x20(%rdi), %rax
leaq 0x9b1e(%rip), %rcx      # 0x20fd0
cmpl $0x3, 0x18(%rax)
jne 0x174c5
movsd 0x10(%rax), %xmm1
ucomisd %xmm0, %xmm1
jne 0x174c5
jnp 0x1745d
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x174b2
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_getstr
const TValue *luaH_getstr (Table *t, TString *key) {
  Node *n = hashstr(t, key);
  lua_assert(key->tsv.tt == LUA_TSHRSTR);
  do {  /* check whether `key' is somewhere in the chain */
    if (ttisshrstring(gkey(n)) && eqshrstr(rawtsvalue(gkey(n)), key))
      return gval(n);  /* that's it */
    else n = gnext(n);
  } while (n);
  return luaO_nilobject;
}

// Assembly:
movb 0xb(%rdi), %cl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
shll %cl, %eax
notl %eax
andl 0xc(%rsi), %eax
leaq (%rax,%rax,4), %rax
shlq $0x3, %rax
addq 0x20(%rdi), %rax
leaq 0x9adc(%rip), %rcx      # 0x20fd0
cmpl $0x44, 0x18(%rax)
jne 0x17500
cmpq %rsi, 0x10(%rax)
je 0x1750c
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x174f4
movq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: luaH_get
const TValue *luaH_get (Table *t, const TValue *key) {
  switch (ttype(key)) {
    case LUA_TSHRSTR: return luaH_getstr(t, rawtsvalue(key));
    case LUA_TNIL: return luaO_nilobject;
    case LUA_TNUMBER: {
      int k;
      lua_Number n = nvalue(key);
      lua_number2int(k, n);
      if (luai_numeq(cast_num(k), n)) /* index is int? */
        return luaH_getint(t, k);  /* use specialized version */
      /* else go through */
    }
    default: {
      Node *n = mainposition(t, key);
      do {  /* check whether `key' is somewhere in the chain */
        if (luaV_rawequalobj(gkey(n), key))
          return gval(n);  /* that's it */
        else n = gnext(n);
      } while (n);
      return luaO_nilobject;
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0x8(%rsi), %eax
leaq 0x9aae(%rip), %r12      # 0x20fd0
andl $0x3f, %eax
je 0x17601
movq %rsi, %rbx
movq %rdi, %r15
cmpl $0x3, %eax
je 0x1757d
cmpl $0x4, %eax
jne 0x175cf
movb 0xb(%r15), %cl
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
movq (%rbx), %rax
notl %edx
andl 0xc(%rax), %edx
leaq (%rdx,%rdx,4), %r14
shlq $0x3, %r14
addq 0x20(%r15), %r14
cmpl $0x44, 0x18(%r14)
jne 0x1756f
cmpq %rax, 0x10(%r14)
je 0x17604
movq 0x20(%r14), %r14
testq %r14, %r14
jne 0x1755e
jmp 0x17601
movsd (%rbx), %xmm1
movsd 0x8d7f(%rip), %xmm0     # 0x20308
addsd %xmm1, %xmm0
movsd %xmm0, 0x10(%rsp)
movl 0x10(%rsp), %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
ucomisd %xmm0, %xmm1
jne 0x175c7
jp 0x175c7
movq %r15, %rdi
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rsp)
callq 0x1744b
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movq %rax, %r14
ucomisd %xmm0, %xmm1
jne 0x175cf
jnp 0x17604
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1735c
movq %rax, %r14
movl 0x18(%r14), %eax
cmpl 0x8(%rbx), %eax
jne 0x175f8
leaq 0x10(%r14), %rsi
xorl %edi, %edi
movq %rbx, %rdx
callq 0x18fda
testl %eax, %eax
jne 0x17604
movq 0x20(%r14), %r14
testq %r14, %r14
jne 0x175dd
movq %r12, %r14
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltable.c
// Function: countint
static int countint (const TValue *key, int *nums) {
  int k = arrayindex(key);
  if (0 < k && k <= MAXASIZE) {  /* is `key' an appropriate array index? */
    nums[luaO_ceillog2(k)]++;  /* count as such */
    return 1;
  }
  else
    return 0;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
cmpl $0x3, 0x8(%rdi)
jne 0x17769
movsd (%rdi), %xmm0
movsd 0x8bbc(%rip), %xmm1     # 0x20308
addsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movl 0x8(%rsp), %edi
xorps %xmm1, %xmm1
cvtsi2sd %edi, %xmm1
ucomisd %xmm1, %xmm0
jne 0x17769
jnp 0x1776e
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
leal -0x1(%rdi), %ecx
xorl %eax, %eax
cmpl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
ja 0x1778a
callq 0x107ad
cltq
incl (%rbx,%rax,4)
movl $0x1, %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: tconcat
static int tconcat (lua_State *L) {
  luaL_Buffer b;
  size_t lsep;
  int i, last;
  const char *sep = luaL_optlstring(L, 2, "", &lsep);
  luaL_checktype(L, 1, LUA_TTABLE);
  i = luaL_optint(L, 3, 1);
  last = luaL_opt(L, luaL_checkint, 4, luaL_len(L, 1));
  luaL_buffinit(L, &b);
  for (; i < last; i++) {
    addfield(L, &b, i);
    luaL_addlstring(&b, sep, lsep);
  }
  if (i == last)  /* add last value (if interval was not empty) */
    addfield(L, &b, i);
  luaL_pushresult(&b);
  return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2030, %rsp           # imm = 0x2030
movq %rdi, %rbx
leaq 0x9785(%rip), %rdx      # 0x20f57
leaq 0x8(%rsp), %rcx
movl $0x2, %esi
callq 0x9500
movq %rax, %r14
movq %rbx, %rdi
movl $0x1, %esi
movl $0x5, %edx
callq 0x95e9
movl $0x1, %edx
movq %rbx, %rdi
movl $0x3, %esi
callq 0x9769
movq %rax, %r15
movq %rbx, %rdi
movl $0x4, %esi
callq 0x7889
movq %rbx, %rdi
testl %eax, %eax
jle 0x1782e
movl $0x4, %esi
callq 0x96d4
movq %rax, %r12
jmp 0x1783b
movl $0x1, %esi
callq 0x9edd
movl %eax, %r12d
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x999b
cmpl %r15d, %r12d
jle 0x1787b
leaq 0x10(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
movl %r15d, %edx
callq 0x17c6d
movq 0x8(%rsp), %rdx
movq %r13, %rdi
movq %r14, %rsi
callq 0x9869
incl %r15d
cmpl %r15d, %r12d
jne 0x17852
movl %r12d, %r15d
cmpl %r12d, %r15d
jne 0x17890
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movl %r15d, %edx
callq 0x17c6d
leaq 0x10(%rsp), %rdi
callq 0x98d0
movl $0x1, %eax
addq $0x2030, %rsp           # imm = 0x2030
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: tinsert
static int tinsert (lua_State *L) {
  int e = aux_getn(L, 1) + 1;  /* first empty element */
  int pos;  /* where to insert new element */
  switch (lua_gettop(L)) {
    case 2: {  /* called with only 2 arguments */
      pos = e;  /* insert new element at the end */
      break;
    }
    case 3: {
      int i;
      pos = luaL_checkint(L, 2);  /* 2nd argument is the position */
      luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds");
      for (i = e; i > pos; i--) {  /* move up elements */
        lua_rawgeti(L, 1, i-1);
        lua_rawseti(L, 1, i);  /* t[i] = t[i-1] */
      }
      break;
    }
    default: {
      return luaL_error(L, "wrong number of arguments to " LUA_QL("insert"));
    }
  }
  lua_rawseti(L, 1, pos);  /* t[pos] = v */
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %esi
movl $0x5, %edx
callq 0x95e9
movq %rbx, %rdi
movl $0x1, %esi
callq 0x9edd
movl %eax, %r14d
leal 0x1(%r14), %ebp
movq %rbx, %rdi
callq 0x7683
cmpl $0x2, %eax
je 0x17961
cmpl $0x3, %eax
jne 0x1797d
movq %rbx, %rdi
movl $0x2, %esi
callq 0x96d4
movq %rax, %r15
testl %r15d, %r15d
setle %al
cmpl %r15d, %ebp
setl %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x1792a
leaq 0xa297(%rip), %rdx      # 0x21bb4
movq %rbx, %rdi
movl $0x2, %esi
callq 0x8f3e
cmpl %r15d, %r14d
jl 0x1795e
leal 0x1(%r14), %ebp
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x8145
movq %rbx, %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x840d
leal -0x1(%r14), %eax
cmpl %r15d, %r14d
movl %eax, %r14d
jg 0x1792f
movl %r15d, %ebp
movq %rbx, %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x840d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa247(%rip), %rsi      # 0x21bcb
movq %rbx, %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x9024
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: pack
static int pack (lua_State *L) {
  int n = lua_gettop(L);  /* number of elements to pack */
  lua_createtable(L, n, 1);  /* create result table */
  lua_pushinteger(L, n);
  lua_setfield(L, -2, "n");  /* t.n = number of elements */
  if (n > 0) {  /* at least one element? */
    int i;
    lua_pushvalue(L, 1);
    lua_rawseti(L, -2, 1);  /* insert first element */
    lua_replace(L, 1);  /* move table into index 1 */
    for (i = n; i >= 2; i--)  /* assign other elements */
      lua_rawseti(L, 1, i);
  }
  return 1;  /* return table */
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7683
movl %eax, %r14d
movq %rbx, %rdi
movl %eax, %esi
movl $0x1, %edx
callq 0x81c0
movslq %r14d, %rsi
movq %rbx, %rdi
callq 0x7d87
leaq 0xa26d(%rip), %rdx      # 0x21c35
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x833f
testl %r14d, %r14d
jle 0x17a29
movq %rbx, %rdi
movl $0x1, %esi
callq 0x7869
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl $0x1, %edx
callq 0x840d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x77d7
cmpl $0x1, %r14d
je 0x17a29
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x840d
leal -0x1(%r14), %eax
cmpl $0x2, %r14d
movl %eax, %r14d
jg 0x17a0c
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: unpack
static int unpack (lua_State *L) {
  int i, e, n;
  luaL_checktype(L, 1, LUA_TTABLE);
  i = luaL_optint(L, 2, 1);
  e = luaL_opt(L, luaL_checkint, 3, luaL_len(L, 1));
  if (i > e) return 0;  /* empty range */
  n = e - i + 1;  /* number of elements */
  if (n <= 0 || !lua_checkstack(L, n))  /* n <= 0 means arith. overflow */
    return luaL_error(L, "too many results to unpack");
  lua_rawgeti(L, 1, i);  /* push arg[i] (avoiding overflow problems) */
  while (i++ < e)  /* push arg[i + 1...e] */
    lua_rawgeti(L, 1, i);
  return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %esi
movl $0x5, %edx
callq 0x95e9
movl $0x1, %edx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x9769
movq %rax, %r14
movq %rbx, %rdi
movl $0x3, %esi
callq 0x7889
movq %rbx, %rdi
testl %eax, %eax
jle 0x17a87
movl $0x3, %esi
callq 0x96d4
movq %rax, %r15
jmp 0x17a94
movl $0x1, %esi
callq 0x9edd
movl %eax, %r15d
xorl %eax, %eax
movl %r15d, %ebp
subl %r14d, %ebp
jl 0x17af0
js 0x17afb
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7564
testl %eax, %eax
je 0x17afb
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x8145
cmpl %r14d, %r15d
jle 0x17aee
negl %r15d
incl %r14d
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x8145
leal (%r15,%r14), %eax
incl %eax
movl %r14d, %ecx
incl %ecx
movl %ecx, %r14d
cmpl $0x1, %eax
jne 0x17acb
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa0ef(%rip), %rsi      # 0x21bf1
movq %rbx, %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x9024
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: tremove
static int tremove (lua_State *L) {
  int size = aux_getn(L, 1);
  int pos = luaL_optint(L, 2, size);
  if (pos != size)  /* validate 'pos' if given */
    luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds");
  lua_rawgeti(L, 1, pos);  /* result = t[pos] */
  for ( ; pos < size; pos++) {
    lua_rawgeti(L, 1, pos+1);
    lua_rawseti(L, 1, pos);  /* t[pos] = t[pos+1] */
  }
  lua_pushnil(L);
  lua_rawseti(L, 1, pos);  /* t[pos] = nil */
  return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %esi
movl $0x5, %edx
callq 0x95e9
movq %rbx, %rdi
movl $0x1, %esi
callq 0x9edd
movl %eax, %r15d
movslq %eax, %rdx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x9769
movq %rax, %r14
cmpl %r14d, %r15d
je 0x17b82
testl %r14d, %r14d
setle %al
leal 0x1(%r15), %ecx
cmpl %r14d, %ecx
setl %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x17b82
leaq 0xa03f(%rip), %rdx      # 0x21bb4
movq %rbx, %rdi
movl $0x1, %esi
callq 0x8f3e
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x8145
cmpl %r14d, %r15d
jle 0x17bc5
leal 0x1(%r14), %ebp
movq %rbx, %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x8145
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x840d
movl %ebp, %r14d
cmpl %ebp, %r15d
jne 0x17b97
movl %r15d, %r14d
movq %rbx, %rdi
callq 0x7d5e
movq %rbx, %rdi
movl $0x1, %esi
movl %r14d, %edx
callq 0x840d
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: sort
static int sort (lua_State *L) {
  int n = aux_getn(L, 1);
  luaL_checkstack(L, 40, "");  /* assume array is smaller than 2^40 */
  if (!lua_isnoneornil(L, 2))  /* is there a 2nd argument? */
    luaL_checktype(L, 2, LUA_TFUNCTION);
  lua_settop(L, 2);  /* make sure there is two arguments */
  auxsort(L, 1, n);
  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, %esi
movl $0x5, %edx
callq 0x95e9
movq %rbx, %rdi
movl $0x1, %esi
callq 0x9edd
movl %eax, %ebp
leaq 0x933f(%rip), %rdx      # 0x20f57
movq %rbx, %rdi
movl $0x28, %esi
callq 0x9593
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7889
testl %eax, %eax
jle 0x17c48
movq %rbx, %rdi
movl $0x2, %esi
movl $0x6, %edx
callq 0x95e9
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7697
movq %rbx, %rdi
movl $0x1, %esi
movl %ebp, %edx
callq 0x17ccd
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: addfield
static void addfield (lua_State *L, luaL_Buffer *b, int i) {
  lua_rawgeti(L, 1, i);
  if (!lua_isstring(L, -1))
    luaL_error(L, "invalid value (%s) at index %d in table for "
                  LUA_QL("concat"), luaL_typename(L, -1), i);
  luaL_addvalue(b);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %esi
callq 0x8145
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x7907
testl %eax, %eax
jne 0x17cc1
movq %r14, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x7889
movq %r14, %rdi
movl %eax, %esi
callq 0x78aa
leaq 0x9ecd(%rip), %rsi      # 0x21b7f
movq %r14, %rdi
movq %rax, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x9024
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x9918
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltablib.c
// Function: sort_comp
static int sort_comp (lua_State *L, int a, int b) {
  if (!lua_isnil(L, 2)) {  /* function? */
    int res;
    lua_pushvalue(L, 2);
    lua_pushvalue(L, a-1);  /* -1 to compensate function */
    lua_pushvalue(L, b-2);  /* -2 to compensate function and `a' */
    lua_call(L, 2, 1);
    res = lua_toboolean(L, -1);
    lua_pop(L, 1);
    return res;
  }
  else  /* a < b? */
    return lua_compare(L, a, b, LUA_OPLT);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movl $0x2, %esi
callq 0x7889
testl %eax, %eax
je 0x180e1
movq %rbx, %rdi
movl $0x2, %esi
callq 0x7869
decl %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x7869
addl $-0x2, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7869
movq %rbx, %rdi
movl $0x2, %esi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x85f1
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x7bb6
movl %eax, %ebp
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x7697
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
movl %r14d, %esi
movl %ebp, %edx
movl $0x1, %ecx
popq %rbx
popq %r14
popq %rbp
jmp 0x7a2b
nop
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltm.c
// Function: luaT_init
void luaT_init (lua_State *L) {
  static const char *const luaT_eventname[] = {  /* ORDER TM */
    "__index", "__newindex",
    "__gc", "__mode", "__len", "__eq",
    "__add", "__sub", "__mul", "__div", "__mod",
    "__pow", "__unm", "__lt", "__le",
    "__concat", "__call"
  };
  int i;
  for (i=0; i<TM_N; i++) {
    G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]);
    luaS_fix(G(L)->tmname[i]);  /* never collect these names */
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r14d, %r14d
leaq 0x9bae(%rip), %r15      # 0x21cb8
movslq (%r14,%r15), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x14c07
movq 0x18(%rbx), %rcx
movq %rax, 0x120(%rcx,%r14,2)
movq 0x18(%rbx), %rax
movq 0x120(%rax,%r14,2), %rax
orb $0x20, 0x9(%rax)
addq $0x4, %r14
cmpq $0x44, %r14
jne 0x1810a
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltm.c
// Function: luaT_gettm
const TValue *luaT_gettm (Table *events, TMS event, TString *ename) {
  const TValue *tm = luaH_getstr(events, ename);
  lua_assert(event <= TM_EQ);
  if (ttisnil(tm)) {  /* no tag method? */
    events->flags |= cast_byte(1u<<event);  /* cache this fact */
    return NULL;
  }
  else return tm;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x174d2
cmpl $0x0, 0x8(%rax)
jne 0x18169
movl $0x1, %eax
movl %ebp, %ecx
shll %cl, %eax
orb %al, 0xa(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/ltm.c
// Function: luaT_gettmbyobj
const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) {
  Table *mt;
  switch (ttypenv(o)) {
    case LUA_TTABLE:
      mt = hvalue(o)->metatable;
      break;
    case LUA_TUSERDATA:
      mt = uvalue(o)->metatable;
      break;
    default:
      mt = G(L)->mt[ttypenv(o)];
  }
  return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject);
}

// Assembly:
movl 0x8(%rsi), %eax
andl $0xf, %eax
cmpq $0x7, %rax
je 0x18181
cmpl $0x5, %eax
jne 0x1818a
movq (%rsi), %rax
addq $0x10, %rax
jmp 0x18198
movq 0x18(%rdi), %rcx
leaq (%rcx,%rax,8), %rax
addq $0x1a8, %rax            # imm = 0x1A8
movq (%rax), %rax
testq %rax, %rax
je 0x181b6
movq 0x18(%rdi), %rcx
movl %edx, %edx
movq 0x120(%rcx,%rdx,8), %rsi
movq %rax, %rdi
jmp 0x174d2
leaq 0x8e13(%rip), %rax      # 0x20fd0
retq
nop
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lundump.c
// Function: luaU_undump
Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name)
{
 LoadState S;
 Closure* cl;
 if (*name=='@' || *name=='=')
  S.name=name+1;
 else if (*name==LUA_SIGNATURE[0])
  S.name="binary string";
 else
  S.name=name;
 S.L=L;
 S.Z=Z;
 S.b=buff;
 LoadHeader(&S);
 cl=luaF_newLclosure(L,1);
 setclLvalue(L,L->top,cl); incr_top(L);
 cl->l.p=luaF_newproto(L);
 LoadFunction(&S,cl->l.p);
 if (cl->l.p->sizeupvalues != 1)
 {
  Proto* p=cl->l.p;
  cl=luaF_newLclosure(L,cl->l.p->sizeupvalues);
  cl->l.p=p;
  setclLvalue(L,L->top-1,cl);
 }
 luai_verifycode(L,buff,cl->l.p);
 return cl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %rbx
movzbl (%rcx), %eax
cmpl $0x1b, %eax
je 0x181e3
cmpl $0x40, %eax
je 0x181de
cmpl $0x3d, %eax
jne 0x181ea
incq %rcx
jmp 0x181ea
leaq 0x9b4a(%rip), %rcx      # 0x21d34
leaq 0x40(%rsp), %rdi
movq %rcx, 0x18(%rdi)
movq %rbx, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movl $0x61754c1b, (%rsp)     # imm = 0x61754C1B
movabsq $0x8040804010052, %rax  # imm = 0x8040804010052
movq %rax, 0x4(%rsp)
movl $0xa0d9319, 0xc(%rsp)   # imm = 0xA0D9319
movw $0xa1a, 0x10(%rsp)      # imm = 0xA1A
leaq 0x21(%rsp), %r14
movb $0x1b, -0x1(%r14)
movl $0x11, %edx
movq %r14, %rsi
callq 0x1890b
movdqa (%rsp), %xmm0
movzwl 0x10(%rsp), %eax
movzwl 0xf(%r14), %ecx
movd %eax, %xmm1
movd %ecx, %xmm2
pcmpeqb -0x1(%r14), %xmm0
pcmpeqb %xmm1, %xmm2
pand %xmm2, %xmm0
pmovmskb %xmm0, %eax
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x18300
movq %rbx, %rdi
movl $0x1, %esi
callq 0xc54a
movq %rax, %r14
movq 0x10(%rbx), %rax
movq %r14, (%rax)
movl $0x46, 0x8(%rax)
movq 0x10(%rbx), %rax
movq 0x30(%rbx), %rcx
addq $0x10, %rax
movq %rax, 0x10(%rbx)
subq %rax, %rcx
cmpq $0xf, %rcx
jg 0x182af
movq %rbx, %rdi
xorl %esi, %esi
callq 0xb483
movq %rbx, %rdi
callq 0xc71e
movq %rax, 0x18(%r14)
leaq 0x40(%rsp), %rdi
movq %rax, %rsi
callq 0x18363
movq 0x18(%r14), %r15
movl 0x50(%r15), %esi
cmpl $0x1, %esi
je 0x182f3
movq %rbx, %rdi
callq 0xc54a
movq %rax, %r14
movq %r15, 0x18(%rax)
movq 0x10(%rbx), %rax
movq %r14, -0x10(%rax)
movl $0x46, -0x8(%rax)
movq %r14, %rax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl (%rsp), %eax
cmpl 0x20(%rsp), %eax
jne 0x18340
movl (%rsp), %eax
xorl 0x20(%rsp), %eax
movzwl 0x4(%rsp), %ecx
xorw 0x24(%rsp), %cx
movzwl %cx, %ecx
orl %eax, %ecx
jne 0x18349
movq (%rsp), %rax
xorq 0x20(%rsp), %rax
movl 0x8(%rsp), %ecx
xorl 0x28(%rsp), %ecx
orq %rax, %rcx
jne 0x18352
leaq 0x9a32(%rip), %rsi      # 0x21d70
jmp 0x18359
leaq 0x9a02(%rip), %rsi      # 0x21d49
jmp 0x18359
leaq 0x99ff(%rip), %rsi      # 0x21d4f
jmp 0x18359
leaq 0x9a0a(%rip), %rsi      # 0x21d63
leaq 0x40(%rsp), %rdi
callq 0x1892e
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lundump.c
// Function: LoadInt
static int LoadInt(LoadState* S)
{
 int x;
 LoadVar(S,x);
 if (x<0) error(S,"corrupted");
 return x;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x4(%rsp), %r14
movl $0x4, %edx
movq %r14, %rsi
callq 0x1890b
movl (%r14), %eax
testl %eax, %eax
js 0x1897f
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x93ea(%rip), %rsi      # 0x21d70
movq %rbx, %rdi
callq 0x1892e
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lundump.c
// Function: LoadString
static TString* LoadString(LoadState* S)
{
 size_t size;
 LoadVar(S,size);
 if (size==0)
  return NULL;
 else
 {
  char* s=luaZ_openspace(S->L,S->b,size);
  LoadBlock(S,s,size*sizeof(char));
  return luaS_newlstr(S->L,s,size-1);		/* remove trailing '\0' */
 }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsp, %r14
movl $0x8, %edx
movq %r14, %rsi
callq 0x1890b
movq (%r14), %rdx
testq %rdx, %rdx
je 0x189df
movq (%rbx), %rdi
movq 0x10(%rbx), %rsi
callq 0x1ab38
movq %rax, %r14
movq (%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1890b
movq (%rbx), %rdi
movq (%rsp), %rdx
decq %rdx
movq %r14, %rsi
callq 0x14a3f
jmp 0x189e1
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: luaV_tonumber
const TValue *luaV_tonumber (const TValue *obj, TValue *n) {
  lua_Number num;
  if (ttisnumber(obj)) return obj;
  if (ttisstring(obj) && luaO_str2d(svalue(obj), tsvalue(obj)->len, &num)) {
    setnvalue(n, num);
    return n;
  }
  else
    return NULL;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl 0x8(%rdi), %eax
cmpl $0x3, %eax
jne 0x189fe
movq %rdi, %rbx
jmp 0x18a37
andl $0xf, %eax
cmpl $0x4, %eax
jne 0x18a35
movq %rsi, %rbx
movq (%rdi), %rdi
movq 0x10(%rdi), %rsi
addq $0x18, %rdi
leaq 0x8(%rsp), %rdx
callq 0x1086d
testl %eax, %eax
je 0x18a35
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
movl $0x3, 0x8(%rbx)
jmp 0x18a37
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: luaV_tostring
int luaV_tostring (lua_State *L, StkId obj) {
  if (!ttisnumber(obj))
    return 0;
  else {
    char s[LUAI_MAXNUMBER2STR];
    lua_Number n = nvalue(obj);
    int l = lua_number2str(s, n);
    setsvalue2s(L, obj, luaS_newlstr(L, s, l));
    return 1;
  }
}

// Assembly:
xorl %eax, %eax
cmpl $0x3, 0x8(%rsi)
jne 0x18a98
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movsd (%rsi), %xmm0
leaq 0x8132(%rip), %rsi      # 0x20b94
movq %rsp, %r15
movq %r15, %rdi
movb $0x1, %al
callq 0x6530
movslq %eax, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x14a3f
movq %rax, (%rbx)
movzbl 0x8(%rax), %eax
orl $0x40, %eax
movl %eax, 0x8(%rbx)
movl $0x1, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: luaV_gettable
void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) {
  int loop;
  for (loop = 0; loop < MAXTAGLOOP; loop++) {
    const TValue *tm;
    if (ttistable(t)) {  /* `t' is a table? */
      Table *h = hvalue(t);
      const TValue *res = luaH_get(h, key); /* do a primitive get */
      if (!ttisnil(res) ||  /* result is not nil? */
          (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */
        setobj2s(L, val, res);
        return;
      }
      /* else will try the tag method */
    }
    else if (ttisnil(tm = luaT_gettmbyobj(L, t, TM_INDEX)))
      luaG_typeerror(L, t, "index");
    if (ttisfunction(tm)) {
      callTM(L, tm, t, key, val, 1);
      return;
    }
    t = tm;  /* else repeat with 'tm' */
  }
  luaG_runerror(L, "loop in gettable");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rdx, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, 0x8(%rsp)
movl $0x64, %ebx
cmpl $0x45, 0x8(%r14)
jne 0x18aee
movq (%r14), %r12
movq %r12, %rdi
movq 0x10(%rsp), %rsi
callq 0x1750d
movq %rax, %rbp
cmpl $0x0, 0x8(%rax)
je 0x18b0b
movq (%rbp), %rax
movq %rax, (%r15)
movl 0x8(%rbp), %eax
movl %eax, 0x8(%r15)
xorl %eax, %eax
jmp 0x18b41
movq 0x8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x18170
movq %rax, %r13
cmpl $0x0, 0x8(%rax)
jne 0x18b45
jmp 0x18bb0
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x18b37
testb $0x1, 0xa(%rdi)
jne 0x18b37
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x120(%rax), %rdx
xorl %esi, %esi
callq 0x18145
movq %rax, %r13
jmp 0x18b3a
xorl %r13d, %r13d
movb $0x1, %al
testq %r13, %r13
je 0x18b86
testb %al, %al
je 0x18b71
movl 0x8(%r13), %ecx
andl $0xf, %ecx
movb $0x1, %al
cmpl $0x6, %ecx
jne 0x18b75
movq 0x8(%rsp), %rdi
movq %r13, %rsi
movq %r14, %rdx
movq 0x10(%rsp), %rcx
movq %r15, %r8
movl $0x1, %r9d
callq 0x18bc4
xorl %eax, %eax
jmp 0x18b78
movq %r13, %r14
testb %al, %al
je 0x18b8e
decl %ebx
jne 0x18abc
jmp 0x18b9d
xorl %r13d, %r13d
jmp 0x18adc
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x932c(%rip), %rsi      # 0x21ed0
movq 0x8(%rsp), %rdi
xorl %eax, %eax
callq 0xaf1a
leaq 0x8dc9(%rip), %rdx      # 0x21980
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xab63
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: callTM
static void callTM (lua_State *L, const TValue *f, const TValue *p1,
                    const TValue *p2, TValue *p3, int hasres) {
  ptrdiff_t result = savestack(L, p3);
  setobj2s(L, L->top++, f);  /* push function */
  setobj2s(L, L->top++, p1);  /* 1st argument */
  setobj2s(L, L->top++, p2);  /* 2nd argument */
  if (!hasres)  /* no result? 'p3' is third argument */
    setobj2s(L, L->top++, p3);  /* 3rd argument */
  /* metamethod may yield only when called from Lua code */
  luaD_call(L, L->top - (4 - hasres), hasres, isLua(L->ci));
  if (hasres) {  /* if has result, move it to its place */
    p3 = restorestack(L, result);
    setobjs2s(L, p3, --L->top);
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %r9d, %ebp
movq %rdi, %rbx
movq %r8, %r14
subq 0x38(%rdi), %r14
movq 0x10(%rdi), %rax
leaq 0x10(%rax), %rdi
movq %rdi, 0x10(%rbx)
movq (%rsi), %rdi
movq %rdi, (%rax)
movl 0x8(%rsi), %esi
movl %esi, 0x8(%rax)
movq 0x10(%rbx), %rax
leaq 0x10(%rax), %rsi
movq %rsi, 0x10(%rbx)
movq (%rdx), %rsi
movq %rsi, (%rax)
movl 0x8(%rdx), %edx
movl %edx, 0x8(%rax)
movq 0x10(%rbx), %rax
leaq 0x10(%rax), %rdx
movq %rdx, 0x10(%rbx)
movq (%rcx), %rdx
movq %rdx, (%rax)
movl 0x8(%rcx), %ecx
movl %ecx, 0x8(%rax)
testl %r9d, %r9d
jne 0x18c3b
movq 0x10(%rbx), %rax
leaq 0x10(%rax), %rcx
movq %rcx, 0x10(%rbx)
movq (%r8), %rcx
movq %rcx, (%rax)
movl 0x8(%r8), %ecx
movl %ecx, 0x8(%rax)
movl $0x4, %eax
subl %ebp, %eax
shll $0x4, %eax
movq 0x10(%rbx), %rsi
subq %rax, %rsi
movq 0x20(%rbx), %rax
movzbl 0x22(%rax), %ecx
andl $0x1, %ecx
movq %rbx, %rdi
movl %ebp, %edx
callq 0xb9c9
testl %ebp, %ebp
je 0x18c85
movq 0x10(%rbx), %rax
movq 0x38(%rbx), %rcx
leaq -0x10(%rax), %rdx
movq %rdx, 0x10(%rbx)
movq -0x10(%rax), %rdx
movq %rdx, (%rcx,%r14)
movl -0x8(%rax), %eax
movl %eax, 0x8(%rcx,%r14)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: luaV_lessthan
int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) {
  int res;
  if (ttisnumber(l) && ttisnumber(r))
    return luai_numlt(L, nvalue(l), nvalue(r));
  else if (ttisstring(l) && ttisstring(r))
    return l_strcmp(rawtsvalue(l), rawtsvalue(r)) < 0;
  else if ((res = call_orderTM(L, l, r, TM_LT)) < 0)
    luaG_ordererror(L, l, r);
  return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x8(%rsi), %eax
cmpl $0x3, %eax
jne 0x18e33
cmpl $0x3, 0x8(%rbx)
jne 0x18e33
movsd (%rbx), %xmm0
xorl %eax, %eax
ucomisd (%r14), %xmm0
seta %al
jmp 0x18e6d
andl $0xf, %eax
cmpl $0x4, %eax
jne 0x18e56
movl 0x8(%rbx), %eax
andl $0xf, %eax
cmpl $0x4, %eax
jne 0x18e56
movq (%r14), %rdi
movq (%rbx), %rsi
callq 0x18e81
shrl $0x1f, %eax
jmp 0x18e6d
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl $0xd, %ecx
callq 0x18f01
testl %eax, %eax
js 0x18e73
popq %rbx
popq %r14
popq %r15
retq
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xb009
// File: /workspace/github_c_makefile_star2_O1/bhk[P]tooltree/lua/../opensource/lua-5.2.3/src/lvm.c
// Function: l_strcmp
static int l_strcmp (const TString *ls, const TString *rs) {
  const char *l = getstr(ls);
  size_t ll = ls->tsv.len;
  const char *r = getstr(rs);
  size_t lr = rs->tsv.len;
  for (;;) {
    int temp = strcoll(l, r);
    if (temp != 0) return temp;
    else {  /* strings are equal up to a `\0' */
      size_t len = strlen(l);  /* index of first `\0' in both strings */
      if (len == lr)  /* r is finished? */
        return (len == ll) ? 0 : 1;
      else if (len == ll)  /* l is finished? */
        return -1;  /* l is smaller than r (because r is not finished) */
      /* both strings longer than `len'; go on comparing (after the `\0') */
      len++;
      l += len; ll -= len; r += len; lr -= len;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rdi), %r15
addq $0x18, %r14
movq 0x10(%rsi), %r12
addq $0x18, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6400
testl %eax, %eax
je 0x18eb4
xorl %ecx, %ecx
movl %eax, %ebp
jmp 0x18ef2
movq %r14, %rdi
callq 0x6170
cmpq %r12, %rax
jne 0x18ecc
xorl %ebp, %ebp
cmpq %r15, %rax
setne %bpl
jmp 0x18ed6
cmpq %r15, %rax
jne 0x18eda
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
jmp 0x18ef2
leaq 0x1(%rax), %rcx
addq %rax, %r14
incq %r14
subq %rcx, %r15
addq %rax, %rbx
incq %rbx
subq %rcx, %r12
movb $0x1, %cl
testb %cl, %cl
jne 0x18e9f
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq