	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unmount_by_fsid
_unmount_by_fsid:                       ## @unmount_by_fsid
	.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	%rsi, %r14
	movl	(%rdi), %edx
	movl	4(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_asprintf
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_log_err
LBB0_2:
	movq	-32(%rbp), %rdi
	movq	_MNT_NONBUSY@GOTPCREL(%rip), %rax
	movq	_MNT_BYFSID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_unmount
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movq	-32(%rbp), %r15
	cmpq	(%rax), %rdi
	jne	LBB0_5
## %bb.4:
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_log_debugx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_log_warn
LBB0_6:
	movq	-32(%rbp), %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FSID:%d:%d"

L_.str.1:                               ## @.str.1
	.asciz	"asprintf"

	.comm	_MNT_NONBUSY,4,2                ## @MNT_NONBUSY
	.comm	_MNT_BYFSID,4,2                 ## @MNT_BYFSID
	.comm	_errno,8,3                      ## @errno
	.comm	_EBUSY,8,3                      ## @EBUSY
L_.str.2:                               ## @.str.2
	.asciz	"cannot unmount %s (%s): %s"

L_.str.3:                               ## @.str.3
	.asciz	"cannot unmount %s (%s)"

	.no_dead_strip	_unmount_by_fsid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unmount_by_fsid
_unmount_by_fsid:                       ; @unmount_by_fsid
	.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, x1
	ldp	w2, w3, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_log_err
LBB0_2:
Lloh4:
	adrp	x8, _MNT_NONBUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MNT_NONBUSY@GOTPAGEOFF]
	ldr	x0, [sp, #8]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MNT_BYFSID@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MNT_BYFSID@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_unmount
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
Lloh13:
	adrp	x8, _EBUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x21, [sp, #8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	bl	_strerror
	mov	x3, x0
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_log_debugx
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_log_warn
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_free
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FSID:%d:%d"

l_.str.1:                               ; @.str.1
	.asciz	"asprintf"

	.comm	_MNT_NONBUSY,4,2                ; @MNT_NONBUSY
	.comm	_MNT_BYFSID,4,2                 ; @MNT_BYFSID
	.comm	_errno,8,3                      ; @errno
	.comm	_EBUSY,8,3                      ; @EBUSY
l_.str.2:                               ; @.str.2
	.asciz	"cannot unmount %s (%s): %s"

l_.str.3:                               ; @.str.3
	.asciz	"cannot unmount %s (%s)"

	.no_dead_strip	_unmount_by_fsid
.subsections_via_symbols
