	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_do_clone
_zfs_do_clone:                          ## @zfs_do_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	_nvlist_alloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_nomem
LBB0_2:
	leaq	L_.str(%rip), %r14
	movq	_optarg@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi
	movl	(%r12), %esi
	callq	_parseprop
	testl	%eax, %eax
	jne	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$110, %eax
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$111, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$112, %eax
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$63, %eax
	jne	LBB0_3
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_gettext
	movq	_optopt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_7
LBB0_13:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	subl	%r14d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.16:
	cmpl	$1, %ebx
	jne	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_12:
	movl	$1, %eax
	jmp	LBB0_36
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_15
LBB0_18:
	cmpl	$3, %ebx
	jb	LBB0_20
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
LBB0_15:
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	movq	_B_FALSE@GOTPCREL(%rip), %rbx
	movq	-48(%rbp), %rdi
	callq	_nvlist_free
	movq	(%rbx), %rdi
	callq	_usage
	movl	$-1, %eax
LBB0_36:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15,%r14,8), %rsi
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_zfs_open
	movq	%rax, %r12
	movl	$1, %eax
	testq	%r12, %r12
	je	LBB0_36
## %bb.21:
	testq	%r13, %r13
	je	LBB0_25
## %bb.22:
	movq	8(%r15,%r14,8), %rdi
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %r13
	movq	_ZFS_TYPE_VOLUME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	(%r13), %esi
	callq	_zfs_name_valid
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15,%r14,8), %rsi
	movl	(%rbx), %edx
	orl	(%r13), %edx
	callq	_zfs_dataset_exists
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_36
## %bb.24:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15,%r14,8), %rsi
	callq	_zfs_create_ancestors
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_36
LBB0_25:
	movq	8(%r15,%r14,8), %rsi
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_zfs_clone
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_35
## %bb.26:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15,%r14,8), %rsi
	movq	_ZFS_TYPE_DATASET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_should_auto_mount
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_34
## %bb.29:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_zfs_mount
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_33
LBB0_27:
	xorl	%ebx, %ebx
	jmp	LBB0_35
LBB0_31:
	movq	%r15, %rdi
	callq	_zfs_share
	testl	%eax, %eax
	je	LBB0_34
## %bb.32:
	leaq	L_.str.6(%rip), %rdi
LBB0_33:
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_34:
	movq	%r15, %rdi
	callq	_zfs_close
LBB0_35:
	movq	%r12, %rdi
	callq	_zfs_close
	movq	-48(%rbp), %rdi
	callq	_nvlist_free
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.comm	_B_FALSE,8,3                    ## @B_FALSE
	.comm	_NV_UNIQUE_NAME,4,2             ## @NV_UNIQUE_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o:p"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_B_TRUE,8,3                     ## @B_TRUE
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"missing source dataset argument\n"

L_.str.3:                               ## @.str.3
	.asciz	"missing target dataset argument\n"

L_.str.4:                               ## @.str.4
	.asciz	"too many arguments\n"

	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ## @ZFS_TYPE_VOLUME
	.comm	_ZFS_TYPE_DATASET,4,2           ## @ZFS_TYPE_DATASET
L_.str.5:                               ## @.str.5
	.asciz	"clone successfully created, but not mounted\n"

L_.str.6:                               ## @.str.6
	.asciz	"clone successfully created, but not shared\n"

	.no_dead_strip	_zfs_do_clone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_do_clone
_zfs_do_clone:                          ; @zfs_do_clone
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _B_FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B_FALSE@GOTPAGEOFF]
	ldr	x23, [x22]
Lloh2:
	adrp	x8, _NV_UNIQUE_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NV_UNIQUE_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_nvlist_alloc
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nomem
LBB0_2:
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x24, _optarg@GOTPAGE
Lloh8:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh9:
	adrp	x25, _B_TRUE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _B_TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x24]
	bl	_parseprop
	cbnz	w0, LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #110
	b.le	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #111
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #112
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x25]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #63
	b.ne	LBB0_4
; %bb.10:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext
	mov	x1, x0
Lloh16:
	adrp	x8, _optopt@GOTPAGE
