	.file	"297948.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input.txt"
.LC2:
	.string	"%d : %lli  | "
.LC3:
	.string	"%lli"
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	jmp	.L2
.L3:
	movsx	eax, BYTE PTR -121[rbp]
	sub	eax, 48
	movsx	rdx, eax
	mov	rdx, QWORD PTR -80[rbp+rdx*8]
	add	rdx, 1
	cdqe
	mov	QWORD PTR -80[rbp+rax*8], rdx
.L2:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	BYTE PTR -121[rbp], al
	cmp	BYTE PTR -121[rbp], -1
	jne	.L3
	mov	DWORD PTR -120[rbp], 0
	jmp	.L4
.L9:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	rdx, QWORD PTR -80[rbp+rax*8]
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -116[rbp], 1
.L5:
	cmp	DWORD PTR -116[rbp], 8
	jle	.L6
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 1
	cdqe
	mov	rdx, QWORD PTR -80[rbp+rax*8]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	QWORD PTR -80[rbp+rax*8], rdx
	add	DWORD PTR -112[rbp], 1
.L7:
	cmp	DWORD PTR -112[rbp], 7
	jle	.L8
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	add	DWORD PTR -120[rbp], 1
.L4:
	cmp	DWORD PTR -120[rbp], 255
	jle	.L9
	mov	QWORD PTR -104[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	add	QWORD PTR -104[rbp], rax
	add	DWORD PTR -108[rbp], 1
.L10:
	cmp	DWORD PTR -108[rbp], 8
	jle	.L11
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"297948.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\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 = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	fopen
	str	r0, [fp, #-104]
	sub	r3, fp, #92
	mov	r2, #72
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	b	.L2
.L5:
	ldrb	r3, [fp, #-105]	@ zero_extendqisi2
	sub	r1, r3, #48
	lsl	r3, r1, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	lsl	r3, r1, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #80
	stm	r3, {r4-r5}
.L2:
	ldr	r0, [fp, #-104]
	bl	getc
	mov	r3, r0
	strb	r3, [fp, #-105]
	b	.L5
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
