	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroy_clones
_destroy_clones:                        ## @destroy_clones
	.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	%rdi, %r15
	movl	4(%rdi), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_nvlist_next_nvpair
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %edi
	movq	%r13, %rsi
	callq	_nvlist_next_nvpair
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_nvpair_name
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movl	(%r15), %r14d
	movq	_B_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	%eax, (%r15)
	movl	(%rcx), %esi
	movq	_destroy_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rcx
	callq	_zfs_iter_dependents
	movl	%eax, %ebx
	movl	%r14d, (%r15)
	movq	%r12, %rdi
	callq	_zfs_close
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
                                        ## kill: def $ebx killed $ebx def $rbx
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_destroy_callback,4,2           ## @destroy_callback
	.no_dead_strip	_destroy_clones
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroy_clones
_destroy_clones:                        ; @destroy_clones
	.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	x19, x0
	ldr	w0, [x0, #4]
	mov	x1, #0
	bl	_nvlist_next_nvpair
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x23, _g_zfs@GOTPAGE
Lloh1:
	ldr	x23, [x23, _g_zfs@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh4:
	adrp	x25, _B_FALSE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _B_FALSE@GOTPAGEOFF]
Lloh6:
	adrp	x26, _destroy_callback@GOTPAGE
Lloh7:
	ldr	x26, [x26, _destroy_callback@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_nvlist_next_nvpair
	mov	x20, x0
	cbz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x23]
	mov	x0, x20
	bl	_nvpair_name
	mov	x1, x0
	ldr	w2, [x24]
	mov	x0, x21
	bl	_zfs_open
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldr	w27, [x19]
	ldr	w8, [x25]
	str	w8, [x19]
	ldr	w1, [x25]
	ldr	w2, [x26]
	mov	x3, x19
	bl	_zfs_iter_dependents
	mov	x22, x0
	str	w27, [x19]
	mov	x0, x21
	bl	_zfs_close
	cbz	w22, LBB0_2
	b	LBB0_6
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x22
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_destroy_callback,4,2           ; @destroy_callback
	.no_dead_strip	_destroy_clones
.subsections_via_symbols
