	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zdb_leak_init_vdev_exclude_checkpoint
_zdb_leak_init_vdev_exclude_checkpoint: ## @zdb_leak_init_vdev_exclude_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	movq	$0, -40(%rbp)
	cmpl	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%r15, %rdi
	callq	_spa_meta_objset
	movl	8(%rbx), %esi
	movq	_VDEV_TOP_ZAP_POOL_CHECKPOINT_SM@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%eax, %edi
	callq	_zap_contains
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_spa_meta_objset
	movl	8(%rbx), %esi
	movl	(%r12), %edx
	leaq	-44(%rbp), %r9
	movl	%eax, %edi
	movl	$4, %ecx
	movl	$1, %r8d
	callq	_zap_lookup
	movl	%eax, %edi
	callq	_VERIFY0
	movq	%rbx, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	%r15, %rdi
	callq	_spa_meta_objset
	movl	-44(%rbp), %edx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	leaq	-40(%rbp), %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_space_map_open
	movl	%eax, %edi
	callq	_VERIFY0
	movq	-40(%rbp), %rdi
	callq	_space_map_update
	movq	-40(%rbp), %rdi
	movq	_checkpoint_sm_exclude_entry_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_space_map_iterate
	movl	%eax, %edi
	callq	_VERIFY0
	movq	-40(%rbp), %rdi
	callq	_space_map_close
	movl	-64(%rbp), %eax
	addl	%eax, (%r14)
LBB0_3:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDEV_TOP_ZAP_POOL_CHECKPOINT_SM,4,2 ## @VDEV_TOP_ZAP_POOL_CHECKPOINT_SM
	.comm	_checkpoint_sm_exclude_entry_cb,4,2 ## @checkpoint_sm_exclude_entry_cb
	.no_dead_strip	_zdb_leak_init_vdev_exclude_checkpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zdb_leak_init_vdev_exclude_checkpoint
_zdb_leak_init_vdev_exclude_checkpoint: ; @zdb_leak_init_vdev_exclude_checkpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x21, [x0, #16]
	str	xzr, [sp, #24]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x0, x21
	bl	_spa_meta_objset
	ldr	w1, [x20, #8]
Lloh0:
	adrp	x22, _VDEV_TOP_ZAP_POOL_CHECKPOINT_SM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VDEV_TOP_ZAP_POOL_CHECKPOINT_SM@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_zap_contains
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_spa_meta_objset
	ldr	w1, [x20, #8]
	ldr	w2, [x22]
	add	x5, sp, #20
	mov	w3, #4
	mov	w4, #1
	bl	_zap_lookup
	bl	_VERIFY0
	stp	xzr, x20, [sp]
	mov	x0, x21
	bl	_spa_meta_objset
	mov	x1, x0
	ldr	w2, [sp, #20]
	ldp	w5, w4, [x20]
	add	x0, sp, #24
	mov	w3, #0
	bl	_space_map_open
	bl	_VERIFY0
	ldr	x0, [sp, #24]
	bl	_space_map_update
	ldr	x0, [sp, #24]
Lloh2:
	adrp	x8, _checkpoint_sm_exclude_entry_cb@GOTPAGE
Lloh3:
	ldr	x8, [x8, _checkpoint_sm_exclude_entry_cb@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_space_map_iterate
	bl	_VERIFY0
	ldr	x0, [sp, #24]
	bl	_space_map_close
	ldr	w8, [sp]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VDEV_TOP_ZAP_POOL_CHECKPOINT_SM,4,2 ; @VDEV_TOP_ZAP_POOL_CHECKPOINT_SM
	.comm	_checkpoint_sm_exclude_entry_cb,4,2 ; @checkpoint_sm_exclude_entry_cb
	.no_dead_strip	_zdb_leak_init_vdev_exclude_checkpoint
.subsections_via_symbols
