	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_unmount                     ## -- Begin function be_unmount
	.p2align	4, 0x90
_be_unmount:                            ## @be_unmount
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BE_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_be_root_concat
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	movl	%eax, %esi
LBB0_2:
	callq	_set_error
	movl	%eax, %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r15), %edi
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r15, -56(%rbp)
	movq	%r13, -88(%rbp)
	movq	$0, -64(%rbp)
	movq	_BE_MNT_FORCE@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	je	LBB0_7
## %bb.6:
	movq	_MS_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, -72(%rbp)
	movq	$0, -80(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdi
	callq	_be_umount_iter
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_zfs_close
	testl	%ebx, %ebx
	jne	LBB0_9
## %bb.8:
	movq	_BE_ERR_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_BE_ERR_ZFSOPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	jmp	LBB0_2
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_MAXPATHLEN,4,2              ## @BE_MAXPATHLEN
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_BE_ERR_ZFSOPEN,4,2             ## @BE_ERR_ZFSOPEN
	.comm	_BE_MNT_FORCE,4,2               ## @BE_MNT_FORCE
	.comm	_MS_FORCE,4,2                   ## @MS_FORCE
	.comm	_BE_ERR_SUCCESS,4,2             ## @BE_ERR_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_unmount                     ; -- Begin function be_unmount
	.p2align	2
_be_unmount:                            ; @be_unmount
	.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
	sub	sp, sp, #48
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _BE_MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BE_MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x2, x21
	bl	_be_root_concat
	cbz	w0, LBB0_3
; %bb.1:
	mov	x1, x0
LBB0_2:
	mov	x0, x20
	bl	_set_error
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_zfs_open
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x0
	stp	xzr, x20, [x29, #-56]
Lloh11:
	adrp	x8, _BE_MNT_FORCE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BE_MNT_FORCE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _MS_FORCE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MS_FORCE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w8, w19
	csel	w8, wzr, w9, eq
	stur	w8, [x29, #-64]
	stp	x21, xzr, [x29, #-80]
	sub	x1, x29, #80
	bl	_be_umount_iter
	mov	x19, x0
	mov	x0, x22
	bl	_zfs_close
Lloh17:
	adrp	x8, _BE_ERR_SUCCESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _BE_ERR_SUCCESS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w19, #0
	csel	w0, w8, w19, eq
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	sub	sp, x29, #32
	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_7:
Lloh23:
	adrp	x8, _BE_ERR_ZFSOPEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BE_ERR_ZFSOPEN@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	b	LBB0_2
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_MAXPATHLEN,4,2              ; @BE_MAXPATHLEN
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_BE_ERR_ZFSOPEN,4,2             ; @BE_ERR_ZFSOPEN
	.comm	_BE_MNT_FORCE,4,2               ; @BE_MNT_FORCE
	.comm	_MS_FORCE,4,2                   ; @MS_FORCE
	.comm	_BE_ERR_SUCCESS,4,2             ; @BE_ERR_SUCCESS
.subsections_via_symbols
