	.file	"451851.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"../data/6.txt"
.LC2:
	.string	"Answers total: %d\n"
.LC3:
	.string	"file not found"
	.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, 352
	mov	DWORD PTR -340[rbp], edi
	mov	QWORD PTR -352[rbp], rsi
	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 -312[rbp], rax
	cmp	QWORD PTR -312[rbp], 0
	je	.L2
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	WORD PTR -280[rbp], 0
	mov	DWORD PTR -336[rbp], 0
.L12:
	mov	rdx, QWORD PTR -312[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -272[rbp]
	cmp	al, 10
	je	.L3
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L4
.L3:
	mov	DWORD PTR -332[rbp], 0
	mov	DWORD PTR -328[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	movzx	eax, BYTE PTR -304[rbp+rax]
	movsx	eax, al
	add	DWORD PTR -332[rbp], eax
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	mov	BYTE PTR -304[rbp+rax], 0
	add	DWORD PTR -328[rbp], 1
.L5:
	cmp	DWORD PTR -328[rbp], 25
	jle	.L6
	mov	eax, DWORD PTR -332[rbp]
	add	DWORD PTR -336[rbp], eax
	jmp	.L7
.L4:
	lea	rax, -272[rbp]
	mov	QWORD PTR -320[rbp], rax
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -320[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	mov	DWORD PTR -324[rbp], eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	BYTE PTR -304[rbp+rax], 1
	add	QWORD PTR -320[rbp], 1
.L8:
	mov	rax, QWORD PTR -320[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L9
.L7:
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L17
	jmp	.L12
.L17:
	nop
	mov	eax, DWORD PTR -336[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L2:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L13:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"451851.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"../data/6.txt\000"
	.align	2
.LC2:
	.ascii	"Answers total: %d\012\000"
	.align	2
.LC3:
	.ascii	"file not found\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-320]
	str	r1, [fp, #-324]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L18+4
	ldr	r0, .L18+8
	bl	fopen
	str	r0, [fp, #-300]
	ldr	r3, [fp, #-300]
	cmp	r3, #0
	beq	.L2
	mov	r3, #0
	str	r3, [fp, #-292]
	sub	r3, fp, #288
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	strh	r2, [r3, #20]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-316]
.L12:
	sub	r3, fp, #264
	ldr	r2, [fp, #-300]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L3
	ldr	r0, [fp, #-300]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-312]
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L5
.L6:
	sub	r2, fp, #292
	ldr	r3, [fp, #-308]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-312]
	add	r3, r3, r2
	str	r3, [fp, #-312]
	sub	r2, fp, #292
	ldr	r3, [fp, #-308]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L5:
	ldr	r3, [fp, #-308]
	cmp	r3, #25
	ble	.L6
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-312]
	add	r3, r2, r3
	str	r3, [fp, #-316]
	b	.L7
.L4:
	sub	r3, fp, #264
	str	r3, [fp, #-304]
	b	.L8
.L9:
	ldr	r3, [fp, #-304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #97
	str	r3, [fp, #-296]
	sub	r2, fp, #292
	ldr	r3, [fp, #-296]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L8:
	ldr	r3, [fp, #-304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L9
.L7:
	ldr	r0, [fp, #-300]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	b	.L12
.L17:
	nop
	ldr	r1, [fp, #-316]
	ldr	r0, .L18+12
	bl	printf
	b	.L13
.L2:
	ldr	r0, .L18+16
	bl	puts
.L13:
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
