	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_and_populate_homedir
_create_and_populate_homedir:           ## @create_and_populate_homedir
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_conf@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rsi), %esi
	callq	_mkdir_home_parents
	movl	$-1, %edx
	testq	%r13, %r13
	je	LBB0_5
## %bb.1:
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_5
## %bb.2:
	cmpb	$47, %al
	jne	LBB0_4
## %bb.3:
	incq	%r13
LBB0_4:
	movl	(%r14), %edi
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rsi
	callq	_openat
	movl	%eax, %edx
LBB0_5:
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movq	8(%rbx), %r8
	movl	20(%rbx), %r9d
	movl	$0, (%rsp)
	movl	%r12d, %ecx
	callq	_copymkdir
	testl	%r15d, %r15d
	jne	LBB0_6
## %bb.7:
	movq	_M_ADD@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_M_UPDATE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	_W_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r8d
	movl	(%rbx), %eax
	movl	8(%rbx), %r9d
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pw_log
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,4,2                       ## @conf
	.comm	_O_DIRECTORY,4,2                ## @O_DIRECTORY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_M_UPDATE,4,2                   ## @M_UPDATE
	.comm	_M_ADD,4,2                      ## @M_ADD
	.comm	_W_USER,4,2                     ## @W_USER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s(%ju) home %s made"

	.no_dead_strip	_create_and_populate_homedir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_and_populate_homedir
_create_and_populate_homedir:           ; @create_and_populate_homedir
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1]
Lloh0:
	adrp	x24, _conf@GOTPAGE
Lloh1:
	ldr	x24, [x24, _conf@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_mkdir_home_parents
	cbz	x23, LBB0_3
; %bb.1:
	ldrb	w8, [x23]
	cbz	w8, LBB0_3
; %bb.2:
	cmp	w8, #47
	cinc	x1, x23, eq
Lloh2:
	adrp	x8, _O_DIRECTORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_DIRECTORY@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_openat
	mov	x2, x0
	b	LBB0_4
LBB0_3:
	mov	w2, #-1
LBB0_4:
	ldr	w0, [x24]
	ldr	w1, [x20]
	ldr	x4, [x20, #8]
	ldr	w5, [x20, #20]
	mov	x3, x22
	mov	w6, #0
	bl	_copymkdir
Lloh8:
	adrp	x8, _M_UPDATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_UPDATE@GOTPAGEOFF]
Lloh10:
	adrp	x9, _M_ADD@GOTPAGE
Lloh11:
	ldr	x9, [x9, _M_ADD@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _W_USER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _W_USER@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	w4, [x20, #16]
	ldr	w5, [x20, #8]
	ldr	w6, [x20]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pw_log
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,4,2                       ; @conf
	.comm	_O_DIRECTORY,4,2                ; @O_DIRECTORY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_M_UPDATE,4,2                   ; @M_UPDATE
	.comm	_M_ADD,4,2                      ; @M_ADD
	.comm	_W_USER,4,2                     ; @W_USER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s(%ju) home %s made"

	.no_dead_strip	_create_and_populate_homedir
.subsections_via_symbols
