	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_storevar                  ## -- Begin function luaK_storevar
	.p2align	4, 0x90
_luaK_storevar:                         ## @luaK_storevar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_freeexp
	movl	16(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_exp2reg                        ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_luaK_exp2anyreg
	movq	_OP_SETUPVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	16(%rbx), %ecx
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	jmp	LBB0_10
LBB0_5:
	cmpl	$129, 4(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	_OP_SETTABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	xorl	%edi, %edi
	callq	_lua_assert
	jmp	LBB0_11
LBB0_8:
	movq	_OP_SETTABUP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_luaK_exp2RK
	movl	8(%rbx), %edx
	movl	12(%rbx), %ecx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %r8d
LBB0_10:
	callq	_luaK_codeABC
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_freeexp                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_SETUPVAL,4,2                ## @OP_SETUPVAL
	.comm	_OP_SETTABLE,4,2                ## @OP_SETTABLE
	.comm	_OP_SETTABUP,4,2                ## @OP_SETTABUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_storevar                  ; -- Begin function luaK_storevar
	.p2align	2
_luaK_storevar:                         ; @luaK_storevar
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_freeexp
	ldr	w2, [x21, #16]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_exp2reg
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_luaK_exp2anyreg
	mov	x2, x0
Lloh0:
	adrp	x8, _OP_SETUPVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_SETUPVAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x21, #16]
	mov	x0, x20
	mov	w4, #0
	bl	_luaK_codeABC
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _OP_SETTABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_SETTABLE@GOTPAGEOFF]
	ldr	w9, [x21, #4]
Lloh5:
	adrp	x10, _OP_SETTABUP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _OP_SETTABUP@GOTPAGEOFF]
	cmp	w9, #129
	csel	x8, x8, x10, eq
	ldr	w22, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_luaK_exp2RK
	mov	x4, x0
	ldp	w2, w3, [x21, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_luaK_codeABC
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	bl	_lua_assert
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_freeexp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_SETUPVAL,4,2                ; @OP_SETUPVAL
	.comm	_OP_SETTABLE,4,2                ; @OP_SETTABLE
	.comm	_OP_SETTABUP,4,2                ; @OP_SETTABUP
.subsections_via_symbols
