	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmount_mp                     ## -- Begin function unmount_mp
	.p2align	4, 0x90
_unmount_mp:                            ## @unmount_mp
	.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	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	16(%r15), %rax
	movq	(%rax), %rbx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	(%rdi), %r14
	callq	_clocktime
	movq	8(%r15), %rax
	cmpq	(%rax), %r14
	jne	LBB0_3
## %bb.2:
	incq	%r14
	movq	%r14, (%rax)
LBB0_3:
	cmpl	$1, 4(%rbx)
	jne	LBB0_8
## %bb.4:
	movq	16(%rbx), %rdi
	callq	_FSRV_ISUP
	testl	%eax, %eax
	je	LBB0_5
LBB0_8:
	movl	(%r15), %esi
	movl	12(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_dlog
	movq	_MFF_UNMOUNTING@GOTPCREL(%rip), %rcx
	movl	(%rbx), %eax
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_FS_UBACKGROUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%rbx)
	je	LBB0_12
## %bb.9:
	movq	_MFF_MOUNTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.10:
	movq	_MFF_ON_AUTOFS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movl	%r15d, %edi
	callq	_unmount_node
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_free_map_if_success
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_13
LBB0_5:
	movq	_MFF_LOGDOWN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	jne	LBB0_7
## %bb.6:
	movq	_XLOG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_plog
	movl	(%r14), %eax
	orl	%eax, (%rbx)
LBB0_7:
	movq	_AMQ_UMNT_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_notify_child
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	_unmount_node@GOTPCREL(%rip), %rdi
	movq	_free_map_if_success@GOTPCREL(%rip), %rdx
	movl	%r15d, %esi
	movl	%r15d, %ecx
	callq	_run_task
	movl	$1, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MFF_LOGDOWN,4,2                ## @MFF_LOGDOWN
	.comm	_XLOG_STATS,4,2                 ## @XLOG_STATS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file server %s is down - timeout of \"%s\" ignored"

	.comm	_AMQ_UMNT_SERVER,4,2            ## @AMQ_UMNT_SERVER
L_.str.1:                               ## @.str.1
	.asciz	"\"%s\" on %s timed out"

	.comm	_MFF_UNMOUNTING,4,2             ## @MFF_UNMOUNTING
	.comm	_FS_UBACKGROUND,4,2             ## @FS_UBACKGROUND
	.comm	_MFF_MOUNTED,4,2                ## @MFF_MOUNTED
	.comm	_MFF_ON_AUTOFS,4,2              ## @MFF_ON_AUTOFS
L_.str.2:                               ## @.str.2
	.asciz	"Trying unmount in background"

L_.str.3:                               ## @.str.3
	.asciz	"Trying unmount in foreground"

L_.str.4:                               ## @.str.4
	.asciz	"unmount attempt done"

	.comm	_MFF_IS_AUTOFS,4,2              ## @MFF_IS_AUTOFS
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmount_mp                     ; -- Begin function unmount_mp
	.p2align	2
_unmount_mp:                            ; @unmount_mp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldp	x0, x8, [x0, #8]
	ldr	x20, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x21, [x0]
	bl	_clocktime
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cmp	x21, x9
	b.ne	LBB0_3
; %bb.2:
	add	x9, x21, #1
	str	x9, [x8]
LBB0_3:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [x20, #16]
	bl	_FSRV_ISUP
	cbz	w0, LBB0_9
LBB0_5:
	ldr	w8, [x19]
	ldr	w9, [x20, #12]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dlog
Lloh2:
	adrp	x8, _MFF_UNMOUNTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MFF_UNMOUNTING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	ldr	w9, [x20, #8]
Lloh5:
	adrp	x10, _FS_UBACKGROUND@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FS_UBACKGROUND@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.6:
Lloh8:
	adrp	x9, _MFF_MOUNTED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MFF_MOUNTED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh11:
	adrp	x9, _MFF_ON_AUTOFS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MFF_ON_AUTOFS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_8:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dlog
	mov	x0, x19
	bl	_unmount_node
	mov	w1, #0
	mov	x2, x19
	bl	_free_map_if_success
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dlog
	b	LBB0_12
LBB0_9:
	ldr	w8, [x20]
Lloh18:
	adrp	x21, _MFF_LOGDOWN@GOTPAGE
Lloh19:
	ldr	x21, [x21, _MFF_LOGDOWN@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _XLOG_STATS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _XLOG_STATS@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x8, [x20, #16]
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_11:
Lloh25:
	adrp	x8, _AMQ_UMNT_SERVER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AMQ_UMNT_SERVER@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_notify_child
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	add	sp, sp, #64
	ret
LBB0_14:
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dlog
Lloh30:
	adrp	x0, _unmount_node@GOTPAGE
Lloh31:
	ldr	x0, [x0, _unmount_node@GOTPAGEOFF]
Lloh32:
	adrp	x2, _free_map_if_success@GOTPAGE
Lloh33:
	ldr	x2, [x2, _free_map_if_success@GOTPAGEOFF]
	mov	x1, x19
	mov	x3, x19
	bl	_run_task
	mov	w0, #1
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MFF_LOGDOWN,4,2                ; @MFF_LOGDOWN
	.comm	_XLOG_STATS,4,2                 ; @XLOG_STATS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file server %s is down - timeout of \"%s\" ignored"

	.comm	_AMQ_UMNT_SERVER,4,2            ; @AMQ_UMNT_SERVER
l_.str.1:                               ; @.str.1
	.asciz	"\"%s\" on %s timed out"

	.comm	_MFF_UNMOUNTING,4,2             ; @MFF_UNMOUNTING
	.comm	_FS_UBACKGROUND,4,2             ; @FS_UBACKGROUND
	.comm	_MFF_MOUNTED,4,2                ; @MFF_MOUNTED
	.comm	_MFF_ON_AUTOFS,4,2              ; @MFF_ON_AUTOFS
l_.str.2:                               ; @.str.2
	.asciz	"Trying unmount in background"

l_.str.3:                               ; @.str.3
	.asciz	"Trying unmount in foreground"

l_.str.4:                               ; @.str.4
	.asciz	"unmount attempt done"

	.comm	_MFF_IS_AUTOFS,4,2              ; @MFF_IS_AUTOFS
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
.subsections_via_symbols
