	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_do_snapshot
_zfs_do_snapshot:                       ## @zfs_do_snapshot
	.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, %r14
	movl	%edi, %ebx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_NV_UNIQUE_NAME@GOTPCREL(%rip), %r15
	movl	(%r15), %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	-88(%rbp), %rdi
	movl	(%r15), %esi
	xorl	%edx, %edx
	callq	_nvlist_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_nomem
LBB0_4:
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	movq	_B_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	movl	(%r13), %esi
	callq	_parseprop
	testl	%eax, %eax
	jne	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$110, %eax
	jle	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$111, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$114, %eax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$63, %eax
	jne	LBB0_5
## %bb.8:
	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_9
LBB0_15:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	%eax, %ebx
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.17:
	cmpl	$1, %ebx
	je	LBB0_19
## %bb.18:
	movq	(%r12), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
LBB0_19:
	leaq	(%r14,%rax,8), %r15
	incl	%ebx
	movq	_g_zfs@GOTPCREL(%rip), %r12
	movq	_ZFS_TYPE_VOLUME@GOTPCREL(%rip), %r13
	leaq	-96(%rbp), %r14
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movb	$0, (%rax)
	incq	%rax
	movq	%rax, -96(%rbp)
	movl	(%r12), %edi
	movq	(%r15), %rsi
	movl	(%r13), %edx
	movq	_ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_9
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_zfs_snapshot_cb
	testq	%rax, %rax
	jne	LBB0_9
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	addq	$8, %r15
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_20
## %bb.24:
	movl	(%r12), %edi
	movq	-88(%rbp), %rsi
	movq	-48(%rbp), %rdx
	callq	_zfs_snapshot_nvl
	movl	%eax, %ebx
	movq	-88(%rbp), %rdi
	callq	_nvlist_free
	movq	-48(%rbp), %rdi
	callq	_nvlist_free
	testl	%ebx, %ebx
	je	LBB0_27
## %bb.25:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.3(%rip), %rdi
	callq	_gettext
	movl	%r14d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_27:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	jmp	LBB0_28
LBB0_14:
	movl	$1, %eax
	jmp	LBB0_28
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movq	-88(%rbp), %rdi
	callq	_nvlist_free
	movq	-48(%rbp), %rdi
	callq	_nvlist_free
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
	movl	$-1, %eax
LBB0_28:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	"ro:"

	.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 snapshot argument\n"

	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ## @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ## @ZFS_TYPE_VOLUME
L_.str.3:                               ## @.str.3
	.asciz	"no snapshots were created\n"

	.no_dead_strip	_zfs_do_snapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_do_snapshot
_zfs_do_snapshot:                       ; @zfs_do_snapshot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
Lloh0:
	adrp	x22, _B_FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _B_FALSE@GOTPAGEOFF]
	ldr	x23, [x22]
Lloh2:
	adrp	x21, _NV_UNIQUE_NAME@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NV_UNIQUE_NAME@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #56
	mov	w2, #0
	bl	_nvlist_alloc
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nomem
LBB0_2:
	add	x8, sp, #16
	orr	x0, x8, #0x8
	ldr	w1, [x21]
	mov	w2, #0
	bl	_nvlist_alloc
	cbz	x0, LBB0_4
; %bb.3:
	bl	_nomem
LBB0_4:
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _optarg@GOTPAGE
Lloh7:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh8:
	adrp	x24, _B_TRUE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _B_TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #56]
	ldr	w1, [x25]
	bl	_parseprop
	cbnz	w0, LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #110
	b.le	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #111
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #114
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x24]
	str	x23, [sp, #32]
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #63
	b.ne	LBB0_6
; %bb.12:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_gettext
	mov	x1, x0
Lloh15:
	adrp	x8, _optopt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _optopt@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	x8, [sp]
	b	LBB0_24
LBB0_13:
Lloh18:
	adrp	x8, _optind@GOTPAGE
Lloh19:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x8]
	sub	w8, w20, w9
	cmp	w8, #0
	b.le	LBB0_23
; %bb.14:
	add	x19, x19, x9, lsl #3
	ldr	x9, [x24]
	cmp	w8, #1
	csel	x20, x23, x9, eq
	add	w21, w8, #1
Lloh21:
	adrp	x23, _g_zfs@GOTPAGE
Lloh22:
	ldr	x23, [x23, _g_zfs@GOTPAGEOFF]
Lloh23:
	adrp	x24, _ZFS_TYPE_FILESYSTEM@GOTPAGE
Lloh24:
	ldr	x24, [x24, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF]
Lloh25:
	adrp	x25, _ZFS_TYPE_VOLUME@GOTPAGE
Lloh26:
	ldr	x25, [x25, _ZFS_TYPE_VOLUME@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	strb	wzr, [x0], #1
	str	x0, [sp, #16]
	ldr	w0, [x23]
	ldr	x1, [x19]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_zfs_open
	cbz	x0, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x1, sp, #16
	bl	_zfs_snapshot_cb
	cbnz	x0, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x19, x19, #8
	sub	w21, w21, #1
	cmp	w21, #1
	b.gt	LBB0_15
; %bb.19:
	ldr	w0, [x23]
	ldr	x1, [sp, #24]
	ldr	x2, [sp, #56]
	bl	_zfs_snapshot_nvl
	mov	x19, x0
	ldr	x0, [sp, #24]
	bl	_nvlist_free
	ldr	x0, [sp, #56]
	bl	_nvlist_free
	cmp	w19, #0
	ccmp	x20, #0, #4, ne
	b.eq	LBB0_21
; %bb.20:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w20, [x8]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x20
	bl	_fprintf
LBB0_21:
	cmp	w19, #0
	cset	w0, ne
	b	LBB0_26
LBB0_22:
	mov	w0, #1
	b	LBB0_26
LBB0_23:
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w19, [x8]
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gettext
	mov	x1, x0
LBB0_24:
	mov	x0, x19
	bl	_fprintf
LBB0_25:
	ldr	x0, [sp, #24]
	bl	_nvlist_free
	ldr	x0, [sp, #56]
	bl	_nvlist_free
	ldr	x0, [x22]
	bl	_usage
	mov	w0, #-1
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.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	"ro:"

	.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 snapshot argument\n"

	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_ZFS_TYPE_FILESYSTEM,4,2        ; @ZFS_TYPE_FILESYSTEM
	.comm	_ZFS_TYPE_VOLUME,4,2            ; @ZFS_TYPE_VOLUME
l_.str.3:                               ; @.str.3
	.asciz	"no snapshots were created\n"

	.no_dead_strip	_zfs_do_snapshot
.subsections_via_symbols
