	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_clone                      ## -- Begin function zfs_clone
	.p2align	4, 0x90
_zfs_clone:                             ## @zfs_clone
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -1096(%rbp)               ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -1088(%rbp)               ## 8-byte Spill
	movq	8(%r15), %rbx
	movq	(%r15), %rax
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dgettext
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rax, %rdx
	movq	%r13, %rcx
	callq	_snprintf
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_zfs_validate_name
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-1076(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	callq	_check_parents
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:
	movl	$-1, %r14d
	jmp	LBB0_6
LBB0_3:
	movq	_EZFS_INVALIDNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	movq	%rbx, %rdi
LBB0_4:
	callq	_zfs_error
LBB0_5:
	movl	%eax, %r14d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.7:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r13, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	movl	%r14d, %edx
	callq	_parent_name
	xorl	%r14d, %r14d
	cmpq	$0, -1096(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_14
## %bb.9:
	movq	%r15, %rdi
	callq	_ZFS_IS_VOLUME
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_ZFS_TYPE_VOLUME@GOTPCREL(%rip), %r12
LBB0_11:
	movl	(%r12), %esi
	movl	-1076(%rbp), %ecx
	movl	20(%r15), %r9d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-1096(%rbp), %rdx               ## 8-byte Reload
	movq	%r15, %r8
	leaq	-1072(%rbp), %rax
	pushq	%rax
	callq	_zfs_valid_proplist
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_zfs_fix_auto_resv
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	callq	_nvlist_free
	movl	$-1, %r14d
	jmp	LBB0_6
LBB0_14:
	xorl	%ebx, %ebx
LBB0_15:
	movl	16(%r15), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_lzc_clone
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_nvlist_free
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.16:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$128, %esi
	je	LBB0_20
## %bb.17:
	cmpl	$129, %esi
	jne	LBB0_22
## %bb.18:
	movq	8(%r15), %rbx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dgettext
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	-1088(%rbp), %rdx               ## 8-byte Reload
	xorl	%eax, %eax
	callq	_zfs_error_aux
	movq	8(%r15), %rdi
	movq	_EZFS_NOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	8(%r15), %rbx
	movq	_TEXT_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dgettext
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_zfs_error_aux
	movq	8(%r15), %rdi
	movq	_EZFS_CROSSTARGET@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %esi
	leaq	-1072(%rbp), %rdx
	jmp	LBB0_4
LBB0_22:
	movq	8(%r15), %rdi
	leaq	-1072(%rbp), %rdx
	callq	_zfs_standard_error
	jmp	LBB0_5
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.comm	_ZFS_TYPE_SNAPSHOT,8,3          ## @ZFS_TYPE_SNAPSHOT
	.comm	_TEXT_DOMAIN,4,2                ## @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot create '%s'"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_EZFS_INVALIDNAME,4,2           ## @EZFS_INVALIDNAME
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_ZFS_TYPE_VOLUME,4,2            ## @ZFS_TYPE_VOLUME
	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"no such parent '%s'"

	.comm	_EZFS_NOENT,4,2                 ## @EZFS_NOENT
L_.str.2:                               ## @.str.2
	.asciz	"source and target pools differ"

	.comm	_EZFS_CROSSTARGET,4,2           ## @EZFS_CROSSTARGET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zfs_clone                      ; -- Begin function zfs_clone
	.p2align	2
_zfs_clone:                             ; @zfs_clone
	.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
	sub	sp, sp, #1040
	mov	x19, sp
	mov	x23, x2
	mov	x22, 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, #-88]
Lloh3:
	adrp	x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	ldp	x8, x24, [x0]
Lloh8:
	adrp	x9, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh11:
	adrp	x26, _TEXT_DOMAIN@GOTPAGE
Lloh12:
	ldr	x26, [x26, _TEXT_DOMAIN@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dgettext
	mov	x2, x0
	add	x0, x19, #8
	mov	w1, #1024
	mov	x3, x22
	bl	_snprintf
Lloh15:
	adrp	x27, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh16:
	ldr	x27, [x27, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh17:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x22
	bl	_zfs_validate_name
	cbz	w0, LBB0_3
; %bb.1:
Lloh20:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x2, x19, #4
	mov	x0, x24
	mov	x1, x22
	mov	x4, #0
	bl	_check_parents
	cbz	x0, LBB0_7
LBB0_2:
	mov	w0, #-1
	b	LBB0_5
LBB0_3:
Lloh23:
	adrp	x8, _EZFS_INVALIDNAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EZFS_INVALIDNAME@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, x19, #8
	mov	x0, x24
LBB0_4:
	bl	_zfs_error
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.6:
	sub	sp, x29, #80
	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
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x25
	bl	_parent_name
	cbz	x23, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_ZFS_IS_VOLUME
Lloh29:
	adrp	x8, _ZFS_TYPE_VOLUME@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ZFS_TYPE_VOLUME@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x27, x8, eq
	ldr	w1, [x8]
	ldr	w3, [x19, #4]
	ldr	w5, [x20, #20]
	add	x6, x19, #8
	mov	x0, x24
	mov	x2, x23
	mov	x4, x20
	bl	_zfs_valid_proplist
	cbz	x0, LBB0_2
; %bb.9:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_zfs_fix_auto_resv
	cmn	w0, #1
	b.eq	LBB0_15
LBB0_10:
	ldr	w1, [x20, #16]
	mov	x0, x22
	mov	x2, x23
	bl	_lzc_clone
	mov	x22, x0
	mov	x0, x23
	bl	_nvlist_free
	cbz	w22, LBB0_14
; %bb.11:
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	cmp	w1, #128
	b.eq	LBB0_16
; %bb.12:
	cmp	w1, #129
	b.ne	LBB0_18
; %bb.13:
	ldr	x22, [x20, #8]
	ldr	w0, [x26]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	str	x21, [sp, #-16]!
	mov	x0, x22
	bl	_zfs_error_aux
	add	sp, sp, #16
	ldr	x0, [x20, #8]
Lloh36:
	adrp	x8, _EZFS_NOENT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EZFS_NOENT@GOTPAGEOFF]
	b	LBB0_17
LBB0_14:
	mov	w0, #0
	b	LBB0_5
LBB0_15:
	mov	x0, x23
	bl	_nvlist_free
	mov	w0, #-1
	b	LBB0_5
LBB0_16:
	ldr	x21, [x20, #8]
	ldr	w0, [x26]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dgettext
	mov	x1, x0
	mov	x0, x21
	bl	_zfs_error_aux
	ldr	x0, [x20, #8]
Lloh40:
	adrp	x8, _EZFS_CROSSTARGET@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EZFS_CROSSTARGET@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
	add	x2, x19, #8
	b	LBB0_4
LBB0_18:
	ldr	x0, [x20, #8]
	add	x2, x19, #8
	bl	_zfs_standard_error
	b	LBB0_5
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.comm	_ZFS_TYPE_SNAPSHOT,8,3          ; @ZFS_TYPE_SNAPSHOT
	.comm	_TEXT_DOMAIN,4,2                ; @TEXT_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot create '%s'"

	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_EZFS_INVALIDNAME,4,2           ; @EZFS_INVALIDNAME
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_ZFS_TYPE_VOLUME,4,2            ; @ZFS_TYPE_VOLUME
	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"no such parent '%s'"

	.comm	_EZFS_NOENT,4,2                 ; @EZFS_NOENT
l_.str.2:                               ; @.str.2
	.asciz	"source and target pools differ"

	.comm	_EZFS_CROSSTARGET,4,2           ; @EZFS_CROSSTARGET
.subsections_via_symbols
