	.file	"342838.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nIl valore \303\250: %lld\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, 464
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	readFILE
	lea	rax, -448[rbp]
	mov	rdi, rax
	call	DAY10_2_BIS
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	DAY10_1
	.type	DAY10_1, @function
DAY10_1:
.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 -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L16:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L6
	cmp	DWORD PTR -8[rbp], 0
	jne	.L6
	add	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -8[rbp], 1
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3
	jne	.L7
	cmp	DWORD PTR -8[rbp], 0
	jne	.L7
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -8[rbp], 1
.L7:
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L9
	add	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -16[rbp], 1
.L9:
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L10
	cmp	DWORD PTR -12[rbp], 109
	jle	.L11
.L10:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L13
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 1
.L13:
	add	DWORD PTR -12[rbp], 1
.L12:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L14
	cmp	DWORD PTR -12[rbp], 109
	jle	.L15
.L14:
	add	DWORD PTR -28[rbp], 1
.L5:
	cmp	DWORD PTR -28[rbp], 109
	jle	.L16
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	DAY10_1, .-DAY10_1
	.globl	DAY10_2
	.type	DAY10_2, @function
DAY10_2:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 496
	mov	QWORD PTR -488[rbp], rdi
	mov	DWORD PTR -492[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -472[rbp], 0
	mov	DWORD PTR -468[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -472[rbp]
	cdqe
	mov	edx, DWORD PTR -468[rbp]
	mov	DWORD PTR -464[rbp+rax*4], edx
	add	DWORD PTR -472[rbp], 1
	mov	edx, DWORD PTR -468[rbp]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	searchSucc
	mov	DWORD PTR -468[rbp], eax
.L19:
	cmp	DWORD PTR -468[rbp], -1
	jne	.L20
	mov	DWORD PTR -476[rbp], 0
	cmp	DWORD PTR -492[rbp], 110
	jne	.L21
	mov	DWORD PTR -476[rbp], 1
	mov	eax, DWORD PTR -476[rbp]
	jmp	.L29
.L21:
	cmp	DWORD PTR -492[rbp], 109
	jg	.L23
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L23
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L23:
	cmp	DWORD PTR -492[rbp], 109
	jg	.L24
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L24
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L24:
	cmp	DWORD PTR -492[rbp], 109
	jg	.L25
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L25
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L25:
	cmp	DWORD PTR -492[rbp], 108
	jg	.L26
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L26
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L26:
	cmp	DWORD PTR -492[rbp], 108
	jg	.L27
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L27
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L27:
	cmp	DWORD PTR -492[rbp], 107
	jg	.L28
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -492[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -464[rbp+rax*4]
	cmp	edx, eax
	jne	.L28
	mov	eax, DWORD PTR -492[rbp]
	lea	edx, 3[rax]
	mov	rax, QWORD PTR -488[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	DAY10_2
	add	DWORD PTR -476[rbp], eax
.L28:
	mov	eax, DWORD PTR -476[rbp]
.L29:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	DAY10_2, .-DAY10_2
	.globl	DAY10_2_BIS
	.type	DAY10_2_BIS, @function
DAY10_2_BIS:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1408
	mov	QWORD PTR -1400[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1384[rbp], 0
	mov	DWORD PTR -1372[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -1384[rbp]
	cdqe
	mov	edx, DWORD PTR -1372[rbp]
	mov	DWORD PTR -1344[rbp+rax*4], edx
	add	DWORD PTR -1384[rbp], 1
	mov	edx, DWORD PTR -1372[rbp]
	mov	rax, QWORD PTR -1400[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	searchSucc
	mov	DWORD PTR -1372[rbp], eax
.L32:
	cmp	DWORD PTR -1372[rbp], -1
	jne	.L33
	mov	DWORD PTR -1368[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -1368[rbp]
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], 0
	add	DWORD PTR -1368[rbp], 1
.L34:
	cmp	DWORD PTR -1368[rbp], 110
	jle	.L35
	mov	DWORD PTR -1360[rbp], 0
	mov	QWORD PTR -1352[rbp], 1
	mov	DWORD PTR -1376[rbp], 0
	mov	DWORD PTR -1356[rbp], 1
	mov	QWORD PTR -896[rbp], 1
	mov	DWORD PTR -1364[rbp], 0
	jmp	.L36
.L48:
	mov	DWORD PTR -1380[rbp], 0
	cmp	DWORD PTR -1376[rbp], 0
	jg	.L37
	mov	DWORD PTR -1376[rbp], 1
.L37:
	cmp	DWORD PTR -1364[rbp], 109
	jg	.L38
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 1
	cmp	edx, eax
	jne	.L38
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
	jmp	.L39
.L38:
	cmp	DWORD PTR -1364[rbp], 109
	jg	.L40
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 2
	cmp	edx, eax
	jne	.L40
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
	jmp	.L39
.L40:
	cmp	DWORD PTR -1364[rbp], 109
	jg	.L39
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 3
	cmp	edx, eax
	jne	.L39
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 1
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
.L39:
	cmp	DWORD PTR -1364[rbp], 108
	jg	.L41
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 2
	cmp	edx, eax
	jne	.L41
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
	jmp	.L42
.L41:
	cmp	DWORD PTR -1364[rbp], 108
	jg	.L42
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 3
	cmp	edx, eax
	jne	.L42
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 2
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
.L42:
	cmp	DWORD PTR -1364[rbp], 107
	jg	.L43
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 3
	cdqe
	mov	edx, DWORD PTR -1344[rbp+rax*4]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	eax, DWORD PTR -1344[rbp+rax*4]
	add	eax, 3
	cmp	edx, eax
	jne	.L43
	add	DWORD PTR -1380[rbp], 1
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 3
	cdqe
	mov	rcx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rdx, QWORD PTR -896[rbp+rax*8]
	mov	eax, DWORD PTR -1364[rbp]
	add	eax, 3
	add	rdx, rcx
	cdqe
	mov	QWORD PTR -896[rbp+rax*8], rdx
.L43:
	cmp	DWORD PTR -1380[rbp], 3
	jne	.L44
	cmp	DWORD PTR -1376[rbp], 1
	jne	.L45
	mov	eax, DWORD PTR -1380[rbp]
	cdqe
	mov	rdx, QWORD PTR -1352[rbp]
	imul	rax, rdx
	mov	QWORD PTR -1352[rbp], rax
	mov	DWORD PTR -1376[rbp], 4
	jmp	.L46
.L45:
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rax, QWORD PTR -896[rbp+rax*8]
	add	rax, rax
	add	QWORD PTR -1352[rbp], rax
	jmp	.L46
.L44:
	cmp	DWORD PTR -1380[rbp], 2
	jne	.L46
	cmp	DWORD PTR -1376[rbp], 1
	jne	.L47
	mov	eax, DWORD PTR -1380[rbp]
	cdqe
	mov	rdx, QWORD PTR -1352[rbp]
	imul	rax, rdx
	mov	QWORD PTR -1352[rbp], rax
	mov	DWORD PTR -1376[rbp], 3
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -1364[rbp]
	cdqe
	mov	rax, QWORD PTR -896[rbp+rax*8]
	add	QWORD PTR -1352[rbp], rax
.L46:
	sub	DWORD PTR -1376[rbp], 1
	add	DWORD PTR -1364[rbp], 1
.L36:
	cmp	DWORD PTR -1364[rbp], 110
	jle	.L48
	mov	rax, QWORD PTR -1352[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	DAY10_2_BIS, .-DAY10_2_BIS
	.globl	searchSucc
	.type	searchSucc, @function
searchSucc:
.LFB4:
	.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 -8[rbp], 10000
	mov	DWORD PTR -4[rbp], 0
	jmp	.L52
.L54:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jge	.L53
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L53
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
.L53:
	add	DWORD PTR -4[rbp], 1
.L52:
	cmp	DWORD PTR -4[rbp], 109
	jle	.L54
	cmp	DWORD PTR -8[rbp], 10000
	jne	.L55
	mov	DWORD PTR -8[rbp], -1
.L55:
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	searchSucc, .-searchSucc
	.section	.rodata
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"/Users/matteoblack/Desktop/AoC/AoC_10/AoC/AoC/input.c"
.LC3:
	.string	"%d"
	.text
	.globl	readFILE
	.type	readFILE, @function
readFILE:
.LFB5:
	.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 -24[rbp], rdi
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L58
.L59:
	add	DWORD PTR -12[rbp], 1
.L58:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L59
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	readFILE, .-readFILE
	.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	"342838.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Il valore \303\250: %lld\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #456
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #448
	mov	r0, r3
	bl	readFILE
	sub	r3, fp, #448
	mov	r0, r3
	bl	DAY10_2_BIS
	str	r0, [fp, #-460]
	str	r1, [fp, #-456]
	sub	r3, fp, #460
	ldmia	r3, {r2-r3}
	ldr	r0, .L4+4
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	DAY10_1
	.syntax unified
	.arm
	.fpu softvfp
	.type	DAY10_1, %function
DAY10_1:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L18:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L9
.L8:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L9
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-12]
.L9:
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L10
.L13:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	cmp	r3, #109
	ble	.L13
.L12:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L17:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r2, r3, #3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L15
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-16]
	cmp	r3, #109
	ble	.L17
.L16:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #109
	ble	.L18
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	DAY10_1, .-DAY10_1
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DAY10_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DAY10_2, %function
DAY10_2:
	@ args = 0, pretend = 0, frame = 472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #472
	str	r0, [fp, #-472]
	str	r1, [fp, #-476]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-460]
	mov	r3, #0
	str	r3, [fp, #-456]
	b	.L21
.L22:
	ldr	r3, [fp, #-460]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-456]
	str	r2, [r3, #-448]
	ldr	r3, [fp, #-460]
	add	r3, r3, #1
	str	r3, [fp, #-460]
	ldr	r1, [fp, #-456]
	ldr	r0, [fp, #-472]
	bl	searchSucc
	str	r0, [fp, #-456]
.L21:
	ldr	r3, [fp, #-456]
	cmn	r3, #1
	bne	.L22
	mov	r3, #0
	str	r3, [fp, #-464]
	ldr	r3, [fp, #-476]
	cmp	r3, #110
	bne	.L23
	mov	r3, #1
	str	r3, [fp, #-464]
	ldr	r3, [fp, #-464]
	b	.L31
.L23:
	ldr	r3, [fp, #-476]
	cmp	r3, #109
	bgt	.L25
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #1
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L25
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L25:
	ldr	r3, [fp, #-476]
	cmp	r3, #109
	bgt	.L26
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #2
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L26
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L26:
	ldr	r3, [fp, #-476]
	cmp	r3, #109
	bgt	.L27
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #3
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L27
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L27:
	ldr	r3, [fp, #-476]
	cmp	r3, #108
	bgt	.L28
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #2
	ldr	r3, [fp, #-476]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-476]
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L28:
	ldr	r3, [fp, #-476]
	cmp	r3, #108
	bgt	.L29
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #3
	ldr	r3, [fp, #-476]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L29
	ldr	r3, [fp, #-476]
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L29:
	ldr	r3, [fp, #-476]
	cmp	r3, #107
	bgt	.L30
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-448]
	add	r2, r3, #3
	ldr	r3, [fp, #-476]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-448]
	cmp	r2, r3
	bne	.L30
	ldr	r3, [fp, #-476]
	add	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-472]
	bl	DAY10_2
	mov	r2, r0
	ldr	r3, [fp, #-464]
	add	r3, r3, r2
	str	r3, [fp, #-464]
.L30:
	ldr	r3, [fp, #-464]
.L31:
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC2
	.size	DAY10_2, .-DAY10_2
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DAY10_2_BIS
	.syntax unified
	.arm
	.fpu softvfp
	.type	DAY10_2_BIS, %function
DAY10_2_BIS:
	@ args = 0, pretend = 0, frame = 1448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #1440
	sub	sp, sp, #8
	str	r0, [fp, #-1416]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1412]
	mov	r3, #0
	str	r3, [fp, #-1400]
	b	.L36
.L37:
	ldr	r3, [fp, #-1412]
	lsl	r2, r3, #2
	sub	r3, fp, #28
	add	r2, r3, r2
	ldr	r3, [fp, #-1400]
	str	r3, [r2, #-1340]
	ldr	r3, [fp, #-1412]
	add	r3, r3, #1
	str	r3, [fp, #-1412]
	ldr	r1, [fp, #-1400]
	ldr	r0, [fp, #-1416]
	bl	searchSucc
	str	r0, [fp, #-1400]
.L36:
	ldr	r3, [fp, #-1400]
	cmn	r3, #1
	bne	.L37
	mov	r3, #0
	str	r3, [fp, #-1396]
	b	.L38
.L39:
	ldr	r3, [fp, #-1396]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r1, r3, #896
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-1396]
	add	r3, r3, #1
	str	r3, [fp, #-1396]
.L38:
	ldr	r3, [fp, #-1396]
	cmp	r3, #110
	ble	.L39
	mov	r3, #0
	str	r3, [fp, #-1388]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-1380]
	str	r3, [fp, #-1376]
	mov	r3, #0
	str	r3, [fp, #-1404]
	mov	r3, #1
	str	r3, [fp, #-1384]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-924]
	str	r3, [fp, #-920]
	mov	r3, #0
	str	r3, [fp, #-1392]
	b	.L40
.L52:
	mov	r3, #0
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1404]
	cmp	r3, #0
	bgt	.L41
	mov	r3, #1
	str	r3, [fp, #-1404]
.L41:
	ldr	r3, [fp, #-1392]
	cmp	r3, #109
	bgt	.L42
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #1
	cmp	r2, r3
	bne	.L42
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #1
	adds	r0, r4, r2
	str	r0, [fp, #-1428]
	adc	r3, r5, r3
	str	r3, [fp, #-1424]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1428]
	ldr	r2, [fp, #-1424]
	stm	r3, {r1-r2}
	b	.L43
.L42:
	ldr	r3, [fp, #-1392]
	cmp	r3, #109
	bgt	.L44
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #2
	cmp	r2, r3
	bne	.L44
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #1
	adds	r0, r4, r2
	str	r0, [fp, #-1436]
	adc	r3, r5, r3
	str	r3, [fp, #-1432]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1436]
	ldr	r2, [fp, #-1432]
	stm	r3, {r1-r2}
	b	.L43
.L44:
	ldr	r3, [fp, #-1392]
	cmp	r3, #109
	bgt	.L43
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #3
	cmp	r2, r3
	bne	.L43
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #1
	adds	r0, r4, r2
	str	r0, [fp, #-1444]
	adc	r3, r5, r3
	str	r3, [fp, #-1440]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1444]
	ldr	r2, [fp, #-1440]
	stm	r3, {r1-r2}
.L43:
	ldr	r3, [fp, #-1392]
	cmp	r3, #108
	bgt	.L45
	ldr	r3, [fp, #-1392]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #2
	cmp	r2, r3
	bne	.L45
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #2
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #2
	adds	r0, r4, r2
	str	r0, [fp, #-1452]
	adc	r3, r5, r3
	str	r3, [fp, #-1448]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1452]
	ldr	r2, [fp, #-1448]
	stm	r3, {r1-r2}
	b	.L46
.L45:
	ldr	r3, [fp, #-1392]
	cmp	r3, #108
	bgt	.L46
	ldr	r3, [fp, #-1392]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #3
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #2
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #2
	adds	r0, r4, r2
	str	r0, [fp, #-1460]
	adc	r3, r5, r3
	str	r3, [fp, #-1456]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1460]
	ldr	r2, [fp, #-1456]
	stm	r3, {r1-r2}
.L46:
	ldr	r3, [fp, #-1392]
	cmp	r3, #107
	bgt	.L47
	ldr	r3, [fp, #-1392]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1340]
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-1340]
	add	r3, r3, #3
	cmp	r2, r3
	bne	.L47
	ldr	r3, [fp, #-1408]
	add	r3, r3, #1
	str	r3, [fp, #-1408]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #3
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-1392]
	add	r1, r1, #3
	adds	r0, r4, r2
	str	r0, [fp, #-1468]
	adc	r3, r5, r3
	str	r3, [fp, #-1464]
	lsl	r3, r1, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldr	r1, [fp, #-1468]
	ldr	r2, [fp, #-1464]
	stm	r3, {r1-r2}
.L47:
	ldr	r3, [fp, #-1408]
	cmp	r3, #3
	bne	.L48
	ldr	r3, [fp, #-1404]
	cmp	r3, #1
	bne	.L49
	ldr	r3, [fp, #-1408]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-1376]
	mul	r2, r0, r3
	ldr	r3, [fp, #-1380]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-1380]
	umull	r4, r5, r3, r0
	add	r3, r2, r5
	mov	r5, r3
	str	r4, [fp, #-1380]
	str	r5, [fp, #-1376]
	str	r4, [fp, #-1380]
	str	r5, [fp, #-1376]
	mov	r3, #4
	str	r3, [fp, #-1404]
	b	.L50
.L49:
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-1476]
	adc	r3, r3, r3
	str	r3, [fp, #-1472]
	ldr	r2, [fp, #-1476]
	ldr	r3, [fp, #-1472]
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-1380]
	ldr	r3, [fp, #-1376]
	adds	r8, r2, r0
	adc	r9, r3, r1
	str	r8, [fp, #-1380]
	str	r9, [fp, #-1376]
	b	.L50
.L48:
	ldr	r3, [fp, #-1408]
	cmp	r3, #2
	bne	.L50
	ldr	r3, [fp, #-1404]
	cmp	r3, #1
	bne	.L51
	ldr	r3, [fp, #-1408]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-1376]
	mul	r2, r0, r3
	ldr	r3, [fp, #-1380]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-1380]
	umull	r4, r5, r3, r0
	add	r3, r2, r5
	mov	r5, r3
	str	r4, [fp, #-1380]
	str	r5, [fp, #-1376]
	str	r4, [fp, #-1380]
	str	r5, [fp, #-1376]
	mov	r3, #3
	str	r3, [fp, #-1404]
	b	.L50
.L51:
	ldr	r3, [fp, #-1392]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #896
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-1380]
	ldr	r3, [fp, #-1376]
	adds	r6, r2, r0
	adc	r7, r3, r1
	str	r6, [fp, #-1380]
	str	r7, [fp, #-1376]
.L50:
	ldr	r3, [fp, #-1404]
	sub	r3, r3, #1
	str	r3, [fp, #-1404]
	ldr	r3, [fp, #-1392]
	add	r3, r3, #1
	str	r3, [fp, #-1392]
.L40:
	ldr	r3, [fp, #-1392]
	cmp	r3, #110
	ble	.L52
	ldr	r2, [fp, #-1380]
	ldr	r3, [fp, #-1376]
	ldr	r1, .L55
	ldr	r0, [r1]
	ldr	r1, [fp, #-32]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC3
	.size	DAY10_2_BIS, .-DAY10_2_BIS
	.align	2
	.global	searchSucc
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchSucc, %function
searchSucc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L63
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L58
.L60:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L59
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L59
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L59:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #109
	ble	.L60
	ldr	r3, [fp, #-12]
	ldr	r2, .L63
	cmp	r3, r2
	bne	.L61
	mvn	r3, #0
	str	r3, [fp, #-12]
.L61:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L64:
	.align	2
.L63:
	.word	10000
	.size	searchSucc, .-searchSucc
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"/Users/matteoblack/Desktop/AoC/AoC_10/AoC/AoC/input"
	.ascii	".c\000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.text
	.align	2
	.global	readFILE
	.syntax unified
	.arm
	.fpu softvfp
	.type	readFILE, %function
readFILE:
	@ 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, #-16]
	ldr	r1, .L68
	ldr	r0, .L68+4
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L66
.L67:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L66:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L68+8
	ldr	r0, [fp, #-8]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L67
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	readFILE, .-readFILE
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
