	.file	"272273.c"
	.intel_syntax noprefix
	.text
	.local	verbose
	.comm	verbose,1,1
	.local	dry_run
	.comm	dry_run,1,1
	.section	.rodata
.LC0:
	.string	"error"
	.align 8
.LC1:
	.string	"info: reading directory content."
.LC2:
	.string	"."
.LC3:
	.string	".."
.LC4:
	.string	"info: deleting file %s."
	.text
	.type	clean, @function
clean:
.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, 464
	mov	QWORD PTR -456[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -460[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L4
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L4
.L13:
	mov	rax, QWORD PTR -440[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -440[rbp]
	add	rax, 19
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -440[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	je	.L7
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -440[rbp]
	add	rax, 19
	mov	QWORD PTR -432[rbp], rax
	lea	rdx, -416[rbp]
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	cmp	eax, -1
	jne	.L8
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -424[rbp], rax
	mov	edi, 0
	call	time@PLT
	sub	rax, QWORD PTR -424[rbp]
	mov	rcx, rax
	movabs	rdx, -8608480567731124087
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 5
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -424[rbp], rax
	movzx	eax, WORD PTR -460[rbp]
	cmp	QWORD PTR -424[rbp], rax
	jl	.L4
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L9
	mov	rax, QWORD PTR -432[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L9:
	movzx	eax, BYTE PTR dry_run[rip]
	test	al, al
	jne	.L4
	mov	rcx, QWORD PTR -432[rbp]
	lea	rax, -272[rbp]
	mov	edx, 244
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -272[rbp]
	add	rax, rdx
	movabs	rsi, 8371761134200318255
	mov	QWORD PTR [rax], rsi
	mov	WORD PTR 8[rax], 29816
	mov	BYTE PTR 10[rax], 0
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	unlink@PLT
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L4
.L10:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	rmdir@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L4:
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -440[rbp], rax
	cmp	QWORD PTR -440[rbp], 0
	jne	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L14
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L14:
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	closedir@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	clean, .-clean
	.section	.rodata
	.align 8
.LC5:
	.string	"usage: cleaner\t[-hvD] [-s sleep] [-t time] [-d directory]\n"
.LC6:
	.string	"hDvt:d:s:"
	.align 8
.LC7:
	.string	"error: directory not defined.\n"
	.align 8
.LC8:
	.string	"error: age must be older than 0 minutes.\n"
.LC9:
	.string	"info: dry running."
.LC10:
	.string	"info: changing dir."
.LC11:
	.string	"info: entering main loop"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	WORD PTR -20[rbp], 0
	mov	WORD PTR -18[rbp], 10
	cmp	DWORD PTR -36[rbp], 1
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L27:
	cmp	DWORD PTR -16[rbp], 118
	je	.L20
	cmp	DWORD PTR -16[rbp], 118
	jg	.L21
	cmp	DWORD PTR -16[rbp], 116
	je	.L22
	cmp	DWORD PTR -16[rbp], 116
	jg	.L21
	cmp	DWORD PTR -16[rbp], 115
	je	.L23
	cmp	DWORD PTR -16[rbp], 115
	jg	.L21
	cmp	DWORD PTR -16[rbp], 68
	je	.L24
	cmp	DWORD PTR -16[rbp], 100
	je	.L25
	jmp	.L21
.L24:
	movzx	eax, BYTE PTR dry_run[rip]
	add	eax, 1
	mov	BYTE PTR dry_run[rip], al
	jmp	.L19
.L20:
	movzx	eax, BYTE PTR verbose[rip]
	add	eax, 1
	mov	BYTE PTR verbose[rip], al
	jmp	.L19
.L22:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -20[rbp], ax
	jmp	.L19
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -18[rbp], ax
	cmp	WORD PTR -18[rbp], 0
	jne	.L19
	mov	WORD PTR -18[rbp], 10
	jmp	.L19
.L25:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L19
.L21:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L19:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC6[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	jne	.L27
	cmp	QWORD PTR -8[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L28:
	cmp	WORD PTR -20[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L18
.L29:
	movzx	eax, BYTE PTR dry_run[rip]
	test	al, al
	je	.L30
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L30:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L31
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	chdir@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L32
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L18
.L32:
	movzx	eax, BYTE PTR verbose[rip]
	test	al, al
	je	.L33
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L33:
	movzx	edx, WORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	clean
	movzx	eax, WORD PTR -18[rbp]
	mov	edi, eax
	call	sleep@PLT
	jmp	.L32
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"272273.c"
	.text
	.local	verbose
	.comm	verbose,1,1
	.local	dry_run
	.comm	dry_run,1,1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error\000"
	.align	2
.LC1:
	.ascii	"info: reading directory content.\000"
	.align	2
.LC2:
	.ascii	".\000"
	.align	2
.LC3:
	.ascii	"..\000"
	.align	2
.LC4:
	.ascii	"info: deleting file %s.\000"
	.align	2
.LC5:
	.ascii	"/index.txt\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clean, %function
clean:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #376
	str	r0, [fp, #-376]
	mov	r2, r1
	sub	r3, fp, #4
	sub	r3, r3, #372
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-376]
	bl	opendir
	str	r0, [fp, #-372]
	ldr	r3, [fp, #-372]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L16+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L16+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L16+12
	bl	printf
	mov	r0, #10
	bl	putchar
	b	.L4
.L13:
	ldr	r3, [fp, #-368]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L16+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-368]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, .L16+20
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	b	.L4
.L6:
	ldr	r3, [fp, #-368]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	beq	.L7
	b	.L4
.L7:
	ldr	r3, [fp, #-368]
	add	r3, r3, #11
	str	r3, [fp, #-364]
	sub	r3, fp, #356
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L8
	ldr	r0, .L16+4
	bl	perror
	b	.L4
.L8:
	ldr	r3, [fp, #-292]
	str	r3, [fp, #-360]
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, [fp, #-360]
	sub	r3, r2, r3
	ldr	r2, .L16+24
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-360]
	sub	r3, fp, #4
	sub	r3, r3, #372
	sub	r3, r3, #2
	ldrh	r3, [r3]
	ldr	r2, [fp, #-360]
	cmp	r2, r3
	blt	.L4
	ldr	r3, .L16+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	ldr	r1, [fp, #-364]
	ldr	r0, .L16+28
	bl	printf
	mov	r0, #10
	bl	putchar
.L9:
	ldr	r3, .L16+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #264
	mov	r2, #244
	ldr	r1, [fp, #-364]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #264
	add	r3, r3, r2
	ldr	r2, .L16+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #11
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #264
	mov	r0, r3
	bl	unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L16+4
	bl	perror
	b	.L4
.L10:
	ldr	r0, [fp, #-364]
	bl	rmdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L16+4
	bl	perror
.L4:
	ldr	r0, [fp, #-372]
	bl	readdir
	str	r0, [fp, #-368]
	ldr	r3, [fp, #-368]
	cmp	r3, #0
	bne	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L16+4
	bl	perror
.L14:
	ldr	r0, [fp, #-372]
	bl	closedir
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	.LC0
	.word	verbose
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-2004318071
	.word	.LC4
	.word	dry_run
	.word	.LC5
	.size	clean, .-clean
	.section	.rodata
	.align	2
.LC7:
	.ascii	"usage: cleaner\011[-hvD] [-s sleep] [-t time] [-d d"
	.ascii	"irectory]\012\000"
	.align	2
.LC8:
	.ascii	"hDvt:d:s:\000"
	.align	2
.LC9:
	.ascii	"error: directory not defined.\012\000"
	.align	2
.LC10:
	.ascii	"error: age must be older than 0 minutes.\012\000"
	.align	2
.LC11:
	.ascii	"info: dry running.\000"
	.align	2
.LC12:
	.ascii	"info: changing dir.\000"
	.align	2
.LC13:
	.ascii	"info: entering main loop\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #10
	strh	r3, [fp, #-18]	@ movhi
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L21
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L37+4
	bl	fwrite
	mov	r3, #1
	b	.L20
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #68
	beq	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #68
	blt	.L23
	ldr	r3, [fp, #-12]
	cmp	r3, #118
	bgt	.L23
	ldr	r3, [fp, #-12]
	cmp	r3, #100
	blt	.L23
	ldr	r3, [fp, #-12]
	sub	r3, r3, #100
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L23
.L25:
	.word	.L28
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L23
	.word	.L27
	.word	.L26
	.word	.L23
	.word	.L24
.L22:
	ldr	r3, .L37+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L37+8
	strb	r2, [r3]
	b	.L21
.L24:
	ldr	r3, .L37+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L37+12
	strb	r2, [r3]
	b	.L21
.L26:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	strh	r3, [fp, #-20]	@ movhi
	b	.L21
.L27:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	strh	r3, [fp, #-18]	@ movhi
	ldrh	r3, [fp, #-18]
	cmp	r3, #0
	bne	.L21
	mov	r3, #10
	strh	r3, [fp, #-18]	@ movhi
	b	.L21
.L28:
	ldr	r3, .L37+16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L21
.L23:
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L37+4
	bl	fwrite
	mov	r3, #1
	b	.L20
.L21:
	ldr	r2, .L37+20
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L30
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L37+24
	bl	fwrite
	mov	r3, #1
	b	.L20
.L31:
	ldrh	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L37
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L37+28
	bl	fwrite
	mov	r3, #1
	b	.L20
.L32:
	ldr	r3, .L37+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L33
	ldr	r0, .L37+32
	bl	printf
	mov	r0, #10
	bl	putchar
.L33:
	ldr	r3, .L37+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L37+36
	bl	printf
	mov	r0, #10
	bl	putchar
.L34:
	ldr	r0, [fp, #-16]
	bl	chdir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L37+40
	bl	perror
	mov	r3, #1
	b	.L20
.L35:
	ldr	r3, .L37+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldr	r0, .L37+44
	bl	printf
	mov	r0, #10
	bl	putchar
.L36:
	ldrh	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	clean
	ldrh	r3, [fp, #-18]
	mov	r0, r3
	bl	sleep
	b	.L35
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	stderr
	.word	.LC7
	.word	dry_run
	.word	verbose
	.word	optarg
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC0
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
