	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_indexed                   ## -- Begin function luaK_indexed
	.p2align	4, 0x90
_luaK_indexed:                          ## @luaK_indexed
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_hasjumps
	xorl	%edi, %edi
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rdi
	callq	_vkisinreg
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movq	_VUPVAL@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
LBB0_3:
	callq	_lua_assert
	movl	24(%rbx), %eax
	movl	%eax, 20(%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_luaK_exp2RK
	movl	%eax, 16(%rbx)
	movq	_VUPVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_VLOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	%rax, 8(%rbx)
	movq	_VINDEXED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VUPVAL,8,3                     ## @VUPVAL
	.comm	_VLOCAL,8,3                     ## @VLOCAL
	.comm	_VINDEXED,8,3                   ## @VINDEXED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaK_indexed                   ; -- Begin function luaK_indexed
	.p2align	2
_luaK_indexed:                          ; @luaK_indexed
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_hasjumps
Lloh0:
	adrp	x22, _VUPVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VUPVAL@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	ldr	x0, [x19]
	bl	_vkisinreg
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, eq
LBB0_5:
	bl	_lua_assert
	ldr	w8, [x19, #24]
	str	w8, [x19, #20]
	mov	x0, x21
	mov	x1, x20
	bl	_luaK_exp2RK
	str	w0, [x19, #16]
	ldr	x8, [x19]
	ldr	x9, [x22]
Lloh2:
	adrp	x10, _VLOCAL@GOTPAGE
Lloh3:
	ldr	x10, [x10, _VLOCAL@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x8, x9, x10, eq
Lloh5:
	adrp	x9, _VINDEXED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VINDEXED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	stp	x9, x8, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VUPVAL,8,3                     ; @VUPVAL
	.comm	_VLOCAL,8,3                     ; @VLOCAL
	.comm	_VINDEXED,8,3                   ; @VINDEXED
.subsections_via_symbols
