	.file	"extr_dir.c___dcache_readdir.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"__dcache_readdir %p v%u at %llx\n"
	.align 8
.LC1:
	.string	"__dcache_readdir %p cache idx %llu\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	" %llx dentry %p %pd %p\n"
	.text
	.p2align 4
	.type	__dcache_readdir, @function
__dcache_readdir:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	DWORD PTR 20[rsp], edx
	lea	r15, 52[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR [rdi]
	mov	rdi, rax
	mov	QWORD PTR [rsp], rax
	call	d_inode@PLT
	mov	ecx, DWORD PTR [r12]
	mov	edx, ebx
	lea	rdi, .LC0[rip]
	mov	QWORD PTR 40[rsp], rax
	mov	rsi, rax
	xor	eax, eax
	mov	DWORD PTR 52[rsp], 0
	call	dout@PLT
	cmp	DWORD PTR [r12], 2
	jg	.L36
.L2:
	xor	r14d, r14d
	mov	esi, r13d
	mov	QWORD PTR 8[rsp], r14
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, rbp
	call	dput@PLT
.L16:
	mov	esi, r14d
.L9:
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, r15
	lea	r14d, 1[rsi]
	call	__dcache_find_get_entry@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L37
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L38
	lea	r13, 12[rbp]
	mov	rdi, r13
	call	spin_lock@PLT
	mov	rdi, rbp
	call	ceph_dentry@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	d_unhashed@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, rbp
	call	d_really_is_negative@PLT
	test	rax, rax
	jne	.L14
	mov	eax, DWORD PTR 20[rsp]
	cmp	DWORD PTR 4[rbx], eax
	jne	.L14
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR [r12]
	call	fpos_cmp@PLT
	test	rax, rax
	jg	.L39
	mov	rdi, rbx
	call	__ceph_dentry_dir_lease_touch@PLT
	mov	rdi, r13
	call	spin_unlock@PLT
	mov	rdi, rbp
	call	d_inode@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rcx, rbp
	mov	rdx, rbp
	mov	r8, rax
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	dout@PLT
	mov	eax, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	DWORD PTR [r12], eax
	call	d_inode@PLT
	mov	rdi, rbp
	mov	ebx, DWORD PTR [rax]
	call	d_inode@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR 4[rax]
	sar	ebx, 12
	call	ceph_translate_ino@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 0[rbp]
	mov	r8d, ebx
	mov	ecx, eax
	mov	rdi, r12
	call	dir_emit@PLT
	test	eax, eax
	je	.L40
	mov	rdi, QWORD PTR 8[rsp]
	add	DWORD PTR [r12], 1
	test	rdi, rdi
	je	.L23
	call	dput@PLT
	mov	QWORD PTR 8[rsp], rbp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	mov	QWORD PTR 8[rsp], rbp
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r13
	mov	r14, QWORD PTR 8[rsp]
	call	spin_unlock@PLT
	mov	rdi, rbp
	call	dput@PLT
	mov	r13d, DWORD PTR EAGAIN[rip]
	neg	r13d
.L11:
	mov	rdi, r15
	call	ceph_readdir_cache_release@PLT
	test	r14, r14
	je	.L1
	mov	rdi, r14
	call	ceph_dentry@PLT
	mov	edi, DWORD PTR [rax]
	call	fpos_off@PLT
	mov	rbx, QWORD PTR 32[rsp]
	mov	esi, DWORD PTR 4[r14]
	mov	edx, DWORD PTR [r14]
	lea	rcx, 1[rax]
	mov	rdi, rbx
	call	note_last_dentry@PLT
	mov	rdi, r14
	test	eax, eax
	cmovs	r13d, eax
	call	dput@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	js	.L1
	mov	DWORD PTR [rbx], -1
	mov	QWORD PTR 8[rbx], 0
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L41
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L36:
	.cfi_restore_state
	mov	rdi, QWORD PTR 40[rsp]
	call	i_size_read@PLT
	mov	esi, 8
	mov	edi, eax
	call	div_u64@PLT
	mov	ebp, eax
	test	eax, eax
	jle	.L5
	mov	DWORD PTR 8[rsp], r13d
	mov	QWORD PTR 24[rsp], r12
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	mov	ebp, ebx
.L8:
	mov	rdi, r14
	call	spin_unlock@PLT
	mov	rdi, r12
	call	dput@PLT
	test	ebp, ebp
	jle	.L42
.L3:
	mov	eax, DWORD PTR 8[rsp]
	mov	ebx, ebp
	mov	rdi, QWORD PTR [rsp]
	mov	rdx, r15
	sar	ebx
	lea	esi, [rax+rbx]
	call	__dcache_find_get_entry@PLT
	mov	r12, rax
	test	rax, rax
	je	.L33
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L43
	mov	rdi, r12
	lea	r14, 12[r12]
	call	ceph_dentry@PLT
	mov	rdi, r14
	mov	r13, rax
	call	spin_lock@PLT
	mov	rax, QWORD PTR 24[rsp]
	mov	edi, DWORD PTR 0[r13]
	mov	esi, DWORD PTR [rax]
	call	fpos_cmp@PLT
	test	rax, rax
	jns	.L22
	add	ebx, 1
	add	DWORD PTR 8[rsp], ebx
	sub	ebp, ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rcx, QWORD PTR 32[rsp]
	mov	eax, DWORD PTR CEPH_F_ATEND[rip]
	xor	r13d, r13d
	mov	r14, QWORD PTR 8[rsp]
	or	DWORD PTR 16[rcx], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rdi, rbp
	mov	r14, QWORD PTR 8[rsp]
	call	PTR_ERR@PLT
	mov	r13d, eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L33:
	mov	r12, QWORD PTR 24[rsp]
.L5:
	xor	r13d, r13d
.L4:
	mov	rsi, QWORD PTR 40[rsp]
	mov	edx, r13d
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	dout@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdi, r12
	call	PTR_ERR@PLT
	mov	rdi, r15
	mov	r13d, eax
	call	ceph_readdir_cache_release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L42:
	mov	r13d, DWORD PTR 8[rsp]
	mov	r12, QWORD PTR 24[rsp]
	jmp	.L4
.L40:
	mov	rdi, rbp
	mov	r14, QWORD PTR 8[rsp]
	mov	r13d, eax
	call	dput@PLT
	jmp	.L11
.L41:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__dcache_readdir, .-__dcache_readdir
	.comm	EAGAIN,4,4
	.comm	CEPH_F_ATEND,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_dir.c___dcache_readdir.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"__dcache_readdir %p v%u at %llx\012\000"
	.align	2
.LC1:
	.ascii	"__dcache_readdir %p cache idx %llu\012\000"
	.align	2
.LC2:
	.ascii	" %llx dentry %p %pd %p\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__dcache_readdir, %function
__dcache_readdir:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r0]
	sub	sp, sp, #36
	ldr	r3, [r3, #4]
	str	r2, [sp, #8]
	mov	r4, r2
	ldr	r2, .L42
	mov	r0, r9
	mov	r7, r1
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	str	r3, [sp, #16]
	bl	d_inode
	mov	r5, #0
	mov	r1, r0
	ldr	r3, [r7]
	str	r0, [sp, #20]
	mov	r2, r4
	ldr	r0, .L42+4
	str	r5, [sp, #24]
	bl	dout
	ldr	r3, [r7]
	cmp	r3, #2
	addle	r10, sp, #24
	bgt	.L34
.L2:
	mov	fp, #0
.L9:
	mov	r1, r5
	mov	r2, r10
	mov	r0, r9
	bl	__dcache_find_get_entry
	subs	r4, r0, #0
	add	r5, r5, #1
	beq	.L35
	bl	IS_ERR
	cmp	r0, #0
	bne	.L36
	add	r8, r4, #12
	mov	r0, r8
	bl	spin_lock
	mov	r0, r4
	bl	ceph_dentry
	mov	r6, r0
	mov	r0, r4
	bl	d_unhashed
	cmp	r0, #0
	bne	.L14
	mov	r0, r4
	bl	d_really_is_negative
	cmp	r0, #0
	bne	.L14
	ldr	r3, [r6, #4]
	ldr	r2, [sp, #8]
	cmp	r3, r2
	bne	.L14
	ldr	r1, [r6]
	ldr	r0, [r7]
	bl	fpos_cmp
	cmp	r0, #0
	ble	.L15
	mov	r0, r8
	bl	spin_unlock
	mov	r0, r4
	bl	dput
	b	.L9
.L15:
	mov	r0, r6
	bl	__ceph_dentry_dir_lease_touch
	mov	r0, r8
	bl	spin_unlock
	mov	r0, r4
	ldr	r8, [r6]
	bl	d_inode
	mov	r1, r8
	mov	r3, r4
	mov	r2, r4
	str	r0, [sp]
	ldr	r0, .L42+8
	bl	dout
	ldr	r3, [r6]
	ldr	r2, [r4, #8]
	str	r3, [r7]
	mov	r0, r4
	ldr	r6, [r4, #4]
	ldr	r8, [r4]
	str	r2, [sp, #12]
	bl	d_inode
	mov	r3, r0
	ldr	r2, [sp, #12]
	ldr	r1, [r3, #4]
	mov	r0, r2
	bl	ceph_translate_ino
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #12]
	bl	d_inode
	ldr	r2, [r0]
	mov	r1, r6
	asr	r2, r2, #12
	str	r2, [sp]
	mov	r0, r7
	mov	r2, r8
	ldr	r3, [sp, #12]
	bl	dir_emit
	cmp	r0, #0
	beq	.L37
	ldr	r3, [r7]
	cmp	fp, #0
	add	r3, r3, #1
	moveq	fp, r4
	str	r3, [r7]
	beq	.L9
	mov	r0, fp
	bl	dput
	mov	fp, r4
	b	.L9
.L14:
	mov	r0, r8
	bl	spin_unlock
	mov	r0, r4
	bl	dput
	ldr	r3, .L42+12
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L11:
	mov	r0, r10
	bl	ceph_readdir_cache_release
	cmp	fp, #0
	beq	.L1
	mov	r0, fp
	bl	ceph_dentry
	ldr	r0, [r0]
	ldr	r4, [fp, #4]
	ldr	r5, [fp]
	bl	fpos_off
	mov	r1, r4
	ldr	r4, [sp, #16]
	mov	r2, r5
	add	r3, r0, #1
	mov	r0, r4
	bl	note_last_dentry
	mov	r3, r0
	mov	r0, fp
	cmp	r3, #0
	movlt	r6, r3
	bl	dput
	ldr	r3, [r4]
	cmp	r3, #0
	mvnge	r2, #0
	movge	r3, #0
	stmge	r4, {r2, r3}
.L1:
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L38
	mov	r0, r6
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	ldr	r0, [sp, #20]
	bl	i_size_read
	mov	r1, #4
	bl	div_u64
	subs	r6, r0, #0
	add	r10, sp, #24
	strgt	r7, [sp, #12]
	bgt	.L3
	b	.L5
.L41:
	bl	IS_ERR
	cmp	r0, #0
	mov	r0, r4
	bne	.L39
	bl	ceph_dentry
	mov	r8, r0
	add	r7, r4, #12
	mov	r0, r7
	bl	spin_lock
	ldr	r3, [sp, #12]
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	fpos_cmp
	cmp	r0, #0
	movge	r6, fp
	addlt	fp, fp, #1
	mov	r0, r7
	addlt	r5, r5, fp
	sublt	r6, r6, fp
	bl	spin_unlock
	mov	r0, r4
	bl	dput
	cmp	r6, #0
	ble	.L40
.L3:
	mov	r2, r10
	mov	r0, r9
	add	r1, r5, r6, asr #1
	bl	__dcache_find_get_entry
	subs	r4, r0, #0
	asr	fp, r6, #1
	bne	.L41
	ldr	r7, [sp, #12]
.L5:
	mov	r5, #0
.L4:
	mov	r2, r5
	ldr	r1, [sp, #20]
	ldr	r0, .L42+16
	bl	dout
	b	.L2
.L35:
	ldr	r1, [sp, #16]
	ldr	r2, .L42+20
	ldr	r3, [r1, #8]
	ldr	r2, [r2]
	mov	r6, r4
	orr	r3, r3, r2
	str	r3, [r1, #8]
	b	.L11
.L36:
	mov	r0, r4
	bl	PTR_ERR
	mov	r6, r0
	b	.L11
.L39:
	bl	PTR_ERR
	mov	r6, r0
	mov	r0, r10
	bl	ceph_readdir_cache_release
	b	.L1
.L40:
	ldr	r7, [sp, #12]
	b	.L4
.L37:
	mov	r6, r0
	mov	r0, r4
	bl	dput
	b	.L11
.L38:
	bl	__stack_chk_fail
.L43:
	.align	2
.L42:
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.word	EAGAIN
	.word	.LC1
	.word	CEPH_F_ATEND
	.size	__dcache_readdir, .-__dcache_readdir
	.comm	EAGAIN,4,4
	.comm	CEPH_F_ATEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
