	.file	"extr_t_glob.c_gl_readdir.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gl_readdir, @function
gl_readdir:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	cmp	rax, QWORD PTR 8[rdi]
	jl	.L12
	xor	r8d, r8d
	mov	rax, r8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdx, 1[rax]
	sal	rax, 4
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	QWORD PTR [rdi], rdx
	add	rax, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR 8[rax]
	mov	edi, DWORD PTR dir.1943[rip+20]
	mov	rbp, rax
	call	strcpy@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	strlen@PLT
	cmp	QWORD PTR 0[rbp], 0
	movsx	rdi, DWORD PTR DT_REG[rip]
	mov	DWORD PTR dir.1943[rip+12], eax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR dir.1943[rip], rax
	je	.L4
	movsx	rdi, DWORD PTR DT_DIR[rip]
.L4:
	mov	DWORD PTR dir.1943[rip+16], edi
	call	DPRINTF@PLT
	mov	esi, DWORD PTR dir.1943[rip+12]
	lea	rdi, dir.1943[rip]
	call	_DIRENT_RECLEN@PLT
	lea	r8, dir.1943[rip]
	mov	DWORD PTR dir.1943[rip+8], eax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r8
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	gl_readdir, .-gl_readdir
	.local	dir.1943
	.comm	dir.1943,24,16
	.comm	DT_REG,4,4
	.comm	DT_DIR,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_t_glob.c_gl_readdir.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gl_readdir, %function
gl_readdir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0, #4]
	ldr	r5, [r0]
	cmp	r5, r3
	blt	.L8
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r4, r0
	ldr	r7, [r0, #8]
	ldr	r6, .L9
	add	r3, r5, #1
	add	r8, r7, r5, lsl #3
	ldr	r1, [r8, #4]
	ldr	r0, [r6, #16]
	str	r3, [r4]
	bl	strcpy
	ldr	r0, [r8, #4]
	bl	strlen
	ldr	r2, [r7, r5, lsl #3]
	ldr	r3, [r4]
	cmp	r2, #0
	str	r3, [r6]
	ldrne	r3, .L9+4
	ldreq	r3, .L9+8
	str	r0, [r6, #8]
	ldr	r0, [r3]
	str	r0, [r6, #12]
	bl	DPRINTF
	ldr	r1, [r6, #8]
	ldr	r0, .L9
	bl	_DIRENT_RECLEN
	mov	r3, r0
	ldr	r0, .L9
	str	r3, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LANCHOR0
	.word	DT_DIR
	.word	DT_REG
	.size	gl_readdir, .-gl_readdir
	.comm	DT_REG,4,4
	.comm	DT_DIR,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	dir.4227, %object
	.size	dir.4227, 20
dir.4227:
	.space	20
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
