	.file	"extr_spiffs_check.c_spiffs_object_index_consistency_check.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	spiffs_object_index_consistency_check
	.type	spiffs_object_index_consistency_check, @function
spiffs_object_index_consistency_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	SPIFFS_CFG_LOG_PAGE_SZ@PLT
	mov	edi, DWORD PTR 0[rbp]
	xor	esi, esi
	mov	edx, eax
	call	memset@PLT
	mov	edx, DWORD PTR SPIFFS_CHECK_PROGRESS[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	esi, DWORD PTR SPIFFS_CHECK_INDEX[rip]
	mov	rdi, rbp
	mov	DWORD PTR 4[rsp], 0
	call	CHECK_CB@PLT
	push	0
	.cfi_def_cfa_offset 56
	mov	r9d, DWORD PTR spiffs_object_index_consistency_check_v[rip]
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 64
	xor	r8d, r8d
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	lea	rax, 20[rsp]
	push	rax
	.cfi_def_cfa_offset 72
	push	0
	.cfi_def_cfa_offset 80
	call	spiffs_obj_lu_find_entry_visitor@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR SPIFFS_VIS_END[rip], rax
	je	.L7
	cmp	QWORD PTR SPIFFS_OK[rip], rax
	mov	esi, DWORD PTR SPIFFS_CHECK_INDEX[rip]
	mov	r12, rax
	je	.L3
	mov	edx, DWORD PTR SPIFFS_CHECK_ERROR[rip]
	xor	r8d, r8d
	mov	ecx, eax
	mov	rdi, rbp
	call	CHECK_CB@PLT
	mov	esi, DWORD PTR SPIFFS_CHECK_INDEX[rip]
.L3:
	mov	edx, DWORD PTR SPIFFS_CHECK_PROGRESS[rip]
	xor	r8d, r8d
	mov	ecx, 256
	mov	rdi, rbp
	call	CHECK_CB@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12, QWORD PTR SPIFFS_OK[rip]
	mov	esi, DWORD PTR SPIFFS_CHECK_INDEX[rip]
	jmp	.L3
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	spiffs_object_index_consistency_check, .-spiffs_object_index_consistency_check
	.comm	spiffs_object_index_consistency_check_v,4,4
	.comm	SPIFFS_VIS_END,8,8
	.comm	SPIFFS_OK,8,8
	.comm	SPIFFS_CHECK_PROGRESS,4,4
	.comm	SPIFFS_CHECK_INDEX,4,4
	.comm	SPIFFS_CHECK_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_spiffs_check.c_spiffs_object_index_consistency_check.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	spiffs_object_index_consistency_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	spiffs_object_index_consistency_check, %function
spiffs_object_index_consistency_check:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	sub	sp, sp, #32
	mov	r4, #0
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r6, [r0]
	bl	SPIFFS_CFG_LOG_PAGE_SZ
	ldr	r8, .L9+4
	ldr	r7, .L9+8
	mov	r2, r0
	mov	r1, r4
	mov	r0, r6
	bl	memset
	mov	r3, r4
	ldr	r2, [r8]
	ldr	r1, [r7]
	mov	r0, r5
	str	r4, [sp]
	str	r4, [sp, #24]
	bl	CHECK_CB
	ldr	r3, .L9+12
	add	ip, sp, #24
	ldr	r3, [r3]
	mov	r0, r5
	str	r3, [sp, #4]
	mov	r2, r4
	mov	r3, r4
	mov	r1, r4
	str	r4, [sp, #20]
	str	r4, [sp, #16]
	str	r4, [sp, #8]
	str	r4, [sp]
	str	ip, [sp, #12]
	bl	spiffs_obj_lu_find_entry_visitor
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L7
	ldr	r3, .L9+20
	mov	r6, r0
	ldr	r3, [r3]
	ldr	r1, [r7]
	cmp	r3, r0
	beq	.L3
	ldr	r3, .L9+24
	str	r4, [sp]
	ldr	r2, [r3]
	mov	r3, r0
	mov	r0, r5
	bl	CHECK_CB
	ldr	r1, [r7]
.L3:
	mov	r3, #0
	ldr	r2, [r8]
	str	r3, [sp]
	mov	r0, r5
	mov	r3, #256
	bl	CHECK_CB
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r6
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+20
	ldr	r1, [r7]
	ldr	r6, [r3]
	b	.L3
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	SPIFFS_CHECK_PROGRESS
	.word	SPIFFS_CHECK_INDEX
	.word	spiffs_object_index_consistency_check_v
	.word	SPIFFS_VIS_END
	.word	SPIFFS_OK
	.word	SPIFFS_CHECK_ERROR
	.size	spiffs_object_index_consistency_check, .-spiffs_object_index_consistency_check
	.comm	spiffs_object_index_consistency_check_v,4,4
	.comm	SPIFFS_VIS_END,4,4
	.comm	SPIFFS_OK,4,4
	.comm	SPIFFS_CHECK_PROGRESS,4,4
	.comm	SPIFFS_CHECK_INDEX,4,4
	.comm	SPIFFS_CHECK_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
