	.file	"extr_test_fatfs_common.c_test_fatfs_mkdir_rmdir.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s1"
.LC1:
	.string	"%s2"
.LC2:
	.string	"%s2/1.txt"
.LC3:
	.string	"foo\n"
	.text
	.p2align 4
	.globl	test_fatfs_mkdir_rmdir
	.type	test_fatfs_mkdir_rmdir, @function
test_fatfs_mkdir_rmdir:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rcx, rdi
	mov	esi, 64
	lea	rdx, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 232
	.cfi_def_cfa_offset 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 216[rsp], rax
	xor	eax, eax
	lea	r12, 16[rsp]
	lea	rbp, 80[rsp]
	mov	rdi, r12
	lea	r14, 144[rsp]
	call	snprintf@PLT
	mov	rcx, r13
	mov	esi, 64
	mov	rdi, rbp
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	mov	rcx, r13
	mov	esi, 64
	mov	rdi, r14
	lea	rdx, .LC2[rip]
	lea	r13, 12[rsp]
	call	snprintf@PLT
	mov	esi, 493
	mov	rdi, r12
	call	mkdir@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	stat@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFDIR[rip]
	call	TEST_ASSERT_TRUE@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFREG[rip]
	call	TEST_ASSERT_FALSE@PLT
	mov	rdi, r12
	call	rmdir@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	stat@PLT
	mov	edi, -1
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	esi, 493
	mov	rdi, rbp
	call	mkdir@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, r14
	call	test_fatfs_create_file_with_text@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	stat@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFDIR[rip]
	call	TEST_ASSERT_TRUE@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFREG[rip]
	call	TEST_ASSERT_FALSE@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	stat@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFDIR[rip]
	call	TEST_ASSERT_FALSE@PLT
	mov	edi, DWORD PTR 12[rsp]
	and	edi, DWORD PTR S_IFREG[rip]
	call	TEST_ASSERT_TRUE@PLT
	mov	rdi, rbp
	call	rmdir@PLT
	mov	edi, -1
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	rdi, r14
	call	unlink@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	rdi, rbp
	call	rmdir@PLT
	xor	edi, edi
	mov	esi, eax
	call	TEST_ASSERT_EQUAL@PLT
	mov	rax, QWORD PTR 216[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 232
	.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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_fatfs_mkdir_rmdir, .-test_fatfs_mkdir_rmdir
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,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_test_fatfs_common.c_test_fatfs_mkdir_rmdir.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s1\000"
	.align	2
.LC1:
	.ascii	"%s2\000"
	.align	2
.LC2:
	.ascii	"%s2/1.txt\000"
	.align	2
.LC3:
	.ascii	"foo\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_fatfs_mkdir_rmdir
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_fatfs_mkdir_rmdir, %function
test_fatfs_mkdir_rmdir:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	sub	sp, sp, #204
	ldr	ip, .L6
	mov	r3, r0
	mov	r1, #64
	ldr	r2, .L6+4
	add	r0, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #196]
	mov	ip,#0
	bl	snprintf
	mov	r3, r4
	mov	r1, #64
	ldr	r2, .L6+8
	add	r0, sp, #68
	bl	snprintf
	ldr	r2, .L6+12
	mov	r3, r4
	mov	r1, #64
	add	r0, sp, #132
	bl	snprintf
	ldr	r1, .L6+16
	add	r0, sp, #4
	bl	mkdir
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	mov	r1, sp
	add	r0, sp, #4
	bl	stat
	ldr	r5, .L6+20
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r3, [r5]
	ldr	r0, [sp]
	ldr	r4, .L6+24
	and	r0, r0, r3
	bl	TEST_ASSERT_TRUE
	ldr	r3, [r4]
	ldr	r0, [sp]
	and	r0, r0, r3
	bl	TEST_ASSERT_FALSE
	add	r0, sp, #4
	bl	rmdir
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	mov	r1, sp
	add	r0, sp, #4
	bl	stat
	mov	r1, r0
	mvn	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r1, .L6+16
	add	r0, sp, #68
	bl	mkdir
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r1, .L6+28
	add	r0, sp, #132
	bl	test_fatfs_create_file_with_text
	mov	r1, sp
	add	r0, sp, #68
	bl	stat
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r3, [r5]
	ldr	r0, [sp]
	and	r0, r0, r3
	bl	TEST_ASSERT_TRUE
	ldr	r3, [r4]
	ldr	r0, [sp]
	and	r0, r0, r3
	bl	TEST_ASSERT_FALSE
	mov	r1, sp
	add	r0, sp, #132
	bl	stat
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r3, [r5]
	ldr	r0, [sp]
	and	r0, r0, r3
	bl	TEST_ASSERT_FALSE
	ldr	r3, [r4]
	ldr	r0, [sp]
	and	r0, r0, r3
	bl	TEST_ASSERT_TRUE
	add	r0, sp, #68
	bl	rmdir
	mov	r1, r0
	mvn	r0, #0
	bl	TEST_ASSERT_EQUAL
	add	r0, sp, #132
	bl	unlink
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	add	r0, sp, #68
	bl	rmdir
	mov	r1, r0
	mov	r0, #0
	bl	TEST_ASSERT_EQUAL
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #196]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #204
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	493
	.word	S_IFDIR
	.word	S_IFREG
	.word	.LC3
	.size	test_fatfs_mkdir_rmdir, .-test_fatfs_mkdir_rmdir
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
