	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroy_print_snapshots
_destroy_print_snapshots:               ## @destroy_print_snapshots
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	$0, 8(%rsi)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_assert
	movq	_destroy_print_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_zfs_iter_snapshots_sorted
	movl	%eax, %r14d
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	$0, -32(%rbp)
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	leaq	-32(%rbp), %rdx
	callq	_lzc_snaprange_space
	movl	%eax, %r14d
	movl	-32(%rbp), %r15d
	movq	8(%rbx), %rdi
LBB0_3:
	addl	%r15d, 16(%rbx)
	callq	_free
	movq	$0, 8(%rbx)
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_destroy_print_cb,4,2           ## @destroy_print_cb
	.no_dead_strip	_destroy_print_snapshots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroy_print_snapshots
_destroy_print_snapshots:               ; @destroy_print_snapshots
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x8, _destroy_print_cb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _destroy_print_cb@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	bl	_zfs_iter_snapshots_sorted
	mov	x20, x0
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.1:
	str	xzr, [sp, #8]
	cbz	w20, LBB0_3
; %bb.2:
	mov	w8, #0
	b	LBB0_4
LBB0_3:
	ldr	x1, [x19]
	add	x2, sp, #8
	bl	_lzc_snaprange_space
	mov	x20, x0
	ldr	w8, [sp, #8]
	ldr	x0, [x19, #8]
LBB0_4:
	ldr	w9, [x19, #16]
	add	w8, w9, w8
	str	w8, [x19, #16]
	bl	_free
	str	xzr, [x19, #8]
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_destroy_print_cb,4,2           ; @destroy_print_cb
	.no_dead_strip	_destroy_print_snapshots
.subsections_via_symbols
