	.file	"extr_dnode.c_dnode_block_freed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dnode_block_freed
	.type	dnode_block_freed, @function
dnode_block_freed:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR 24[rdi]
	mov	edi, DWORD PTR [rax]
	call	spa_get_dsl@PLT
	cmp	DWORD PTR DMU_BONUS_BLKID[rip], r13d
	je	.L4
	test	rax, rax
	je	.L4
	cmp	QWORD PTR 16[rbp], 0
	mov	eax, DWORD PTR TRUE[rip]
	jne	.L1
	cmp	DWORD PTR DMU_SPILL_BLKID[rip], r13d
	mov	rdi, rbp
	je	.L21
	call	mutex_enter@PLT
	mov	eax, DWORD PTR TXG_SIZE[rip]
	test	eax, eax
	jle	.L11
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 8[rbp]
	mov	r14d, ebx
	mov	r12d, ebx
	mov	rdi, QWORD PTR [rax+rbx*8]
	test	rdi, rdi
	je	.L10
	mov	edx, 1
	mov	esi, r13d
	call	range_tree_contains@PLT
	test	rax, rax
	jne	.L7
.L10:
	add	rbx, 1
	cmp	DWORD PTR TXG_SIZE[rip], ebx
	lea	r12d, 1[r14]
	jg	.L9
.L7:
	mov	rdi, rbp
	call	mutex_exit@PLT
	xor	eax, eax
	cmp	DWORD PTR TXG_SIZE[rip], r12d
	setg	al
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR FALSE[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	dnode_spill_freed@PLT
.L11:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	dnode_block_freed, .-dnode_block_freed
	.comm	TXG_SIZE,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	DMU_SPILL_BLKID,4,4
	.comm	DMU_BONUS_BLKID,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_dnode.c_dnode_block_freed.c"
	.text
	.align	2
	.global	dnode_block_freed
	.syntax unified
	.arm
	.fpu softvfp
	.type	dnode_block_freed, %function
dnode_block_freed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	ldr	r3, [r0, #12]
	mov	r5, r0
	ldr	r0, [r3]
	bl	spa_get_dsl
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L4
	cmp	r0, #0
	beq	.L4
	ldr	r4, [r5, #8]
	cmp	r4, #0
	bne	.L20
	ldr	r3, .L22+4
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L21
	ldr	r7, .L22+8
	mov	r0, r5
	bl	mutex_enter
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L7
.L9:
	ldr	r3, [r5, #4]
	ldr	r0, [r3, r4, lsl #2]
	cmp	r0, #0
	beq	.L10
	mov	r2, #1
	mov	r1, r6
	bl	range_tree_contains
	cmp	r0, #0
	bne	.L7
.L10:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L9
.L7:
	mov	r0, r5
	bl	mutex_exit
	ldr	r0, [r7]
	cmp	r0, r4
	movle	r0, #0
	movgt	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r3, .L22+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L22+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	dnode_spill_freed
.L23:
	.align	2
.L22:
	.word	DMU_BONUS_BLKID
	.word	DMU_SPILL_BLKID
	.word	TXG_SIZE
	.word	TRUE
	.word	FALSE
	.size	dnode_block_freed, .-dnode_block_freed
	.comm	TXG_SIZE,4,4
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.comm	DMU_SPILL_BLKID,4,4
	.comm	DMU_BONUS_BLKID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
