	.file	"811139.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	" %d"
	.text
	.globl	arr_print
	.type	arr_print, @function
arr_print:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -1[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -1[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	jne	.L6
	movzx	eax, BYTE PTR -1[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L6:
	nop
.L4:
	add	BYTE PTR -1[rbp], 1
.L2:
	movzx	eax, BYTE PTR -1[rbp]
	cmp	QWORD PTR -32[rbp], rax
	ja	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	arr_print, .-arr_print
	.globl	bkt_stazioni
	.type	bkt_stazioni, @function
bkt_stazioni:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	esi, edx
	movss	DWORD PTR -40[rbp], xmm0
	mov	edi, r8d
	movss	DWORD PTR -52[rbp], xmm1
	mov	QWORD PTR -64[rbp], r9
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	mov	BYTE PTR -36[rbp], sil
	mov	BYTE PTR -44[rbp], cl
	mov	ecx, edi
	mov	BYTE PTR -48[rbp], cl
	mov	WORD PTR -56[rbp], dx
	mov	WORD PTR -68[rbp], ax
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	WORD PTR -68[rbp], 0
	movzx	eax, BYTE PTR -36[rbp]
	cmp	al, BYTE PTR -48[rbp]
	jne	.L8
	mov	BYTE PTR -7[rbp], 0
	jmp	.L9
.L14:
	movzx	eax, WORD PTR -68[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movzx	eax, BYTE PTR -7[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	WORD PTR -68[rbp], ax
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -52[rbp]
	movzx	eax, BYTE PTR -7[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -40[rbp]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -52[rbp]
	ja	.L24
	movzx	edx, BYTE PTR -7[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L13
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	movzx	eax, BYTE PTR -44[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	subss	xmm0, DWORD PTR -52[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movzx	eax, BYTE PTR -7[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movzx	eax, BYTE PTR -44[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -52[rbp], xmm0
.L13:
	add	BYTE PTR -7[rbp], 1
.L9:
	movzx	eax, BYTE PTR -7[rbp]
	cmp	al, BYTE PTR -48[rbp]
	jb	.L14
	mov	rax, QWORD PTR 16[rbp]
	movzx	eax, BYTE PTR 12[rax]
	xor	eax, 1
	test	al, al
	je	.L15
	movzx	eax, BYTE PTR -36[rbp]
	cmp	al, BYTE PTR -48[rbp]
	jne	.L15
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -4[rbp]
	jp	.L16
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -4[rbp]
	jne	.L16
.L15:
	mov	rax, QWORD PTR 16[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	comiss	xmm0, DWORD PTR -4[rbp]
	jnb	.L23
	jmp	.L25
.L23:
	movzx	eax, WORD PTR -68[rbp]
	cmp	ax, WORD PTR -56[rbp]
	jb	.L25
.L16:
	mov	rax, QWORD PTR 16[rbp]
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR 16[rbp]
	mov	BYTE PTR 12[rax], 1
	mov	BYTE PTR -6[rbp], 0
	jmp	.L19
.L20:
	movzx	edx, BYTE PTR -6[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -6[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	BYTE PTR -6[rbp], 1
.L19:
	movzx	eax, BYTE PTR -6[rbp]
	cmp	al, BYTE PTR -48[rbp]
	jb	.L20
	jmp	.L25
.L8:
	mov	BYTE PTR -5[rbp], 0
	jmp	.L21
.L22:
	movzx	edx, BYTE PTR -36[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	cmp	BYTE PTR -5[rbp], 0
	setne	dl
	mov	BYTE PTR [rax], dl
	movzx	r9d, WORD PTR -68[rbp]
	movzx	r8d, WORD PTR -56[rbp]
	movzx	r10d, BYTE PTR -48[rbp]
	movzx	ecx, BYTE PTR -44[rbp]
	movzx	eax, BYTE PTR -36[rbp]
	add	eax, 1
	movzx	edx, al
	mov	r11, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR -52[rbp]
	mov	edi, DWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	r9
	push	r8
	push	QWORD PTR 16[rbp]
	mov	r9, r11
	movaps	xmm1, xmm0
	mov	r8d, r10d
	movd	xmm0, edi
	mov	rdi, rax
	call	bkt_stazioni
	add	rsp, 32
	add	BYTE PTR -5[rbp], 1
.L21:
	cmp	BYTE PTR -5[rbp], 1
	jbe	.L22
	jmp	.L7
.L24:
	nop
	jmp	.L7
.L25:
	nop
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bkt_stazioni, .-bkt_stazioni
	.section	.rodata
.LC3:
	.string	""
.LC4:
	.string	"Non esistono soluzioni"
.LC5:
	.string	"Soluzione ottimale: "
	.align 8
.LC6:
	.string	"\ncon un costo complessivo di %3.f\nconsiderando "
.LC7:
	.string	"%d"
.LC8:
	.string	" stazioni su %d\n\n"
	.text
	.globl	StazioniServizio
	.type	StazioniServizio, @function
StazioniServizio:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	movsd	QWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -44[rbp], edi
	mov	QWORD PTR -56[rbp], rsi
	mov	QWORD PTR -64[rbp], rdx
	mov	BYTE PTR -25[rbp], 30
	movzx	eax, BYTE PTR -25[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -20[rbp], xmm0
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 12[rax], 0
	cvttsd2si	eax, QWORD PTR -40[rbp]
	movzx	edi, ax
	mov	eax, DWORD PTR -44[rbp]
	movzx	r8d, al
	movzx	ecx, BYTE PTR -25[rbp]
	mov	r9, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	sub	rsp, 8
	push	0
	push	rdi
	push	QWORD PTR -8[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, edx
	mov	edx, 0
	mov	rdi, rax
	call	bkt_stazioni
	add	rsp, 32
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	BYTE PTR -29[rbp], 0
	mov	BYTE PTR -28[rbp], 0
	jmp	.L27
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -28[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L28
	add	BYTE PTR -29[rbp], 1
.L28:
	add	BYTE PTR -28[rbp], 1
.L27:
	movzx	eax, BYTE PTR -28[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jg	.L29
	cmp	BYTE PTR -29[rbp], 0
	jne	.L30
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L26
.L30:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	arr_print
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	BYTE PTR -27[rbp], 0
	mov	BYTE PTR -26[rbp], 0
	jmp	.L32
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -27[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L33
	add	BYTE PTR -26[rbp], 1
.L33:
	movzx	eax, BYTE PTR -27[rbp]
	mov	edx, DWORD PTR -44[rbp]
	sub	edx, 1
	cmp	eax, edx
	jne	.L34
	movzx	eax, BYTE PTR -26[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L34:
	add	BYTE PTR -27[rbp], 1
.L32:
	movzx	eax, BYTE PTR -27[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jg	.L35
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	StazioniServizio, .-StazioniServizio
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC15[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC16[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	WORD PTR -100[rbp], 5
	mov	WORD PTR -98[rbp], 1540
	movzx	ecx, WORD PTR -100[rbp]
	movzx	eax, WORD PTR -98[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movq	rax, xmm1
	lea	rdx, -48[rbp]
	lea	rsi, -96[rbp]
	mov	edi, ecx
	movq	xmm0, rax
	call	StazioniServizio
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC2:
	.long	1028443341
	.align 8
.LC9:
	.long	0
	.long	1081098240
	.align 8
.LC10:
	.long	0
	.long	1081196544
	.align 8
.LC11:
	.long	0
	.long	1081294848
	.align 8
.LC12:
	.long	0
	.long	1081393152
	.align 8
.LC13:
	.long	0
	.long	1081491456
	.align 8
.LC14:
	.long	0
	.long	1078034432
	.align 8
.LC15:
	.long	0
	.long	1077968896
	.align 8
.LC16:
	.long	0
	.long	1077739520
	.align 8
.LC17:
	.long	0
	.long	1077346304
	.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	"811139.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	" %d\000"
	.text
	.align	2
	.global	arr_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	arr_print, %function
arr_print:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L2
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L6
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L7
	bl	printf
	b	.L4
.L6:
	nop
.L4:
	ldrb	r3, [fp, #-5]
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L2:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bhi	.L5
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.size	arr_print, .-arr_print
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2uiz
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.global	__aeabi_fcmplt
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.global	__aeabi_ui2f
	.global	__aeabi_fcmpeq
	.global	__aeabi_fcmple
	.align	2
	.global	bkt_stazioni
	.syntax unified
	.arm
	.fpu softvfp
	.type	bkt_stazioni, %function
bkt_stazioni:
	@ args = 28, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r3, [fp, #-44]	@ float
	mov	r3, r2
	strb	r3, [fp, #-37]
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	strh	r3, [fp, #28]	@ movhi
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L10
	mov	r3, #0
	strb	r3, [fp, #-27]
	b	.L11
.L16:
	ldrh	r3, [fp, #28]
	mov	r0, r3
	bl	__aeabi_i2d
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	strh	r3, [fp, #28]	@ movhi
	ldr	r0, [fp, #12]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #12]	@ float
	mov	r1, #0
	ldr	r0, [fp, #12]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #12]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	str	r3, [fp, #12]	@ float
.L15:
	ldrb	r3, [fp, #-27]
	add	r3, r3, #1
	strb	r3, [fp, #-27]
.L11:
	ldrb	r2, [fp, #-27]	@ zero_extendqisi2
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L16
	ldr	r3, [fp, #20]
	ldrb	r3, [r3, #8]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L17
	ldrb	r2, [fp, #-37]	@ zero_extendqisi2
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L17
	mov	r1, #0
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
.L17:
	ldr	r3, [fp, #20]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	b	.L27
.L25:
	ldrh	r2, [fp, #28]
	ldrh	r3, [fp, #24]
	cmp	r2, r3
	bcc	.L27
.L18:
	ldr	r3, [fp, #20]
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #20]
	mov	r2, #1
	strb	r2, [r3, #8]
	mov	r3, #0
	strb	r3, [fp, #-26]
	b	.L21
.L22:
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	ldr	r2, [fp, #16]
	add	r2, r2, r3
	ldr	r3, [fp, #20]
	ldr	r1, [r3]
	ldrb	r3, [fp, #-26]	@ zero_extendqisi2
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-26]
	add	r3, r3, #1
	strb	r3, [fp, #-26]
.L21:
	ldrb	r2, [fp, #-26]	@ zero_extendqisi2
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L22
	b	.L27
.L10:
	mov	r3, #0
	strb	r3, [fp, #-25]
	b	.L23
.L24:
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]	@ zero_extendqisi2
	cmp	r2, #0
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [fp, #-37]
	add	r3, r3, #1
	and	r2, r3, #255
	ldrh	r3, [fp, #28]
	str	r3, [sp, #24]
	ldrh	r3, [fp, #24]
	str	r3, [sp, #20]
	ldr	r3, [fp, #20]
	str	r3, [sp, #16]
	ldr	r3, [fp, #16]
	str	r3, [sp, #12]
	ldr	r3, [fp, #12]	@ float
	str	r3, [sp, #8]	@ float
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	str	r3, [sp, #4]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	str	r3, [sp]
	ldr	r3, [fp, #-44]	@ float
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	bkt_stazioni
	ldrb	r3, [fp, #-25]
	add	r3, r3, #1
	strb	r3, [fp, #-25]
.L23:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #1
	bls	.L24
	b	.L9
.L26:
	nop
	b	.L9
.L27:
	nop
.L9:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	bkt_stazioni, .-bkt_stazioni
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Non esistono soluzioni\000"
	.align	2
.LC5:
	.ascii	"Soluzione ottimale: \000"
	.align	2
.LC6:
	.ascii	"\012con un costo complessivo di %3.f\012considerand"
	.ascii	"o \000"
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	" stazioni su %d\012\012\000"
	.text
	.align	2
	.global	StazioniServizio
	.syntax unified
	.arm
	.fpu softvfp
	.type	StazioniServizio, %function
StazioniServizio:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r3, #30
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-48]
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L38
	str	r3, [fp, #-20]	@ float
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-48]
	and	r4, r3, #255
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2uiz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, [fp, #-16]
	str	r3, [sp, #16]
	ldr	r3, [fp, #-24]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-28]	@ float
	str	r3, [sp, #8]	@ float
	str	r4, [sp, #4]
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	str	r3, [sp]
	ldr	r3, [fp, #-20]	@ float
	mov	r2, #0
	ldr	r1, [fp, #4]
	ldr	r0, [fp, #-52]
	bl	bkt_stazioni
	ldr	r0, .L38+4
	bl	puts
	mov	r3, #0
	strb	r3, [fp, #-33]
	mov	r3, #0
	strb	r3, [fp, #-32]
	b	.L29
.L31:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	ldrb	r3, [fp, #-33]
	add	r3, r3, #1
	strb	r3, [fp, #-33]
.L30:
	ldrb	r3, [fp, #-32]
	add	r3, r3, #1
	strb	r3, [fp, #-32]
.L29:
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L31
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L38+12
	bl	fwrite
	b	.L28
.L32:
	ldr	r0, .L38+16
	bl	printf
	ldr	r3, [fp, #-48]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	arr_print
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+20
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-31]
	mov	r3, #0
	strb	r3, [fp, #-30]
	b	.L34
.L37:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldrb	r3, [fp, #-31]	@ zero_extendqisi2
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L35
	ldrb	r3, [fp, #-30]
	add	r3, r3, #1
	strb	r3, [fp, #-30]
.L35:
	ldrb	r2, [fp, #-31]	@ zero_extendqisi2
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	cmp	r2, r3
	bne	.L36
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L38+24
	bl	printf
.L36:
	ldrb	r3, [fp, #-31]
	add	r3, r3, #1
	strb	r3, [fp, #-31]
.L34:
	ldrb	r3, [fp, #-31]	@ zero_extendqisi2
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L37
	ldr	r1, [fp, #-48]
	ldr	r0, .L38+28
	bl	printf
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
.L28:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L39:
	.align	2
.L38:
	.word	1028443341
	.word	.LC3
	.word	stdout
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	StazioniServizio, .-StazioniServizio
	.global	__aeabi_ui2d
	.section	.rodata
	.align	3
.LC0:
	.word	0
	.word	1081098240
	.word	0
	.word	1081196544
	.word	0
	.word	1081294848
	.word	0
	.word	1081393152
	.word	0
	.word	1081491456
	.align	3
.LC1:
	.word	0
	.word	1078034432
	.word	0
	.word	1078034432
	.word	0
	.word	1077968896
	.word	0
	.word	1077739520
	.word	0
	.word	1077346304
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L43+4
	sub	ip, fp, #92
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, .L43+8
	sub	ip, fp, #52
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	mov	r3, #5
	strh	r3, [fp, #-96]	@ movhi
	ldr	r3, .L43+12
	strh	r3, [fp, #-94]	@ movhi
	ldrh	r3, [fp, #-94]
	mov	r0, r3
	bl	__aeabi_ui2d
	ldrh	r2, [fp, #-96]
	sub	ip, fp, #92
	sub	r3, fp, #52
	str	r3, [sp]
	mov	r3, ip
	bl	StazioniServizio
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	1540
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
