	.file	"extr_arc.c_arc_fini.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	arc_fini
	.type	arc_fini, @function
arc_fini:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR B_TRUE[rip]
	call	arc_flush@PLT
	lea	rdi, arc_dnlc_evicts_lock[rip]
	call	mutex_enter@PLT
	mov	rax, QWORD PTR TRUE[rip]
	mov	QWORD PTR arc_dnlc_evicts_thread_exit[rip], rax
	test	rax, rax
	je	.L2
	lea	rbx, arc_dnlc_evicts_cv[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	call	cv_signal@PLT
	lea	rsi, arc_dnlc_evicts_lock[rip]
	mov	rdi, rbx
	call	cv_wait@PLT
	cmp	QWORD PTR arc_dnlc_evicts_thread_exit[rip], 0
	jne	.L3
.L2:
	lea	rdi, arc_dnlc_evicts_lock[rip]
	call	mutex_exit@PLT
	mov	eax, DWORD PTR B_FALSE[rip]
	mov	rdi, QWORD PTR arc_ksp[rip]
	mov	DWORD PTR arc_initialized[rip], eax
	test	rdi, rdi
	je	.L4
	call	kstat_delete@PLT
	mov	QWORD PTR arc_ksp[rip], 0
.L4:
	mov	edi, DWORD PTR arc_prune_taskq[rip]
	lea	rbx, arc_prune_list[rip]
	call	taskq_wait@PLT
	mov	edi, DWORD PTR arc_prune_taskq[rip]
	call	taskq_destroy@PLT
	lea	rdi, arc_prune_mtx[rip]
	call	mutex_enter@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbp
	mov	rdi, rbx
	call	list_remove@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	zfs_refcount_remove@PLT
	mov	rdi, rbp
	call	zfs_refcount_destroy@PLT
	mov	esi, 4
	mov	rdi, rbp
	call	kmem_free@PLT
.L5:
	mov	rdi, rbx
	call	list_head@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L6
	lea	rdi, arc_prune_mtx[rip]
	call	mutex_exit@PLT
	lea	rdi, arc_prune_list[rip]
	call	list_destroy@PLT
	lea	rdi, arc_prune_mtx[rip]
	call	mutex_destroy@PLT
	mov	edi, DWORD PTR arc_adjust_zthr[rip]
	call	zthr_cancel@PLT
	mov	edi, DWORD PTR arc_adjust_zthr[rip]
	call	zthr_destroy@PLT
	lea	rdi, arc_dnlc_evicts_lock[rip]
	call	mutex_destroy@PLT
	lea	rdi, arc_dnlc_evicts_cv[rip]
	call	cv_destroy@PLT
	mov	edi, DWORD PTR arc_reap_zthr[rip]
	call	zthr_cancel@PLT
	mov	edi, DWORD PTR arc_reap_zthr[rip]
	call	zthr_destroy@PLT
	lea	rdi, arc_adjust_lock[rip]
	call	mutex_destroy@PLT
	lea	rdi, arc_adjust_waiters_cv[rip]
	call	cv_destroy@PLT
	xor	eax, eax
	call	buf_fini@PLT
	xor	eax, eax
	call	arc_state_fini@PLT
	mov	edi, DWORD PTR arc_loaned_bytes[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ASSERT0@PLT
	.cfi_endproc
.LFE0:
	.size	arc_fini, .-arc_fini
	.comm	vm_lowmem,4,4
	.comm	arc_reap_zthr,4,4
	.comm	arc_prune_taskq,4,4
	.comm	arc_prune_mtx,4,4
	.comm	arc_prune_list,4,4
	.comm	arc_loaned_bytes,4,4
	.comm	arc_ksp,8,8
	.comm	arc_initialized,4,4
	.comm	arc_event_lowmem,8,8
	.comm	arc_dnlc_evicts_thread_exit,8,8
	.comm	arc_dnlc_evicts_lock,4,4
	.comm	arc_dnlc_evicts_cv,4,4
	.comm	arc_adjust_zthr,4,4
	.comm	arc_adjust_waiters_cv,4,4
	.comm	arc_adjust_lock,4,4
	.comm	TRUE,8,8
	.comm	B_TRUE,4,4
	.comm	B_FALSE,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_arc.c_arc_fini.c"
	.text
	.align	2
	.global	arc_fini
	.syntax unified
	.arm
	.fpu softvfp
	.type	arc_fini, %function
arc_fini:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	mov	r0, #0
	bl	arc_flush
	ldr	r0, .L16+4
	bl	mutex_enter
	ldr	r3, .L16+8
	ldr	r5, .L16+12
	ldr	r3, [r3]
	cmp	r3, #0
	str	r3, [r5]
	beq	.L2
	ldr	r4, .L16+16
	ldr	r6, .L16+4
.L3:
	mov	r0, r4
	bl	cv_signal
	mov	r1, r6
	mov	r0, r4
	bl	cv_wait
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r0, .L16+4
	ldr	r4, .L16+20
	bl	mutex_exit
	ldr	r3, .L16+24
	ldr	r0, [r4]
	ldr	r2, [r3]
	ldr	r3, .L16+28
	cmp	r0, #0
	str	r2, [r3]
	beq	.L4
	bl	kstat_delete
	mov	r3, #0
	str	r3, [r4]
.L4:
	ldr	r4, .L16+32
	ldr	r5, .L16+36
	ldr	r0, [r4]
	bl	taskq_wait
	ldr	r0, [r4]
	bl	taskq_destroy
	ldr	r0, .L16+40
	bl	mutex_enter
	b	.L5
.L6:
	mov	r1, r4
	mov	r0, r5
	bl	list_remove
	mov	r1, r5
	mov	r0, r4
	bl	zfs_refcount_remove
	mov	r0, r4
	bl	zfs_refcount_destroy
	mov	r0, r4
	mov	r1, #4
	bl	kmem_free
.L5:
	mov	r0, r5
	bl	list_head
	subs	r4, r0, #0
	bne	.L6
	ldr	r0, .L16+40
	bl	mutex_exit
	ldr	r4, .L16+44
	ldr	r0, .L16+36
	bl	list_destroy
	ldr	r0, .L16+40
	bl	mutex_destroy
	ldr	r0, [r4]
	bl	zthr_cancel
	ldr	r0, [r4]
	bl	zthr_destroy
	ldr	r4, .L16+48
	ldr	r0, .L16+4
	bl	mutex_destroy
	ldr	r0, .L16+16
	bl	cv_destroy
	ldr	r0, [r4]
	bl	zthr_cancel
	ldr	r0, [r4]
	bl	zthr_destroy
	ldr	r0, .L16+52
	bl	mutex_destroy
	ldr	r0, .L16+56
	bl	cv_destroy
	bl	buf_fini
	bl	arc_state_fini
	pop	{r4, r5, r6, lr}
	ldr	r3, .L16+60
	ldr	r0, [r3]
	b	ASSERT0
.L17:
	.align	2
.L16:
	.word	B_TRUE
	.word	arc_dnlc_evicts_lock
	.word	TRUE
	.word	arc_dnlc_evicts_thread_exit
	.word	arc_dnlc_evicts_cv
	.word	arc_ksp
	.word	B_FALSE
	.word	arc_initialized
	.word	arc_prune_taskq
	.word	arc_prune_list
	.word	arc_prune_mtx
	.word	arc_adjust_zthr
	.word	arc_reap_zthr
	.word	arc_adjust_lock
	.word	arc_adjust_waiters_cv
	.word	arc_loaned_bytes
	.size	arc_fini, .-arc_fini
	.comm	vm_lowmem,4,4
	.comm	arc_reap_zthr,4,4
	.comm	arc_prune_taskq,4,4
	.comm	arc_prune_mtx,4,4
	.comm	arc_prune_list,4,4
	.comm	arc_loaned_bytes,4,4
	.comm	arc_ksp,4,4
	.comm	arc_initialized,4,4
	.comm	arc_event_lowmem,4,4
	.comm	arc_dnlc_evicts_thread_exit,4,4
	.comm	arc_dnlc_evicts_lock,4,4
	.comm	arc_dnlc_evicts_cv,4,4
	.comm	arc_adjust_zthr,4,4
	.comm	arc_adjust_waiters_cv,4,4
	.comm	arc_adjust_lock,4,4
	.comm	TRUE,4,4
	.comm	B_TRUE,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
