	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zpool_has_checkpoint
_zpool_has_checkpoint:                  ## @zpool_has_checkpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorl	%esi, %esi
	callq	_zpool_get_config
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	$0, -8(%rbp)
	movq	_ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_fnvlist_lookup_nvlist
	movq	_ZPOOL_CONFIG_CHECKPOINT_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-8(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	movq	%rax, %rdi
	callq	_nvlist_lookup_uint64_array
	movq	-8(%rbp), %rcx
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.2:
	movq	(%rcx), %rcx
	movq	_CS_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.3:
	movq	_CS_CHECKPOINT_EXISTS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	%al
	movq	_CS_CHECKPOINT_DISCARDING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_B_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ## @ZPOOL_CONFIG_VDEV_TREE
	.comm	_ZPOOL_CONFIG_CHECKPOINT_STATS,4,2 ## @ZPOOL_CONFIG_CHECKPOINT_STATS
	.comm	_CS_NONE,8,3                    ## @CS_NONE
	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.comm	_CS_CHECKPOINT_EXISTS,8,3       ## @CS_CHECKPOINT_EXISTS
	.comm	_CS_CHECKPOINT_DISCARDING,8,3   ## @CS_CHECKPOINT_DISCARDING
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.no_dead_strip	_zpool_has_checkpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zpool_has_checkpoint
_zpool_has_checkpoint:                  ; @zpool_has_checkpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, #0
	bl	_zpool_get_config
	cbz	x0, LBB0_3
; %bb.1:
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_fnvlist_lookup_nvlist
Lloh3:
	adrp	x8, _ZPOOL_CONFIG_CHECKPOINT_STATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZPOOL_CONFIG_CHECKPOINT_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_nvlist_lookup_uint64_array
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _CS_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CS_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x9, _CS_CHECKPOINT_EXISTS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CS_CHECKPOINT_EXISTS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh14:
	adrp	x9, _CS_CHECKPOINT_DISCARDING@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CS_CHECKPOINT_DISCARDING@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_assert
Lloh17:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ZPOOL_CONFIG_VDEV_TREE,4,2     ; @ZPOOL_CONFIG_VDEV_TREE
	.comm	_ZPOOL_CONFIG_CHECKPOINT_STATS,4,2 ; @ZPOOL_CONFIG_CHECKPOINT_STATS
	.comm	_CS_NONE,8,3                    ; @CS_NONE
	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.comm	_CS_CHECKPOINT_EXISTS,8,3       ; @CS_CHECKPOINT_EXISTS
	.comm	_CS_CHECKPOINT_DISCARDING,8,3   ; @CS_CHECKPOINT_DISCARDING
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.no_dead_strip	_zpool_has_checkpoint
.subsections_via_symbols
