	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_clone_cb
_be_clone_cb:                           ## @be_clone_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BE_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_zfs_get_name
	movq	%rax, %r14
	movq	(%r13), %r8
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_be_get_path
	movq	_BE_ERR_SUCCESS@GOTPCREL(%rip), %rcx
	movq	16(%r13), %rdi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rdi), %edi
	movq	_ZFS_TYPE_DATASET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_zfs_dataset_exists
	movq	16(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_BE_ERR_EXISTS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_BE_ERR_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
LBB0_5:
	callq	_set_error
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%rdi), %edi
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rsi
	callq	_zfs_dataset_exists
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	16(%r13), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movq	%r12, %rsi
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %r12
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KM_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rdi
	callq	_nvlist_alloc
	movq	-56(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_nvlist_add_string
	movq	16(%r13), %rax
	movq	%rax, -72(%rbp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, -80(%rbp)
	movq	-56(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	_be_deep_clone_prop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-88(%rbp), %rsi
	movl	%ecx, %edx
	callq	_zprop_iter
	movq	%rax, %rcx
	movq	_ZPROP_INVAL@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.11:
	movq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_zfs_clone
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movq	16(%r13), %rdi
	movq	_BE_ERR_ZFSCLONE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_14:
	movq	16(%r13), %rdi
	movq	_BE_ERR_ZFSOPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:
	movq	-56(%rbp), %rdi
	callq	_nvlist_free
	movq	%r12, %rdi
	callq	_zfs_close
	movl	8(%r13), %ecx
	movl	12(%r13), %eax
	cmpl	$-1, %ecx
	je	LBB0_17
## %bb.16:
	xorl	%esi, %esi
	cmpl	%ecx, %eax
	jge	LBB0_18
LBB0_17:
	incl	%eax
	movl	%eax, 12(%r13)
	leaq	_be_clone_cb(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_zfs_iter_filesystems
	movl	%eax, %esi
	decl	12(%r13)
LBB0_18:
	movq	16(%r13), %rdi
	jmp	LBB0_5
LBB0_19:
	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	_BE_ERR_SUCCESS,8,3             ## @BE_ERR_SUCCESS
	.comm	_BE_ERR_UNKNOWN,4,2             ## @BE_ERR_UNKNOWN
	.comm	_ZFS_TYPE_DATASET,4,2           ## @ZFS_TYPE_DATASET
	.comm	_BE_ERR_EXISTS,4,2              ## @BE_ERR_EXISTS
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_BE_ERR_ZFSOPEN,4,2             ## @BE_ERR_ZFSOPEN
	.comm	_NV_UNIQUE_NAME,4,2             ## @NV_UNIQUE_NAME
	.comm	_KM_SLEEP,4,2                   ## @KM_SLEEP
L_.str.1:                               ## @.str.1
	.asciz	"canmount"

L_.str.2:                               ## @.str.2
	.asciz	"noauto"

	.comm	_be_deep_clone_prop,4,2         ## @be_deep_clone_prop
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZPROP_INVAL,8,3                ## @ZPROP_INVAL
	.comm	_BE_ERR_ZFSCLONE,4,2            ## @BE_ERR_ZFSCLONE
	.no_dead_strip	_be_clone_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_clone_cb
_be_clone_cb:                           ; @be_clone_cb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #48
	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, #-56]
Lloh3:
	adrp	x8, _BE_MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BE_MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x12, x9, #0x1fffffff0
	sub	x21, x8, x12
	mov	sp, x21
	mov	x9, x23
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	bl	_zfs_get_name
	mov	x24, x0
	ldr	x4, [x19]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x3, x24
	bl	_snprintf
	mov	x0, x19
	mov	x1, x24
	mov	x2, x21
	mov	x3, x23
	bl	_be_get_path
	mov	x8, x0
Lloh12:
	adrp	x9, _BE_ERR_SUCCESS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BE_ERR_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x0, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x0]
Lloh15:
	adrp	x8, _ZFS_TYPE_DATASET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ZFS_TYPE_DATASET@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_zfs_dataset_exists
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbz	x8, LBB0_8
; %bb.2:
Lloh18:
	adrp	x8, _BE_ERR_EXISTS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BE_ERR_EXISTS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _BE_ERR_UNKNOWN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BE_ERR_UNKNOWN@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
LBB0_5:
	bl	_set_error
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.7:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x0]
Lloh25:
	adrp	x23, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh26:
	ldr	x23, [x23, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_zfs_dataset_exists
	cbz	x0, LBB0_6
; %bb.9:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_zfs_open
	cbz	x0, LBB0_12
; %bb.10:
	mov	x22, x0
Lloh27:
	adrp	x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _KM_SLEEP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _KM_SLEEP@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	sub	x0, x29, #64
	bl	_nvlist_alloc
	ldur	x0, [x29, #-64]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh35:
	adrp	x2, l_.str.2@PAGE
Lloh36:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_nvlist_add_string
	ldr	x8, [x19, #16]
	stp	x20, x8, [x29, #-80]
	ldur	x8, [x29, #-64]
	stur	x8, [x29, #-88]
Lloh37:
	adrp	x8, _be_deep_clone_prop@GOTPAGE
Lloh38:
	ldr	x8, [x8, _be_deep_clone_prop@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh45:
	ldr	w4, [x8]
	sub	x1, x29, #88
	mov	x3, x2
	bl	_zprop_iter
Lloh46:
	adrp	x8, _ZPROP_INVAL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ZPROP_INVAL@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.11:
	mov	w0, #-1
	b	LBB0_6
LBB0_12:
	ldr	x0, [x19, #16]
Lloh49:
	adrp	x8, _BE_ERR_ZFSOPEN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _BE_ERR_ZFSOPEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	ldur	x2, [x29, #-64]
	mov	x0, x22
	mov	x1, x21
	bl	_zfs_clone
	cbz	w0, LBB0_15
; %bb.14:
	ldr	x0, [x19, #16]
Lloh51:
	adrp	x8, _BE_ERR_ZFSCLONE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BE_ERR_ZFSCLONE@GOTPAGEOFF]
	b	LBB0_4
LBB0_15:
	ldur	x0, [x29, #-64]
	bl	_nvlist_free
	mov	x0, x22
	bl	_zfs_close
	ldp	w9, w8, [x19, #8]
	cmn	w9, #1
	b.eq	LBB0_18
; %bb.16:
	cmp	w8, w9
	b.lt	LBB0_18
; %bb.17:
	mov	w1, #0
	b	LBB0_19
LBB0_18:
	add	w8, w8, #1
	str	w8, [x19, #12]
Lloh53:
	adrp	x1, _be_clone_cb@PAGE
Lloh54:
	add	x1, x1, _be_clone_cb@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_zfs_iter_filesystems
	mov	x1, x0
	ldr	w8, [x19, #12]
	sub	w8, w8, #1
	str	w8, [x19, #12]
LBB0_19:
	ldr	x0, [x19, #16]
	b	LBB0_5
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_MAXPATHLEN,4,2              ; @BE_MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s@%s"

	.comm	_BE_ERR_SUCCESS,8,3             ; @BE_ERR_SUCCESS
	.comm	_BE_ERR_UNKNOWN,4,2             ; @BE_ERR_UNKNOWN
	.comm	_ZFS_TYPE_DATASET,4,2           ; @ZFS_TYPE_DATASET
	.comm	_BE_ERR_EXISTS,4,2              ; @BE_ERR_EXISTS
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_BE_ERR_ZFSOPEN,4,2             ; @BE_ERR_ZFSOPEN
	.comm	_NV_UNIQUE_NAME,4,2             ; @NV_UNIQUE_NAME
	.comm	_KM_SLEEP,4,2                   ; @KM_SLEEP
l_.str.1:                               ; @.str.1
	.asciz	"canmount"

l_.str.2:                               ; @.str.2
	.asciz	"noauto"

	.comm	_be_deep_clone_prop,4,2         ; @be_deep_clone_prop
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZPROP_INVAL,8,3                ; @ZPROP_INVAL
	.comm	_BE_ERR_ZFSCLONE,4,2            ; @BE_ERR_ZFSCLONE
	.no_dead_strip	_be_clone_cb
.subsections_via_symbols
