	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restart_mountd
_restart_mountd:                        ## @restart_mountd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	$0, -8(%rbp)
	movq	__PATH_MOUNTDPID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rdx
	movl	$384, %esi                      ## imm = 0x180
	callq	_pidfile_open
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_pidfile_remove
	jmp	LBB0_7
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	-8(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.5:
	movq	_SIGHUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_kill
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_warnx
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_MOUNTDPID,4,2            ## @_PATH_MOUNTDPID
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mountd pid %d, refusing to send SIGHUP"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
L_.str.1:                               ## @.str.1
	.asciz	"signal mountd"

	.no_dead_strip	_restart_mountd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restart_mountd
_restart_mountd:                        ; @restart_mountd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, __PATH_MOUNTDPID@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_MOUNTDPID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	w1, #384
	bl	_pidfile_open
	cbz	x0, LBB0_2
; %bb.1:
	bl	_pidfile_remove
	b	LBB0_7
LBB0_2:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _EEXIST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	b.le	LBB0_6
; %bb.4:
Lloh9:
	adrp	x9, _SIGHUP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SIGHUP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_kill
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.5:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_warnx
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_MOUNTDPID,4,2            ; @_PATH_MOUNTDPID
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mountd pid %d, refusing to send SIGHUP"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
l_.str.1:                               ; @.str.1
	.asciz	"signal mountd"

	.no_dead_strip	_restart_mountd
.subsections_via_symbols
