	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getpwnam_safe
_getpwnam_safe:                         ## @getpwnam_safe
	.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	%rsi, %rbx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	callq	_getpwnam
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_APR_ENOENT@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PWBUF_SIZE,4,2                 ## @PWBUF_SIZE
	.comm	_errno,8,3                      ## @errno
	.comm	_APR_ENOENT,8,3                 ## @APR_ENOENT
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.no_dead_strip	_getpwnam_safe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getpwnam_safe
_getpwnam_safe:                         ; @getpwnam_safe
	.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, x1
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	bl	_getpwnam
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _APR_ENOENT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _APR_ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x0, x9, x8, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PWBUF_SIZE,4,2                 ; @PWBUF_SIZE
	.comm	_errno,8,3                      ; @errno
	.comm	_APR_ENOENT,8,3                 ; @APR_ENOENT
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.no_dead_strip	_getpwnam_safe
.subsections_via_symbols
