	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luaH_get
_luaH_get:                              ## @luaH_get
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ttype
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	cmpl	$3, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$4, %eax
	jne	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_rawtsvalue
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaH_getstr                    ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	callq	_nvalue
	movl	%eax, %esi
	callq	_lua_number2int
	callq	_cast_num
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_nvalue
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_luai_numeq
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_luaH_getnum                    ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mainposition
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_key2tval
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_luaO_rawequalObj
	movq	%rbx, %rdi
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_gnext
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:
	movq	_luaO_nilobject_@GOTPCREL(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gval                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_luaO_nilobject_,4,2            ## @luaO_nilobject_
	.no_dead_strip	_luaH_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luaH_get
_luaH_get:                              ; @luaH_get
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ttype
	cbz	w0, LBB0_9
; %bb.1:
	cmp	w0, #3
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #4
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_rawtsvalue
	mov	x1, x0
	mov	x0, x20
	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	_luaH_getstr
LBB0_4:
	mov	x0, x19
	bl	_nvalue
	mov	x1, x0
	bl	_lua_number2int
	bl	_cast_num
	mov	x21, x0
	mov	x0, x19
	bl	_nvalue
	mov	x1, x0
	mov	x0, x21
	bl	_luai_numeq
	cbz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	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	_luaH_getnum
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_mainposition
	mov	x20, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_key2tval
	mov	x1, x19
	bl	_luaO_rawequalObj
	cbnz	w0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_gnext
	mov	x20, x0
	cbnz	x0, LBB0_7
LBB0_9:
Lloh0:
	adrp	x0, _luaO_nilobject_@GOTPAGE
Lloh1:
	ldr	x0, [x0, _luaO_nilobject_@GOTPAGEOFF]
	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
LBB0_10:
	mov	x0, x20
	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	_gval
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_luaO_nilobject_,4,2            ; @luaO_nilobject_
	.no_dead_strip	_luaH_get
.subsections_via_symbols
