	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_enable_datasets          ## -- Begin function zpool_enable_datasets
	.p2align	4, 0x90
_zpool_enable_datasets:                 ## @zpool_enable_datasets
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -96(%rbp)
	movl	(%rdi), %edi
	movl	4(%r13), %esi
	movq	_ZFS_TYPE_DATASET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_zfs_open
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_libzfs_add_handle
	movq	_zfs_iter_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_zfs_iter_filesystems
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	cmpl	$0, -80(%rbp)
	jle	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_zfs_close
	incq	%rbx
	movslq	-80(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	-72(%rbp), %rdi
	callq	_free
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r12, -112(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -104(%rbp)
	movl	(%r13), %edi
	movq	-72(%rbp), %rsi
	movl	-80(%rbp), %edx
	movq	_zfs_mount_one@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-112(%rbp), %rbx
	movq	%rbx, %r8
	callq	_zfs_foreach_mountpoint
	movl	-100(%rbp), %r14d
	movl	$0, -100(%rbp)
	movl	(%r13), %edi
	movq	-72(%rbp), %rsi
	movl	-80(%rbp), %edx
	movq	_zfs_share_one@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %r8
	callq	_zfs_foreach_mountpoint
	movl	-100(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %r14d
	cmpl	$0, -80(%rbp)
	jg	LBB0_4
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_TYPE_DATASET,4,2           ## @ZFS_TYPE_DATASET
	.comm	_zfs_iter_cb,4,2                ## @zfs_iter_cb
	.comm	_zfs_mount_one,4,2              ## @zfs_mount_one
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_zfs_share_one,4,2              ## @zfs_share_one
	.comm	_B_FALSE,4,2                    ## @B_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_enable_datasets          ; -- Begin function zpool_enable_datasets
	.p2align	2
_zpool_enable_datasets:                 ; @zpool_enable_datasets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #16]
	ldr	w0, [x0]
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x8, _ZFS_TYPE_DATASET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZFS_TYPE_DATASET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_zfs_open
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	add	x0, sp, #24
	mov	x1, x22
	bl	_libzfs_add_handle
Lloh3:
	adrp	x8, _zfs_iter_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _zfs_iter_cb@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x22
	bl	_zfs_iter_filesystems
	cbz	x0, LBB0_3
LBB0_2:
	mov	w19, #0
	b	LBB0_4
LBB0_3:
	str	x21, [sp]
	str	w20, [sp, #8]
	ldr	w0, [x19]
	ldr	x1, [sp, #32]
	ldr	w2, [sp, #24]
Lloh6:
	adrp	x8, _zfs_mount_one@GOTPAGE
Lloh7:
	ldr	x8, [x8, _zfs_mount_one@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x4, sp
	bl	_zfs_foreach_mountpoint
	ldr	w20, [sp, #12]
	str	wzr, [sp, #12]
	ldr	w0, [x19]
	ldr	x1, [sp, #32]
	ldr	w2, [sp, #24]
Lloh12:
	adrp	x8, _zfs_share_one@GOTPAGE
Lloh13:
	ldr	x8, [x8, _zfs_share_one@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	mov	x4, sp
	bl	_zfs_foreach_mountpoint
	ldr	w8, [sp, #12]
	cmp	w8, #0
	csel	w19, w20, w8, eq
LBB0_4:
	ldr	w8, [sp, #24]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #32]
	ldr	w0, [x8, x20, lsl #2]
	bl	_zfs_close
	add	x20, x20, #1
	ldrsw	x8, [sp, #24]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_7:
	ldr	x0, [sp, #32]
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_TYPE_DATASET,4,2           ; @ZFS_TYPE_DATASET
	.comm	_zfs_iter_cb,4,2                ; @zfs_iter_cb
	.comm	_zfs_mount_one,4,2              ; @zfs_mount_one
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_zfs_share_one,4,2              ; @zfs_share_one
	.comm	_B_FALSE,4,2                    ; @B_FALSE
.subsections_via_symbols
