	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_foreach_mountpoint         ## -- Begin function zfs_foreach_mountpoint
	.p2align	4, 0x90
_zfs_foreach_mountpoint:                ## @zfs_foreach_mountpoint
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_getzoneid
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %r13
	movq	_mountpoint_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_qsort
	testq	%r13, %r13
	jne	LBB0_9
## %bb.2:
	movq	_mount_tp_nthr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	movl	$1, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_tpool_create
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_zfs_dispatch_mount
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_non_descendant_idx
	movl	%eax, %r13d
	cltq
	cmpq	%r14, %rax
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	_GLOBAL_ZONEID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12,%rax,8), %rdi
	movq	_ZFS_PROP_ZONED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_zfs_prop_get_int
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_tpool_wait
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tpool_destroy                  ## TAILCALL
LBB0_8:
	movq	_mountpoint_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_qsort
LBB0_9:
	testq	%r14, %r14
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	movq	%r13, %rsi
	callq	*%r15
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_11
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ZFS_SERIAL_MOUNT"

	.comm	_mountpoint_cmp,4,2             ## @mountpoint_cmp
	.comm	_mount_tp_nthr,4,2              ## @mount_tp_nthr
	.comm	_GLOBAL_ZONEID,8,3              ## @GLOBAL_ZONEID
	.comm	_ZFS_PROP_ZONED,4,2             ## @ZFS_PROP_ZONED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_foreach_mountpoint         ; -- Begin function zfs_foreach_mountpoint
	.p2align	2
_zfs_foreach_mountpoint:                ; @zfs_foreach_mountpoint
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_getzoneid
	cbz	w25, LBB0_8
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x25, x0
Lloh2:
	adrp	x8, _mountpoint_cmp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mountpoint_cmp@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	bl	_qsort
	cbnz	x25, LBB0_9
; %bb.2:
Lloh5:
	adrp	x8, _mount_tp_nthr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mount_tp_nthr@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #1
	mov	w2, #0
	mov	x3, #0
	bl	_tpool_create
	mov	x25, x0
	cbz	x21, LBB0_7
; %bb.3:
	mov	x8, #0
	mov	w26, #0
Lloh8:
	adrp	x27, _GLOBAL_ZONEID@GOTPAGE
Lloh9:
	ldr	x27, [x27, _GLOBAL_ZONEID@GOTPAGEOFF]
Lloh10:
	adrp	x28, _ZFS_PROP_ZONED@GOTPAGE
Lloh11:
	ldr	x28, [x28, _ZFS_PROP_ZONED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x26
	mov	x4, x20
	mov	x5, x19
	mov	x6, x25
	bl	_zfs_dispatch_mount
	mov	x0, x22
	mov	x1, x21
	mov	x2, x26
	bl	_non_descendant_idx
	mov	x26, x0
	sxtw	x8, w26
	cmp	x8, x21
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x27]
	cmp	x24, x9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22, x8, lsl #3]
	ldr	w1, [x28]
	bl	_zfs_prop_get_int
	cbz	x0, LBB0_4
LBB0_7:
	mov	x0, x25
	bl	_tpool_wait
	mov	x0, x25
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_tpool_destroy
LBB0_8:
Lloh12:
	adrp	x8, _mountpoint_cmp@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mountpoint_cmp@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	bl	_qsort
LBB0_9:
	cbz	x21, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22], #8
	mov	x1, x19
	blr	x20
	subs	x21, x21, #1
	b.ne	LBB0_10
LBB0_11:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ZFS_SERIAL_MOUNT"

	.comm	_mountpoint_cmp,4,2             ; @mountpoint_cmp
	.comm	_mount_tp_nthr,4,2              ; @mount_tp_nthr
	.comm	_GLOBAL_ZONEID,8,3              ; @GLOBAL_ZONEID
	.comm	_ZFS_PROP_ZONED,4,2             ; @ZFS_PROP_ZONED
.subsections_via_symbols
