	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_mntfs                     ## -- Begin function free_mntfs
	.p2align	4, 0x90
_free_mntfs:                            ## @free_mntfs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %esi
	movq	24(%rdi), %rax
	movl	(%rax), %edx
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.3:
	movl	4(%rbx), %r8d
	movq	_MFF_RSTKEEP@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	16(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %ecx
	jmp	LBB0_5
LBB0_1:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	16(%rbx), %rdx
	movl	4(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_plog                           ## TAILCALL
LBB0_6:
	decl	%ecx
	movl	%ecx, (%rbx)
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	$0, (%rbx)
	movq	_MFF_MOUNTED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%r8d, %eax
	je	LBB0_9
## %bb.8:
	notl	%eax
	andl	%eax, %r8d
	movl	%r8d, 4(%rbx)
	movl	40(%rbx), %edi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	cmpq	$0, 32(%rbx)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %r9
	cmoveq	%rax, %r9
	movl	40(%rbx), %ecx
	movq	24(%rbx), %rax
	movl	(%rax), %r10d
	movl	16(%rbx), %r11d
	leaq	L_.str.3(%rip), %rsi
	movq	%rdx, %r8
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	callq	_plog
	addq	$16, %rsp
LBB0_9:
	movq	_FS_DISCARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_10
## %bb.17:
	movl	16(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_discard_mntfs                  ## TAILCALL
LBB0_10:
	movq	_MFF_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	16(%rbx), %esi
	testl	%eax, 4(%rbx)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_13
LBB0_12:
	movq	24(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
LBB0_13:
	movq	_MFF_MOUNTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r14), %eax
	movq	_MFF_UNMOUNTING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_15
## %bb.14:
	movl	16(%rbx), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_dlog
LBB0_15:
	movq	_ALLOWED_MOUNT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_discard_mntfs@GOTPCREL(%rip), %rsi
	movl	%ebx, %edx
	callq	_timeout
	movl	%eax, 12(%rbx)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"free_mntfs <%s> type %s mf_refc %d flags %x"

	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"IGNORING free_mntfs for <%s>: refc %d, flags %x (bug?)"

	.comm	_MFF_RSTKEEP,4,2                ## @MFF_RSTKEEP
L_.str.2:                               ## @.str.2
	.asciz	"IGNORING free_mntfs for <%s>: refc %d, flags %x (restarted)"

	.comm	_MFF_MOUNTED,4,2                ## @MFF_MOUNTED
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"%s%s%s %sed fstype %s from %s"

L_.str.4:                               ## @.str.4
	.asciz	"\""

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"discard"

L_.str.7:                               ## @.str.7
	.asciz	"unmount"

	.comm	_FS_DISCARD,4,2                 ## @FS_DISCARD
L_.str.8:                               ## @.str.8
	.asciz	"Immediately discarding mntfs for %s"

	.comm	_MFF_RESTART,4,2                ## @MFF_RESTART
L_.str.9:                               ## @.str.9
	.asciz	"Discarding remount hook for %s"

L_.str.10:                              ## @.str.10
	.asciz	"Discarding last mntfs reference to %s fstype %s"

	.comm	_MFF_MOUNTING,4,2               ## @MFF_MOUNTING
	.comm	_MFF_UNMOUNTING,4,2             ## @MFF_UNMOUNTING
L_.str.11:                              ## @.str.11
	.asciz	"mntfs reference for %s still active"

	.comm	_ALLOWED_MOUNT_TIME,4,2         ## @ALLOWED_MOUNT_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_mntfs                     ; -- Begin function free_mntfs
	.p2align	2
_free_mntfs:                            ; @free_mntfs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	w1, [x0, #16]
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	ldp	w9, w10, [x0]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dlog
	ldr	w3, [x19]
	cmp	w3, #0
	b.le	LBB0_4
; %bb.1:
	subs	w8, w3, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _MFF_RSTKEEP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MFF_RSTKEEP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
Lloh5:
	adrp	x9, _XLOG_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XLOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	ldrsw	x2, [x19, #16]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w3, #1
	bl	_plog
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldrsw	x2, [x19, #16]
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
	b	LBB0_6
LBB0_5:
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	str	wzr, [x19]
Lloh15:
	adrp	x20, _MFF_MOUNTED@GOTPAGE
Lloh16:
	ldr	x20, [x20, _MFF_MOUNTED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	bic	w8, w8, w9
	str	w8, [x19, #4]
	ldr	w0, [x19, #40]
	mov	w1, #32
	bl	_strchr
Lloh17:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, l_.str.4@PAGE
Lloh21:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh22:
	adrp	x10, l_.str.5@PAGE
Lloh23:
	add	x10, x10, l_.str.5@PAGEOFF
	cmp	x0, #0
	csel	x2, x10, x9, eq
	ldr	w3, [x19, #40]
Lloh24:
	adrp	x9, l_.str.6@PAGE
Lloh25:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh26:
	adrp	x10, l_.str.7@PAGE
Lloh27:
	add	x10, x10, l_.str.7@PAGEOFF
	ldp	x12, x11, [x19, #24]
	cmp	x11, #0
	csel	x9, x10, x9, eq
	ldr	w10, [x12]
	ldr	w11, [x19, #16]
	stp	x10, x11, [sp, #16]
	stp	x2, x9, [sp]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_plog
LBB0_9:
	ldr	w8, [x19, #8]
Lloh30:
	adrp	x9, _FS_DISCARD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _FS_DISCARD@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w1, [x19, #16]
Lloh33:
	adrp	x0, l_.str.8@PAGE
Lloh34:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_dlog
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_discard_mntfs
LBB0_11:
	ldr	w8, [x19, #4]
Lloh35:
	adrp	x9, _MFF_RESTART@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MFF_RESTART@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	ldr	w1, [x19, #16]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh38:
	adrp	x0, l_.str.9@PAGE
Lloh39:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_14
LBB0_13:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.10@PAGE
Lloh41:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_14:
	bl	_dlog
	ldr	w8, [x19, #4]
	ldr	w9, [x20]
Lloh42:
	adrp	x10, _MFF_MOUNTING@GOTPAGE
Lloh43:
	ldr	x10, [x10, _MFF_MOUNTING@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh45:
	adrp	x10, _MFF_UNMOUNTING@GOTPAGE
Lloh46:
	ldr	x10, [x10, _MFF_UNMOUNTING@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w1, [x19, #16]
Lloh48:
	adrp	x0, l_.str.11@PAGE
Lloh49:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_dlog
LBB0_16:
Lloh50:
	adrp	x8, _ALLOWED_MOUNT_TIME@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ALLOWED_MOUNT_TIME@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, _discard_mntfs@GOTPAGE
Lloh54:
	ldr	x1, [x1, _discard_mntfs@GOTPAGEOFF]
	mov	x2, x19
	bl	_timeout
	str	w0, [x19, #12]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"free_mntfs <%s> type %s mf_refc %d flags %x"

	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"IGNORING free_mntfs for <%s>: refc %d, flags %x (bug?)"

	.comm	_MFF_RSTKEEP,4,2                ; @MFF_RSTKEEP
l_.str.2:                               ; @.str.2
	.asciz	"IGNORING free_mntfs for <%s>: refc %d, flags %x (restarted)"

	.comm	_MFF_MOUNTED,4,2                ; @MFF_MOUNTED
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"%s%s%s %sed fstype %s from %s"

l_.str.4:                               ; @.str.4
	.asciz	"\""

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"discard"

l_.str.7:                               ; @.str.7
	.asciz	"unmount"

	.comm	_FS_DISCARD,4,2                 ; @FS_DISCARD
l_.str.8:                               ; @.str.8
	.asciz	"Immediately discarding mntfs for %s"

	.comm	_MFF_RESTART,4,2                ; @MFF_RESTART
l_.str.9:                               ; @.str.9
	.asciz	"Discarding remount hook for %s"

l_.str.10:                              ; @.str.10
	.asciz	"Discarding last mntfs reference to %s fstype %s"

	.comm	_MFF_MOUNTING,4,2               ; @MFF_MOUNTING
	.comm	_MFF_UNMOUNTING,4,2             ; @MFF_UNMOUNTING
l_.str.11:                              ; @.str.11
	.asciz	"mntfs reference for %s still active"

	.comm	_ALLOWED_MOUNT_TIME,4,2         ; @ALLOWED_MOUNT_TIME
.subsections_via_symbols
