	.file	"965376.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input.txt"
.LC2:
	.string	"Failed to open file"
.LC3:
	.string	"Reading input.txt..."
.LC4:
	.string	"%20s"
.LC5:
	.string	"%d"
.LC6:
	.string	"DONE"
.LC7:
	.string	"%10s\n"
.LC8:
	.string	"Number found! %d\n"
.LC9:
	.string	"Number2 found! %lu\n"
.LC10:
	.string	"wtf"
	.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, 880
	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 -848[rbp], rax
	cmp	QWORD PTR -848[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -872[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -872[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, -816[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -848[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -872[rbp], 1
.L4:
	cmp	DWORD PTR -872[rbp], 199
	jle	.L5
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -868[rbp], 0
	jmp	.L6
.L11:
	mov	eax, DWORD PTR -868[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	cdqe
	mov	QWORD PTR -840[rbp], rax
	mov	DWORD PTR -864[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -864[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	cdqe
	mov	QWORD PTR -832[rbp], rax
	mov	rdx, QWORD PTR -840[rbp]
	mov	rax, QWORD PTR -832[rbp]
	add	rax, rdx
	cmp	rax, 2020
	jne	.L8
	mov	rax, QWORD PTR -840[rbp]
	imul	rax, QWORD PTR -832[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	add	DWORD PTR -864[rbp], 1
.L7:
	cmp	DWORD PTR -864[rbp], 199
	jle	.L10
.L9:
	add	DWORD PTR -868[rbp], 1
.L6:
	cmp	DWORD PTR -868[rbp], 199
	jle	.L11
	mov	DWORD PTR -860[rbp], 0
	jmp	.L12
.L19:
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	cdqe
	mov	QWORD PTR -840[rbp], rax
	mov	DWORD PTR -856[rbp], 0
	jmp	.L13
.L18:
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	cdqe
	mov	QWORD PTR -832[rbp], rax
	mov	DWORD PTR -852[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -852[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*4]
	cdqe
	mov	QWORD PTR -824[rbp], rax
	mov	rdx, QWORD PTR -840[rbp]
	mov	rax, QWORD PTR -832[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -824[rbp]
	add	rax, rdx
	cmp	rax, 2020
	jne	.L15
	mov	rax, QWORD PTR -840[rbp]
	imul	rax, QWORD PTR -832[rbp]
	imul	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L15:
	add	DWORD PTR -852[rbp], 1
.L14:
	cmp	DWORD PTR -852[rbp], 199
	jle	.L17
.L16:
	add	DWORD PTR -856[rbp], 1
.L13:
	cmp	DWORD PTR -856[rbp], 199
	jle	.L18
	add	DWORD PTR -860[rbp], 1
.L12:
	cmp	DWORD PTR -860[rbp], 199
	jle	.L19
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	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	"965376.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\000"
	.align	2
.LC2:
	.ascii	"Failed to open file\000"
	.align	2
.LC3:
	.ascii	"Reading input.txt...\000"
	.align	2
.LC4:
	.ascii	"%20s\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"DONE\000"
	.align	2
.LC7:
	.ascii	"%10s\012\000"
	.align	2
.LC8:
	.ascii	"Number found! %d\012\000"
	.align	2
.LC9:
	.ascii	"Number2 found! %lu\012\000"
	.align	2
.LC10:
	.ascii	"wtf\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 848
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #848
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	bl	fopen
	str	r0, [fp, #-824]
	ldr	r3, [fp, #-824]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L21+12
	bl	printf
	mov	r3, #1
	b	.L3
.L2:
	ldr	r1, .L21+16
	ldr	r0, .L21+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-848]
	b	.L4
.L5:
	ldr	r3, [fp, #-848]
	lsl	r3, r3, #2
	sub	r2, fp, #808
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L21+24
	ldr	r0, [fp, #-824]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-848]
	add	r3, r3, #1
	str	r3, [fp, #-848]
.L4:
	ldr	r3, [fp, #-848]
	cmp	r3, #199
	ble	.L5
	ldr	r1, .L21+28
	ldr	r0, .L21+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-844]
	b	.L6
.L11:
	ldr	r3, [fp, #-844]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	str	r3, [fp, #-820]
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L7
.L10:
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	str	r3, [fp, #-816]
	ldr	r2, [fp, #-820]
	ldr	r3, [fp, #-816]
	add	r3, r2, r3
	ldr	r2, .L21+36
	cmp	r3, r2
	bne	.L8
	ldr	r3, [fp, #-820]
	ldr	r2, [fp, #-816]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+40
	bl	printf
	b	.L9
.L8:
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L7:
	ldr	r3, [fp, #-840]
	cmp	r3, #199
	ble	.L10
.L9:
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L6:
	ldr	r3, [fp, #-844]
	cmp	r3, #199
	ble	.L11
	mov	r3, #0
	str	r3, [fp, #-836]
	b	.L12
.L19:
	ldr	r3, [fp, #-836]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	str	r3, [fp, #-820]
	mov	r3, #0
	str	r3, [fp, #-832]
	b	.L13
.L18:
	ldr	r3, [fp, #-832]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	str	r3, [fp, #-816]
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L14
.L17:
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	str	r3, [fp, #-812]
	ldr	r2, [fp, #-820]
	ldr	r3, [fp, #-816]
	add	r2, r2, r3
	ldr	r3, [fp, #-812]
	add	r3, r2, r3
	ldr	r2, .L21+36
	cmp	r3, r2
	bne	.L15
	ldr	r3, [fp, #-820]
	ldr	r2, [fp, #-816]
	mul	r3, r2, r3
	ldr	r2, [fp, #-812]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+44
	bl	printf
	b	.L16
.L15:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L14:
	ldr	r3, [fp, #-828]
	cmp	r3, #199
	ble	.L17
.L16:
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L13:
	ldr	r3, [fp, #-832]
	cmp	r3, #199
	ble	.L18
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	str	r3, [fp, #-836]
.L12:
	ldr	r3, [fp, #-836]
	cmp	r3, #199
	ble	.L19
	ldr	r0, .L21+48
	bl	puts
	mov	r3, #0
.L3:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	2020
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
