	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_do_checkpoint            ## -- Begin function zpool_do_checkpoint
	.p2align	4, 0x90
_zpool_do_checkpoint:                   ## @zpool_do_checkpoint
	.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	$88, %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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -112(%rbp)
	movq	_no_argument@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -104(%rbp)
	movl	$100, -88(%rbp)
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	leaq	-112(%rbp), %r12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str.2(%rip), %rdi
	callq	_gettext
	movq	_optopt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r13d, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_usage
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_getopt_long
	cmpl	$63, %eax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$100, %eax
	jne	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.9:
	cmpl	$1, %ebx
	je	LBB0_12
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
LBB0_11:
	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_12:
	movq	(%r14,%r15,8), %rbx
	movq	_g_zfs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_zpool_open
	testq	%rax, %rax
	je	LBB0_13
## %bb.15:
	movq	%rax, %r15
	cmpq	$0, -120(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movq	%r15, %rdi
	callq	_zpool_discard_checkpoint
	jmp	LBB0_18
LBB0_13:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_19
LBB0_17:
	movq	%r15, %rdi
	callq	_zpool_checkpoint
LBB0_18:
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	movq	%r15, %rdi
	callq	_zpool_close
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"discard"

	.comm	_no_argument,4,2                ## @no_argument
	.comm	_B_FALSE,8,3                    ## @B_FALSE
L_.str.1:                               ## @.str.1
	.asciz	":d"

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

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

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

	.comm	_g_zfs,4,2                      ## @g_zfs
L_.str.5:                               ## @.str.5
	.asciz	"'zpool checkpoint' doesn't work on datasets. To save the state of a dataset from a specific point in time please use 'zfs snapshot'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zpool_do_checkpoint            ; -- Begin function zpool_do_checkpoint
	.p2align	2
_zpool_do_checkpoint:                   ; @zpool_do_checkpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	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]
	str	x8, [sp, #72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	xzr, [sp, #64]
	stur	q0, [sp, #48]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, _no_argument@GOTPAGE
Lloh6:
	ldr	x9, [x9, _no_argument@GOTPAGEOFF]
	str	x8, [sp, #8]
Lloh7:
	ldr	w8, [x9]
	strb	w8, [sp, #16]
	mov	w8, #100
Lloh8:
	adrp	x26, _B_FALSE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _B_FALSE@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.1@PAGE
Lloh11:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh12:
	adrp	x24, _stderr@GOTPAGE
Lloh13:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str.2@PAGE
Lloh15:
	add	x22, x22, l_.str.2@PAGEOFF
	str	w8, [sp, #32]
Lloh16:
	adrp	x27, _optopt@GOTPAGE
Lloh17:
	ldr	x27, [x27, _optopt@GOTPAGEOFF]
Lloh18:
	adrp	x28, _B_TRUE@GOTPAGE
Lloh19:
	ldr	x28, [x28, _B_TRUE@GOTPAGEOFF]
	mov	x8, x26
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	ldr	x25, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldr	w23, [x24]
	mov	x0, x22
	bl	_gettext
	mov	x1, x0
	ldr	w8, [x27]
	str	x8, [sp]
	mov	x0, x23
	bl	_fprintf
	ldr	x0, [x26]
	bl	_usage
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x4, #0
	bl	_getopt_long
	cmp	w0, #63
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	cmp	w0, #100
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x28
	b	LBB0_1
LBB0_7:
Lloh20:
	adrp	x8, _optind@GOTPAGE
Lloh21:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x8]
	sub	w8, w20, w21
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	b.eq	LBB0_12
; %bb.9:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_11:
	ldr	w20, [x24]
	bl	_gettext
	mov	x1, x0
	mov	x0, x20
	bl	_fprintf
	ldr	x0, [x26]
	bl	_usage
LBB0_12:
	ldr	x20, [x19, x21, lsl #3]
Lloh27:
	adrp	x8, _g_zfs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _g_zfs@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_zpool_open
	cbz	x0, LBB0_15
; %bb.13:
	mov	x19, x0
	cbz	x25, LBB0_17
; %bb.14:
	bl	_zpool_discard_checkpoint
	b	LBB0_18
LBB0_15:
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.16:
	ldr	w19, [x24]
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	mov	w20, #1
	b	LBB0_19
LBB0_17:
	bl	_zpool_checkpoint
LBB0_18:
	cmp	x0, #0
	cset	w20, ne
	mov	x0, x19
	bl	_zpool_close
LBB0_19:
	ldr	x8, [sp, #72]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_21:
	mov	w20, #1
	b	LBB0_19
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"discard"

	.comm	_no_argument,4,2                ; @no_argument
	.comm	_B_FALSE,8,3                    ; @B_FALSE
l_.str.1:                               ; @.str.1
	.asciz	":d"

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

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

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

	.comm	_g_zfs,4,2                      ; @g_zfs
l_.str.5:                               ; @.str.5
	.asciz	"'zpool checkpoint' doesn't work on datasets. To save the state of a dataset from a specific point in time please use 'zfs snapshot'\n"

.subsections_via_symbols
