	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_destroy_cb
_be_destroy_cb:                         ## @be_destroy_cb
	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BE_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.4:
	leaq	_be_destroy_cb(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_zfs_iter_filesystems
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_zfs_get_name
	movq	(%r12), %r8
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_zfs_dataset_exists
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movq	%r14, %rsi
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_zfs_destroy
	jmp	LBB0_8
LBB0_1:
	leaq	_be_destroy_cb(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_zfs_iter_children
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zfs_destroy                    ## TAILCALL
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_MAXPATHLEN,4,2              ## @BE_MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s@%s"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_be_destroy_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_destroy_cb
_be_destroy_cb:                         ; @be_destroy_cb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _BE_MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BE_MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
Lloh8:
	adrp	x1, _be_destroy_cb@PAGE
Lloh9:
	add	x1, x1, _be_destroy_cb@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_zfs_iter_filesystems
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_zfs_get_name
	mov	x3, x0
	ldr	x4, [x19]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_snprintf
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh12:
	adrp	x20, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh13:
	ldr	x20, [x20, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x1, x21
	bl	_zfs_dataset_exists
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [x20]
	mov	x1, x21
	bl	_zfs_open
	cbz	x0, LBB0_6
; %bb.4:
	mov	w1, #0
	bl	_zfs_destroy
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x1, _be_destroy_cb@PAGE
Lloh15:
	add	x1, x1, _be_destroy_cb@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_zfs_iter_children
	cbz	w0, LBB0_8
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	w1, #0
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_zfs_destroy
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_MAXPATHLEN,4,2              ; @BE_MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s@%s"

	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.no_dead_strip	_be_destroy_cb
.subsections_via_symbols