Lloh17:
	ldr	x8, [x8, _optopt@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	x8, [sp]
	b	LBB0_18
LBB0_11:
Lloh19:
	adrp	x8, _optind@GOTPAGE
Lloh20:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	sub	w9, w20, w8
	cmp	w9, #0
	b.le	LBB0_14
; %bb.12:
	cmp	w9, #1
	b.ne	LBB0_15
; %bb.13:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_14:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w19, [x8]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
	cmp	w9, #3
	b.lo	LBB0_19
; %bb.16:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_17:
	bl	_gettext
	mov	x1, x0
LBB0_18:
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [sp, #8]
	bl	_nvlist_free
	ldr	x0, [x22]
	bl	_usage
	mov	w0, #-1
	b	LBB0_26
LBB0_19:
Lloh37:
	adrp	x22, _g_zfs@GOTPAGE
Lloh38:
	ldr	x22, [x22, _g_zfs@GOTPAGEOFF]
	add	x20, x19, x8, lsl #3
	ldr	w0, [x22]
	ldr	x1, [x20]
Lloh39:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	bl	_zfs_open
	cbz	x0, LBB0_25
; %bb.20:
	mov	x19, x0
	cbz	x23, LBB0_27
; %bb.21:
Lloh42:
	adrp	x21, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh43:
	ldr	x21, [x21, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
	ldr	x0, [x20, #8]
	ldr	w8, [x21]
Lloh44:
	adrp	x23, _ZFS_TYPE_VOLUME@GOTPAGE
Lloh45:
	ldr	x23, [x23, _ZFS_TYPE_VOLUME@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w9, w8
	bl	_zfs_name_valid
	cbz	x0, LBB0_27
; %bb.22:
	ldr	w0, [x22]
	ldr	x1, [x20, #8]
	ldr	w8, [x21]
	ldr	w9, [x23]
	orr	w2, w9, w8
	bl	_zfs_dataset_exists
	cbz	x0, LBB0_24
; %bb.23:
	mov	w0, #0
	b	LBB0_26
LBB0_24:
	ldr	w0, [x22]
	ldr	x1, [x20, #8]
	bl	_zfs_create_ancestors
	cbz	x0, LBB0_27
LBB0_25:
	mov	w0, #1
LBB0_26:
	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
	add	sp, sp, #96
	ret
LBB0_27:
	ldr	x1, [x20, #8]
	ldr	x2, [sp, #8]
	mov	x0, x19
	bl	_zfs_clone
	mov	x21, x0
	cbnz	w0, LBB0_38
; %bb.28:
	ldr	w0, [x22]
	ldr	x1, [x20, #8]
Lloh46:
	adrp	x8, _ZFS_TYPE_DATASET@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ZFS_TYPE_DATASET@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	bl	_zfs_open
	cbz	x0, LBB0_32
; %bb.29:
	mov	x20, x0
	bl	_should_auto_mount
	cbz	x0, LBB0_33
; %bb.30:
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	bl	_zfs_mount
	cbz	w0, LBB0_34
; %bb.31:
	mov	x21, x0
Lloh49:
	adrp	x0, l_.str.5@PAGE
Lloh50:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_36
LBB0_32:
	mov	w21, #0
	b	LBB0_38
LBB0_33:
	mov	w21, #0
	b	LBB0_37
LBB0_34:
	mov	x0, x20
	bl	_zfs_share
	mov	x21, x0
	cbz	w0, LBB0_37
; %bb.35:
Lloh51:
	adrp	x0, l_.str.6@PAGE
Lloh52:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_36:
Lloh53:
	adrp	x8, _stderr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh55:
	ldr	w22, [x8]
	bl	_gettext
	mov	x1, x0
	mov	x0, x22
	bl	_fprintf
LBB0_37:
	mov	x0, x20
	bl	_zfs_close
LBB0_38:
	mov	x0, x19
	bl	_zfs_close
	ldr	x0, [sp, #8]
	bl	_nvlist_free
	cmp	w21, #0
	cset	w0, ne
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_B_FALSE,8,3                    ; @B_FALSE
	.comm	_NV_UNIQUE_NAME,4,2             ; @NV_UNIQUE_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o:p"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_B_TRUE,8,3                     ; @B_TRUE
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"invalid option '%c'\n"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"missing source dataset argument\n"

l_.str.3:                               ; @.str.3
	.asciz	"missing target dataset argument\n"

l_.str.4:                               ; @.str.4
	.asciz	"too many arguments\n"

	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ; @ZFS_TYPE_VOLUME
	.comm	_ZFS_TYPE_DATASET,4,2           ; @ZFS_TYPE_DATASET
l_.str.5:                               ; @.str.5
	.asciz	"clone successfully created, but not mounted\n"

l_.str.6:                               ; @.str.6
	.asciz	"clone successfully created, but not shared\n"

	.no_dead_strip	_zfs_do_clone
.subsections_via_symbols
