	.file	"126701922.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"."
	.align 8
.LC1:
	.string	"Error: Cannot open current directory.\n"
	.align 8
.LC2:
	.string	"Error: realpath() failed. %s.\n"
.LC3:
	.string	"%b, %d, %Y, %H:%M"
.LC4:
	.string	"%s [%s]\n"
.LC5:
	.string	"Error: stat failed. %s.\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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	opendir@PLT
	mov	QWORD PTR -4408[rbp], rax
	cmp	QWORD PTR -4408[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -4400[rbp]
	lea	rdx, 19[rax]
	lea	rax, -4112[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	realpath@PLT
	mov	QWORD PTR -4392[rbp], rax
	cmp	QWORD PTR -4392[rbp], 0
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rdx, -4384[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L5
	lea	rax, -4384[rbp]
	add	rax, 88
	mov	rdi, rax
	call	localtime@PLT
	mov	rdx, rax
	lea	rax, -4240[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 128
	mov	rdi, rax
	call	strftime@PLT
	lea	rdx, -4240[rbp]
	lea	rax, -4112[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L5:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -4408[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -4400[rbp], rax
	cmp	QWORD PTR -4400[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -4408[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"126701922.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	".\000"
	.align	2
.LC1:
	.ascii	"Error: Cannot open current directory.\012\000"
	.align	2
.LC2:
	.ascii	"Error: realpath() failed. %s.\012\000"
	.align	2
.LC3:
	.ascii	"%b, %d, %Y, %H:%M\000"
	.align	2
.LC4:
	.ascii	"%s [%s]\012\000"
	.align	2
.LC5:
	.ascii	"Error: stat failed. %s.\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4288
	sub	sp, sp, #52
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L8+4
	bl	opendir
	str	r0, [r4, #-236]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-236]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L8+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	add	r2, r3, #11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realpath
	str	r0, [r4, #-228]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L8+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+16
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	sub	r2, fp, #4288
	sub	r2, r2, #12
	sub	r2, r2, #32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #4288
	sub	r3, r3, #12
	sub	r3, r3, #32
	add	r3, r3, #64
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	r0, fp, #4224
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L8+20
	mov	r1, #128
	bl	strftime
	sub	r2, fp, #4224
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	b	.L3
.L5:
	ldr	r3, .L8+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L8+28
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-236]
	bl	readdir
	str	r0, [r4, #-232]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-232]
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-236]
	bl	closedir
	mov	r0, #0
	bl	exit
.L9:
	.align	2
.L8:
	.word	.LC6
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
