	.file	"499128.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Need 2 arguments dude. Directory name, and number of days\n"
.LC1:
	.string	"%d files deleted\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	cmp	DWORD PTR -52[rbp], 3
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	mtime_long
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	then_time
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	tidy_dir
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"."
.LC3:
	.string	".."
.LC4:
	.string	"can't stat '%s' - ignoring\n"
.LC6:
	.string	"Couldn't remove %s\n"
	.text
	.globl	tidy_item
	.type	tidy_item, @function
tidy_item:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
	mov	DWORD PTR -164[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -152[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L16
	lea	rcx, -112[rbp]
	mov	edx, DWORD PTR -164[rbp]
	mov	rsi, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	canonicalise_item
	mov	edi, 144
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	check_malloc
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	je	.L8
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 16384
	jne	.L9
	mov	rdx, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	tidy_dir
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	rmdir@PLT
	jmp	.L10
.L9:
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 61440
	cmp	eax, 32768
	jne	.L10
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm1, rax
	comisd	xmm1, xmm0
	jbe	.L10
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	unlink@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L10
.L12:
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	lea	rdx, .LC6[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	perror@PLT
.L10:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L4
.L16:
	nop
.L4:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	tidy_item, .-tidy_item
	.section	.rodata
.LC7:
	.string	"Can't open dir %s - ignoring\n"
	.align 8
.LC8:
	.string	"Failed to close dir %s - ignoring\n"
	.text
	.globl	tidy_dir
	.type	tidy_dir, @function
tidy_dir:
.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, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L18
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	lea	rdx, .LC7[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -120[rbp], eax
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -104[rbp]
	lea	rdi, 19[rax]
	mov	ecx, DWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rdi
	mov	rdi, rax
	call	tidy_item
.L20:
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	je	.L17
	mov	rdx, QWORD PTR -152[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	perror@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	tidy_dir, .-tidy_dir
	.section	.rodata
.LC9:
	.string	"Out of memory. Bailing\n"
	.text
	.globl	check_malloc
	.type	check_malloc, @function
check_malloc:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	check_malloc, .-check_malloc
	.section	.rodata
	.align 8
.LC10:
	.string	"Whoa cowboy %ld is a lot of seconds. Baiing\n"
.LC11:
	.string	"Mad time error. Sorry\n"
	.text
	.globl	then_time
	.type	then_time, @function
then_time:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rax, 86400
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 2147483648
	cmp	QWORD PTR -24[rbp], rax
	jl	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	time@PLT
	cmp	rax, -1
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	then_time, .-then_time
	.section	.rodata
	.align 8
.LC12:
	.string	"couldn't convert %s to a long\n"
.LC13:
	.string	"No digits were found\n"
	.align 8
.LC14:
	.string	"Further characters after number: %s\n"
	.text
	.globl	mtime_long
	.type	mtime_long, @function
mtime_long:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -104[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 34
	jne	.L33
	movabs	rax, 9223372036854775807
	cmp	QWORD PTR -104[rbp], rax
	je	.L34
	movabs	rax, -9223372036854775808
	cmp	QWORD PTR -104[rbp], rax
	je	.L34
.L33:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L35
	cmp	QWORD PTR -104[rbp], 0
	jne	.L35
.L34:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -96[rbp]
	mov	rcx, rdx
	lea	rdx, .LC12[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	mov	rax, QWORD PTR -112[rbp]
	cmp	QWORD PTR -120[rbp], rax
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	rax, QWORD PTR -112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L37
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L37:
	mov	rax, QWORD PTR -104[rbp]
	cqo
	mov	rax, rdx
	xor	rax, QWORD PTR -104[rbp]
	sub	rax, rdx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	mtime_long, .-mtime_long
	.globl	canonicalise_item
	.type	canonicalise_item, @function
canonicalise_item:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	check_malloc
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 47
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	canonicalise_item, .-canonicalise_item
	.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	"499128.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Need 2 arguments dude. Directory name, and number o"
	.ascii	"f days\012\000"
	.align	2
.LC1:
	.ascii	"%d files deleted\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L4+4
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L4+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	mtime_long
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	then_time
	str	r0, [fp, #-12]
	sub	r3, fp, #28
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	tidy_dir
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L4+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #0
	bl	exit
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	".\000"
	.align	2
.LC4:
	.ascii	"..\000"
	.align	2
.LC5:
	.ascii	"can't stat '%s' - ignoring\012\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC6:
	.ascii	"Couldn't remove %s\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tidy_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	tidy_item, %function
tidy_item:
	@ args = 4, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L19+4
	ldr	r0, [fp, #-120]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r1, .L19+8
	ldr	r0, [fp, #-120]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #104
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-120]
	bl	canonicalise_item
	mov	r0, #88
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	ldr	r0, [fp, #-100]
	bl	check_malloc
	ldr	r3, [fp, #-104]
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	lstat
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L19+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-104]
	ldr	r1, .L19+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-100]
	bl	free
	b	.L6
.L10:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #16384
	bne	.L11
	ldr	r3, [fp, #-104]
	mov	r2, r3
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	tidy_dir
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	rmdir
	b	.L12
.L11:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #16]
	and	r3, r3, #61440
	cmp	r3, #32768
	bne	.L12
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #64]
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	difftime
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-112]
	str	r2, [r3]
	b	.L12
.L14:
	ldr	r3, [fp, #-104]
	sub	r0, fp, #92
	ldr	r2, .L19+20
	mov	r1, #80
	bl	snprintf
	sub	r3, fp, #92
	mov	r0, r3
	bl	perror
.L12:
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-100]
	bl	free
	b	.L6
.L18:
	nop
.L6:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.size	tidy_item, .-tidy_item
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Can't open dir %s - ignoring\012\000"
	.align	2
.LC9:
	.ascii	"Failed to close dir %s - ignoring\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tidy_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	tidy_dir, %function
tidy_dir:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L22
	sub	r0, fp, #92
	ldr	r3, [fp, #-120]
	ldr	r2, .L28+4
	mov	r1, #80
	bl	snprintf
	sub	r3, fp, #92
	mov	r0, r3
	bl	perror
	b	.L21
.L22:
	ldr	r0, [fp, #-120]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-104]
	b	.L24
.L25:
	ldr	r3, [fp, #-100]
	add	r2, r3, #11
	ldr	r3, [fp, #-104]
	str	r3, [sp]
	ldr	r3, [fp, #-120]
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-112]
	bl	tidy_item
.L24:
	ldr	r0, [fp, #-108]
	bl	readdir
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L25
	ldr	r0, [fp, #-108]
	bl	closedir
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L21
	sub	r0, fp, #92
	ldr	r3, [fp, #-120]
	ldr	r2, .L28+8
	mov	r1, #80
	bl	snprintf
	sub	r3, fp, #92
	mov	r0, r3
	bl	perror
.L21:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC10
	.word	.LC8
	.word	.LC9
	.size	tidy_dir, .-tidy_dir
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Out of memory. Bailing\012\000"
	.text
	.align	2
	.global	check_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_malloc, %function
check_malloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L33+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L32:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	stderr
	.word	.LC11
	.size	check_malloc, .-check_malloc
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Mad time error. Sorry\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	then_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	then_time, %function
then_time:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #7
	str	r3, [fp, #-16]
	sub	r3, fp, #12
	mov	r0, r3
	bl	time
	mov	r3, r0
	cmn	r3, #1
	bne	.L36
	ldr	r3, .L39+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L39+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L36:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC13
	.word	stderr
	.word	.LC12
	.size	then_time, .-then_time
	.section	.rodata
	.align	2
.LC14:
	.ascii	"couldn't convert %s to a long\012\000"
	.align	2
.LC15:
	.ascii	"No digits were found\012\000"
	.align	2
.LC16:
	.ascii	"Further characters after number: %s\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mtime_long
	.syntax unified
	.arm
	.fpu softvfp
	.type	mtime_long, %function
mtime_long:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #100
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	strtol
	str	r0, [fp, #-96]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #34
	bne	.L42
	ldr	r3, [fp, #-96]
	cmn	r3, #-2147483647
	beq	.L43
	ldr	r3, [fp, #-96]
	cmp	r3, #-2147483648
	beq	.L43
.L42:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L44
.L43:
	sub	r0, fp, #92
	ldr	r3, [fp, #-104]
	ldr	r2, .L49+4
	mov	r1, #80
	bl	snprintf
	sub	r3, fp, #92
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L44:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	bne	.L45
	ldr	r3, .L49+8
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L49+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L45:
	ldr	r3, [fp, #-100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L49+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-100]
	ldr	r1, .L49+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L46:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC17
	.word	.LC14
	.word	stderr
	.word	.LC15
	.word	.LC16
	.size	mtime_long, .-mtime_long
	.section	.rodata
	.align	2
.LC18:
	.ascii	"/\000"
	.text
	.align	2
	.global	canonicalise_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	canonicalise_item, %function
canonicalise_item:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	check_malloc
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L52
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	strcat
	ldr	r0, [fp, #-8]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC18
	.size	canonicalise_item, .-canonicalise_item
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
