	.file	"extr_fat.c_FatReadClusterChain.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"FatReadClusterChain() StartClusterNumber = %d NumberOfClusters = %d Buffer = 0x%x\n"
	.text
	.p2align 4
	.type	FatReadClusterChain, @function
FatReadClusterChain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], rsi
	lea	r13, 32[rsp]
	lea	rbp, 24[rsp]
	call	TRACE@PLT
	xor	edi, edi
	test	rbx, rbx
	setg	dil
	call	ASSERT@PLT
	mov	rsi, QWORD PTR 8[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 32[rsp]
	sub	rbx, rax
	imul	rax, QWORD PTR [r14]
	imul	rax, QWORD PTR 8[r14]
	add	r15, rax
.L2:
	mov	r9, r13
	mov	r8, rbp
	mov	rcx, r15
	mov	rdx, rbx
	mov	rdi, r14
	call	FatReadAdjacentClusters@PLT
	test	rax, rax
	jne	.L3
	test	r12, r12
	je	.L4
	mov	rax, QWORD PTR 32[rsp]
	mov	QWORD PTR [r12], rax
.L4:
	xor	eax, eax
	cmp	QWORD PTR 24[rsp], 0
	setg	al
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	FatReadClusterChain, .-FatReadClusterChain
	.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_fat.c_FatReadClusterChain.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FatReadClusterChain() StartClusterNumber = %d Numbe"
	.ascii	"rOfClusters = %d Buffer = 0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FatReadClusterChain, %function
FatReadClusterChain:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r2
	ldr	ip, .L12
	sub	sp, sp, #24
	mov	r6, r0
	ldr	r0, .L12+4
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r10, r1
	mov	r5, r3
	ldr	r9, [sp, #56]
	bl	TRACE
	cmp	r4, #0
	movle	r0, #0
	movgt	r0, #1
	bl	ASSERT
	add	r8, sp, #16
	add	r7, sp, #12
	b	.L2
.L3:
	ldr	r3, [sp, #12]
	ldm	r6, {r1, r2}
	mul	r1, r3, r1
	mla	r5, r2, r1, r5
	ldr	r10, [sp, #16]
	sub	r4, r4, r3
.L2:
	mov	r1, r10
	mov	r3, r5
	mov	r2, r4
	mov	r0, r6
	stm	sp, {r7, r8}
	bl	FatReadAdjacentClusters
	cmp	r0, #0
	bne	.L3
	cmp	r9, #0
	ldrne	r3, [sp, #16]
	ldr	r0, [sp, #12]
	strne	r3, [r9]
	ldr	r3, .L12
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #1
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	FatReadClusterChain, .-FatReadClusterChain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
