	.file	"extr_test_spiffs.c_test_spiffs_open_max_files.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s_%d.txt"
.LC1:
	.string	"w"
	.text
	.p2align 4
	.globl	test_spiffs_open_max_files
	.type	test_spiffs_open_max_files, @function
test_spiffs_open_max_files:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	mov	esi, 8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	calloc@PLT
	mov	r13, rax
	test	r12, r12
	je	.L2
	xor	ebx, ebx
	mov	rbp, rsp
	lea	r15, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r15
	mov	esi, 32
	mov	rdi, rbp
	call	snprintf@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	fopen@PLT
	mov	QWORD PTR 0[r13+rbx*8], rax
	mov	rdi, rax
	add	rbx, 1
	call	TEST_ASSERT_NOT_NULL@PLT
	cmp	r12, rbx
	jne	.L3
	mov	rbx, r13
	lea	rbp, 0[r13+r12*8]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR [rbx]
	add	rbx, 8
	call	fclose@PLT
	cmp	rbx, rbp
	jne	.L4
.L2:
	mov	rdi, r13
	call	free@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_spiffs_open_max_files, .-test_spiffs_open_max_files
	.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_test_spiffs.c_test_spiffs_open_max_files.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s_%d.txt\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_spiffs_open_max_files
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_spiffs_open_max_files, %function
test_spiffs_open_max_files:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	ldr	r3, .L14
	sub	sp, sp, #52
	mov	r9, r0
	mov	r1, #4
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	calloc
	cmp	r6, #0
	mov	r8, r0
	beq	.L2
	sub	r5, r0, #4
	mov	r7, r5
	mov	r4, #0
	ldr	fp, .L14+4
	ldr	r10, .L14+8
.L3:
	mov	r3, r9
	mov	r2, fp
	mov	r1, #32
	str	r4, [sp]
	add	r0, sp, #12
	bl	snprintf
	mov	r1, r10
	add	r0, sp, #12
	bl	fopen
	add	r4, r4, #1
	str	r0, [r7, #4]!
	bl	TEST_ASSERT_NOT_NULL
	cmp	r6, r4
	bne	.L3
	add	r6, r8, r6, lsl #2
	sub	r6, r6, #4
.L4:
	ldr	r0, [r5, #4]!
	bl	fclose
	cmp	r6, r5
	bne	.L4
.L2:
	mov	r0, r8
	bl	free
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	test_spiffs_open_max_files, .-test_spiffs_open_max_files
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
