	.file	"682027.c"
	.intel_syntax noprefix
	.text
	.globl	stat
	.bss
	.align 32
	.type	stat, @object
	.size	stat, 8016
stat:
	.zero	8016
	.text
	.globl	cmp1
	.type	cmp1, @function
cmp1:
.LFB6:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	comisd	xmm0, xmm1
	jbe	.L7
	mov	eax, -1
	jmp	.L5
.L7:
	mov	eax, 1
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp1, .-cmp1
	.section	.rodata
.LC0:
	.string	"%lf%lf%lf%d"
.LC1:
	.string	"%lf%lf"
	.align 8
.LC3:
	.string	"The maximum travel distance = %.2f"
.LC5:
	.string	"%.2f"
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, -100[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -72[rbp]
	lea	rax, -80[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -96[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, stat[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	xmm1, QWORD PTR -64[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -96[rbp], 1
.L9:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -96[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR -100[rbp]
	movsd	xmm0, QWORD PTR -72[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rcx, cmp1[rip]
	mov	edx, 16
	mov	rsi, rax
	lea	rdi, stat[rip]
	call	qsort@PLT
	movsd	xmm0, QWORD PTR stat[rip+8]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L29
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	je	.L33
.L29:
	mov	esi, 0
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L27
.L33:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm1, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L14
.L26:
	mov	DWORD PTR -92[rbp], -1
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	mov	DWORD PTR -84[rbp], eax
	jmp	.L15
.L21:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	comisd	xmm0, xmm1
	jb	.L34
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -92[rbp], eax
	jmp	.L18
.L34:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, xmm1
	jbe	.L19
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -92[rbp], eax
.L19:
	add	DWORD PTR -84[rbp], 1
.L15:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jg	.L18
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	jnb	.L21
.L18:
	cmp	DWORD PTR -92[rbp], -1
	jne	.L22
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	jmp	.L27
.L22:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm1, QWORD PTR [rdx+rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	ucomisd	xmm0, QWORD PTR -32[rbp]
	jp	.L32
	comisd	xmm0, QWORD PTR -32[rbp]
	je	.L35
.L32:
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L25
.L35:
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
.L25:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mulsd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -88[rbp], eax
.L14:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, stat[rip+8]
	movsd	xmm1, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -72[rbp]
	comisd	xmm0, xmm1
	ja	.L26
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L27:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.long	630506365
	.long	1420970413
	.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	"682027.c"
	.text
	.comm	stat,8016,8
	.global	__aeabi_dcmplt
	.align	2
	.global	cmp1
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp1, %function
cmp1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mvn	r3, #0
	b	.L5
.L7:
	mov	r3, #1
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp1, .-cmp1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf%lf%lf%d\000"
	.align	2
.LC1:
	.ascii	"%lf%lf\000"
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.ascii	"The maximum travel distance = %.2f\000"
	.global	__aeabi_dmul
	.global	__aeabi_dcmple
	.global	__aeabi_dcmpgt
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.align	2
.LC3:
	.ascii	"%.2f\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #112
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r0, fp, #76
	sub	r2, fp, #84
	sub	r1, fp, #92
	sub	r3, fp, #112
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L36+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L9
.L10:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #4
	ldr	r2, .L36+8
	add	r1, r3, r2
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L36+8
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L36+12
	bl	__isoc99_scanf
	ldr	r2, .L36+8
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+8
	ldr	r1, [fp, #-108]
	lsl	r1, r1, #4
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L9:
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	blt	.L10
	ldr	r1, [fp, #-112]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	ldr	r0, .L36+8
	lsl	r1, r1, #4
	add	r1, r0, r1
	add	r1, r1, #8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-112]
	mov	r1, r3
	ldr	r3, .L36+16
	mov	r2, #16
	ldr	r0, .L36+8
	bl	qsort
	ldr	r3, .L36+8
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	mov	r1, #0
	ldr	r0, .L36+20
	bl	printf
	mov	r3, #0
	b	.L27
.L33:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L14
.L26:
	mvn	r3, #0
	str	r3, [fp, #-104]
	ldr	r2, .L36+24
	ldr	r3, .L36+28
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-96]
	b	.L15
.L21:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-104]
	b	.L18
.L34:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r2, .L36+8
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-104]
.L19:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L15:
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bgt	.L18
	ldr	r2, .L36+8
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r4-r5}
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
.L18:
	ldr	r3, [fp, #-104]
	cmn	r3, #1
	bne	.L22
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L36+20
	bl	printf
	mov	r3, #0
	b	.L27
.L22:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L36+8
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L25
.L35:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
.L25:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-100]
.L14:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L36+32
	bl	printf
	mov	r3, #0
.L27:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC4
	.word	.LC0
	.word	stat
	.word	.LC1
	.word	cmp1
	.word	.LC2
	.word	630506365
	.word	1420970413
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
