	.file	"extr_directory.c_tear_down_case_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"TesT"
.LC1:
	.string	"%s\\%s"
.LC2:
	.string	"Failed to rm %s, error %d\n"
	.text
	.p2align 4
	.type	tear_down_case_test, @function
tear_down_case_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbx
	sub	rsp, 16
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_PATH[rip]
	mov	rbx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	lea	rcx, .LC0[rip]
	mov	rdx, r12
	mov	rdi, rsp
	mov	r14, rsp
	lea	rsi, .LC1[rip]
	call	sprintf@PLT
	mov	rdi, rsp
	call	DeleteFileA@PLT
	mov	ebx, eax
	xor	eax, eax
	call	GetLastError@PLT
	mov	edi, 1
	mov	r13, rax
	test	ebx, ebx
	jne	.L5
	xor	eax, eax
	call	GetLastError@PLT
	xor	edi, edi
	cmp	QWORD PTR ERROR_PATH_NOT_FOUND[rip], rax
	sete	dil
.L5:
	mov	rcx, r13
	mov	rdx, r14
	lea	rsi, .LC2[rip]
	call	ok@PLT
	mov	rdi, r12
	call	RemoveDirectoryA@PLT
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tear_down_case_test, .-tear_down_case_test
	.comm	MAX_PATH,4,4
	.comm	ERROR_PATH_NOT_FOUND,8,8
	.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_directory.c_tear_down_case_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TesT\000"
	.align	2
.LC1:
	.ascii	"%s\\%s\000"
	.align	2
.LC2:
	.ascii	"Failed to rm %s, error %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tear_down_case_test, %function
tear_down_case_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #12
	ldr	r3, .L9
	ldr	ip, .L9+4
	ldr	r1, [r3]
	mov	r2, r0
	add	r1, r1, #7
	bic	r1, r1, #7
	sub	sp, sp, r1
	ldr	r3, .L9+8
	ldr	r1, .L9+12
	mov	r4, r0
	mov	r0, sp
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bl	sprintf
	mov	r0, sp
	bl	DeleteFileA
	cmp	r0, #0
	mov	r6, sp
	movne	r5, #1
	beq	.L7
.L2:
	bl	GetLastError
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L9+16
	mov	r0, r5
	bl	ok
	mov	r0, r4
	bl	RemoveDirectoryA
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L7:
	bl	GetLastError
	ldr	r3, .L9+20
	ldr	r5, [r3]
	sub	r5, r5, r0
	clz	r5, r5
	lsr	r5, r5, #5
	b	.L2
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	MAX_PATH
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ERROR_PATH_NOT_FOUND
	.size	tear_down_case_test, .-tear_down_case_test
	.comm	MAX_PATH,4,4
	.comm	ERROR_PATH_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
