	.file	"9801.c"
	.intel_syntax noprefix
	.text
	.globl	ConfrontaMatrici
	.type	ConfrontaMatrici, @function
ConfrontaMatrici:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -28[rbp], ecx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	r8, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ConfrontaMatrici, .-ConfrontaMatrici
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"mat_dump.dat"
.LC2:
	.string	"%f "
.LC3:
	.string	"rb"
.LC4:
	.string	"Le matrici combaciano! 8)"
	.align 8
.LC5:
	.string	"Le matrici non combaciano... :("
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -48[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, ecx
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -60[rbp], 1
.L4:
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cmp	DWORD PTR -60[rbp], eax
	jl	.L5
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -60[rbp], 1
.L6:
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cmp	DWORD PTR -60[rbp], eax
	jl	.L7
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -60[rbp], 1
.L8:
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cmp	DWORD PTR -60[rbp], eax
	jl	.L9
	mov	eax, DWORD PTR -56[rbp]
	imul	eax, eax
	cdqe
	sal	eax, 2
	mov	ecx, eax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR memcmp@GOTPCREL[rip]
	mov	rdi, rax
	call	ConfrontaMatrici
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L11
.L10:
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L11:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"9801.c"
	.text
	.align	2
	.global	ConfrontaMatrici
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConfrontaMatrici, %function
ConfrontaMatrici:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ConfrontaMatrici, .-ConfrontaMatrici
	.global	__aeabi_i2f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"mat_dump.dat\000"
	.global	__aeabi_f2d
	.align	2
.LC2:
	.ascii	"%f \000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"Le matrici combaciano! 8)\000"
	.align	2
.LC5:
	.ascii	"Le matrici non combaciano... :(\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r1, fp, #48
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L4
.L5:
	ldr	r3, [fp, #-44]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L4:
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L5
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	fopen
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L6
.L7:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L14+12
	ldr	r0, [fp, #-32]
	bl	fprintf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L6:
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r1, .L14+16
	ldr	r0, .L14+8
	bl	fopen
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L8
.L9:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L14+12
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L8:
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-40]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-36]
	ldr	r0, .L14+20
	bl	ConfrontaMatrici
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L14+24
	bl	puts
	b	.L11
.L10:
	ldr	r0, .L14+28
	bl	puts
.L11:
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r3, [fp, #-20]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	memcmp
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
