	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function receiver_directory_create
_receiver_directory_create:             ## @receiver_directory_create
	.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	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	movq	_ADIST_USER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_getpwnam
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, (%r15)
	movq	_EX_NOUSER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_exitx
LBB0_4:
	movq	_adhost@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	$448, %esi                      ## imm = 0x1C0
	callq	_mkdir
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	movq	_EX_OSFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_pjdlog_exit
LBB0_6:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_chown
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_pjdlog_errno
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_rmdir
	movq	_EX_OSFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ADIST_USER,4,2                 ## @ADIST_USER
	.comm	_EX_NOUSER,4,2                  ## @EX_NOUSER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to find info about '%s' user"

L_.str.1:                               ## @.str.1
	.asciz	"User '%s' doesn't exist."

	.comm	_adhost,8,3                     ## @adhost
	.comm	_EX_OSFILE,4,2                  ## @EX_OSFILE
L_.str.2:                               ## @.str.2
	.asciz	"Unable to create directory \"%s\""

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"Unable to change owner of the directory \"%s\""

	.no_dead_strip	_receiver_directory_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function receiver_directory_create
_receiver_directory_create:             ; @receiver_directory_create
	.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
Lloh0:
	adrp	x21, _errno@GOTPAGE
Lloh1:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	str	xzr, [x21]
Lloh2:
	adrp	x20, _ADIST_USER@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ADIST_USER@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_getpwnam
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _EX_NOUSER@GOTPAGE
Lloh5:
	ldr	x9, [x9, _EX_NOUSER@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	ldr	w2, [x20]
	cbz	x8, LBB0_3
; %bb.2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_exitx
LBB0_4:
Lloh11:
	adrp	x20, _adhost@GOTPAGE
Lloh12:
	ldr	x20, [x20, _adhost@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	w1, #448
	bl	_mkdir
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _EX_OSFILE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EX_OSFILE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_pjdlog_exit
LBB0_6:
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldp	w2, w1, [x19]
	bl	_chown
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.7:
	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
LBB0_8:
Lloh18:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pjdlog_errno
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_rmdir
Lloh23:
	adrp	x8, _EX_OSFILE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EX_OSFILE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ADIST_USER,4,2                 ; @ADIST_USER
	.comm	_EX_NOUSER,4,2                  ; @EX_NOUSER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to find info about '%s' user"

l_.str.1:                               ; @.str.1
	.asciz	"User '%s' doesn't exist."

	.comm	_adhost,8,3                     ; @adhost
	.comm	_EX_OSFILE,4,2                  ; @EX_OSFILE
l_.str.2:                               ; @.str.2
	.asciz	"Unable to create directory \"%s\""

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"Unable to change owner of the directory \"%s\""

	.no_dead_strip	_receiver_directory_create
.subsections_via_symbols
