	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_callback
_zfs_callback:                          ## @zfs_callback
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_zfs_include_snapshots
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ZFS_TYPE_BOOKMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	(%r12), %r13d
	movq	%r14, %rdi
	callq	_zfs_get_type
	testl	%eax, (%r12)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_zfs_get_type
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
LBB0_3:
	movl	$16, %edi
	callq	_safe_malloc
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	_avl_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_uu_avl_node_init
	movl	24(%r12), %edi
	movl	44(%r12), %edx
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rsi
	callq	_uu_avl_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.11:
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_4:
	movq	32(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.5:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	movl	40(%r12), %esi
	movq	%r14, %rdi
	callq	_zfs_prune_proplist
	movq	32(%r12), %rsi
LBB0_8:
	movl	4(%r12), %ecx
	movq	_ZFS_ITER_RECVD_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movq	_ZFS_ITER_LITERAL_PROPS@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_zfs_expand_proplist
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	callq	_free
	movl	$-1, %ebx
	jmp	LBB0_26
LBB0_9:
	movl	24(%r12), %edi
	movl	-48(%rbp), %edx
	movq	%rbx, %rsi
	callq	_uu_avl_insert
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	movl	4(%r12), %ecx
	movq	_ZFS_ITER_RECURSE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_24
## %bb.13:
	movq	_ZFS_ITER_DEPTH_LIMIT@GOTPCREL(%rip), %rdx
	movq	8(%r12), %rax
	testl	%ecx, (%rdx)
	je	LBB0_15
## %bb.14:
	cmpq	16(%r12), %rax
	jge	LBB0_24
LBB0_15:
	incq	%rax
	movq	%rax, 8(%r12)
	movq	%r14, %rdi
	callq	_zfs_get_type
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	leaq	_zfs_callback(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_zfs_iter_filesystems
LBB0_17:
	movq	%r14, %rdi
	callq	_zfs_get_type
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rbx
	movq	_ZFS_TYPE_BOOKMARK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_20
## %bb.18:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:
	movq	_ZFS_ITER_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	4(%r12), %eax
	setne	%sil
	leaq	_zfs_callback(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_zfs_iter_snapshots
LBB0_20:
	movq	%r14, %rdi
	callq	_zfs_get_type
	movq	_ZFS_TYPE_BOOKMARK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_23
## %bb.21:
	testl	%r13d, %r13d
	je	LBB0_23
## %bb.22:
	leaq	_zfs_callback(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_zfs_iter_bookmarks
LBB0_23:
	decq	8(%r12)
LBB0_24:
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_26
## %bb.25:
	movq	%r14, %rdi
	callq	_zfs_close
LBB0_26:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ## @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_avl_pool,4,2                   ## @avl_pool
	.comm	_ZFS_ITER_RECVD_PROPS,4,2       ## @ZFS_ITER_RECVD_PROPS
	.comm	_ZFS_ITER_LITERAL_PROPS,4,2     ## @ZFS_ITER_LITERAL_PROPS
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_ZFS_ITER_RECURSE,4,2           ## @ZFS_ITER_RECURSE
	.comm	_ZFS_ITER_DEPTH_LIMIT,4,2       ## @ZFS_ITER_DEPTH_LIMIT
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_ITER_SIMPLE,4,2            ## @ZFS_ITER_SIMPLE
	.no_dead_strip	_zfs_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_callback
_zfs_callback:                          ; @zfs_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	bl	_zfs_include_snapshots
	mov	x21, x0
	ldr	w23, [x20]
Lloh3:
	adrp	x25, _ZFS_TYPE_BOOKMARK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ZFS_TYPE_BOOKMARK@GOTPAGEOFF]
	ldr	w24, [x25]
	mov	x0, x19
	bl	_zfs_get_type
	ldr	w8, [x20]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_zfs_get_type
Lloh5:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w21, #0, #4, eq
	b.eq	LBB0_11
LBB0_2:
	mov	w0, #16
	bl	_safe_malloc
	mov	x22, x0
	str	x19, [x0, #8]
Lloh8:
	adrp	x8, _avl_pool@GOTPAGE
Lloh9:
	ldr	x8, [x8, _avl_pool@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_uu_avl_node_init
	ldr	w0, [x20, #24]
	ldr	w2, [x20, #44]
	add	x3, sp, #12
	mov	x1, x22
	bl	_uu_avl_find
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_free
	b	LBB0_11
LBB0_4:
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_10
; %bb.5:
	ldr	x8, [x1]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_zfs_prune_proplist
	ldr	x1, [x20, #32]
LBB0_8:
	ldr	w8, [x20, #4]
Lloh11:
	adrp	x9, _ZFS_ITER_RECVD_PROPS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ZFS_ITER_RECVD_PROPS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w2, w9, w8
Lloh14:
	adrp	x9, _ZFS_ITER_LITERAL_PROPS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ZFS_ITER_LITERAL_PROPS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w3, w9, w8
	mov	x0, x19
	bl	_zfs_expand_proplist
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_free
	mov	w0, #-1
	b	LBB0_25
LBB0_10:
	ldr	w0, [x20, #24]
	ldr	w2, [sp, #12]
	mov	x1, x22
	bl	_uu_avl_insert
Lloh17:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w26, [x8]
LBB0_11:
	ldr	w8, [x20, #4]
Lloh20:
	adrp	x9, _ZFS_ITER_RECURSE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ZFS_ITER_RECURSE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.12:
Lloh23:
	adrp	x9, _ZFS_ITER_DEPTH_LIMIT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ZFS_ITER_DEPTH_LIMIT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x9]
	ldr	x9, [x20, #8]
	tst	w10, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	x8, [x20, #16]
	cmp	x9, x8
	b.ge	LBB0_22
LBB0_14:
	add	x8, x9, #1
	str	x8, [x20, #8]
	mov	x0, x19
	bl	_zfs_get_type
Lloh26:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.15:
Lloh29:
	adrp	x1, _zfs_callback@PAGE
Lloh30:
	add	x1, x1, _zfs_callback@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_zfs_iter_filesystems
LBB0_16:
	mov	x0, x19
	bl	_zfs_get_type
Lloh31:
	adrp	x22, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh32:
	ldr	x22, [x22, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x25]
	orr	w8, w9, w8
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w21, #0, #4, eq
	b.eq	LBB0_18
; %bb.17:
	ldr	w8, [x20, #4]
Lloh33:
	adrp	x9, _ZFS_ITER_SIMPLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ZFS_ITER_SIMPLE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
Lloh36:
	adrp	x2, _zfs_callback@PAGE
Lloh37:
	add	x2, x2, _zfs_callback@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_zfs_iter_snapshots
LBB0_18:
	mov	x0, x19
	bl	_zfs_get_type
	ldr	w8, [x22]
	ldr	w9, [x25]
	orr	w8, w9, w8
	tst	w8, w0
	b.ne	LBB0_21
; %bb.19:
	and	w8, w24, w23
	cbz	w8, LBB0_21
; %bb.20:
Lloh38:
	adrp	x1, _zfs_callback@PAGE
Lloh39:
	add	x1, x1, _zfs_callback@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_zfs_iter_bookmarks
LBB0_21:
	ldr	x8, [x20, #8]
	sub	x8, x8, #1
	str	x8, [x20, #8]
LBB0_22:
	cbz	w26, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_zfs_close
LBB0_24:
	mov	w0, #0
LBB0_25:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_ZFS_TYPE_BOOKMARK,4,2          ; @ZFS_TYPE_BOOKMARK
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_avl_pool,4,2                   ; @avl_pool
	.comm	_ZFS_ITER_RECVD_PROPS,4,2       ; @ZFS_ITER_RECVD_PROPS
	.comm	_ZFS_ITER_LITERAL_PROPS,4,2     ; @ZFS_ITER_LITERAL_PROPS
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_ZFS_ITER_RECURSE,4,2           ; @ZFS_ITER_RECURSE
	.comm	_ZFS_ITER_DEPTH_LIMIT,4,2       ; @ZFS_ITER_DEPTH_LIMIT
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_ITER_SIMPLE,4,2            ; @ZFS_ITER_SIMPLE
	.no_dead_strip	_zfs_callback
.subsections_via_symbols
