	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaF_getlocalname              ## -- Begin function luaF_getlocalname
	.p2align	4, 0x90
_luaF_getlocalname:                     ## @luaF_getlocalname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.1:
	movq	8(%rdi), %rax
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rcx
	cmpq	%rcx, %rdi
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rax,%rcx)
	jg	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, 4(%rax,%rcx)
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%esi
	jne	LBB0_5
## %bb.7:
	movl	8(%rax,%rcx), %edi
	popq	%rbp
	jmp	_getstr                         ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaF_getlocalname              ; -- Begin function luaF_getlocalname
	.p2align	2
_luaF_getlocalname:                     ; @luaF_getlocalname
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #12
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w2
	b.gt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w2
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	w1, w1, #1
	b.ne	LBB0_2
; %bb.6:
	ldr	w0, [x9]
	b	_getstr
LBB0_7:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
