	.file	"extr_dir.c_fat_subdirs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fat_subdirs
	.type	fat_subdirs, @function
fat_subdirs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 8[rsp]
	mov	r13, rsp
	lea	rbp, 16[rsp]
	mov	QWORD PTR [rsp], 0
	mov	QWORD PTR 16[rsp], 0
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR [rax]
	and	eax, DWORD PTR ATTR_DIR[rip]
	cmp	eax, 1
	sbb	r12d, -1
.L2:
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbx
	call	fat_get_short_entry@PLT
	test	rax, rax
	jns	.L4
	mov	rdi, QWORD PTR [rsp]
	call	brelse@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.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
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fat_subdirs, .-fat_subdirs
	.comm	ATTR_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_dir.c_fat_subdirs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fat_subdirs
	.syntax unified
	.arm
	.fpu softvfp
	.type	fat_subdirs, %function
fat_subdirs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	ldr	r3, .L12
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	ldr	r6, .L12+4
	str	r4, [sp]
	str	r4, [sp, #8]
	b	.L2
.L4:
	ldr	r2, [sp, #4]
	ldr	r3, [r6]
	ldr	r2, [r2]
	tst	r2, r3
	addne	r4, r4, #1
.L2:
	mov	r2, sp
	mov	r0, r5
	add	r3, sp, #4
	add	r1, sp, #8
	bl	fat_get_short_entry
	cmp	r0, #0
	bge	.L4
	ldr	r0, [sp]
	bl	brelse
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	ATTR_DIR
	.size	fat_subdirs, .-fat_subdirs
	.comm	ATTR_DIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
