// File: /workspace/github_c_makefile_star2_O1/zenkj[P]luajit-arm64/src/host/minilua.c
// Function: primaryexp
static void primaryexp(LexState*ls,expdesc*v){
FuncState*fs=ls->fs;
prefixexp(ls,v);
for(;;){
switch(ls->t.token){
case'.':{
field(ls,v);
break;
}
case'[':{
expdesc key;
luaK_exp2anyreg(fs,v);
yindex(ls,&key);
luaK_indexed(fs,v,&key);
break;
}
case':':{
expdesc key;
luaX_next(ls);
checkname(ls,&key);
luaK_self(fs,v,&key);
funcargs(ls,v);
break;
}
case'(':case TK_STRING:case'{':{
luaK_exp2nextreg(fs,v);
funcargs(ls,v);
break;
}
default:return;
}
}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x30(%rdi), %r15
leaq 0x10(%rdi), %r12
movl 0x10(%rdi), %edx
cmpl $0x11d, %edx            # imm = 0x11D
je 0xe546
cmpl $0x28, %edx
jne 0xe74f
movl 0x4(%rbx), %ebp
movl 0x20(%rbx), %eax
movl %ebp, 0x8(%rbx)
cmpl $0x11f, %eax            # imm = 0x11F
jne 0xe553
leaq 0x18(%rbx), %rsi
movq %rbx, %rdi
callq 0xbabb
movl %eax, 0x10(%rbx)
jmp 0xe565
movq %rbx, %rdi
movq %r14, %rsi
callq 0xeeb5
jmp 0xe592
leaq 0x20(%rbx), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xcbb5
movq %rbx, %rdi
movl $0x29, %esi
movl $0x28, %edx
movl %ebp, %ecx
callq 0xc8df
movq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0xd5d1
leaq 0x20(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x18(%rbx), %rax
movq %rax, 0x18(%rsp)
movl (%r12), %eax
cmpl $0x5a, %eax
jg 0xe5e7
cmpl $0x28, %eax
je 0xe5fc
cmpl $0x2e, %eax
je 0xe640
cmpl $0x3a, %eax
jne 0xe740
movl 0x4(%rbx), %eax
movl 0x20(%rbx), %ecx
movl %eax, 0x8(%rbx)
cmpl $0x11f, %ecx            # imm = 0x11F
jne 0xe650
movq %rbx, %rdi
movq 0x18(%rsp), %rsi
callq 0xbabb
movl %eax, 0x10(%rbx)
jmp 0xe663
cmpl $0x5b, %eax
je 0xe60c
cmpl $0x7b, %eax
je 0xe5fc
cmpl $0x11e, %eax            # imm = 0x11E
jne 0xe740
movq %r15, %rdi
movq %r14, %rsi
callq 0xd79c
jmp 0xe730
movq %r15, %rdi
movq %r14, %rsi
callq 0xd3bf
movq %rbx, %rdi
movq %rsp, %r13
movq %r13, %rsi
callq 0xe96d
movq %r15, %rdi
movq %r13, %rsi
callq 0xddcb
movl %eax, 0xc(%r14)
movl $0x9, (%r14)
jmp 0xe5a4
movq %rbx, %rdi
movq %r14, %rsi
callq 0xec32
jmp 0xe5a4
movq 0x20(%rsp), %rax
movups (%rax), %xmm0
movups %xmm0, (%r12)
movl $0x11f, (%rax)          # imm = 0x11F
movq %rbx, %rdi
callq 0xe9da
movq 0x30(%rbx), %rdi
movq %rax, (%rsp)
movl $0x4, %ebp
movl %ebp, 0x8(%rsp)
movq %rsp, %rdx
movq %rdx, %rsi
callq 0xdc8d
movq $-0x1, 0x10(%rsp)
movl %ebp, (%rsp)
movl %eax, 0x8(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0xd3bf
cmpl $0xc, (%r14)
jne 0xe6bf
movl 0x8(%r14), %eax
btl $0x8, %eax
jb 0xe6bf
movzbl 0x4a(%r15), %ecx
cmpl %ecx, %eax
jl 0xe6bf
decl 0x3c(%r15)
movl 0x3c(%r15), %r13d
movq %r15, %rdi
movl $0x2, %esi
callq 0xdd9c
addl $0x2, 0x3c(%r15)
movl 0x8(%r14), %ebp
movq %r15, %rdi
movq %rsp, %rsi
callq 0xddcb
movl %r13d, %ecx
shll $0x6, %ecx
shll $0x17, %ebp
orl %ecx, %ebp
shll $0xe, %eax
orl %eax, %ebp
orl $0xb, %ebp
movq 0x18(%r15), %rax
movl 0x8(%rax), %edx
movq %r15, %rdi
movl %ebp, %esi
callq 0xd83d
cmpl $0xc, (%rsp)
jne 0xe725
movl 0x8(%rsp), %eax
btl $0x8, %eax
jb 0xe725
movzbl 0x4a(%r15), %ecx
cmpl %ecx, %eax
jl 0xe725
decl 0x3c(%r15)
movl %r13d, 0x8(%r14)
movl $0xc, (%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xecdc
jmp 0xe5a4
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6511(%rip), %rsi      # 0x14c67
movq %rbx, %rdi
callq 0xc4a9