	.file	"extr_dcache.c_retain_dentry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	retain_dentry, @function
retain_dentry:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	d_in_lookup@PLT
	mov	edi, eax
	call	WARN_ON@PLT
	mov	rdi, rbp
	call	d_unhashed@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L2
.L4:
	xor	eax, eax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	and	edi, DWORD PTR DCACHE_DISCONNECTED[rip]
	call	unlikely@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR 0[rbp]
	and	edi, DWORD PTR DCACHE_OP_DELETE[rip]
	call	unlikely@PLT
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	test	rax, rax
	jne	.L4
.L8:
	sub	DWORD PTR 4[rbp], 1
	xor	edi, edi
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR DCACHE_LRU_LIST[rip], eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L14
	mov	rdi, rbp
	call	d_lru_add@PLT
	mov	eax, 1
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	eax, DWORD PTR 0[rbp]
	xor	edi, edi
	test	DWORD PTR DCACHE_REFERENCED[rip], eax
	sete	dil
	call	unlikely@PLT
	mov	r8, rax
	mov	eax, 1
	test	r8, r8
	je	.L1
	mov	edx, DWORD PTR DCACHE_REFERENCED[rip]
	or	DWORD PTR 0[rbp], edx
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	retain_dentry, .-retain_dentry
	.comm	DCACHE_REFERENCED,4,4
	.comm	DCACHE_OP_DELETE,4,4
	.comm	DCACHE_LRU_LIST,4,4
	.comm	DCACHE_DISCONNECTED,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_retain_dentry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	retain_dentry, %function
retain_dentry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	d_in_lookup
	bl	WARN_ON
	mov	r0, r4
	bl	d_unhashed
	bl	unlikely
	cmp	r0, #0
	beq	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L14
	ldr	r0, [r4]
	ldr	r3, [r3]
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L14+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	beq	.L8
	ldr	r3, [r4, #8]
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	cmp	r0, #0
	bne	.L4
.L8:
	ldr	r3, .L14+8
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, [r4, #4]
	tst	r1, r2
	sub	r3, r3, #1
	moveq	r0, #1
	movne	r0, #0
	str	r3, [r4, #4]
	bl	unlikely
	cmp	r0, #0
	beq	.L13
	mov	r0, r4
	bl	d_lru_add
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r5, .L14+12
	ldr	r2, [r4]
	ldr	r3, [r5]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	unlikely
	cmp	r0, #0
	ldrne	r2, [r5]
	ldrne	r3, [r4]
	movne	r0, #1
	orrne	r3, r3, r2
	moveq	r0, #1
	strne	r3, [r4]
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	DCACHE_DISCONNECTED
	.word	DCACHE_OP_DELETE
	.word	DCACHE_LRU_LIST
	.word	DCACHE_REFERENCED
	.size	retain_dentry, .-retain_dentry
	.comm	DCACHE_REFERENCED,4,4
	.comm	DCACHE_OP_DELETE,4,4
	.comm	DCACHE_LRU_LIST,4,4
	.comm	DCACHE_DISCONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
