	.file	"extr_zdb.c_dump_leftover_checkpoint_blocks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dump_leftover_checkpoint_blocks, @function
dump_leftover_checkpoint_blocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r13, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 0[r13], 0
	je	.L1
	lea	rax, 32[rsp]
	mov	r14, rdi
	xor	ebx, ebx
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 24[r13]
	mov	rbp, QWORD PTR [rax+rbx*8]
	mov	QWORD PTR 24[rsp], 0
	mov	r12, QWORD PTR 8[rbp]
	test	r12, r12
	je	.L4
	mov	r15d, DWORD PTR VDEV_TOP_ZAP_POOL_CHECKPOINT_SM[rip]
	mov	rdi, r14
	call	spa_meta_objset@PLT
	mov	rsi, r12
	mov	edi, eax
	mov	edx, r15d
	call	zap_contains@PLT
	test	rax, rax
	jne	.L4
	mov	edx, DWORD PTR VDEV_TOP_ZAP_POOL_CHECKPOINT_SM[rip]
	mov	r12, QWORD PTR 8[rbp]
	mov	rdi, r14
	mov	DWORD PTR 4[rsp], edx
	call	spa_meta_objset@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	r9, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	r8d, 1
	mov	ecx, 8
	mov	edi, eax
	call	zap_lookup@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	mov	r9d, DWORD PTR 16[rbp]
	mov	r12, QWORD PTR 32[rsp]
	mov	rdi, r14
	mov	ebp, DWORD PTR 20[rbp]
	mov	DWORD PTR 4[rsp], r9d
	call	spa_meta_objset@PLT
	mov	r9d, DWORD PTR 4[rsp]
	mov	r8d, ebp
	xor	ecx, ecx
	mov	esi, eax
	mov	rdx, r12
	lea	rdi, 24[rsp]
	call	space_map_open@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	mov	edi, DWORD PTR [r14]
	mov	rsi, QWORD PTR 24[rsp]
	call	dump_spacemap@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	space_map_close@PLT
.L4:
	add	rbx, 1
	cmp	QWORD PTR 0[r13], rbx
	ja	.L5
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dump_leftover_checkpoint_blocks, .-dump_leftover_checkpoint_blocks
	.comm	VDEV_TOP_ZAP_POOL_CHECKPOINT_SM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zdb.c_dump_leftover_checkpoint_blocks.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_leftover_checkpoint_blocks, %function
dump_leftover_checkpoint_blocks:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r0, #4]
	ldr	r3, .L20
	ldr	r2, [r6]
	sub	sp, sp, #28
	cmp	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L1
	mov	r4, #0
	mov	r7, r0
	mov	r8, r4
	ldr	r9, .L20+4
	add	r10, sp, #16
.L5:
	ldr	r3, [r6, #16]
	ldr	r5, [r3, r4, lsl #2]
	str	r8, [sp, #12]
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L4
	mov	r0, r7
	bl	spa_meta_objset
	ldr	r2, [r9]
	ldr	r1, [r5, #4]
	bl	zap_contains
	subs	fp, r0, #0
	bne	.L17
	mov	r0, r7
	bl	spa_meta_objset
	mov	r2, #1
	ldr	r1, [r5, #4]
	mov	r3, #4
	stm	sp, {r2, r10}
	ldr	r2, [r9]
	bl	zap_lookup
	bl	VERIFY0
	mov	r0, r7
	bl	spa_meta_objset
	ldr	r3, [r5, #8]
	mov	r1, r0
	str	r3, [sp, #4]
	ldr	r2, [r5, #12]
	mov	r3, fp
	str	r2, [sp]
	add	r0, sp, #12
	ldr	r2, [sp, #16]
	bl	space_map_open
	bl	VERIFY0
	ldr	r1, [sp, #12]
	ldr	r0, [r7]
	bl	dump_spacemap
	ldr	r0, [sp, #12]
	bl	space_map_close
.L17:
	ldr	r2, [r6]
.L4:
	add	r4, r4, #1
	cmp	r2, r4
	bhi	.L5
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	VDEV_TOP_ZAP_POOL_CHECKPOINT_SM
	.size	dump_leftover_checkpoint_blocks, .-dump_leftover_checkpoint_blocks
	.comm	VDEV_TOP_ZAP_POOL_CHECKPOINT_SM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
