	.file	"extr_readdir.c_fuse_add_dirent_to_cache.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fuse_add_dirent_to_cache, @function
fuse_add_dirent_to_cache:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	file_inode@PLT
	mov	edi, eax
	call	get_fuse_inode@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	FUSE_DIRENT_SIZE@PLT
	lea	r13, 24[rbx]
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	spin_lock@PLT
	cmp	QWORD PTR 32[rbx], 0
	jne	.L2
	cmp	QWORD PTR [rbx], r12
	je	.L3
.L2:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR PAGE_SIZE[rip]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR PAGE_MASK[rip]
	mov	rsi, rcx
	mov	QWORD PTR 24[rsp], rcx
	not	eax
	and	eax, ecx
	mov	rcx, QWORD PTR PAGE_SHIFT[rip]
	mov	DWORD PTR 8[rsp], eax
	add	rax, QWORD PTR [rsp]
	sar	rsi, cl
	mov	r15, rsi
	cmp	rax, rdx
	ja	.L17
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	edx, DWORD PTR 8[rsp]
	test	edx, edx
	je	.L5
	mov	edi, DWORD PTR [r14]
	mov	rsi, r15
	call	find_lock_page@PLT
	mov	r14, rax
	test	r14, r14
	je	.L1
.L19:
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L9
	mov	rax, QWORD PTR 24[rsp]
	cmp	QWORD PTR 16[rbx], rax
	je	.L18
.L9:
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, r14
	call	unlock_page@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	put_page@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, r13
	add	r15, 1
	call	spin_unlock@PLT
.L5:
	mov	edi, DWORD PTR [r14]
	call	mapping_gfp_mask@PLT
	mov	edi, DWORD PTR [r14]
	mov	rsi, r15
	mov	edx, eax
	call	find_or_create_page@PLT
	mov	DWORD PTR 8[rsp], 0
	mov	r14, rax
	test	r14, r14
	jne	.L19
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR [rbx], r12
	setne	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, r14
	call	kmap_atomic@PLT
	mov	r9, rax
	mov	eax, DWORD PTR 8[rsp]
	test	eax, eax
	je	.L20
.L11:
	mov	r12d, DWORD PTR 8[rsp]
	mov	rdx, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	QWORD PTR 8[rsp], r9
	lea	rdi, [r9+r12]
	call	memcpy@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rdi, r9
	call	kunmap_atomic@PLT
	mov	rcx, QWORD PTR PAGE_SHIFT[rip]
	mov	rax, QWORD PTR [rsp]
	sal	r15, cl
	add	r15, r12
	add	rax, r15
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR [rbx], rax
	jmp	.L9
.L20:
	mov	rdi, r9
	mov	QWORD PTR 16[rsp], r9
	call	clear_page@PLT
	mov	r9, QWORD PTR 16[rsp]
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	fuse_add_dirent_to_cache, .-fuse_add_dirent_to_cache
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,8,8
	.comm	PAGE_MASK,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_readdir.c_fuse_add_dirent_to_cache.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fuse_add_dirent_to_cache, %function
fuse_add_dirent_to_cache:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r6, r2
	mov	r9, r0
	bl	file_inode
	bl	get_fuse_inode
	mov	r4, r0
	mov	r0, r5
	bl	FUSE_DIRENT_SIZE
	add	r7, r4, #12
	mov	r8, r0
	mov	r0, r7
	bl	spin_lock
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [r4]
	cmp	r3, r6
	beq	.L3
.L2:
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	spin_unlock
.L3:
	ldr	r3, .L21
	ldr	fp, [r4, #8]
	ldr	r2, [r3]
	ldr	r3, .L21+4
	bic	r2, fp, r2
	ldr	r3, [r3]
	ldr	r1, .L21+8
	str	r2, [sp]
	add	r2, r8, r2
	ldr	r10, [r1]
	cmp	r2, r3
	ldr	r3, [r4, #4]
	mov	r0, r7
	asr	r10, fp, r10
	str	r3, [sp, #4]
	bhi	.L17
	bl	spin_unlock
	ldr	r3, [sp]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [r9]
	mov	r1, r10
	bl	find_lock_page
	mov	r9, r0
	cmp	r9, #0
	beq	.L1
.L19:
	mov	r0, r7
	bl	spin_lock
	ldr	r3, [r4, #4]
	ldr	r2, [sp, #4]
	cmp	r3, r2
	bne	.L9
	ldr	r3, [r4, #8]
	cmp	r3, fp
	beq	.L18
.L9:
	mov	r0, r7
	bl	spin_unlock
	mov	r0, r9
	bl	unlock_page
	mov	r0, r9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	put_page
.L17:
	add	r10, r10, #1
	bl	spin_unlock
.L5:
	mov	r3, #0
	ldr	r9, [r9]
	str	r3, [sp]
	mov	r0, r9
	bl	mapping_gfp_mask
	mov	r1, r10
	mov	r2, r0
	mov	r0, r9
	bl	find_or_create_page
	mov	r9, r0
	cmp	r9, #0
	bne	.L19
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r0, [r4]
	subs	r0, r0, r6
	movne	r0, #1
	bl	WARN_ON
	cmp	r0, #0
	bne	.L9
	mov	r0, r9
	bl	kmap_atomic
	ldr	r3, [sp]
	mov	r6, r0
	cmp	r3, #0
	beq	.L20
.L11:
	ldr	fp, [sp]
	mov	r2, r8
	mov	r1, r5
	add	r0, r6, fp
	bl	memcpy
	mov	r0, r6
	bl	kunmap_atomic
	ldr	r3, .L21+8
	add	r8, r8, fp
	ldr	r2, [r3]
	ldr	r3, [r5]
	add	r10, r8, r10, lsl r2
	str	r10, [r4, #8]
	str	r3, [r4]
	b	.L9
.L20:
	bl	clear_page
	b	.L11
.L22:
	.align	2
.L21:
	.word	PAGE_MASK
	.word	PAGE_SIZE
	.word	PAGE_SHIFT
	.size	fuse_add_dirent_to_cache, .-fuse_add_dirent_to_cache
	.comm	PAGE_SIZE,4,4
	.comm	PAGE_SHIFT,4,4
	.comm	PAGE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
