	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_checkpoint
_verify_checkpoint:                     ## @verify_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_SPA_FEATURE_POOL_CHECKPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_spa_feature_is_active
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movl	(%r15), %edi
	movq	_DMU_POOL_DIRECTORY_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DMU_POOL_ZPOOL_CHECKPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %r9
	movl	$4, %ecx
	movl	$2, %r8d
	callq	_zap_lookup
	movl	%eax, %ebx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.2:
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 304(%rax)
	je	LBB0_3
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%ebx, %r14d
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	-32(%rbp), %rdi
	callq	_dump_uberblock
	cmpq	$0, -32(%rbp)
	je	LBB0_7
## %bb.8:
	movq	_dump_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 304(%rax)
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_verify_checkpoint_blocks
	jmp	LBB0_10
LBB0_3:
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	movq	%r15, %rdi
	callq	_dump_leftover_checkpoint_blocks
	jmp	LBB0_10
LBB0_7:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$3, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_FEATURE_POOL_CHECKPOINT,4,2 ## @SPA_FEATURE_POOL_CHECKPOINT
	.comm	_DMU_POOL_DIRECTORY_OBJECT,4,2  ## @DMU_POOL_DIRECTORY_OBJECT
	.comm	_DMU_POOL_ZPOOL_CHECKPOINT,4,2  ## @DMU_POOL_ZPOOL_CHECKPOINT
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_dump_opt,8,3                   ## @dump_opt
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"lookup error %d when looking for checkpointed uberblock in MOS\n"

L_.str.2:                               ## @.str.2
	.asciz	"\nCheckpointed uberblock found:\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

L_str:                                  ## @str
	.asciz	"\nub_checkpoint_txg not set in checkpointed uberblock"

L_str.5:                                ## @str.5
	.asciz	"\nPartially discarded checkpoint state found:"

	.no_dead_strip	_verify_checkpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_checkpoint
_verify_checkpoint:                     ; @verify_checkpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _SPA_FEATURE_POOL_CHECKPOINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPA_FEATURE_POOL_CHECKPOINT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_spa_feature_is_active
	cbz	w0, LBB0_9
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _DMU_POOL_DIRECTORY_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMU_POOL_DIRECTORY_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DMU_POOL_ZPOOL_CHECKPOINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMU_POOL_ZPOOL_CHECKPOINT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x5, sp, #8
	mov	w3, #4
	mov	w4, #2
	bl	_zap_lookup
	mov	x20, x0
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _dump_opt@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x8, #304]
	cbz	w8, LBB0_8
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
	str	x20, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	b	LBB0_10
LBB0_5:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh19:
	adrp	x2, l_.str.3@PAGE
Lloh20:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #8
	bl	_dump_uberblock
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.6:
Lloh21:
	adrp	x8, _dump_opt@GOTPAGE
Lloh22:
	ldr	x8, [x8, _dump_opt@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w8, [x8, #304]
	cbnz	w8, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_verify_checkpoint_blocks
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x0, l_str.5@PAGE
Lloh25:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_dump_leftover_checkpoint_blocks
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
Lloh26:
	adrp	x0, l_str@PAGE
Lloh27:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w20, #3
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_FEATURE_POOL_CHECKPOINT,4,2 ; @SPA_FEATURE_POOL_CHECKPOINT
	.comm	_DMU_POOL_DIRECTORY_OBJECT,4,2  ; @DMU_POOL_DIRECTORY_OBJECT
	.comm	_DMU_POOL_ZPOOL_CHECKPOINT,4,2  ; @DMU_POOL_ZPOOL_CHECKPOINT
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_dump_opt,8,3                   ; @dump_opt
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"lookup error %d when looking for checkpointed uberblock in MOS\n"

l_.str.2:                               ; @.str.2
	.asciz	"\nCheckpointed uberblock found:\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

l_str:                                  ; @str
	.asciz	"\nub_checkpoint_txg not set in checkpointed uberblock"

l_str.5:                                ; @str.5
	.asciz	"\nPartially discarded checkpoint state found:"

	.no_dead_strip	_verify_checkpoint
.subsections_via_symbols
