	.file	"extr_loadfts.c_traverse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"opendir()"
.LC1:
	.string	"."
.LC2:
	.string	".."
.LC3:
	.string	"%s/%s"
	.text
	.p2align 4
	.type	traverse, @function
traverse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	opendir@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L19
.L2:
	mov	rdi, rbp
	call	readdir@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	lea	r13, .LC1[rip]
.L9:
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, r13
	call	strcmp@PLT
	test	rax, rax
	je	.L5
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L5
	mov	edx, DWORD PTR 4[rbx]
	mov	rsi, r12
	lea	rdi, .LC3[rip]
	call	sqlite3_mprintf@PLT
	mov	r8, rax
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR DT_DIR[rip], eax
	jne	.L20
	mov	QWORD PTR 8[rsp], r8
	mov	rsi, r8
	mov	rdi, r14
	call	r15
	mov	r8, QWORD PTR 8[rsp]
.L8:
	mov	rdi, r8
	call	sqlite3_free@PLT
.L5:
	mov	rdi, rbp
	call	readdir@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L9
.L3:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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	closedir@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, r8
	mov	rdx, r15
	mov	rsi, r14
	mov	QWORD PTR 8[rsp], r8
	call	traverse
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdi, .LC0[rip]
	call	error_out@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	traverse, .-traverse
	.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_loadfts.c_traverse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"opendir()\000"
	.align	2
.LC1:
	.ascii	".\000"
	.align	2
.LC2:
	.ascii	"..\000"
	.align	2
.LC3:
	.ascii	"%s/%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse, %function
traverse:
	@ 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	r8, r1
	mov	r7, r0
	str	r2, [sp, #4]
	bl	opendir
	subs	r5, r0, #0
	beq	.L19
.L2:
	mov	r0, r5
	bl	readdir
	subs	r4, r0, #0
	beq	.L3
	ldr	r6, .L21
	ldr	r9, .L21+4
	ldr	fp, .L21+8
	ldr	r10, .L21+12
.L9:
	mov	r1, r6
	ldr	r0, [r4, #4]
	bl	strcmp
	cmp	r0, #0
	beq	.L5
	mov	r1, r9
	ldr	r0, [r4, #4]
	bl	strcmp
	cmp	r0, #0
	beq	.L5
	ldr	r2, [r4, #4]
	mov	r1, r7
	mov	r0, fp
	bl	sqlite3_mprintf
	ldr	r2, [r4]
	ldr	r3, [r10]
	mov	r4, r0
	tst	r2, r3
	bne	.L20
	mov	r1, r0
	ldr	r3, [sp, #4]
	mov	r0, r8
	blx	r3
.L8:
	mov	r0, r4
	bl	sqlite3_free
.L5:
	mov	r0, r5
	bl	readdir
	subs	r4, r0, #0
	bne	.L9
.L3:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	closedir
.L20:
	mov	r1, r8
	ldr	r2, [sp, #4]
	bl	traverse
	b	.L8
.L19:
	ldr	r0, .L21+16
	bl	error_out
	b	.L2
.L22:
	.align	2
.L21:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	DT_DIR
	.word	.LC0
	.size	traverse, .-traverse
	.comm	DT_DIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
