	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getobjname
_getobjname:                            ## @getobjname
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_isLua
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_ci_func
	movq	(%rax), %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_currentpc
	movl	%eax, %r13d
	leal	1(%r14), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_luaF_getlocalname
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_symbexec
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$-1, %r13d
	setne	%dil
	callq	_lua_assert
	movl	%ebx, %edi
	callq	_GET_OPCODE
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_GETARG_A
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GETARG_B
	movl	%eax, %r14d
	cmpl	%r15d, %eax
	jl	LBB0_1
	jmp	LBB0_9
LBB0_6:
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	xorl	%r14d, %r14d
	jmpq	*%rax
LBB0_8:
	movl	%ebx, %edi
	callq	_GETARG_C
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_kname
	leaq	L_.str.5(%rip), %r14
	jmp	LBB0_17
LBB0_9:
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_10:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_18
LBB0_11:
	movl	%ebx, %edi
	callq	_GETARG_B
	movq	(%r15), %rcx
	leaq	L_.str.4(%rip), %r14
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.12:
	cltq
	movl	(%rcx,%rax,4), %edi
	callq	_getstr
	jmp	LBB0_17
LBB0_13:
	movl	%ebx, %edi
	callq	_GETARG_C
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_kname
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_17
LBB0_14:
	movl	%ebx, %edi
	callq	_GETARG_Bx
	movslq	%eax, %rbx
	shlq	$2, %rbx
	movq	8(%r15), %rdi
	addq	%rbx, %rdi
	callq	_ttisstring
	movl	%eax, %edi
	callq	_lua_assert
	addq	8(%r15), %rbx
	movq	%rbx, %rdi
	callq	_svalue
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.3(%rip), %rax
LBB0_17:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_18:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_18
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local"

L_.str.1:                               ## @.str.1
	.asciz	"global"

L_.str.2:                               ## @.str.2
	.asciz	"field"

L_.str.3:                               ## @.str.3
	.asciz	"?"

L_.str.4:                               ## @.str.4
	.asciz	"upvalue"

L_.str.5:                               ## @.str.5
	.asciz	"method"

	.no_dead_strip	_getobjname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getobjname
_getobjname:                            ; @getobjname
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_isLua
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_ci_func
	ldr	x21, [x0]
	mov	x0, x23
	mov	x1, x22
	bl	_currentpc
	mov	x25, x0
	add	w1, w24, #1
	mov	x0, x21
	mov	x2, x25
	bl	_luaF_getlocalname
	str	x0, [x19]
	cbnz	x0, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_symbexec
	mov	x24, x0
	cmn	w25, #1
	cset	w0, ne
	bl	_lua_assert
	mov	x0, x24
	bl	_GET_OPCODE
	cmp	w0, #129
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x24
	bl	_GETARG_A
	mov	x21, x0
	mov	x0, x24
	bl	_GETARG_B
	mov	x24, x0
	cmp	w0, w21
	b.lt	LBB0_1
LBB0_5:
	mov	x20, #0
	b	LBB0_15
LBB0_6:
	mov	x20, #0
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_15
; %bb.7:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	x0, x24
	bl	_GETARG_C
	mov	x1, x0
	mov	x0, x21
	bl	_kname
Lloh4:
	adrp	x20, l_.str.5@PAGE
Lloh5:
	add	x20, x20, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_9:
	mov	x0, x24
	bl	_GETARG_B
	ldr	x8, [x21]
	cbz	x8, LBB0_13
; %bb.10:
	ldr	w0, [x8, w0, sxtw #2]
	bl	_getstr
Lloh6:
	adrp	x20, l_.str.4@PAGE
Lloh7:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_14
LBB0_11:
	mov	x0, x24
	bl	_GETARG_C
	mov	x1, x0
	mov	x0, x21
	bl	_kname
Lloh8:
	adrp	x20, l_.str.2@PAGE
Lloh9:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_12:
	mov	x0, x24
	bl	_GETARG_Bx
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x21, #8]
	sbfiz	x20, x0, #2, #32
	add	x0, x8, x20
	bl	_ttisstring
	bl	_lua_assert
	ldr	x8, [x21, #8]
	add	x0, x8, x20
	bl	_svalue
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh12:
	adrp	x20, l_.str.4@PAGE
Lloh13:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_14:
	str	x0, [x19]
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local"

l_.str.1:                               ; @.str.1
	.asciz	"global"

l_.str.2:                               ; @.str.2
	.asciz	"field"

l_.str.3:                               ; @.str.3
	.asciz	"?"

l_.str.4:                               ; @.str.4
	.asciz	"upvalue"

l_.str.5:                               ; @.str.5
	.asciz	"method"

	.no_dead_strip	_getobjname
.subsections_via_symbols
