	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pw_homepolicy
_pw_homepolicy:                         ## @pw_homepolicy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	cmpb	$0, (%rcx)
	jne	LBB0_4
LBB0_3:
	movq	_EX_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	movq	(%r15), %rcx
LBB0_4:
	leaq	_pw_homepolicy.home(%rip), %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$128, %esi
	movq	%r14, %r8
	callq	_snprintf
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pw_homepolicy.home,128,4 ## @pw_homepolicy.home
	.comm	_EX_CONFIG,4,2                  ## @EX_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no base home directory set"

L_.str.1:                               ## @.str.1
	.asciz	"%s/%s"

	.no_dead_strip	_pw_homepolicy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pw_homepolicy
_pw_homepolicy:                         ; @pw_homepolicy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	cbnz	x1, LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x3, [x0]
	cbz	x3, LBB0_3
; %bb.2:
	ldrb	w8, [x3]
	cbnz	w8, LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EX_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
	ldr	x3, [x20]
LBB0_4:
Lloh5:
	adrp	x21, _pw_homepolicy.home@PAGE
Lloh6:
	add	x21, x21, _pw_homepolicy.home@PAGEOFF
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #128
	mov	x4, x19
	bl	_snprintf
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pw_homepolicy.home,128,0 ; @pw_homepolicy.home
	.comm	_EX_CONFIG,4,2                  ; @EX_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no base home directory set"

l_.str.1:                               ; @.str.1
	.asciz	"%s/%s"

	.no_dead_strip	_pw_homepolicy
.subsections_via_symbols
