	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zfs_do_rollback
_zfs_do_rollback:                       ## @zfs_do_rollback
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, -120(%rbp)
	movups	%xmm0, -136(%rbp)
	movq	$0, -104(%rbp)
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_gettext
	movq	_optopt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r12d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$81, %eax
	jg	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$63, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_3
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$82, %eax
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$114, %eax
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$102, %eax
	jne	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_6:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -144(%rbp)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -140(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	subl	%r12d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.13:
	cmpl	$1, %ebx
	je	LBB0_16
## %bb.14:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
LBB0_15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_16:
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r13,%r12,8), %rsi
	movq	_ZFS_TYPE_SNAPSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_zfs_open
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_24
## %bb.17:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r13,%r12,8), %rsi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
	movq	%r15, %rdi
	movl	$64, %esi
	callq	_strrchr
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_verify
	movb	$0, (%rbx)
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ZFS_TYPE_DATASET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_zfs_open
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	%rax, %rbx
	movq	(%r13,%r12,8), %rax
	movq	%rax, -136(%rbp)
	movq	_ZFS_PROP_CREATETXG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_zfs_prop_get_int
	movq	%rax, -128(%rbp)
	movq	_B_TRUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -112(%rbp)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovleq	%rcx, %rax
	movl	$0, -120(%rbp)
	movq	_B_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_rollback_check@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-144(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rax, %r8
	xorl	%r9d, %r9d
	callq	_zfs_iter_snapshots
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.20:
	movl	(%r14), %esi
	leaq	-144(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_zfs_iter_bookmarks
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.21:
	movl	-120(%rbp), %r12d
	testl	%r12d, %r12d
	jne	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_zfs_rollback
	movl	%eax, %r12d
LBB0_23:
	movq	%r15, %rdi
	callq	_zfs_close
	movq	%rbx, %rdi
	callq	_zfs_close
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	setne	%r14b
	jmp	LBB0_24
LBB0_18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_zfs_close
LBB0_24:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_B_FALSE,8,3                    ## @B_FALSE
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rRf"

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

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

	.comm	_g_zfs,4,2                      ## @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ## @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_DATASET,4,2           ## @ZFS_TYPE_DATASET
	.comm	_ZFS_PROP_CREATETXG,4,2         ## @ZFS_PROP_CREATETXG
	.comm	_rollback_check,4,2             ## @rollback_check
	.no_dead_strip	_zfs_do_rollback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zfs_do_rollback
_zfs_do_rollback:                       ; @zfs_do_rollback
	.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, #96
	mov	x20, x1
	mov	x23, x0
	mov	x8, sp
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
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	x28, _B_FALSE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _B_FALSE@GOTPAGEOFF]
	ldr	x8, [x28]
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	stur	xzr, [x29, #-96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-128]
Lloh5:
	adrp	x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w12, [x8]
	mov	x9, x12
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x12, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stp	x12, x8, [x29, #-168]           ; 16-byte Folded Spill
	mov	sp, x8
	mov	w19, #0
	mov	w22, #0
Lloh10:
	adrp	x24, l_.str@PAGE
Lloh11:
	add	x24, x24, l_.str@PAGEOFF
Lloh12:
	adrp	x27, _stderr@GOTPAGE
Lloh13:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
Lloh14:
	adrp	x21, _optopt@GOTPAGE
Lloh15:
	ldr	x21, [x21, _optopt@GOTPAGEOFF]
Lloh16:
	adrp	x25, l_.str.1@PAGE
Lloh17:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w26, [x27]
	mov	x0, x25
	bl	_gettext
	mov	x1, x0
	ldr	w8, [x21]
	str	x8, [sp, #-16]!
	mov	x0, x26
	bl	_fprintf
	add	sp, sp, #16
	ldr	x0, [x28]
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	_getopt
	cmp	w0, #81
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #63
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
	b	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #82
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #114
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #102
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	stur	x8, [x29, #-144]                ; 8-byte Folded Spill
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w19, #1
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #1
	b	LBB0_2
LBB0_11:
	stp	w22, w19, [x29, #-136]
Lloh21:
	adrp	x8, _optind@GOTPAGE
Lloh22:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh23:
	ldr	x19, [x8]
	sub	w8, w23, w19
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	b.eq	LBB0_16
; %bb.13:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh26:
	adrp	x0, l_.str.2@PAGE
Lloh27:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_15:
	ldr	w23, [x27]
	bl	_gettext
	mov	x1, x0
	mov	x0, x23
	bl	_fprintf
	ldr	x0, [x28]
	bl	_usage
LBB0_16:
Lloh28:
	adrp	x21, _g_zfs@GOTPAGE
Lloh29:
	ldr	x21, [x21, _g_zfs@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x1, [x20, x19, lsl #3]
Lloh30:
	adrp	x8, _ZFS_TYPE_SNAPSHOT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ZFS_TYPE_SNAPSHOT@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_zfs_open
	cbz	x0, LBB0_24
; %bb.17:
	mov	x23, x0
	ldr	x1, [x20, x19, lsl #3]
	ldp	x2, x24, [x29, #-168]           ; 16-byte Folded Reload
	mov	x0, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strlcpy
	mov	x0, x24
	mov	w1, #64
	bl	_strrchr
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_verify
	strb	wzr, [x22]
	ldr	w0, [x21]
Lloh33:
	adrp	x8, _ZFS_TYPE_DATASET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ZFS_TYPE_DATASET@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_zfs_open
	cbz	x0, LBB0_23
; %bb.18:
	mov	x21, x0
	ldr	x8, [x20, x19, lsl #3]
	stur	x8, [x29, #-128]
Lloh36:
	adrp	x8, _ZFS_PROP_CREATETXG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ZFS_PROP_CREATETXG@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_zfs_prop_get_int
	stur	x0, [x29, #-120]
Lloh39:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	stur	wzr, [x29, #-112]
	cmp	x0, #0
	csel	x4, x0, xzr, gt
	ldr	x1, [x28]
Lloh42:
	adrp	x19, _rollback_check@GOTPAGE
Lloh43:
	ldr	x19, [x19, _rollback_check@GOTPAGEOFF]
	ldr	w2, [x19]
	sub	x3, x29, #136
	mov	x0, x21
	mov	w5, #0
	bl	_zfs_iter_snapshots
	mov	x20, x0
	cbnz	w0, LBB0_22
; %bb.19:
	ldr	w1, [x19]
	sub	x2, x29, #136
	mov	x0, x21
	bl	_zfs_iter_bookmarks
	mov	x20, x0
	cbnz	w0, LBB0_22
; %bb.20:
	ldur	w20, [x29, #-112]
	cbnz	w20, LBB0_22
; %bb.21:
	mov	x0, x21
	mov	x1, x23
	ldur	x2, [x29, #-144]                ; 8-byte Folded Reload
	bl	_zfs_rollback
	mov	x20, x0
LBB0_22:
	mov	x0, x23
	bl	_zfs_close
	mov	x0, x21
	bl	_zfs_close
	cmp	w20, #0
	cset	w0, ne
	b	LBB0_25
LBB0_23:
	mov	x0, x23
	bl	_zfs_close
LBB0_24:
	mov	w0, #1
LBB0_25:
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	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_27:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_B_FALSE,8,3                    ; @B_FALSE
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rRf"

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

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

	.comm	_g_zfs,4,2                      ; @g_zfs
	.comm	_ZFS_TYPE_SNAPSHOT,4,2          ; @ZFS_TYPE_SNAPSHOT
	.comm	_ZFS_TYPE_DATASET,4,2           ; @ZFS_TYPE_DATASET
	.comm	_ZFS_PROP_CREATETXG,4,2         ; @ZFS_PROP_CREATETXG
	.comm	_rollback_check,4,2             ; @rollback_check
	.no_dead_strip	_zfs_do_rollback
.subsections_via_symbols
