	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_bookmarks             ## -- Begin function zfs_iter_bookmarks
	.p2align	4, 0x90
_zfs_iter_bookmarks:                    ## @zfs_iter_bookmarks
	.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
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	callq	_zfs_get_type
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rcx
	movq	_ZFS_TYPE_BOOKMARK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	xorl	%r14d, %r14d
	testl	%eax, %edx
	jne	LBB0_11
## %bb.1:
	xorl	%eax, %eax
	callq	_fnvlist_alloc
	movq	%rax, %rbx
	movq	_ZFS_PROP_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_zfs_prop_to_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_fnvlist_add_boolean
	movq	_ZFS_PROP_CREATETXG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_zfs_prop_to_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_fnvlist_add_boolean
	movq	_ZFS_PROP_CREATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_zfs_prop_to_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_fnvlist_add_boolean
	movq	(%r13), %rdi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_lzc_get_bookmarks
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_nvlist_next_nvpair
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_nvlist_next_nvpair
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_nvpair_name
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_fnvpair_value_nvlist
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%r13), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %r8
	callq	_snprintf
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_make_bookmark_handle
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	%rbx, %rdi
	callq	_fnvlist_free
	movq	-56(%rbp), %rdi
	callq	_fnvlist_free
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ## @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_PROP_GUID,4,2              ## @ZFS_PROP_GUID
	.comm	_ZFS_PROP_CREATETXG,4,2         ## @ZFS_PROP_CREATETXG
	.comm	_ZFS_PROP_CREATION,4,2          ## @ZFS_PROP_CREATION
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s#%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_iter_bookmarks             ; -- Begin function zfs_iter_bookmarks
	.p2align	2
_zfs_iter_bookmarks:                    ; @zfs_iter_bookmarks
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-96]
	bl	_zfs_get_type
Lloh3:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ZFS_TYPE_BOOKMARK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ZFS_TYPE_BOOKMARK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w25, #0
	b	LBB0_11
LBB0_2:
	bl	_fnvlist_alloc
	mov	x22, x0
Lloh9:
	adrp	x8, _ZFS_PROP_GUID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZFS_PROP_GUID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_zfs_prop_to_name
	mov	x1, x0
	mov	x0, x22
	bl	_fnvlist_add_boolean
Lloh12:
	adrp	x8, _ZFS_PROP_CREATETXG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZFS_PROP_CREATETXG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_zfs_prop_to_name
	mov	x1, x0
	mov	x0, x22
	bl	_fnvlist_add_boolean
Lloh15:
	adrp	x8, _ZFS_PROP_CREATION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ZFS_PROP_CREATION@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_zfs_prop_to_name
	mov	x1, x0
	mov	x0, x22
	bl	_fnvlist_add_boolean
	ldr	x0, [x21]
	sub	x2, x29, #96
	mov	x1, x22
	bl	_lzc_get_bookmarks
	mov	x25, x0
	cbnz	w0, LBB0_10
; %bb.3:
	ldur	x0, [x29, #-96]
	mov	x1, #0
	bl	_nvlist_next_nvpair
	cbz	x0, LBB0_9
; %bb.4:
	mov	x23, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	sp, x24
	ldur	x0, [x29, #-96]
	mov	x1, x23
	bl	_nvlist_next_nvpair
	mov	x23, x0
	cbz	x0, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, sp
Lloh18:
	adrp	x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w25, [x8]
	mov	x9, x25
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	mov	x0, x23
	bl	_nvpair_name
	mov	x27, x0
	mov	x0, x23
	bl	_fnvpair_value_nvlist
	mov	x28, x0
	ldr	x3, [x21]
	mov	x0, x26
	mov	x1, x25
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x27
	bl	_snprintf
	mov	x0, x21
	mov	x1, x26
	mov	x2, x28
	bl	_make_bookmark_handle
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x19
	blr	x20
	cbz	w0, LBB0_5
; %bb.8:
	mov	x25, x0
	mov	sp, x24
	b	LBB0_10
LBB0_9:
	mov	w25, #0
LBB0_10:
	mov	x0, x22
	bl	_fnvlist_free
	ldur	x0, [x29, #-96]
	bl	_fnvlist_free
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x25
	sub	sp, x29, #80
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ; @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_PROP_GUID,4,2              ; @ZFS_PROP_GUID
	.comm	_ZFS_PROP_CREATETXG,4,2         ; @ZFS_PROP_CREATETXG
	.comm	_ZFS_PROP_CREATION,4,2          ; @ZFS_PROP_CREATION
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s#%s"

.subsections_via_symbols
