	.file	"24912.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"writeable"
.LC1:
	.string	"unwriteable"
	.text
	.globl	setup
	.type	setup, @function
setup:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 511
	lea	rdi, .LC0[rip]
	call	mkdir@PLT
	mov	esi, 73
	lea	rdi, .LC1[rip]
	call	mkdir@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	setup, .-setup
	.globl	cleanup
	.type	cleanup, @function
cleanup:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	rmdir@PLT
	lea	rdi, .LC1[rip]
	call	rmdir@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cleanup, .-cleanup
	.section	.rodata
.LC2:
	.string	"the_stack_data/24912.c"
.LC3:
	.string	"rv == 0"
.LC4:
	.string	"!errno"
.LC5:
	.string	"s.st_atime == t.actime"
.LC6:
	.string	"s.st_mtime == t.modtime"
.LC7:
	.string	"s.st_atime == s.st_mtime"
	.align 8
.LC8:
	.string	"st_atime: %i, now: %i, diff: %i\n "
.LC9:
	.string	"abs(diff) <= 5"
.LC10:
	.string	"success"
	.text
	.globl	test
	.type	test, @function
test:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -176[rbp], 1000000000
	mov	QWORD PTR -168[rbp], 1000000000
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	utime@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L4:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 39
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L5:
	lea	rax, -160[rbp]
	mov	edx, 144
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	stat@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 42
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L6:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -176[rbp]
	cmp	rdx, rax
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 43
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L7:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -168[rbp]
	cmp	rdx, rax
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 44
	lea	rsi, .LC2[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L8:
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -192[rbp], rax
	mov	esi, 0
	lea	rdi, .LC0[rip]
	call	utime@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 49
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L9:
	lea	rax, -160[rbp]
	mov	edx, 144
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	stat@PLT
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -72[rbp]
	cmp	rdx, rax
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 52
	lea	rsi, .LC2[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L10:
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -192[rbp]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	eax, 5
	jle	.L11
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -184[rbp]
	mov	rcx, QWORD PTR -192[rbp]
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -184[rbp]
	cmp	eax, -5
	jl	.L12
	mov	rax, QWORD PTR -184[rbp]
	cmp	eax, 5
	jle	.L11
.L12:
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 56
	lea	rsi, .LC2[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L11:
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	utime@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 63
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L13:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 64
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L14:
	lea	rax, -160[rbp]
	mov	edx, 144
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	stat@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 67
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L15:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -176[rbp]
	cmp	rdx, rax
	je	.L16
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 68
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L16:
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -168[rbp]
	cmp	rdx, rax
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 69
	lea	rsi, .LC2[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L17:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	test, .-test
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, cleanup[rip]
	call	atexit@PLT
	lea	rsi, cleanup[rip]
	mov	edi, 6
	call	signal@PLT
	mov	eax, 0
	call	setup
	mov	eax, 0
	call	test
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"test"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"24912.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"writeable\000"
	.align	2
.LC2:
	.ascii	"unwriteable\000"
	.text
	.align	2
	.global	setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup, %function
setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L2
	ldr	r0, .L2+4
	bl	mkdir
	mov	r1, #73
	ldr	r0, .L2+8
	bl	mkdir
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	511
	.word	.LC1
	.word	.LC2
	.size	setup, .-setup
	.align	2
	.global	cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup, %function
cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	rmdir
	ldr	r0, .L5+4
	bl	rmdir
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC2
	.size	cleanup, .-cleanup
	.section	.rodata
	.align	2
.LC3:
	.ascii	"the_stack_data/24912.c\000"
	.align	2
.LC4:
	.ascii	"rv == 0\000"
	.align	2
.LC5:
	.ascii	"!errno\000"
	.align	2
.LC6:
	.ascii	"s.st_atime == t.actime\000"
	.align	2
.LC7:
	.ascii	"s.st_mtime == t.modtime\000"
	.align	2
.LC8:
	.ascii	"s.st_atime == s.st_mtime\000"
	.align	2
.LC9:
	.ascii	"st_atime: %i, now: %i, diff: %i\012 \000"
	.align	2
.LC10:
	.ascii	"abs(diff) <= 5\000"
	.align	2
.LC11:
	.ascii	"success\000"
	.align	2
.LC0:
	.word	1000000000
	.word	1000000000
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L23+4
	sub	r3, fp, #108
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L23+8
	bl	utime
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L23+12
	mov	r2, #38
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__assert_fail
.L8:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L23+12
	mov	r2, #39
	ldr	r1, .L23+16
	ldr	r0, .L23+24
	bl	__assert_fail
.L9:
	sub	r3, fp, #100
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L23+8
	bl	stat
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L23+12
	mov	r2, #42
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__assert_fail
.L10:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L23+12
	mov	r2, #43
	ldr	r1, .L23+16
	ldr	r0, .L23+28
	bl	__assert_fail
.L11:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L23+12
	mov	r2, #44
	ldr	r1, .L23+16
	ldr	r0, .L23+32
	bl	__assert_fail
.L12:
	mov	r0, #0
	bl	time
	str	r0, [fp, #-116]
	mov	r1, #0
	ldr	r0, .L23+8
	bl	utime
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L23+12
	mov	r2, #49
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__assert_fail
.L13:
	sub	r3, fp, #100
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L23+8
	bl	stat
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	beq	.L14
	ldr	r3, .L23+12
	mov	r2, #52
	ldr	r1, .L23+16
	ldr	r0, .L23+36
	bl	__assert_fail
.L14:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-116]
	sub	r3, r2, r3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r3, #5
	ble	.L15
	ldr	r3, .L23+40
	ldr	r0, [r3]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	ldr	r3, [fp, #-116]
	ldr	r1, .L23+44
	bl	fprintf
	ldr	r3, [fp, #-112]
	cmn	r3, #5
	blt	.L16
	ldr	r3, [fp, #-112]
	cmp	r3, #5
	ble	.L15
.L16:
	ldr	r3, .L23+12
	mov	r2, #56
	ldr	r1, .L23+16
	ldr	r0, .L23+48
	bl	__assert_fail
.L15:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L23+52
	bl	utime
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L23+12
	mov	r2, #63
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__assert_fail
.L17:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L23+12
	mov	r2, #64
	ldr	r1, .L23+16
	ldr	r0, .L23+24
	bl	__assert_fail
.L18:
	sub	r3, fp, #100
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L23+52
	bl	stat
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L23+12
	mov	r2, #67
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	__assert_fail
.L19:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	beq	.L20
	ldr	r3, .L23+12
	mov	r2, #68
	ldr	r1, .L23+16
	ldr	r0, .L23+28
	bl	__assert_fail
.L20:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	beq	.L21
	ldr	r3, .L23+12
	mov	r2, #69
	ldr	r1, .L23+16
	ldr	r0, .L23+32
	bl	__assert_fail
.L21:
	ldr	r0, .L23+56
	bl	puts
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	__PRETTY_FUNCTION__.6491
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	.LC2
	.word	.LC11
	.size	test, .-test
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L27
	bl	atexit
	ldr	r1, .L27
	mov	r0, #6
	bl	signal
	bl	setup
	bl	test
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	cleanup
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6491, %object
	.size	__PRETTY_FUNCTION__.6491, 5
__PRETTY_FUNCTION__.6491:
	.ascii	"test\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
