	.file	"11075274.c"
	.intel_syntax noprefix
	.text
	.globl	countChecks1
	.type	countChecks1, @function
countChecks1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L3
	add	DWORD PTR -8[rbp], 1
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 25
	jle	.L4
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	countChecks1, .-countChecks1
	.globl	countChecks2
	.type	countChecks2, @function
countChecks2:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L8
	add	DWORD PTR -8[rbp], 1
.L8:
	add	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 25
	jle	.L9
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	countChecks2, .-countChecks2
	.globl	zeroChecks
	.type	zeroChecks, @function
zeroChecks:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L12:
	cmp	DWORD PTR -4[rbp], 25
	jle	.L13
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	zeroChecks, .-zeroChecks
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"Can't read"
.LC2:
	.string	"Part1: %d\n"
.LC3:
	.string	"Part2: %d\n"
	.text
	.globl	readInput
	.type	readInput, @function
readInput:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -184[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L25
.L15:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	zeroChecks
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -160[rbp], 0
	mov	DWORD PTR -156[rbp], 0
.L24:
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	rdx, QWORD PTR -128[rbp]
	lea	rcx, -136[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 1
	jne	.L17
	mov	rax, QWORD PTR -144[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L18
.L17:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L19
.L18:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	countChecks1
	add	DWORD PTR -164[rbp], eax
	mov	edx, DWORD PTR -156[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	countChecks2
	add	DWORD PTR -160[rbp], eax
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	zeroChecks
	mov	DWORD PTR -156[rbp], 0
	jmp	.L20
.L19:
	add	DWORD PTR -156[rbp], 1
	mov	DWORD PTR -152[rbp], 0
	jmp	.L21
.L22:
	mov	rdx, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
	add	DWORD PTR -152[rbp], 1
.L21:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	rdx, QWORD PTR -120[rbp]
	sub	rdx, 1
	cmp	rax, rdx
	jl	.L22
.L20:
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L24
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
.L25:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readInput, .-readInput
	.section	.rodata
	.align 8
.LC4:
	.string	"You need to specify path to file!"
.LC5:
	.string	"Can't read array!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jg	.L28
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	readInput
	test	eax, eax
	jne	.L30
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L29
.L30:
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"11075274.c"
	.text
	.align	2
	.global	countChecks1
	.syntax unified
	.arm
	.fpu softvfp
	.type	countChecks1, %function
countChecks1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	ble	.L4
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	countChecks1, .-countChecks1
	.align	2
	.global	countChecks2
	.syntax unified
	.arm
	.fpu softvfp
	.type	countChecks2, %function
countChecks2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L9:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	ble	.L9
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	countChecks2, .-countChecks2
	.align	2
	.global	zeroChecks
	.syntax unified
	.arm
	.fpu softvfp
	.type	zeroChecks, %function
zeroChecks:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #25
	ble	.L13
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	zeroChecks, .-zeroChecks
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Can't read\000"
	.align	2
.LC2:
	.ascii	"Part1: %d\012\000"
	.align	2
.LC3:
	.ascii	"Part2: %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readInput
	.syntax unified
	.arm
	.fpu softvfp
	.type	readInput, %function
readInput:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L27+4
	ldr	r0, [fp, #-152]
	bl	fopen
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L27+8
	bl	puts
	mvn	r3, #0
	b	.L25
.L15:
	sub	r3, fp, #112
	mov	r0, r3
	bl	zeroChecks
	mov	r3, #0
	str	r3, [fp, #-140]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
.L24:
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-144]
	sub	r1, fp, #144
	sub	r3, fp, #148
	ldr	r2, [fp, #-124]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	bne	.L17
	ldr	r3, [fp, #-148]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L18
.L17:
	ldr	r0, [fp, #-124]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
.L18:
	sub	r3, fp, #112
	mov	r0, r3
	bl	countChecks1
	mov	r2, r0
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	str	r3, [fp, #-140]
	sub	r3, fp, #112
	ldr	r1, [fp, #-132]
	mov	r0, r3
	bl	countChecks2
	mov	r2, r0
	ldr	r3, [fp, #-136]
	add	r3, r3, r2
	str	r3, [fp, #-136]
	sub	r3, fp, #112
	mov	r0, r3
	bl	zeroChecks
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L20
.L19:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L21
.L22:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #97
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-108]
	add	r2, r3, #1
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-108]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L21:
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	ldr	r2, [fp, #-128]
	cmp	r2, r3
	blt	.L22
.L20:
	ldr	r0, [fp, #-124]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r1, [fp, #-140]
	ldr	r0, .L27+12
	bl	printf
	ldr	r1, [fp, #-136]
	ldr	r0, .L27+16
	bl	printf
	mov	r3, #1
.L25:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	readInput, .-readInput
	.section	.rodata
	.align	2
.LC5:
	.ascii	"You need to specify path to file!\000"
	.align	2
.LC6:
	.ascii	"Can't read array!\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bgt	.L30
	ldr	r0, .L33
	bl	puts
	mvn	r3, #0
	b	.L31
.L30:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	readInput
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L33+4
	bl	puts
	mvn	r3, #0
	b	.L31
.L32:
	mov	r3, #0
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
