	.file	"extr_spa_checkpoint.c_spa_checkpoint_get_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	spa_checkpoint_get_stats
	.type	spa_checkpoint_get_stats, @function
spa_checkpoint_get_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SPA_FEATURE_POOL_CHECKPOINT[rip]
	call	spa_feature_is_active@PLT
	test	eax, eax
	je	.L10
	mov	esi, 12
	mov	rdi, rbp
	call	bzero@PLT
	mov	r12d, DWORD PTR DMU_POOL_DIRECTORY_OBJECT[rip]
	mov	r13d, DWORD PTR DMU_POOL_ZPOOL_CHECKPOINT[rip]
	mov	rdi, rbx
	call	spa_meta_objset@PLT
	mov	edi, eax
	mov	esi, r12d
	mov	edx, r13d
	call	zap_contains@PLT
	mov	edi, 1
	mov	r12d, eax
	test	eax, eax
	jne	.L11
.L3:
	call	ASSERT@PLT
	cmp	DWORD PTR ENOENT[rip], r12d
	mov	eax, DWORD PTR CS_CHECKPOINT_EXISTS[rip]
	je	.L12
.L5:
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR [rbx]
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	edi, edi
	cmp	DWORD PTR ENOENT[rip], eax
	sete	dil
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR CS_CHECKPOINT_DISCARDING[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR ZFS_ERR_NO_CHECKPOINT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	SET_ERROR@PLT
	.cfi_endproc
.LFE0:
	.size	spa_checkpoint_get_stats, .-spa_checkpoint_get_stats
	.comm	ZFS_ERR_NO_CHECKPOINT,4,4
	.comm	SPA_FEATURE_POOL_CHECKPOINT,4,4
	.comm	ENOENT,4,4
	.comm	DMU_POOL_ZPOOL_CHECKPOINT,4,4
	.comm	DMU_POOL_DIRECTORY_OBJECT,4,4
	.comm	CS_CHECKPOINT_EXISTS,4,4
	.comm	CS_CHECKPOINT_DISCARDING,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_spa_checkpoint.c_spa_checkpoint_get_stats.c"
	.text
	.align	2
	.global	spa_checkpoint_get_stats
	.syntax unified
	.arm
	.fpu softvfp
	.type	spa_checkpoint_get_stats, %function
spa_checkpoint_get_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, [r3]
	mov	r5, r0
	bl	spa_feature_is_active
	cmp	r0, #0
	beq	.L9
	mov	r1, #12
	mov	r0, r4
	bl	bzero
	mov	r0, r5
	bl	spa_meta_objset
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	zap_contains
	subs	r6, r0, #0
	ldrne	r7, .L10+12
	ldreq	r7, .L10+12
	ldrne	r0, [r7]
	moveq	r0, #1
	subne	r0, r0, r6
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	ASSERT
	ldr	r3, [r7]
	ldr	r2, [r5, #4]
	cmp	r3, r6
	ldreq	r3, .L10+16
	ldrne	r3, .L10+20
	mov	r0, #0
	ldr	r1, [r3]
	ldr	r3, [r5]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L10+24
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r3]
	b	SET_ERROR
.L11:
	.align	2
.L10:
	.word	SPA_FEATURE_POOL_CHECKPOINT
	.word	DMU_POOL_DIRECTORY_OBJECT
	.word	DMU_POOL_ZPOOL_CHECKPOINT
	.word	ENOENT
	.word	CS_CHECKPOINT_DISCARDING
	.word	CS_CHECKPOINT_EXISTS
	.word	ZFS_ERR_NO_CHECKPOINT
	.size	spa_checkpoint_get_stats, .-spa_checkpoint_get_stats
	.comm	ZFS_ERR_NO_CHECKPOINT,4,4
	.comm	SPA_FEATURE_POOL_CHECKPOINT,4,4
	.comm	ENOENT,4,4
	.comm	DMU_POOL_ZPOOL_CHECKPOINT,4,4
	.comm	DMU_POOL_DIRECTORY_OBJECT,4,4
	.comm	CS_CHECKPOINT_EXISTS,4,4
	.comm	CS_CHECKPOINT_DISCARDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
