	.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
	pushq	%rax
	.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, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r12), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_luaF_getlocalname
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_findsetreg
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	movq	8(%r15), %rax
	movslq	%r13d, %r14
	movl	(%rax,%r14,4), %ebx
	movl	%ebx, %edi
	callq	_GET_OPCODE
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_GETARG_B
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_GETARG_A
	cmpl	%eax, %r12d
	jl	LBB0_1
	jmp	LBB0_23
LBB0_6:
	movl	%eax, %r12d
	leal	-128(%r12), %eax
	cmpl	$6, %eax
	ja	LBB0_23
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	xorl	%eax, %eax
	jmpq	*%rdx
LBB0_8:
	movl	%ebx, %edi
	callq	_GETARG_C
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_GETARG_B
	cmpl	$134, %r12d
	jne	LBB0_18
## %bb.9:
	incl	%eax
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_luaF_getlocalname
	jmp	LBB0_19
LBB0_10:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_24
LBB0_12:
	movl	%ebx, %edi
	callq	_GETARG_C
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_kname
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_24
LBB0_13:
	movq	8(%r15), %rax
	movl	4(%rax,%r14,4), %edi
	callq	_GETARG_Ax
	jmp	LBB0_15
LBB0_14:
	movl	%ebx, %edi
	callq	_GETARG_Bx
LBB0_15:
	movslq	%eax, %rbx
	shlq	$2, %rbx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_ttisstring
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_svalue
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.4(%rip), %rax
	jmp	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_17:
	movl	%ebx, %edi
	callq	_GETARG_B
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_upvalname
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_24
LBB0_18:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_upvalname
LBB0_19:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_kname
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.20:
	movq	_LUA_ENV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rcx, %rax
	jmp	LBB0_24
LBB0_22:
	leaq	L_.str.2(%rip), %rax
LBB0_24:
	addq	$8, %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_12, LBB0_12-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_24
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_8
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local"

	.comm	_LUA_ENV,4,2                    ## @LUA_ENV
L_.str.1:                               ## @.str.1
	.asciz	"global"

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

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

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

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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w24, #1
	mov	x0, x20
	mov	x2, x21
	bl	_luaF_getlocalname
	str	x0, [x19]
	cbnz	x0, LBB0_19
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	bl	_findsetreg
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w23, [x8, w0, sxtw #2]
	mov	x0, x23
	bl	_GET_OPCODE
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_GETARG_B
	mov	x24, x0
	mov	x0, x23
	bl	_GETARG_A
	cmp	w24, w0
	b.lt	LBB0_1
	b	LBB0_14
LBB0_5:
	mov	x24, x0
	mov	x22, #0
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_19
; %bb.6:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x23
	bl	_GETARG_C
	mov	x22, x0
	mov	x0, x23
	bl	_GETARG_B
	mov	x1, x0
	cmp	w24, #134
	b.ne	LBB0_16
; %bb.8:
	add	w1, w1, #1
	mov	x0, x20
	mov	x2, x21
	bl	_luaF_getlocalname
	b	LBB0_17
LBB0_9:
	mov	x0, x23
	bl	_GETARG_C
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_kname
Lloh4:
	adrp	x22, l_.str.5@PAGE
Lloh5:
	add	x22, x22, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_10:
	sxtw	x8, w21
	ldr	x9, [x20, #8]
	add	x8, x9, x8, lsl #2
	ldr	w0, [x8, #4]
	bl	_GETARG_Ax
	b	LBB0_12
LBB0_11:
	mov	x0, x23
	bl	_GETARG_Bx
LBB0_12:
	mov	x21, x0
	ldr	x8, [x20]
	add	x0, x8, w0, sxtw #2
	bl	_ttisstring
	cbz	w0, LBB0_14
; %bb.13:
	sxtw	x8, w21
	ldr	x9, [x20]
	add	x0, x9, x8, lsl #2
	bl	_svalue
	str	x0, [x19]
Lloh6:
	adrp	x22, l_.str.4@PAGE
Lloh7:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_14:
	mov	x22, #0
	b	LBB0_19
LBB0_15:
	mov	x0, x23
	bl	_GETARG_B
	mov	x1, x0
	mov	x0, x20
	bl	_upvalname
	str	x0, [x19]
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_16:
	mov	x0, x20
	bl	_upvalname
LBB0_17:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_kname
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
	cbz	x23, LBB0_19
; %bb.18:
Lloh12:
	adrp	x8, _LUA_ENV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LUA_ENV@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_strcmp
Lloh15:
	adrp	x8, l_.str.1@PAGE
Lloh16:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	w0, #0
	csel	x22, x8, x22, eq
LBB0_19:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local"

	.comm	_LUA_ENV,4,2                    ; @LUA_ENV
l_.str.1:                               ; @.str.1
	.asciz	"global"

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

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

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

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

	.no_dead_strip	_getobjname
.subsections_via_symbols
