	.file	"601014.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"input.txt"
	.align 8
.LC2:
	.string	"Gli addendi sono %d,%d e %d eil loro prodotto %d"
	.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, 1040
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1028[rbp], 0
	mov	DWORD PTR -1024[rbp], 0
	mov	DWORD PTR -1020[rbp], 0
	mov	DWORD PTR -1032[rbp], 0
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -1016[rbp], rax
	jmp	.L2
.L4:
	mov	rdx, QWORD PTR -1016[rbp]
	lea	rax, -208[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -1028[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -1008[rbp+rdx*4], eax
	add	DWORD PTR -1028[rbp], 1
.L2:
	cmp	DWORD PTR -1028[rbp], 199
	jg	.L3
	cmp	DWORD PTR -1032[rbp], 2020
	jne	.L4
.L3:
	mov	DWORD PTR -1028[rbp], 0
	jmp	.L5
.L13:
	mov	eax, DWORD PTR -1028[rbp]
	mov	DWORD PTR -1024[rbp], eax
	jmp	.L6
.L11:
	mov	eax, DWORD PTR -1024[rbp]
	mov	DWORD PTR -1020[rbp], eax
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -1028[rbp]
	cdqe
	mov	edx, DWORD PTR -1008[rbp+rax*4]
	mov	eax, DWORD PTR -1024[rbp]
	cdqe
	mov	eax, DWORD PTR -1008[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -1020[rbp]
	cdqe
	mov	eax, DWORD PTR -1008[rbp+rax*4]
	add	eax, edx
	mov	DWORD PTR -1032[rbp], eax
	add	DWORD PTR -1020[rbp], 1
.L7:
	cmp	DWORD PTR -1020[rbp], 199
	jg	.L8
	cmp	DWORD PTR -1032[rbp], 2020
	jne	.L9
.L8:
	add	DWORD PTR -1024[rbp], 1
.L6:
	cmp	DWORD PTR -1024[rbp], 199
	jg	.L10
	cmp	DWORD PTR -1032[rbp], 2020
	jne	.L11
.L10:
	add	DWORD PTR -1028[rbp], 1
.L5:
	cmp	DWORD PTR -1028[rbp], 199
	jg	.L12
	cmp	DWORD PTR -1032[rbp], 2020
	jne	.L13
.L12:
	mov	eax, DWORD PTR -1028[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -1008[rbp+rax*4]
	mov	eax, DWORD PTR -1024[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1008[rbp+rax*4]
	imul	edx, eax
	mov	eax, DWORD PTR -1020[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1008[rbp+rax*4]
	mov	esi, edx
	imul	esi, eax
	mov	eax, DWORD PTR -1020[rbp]
	sub	eax, 1
	cdqe
	mov	ecx, DWORD PTR -1008[rbp+rax*4]
	mov	eax, DWORD PTR -1024[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -1008[rbp+rax*4]
	mov	eax, DWORD PTR -1028[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -1008[rbp+rax*4]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	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	"601014.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"input.txt\000"
	.align	2
.LC2:
	.ascii	"Gli addendi sono %d,%d e %d eil loro prodotto %d\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1024
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1024]
	mov	r3, #0
	str	r3, [fp, #-1020]
	mov	r3, #0
	str	r3, [fp, #-1016]
	mov	r3, #0
	str	r3, [fp, #-1028]
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-1012]
	b	.L2
.L4:
	sub	r3, fp, #208
	ldr	r2, [fp, #-1012]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #208
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1024]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1004]
	ldr	r3, [fp, #-1024]
	add	r3, r3, #1
	str	r3, [fp, #-1024]
.L2:
	ldr	r3, [fp, #-1024]
	cmp	r3, #199
	bgt	.L3
	ldr	r3, [fp, #-1028]
	ldr	r2, .L16+12
	cmp	r3, r2
	bne	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-1024]
	b	.L5
.L13:
	ldr	r3, [fp, #-1024]
	str	r3, [fp, #-1020]
	b	.L6
.L11:
	ldr	r3, [fp, #-1020]
	str	r3, [fp, #-1016]
	b	.L7
.L9:
	ldr	r3, [fp, #-1024]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1004]
	ldr	r3, [fp, #-1020]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1004]
	add	r2, r2, r3
	ldr	r3, [fp, #-1016]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1004]
	add	r3, r2, r3
	str	r3, [fp, #-1028]
	ldr	r3, [fp, #-1016]
	add	r3, r3, #1
	str	r3, [fp, #-1016]
.L7:
	ldr	r3, [fp, #-1016]
	cmp	r3, #199
	bgt	.L8
	ldr	r3, [fp, #-1028]
	ldr	r2, .L16+12
	cmp	r3, r2
	bne	.L9
.L8:
	ldr	r3, [fp, #-1020]
	add	r3, r3, #1
	str	r3, [fp, #-1020]
.L6:
	ldr	r3, [fp, #-1020]
	cmp	r3, #199
	bgt	.L10
	ldr	r3, [fp, #-1028]
	ldr	r2, .L16+12
	cmp	r3, r2
	bne	.L11
.L10:
	ldr	r3, [fp, #-1024]
	add	r3, r3, #1
	str	r3, [fp, #-1024]
.L5:
	ldr	r3, [fp, #-1024]
	cmp	r3, #199
	bgt	.L12
	ldr	r3, [fp, #-1028]
	ldr	r2, .L16+12
	cmp	r3, r2
	bne	.L13
.L12:
	ldr	r3, [fp, #-1024]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-1004]
	ldr	r3, [fp, #-1020]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [r3, #-1004]
	ldr	r3, [fp, #-1016]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	ip, [r3, #-1004]
	ldr	r3, [fp, #-1024]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1004]
	ldr	r3, [fp, #-1020]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	lr, fp, #4
	add	r3, lr, r3
	ldr	r3, [r3, #-1004]
	mul	r2, r3, r2
	ldr	r3, [fp, #-1016]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	lr, fp, #4
	add	r3, lr, r3
	ldr	r3, [r3, #-1004]
	mul	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L16+16
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	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}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	2020
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
