	.file	"695822.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input.txt"
	.align 8
.LC2:
	.string	"could not open file: errno %d\n"
.LC3:
	.string	"Result: %d \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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2880
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -15140[rbp], 25
	mov	DWORD PTR -15136[rbp], 6
	mov	eax, DWORD PTR -15140[rbp]
	imul	eax, DWORD PTR -15136[rbp]
	mov	DWORD PTR -15132[rbp], eax
	mov	DWORD PTR -15164[rbp], 0
	mov	DWORD PTR -15160[rbp], 0
	mov	DWORD PTR -15156[rbp], 0
	mov	DWORD PTR -15152[rbp], 0
	mov	eax, DWORD PTR -15132[rbp]
	mov	DWORD PTR -15148[rbp], eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -15128[rbp], rax
	cmp	QWORD PTR -15128[rbp], 0
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rdx, QWORD PTR -15128[rbp]
	lea	rax, -15120[rbp]
	mov	esi, 15100
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -15128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -15144[rbp], 0
.L8:
	mov	eax, DWORD PTR -15144[rbp]
	cdqe
	movzx	eax, BYTE PTR -15120[rbp+rax]
	cmp	al, 48
	jne	.L3
	add	DWORD PTR -15160[rbp], 1
.L3:
	mov	eax, DWORD PTR -15144[rbp]
	cdqe
	movzx	eax, BYTE PTR -15120[rbp+rax]
	cmp	al, 49
	jne	.L4
	add	DWORD PTR -15156[rbp], 1
.L4:
	mov	eax, DWORD PTR -15144[rbp]
	cdqe
	movzx	eax, BYTE PTR -15120[rbp+rax]
	cmp	al, 50
	jne	.L5
	add	DWORD PTR -15152[rbp], 1
.L5:
	mov	eax, DWORD PTR -15144[rbp]
	cdq
	idiv	DWORD PTR -15132[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L6
	cmp	DWORD PTR -15144[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -15160[rbp]
	cmp	eax, DWORD PTR -15148[rbp]
	jge	.L7
	mov	eax, DWORD PTR -15160[rbp]
	mov	DWORD PTR -15148[rbp], eax
	mov	eax, DWORD PTR -15156[rbp]
	imul	eax, DWORD PTR -15152[rbp]
	mov	DWORD PTR -15164[rbp], eax
.L7:
	mov	DWORD PTR -15160[rbp], 0
	mov	DWORD PTR -15156[rbp], 0
	mov	DWORD PTR -15152[rbp], 0
.L6:
	add	DWORD PTR -15144[rbp], 1
	mov	eax, DWORD PTR -15144[rbp]
	cdqe
	movzx	eax, BYTE PTR -15120[rbp+rax]
	test	al, al
	jne	.L8
	mov	eax, DWORD PTR -15164[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@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	"695822.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\000"
	.align	2
.LC2:
	.ascii	"could not open file: errno %d\012\000"
	.global	__aeabi_idivmod
	.align	2
.LC3:
	.ascii	"Result: %d \012\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 = 15144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #15104
	sub	sp, sp, #44
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #25
	str	r3, [r2, #-2832]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #6
	str	r3, [r2, #-2828]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r3, [r3, #-2832]
	ldr	r2, [r2, #-2828]
	mul	r3, r2, r3
	str	r3, [r1, #-2824]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2856]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2852]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2848]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2844]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2824]
	str	r3, [r2, #-2840]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	fopen
	str	r0, [r4, #-2820]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2820]
	cmp	r3, #0
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #15104
	sub	r3, r3, #12
	ldr	r2, [r2, #-2820]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2820]
	bl	fclose
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2836]
.L8:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	add	r3, r2, r3
	sub	r3, r3, #2816
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2852]
	add	r3, r3, #1
	str	r3, [r2, #-2852]
.L3:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	add	r3, r2, r3
	sub	r3, r3, #2816
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L4
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2848]
	add	r3, r3, #1
	str	r3, [r2, #-2848]
.L4:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	add	r3, r2, r3
	sub	r3, r3, #2816
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #50
	bne	.L5
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2844]
	add	r3, r3, #1
	str	r3, [r2, #-2844]
.L5:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r3, [r3, #-2836]
	ldr	r1, [r2, #-2824]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-2852]
	ldr	r3, [r3, #-2840]
	cmp	r2, r3
	bge	.L7
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2852]
	str	r3, [r2, #-2840]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r3, [r3, #-2848]
	ldr	r2, [r2, #-2844]
	mul	r3, r2, r3
	str	r3, [r1, #-2856]
.L7:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2852]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2848]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2844]
.L6:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	add	r3, r3, #1
	str	r3, [r2, #-2836]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2836]
	add	r3, r2, r3
	sub	r3, r3, #2816
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r1, [r3, #-2856]
	ldr	r0, .L10+20
	bl	printf
	mov	r0, #0
	bl	exit
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	15100
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
