	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_umount_iter
_be_umount_iter:                        ## @be_umount_iter
	.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
	movq	%rdi, %r15
	incl	8(%rsi)
	leaq	_be_umount_iter(%rip), %rsi
	movq	%r14, %rdx
	callq	_zfs_iter_filesystems
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	decl	8(%r14)
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_zfs_is_mounted
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	-32(%rbp), %rdi
	callq	_free
	movl	4(%r14), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_zfs_unmount
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.6:
	cltq
	leaq	l_switch.table.be_umount_iter(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_BE_ERR_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%r14), %edi
	movl	(%rax), %esi
	callq	_set_error
	movl	%eax, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_BE_ERR_PATHLEN,4,2             ## @BE_ERR_PATHLEN
	.comm	_BE_ERR_BADPATH,4,2             ## @BE_ERR_BADPATH
	.comm	_BE_ERR_PERMS,4,2               ## @BE_ERR_PERMS
	.comm	_BE_ERR_PATHBUSY,4,2            ## @BE_ERR_PATHBUSY
	.comm	_BE_ERR_UNKNOWN,4,2             ## @BE_ERR_UNKNOWN
	.no_dead_strip	_be_umount_iter
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.be_umount_iter
l_switch.table.be_umount_iter:
	.quad	_BE_ERR_PERMS
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_PATHLEN
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_PATHBUSY

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_umount_iter
_be_umount_iter:                        ; @be_umount_iter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #8]
	add	w8, w8, #1
	str	w8, [x1, #8]
Lloh0:
	adrp	x1, _be_umount_iter@PAGE
Lloh1:
	add	x1, x1, _be_umount_iter@PAGEOFF
	mov	x2, x19
	bl	_zfs_iter_filesystems
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_zfs_is_mounted
	cbz	w0, LBB0_1
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_free
	ldr	w2, [x19, #4]
	mov	x0, x20
	mov	x1, #0
	bl	_zfs_unmount
	cbz	x0, LBB0_1
; %bb.4:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.5:
Lloh5:
	adrp	x9, l_switch.table.be_umount_iter@PAGE
Lloh6:
	add	x9, x9, l_switch.table.be_umount_iter@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _BE_ERR_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BE_ERR_UNKNOWN@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x19]
	ldr	w1, [x8]
	bl	_set_error
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_BE_ERR_PATHLEN,4,2             ; @BE_ERR_PATHLEN
	.comm	_BE_ERR_BADPATH,4,2             ; @BE_ERR_BADPATH
	.comm	_BE_ERR_PERMS,4,2               ; @BE_ERR_PERMS
	.comm	_BE_ERR_PATHBUSY,4,2            ; @BE_ERR_PATHBUSY
	.comm	_BE_ERR_UNKNOWN,4,2             ; @BE_ERR_UNKNOWN
	.no_dead_strip	_be_umount_iter
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.be_umount_iter
l_switch.table.be_umount_iter:
	.quad	_BE_ERR_PERMS
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_PATHLEN
	.quad	_BE_ERR_BADPATH
	.quad	_BE_ERR_PATHBUSY

.subsections_via_symbols
