	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gi_getpwnam
_gi_getpwnam:                           ## @gi_getpwnam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pwstart
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	$1, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_pwscan
	movl	%eax, %ebx
	movq	__pw_stayopen@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	testl	%ebx, %ebx
	je	LBB0_4
LBB0_5:
	movq	__pw_passwd@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	callq	_endpwent
	testl	%ebx, %ebx
	jne	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__pw_stayopen,4,2               ## @_pw_stayopen
	.comm	__pw_passwd,4,2                 ## @_pw_passwd
	.no_dead_strip	_gi_getpwnam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gi_getpwnam
_gi_getpwnam:                           ; @gi_getpwnam
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_pwstart
	cbz	w0, LBB0_4
; %bb.1:
	mov	w0, #1
	mov	w1, #0
	mov	x2, x19
	bl	_pwscan
	mov	x19, x0
Lloh0:
	adrp	x8, __pw_stayopen@GOTPAGE
Lloh1:
	ldr	x8, [x8, __pw_stayopen@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	bl	_endpwent
LBB0_3:
Lloh3:
	adrp	x8, __pw_passwd@GOTPAGE
Lloh4:
	ldr	x8, [x8, __pw_passwd@GOTPAGEOFF]
	cmp	w19, #0
	csel	x0, xzr, x8, eq
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__pw_stayopen,4,2               ; @_pw_stayopen
	.comm	__pw_passwd,4,2                 ; @_pw_passwd
	.no_dead_strip	_gi_getpwnam
.subsections_via_symbols
