	.file	"407233.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%Y-%m-%d %H:%M:%S %z"
.LC1:
	.string	"%s "
.LC2:
	.string	"fputc"
	.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, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -280[rbp], rax
	mov	BYTE PTR -290[rbp], 1
	mov	BYTE PTR -289[rbp], 0
	cmp	DWORD PTR -308[rbp], 1
	jle	.L3
	mov	rax, QWORD PTR -320[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -280[rbp], rax
	jmp	.L3
.L7:
	cmp	BYTE PTR -290[rbp], 0
	je	.L4
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -288[rbp], rax
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	strftime@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -290[rbp], 0
.L4:
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -289[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	cmp	eax, -1
	jne	.L5
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L8
.L5:
	cmp	BYTE PTR -289[rbp], 10
	jne	.L3
	mov	BYTE PTR -290[rbp], 1
.L3:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -289[rbp], al
	cmp	BYTE PTR -289[rbp], -1
	jne	.L7
	mov	eax, 0
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"407233.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%Y-%m-%d %H:%M:%S %z\000"
	.align	2
.LC1:
	.ascii	"%s \000"
	.align	2
.LC2:
	.ascii	"fputc\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L11+4
	str	r3, [fp, #-268]
	mov	r3, #1
	strb	r3, [fp, #-274]
	mov	r3, #0
	strb	r3, [fp, #-273]
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	ble	.L3
	ldr	r3, [fp, #-284]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-268]
	b	.L3
.L10:
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-272]
	sub	r3, fp, #272
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	r0, fp, #264
	ldr	r2, [fp, #-268]
	mov	r1, #256
	bl	strftime
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L11+8
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-274]
.L4:
	ldrb	r3, [fp, #-273]	@ zero_extendqisi2
	ldr	r2, .L11+12
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputc
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	ldr	r0, .L11+16
	bl	perror
	mov	r3, #1
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	b	.L9
.L5:
	ldrb	r3, [fp, #-273]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	mov	r3, #1
	strb	r3, [fp, #-274]
.L3:
	ldr	r3, .L11+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-273]
	ldrb	r3, [fp, #-274]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	b	.L10
.L9:
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	.LC2
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
