	.file	"extr_dsl_dataset.c_dsl_dataset_evict_async.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dsl_dataset_evict_async, @function
dsl_dataset_evict_async:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR 80[rdi], 0
	sete	dil
	movzx	edi, dil
	call	ASSERT@PLT
	mov	rdi, QWORD PTR 64[rbp]
	mov	QWORD PTR 72[rbp], 0
	test	rdi, rdi
	je	.L2
	call	dmu_objset_evict@PLT
.L2:
	mov	rdi, QWORD PTR 56[rbp]
	test	rdi, rdi
	je	.L3
	mov	rsi, rbp
	call	dsl_dataset_rele@PLT
	mov	QWORD PTR 56[rbp], 0
.L3:
	lea	rdi, 48[rbp]
	lea	r12, 44[rbp]
	call	bplist_destroy@PLT
	mov	rdi, r12
	call	dsl_deadlist_is_open@PLT
	test	rax, rax
	jne	.L32
.L4:
	lea	r12, 40[rbp]
	mov	rdi, r12
	call	dsl_deadlist_is_open@PLT
	test	rax, rax
	jne	.L33
.L5:
	mov	rdi, QWORD PTR 32[rbp]
	test	rdi, rdi
	jne	.L34
.L6:
	lea	rdi, 28[rbp]
	lea	r12, 20[rbp]
	call	list_link_active@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	ASSERT@PLT
	lea	rdi, 24[rbp]
	call	list_destroy@PLT
	mov	rdi, r12
	call	mutex_owned@PLT
	test	rax, rax
	jne	.L35
.L7:
	mov	rdi, r12
	lea	r12, 16[rbp]
	call	mutex_destroy@PLT
	mov	rdi, r12
	call	mutex_owned@PLT
	test	rax, rax
	jne	.L36
.L8:
	mov	rdi, r12
	call	mutex_destroy@PLT
	lea	rdi, 12[rbp]
	call	mutex_destroy@PLT
	lea	rdi, 8[rbp]
	call	mutex_destroy@PLT
	lea	rdi, 4[rbp]
	call	zfs_refcount_destroy@PLT
	mov	rdi, rbp
	call	rrw_destroy@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 88
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kmem_free@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	mov	rdi, r12
	call	dsl_deadlist_close@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, r12
	call	mutex_exit@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, r12
	call	mutex_exit@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rsi, rbp
	call	dsl_dir_async_rele@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rdi, r12
	call	dsl_deadlist_close@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	dsl_dataset_evict_async, .-dsl_dataset_evict_async
	.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_dsl_dataset.c_dsl_dataset_evict_async.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsl_dataset_evict_async, %function
dsl_dataset_evict_async:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #60]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	mov	r3, #0
	ldr	r0, [r4, #52]
	str	r3, [r4, #56]
	cmp	r0, r3
	beq	.L2
	bl	dmu_objset_evict
.L2:
	ldr	r0, [r4, #48]
	cmp	r0, #0
	beq	.L3
	mov	r1, r4
	bl	dsl_dataset_rele
	mov	r3, #0
	str	r3, [r4, #48]
.L3:
	add	r0, r4, #44
	add	r5, r4, #40
	bl	bplist_destroy
	mov	r0, r5
	bl	dsl_deadlist_is_open
	cmp	r0, #0
	bne	.L32
.L4:
	add	r5, r4, #36
	mov	r0, r5
	bl	dsl_deadlist_is_open
	cmp	r0, #0
	bne	.L33
.L5:
	ldr	r0, [r4, #32]
	cmp	r0, #0
	bne	.L34
.L6:
	add	r0, r4, #28
	bl	list_link_active
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	add	r5, r4, #20
	add	r0, r4, #24
	bl	list_destroy
	mov	r0, r5
	bl	mutex_owned
	cmp	r0, #0
	bne	.L35
.L7:
	mov	r0, r5
	add	r5, r4, #16
	bl	mutex_destroy
	mov	r0, r5
	bl	mutex_owned
	cmp	r0, #0
	bne	.L36
.L8:
	mov	r0, r5
	bl	mutex_destroy
	add	r0, r4, #12
	bl	mutex_destroy
	add	r0, r4, #8
	bl	mutex_destroy
	add	r0, r4, #4
	bl	zfs_refcount_destroy
	mov	r0, r4
	bl	rrw_destroy
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #64
	b	kmem_free
.L32:
	mov	r0, r5
	bl	dsl_deadlist_close
	b	.L4
.L36:
	mov	r0, r5
	bl	mutex_exit
	b	.L8
.L35:
	mov	r0, r5
	bl	mutex_exit
	b	.L7
.L34:
	mov	r1, r4
	bl	dsl_dir_async_rele
	b	.L6
.L33:
	mov	r0, r5
	bl	dsl_deadlist_close
	b	.L5
	.size	dsl_dataset_evict_async, .-dsl_dataset_evict_async
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
