	.file	"extr_dcache.c_select_collect2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	select_collect2, @function
select_collect2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, DWORD PTR D_WALK_CONTINUE[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR 16[rdi], rsi
	je	.L1
	mov	eax, DWORD PTR [rsi]
	mov	r12, rdi
	mov	rbp, rsi
	test	DWORD PTR DCACHE_SHRINK_LIST[rip], eax
	jne	.L13
	test	DWORD PTR DCACHE_LRU_LIST[rip], eax
	jne	.L14
.L6:
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L15
.L5:
	mov	rdi, r12
	call	list_empty@PLT
	test	eax, eax
	jne	.L1
	call	need_resched@PLT
	mov	r13d, DWORD PTR D_WALK_QUIT[rip]
	test	rax, rax
	cmove	r13d, DWORD PTR D_WALK_NORETRY[rip]
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.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
.L13:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rsi]
	test	edx, edx
	jne	.L5
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	QWORD PTR 8[r12], rbp
	mov	r13d, DWORD PTR D_WALK_QUIT[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rsi, r12
	mov	rdi, rbp
	call	d_shrink_add@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rsi
	call	d_lru_del@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	select_collect2, .-select_collect2
	.comm	D_WALK_QUIT,4,4
	.comm	D_WALK_NORETRY,4,4
	.comm	D_WALK_CONTINUE,4,4
	.comm	DCACHE_SHRINK_LIST,4,4
	.comm	DCACHE_LRU_LIST,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_dcache.c_select_collect2.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	select_collect2, %function
select_collect2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #8]
	ldr	r3, .L16
	cmp	r2, r1
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	beq	.L1
	ldr	r2, .L16+4
	ldr	r3, [r1]
	ldr	r2, [r2]
	mov	r6, r0
	tst	r3, r2
	mov	r4, r1
	bne	.L13
	ldr	r2, .L16+8
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L14
.L6:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L15
.L5:
	mov	r0, r6
	bl	list_empty
	cmp	r0, #0
	bne	.L1
	bl	need_resched
	cmp	r0, #0
	ldrne	r3, .L16+12
	ldreq	r3, .L16+16
	ldr	r5, [r3]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, [r1, #4]
	cmp	r3, #0
	bne	.L5
	bl	rcu_read_lock
	ldr	r3, .L16+12
	str	r4, [r6, #4]
	ldr	r5, [r3]
	b	.L1
.L15:
	mov	r0, r4
	mov	r1, r6
	bl	d_shrink_add
	b	.L5
.L14:
	mov	r0, r1
	bl	d_lru_del
	b	.L6
.L17:
	.align	2
.L16:
	.word	D_WALK_CONTINUE
	.word	DCACHE_SHRINK_LIST
	.word	DCACHE_LRU_LIST
	.word	D_WALK_QUIT
	.word	D_WALK_NORETRY
	.size	select_collect2, .-select_collect2
	.comm	D_WALK_QUIT,4,4
	.comm	D_WALK_NORETRY,4,4
	.comm	D_WALK_CONTINUE,4,4
	.comm	DCACHE_SHRINK_LIST,4,4
	.comm	DCACHE_LRU_LIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
