	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_filesystems           ## -- Begin function zfs_iter_filesystems
	.p2align	4, 0x90
_zfs_iter_filesystems:                  ## @zfs_iter_filesystems
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -48(%rbp)
	movq	(%rdi), %rax
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_zcmd_alloc_dst_nvlist
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	_ZFS_IOC_DATASET_LIST_NEXT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_zfs_do_list_ioctl
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rbx
	movl	(%r14), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_zfs_do_list_ioctl
	testl	%eax, %eax
	jne	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r14
	movl	8(%r13), %edi
	movq	%r12, %rsi
	callq	_make_dataset_handle_zc
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*%r15
	testl	%eax, %eax
	je	LBB0_5
## %bb.9:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	callq	_zcmd_free_nvlists
	jmp	LBB0_10
LBB0_6:
	movl	%eax, %r14d
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_zcmd_free_nvlists
	movl	%r14d, %ebx
	sarl	$31, %ebx
	andl	%r14d, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_IOC_DATASET_LIST_NEXT,4,2  ## @ZFS_IOC_DATASET_LIST_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_filesystems           ; -- Begin function zfs_iter_filesystems
	.p2align	2
_zfs_iter_filesystems:                  ; @zfs_iter_filesystems
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	w22, #0
	str	wzr, [sp, #8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	add	x1, sp, #8
	mov	w2, #0
	bl	_zcmd_alloc_dst_nvlist
	cbz	x0, LBB0_3
; %bb.2:
	mov	w22, #-1
	b	LBB0_10
LBB0_3:
Lloh3:
	adrp	x23, _ZFS_IOC_DATASET_LIST_NEXT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ZFS_IOC_DATASET_LIST_NEXT@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x21
	bl	_zfs_do_list_ioctl
	mov	x22, x0
	cbnz	w0, LBB0_9
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x21
	bl	_zfs_do_list_ioctl
	cbnz	w0, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #8]
	add	x1, sp, #8
	bl	_make_dataset_handle_zc
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x19
	blr	x20
	cbz	w0, LBB0_4
; %bb.7:
	mov	x22, x0
	add	x0, sp, #8
	bl	_zcmd_free_nvlists
	b	LBB0_10
LBB0_8:
	mov	x22, x0
LBB0_9:
	add	x0, sp, #8
	bl	_zcmd_free_nvlists
	cmp	w22, #0
	csel	w22, w22, wzr, lt
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_TYPE_FILESYSTEM,8,3        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_IOC_DATASET_LIST_NEXT,4,2  ; @ZFS_IOC_DATASET_LIST_NEXT
.subsections_via_symbols
