	.file	"408573.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"(%d, %d) "
.LC2:
	.string	"Nessuna soluzione"
	.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, 848
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L2:
	lea	rax, -848[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -848[rbp]
	test	eax, eax
	jle	.L2
	mov	eax, DWORD PTR -848[rbp]
	cmp	eax, 10
	jg	.L2
	mov	DWORD PTR -840[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L4
.L5:
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -836[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -840[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 -836[rbp], 1
.L4:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jl	.L5
	add	DWORD PTR -840[rbp], 1
.L3:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -840[rbp], eax
	jl	.L6
	mov	DWORD PTR -840[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L8
.L9:
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -836[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -840[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 -836[rbp], 1
.L8:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jl	.L9
	add	DWORD PTR -840[rbp], 1
.L7:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -840[rbp], eax
	jl	.L10
.L11:
	lea	rax, -844[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -844[rbp]
	cmp	eax, 1
	jle	.L11
	mov	eax, DWORD PTR -844[rbp]
	cmp	eax, 10
	jg	.L11
	mov	DWORD PTR -840[rbp], 0
	mov	DWORD PTR -820[rbp], 0
	jmp	.L12
.L24:
	mov	DWORD PTR -836[rbp], 0
	jmp	.L13
.L23:
	mov	DWORD PTR -832[rbp], 0
	mov	DWORD PTR -824[rbp], 1
	jmp	.L14
.L21:
	mov	DWORD PTR -828[rbp], 0
	jmp	.L15
.L19:
	mov	edx, DWORD PTR -840[rbp]
	mov	eax, DWORD PTR -832[rbp]
	add	eax, edx
	mov	ecx, DWORD PTR -836[rbp]
	mov	edx, DWORD PTR -828[rbp]
	add	edx, ecx
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	ecx, DWORD PTR -816[rbp+rax*4]
	mov	edx, DWORD PTR -840[rbp]
	mov	eax, DWORD PTR -832[rbp]
	add	eax, edx
	mov	esi, DWORD PTR -836[rbp]
	mov	edx, DWORD PTR -828[rbp]
	add	edx, esi
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	eax, DWORD PTR -416[rbp+rax*4]
	cmp	ecx, eax
	je	.L16
	mov	DWORD PTR -824[rbp], 0
	jmp	.L17
.L16:
	add	DWORD PTR -820[rbp], 1
.L17:
	add	DWORD PTR -828[rbp], 1
.L15:
	mov	eax, DWORD PTR -844[rbp]
	cmp	DWORD PTR -828[rbp], eax
	jge	.L18
	cmp	DWORD PTR -824[rbp], 0
	jne	.L19
.L18:
	add	DWORD PTR -832[rbp], 1
.L14:
	mov	eax, DWORD PTR -844[rbp]
	cmp	DWORD PTR -832[rbp], eax
	jge	.L20
	cmp	DWORD PTR -824[rbp], 0
	jne	.L21
.L20:
	cmp	DWORD PTR -824[rbp], 0
	je	.L22
	mov	edx, DWORD PTR -836[rbp]
	mov	eax, DWORD PTR -840[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	add	DWORD PTR -836[rbp], 1
.L13:
	mov	eax, DWORD PTR -848[rbp]
	mov	edx, DWORD PTR -844[rbp]
	sub	eax, edx
	cmp	DWORD PTR -836[rbp], eax
	jl	.L23
	add	DWORD PTR -840[rbp], 1
.L12:
	mov	eax, DWORD PTR -848[rbp]
	mov	edx, DWORD PTR -844[rbp]
	sub	eax, edx
	cmp	DWORD PTR -840[rbp], eax
	jl	.L24
	cmp	DWORD PTR -820[rbp], 0
	jne	.L25
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"408573.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"(%d, %d) \000"
	.align	2
.LC2:
	.ascii	"Nessuna soluzione\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 = 840
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #840
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L2:
	sub	r3, fp, #840
	mov	r1, r3
	ldr	r0, .L28+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-840]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-840]
	cmp	r3, #10
	bgt	.L2
	mov	r3, #0
	str	r3, [fp, #-832]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L4
.L5:
	sub	r1, fp, #808
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-828]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L28+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L4:
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-828]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L3:
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-832]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-832]
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L8
.L9:
	sub	r1, fp, #408
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-828]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L28+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L8:
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-828]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L7:
	ldr	r3, [fp, #-840]
	ldr	r2, [fp, #-832]
	cmp	r2, r3
	blt	.L10
.L11:
	sub	r3, fp, #836
	mov	r1, r3
	ldr	r0, .L28+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-836]
	cmp	r3, #1
	ble	.L11
	ldr	r3, [fp, #-836]
	cmp	r3, #10
	bgt	.L11
	mov	r3, #0
	str	r3, [fp, #-832]
	mov	r3, #0
	str	r3, [fp, #-812]
	b	.L12
.L24:
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L13
.L23:
	mov	r3, #0
	str	r3, [fp, #-824]
	mov	r3, #1
	str	r3, [fp, #-816]
	b	.L14
.L21:
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L15
.L19:
	ldr	r2, [fp, #-832]
	ldr	r3, [fp, #-824]
	add	r2, r2, r3
	ldr	r1, [fp, #-828]
	ldr	r3, [fp, #-820]
	add	r1, r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-804]
	ldr	r2, [fp, #-832]
	ldr	r3, [fp, #-824]
	add	r2, r2, r3
	ldr	r0, [fp, #-828]
	ldr	r3, [fp, #-820]
	add	r0, r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	cmp	r1, r3
	beq	.L16
	mov	r3, #0
	str	r3, [fp, #-816]
	b	.L17
.L16:
	ldr	r3, [fp, #-812]
	add	r3, r3, #1
	str	r3, [fp, #-812]
.L17:
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L15:
	ldr	r3, [fp, #-836]
	ldr	r2, [fp, #-820]
	cmp	r2, r3
	bge	.L18
	ldr	r3, [fp, #-816]
	cmp	r3, #0
	bne	.L19
.L18:
	ldr	r3, [fp, #-824]
	add	r3, r3, #1
	str	r3, [fp, #-824]
.L14:
	ldr	r3, [fp, #-836]
	ldr	r2, [fp, #-824]
	cmp	r2, r3
	bge	.L20
	ldr	r3, [fp, #-816]
	cmp	r3, #0
	bne	.L21
.L20:
	ldr	r3, [fp, #-816]
	cmp	r3, #0
	beq	.L22
	ldr	r2, [fp, #-828]
	ldr	r1, [fp, #-832]
	ldr	r0, .L28+8
	bl	printf
.L22:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L13:
	ldr	r2, [fp, #-840]
	ldr	r3, [fp, #-836]
	sub	r3, r2, r3
	ldr	r2, [fp, #-828]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L12:
	ldr	r2, [fp, #-840]
	ldr	r3, [fp, #-836]
	sub	r3, r2, r3
	ldr	r2, [fp, #-832]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-812]
	cmp	r3, #0
	bne	.L25
	ldr	r0, .L28+12
	bl	printf
.L25:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
