	.file	"extr_hostfs_user.c_read_dir.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	read_dir
	.type	read_dir, @function
read_dir:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	readdir@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR [rax]
	call	strlen@PLT
	mov	DWORD PTR [r14], eax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR 0[r13], rax
	mov	eax, DWORD PTR 16[r12]
	mov	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR 24[r12]
	mov	r12, QWORD PTR [r12]
	mov	QWORD PTR [rbx], rax
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	read_dir, .-read_dir
	.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_hostfs_user.c_read_dir.c"
	.text
	.align	2
	.global	read_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_dir, %function
read_dir:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r7, r2
	mov	r6, r3
	bl	readdir
	subs	r4, r0, #0
	beq	.L3
	ldr	r5, [r4]
	mov	r0, r5
	bl	strlen
	add	r3, r4, #8
	ldmia	r3, {r2-r3}
	str	r0, [r6]
	stm	r7, {r2-r3}
	ldr	r1, [r4, #16]
	ldr	r0, [sp, #24]
	add	r3, r4, #24
	ldmia	r3, {r2-r3}
	str	r1, [r0]
	stm	r8, {r2-r3}
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r5, r4
	b	.L1
	.size	read_dir, .-read_dir
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
