	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_name                    ## -- Begin function lookup_name
	.p2align	4, 0x90
_lookup_name:                           ## @lookup_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rcx)
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	testl	%edx, %edx
	jle	LBB0_11
## %bb.2:
	movq	_MAX_GID@GOTPCREL(%rip), %r9
	movl	(%r9), %r10d
	leal	(,%r10,4), %r9d
	cmpl	%esi, %r9d
	jg	LBB0_11
## %bb.3:
	cmpl	%edx, %r10d
	jle	LBB0_11
## %bb.4:
	movl	%edx, %eax
	movslq	(%rdi,%rax,4), %r10
	xorl	%eax, %eax
	cmpl	%r9d, %r10d
	jl	LBB0_11
## %bb.5:
	leal	4(%r10), %edx
	cmpl	%esi, %edx
	jg	LBB0_11
## %bb.6:
	movl	(%rdi,%r10), %eax
	cmpl	%r8d, %eax
	ja	LBB0_7
## %bb.8:
	leal	(%r10,%rax), %edx
	addl	$5, %edx
	cmpl	%esi, %edx
	jle	LBB0_10
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_10:
	addq	%r10, %rdi
	movl	%eax, (%rcx)
	addq	$4, %rdi
	movq	%rdi, %rax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_GID,4,2                    ## @MAX_GID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_name                    ; -- Begin function lookup_name
	.p2align	2
_lookup_name:                           ; @lookup_name
	.cfi_startproc
; %bb.0:
	str	wzr, [x3]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	cmp	w2, #1
	b.lt	LBB0_10
; %bb.2:
Lloh0:
	adrp	x9, _MAX_GID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_GID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w10, w9, #2
	cmp	w10, w1
	ccmp	w9, w2, #4, le
	b.le	LBB0_10
; %bb.3:
	ldrsw	x9, [x8, w2, uxtw #2]
	add	w11, w9, #4
	cmp	w9, w10
	ccmp	w11, w1, #0, ge
	b.le	LBB0_5
; %bb.4:
	mov	x0, #0
	ret
LBB0_5:
	add	x8, x8, x9
	ldr	w10, [x8]
	cmp	w10, w4
	b.ls	LBB0_7
; %bb.6:
	mov	x0, #0
	ret
LBB0_7:
	add	w9, w9, w10
	add	w9, w9, #5
	cmp	w9, w1
	b.le	LBB0_9
; %bb.8:
	mov	x0, #0
	ret
LBB0_9:
	str	w10, [x3]
	add	x0, x8, #4
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_GID,4,2                    ; @MAX_GID
.subsections_via_symbols
