	.file	"extr_arc_os.c_arc_prune_async.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	arc_prune_async
	.type	arc_prune_async, @function
arc_prune_async:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edi
	lea	rdi, arc_prune_mtx[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	mutex_enter@PLT
	lea	rdi, arc_prune_list[rip]
	call	list_head@PLT
	test	rax, rax
	je	.L2
	mov	rbp, rax
	lea	r13, arc_prune_list[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, rbp
	mov	rdi, r13
	call	list_next@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
.L5:
	lea	r12, 4[rbp]
	mov	rdi, r12
	call	zfs_refcount_count@PLT
	cmp	eax, 1
	jg	.L3
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r12
	call	zfs_refcount_add@PLT
	mov	DWORD PTR 8[rbp], ebx
	mov	rdx, rbp
	mov	ecx, DWORD PTR TQ_SLEEP[rip]
	mov	esi, DWORD PTR arc_prune_task[rip]
	mov	edi, DWORD PTR arc_prune_taskq[rip]
	call	taskq_dispatch@PLT
	cmp	rax, QWORD PTR TASKQID_INVALID[rip]
	je	.L12
	mov	edi, DWORD PTR arcstat_prune[rip]
	call	ARCSTAT_BUMP@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, arc_prune_mtx[rip]
	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	mutex_exit@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r12
	call	zfs_refcount_remove@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	arc_prune_async, .-arc_prune_async
	.comm	arcstat_prune,4,4
	.comm	arc_prune_taskq,4,4
	.comm	arc_prune_task,4,4
	.comm	arc_prune_mtx,4,4
	.comm	arc_prune_list,4,4
	.comm	TQ_SLEEP,4,4
	.comm	TASKQID_INVALID,8,8
	.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_os.c_arc_prune_async.c"
	.text
	.align	2
	.global	arc_prune_async
	.syntax unified
	.arm
	.fpu softvfp
	.type	arc_prune_async, %function
arc_prune_async:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	ldr	r0, .L13
	bl	mutex_enter
	ldr	r0, .L13+4
	bl	list_head
	subs	fp, r0, #0
	beq	.L2
	ldr	r10, .L13+8
	ldr	r9, .L13+12
	ldr	r8, .L13+16
	ldr	r7, .L13+20
	ldr	r5, .L13+4
	b	.L5
.L3:
	mov	r1, fp
	mov	r0, r5
	bl	list_next
	subs	fp, r0, #0
	beq	.L2
.L5:
	add	r4, fp, #4
	mov	r0, r4
	bl	zfs_refcount_count
	cmp	r0, #1
	bgt	.L3
	ldr	r1, [fp]
	mov	r0, r4
	bl	zfs_refcount_add
	ldr	r3, [r10]
	mov	r2, fp
	ldr	r1, [r9]
	ldr	r0, [r8]
	str	r6, [fp, #8]
	bl	taskq_dispatch
	ldr	r3, [r7]
	cmp	r0, r3
	beq	.L12
	ldr	r3, .L13+24
	ldr	r0, [r3]
	bl	ARCSTAT_BUMP
	b	.L3
.L2:
	ldr	r0, .L13
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	mutex_exit
.L12:
	mov	r0, r4
	ldr	r1, [fp]
	bl	zfs_refcount_remove
	b	.L3
.L14:
	.align	2
.L13:
	.word	arc_prune_mtx
	.word	arc_prune_list
	.word	TQ_SLEEP
	.word	arc_prune_task
	.word	arc_prune_taskq
	.word	TASKQID_INVALID
	.word	arcstat_prune
	.size	arc_prune_async, .-arc_prune_async
	.comm	arcstat_prune,4,4
	.comm	arc_prune_taskq,4,4
	.comm	arc_prune_task,4,4
	.comm	arc_prune_mtx,4,4
	.comm	arc_prune_list,4,4
	.comm	TQ_SLEEP,4,4
	.comm	TASKQID_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
