	.file	"204073.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"Soglia: "
.LC2:
	.string	"Indici: %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -424[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -420[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -420[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -424[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -420[rbp], 1
.L3:
	cmp	DWORD PTR -420[rbp], 9
	jle	.L4
	add	DWORD PTR -424[rbp], 1
.L2:
	cmp	DWORD PTR -424[rbp], 9
	jle	.L5
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -436[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -436[rbp]
	lea	rsi, -428[rbp]
	lea	rcx, -432[rbp]
	lea	rax, -416[rbp]
	mov	r9, rsi
	mov	r8, rcx
	mov	ecx, edx
	mov	edx, 10
	mov	esi, 10
	mov	rdi, rax
	call	checkAcc
	mov	edx, DWORD PTR -428[rbp]
	mov	eax, DWORD PTR -432[rbp]
	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	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	checkAcc
	.type	checkAcc, @function
checkAcc:
.LFB1:
	.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 -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	QWORD PTR -56[rbp], r9
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], -1
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -12[rbp]
	cdq
	idiv	DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdq
	idiv	DWORD PTR -32[rbp]
	mov	eax, edx
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	add	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L10
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -4[rbp], eax
.L10:
	add	DWORD PTR -12[rbp], 1
.L9:
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -12[rbp], eax
	setl	dl
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 31
	and	eax, edx
	test	al, al
	jne	.L11
	cmp	DWORD PTR -4[rbp], 0
	js	.L12
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -32[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L14
.L12:
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], -1
.L14:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	checkAcc, .-checkAcc
	.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	"204073.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"Soglia: \000"
	.align	2
.LC2:
	.ascii	"Indici: %d %d\012\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 = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L3
.L4:
	sub	r1, fp, #408
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L3:
	ldr	r3, [fp, #-412]
	cmp	r3, #9
	ble	.L4
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L2:
	ldr	r3, [fp, #-416]
	cmp	r3, #9
	ble	.L5
	ldr	r0, .L8+8
	bl	printf
	sub	r3, fp, #428
	mov	r1, r3
	ldr	r0, .L8+4
	bl	__isoc99_scanf
	ldr	r2, [fp, #-428]
	sub	r0, fp, #408
	sub	r3, fp, #420
	str	r3, [sp, #4]
	sub	r3, fp, #424
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #10
	mov	r1, #10
	bl	checkAcc
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-420]
	mov	r1, r3
	ldr	r0, .L8+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.align	2
	.global	checkAcc
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkAcc, %function
checkAcc:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-16]
	b	.L11
.L13:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-24]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r4, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r3, [r4, r3, lsl #2]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	ble	.L12
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
.L12:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #31
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L14
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-40]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r2, [r3]
	b	.L16
.L14:
	ldr	r3, [fp, #4]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #8]
	mvn	r2, #0
	str	r2, [r3]
.L16:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	checkAcc, .-checkAcc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
