// File: /workspace/github_c_makefile_star2_O1/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: assignment
static void assignment(LexState*ls,struct LHS_assign*lh,int nvars){
expdesc e;
check_condition(ls,VLOCAL<=lh->v.k&&lh->v.k<=VINDEXED,
"syntax error");
if(testnext(ls,',')){
struct LHS_assign nv;
nv.prev=lh;
primaryexp(ls,&nv.v);
if(nv.v.k==VLOCAL)
check_conflict(ls,lh,&nv.v);
luaY_checklimit(ls->fs,nvars,200-ls->L->nCcalls,
"variables in assignment");
assignment(ls,&nv,nvars+1);
}
else{
int nexps;
checknext(ls,'=');
nexps=explist1(ls,&e);
if(nexps!=nvars){
adjust_assign(ls,nvars,nexps,&e);
if(nexps>nvars)
ls->fs->freereg-=nexps-nvars;
}
else{
luaK_setoneret(ls->fs,&e);
luaK_storevar(ls->fs,&lh->v,&e);
return;
}
}
init_exp(&e,VNONRELOC,ls->fs->freereg-1);
luaK_storevar(ls->fs,&lh->v,&e);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl 0x8(%rsi), %eax
addl $-0x6, %eax
cmpl $0x4, %eax
jae 0xf864
movl %edx, %ebp
movq %rsi, %r15
leaq 0x8(%rsi), %r14
movq %rbx, %rdi
movl $0x2c, %esi
callq 0xc858
testl %eax, %eax
je 0xf78c
leaq 0x8(%rsp), %r12
movq %r15, -0x8(%r12)
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe4f5
cmpl $0x6, (%r12)
jne 0xf761
testq %r15, %r15
je 0xf761
movq 0x30(%rbx), %r12
movl 0x3c(%r12), %eax
xorl %ecx, %ecx
cmpl $0x9, 0x8(%r15)
jne 0xf722
movl 0x10(%r15), %edx
cmpl 0x10(%rsp), %edx
jne 0xf70f
movl %eax, 0x10(%r15)
movl $0x1, %ecx
movl 0x14(%r15), %edx
cmpl 0x10(%rsp), %edx
jne 0xf722
movl %eax, 0x14(%r15)
movl $0x1, %ecx
movq (%r15), %r15
testq %r15, %r15
jne 0xf6f5
testl %ecx, %ecx
je 0xf761
movl 0x3c(%r12), %eax
movl 0x10(%rsp), %esi
shll $0x6, %eax
shll $0x17, %esi
orl %eax, %esi
movq 0x18(%r12), %rax
movl 0x8(%rax), %edx
movq %r12, %rdi
callq 0xd83d
movq %r12, %rdi
movl $0x1, %esi
callq 0xdd9c
incl 0x3c(%r12)
movq 0x38(%rbx), %rax
movzwl 0x60(%rax), %eax
movl $0xc8, %esi
subl %eax, %esi
cmpl %ebp, %esi
jl 0xf876
incl %ebp
movq %rsp, %rsi
movq %rbx, %rdi
movl %ebp, %edx
callq 0xf68d
jmp 0xf832
movq %rbx, %rdi
movl $0x3d, %esi
callq 0xcaf9
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xf0ee
movl %eax, %r15d
cmpl %eax, %ebp
jne 0xf7de
movq 0x30(%rbx), %rdi
movl (%rsp), %eax
cmpl $0xe, %eax
je 0xf7fe
cmpl $0xd, %eax
jne 0xf822
movl $0xc, (%rsp)
movq (%rdi), %rax
movq 0x18(%rax), %rax
movslq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %eax
shrl $0x6, %eax
movzbl %al, %eax
movl %eax, 0x8(%rsp)
jmp 0xf822
movq %rsp, %rcx
movq %rbx, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0xf525
movl %ebp, %eax
subl %r15d, %eax
jge 0xf82d
movq 0x30(%rbx), %rcx
addl %eax, 0x3c(%rcx)
jmp 0xf82d
movq (%rdi), %rax
movq 0x18(%rax), %rax
movslq 0x8(%rsp), %rcx
movl $0x7fffff, %edx         # imm = 0x7FFFFF
andl (%rax,%rcx,4), %edx
orl $0x1000000, %edx        # imm = 0x1000000
movl %edx, (%rax,%rcx,4)
movl $0xb, (%rsp)
movq %rsp, %rdx
movq %r14, %rsi
callq 0xf5a5
cmpl %r15d, %ebp
je 0xf857
movq 0x30(%rbx), %rdi
movl 0x3c(%rdi), %eax
decl %eax
movq %rsp, %rdx
movq $-0x1, 0x10(%rdx)
movl $0xc, (%rdx)
movl %eax, 0x8(%rdx)
movq %r14, %rsi
callq 0xf5a5
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl 0x10(%rbx), %edx
leaq 0x550b(%rip), %rsi      # 0x14d79
movq %rbx, %rdi
callq 0xc4a9
movq 0x30(%rbx), %rdi
leaq 0x5505(%rip), %rdx      # 0x14d86
callq 0xe925