	.file	"extr_shell.c_fsdirFilter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"table function fsdir requires an argument"
	.align 8
.LC1:
	.string	"table function fsdir requires a non-NULL argument"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%s/%s"
.LC3:
	.string	"%s"
.LC4:
	.string	"cannot stat file: %s"
	.text
	.p2align 4
	.type	fsdirFilter, @function
fsdirFilter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	fsdirResetCursor@PLT
	test	ebx, ebx
	je	.L16
	xor	edi, edi
	cmp	ebx, r12d
	jne	.L4
	lea	eax, -1[r12]
	xor	edi, edi
	cmp	eax, 1
	setbe	dil
.L4:
	call	assert@PLT
	mov	rdi, QWORD PTR [r14]
	call	sqlite3_value_text@PLT
	mov	r13, rax
	test	rax, rax
	je	.L17
	cmp	r12d, 2
	je	.L6
	mov	r12, QWORD PTR 0[rbp]
.L7:
	test	r12, r12
	je	.L8
	mov	rdi, r12
	call	strlen@PLT
	lea	rdi, .LC2[rip]
	mov	rdx, r13
	mov	rsi, r12
	add	eax, 1
	mov	DWORD PTR 8[rbp], eax
	xor	eax, eax
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
.L9:
	mov	eax, DWORD PTR SQLITE_NOMEM[rip]
	test	rdi, rdi
	je	.L1
	lea	rsi, 24[rbp]
	call	fileLinkStat@PLT
	mov	r8, rax
	mov	eax, DWORD PTR SQLITE_OK[rip]
	test	r8, r8
	jne	.L18
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	fsdirSetErrmsg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR SQLITE_ERROR[rip]
	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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	mov	rsi, r13
	xor	eax, eax
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	fsdirSetErrmsg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR SQLITE_ERROR[rip]
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[r14]
	call	sqlite3_value_text@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	r12, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdx, QWORD PTR 16[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	fsdirSetErrmsg@PLT
	mov	eax, DWORD PTR SQLITE_ERROR[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	fsdirFilter, .-fsdirFilter
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_ERROR,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_shell.c_fsdirFilter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"table function fsdir requires an argument\000"
	.align	2
.LC1:
	.ascii	"table function fsdir requires a non-NULL argument\000"
	.align	2
.LC2:
	.ascii	"%s/%s\000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"cannot stat file: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fsdirFilter, %function
fsdirFilter:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r3
	mov	r4, r0
	bl	fsdirResetCursor
	cmp	r5, #0
	beq	.L15
	cmp	r5, r6
	movne	r0, #0
	bne	.L4
	sub	r0, r6, #1
	cmp	r0, #1
	movhi	r0, #0
	movls	r0, #1
.L4:
	bl	assert
	ldr	r3, [sp, #16]
	ldr	r0, [r3]
	bl	sqlite3_value_text
	subs	r5, r0, #0
	beq	.L16
	cmp	r6, #2
	beq	.L6
	ldr	r6, [r4]
.L7:
	cmp	r6, #0
	beq	.L8
	mov	r0, r6
	bl	strlen
	add	r0, r0, #1
	str	r0, [r4, #4]
	mov	r2, r5
	mov	r1, r6
	ldr	r0, .L18
	bl	sqlite3_mprintf
	str	r0, [r4, #8]
.L9:
	cmp	r0, #0
	bne	.L10
	ldr	r3, .L18+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L10:
	add	r1, r4, #12
	bl	fileLinkStat
	cmp	r0, #0
	bne	.L17
	ldr	r3, .L18+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r4
	ldr	r1, .L18+12
	bl	fsdirSetErrmsg
	ldr	r3, .L18+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, r5
	ldr	r0, .L18+20
	bl	sqlite3_mprintf
	str	r0, [r4, #8]
	b	.L9
.L16:
	mov	r0, r4
	ldr	r1, .L18+24
	bl	fsdirSetErrmsg
	ldr	r3, .L18+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, [sp, #16]
	ldr	r0, [r3, #4]
	bl	sqlite3_value_text
	mov	r6, r0
	str	r0, [r4]
	b	.L7
.L17:
	mov	r0, r4
	ldr	r2, [r4, #8]
	ldr	r1, .L18+28
	bl	fsdirSetErrmsg
	ldr	r3, .L18+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	SQLITE_NOMEM
	.word	SQLITE_OK
	.word	.LC0
	.word	SQLITE_ERROR
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.size	fsdirFilter, .-fsdirFilter
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_NOMEM,4,4
	.comm	SQLITE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
