LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: Arith
static void Arith(lua_State*L,StkId ra,const TValue*rb,
const TValue*rc,TMS op){
TValue tempb,tempc;
const TValue*b,*c;
if((b=luaV_tonumber(rb,&tempb))!=NULL&&
(c=luaV_tonumber(rc,&tempc))!=NULL){
lua_Number nb=nvalue(b),nc=nvalue(c);
switch(op){
case TM_ADD:setnvalue(ra,luai_numadd(nb,nc));break;
case TM_SUB:setnvalue(ra,luai_numsub(nb,nc));break;
case TM_MUL:setnvalue(ra,luai_nummul(nb,nc));break;
case TM_DIV:setnvalue(ra,luai_numdiv(nb,nc));break;
case TM_MOD:setnvalue(ra,luai_nummod(nb,nc));break;
case TM_POW:setnvalue(ra,luai_numpow(nb,nc));break;
case TM_UNM:setnvalue(ra,luai_numunm(nb));break;
default:break;
}
}
else if(!call_binTM(L,rb,rc,ra,op))
luaG_aritherror(L,rb,rc);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, %r13d
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x28(%rsp), %rsi
movq %rdx, %rdi
callq 0x70bd
testq %rax, %rax
je 0x6ec1
movq %rax, %rbp
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x70bd
testq %rax, %rax
je 0x6ec1
movsd (%rbp), %xmm0
movsd (%rax), %xmm1
addl $-0x5, %r13d
leaq 0xb245(%rip), %rax      # 0x120f4
movslq (%rax,%r13,4), %rcx
addq %rax, %rcx
jmpq *%rcx
addsd %xmm1, %xmm0
jmp 0x6f58
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
movl %r13d, %r8d
callq 0x4efd
testl %eax, %eax
jne 0x6f63
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x70bd
testq %rax, %rax
cmoveq %r12, %r14
leaq 0xb8b9(%rip), %rdx      # 0x127b1
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b77
movapd %xmm0, (%rsp)
movapd (%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm1, 0x10(%rsp)
callq 0x3260
mulsd 0x10(%rsp), %xmm0
movapd (%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, (%rsp)
movapd (%rsp), %xmm0
jmp 0x6f58
mulsd %xmm1, %xmm0
jmp 0x6f58
divsd %xmm1, %xmm0
jmp 0x6f58
subsd %xmm1, %xmm0
jmp 0x6f58
callq 0x30c0
jmp 0x6f58
xorpd 0xb678(%rip), %xmm0     # 0x125d0
movsd %xmm0, (%rbx)
movl $0x3, 0x8(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_getn
static int luaH_getn(Table*t){
unsigned int j=t->sizearray;
if(j>0&&ttisnil(&t->array[j-1])){
unsigned int i=0;
while(j-i>1){
unsigned int m=(i+j)/2;
if(ttisnil(&t->array[m-1]))j=m;
else i=m;
}
return i;
}
else if(t->node==(&dummynode_))
return j;
else return unbound_search(t,j);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x38(%rdi), %r15d
testl %r15d, %r15d
je 0x6f9c
movq 0x18(%rbx), %rax
leal -0x1(%r15), %ecx
shlq $0x4, %rcx
cmpl $0x0, 0x8(%rax,%rcx)
je 0x7024
leaq 0xb4ad(%rip), %rax      # 0x12450
cmpq %rax, 0x20(%rbx)
je 0x7013
leal 0x1(%r15), %eax
movl %eax, %r14d
movq %rbx, %rdi
movl %eax, %esi
callq 0x7262
cmpl $0x0, 0x8(%rax)
je 0x7008
leal (%r14,%r14), %eax
movl %r14d, %r15d
cmpl $0x7ffffffe, %eax       # imm = 0x7FFFFFFE
jb 0x6fad
pushq $-0x1
popq %r14
leal 0x2(%r14), %esi
movq %rbx, %rdi
callq 0x7262
incl %r14d
cmpl $0x0, 0x8(%rax)
jne 0x6fd2
jmp 0x7016
leal (%r15,%r14), %ebp
shrl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x7262
cmpl $0x0, 0x8(%rax)
jne 0x7005
movl %ebp, %r14d
movl %r15d, %ebp
movl %ebp, %r15d
movl %r14d, %eax
subl %r15d, %eax
cmpl $0x2, %eax
jae 0x6fe9
movl %r15d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
movl %r15d, %ecx
subl %r14d, %ecx
cmpl $0x2, %ecx
jb 0x7016
leal (%r14,%r15), %ecx
shrl %ecx
leal -0x1(%rcx), %edx
shlq $0x4, %rdx
cmpl $0x0, 0x8(%rax,%rdx)
jne 0x704c
movl %ecx, %r15d
movl %r14d, %ecx
movl %ecx, %r14d
jmp 0x7027
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaV_lessthan
static int luaV_lessthan(lua_State*L,const TValue*l,const TValue*r){
int res;
if(ttype(l)!=ttype(r))
return luaG_ordererror(L,l,r);
else if(ttisnumber(l))
return luai_numlt(nvalue(l),nvalue(r));
else if(ttisstring(l))
return l_strcmp(rawtsvalue(l),rawtsvalue(r))<0;
else if((res=call_orderTM(L,l,r,TM_LT))!=-1)
return res;
return luaG_ordererror(L,l,r);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl 0x8(%rsi), %eax
cmpl 0x8(%rdx), %eax
jne 0x70a7
cmpl $0x4, %eax
je 0x7081
cmpl $0x3, %eax
jne 0x7091
movsd (%rbx), %xmm0
xorl %eax, %eax
ucomisd (%r14), %xmm0
seta %al
jmp 0x70b7
movq (%r14), %rdi
movq (%rbx), %rsi
callq 0x7a16
shrl $0x1f, %eax
jmp 0x70b7
pushq $0xd
popq %rcx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x7a89
cmpl $-0x1, %eax
jne 0x70b7
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x79d7
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaV_tonumber
static const TValue*luaV_tonumber(const TValue*obj,TValue*n){
lua_Number num;
if(ttisnumber(obj))return obj;
if(ttisstring(obj)&&luaO_str2d(svalue(obj),&num)){
setnvalue(n,num);
return n;
}
else
return NULL;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movl 0x8(%rdi), %eax
cmpl $0x3, %eax
je 0x70fe
cmpl $0x4, %eax
jne 0x70fa
movq %rsi, %rbx
movq (%rdi), %rdi
addq $0x18, %rdi
leaq 0x8(%rsp), %rsi
callq 0x7b11
testl %eax, %eax
je 0x70fa
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
movl $0x3, 0x8(%rbx)
jmp 0x7101
xorl %ebx, %ebx
jmp 0x7101
movq %rdi, %rbx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_setnum
static TValue*luaH_setnum(lua_State*L,Table*t,int key){
const TValue*p=luaH_getnum(t,key);
if(p!=(&luaO_nilobject_))
return cast(TValue*,p);
else{
TValue k;
setnvalue(&k,cast_num(key));
return newkey(L,t,&k);
}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
movl %edx, %esi
callq 0x7262
leaq 0xb315(%rip), %rcx      # 0x12440
cmpq %rcx, %rax
jne 0x714d
cvtsi2sd %ebp, %xmm0
movq %rsp, %rdx
movsd %xmm0, (%rdx)
movl $0x3, 0x8(%rdx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7414
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaF_newLclosure
static Closure*luaF_newLclosure(lua_State*L,int nelems,Table*e){
Closure*c=cast(Closure*,luaM_malloc(L,sizeLclosure(nelems)));
luaC_link(L,obj2gco(c),6);
c->l.isC=0;
c->l.env=e;
c->l.nupvalues=cast_byte(nelems);
while(nelems--)c->l.upvals[nelems]=NULL;
return c;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leal 0x28(,%r14,8), %ecx
xorl %esi, %esi
xorl %edx, %edx
callq 0x4158
movq 0x20(%r15), %rcx
movq 0x28(%rcx), %rdx
movq %rdx, (%rax)
movq %rax, 0x28(%rcx)
movb 0x20(%rcx), %cl
andb $0x3, %cl
movb %cl, 0x9(%rax)
movb $0x6, 0x8(%rax)
movb $0x0, 0xa(%rax)
movq %rbx, 0x18(%rax)
movb %r14b, 0xb(%rax)
movslq %r14d, %rcx
addq $0x4, %rcx
cmpq $0x4, %rcx
je 0x71b4
andq $0x0, (%rax,%rcx,8)
decq %rcx
jmp 0x71a4
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_get
static const TValue*luaH_get(Table*t,const TValue*key){
switch(ttype(key)){
case 0:return(&luaO_nilobject_);
case 4:return luaH_getstr(t,rawtsvalue(key));
case 3:{
int k;
lua_Number n=nvalue(key);
lua_number2int(k,n);
if(luai_numeq(cast_num(k),nvalue(key)))
return luaH_getnum(t,k);
}
default:{
Node*n=mainposition(t,key);
do{
if(luaO_rawequalObj(key2tval(n),key))
return gval(n);
else n=gnext(n);
}while(n);
return(&luaO_nilobject_);
}
}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl 0x8(%rsi), %eax
leaq 0xb277(%rip), %rbx      # 0x12440
testl %eax, %eax
je 0x7230
movq %rsi, %r14
cmpl $0x3, %eax
je 0x71e7
cmpl $0x4, %eax
jne 0x7207
movq (%r14), %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x5042
movsd (%r14), %xmm0
cvttpd2dq %xmm0, %xmm1
cvtdq2pd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x7207
jp 0x7207
cvttsd2si %xmm0, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x7262
movq %r14, %rsi
callq 0x72b0
movq %rax, %r15
leaq 0x10(%r15), %rdi
movq %r14, %rsi
callq 0x7318
testl %eax, %eax
jne 0x722d
movq 0x20(%r15), %r15
testq %r15, %r15
jne 0x7212
jmp 0x7230
movq %r15, %rbx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaT_gettm
static const TValue*luaT_gettm(Table*events,TMS event,TString*ename){
const TValue*tm=luaH_getstr(events,ename);
if(ttisnil(tm)){
events->flags|=cast_byte(1u<<event);
return NULL;
}
else return tm;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x5042
cmpl $0x0, 0x8(%rax)
jne 0x725b
pushq $0x1
popq %rax
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_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_getnum
static const TValue*luaH_getnum(Table*t,int key){
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{
if(ttisnumber(gkey(n))&&luai_numeq(nvalue(gkey(n)),nk))
return gval(n);
else n=gnext(n);
}while(n);
return(&luaO_nilobject_);
}
}

// Assembly:
leal -0x1(%rsi), %eax
cmpl 0x38(%rdi), %eax
jae 0x7275
cltq
shlq $0x4, %rax
addq 0x18(%rdi), %rax
retq
pushq %rax
cvtsi2sd %esi, %xmm0
movsd %xmm0, (%rsp)
callq 0x7365
leaq 0xb1b5(%rip), %rcx      # 0x12440
cmpl $0x3, 0x18(%rax)
jne 0x729f
movsd 0x10(%rax), %xmm0
ucomisd (%rsp), %xmm0
jne 0x729f
jnp 0x72ab
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x728b
movq %rcx, %rax
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: mainposition
static Node*mainposition(const Table*t,const TValue*key){
switch(ttype(key)){
case 3:
return hashnum(t,nvalue(key));
case 4:
return hashstr(t,rawtsvalue(key));
case 1:
return hashboolean(t,bvalue(key));
case 2:
return hashpointer(t,pvalue(key));
default:
return hashpointer(t,gcvalue(key));
}
}

// Assembly:
movl 0x8(%rsi), %eax
decl %eax
cmpl $0x3, %eax
ja 0x72d9
leaq 0xae4f(%rip), %rcx      # 0x12110
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb 0xb(%rdi), %cl
pushq $-0x1
popq %rax
shlq %cl, %rax
notl %eax
andl (%rsi), %eax
jmp 0x730d
movl (%rsi), %eax
movb 0xb(%rdi), %cl
pushq $-0x1
popq %rsi
shlq %cl, %rsi
notq %rsi
orq $0x1, %rsi
xorl %edx, %edx
divq %rsi
imulq $0x28, %rdx, %rax
jmp 0x7313
movsd (%rsi), %xmm0
jmp 0x7365
movb 0xb(%rdi), %cl
pushq $-0x1
popq %rax
shlq %cl, %rax
movq (%rsi), %rcx
notl %eax
andl 0xc(%rcx), %eax
cltq
imulq $0x28, %rax, %rax
addq 0x20(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaO_rawequalObj
static int luaO_rawequalObj(const TValue*t1,const TValue*t2){
if(ttype(t1)!=ttype(t2))return 0;
else switch(ttype(t1)){
case 0:
return 1;
case 3:
return luai_numeq(nvalue(t1),nvalue(t2));
case 1:
return bvalue(t1)==bvalue(t2);
case 2:
return pvalue(t1)==pvalue(t2);
default:
return gcvalue(t1)==gcvalue(t2);
}
}

// Assembly:
movl 0x8(%rdi), %eax
cmpl 0x8(%rsi), %eax
jne 0x733b
cmpl $0x3, %eax
ja 0x733f
movl %eax, %eax
leaq 0xadf2(%rip), %rcx      # 0x12120
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x1, %al
jmp 0x7361
xorl %eax, %eax
jmp 0x7361
movq (%rdi), %rax
cmpq (%rsi), %rax
jmp 0x734b
movl (%rdi), %eax
cmpl (%rsi), %eax
sete %al
jmp 0x7361
movsd (%rsi), %xmm0
cmpeqsd (%rdi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
movzbl %al, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: hashnum
static Node*hashnum(const Table*t,lua_Number n){
unsigned int a[cast_int(sizeof(lua_Number)/sizeof(int))];
int i;
if(luai_numeq(n,0))
return gnode(t,0);
memcpy(a,&n,sizeof(a));
for(i=1;i<cast_int(sizeof(lua_Number)/sizeof(int));i++)a[0]+=a[i];
return hashmod(t,a[0]);
}

// Assembly:
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x7376
jp 0x7376
movq 0x20(%rdi), %rax
retq
movq %xmm0, %rcx
movq %rcx, %rax
shrq $0x20, %rax
addl %ecx, %eax
movb 0xb(%rdi), %cl
pushq $-0x1
popq %rsi
shlq %cl, %rsi
notq %rsi
orq $0x1, %rsi
xorl %edx, %edx
divq %rsi
imulq $0x28, %rdx, %rax
addq 0x20(%rdi), %rax
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaH_set
static TValue*luaH_set(lua_State*L,Table*t,const TValue*key){
const TValue*p=luaH_get(t,key);
t->flags=0;
if(p!=(&luaO_nilobject_))
return cast(TValue*,p);
else{
if(ttisnil(key))luaG_runerror(L,"table index is nil");
else if(ttisnumber(key)&&luai_numisnan(nvalue(key)))
luaG_runerror(L,"table index is NaN");
return newkey(L,t,key);
}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x71ba
movb $0x0, 0xa(%r15)
leaq 0xb079(%rip), %rcx      # 0x12440
cmpq %rcx, %rax
je 0x73d2
popq %rbx
popq %r14
popq %r15
retq
movl 0x8(%r14), %eax
cmpl $0x3, %eax
je 0x73e8
testl %eax, %eax
jne 0x73f3
leaq 0xb3a5(%rip), %rsi      # 0x1278b
jmp 0x740a
movsd (%r14), %xmm0
ucomisd %xmm0, %xmm0
jp 0x7403
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0x7414
leaq 0xb394(%rip), %rsi      # 0x1279e
movq %rbx, %rdi
xorl %eax, %eax
callq 0x450d
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: countint
static int countint(const TValue*key,int*nums){
int k=arrayindex(key);
if(0<k&&k<=(1<<(32-2))){
nums[ceillog2(k)]++;
return 1;
}
else
return 0;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
callq 0x7843
decl %eax
xorl %ecx, %ecx
cmpl $0x3fffffff, %eax       # imm = 0x3FFFFFFF
ja 0x76c9
movl %eax, %edi
callq 0x7866
cltq
incl 0x4(%rbx,%rax,4)
pushq $0x1
popq %rcx
movl %ecx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: resize
static void resize(lua_State*L,Table*t,int nasize,int nhsize){
int i;
int oldasize=t->sizearray;
int oldhsize=t->lsizenode;
Node*nold=t->node;
if(nasize>oldasize)
setarrayvector(L,t,nasize);
setnodevector(L,t,nhsize);
if(nasize<oldasize){
t->sizearray=nasize;
for(i=nasize;i<oldasize;i++){
if(!ttisnil(&t->array[i]))
setobj(L,luaH_setnum(L,t,i+1),&t->array[i]);
}
luaM_reallocvector(L,t->array,oldasize,nasize,TValue);
}
for(i=twoto(oldhsize)-1;i>=0;i--){
Node*old=nold+i;
if(!ttisnil(gval(old)))
setobj(L,luaH_set(L,t,key2tval(old)),gval(old));
}
if(nold!=(&dummynode_))
luaM_freearray(L,nold,twoto(oldhsize),Node);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %rbx
movslq 0x38(%rsi), %r13
movzbl 0xb(%rsi), %eax
movq %rax, 0x20(%rsp)
movq 0x20(%rsi), %r14
cmpl %edx, %r13d
jge 0x7709
movq %rbx, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x7889
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x78e9
cmpl %ebp, %r13d
jle 0x77b0
movq %rbx, (%rsp)
movl %ebp, 0x38(%r12)
movslq %ebp, %rax
movq %r13, 0x10(%rsp)
subq %rax, %r13
movq %rbp, 0x18(%rsp)
leal 0x1(%rbp), %r15d
shlq $0x4, %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rax), %rbp
subq $0x1, %r13
jb 0x7781
movq 0x18(%r12), %rbx
cmpl $0x0, (%rbx,%rbp)
je 0x7778
movq (%rsp), %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x710a
movq -0x8(%rbx,%rbp), %rcx
movq %rcx, (%rax)
movl (%rbx,%rbp), %ecx
movl %ecx, 0x8(%rax)
incl %r15d
addq $0x10, %rbp
jmp 0x774a
cmpl $-0x1, 0x18(%rsp)
jl 0x783a
movq 0x18(%r12), %rsi
movq 0x10(%rsp), %rdx
shlq $0x4, %rdx
movq (%rsp), %rbx
movq %rbx, %rdi
movq 0x8(%rsp), %rcx
callq 0x4158
movq %rax, 0x18(%r12)
pushq $0x1
popq %r15
movq 0x20(%rsp), %rbp
movl %ebp, %ecx
shlq %cl, %r15
decq %r15
testl %r15d, %r15d
js 0x77fc
movl %r15d, %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
imulq $0x28, %rax, %r13
cmpl $0x0, 0x8(%r14,%r13)
je 0x77be
addq %r14, %r13
leaq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x73a2
movq (%r13), %rcx
movq %rcx, (%rax)
movl 0x8(%r13), %ecx
movl %ecx, 0x8(%rax)
jmp 0x77be
leaq 0xac4d(%rip), %rax      # 0x12450
cmpq %rax, %r14
je 0x782b
pushq $0x28
popq %rdx
movl %ebp, %ecx
shlq %cl, %rdx
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4158
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rdi
callq 0x44fe
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: setarrayvector
static void setarrayvector(lua_State*L,Table*t,int size){
int i;
luaM_reallocvector(L,t->array,t->sizearray,size,TValue);
for(i=t->sizearray;i<size;i++)
setnilvalue(&t->array[i]);
t->sizearray=size;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpl $-0x1, %edx
jl 0x78e4
movl %edx, %ebx
movq %rsi, %r14
movq 0x18(%rsi), %rsi
movslq 0x38(%r14), %rdx
shlq $0x4, %rdx
movslq %ebx, %r15
movq %r15, %rcx
shlq $0x4, %rcx
callq 0x4158
movq %rax, 0x18(%r14)
movslq 0x38(%r14), %rcx
movq %rcx, %rdx
shlq $0x4, %rdx
addq %rdx, %rax
addq $0x8, %rax
cmpq %r15, %rcx
jge 0x78da
andl $0x0, (%rax)
incq %rcx
addq $0x10, %rax
jmp 0x78c9
movl %ebx, 0x38(%r14)
popq %rbx
popq %r14
popq %r15
retq
callq 0x44fe
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: setnodevector
static void setnodevector(lua_State*L,Table*t,int size){
int lsize;
if(size==0){
t->node=cast(Node*,(&dummynode_));
lsize=0;
}
else{
int i;
lsize=ceillog2(size);
if(lsize>(32-2))
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);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
testl %edx, %edx
je 0x798f
movq %rdi, %r15
decl %edx
movl %edx, %edi
callq 0x7866
cmpl $0x1e, %eax
jge 0x79be
movl %eax, %r14d
incl %r14d
movabsq $0x100000000, %rax      # imm = 0x100000000
movq %rax, %r12
movl %r14d, %ecx
shlq %cl, %r12
addq %r12, %rax
js 0x79cf
movl %r14d, %ecx
pushq $0x1
popq %rbp
shlq %cl, %rbp
sarq $0x20, %r12
imulq $0x28, %r12, %rcx
xorl %r13d, %r13d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4158
movq %rax, 0x20(%rbx)
testl %ebp, %ebp
movl $0x0, %eax
cmovgl %ebp, %eax
imulq $0x28, %rax, %rax
cmpq %r13, %rax
je 0x7989
movq 0x20(%rbx), %rcx
andq $0x0, 0x20(%rcx,%r13)
andl $0x0, 0x18(%rcx,%r13)
andl $0x0, 0x8(%rcx,%r13)
addq $0x28, %r13
jmp 0x7968
movq 0x20(%rbx), %rax
jmp 0x79a0
leaq 0xaaba(%rip), %rax      # 0x12450
movq %rax, 0x20(%rbx)
xorl %r14d, %r14d
xorl %r12d, %r12d
movb %r14b, 0xb(%rbx)
imulq $0x28, %r12, %rcx
addq %rax, %rcx
movq %rcx, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb1d5(%rip), %rsi      # 0x12b9a
movq %r15, %rdi
xorl %eax, %eax
callq 0x450d
movq %r15, %rdi
callq 0x44fe
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaG_ordererror
static int luaG_ordererror(lua_State*L,const TValue*p1,const TValue*p2){
const char*t1=luaT_typenames[ttype(p1)];
const char*t2=luaT_typenames[ttype(p2)];
if(t1[2]==t2[2])
luaG_runerror(L,"attempt to compare two %s values",t1);
else
luaG_runerror(L,"attempt to compare %s with %s",t1,t2);
return 0;
}

// Assembly:
pushq %rax
movq %rdx, %rax
movslq 0x8(%rsi), %rcx
leaq 0x12e7a(%rip), %rsi     # 0x1a860
movq (%rsi,%rcx,8), %rdx
movslq 0x8(%rax), %rax
movq (%rsi,%rax,8), %rcx
movb 0x2(%rdx), %al
cmpb 0x2(%rcx), %al
jne 0x7a08
leaq 0xadc6(%rip), %rsi      # 0x127c7
xorl %eax, %eax
callq 0x450d
leaq 0xadd9(%rip), %rsi      # 0x127e8
xorl %eax, %eax
callq 0x450d
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.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{
size_t len=strlen(l);
if(len==lr)
return(len==ll)?0:1;
else if(len==ll)
return-1;
len++;
l+=len;ll-=len;r+=len;lr-=len;
}
}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x10(%rdi), %r12
addq $0x18, %r15
movq 0x10(%rsi), %r13
addq $0x18, %r14
pushq $-0x1
popq %rbx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3200
testl %eax, %eax
jne 0x7a71
movq %r15, %rdi
callq 0x30e0
cmpq %r13, %rax
je 0x7a75
cmpq %r12, %rax
je 0x7a7d
leaq 0x1(%rax), %rcx
addq %rax, %r15
incq %r15
subq %rcx, %r12
addq %rax, %r14
incq %r14
subq %rcx, %r13
jmp 0x7a38
movl %eax, %ebx
jmp 0x7a7d
xorl %ebx, %ebx
cmpq %r12, %r13
setne %bl
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: call_orderTM
static int call_orderTM(lua_State*L,const TValue*p1,const TValue*p2,
TMS event){
const TValue*tm1=luaT_gettmbyobj(L,p1,event);
const TValue*tm2;
if(ttisnil(tm1))return-1;
tm2=luaT_gettmbyobj(L,p2,event);
if(!luaO_rawequalObj(tm1,tm2))
return-1;
callTMres(L,L->top,tm1,p1,p2);
return!l_isfalse(L->top);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movl %ecx, %edx
callq 0x4f59
pushq $-0x1
popq %rbx
cmpl $0x0, 0x8(%rax)
je 0x7b00
movq %rax, %r13
movq %r14, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x4f59
movq %r13, %rdi
movq %rax, %rsi
callq 0x7318
testl %eax, %eax
je 0x7b00
movq 0x10(%r14), %rsi
movq %r14, %rdi
movq %r13, %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x4fa5
movq 0x10(%r14), %rax
movl 0x8(%rax), %ebx
testl %ebx, %ebx
je 0x7b00
cmpl $0x1, %ebx
jne 0x7afd
xorl %ebx, %ebx
cmpl $0x0, (%rax)
setne %bl
jmp 0x7b00
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaO_str2d
static int luaO_str2d(const char*s,lua_Number*result){
char*endptr;
*result=lua_str2number(s,&endptr);
if(endptr==s)return 0;
if(*endptr=='x'||*endptr=='X')
*result=cast_num(strtoul(s,&endptr,16));
if(*endptr=='\0')return 1;
while(isspace(cast(unsigned char,*endptr)))endptr++;
if(*endptr!='\0')return 0;
return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rsi
callq 0x30b0
movsd %xmm0, (%rbx)
movq (%r15), %r15
cmpq %r14, %r15
je 0x7ba8
movzbl (%r15), %eax
movl %eax, %ecx
orl $0x20, %ecx
cmpl $0x78, %ecx
jne 0x7b85
leaq 0x8(%rsp), %r15
pushq $0x10
popq %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3250
movq %rax, %xmm0
punpckldq 0xaa49(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xaa51(%rip), %xmm0     # 0x125c0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
movq (%r15), %r15
movb (%r15), %al
testb %al, %al
je 0x7bac
callq 0x32e0
movq (%rax), %rax
movzbl (%r15), %ecx
incq %r15
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x7b91
xorl %eax, %eax
testb %cl, %cl
sete %al
jmp 0x7baf
xorl %eax, %eax
jmp 0x7baf
pushq $0x1
popq %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: sweeplist
static GCObject**sweeplist(lua_State*L,GCObject**p,lu_mem count){
GCObject*curr;
global_State*g=G(L);
int deadmask=otherwhite(g);
while((curr=*p)!=NULL&&count-->0){
if(curr->gch.tt==8)
sweepwholelist(L,&gco2th(curr)->openupval);
if((curr->gch.marked^bit2mask(0,1))&deadmask){
makewhite(g,curr);
p=&curr->gch.next;
}
else{
*p=curr->gch.next;
if(curr==g->rootgc)
g->rootgc=curr->gch.next;
freeobj(L,curr);
}
}
return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r14
movq 0x20(%rdi), %rbp
movb 0x20(%rbp), %r15b
xorb $0x3, %r15b
movq (%r13), %r12
testq %r12, %r12
je 0x828f
subq $0x1, %rbx
jb 0x828f
cmpb $0x8, 0x8(%r12)
jne 0x80d9
leaq 0x98(%r12), %rsi
movq %r14, %rdi
pushq $-0x3
popq %rdx
callq 0x8087
movb 0x9(%r12), %al
movl %eax, %ecx
xorb $0x3, %cl
testb %r15b, %cl
je 0x80fc
andb $-0x8, %al
movb 0x20(%rbp), %cl
andb $0x3, %cl
orb %al, %cl
movb %cl, 0x9(%r12)
movq %r12, %r13
jmp 0x80a7
movq (%r12), %rax
movq %rax, (%r13)
cmpq 0x28(%rbp), %r12
jne 0x810e
movq %rax, 0x28(%rbp)
movzbl 0x8(%r12), %eax
addl $-0x4, %eax
cmpl $0x6, %eax
ja 0x80a7
leaq 0xa021(%rip), %rcx      # 0x12144
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x20(%r14), %rax
decl 0x8(%rax)
movq 0x10(%r12), %rdx
addq $0x19, %rdx
jmp 0x8184
movq 0x40(%r12), %rsi
movq %r12, %rdi
callq 0x4235
movq %r14, %rdi
movq %r12, %rsi
callq 0x84d7
movl $0xb8, %edx
jmp 0x8184
cmpb $0x1, 0xa(%r12)
movzbl 0xb(%r12), %edx
movb $0x4, %cl
sbbb $0x0, %cl
shll %cl, %edx
addl $0x28, %edx
andl $0xfff8, %edx           # imm = 0xFFF8
jmp 0x8184
movq 0x20(%r12), %rdx
addq $0x28, %rdx
movq %r14, %rdi
movq %r12, %rsi
jmp 0x8273
movq 0x20(%r12), %rsi
leaq 0xa2b5(%rip), %rax      # 0x12450
cmpq %rax, %rsi
je 0x81b5
movb 0xb(%r12), %cl
pushq $0x28
popq %rdx
shlq %cl, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x18(%r12), %rsi
movslq 0x38(%r12), %rdx
shlq $0x4, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq %r14, %rdi
movq %r12, %rsi
pushq $0x40
jmp 0x8272
movq 0x18(%r12), %rsi
movslq 0x50(%r12), %rdx
shlq $0x2, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x20(%r12), %rsi
movslq 0x58(%r12), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x10(%r12), %rsi
movslq 0x4c(%r12), %rdx
shlq $0x4, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x28(%r12), %rsi
movslq 0x54(%r12), %rdx
shlq $0x2, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x30(%r12), %rsi
movslq 0x5c(%r12), %rdx
shlq $0x4, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq 0x38(%r12), %rsi
movslq 0x48(%r12), %rdx
shlq $0x3, %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x4158
movq %r14, %rdi
movq %r12, %rsi
pushq $0x78
popq %rdx
xorl %ecx, %ecx
callq 0x4158
jmp 0x80a7
movq %r14, %rdi
movq %r12, %rsi
callq 0x4394
jmp 0x80a7
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: GCTM
static void GCTM(lua_State*L){
global_State*g=G(L);
GCObject*o=g->tmudata->gch.next;
Udata*udata=rawgco2u(o);
const TValue*tm;
if(o==g->tmudata)
g->tmudata=NULL;
else
g->tmudata->gch.next=udata->uv.next;
udata->uv.next=g->mainthread->next;
g->mainthread->next=o;
makewhite(g,o);
tm=fasttm(L,udata->uv.metatable,TM_GC);
if(tm!=NULL){
lu_byte oldah=L->allowhook;
lu_mem oldt=g->GCthreshold;
L->allowhook=0;
g->GCthreshold=2*g->totalbytes;
setobj(L,L->top,tm);
setuvalue(L,L->top+1,udata);
L->top+=2;
luaD_call(L,L->top-2,0);
L->allowhook=oldah;
g->GCthreshold=oldt;
}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %r14
movq 0x50(%r14), %rax
movq (%rax), %r15
cmpq %rax, %r15
je 0x82c4
movq (%r15), %rcx
movq %rcx, (%rax)
jmp 0x82c9
andq $0x0, 0x50(%r14)
movq 0xb0(%r14), %rax
movq (%rax), %rax
movq %rax, (%r15)
movq 0xb0(%r14), %rax
movq %r15, (%rax)
movb 0x9(%r15), %al
andb $-0x8, %al
movb 0x20(%r14), %cl
andb $0x3, %cl
orb %al, %cl
movb %cl, 0x9(%r15)
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x836e
testb $0x4, 0xa(%rdi)
jne 0x836e
movq 0x20(%rbx), %rax
movq 0x138(%rax), %rdx
pushq $0x2
popq %rsi
callq 0x7239
testq %rax, %rax
je 0x836e
movb 0x65(%rbx), %bpl
movq 0x70(%r14), %r12
movb $0x0, 0x65(%rbx)
movq 0x78(%r14), %rcx
addq %rcx, %rcx
movq %rcx, 0x70(%r14)
movq 0x10(%rbx), %rcx
movq (%rax), %rdx
movq %rdx, (%rcx)
movl 0x8(%rax), %eax
movl %eax, 0x8(%rcx)
movq 0x10(%rbx), %rax
movq %r15, 0x10(%rax)
movl $0x7, 0x18(%rax)
movq 0x10(%rbx), %rsi
leaq 0x20(%rsi), %rax
movq %rax, 0x10(%rbx)
movq %rbx, %rdi
xorl %edx, %edx
callq 0x507a
movb %bpl, 0x65(%rbx)
movq %r12, 0x70(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaC_separateudata
static size_t luaC_separateudata(lua_State*L,int all){
global_State*g=G(L);
size_t deadmem=0;
GCObject**p=&g->mainthread->next;
GCObject*curr;
while((curr=*p)!=NULL){
if(!(iswhite(curr)||all)||isfinalized(gco2u(curr)))
p=&curr->gch.next;
else if(fasttm(L,gco2u(curr)->metatable,TM_GC)==NULL){
markfinalized(gco2u(curr));
p=&curr->gch.next;
}
else{
deadmem+=sizeudata(gco2u(curr));
markfinalized(gco2u(curr));
*p=curr->gch.next;
if(g->tmudata==NULL)
g->tmudata=curr->gch.next=curr;
else{
curr->gch.next=g->tmudata->gch.next;
g->tmudata->gch.next=curr;
g->tmudata=curr;
}
}
}
return deadmem;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0x20(%rdi), %r12
movq 0xb0(%r12), %rbp
xorl %r15d, %r15d
movq (%rbp), %r13
testq %r13, %r13
je 0x8492
movzbl 0x9(%r13), %ecx
movl %ecx, %eax
andl $0x3, %eax
orl %ebx, %eax
testb $0x8, %cl
jne 0x848a
testl %eax, %eax
je 0x848a
movq 0x10(%r13), %rdi
testq %rdi, %rdi
je 0x8483
testb $0x4, 0xa(%rdi)
jne 0x8483
movq 0x20(%r14), %rax
movq 0x138(%rax), %rdx
pushq $0x2
popq %rsi
callq 0x7239
movb 0x9(%r13), %cl
testq %rax, %rax
je 0x8483
movq (%r13), %rdx
movq 0x20(%r13), %rax
orb $0x8, %cl
movb %cl, 0x9(%r13)
movq %rdx, (%rbp)
movq 0x50(%r12), %rcx
testq %rcx, %rcx
je 0x846e
movq (%rcx), %rcx
movq %rcx, (%r13)
movq 0x50(%r12), %rcx
movq %r13, (%rcx)
jmp 0x8472
movq %r13, (%r13)
addq %rax, %r15
addq $0x28, %r15
movq %r13, 0x50(%r12)
jmp 0x83f3
orb $0x8, %cl
movb %cl, 0x9(%r13)
movq %r13, %rbp
jmp 0x83f3
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: iscleared
static int iscleared(const TValue*o,int iskey){
if(!iscollectable(o))return 0;
if(ttisstring(o)){
stringmark(rawtsvalue(o));
return 0;
}
return iswhite(gcvalue(o))||
(ttisuserdata(o)&&(!iskey&&isfinalized(uvalue(o))));
}

// Assembly:
movl 0x8(%rdi), %edx
xorl %eax, %eax
cmpl $0x4, %edx
jl 0x84d6
movq (%rdi), %rdi
movzbl 0x9(%rdi), %ecx
jne 0x84be
andb $-0x4, %cl
movb %cl, 0x9(%rdi)
retq
testb $0x3, %cl
je 0x84c7
pushq $0x1
popq %rax
retq
xorl $0x7, %edx
orl %edx, %esi
jne 0x84d6
shrl $0x3, %ecx
andl $0x1, %ecx
movl %ecx, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_pushcclosure
static void lua_pushcclosure(lua_State*L,lua_CFunction fn,int n){
Closure*cl;
luaC_checkGC(L);
api_checknelems(L,n);
cl=luaF_newCclosure(L,n,getcurrenv(L));
cl->c.f=fn;
L->top-=n;
while(n--)
setobj(L,&cl->c.upvalue[n],L->top+n);
setclvalue(L,L->top,cl);
api_incr_top(L);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x78(%rax), %rcx
cmpq 0x70(%rax), %rcx
jb 0x8536
movq %rbx, %rdi
callq 0x662b
movq 0x28(%rbx), %rax
cmpq 0x50(%rbx), %rax
je 0x854d
movq 0x8(%rax), %rax
movq (%rax), %rax
addq $0x18, %rax
jmp 0x8551
leaq 0x78(%rbx), %rax
movq (%rax), %r15
movl %ebp, %ecx
shll $0x4, %ecx
addl $0x28, %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4158
movq 0x20(%rbx), %rcx
movq 0x28(%rcx), %rdx
movq %rdx, (%rax)
movq %rax, 0x28(%rcx)
movb 0x20(%rcx), %cl
andb $0x3, %cl
movb %cl, 0x9(%rax)
movb $0x6, 0x8(%rax)
movb $0x1, 0xa(%rax)
movq %r15, 0x18(%rax)
movb %bpl, 0xb(%rax)
movq %r14, 0x20(%rax)
movl %ebp, %ecx
shlq $0x4, %rcx
subq %rcx, 0x10(%rbx)
movslq %ebp, %rcx
movq %rcx, %rdx
shlq $0x4, %rdx
addq $0x18, %rdx
subq $0x1, %rcx
jb 0x85cd
movq 0x10(%rbx), %rsi
movq -0x28(%rdx,%rsi), %rdi
movq %rdi, (%rax,%rdx)
movl -0x20(%rdx,%rsi), %esi
movl %esi, 0x8(%rax,%rdx)
addq $-0x10, %rdx
jmp 0x85ac
movq 0x10(%rbx), %rcx
movq %rax, (%rcx)
movl $0x6, 0x8(%rcx)
addq $0x10, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaopen_io
static int luaopen_io(lua_State*L){
createmeta(L);
newfenv(L,io_fclose);
lua_replace(L,(-10001));
luaL_register(L,"io",iolib);
newfenv(L,io_noclose);
createstdfile(L,stdin,1,"stdin");
createstdfile(L,stdout,2,"stdout");
createstdfile(L,stderr,0,"stderr");
lua_pop(L,1);
lua_getfield(L,-1,"popen");
newfenv(L,io_pclose);
lua_setfenv(L,-2);
lua_pop(L,1);
return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xa87c(%rip), %rdx      # 0x12fb1
movl $0xffffd8f0, %esi       # imm = 0xFFFFD8F0
callq 0xeeed
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x965e
testl %eax, %eax
jne 0x877c
addq $-0x10, 0x10(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x37dc
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x8917
leaq 0xa842(%rip), %rdx      # 0x12fb1
movq %rbx, %rdi
movl $0xffffd8f0, %esi       # imm = 0xFFFFD8F0
callq 0x38e3
pushq $-0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x8917
leaq 0xa082(%rip), %rdx      # 0x12812
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x38e3
leaq 0x124ce(%rip), %rdx     # 0x1ac70
movq %rbx, %rdi
xorl %esi, %esi
callq 0x36e4
leaq 0x65be(%rip), %rsi      # 0xed71
movq %rbx, %rdi
callq 0xed39
movq %rbx, %rdi
movl $0xffffd8ef, %esi       # imm = 0xFFFFD8EF
callq 0xeda5
leaq 0xa155(%rip), %rsi      # 0x12924
leaq 0x123fa(%rip), %rdx     # 0x1abd0
movq %rbx, %rdi
callq 0x36e4
leaq 0x6680(%rip), %rsi      # 0xee65
movq %rbx, %rdi
callq 0xed39
movq 0x127e4(%rip), %rax     # 0x1afd8
movq (%rax), %rsi
leaq 0xaaf9(%rip), %rcx      # 0x132f7
pushq $0x1
popq %r14
movq %rbx, %rdi
movl %r14d, %edx
callq 0xee8a
movq 0x127bc(%rip), %rax     # 0x1afd0
movq (%rax), %rsi
leaq 0xa77f(%rip), %rcx      # 0x12f9d
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0xee8a
movq 0x127c8(%rip), %rax     # 0x1aff8
movq (%rax), %rsi
leaq 0xa76a(%rip), %rcx      # 0x12fa4
movq %rbx, %rdi
xorl %edx, %edx
callq 0xee8a
addq $-0x10, 0x10(%rbx)
leaq 0xa75b(%rip), %rdx      # 0x12fab
movq %rbx, %rdi
movl %ebp, %esi
callq 0xeeed
leaq 0x66e4(%rip), %rsi      # 0xef45
movq %rbx, %rdi
callq 0xed39
movq %rbx, %rdi
callq 0xe1f3
addq $-0x10, 0x10(%rbx)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_ipairs
static int luaB_ipairs(lua_State*L){
luaL_checktype(L,1,5);
lua_pushvalue(L,lua_upvalueindex(1));
lua_pushvalue(L,1);
lua_pushinteger(L,0);
return 3;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
pushq $0x5
popq %rdx
movl %ebp, %esi
callq 0xe177
movq %rbx, %rdi
movl $0xffffd8ed, %esi       # imm = 0xFFFFD8ED
callq 0x8917
movq %rbx, %rdi
movl %ebp, %esi
callq 0x8917
movq 0x10(%rbx), %rax
andq $0x0, (%rax)
movl $0x3, 0x8(%rax)
addq $0x10, 0x10(%rbx)
pushq $0x3
popq %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: ipairsaux
static int ipairsaux(lua_State*L){
int i=luaL_checkint(L,2);
luaL_checktype(L,1,5);
i++;
lua_pushinteger(L,i);
lua_rawgeti(L,1,i);
return(lua_isnil(L,-1))?0:2;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x2
popq %rsi
callq 0x9cae
movq %rax, %r14
pushq $0x1
popq %rbp
pushq $0x5
popq %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xe177
incl %r14d
movq 0x10(%rbx), %rax
cvtsi2sd %r14d, %xmm0
movsd %xmm0, (%rax)
movl $0x3, 0x8(%rax)
addq $0x10, 0x10(%rbx)
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0xe3d0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x965e
xorl %ecx, %ecx
testl %eax, %eax
setne %cl
addl %ecx, %ecx
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_pairs
static int luaB_pairs(lua_State*L){
luaL_checktype(L,1,5);
lua_pushvalue(L,lua_upvalueindex(1));
lua_pushvalue(L,1);
lua_pushnil(L);
return 3;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
pushq $0x5
popq %rdx
movl %ebp, %esi
callq 0xe177
movq %rbx, %rdi
movl $0xffffd8ed, %esi       # imm = 0xFFFFD8ED
callq 0x8917
movq %rbx, %rdi
movl %ebp, %esi
callq 0x8917
movq 0x10(%rbx), %rax
andl $0x0, 0x8(%rax)
addq $0x10, %rax
movq %rax, 0x10(%rbx)
pushq $0x3
popq %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_next
static int luaB_next(lua_State*L){
luaL_checktype(L,1,5);
lua_settop(L,2);
if(lua_next(L,1))
return 2;
else{
lua_pushnil(L);
return 1;
}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
pushq $0x1
popq %r12
pushq $0x5
popq %rdx
movl %r12d, %esi
callq 0xe177
pushq $0x2
popq %r13
movq %r14, %rdi
movl %r13d, %esi
callq 0x9c5a
movq 0x10(%r14), %rbp
movq 0x18(%r14), %rax
cmpq %rbp, %rax
leaq 0x9949(%rip), %rcx      # 0x12440
cmovbq %rax, %rcx
movq (%rcx), %r15
movl -0x8(%rbp), %ebx
testl %ebx, %ebx
je 0x8b95
leaq -0x10(%rbp), %r12
movq %r12, %rdi
callq 0x7843
testl %eax, %eax
jle 0x8b21
movl 0x38(%r15), %edx
cmpl %edx, %eax
jle 0x8b9e
movq %r14, (%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x72b0
movq %rax, %r13
leaq 0x10(%r13), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x7318
testl %eax, %eax
jne 0x8b76
cmpl $0x4, %ebx
jl 0x8b5b
cmpl $0xb, 0x18(%r13)
jne 0x8b5b
movq (%r14), %rax
cmpq (%r12), %rax
je 0x8b76
movq 0x20(%r13), %r13
testq %r13, %r13
jne 0x8b33
leaq 0xa35d(%rip), %rsi      # 0x12ec8
movq (%rsp), %rdi
xorl %eax, %eax
callq 0x450d
subq 0x20(%r15), %r13
pushq $0x28
popq %rcx
movq %r13, %rax
cqto
idivq %rcx
movl 0x38(%r15), %edx
addl %edx, %eax
movq (%rsp), %r14
pushq $0x2
popq %r13
jmp 0x8ba0
movl 0x38(%r15), %edx
pushq $-0x1
popq %rax
jmp 0x8ba4
decl %eax
pushq $0x1
popq %r12
cltq
movslq %edx, %rsi
movq %rax, %rdi
shlq $0x4, %rdi
incq %rax
cmpq %rsi, %rax
jge 0x8be4
movq 0x18(%r15), %r8
incq %rax
leaq 0x10(%rdi), %rcx
cmpl $0x0, 0x18(%r8,%rdi)
movq %rcx, %rdi
je 0x8bb3
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x10(%rbp)
movl $0x3, -0x8(%rbp)
addq 0x18(%r15), %rcx
jmp 0x8c36
movb 0xb(%r15), %cl
movabsq $0x100000000, %rsi      # imm = 0x100000000
shlq %cl, %rsi
sarq $0x20, %rsi
subl %edx, %eax
cltq
imulq $0x28, %rax, %rdx
addq $-0x28, %rdx
decq %rax
incq %rax
cmpq %rsi, %rax
jge 0x8c4d
leaq 0x28(%rdx), %rcx
movq 0x20(%r15), %rdi
cmpl $0x0, 0x30(%rdi,%rdx)
movq %rcx, %rdx
je 0x8c08
movq 0x10(%rdi,%rcx), %rax
movq %rax, -0x10(%rbp)
movl 0x18(%rdi,%rcx), %eax
movl %eax, -0x8(%rbp)
addq 0x20(%r15), %rcx
movq (%rcx), %rax
movq %rax, (%rbp)
movl 0x8(%rcx), %eax
movl %eax, 0x8(%rbp)
movq 0x10(%r14), %rbp
addq $0x10, %rbp
jmp 0x8c54
andl $0x0, -0x8(%rbp)
movl %r12d, %r13d
movq %rbp, 0x10(%r14)
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: lua_setmetatable
static int lua_setmetatable(lua_State*L,int objindex){
TValue*obj;
Table*mt;
api_checknelems(L,1);
obj=index2adr(L,objindex);
api_checkvalidindex(L,obj);
if(ttisnil(L->top-1))
mt=NULL;
else{
luai_apicheck(L,ttistable(L->top-1));
mt=hvalue(L->top-1);
}
switch(ttype(obj)){
case 5:{
hvalue(obj)->metatable=mt;
if(mt)
luaC_objbarriert(L,hvalue(obj),mt);
break;
}
case 7:{
uvalue(obj)->metatable=mt;
if(mt)
luaC_objbarrier(L,rawuvalue(obj),mt);
break;
}
default:{
G(L)->mt[ttype(obj)]=mt;
break;
}
}
L->top--;
return 1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x8e4b
movq 0x10(%rbx), %rcx
cmpl $0x0, -0x8(%rcx)
je 0x8c83
movq -0x10(%rcx), %rdx
jmp 0x8c85
xorl %edx, %edx
movslq 0x8(%rax), %rcx
cmpq $0x7, %rcx
je 0x8cc9
cmpl $0x5, %ecx
jne 0x8cee
movq (%rax), %rcx
movq %rdx, 0x10(%rcx)
testq %rdx, %rdx
je 0x8cfa
testb $0x3, 0x9(%rdx)
je 0x8cfa
movq (%rax), %rax
movb 0x9(%rax), %cl
testb $0x4, %cl
je 0x8cfa
movq 0x20(%rbx), %rdx
andb $-0x5, %cl
movb %cl, 0x9(%rax)
movq 0x40(%rdx), %rcx
movq %rcx, 0x30(%rax)
movq %rax, 0x40(%rdx)
jmp 0x8cfa
movq (%rax), %rcx
movq %rdx, 0x10(%rcx)
testq %rdx, %rdx
je 0x8cfa
testb $0x3, 0x9(%rdx)
je 0x8cfa
movq (%rax), %rsi
testb $0x4, 0x9(%rsi)
je 0x8cfa
movq %rbx, %rdi
callq 0x43bc
jmp 0x8cfa
movq 0x20(%rbx), %rax
movq %rdx, 0xe0(%rax,%rcx,8)
addq $-0x10, 0x10(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_newproxy
static int luaB_newproxy(lua_State*L){
lua_settop(L,1);
lua_newuserdata(L,0);
if(lua_toboolean(L,1)==0)
return 1;
else if(lua_isboolean(L,1)){
lua_newtable(L);
lua_pushvalue(L,-1);
lua_pushboolean(L,1);
lua_rawset(L,lua_upvalueindex(1));
}
else{
int validproxy=0;
if(lua_getmetatable(L,1)){
lua_rawget(L,lua_upvalueindex(1));
validproxy=lua_toboolean(L,-1);
lua_pop(L,1);
}
luaL_argcheck(L,validproxy,1,"boolean or proxy expected");
lua_getmetatable(L,1);
}
lua_setmetatable(L,2);
return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x9c5a
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe405
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9522
testl %eax, %eax
je 0x8e2b
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x965e
movq %rbx, %rdi
cmpl $0x1, %eax
jne 0x8dee
xorl %esi, %esi
callq 0x37dc
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x8917
movq 0x10(%rbx), %rax
movl %ebp, (%rax)
movl %ebp, 0x8(%rax)
movq 0x10(%rbx), %r15
movq 0x28(%rbx), %rax
leaq 0x10(%r15), %rcx
movq %rcx, 0x10(%rbx)
movq 0x8(%rax), %rax
movq (%rax), %rax
leaq 0x28(%rax), %rcx
cmpb $0x0, 0xb(%rax)
leaq 0x96b5(%rip), %r14      # 0x12440
cmovneq %rcx, %r14
movq (%r14), %rsi
leaq -0x10(%r15), %rdx
movq %rbx, %rdi
callq 0x73a2
movq (%r15), %rcx
movq %rcx, (%rax)
movl 0x8(%r15), %ecx
movl %ecx, 0x8(%rax)
movq 0x10(%rbx), %rax
cmpl $0x4, -0x8(%rax)
jl 0x8de4
movq -0x10(%rax), %rcx
testb $0x3, 0x9(%rcx)
je 0x8de4
movq (%r14), %rcx
movb 0x9(%rcx), %dl
testb $0x4, %dl
je 0x8de4
movq 0x20(%rbx), %rax
andb $-0x5, %dl
movb %dl, 0x9(%rcx)
movq 0x40(%rax), %rdx
movq %rdx, 0x30(%rcx)
movq %rcx, 0x40(%rax)
movq 0x10(%rbx), %rax
addq $-0x20, %rax
movq %rax, 0x10(%rbx)
jmp 0x8e20
callq 0xe272
testl %eax, %eax
je 0x8e39
movq %rbx, %rdi
movl $0xffffd8ed, %esi       # imm = 0xFFFFD8ED
callq 0xe19c
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0x9522
addq $-0x10, 0x10(%rbx)
testl %eax, %eax
je 0x8e39
movq %rbx, %rdi
callq 0xe272
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x8c6a
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0xa09e(%rip), %rdx      # 0x12ede
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x967a
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: index2adr
static TValue*index2adr(lua_State*L,int idx){
if(idx>0){
TValue*o=L->base+(idx-1);
luai_apicheck(L,idx<=L->ci->top-L->base);
if(o>=L->top)return cast(TValue*,(&luaO_nilobject_));
else return o;
}
else if(idx>(-10000)){
luai_apicheck(L,idx!=0&&-idx<=L->top-L->base);
return L->top+idx;
}
else switch(idx){
case(-10000):return registry(L);
case(-10001):{
Closure*func=curr_func(L);
sethvalue(L,&L->env,func->c.env);
return&L->env;
}
case(-10002):return gt(L);
default:{
Closure*func=curr_func(L);
idx=(-10002)-idx;
return(idx<=func->c.nupvalues)
?&func->c.upvalue[idx-1]
:cast(TValue*,(&luaO_nilobject_));
}
}
}

// Assembly:
testl %esi, %esi
jle 0x8e70
movq 0x18(%rdi), %rax
movl %esi, %ecx
shlq $0x4, %rcx
addq %rax, %rcx
addq $-0x10, %rcx
cmpq 0x10(%rdi), %rcx
leaq 0x95d5(%rip), %rax      # 0x12440
cmovbq %rcx, %rax
retq
cmpl $0xffffd8f1, %esi       # imm = 0xFFFFD8F1
jl 0x8e84
movslq %esi, %rax
shlq $0x4, %rax
addq 0x10(%rdi), %rax
retq
cmpl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
je 0x8ece
cmpl $0xffffd8ef, %esi       # imm = 0xFFFFD8EF
je 0x8ea6
cmpl $0xffffd8f0, %esi       # imm = 0xFFFFD8F0
jne 0x8ed6
movl $0xa0, %eax
addq 0x20(%rdi), %rax
retq
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rax
movq (%rax), %rcx
leaq 0x88(%rdi), %rax
movq 0x18(%rcx), %rcx
movq %rcx, 0x88(%rdi)
movl $0x5, 0x90(%rdi)
retq
addq $0x78, %rdi
movq %rdi, %rax
retq
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl $0xffffd8ee, %ecx       # imm = 0xFFFFD8EE
subl %esi, %ecx
movzbl 0xb(%rax), %edx
movl $0xffffd8ed, %edi       # imm = 0xFFFFD8ED
subl %esi, %edi
shlq $0x4, %rdi
cmpl %edx, %ecx
leaq 0x28(%rax,%rdi), %rcx
leaq 0x953b(%rip), %rax      # 0x12440
cmovbeq %rcx, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_assert
static int luaB_assert(lua_State*L){
luaL_checkany(L,1);
if(!lua_toboolean(L,1))
return luaL_error(L,"%s",luaL_optstring(L,2,"assertion failed!"));
return lua_gettop(L);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x94f6
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9522
testl %eax, %eax
je 0x8f3b
movq 0x10(%rbx), %rax
subq 0x18(%rbx), %rax
shrq $0x4, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x9a5f(%rip), %rdx      # 0x129a1
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x9605
leaq 0x9719(%rip), %rsi      # 0x1266f
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x9546
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_error
static int luaB_error(lua_State*L){
int level=luaL_optint(L,2,1);
lua_settop(L,1);
if(lua_isstring(L,1)&&level>0){
luaL_where(L,level);
lua_pushvalue(L,1);
lua_concat(L,2);
}
return lua_error(L);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
callq 0x9c2f
movq %rax, %r14
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9c5a
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9c99
testl %eax, %eax
setne %al
testl %r14d, %r14d
setg %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x8fc2
movq %rbx, %rdi
movl %r14d, %esi
callq 0x9a06
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x8917
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x9a6a
movq %rbx, %rdi
callq 0x48c4
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_loadstring
static int luaB_loadstring(lua_State*L){
size_t l;
const char*s=luaL_checklstring(L,1,&l);
const char*chunkname=luaL_optstring(L,2,s);
return load_aux(L,luaL_loadbuffer(L,s,l,chunkname));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
pushq $0x1
popq %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdx
callq 0x9b97
movq %rax, %r15
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x9605
movq (%r14), %rcx
leaq 0x10(%rsp), %rdx
movq %r15, (%rdx)
movq %rcx, 0x8(%rdx)
leaq 0xdf5(%rip), %rsi       # 0x9e2a
movq %rbx, %rdi
movq %rax, %rcx
callq 0x9da9
movq %rbx, %rdi
movl %eax, %esi
callq 0x9d49
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_pcall
static int luaB_pcall(lua_State*L){
int status;
luaL_checkany(L,1);
status=lua_pcall(L,lua_gettop(L)-1,(-1),0);
lua_pushboolean(L,(status==0));
lua_insert(L,1);
return lua_gettop(L);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rbp
movl %ebp, %esi
callq 0x94f6
movq 0x10(%rbx), %rsi
subq 0x18(%rbx), %rsi
shrq $0x4, %rsi
decl %esi
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0x3af8
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movq 0x10(%rbx), %rax
movl %ecx, (%rax)
movl $0x1, 0x8(%rax)
addq $0x10, 0x10(%rbx)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9d72
movq 0x10(%rbx), %rax
subq 0x18(%rbx), %rax
shrq $0x4, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: luaB_rawget
static int luaB_rawget(lua_State*L){
luaL_checktype(L,1,5);
luaL_checkany(L,2);
lua_settop(L,2);
lua_rawget(L,1);
return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x1
popq %rbp
pushq $0x5
popq %rdx
movl %ebp, %esi
callq 0xe177
pushq $0x2
popq %r14
movq %rbx, %rdi
movl %r14d, %esi
callq 0x94f6
movq %rbx, %rdi
movl %r14d, %esi
callq 0x9c5a
movq %rbx, %rdi
movl %ebp, %esi
callq 0xe19c
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq