	.file	"243892172.c"
	.intel_syntax noprefix
	.text
	.globl	Nbrs
	.section	.rodata
	.align 32
	.type	Nbrs, @object
	.size	Nbrs, 504
Nbrs:
	.long	1
	.long	1
	.long	1
	.long	2
	.long	1
	.long	3
	.long	1
	.long	4
	.long	1
	.long	5
	.long	1
	.long	6
	.long	1
	.long	7
	.long	1
	.long	8
	.long	1
	.long	9
	.long	1
	.long	10
	.long	2
	.long	1
	.long	2
	.long	3
	.long	2
	.long	5
	.long	2
	.long	7
	.long	2
	.long	9
	.long	3
	.long	1
	.long	3
	.long	2
	.long	3
	.long	4
	.long	3
	.long	5
	.long	3
	.long	7
	.long	3
	.long	8
	.long	3
	.long	10
	.long	4
	.long	1
	.long	4
	.long	3
	.long	4
	.long	5
	.long	4
	.long	7
	.long	4
	.long	9
	.long	5
	.long	1
	.long	5
	.long	2
	.long	5
	.long	3
	.long	5
	.long	4
	.long	5
	.long	6
	.long	5
	.long	7
	.long	5
	.long	8
	.long	5
	.long	9
	.long	6
	.long	1
	.long	6
	.long	5
	.long	6
	.long	7
	.long	7
	.long	1
	.long	7
	.long	2
	.long	7
	.long	3
	.long	7
	.long	4
	.long	7
	.long	5
	.long	7
	.long	6
	.long	7
	.long	8
	.long	7
	.long	9
	.long	7
	.long	10
	.long	8
	.long	1
	.long	8
	.long	3
	.long	8
	.long	5
	.long	8
	.long	7
	.long	8
	.long	9
	.long	9
	.long	1
	.long	9
	.long	2
	.long	9
	.long	4
	.long	9
	.long	5
	.long	9
	.long	7
	.long	9
	.long	8
	.long	9
	.long	10
	.long	10
	.long	1
	.long	10
	.long	3
	.long	10
	.long	7
	.long	10
	.long	9
	.text
	.globl	DP
	.type	DP, @function
DP:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 248
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	QWORD PTR -208[rbp], rsi
	mov	DWORD PTR -212[rbp], edx
	mov	DWORD PTR -216[rbp], ecx
	movsd	QWORD PTR -224[rbp], xmm0
	mov	DWORD PTR -228[rbp], r8d
	mov	QWORD PTR -240[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -160[rbp], 1
	mov	eax, DWORD PTR -216[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -160[rbp]
	add	eax, 1
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -212[rbp]
	imul	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -212[rbp]
	imul	eax, DWORD PTR -156[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -112[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	sal	eax, 2
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -188[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -184[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -212[rbp]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -212[rbp]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -184[rbp], 1
.L3:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L4
	mov	edx, DWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spline
	mov	edx, DWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spline
	mov	DWORD PTR -184[rbp], 0
	jmp	.L5
.L6:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -184[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -156[rbp]
	movsd	xmm2, QWORD PTR .LC0[rip]
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movq	rsi, xmm0
	mov	edx, DWORD PTR -216[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	lea	rcx, -192[rbp]
	lea	rax, -136[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	lookupspline
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	esi, DWORD PTR -212[rbp]
	mov	edi, esi
	imul	edi, DWORD PTR -184[rbp]
	mov	esi, DWORD PTR -188[rbp]
	add	esi, edi
	movsx	rsi, esi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -120[rbp]
	lea	rbx, [rdi+rsi]
	mov	rsi, rcx
	mov	rdi, rdx
	movq	xmm0, rax
	call	evalspline
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	mov	esi, DWORD PTR -212[rbp]
	mov	edi, esi
	imul	edi, DWORD PTR -184[rbp]
	mov	esi, DWORD PTR -188[rbp]
	add	esi, edi
	movsx	rsi, esi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -112[rbp]
	lea	rbx, [rdi+rsi]
	mov	rsi, rcx
	mov	rdi, rdx
	movq	xmm0, rax
	call	evalspline
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -184[rbp], 1
.L5:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L6
	add	DWORD PTR -188[rbp], 1
.L2:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -212[rbp]
	jl	.L7
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, eax
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, eax
	add	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -188[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	mov	edx, DWORD PTR -216[rbp]
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	imul	eax, DWORD PTR -216[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	add	DWORD PTR -188[rbp], 1
.L8:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L9
	mov	rax, QWORD PTR -72[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -184[rbp], 1
	jmp	.L10
.L18:
	mov	DWORD PTR -188[rbp], 1
	jmp	.L11
.L17:
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -128[rbp], xmm0
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -168[rbp], 0
	jmp	.L12
.L16:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, Nbrs[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	mov	DWORD PTR -192[rbp], eax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, Nbrs[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -184[rbp]
	sub	eax, edx
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -192[rbp]
	test	eax, eax
	js	.L13
	cmp	DWORD PTR -140[rbp], 0
	js	.L13
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -192[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	movsd	QWORD PTR -248[rbp], xmm3
	mov	edx, DWORD PTR -192[rbp]
	mov	rdi, QWORD PTR -224[rbp]
	mov	r9d, DWORD PTR -184[rbp]
	mov	r10d, DWORD PTR -188[rbp]
	mov	ecx, DWORD PTR -140[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	r8d, DWORD PTR -160[rbp]
	push	r8
	mov	r8d, DWORD PTR -212[rbp]
	push	r8
	movq	xmm0, rdi
	mov	r8d, r10d
	mov	rdi, rax
	call	CostFn2
	add	rsp, 16
	addsd	xmm0, QWORD PTR -248[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	cmp	DWORD PTR -168[rbp], 0
	je	.L14
	movsd	xmm0, QWORD PTR -128[rbp]
	comisd	xmm0, QWORD PTR -32[rbp]
	jbe	.L13
.L14:
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -128[rbp], xmm0
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -180[rbp], eax
.L13:
	add	DWORD PTR -168[rbp], 1
.L12:
	cmp	DWORD PTR -168[rbp], 62
	jle	.L16
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, Nbrs[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -188[rbp]
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, Nbrs[rip+4]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -216[rbp]
	mov	eax, DWORD PTR -184[rbp]
	add	eax, edx
	imul	eax, DWORD PTR -216[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -184[rbp]
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -188[rbp], 1
.L11:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L17
	add	DWORD PTR -184[rbp], 1
.L10:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L18
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -216[rbp]
	add	eax, eax
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -216[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 4
	mov	edx, DWORD PTR -216[rbp]
	sub	edx, 1
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -164[rbp], 1
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -164[rbp]
	sub	eax, 1
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	imul	eax, DWORD PTR -152[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -148[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -164[rbp]
	add	edx, edx
	movsx	rdx, edx
	add	rdx, 1
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	edx, DWORD PTR -216[rbp]
	mov	eax, DWORD PTR -152[rbp]
	add	eax, edx
	imul	eax, DWORD PTR -216[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -148[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -164[rbp]
	add	edx, edx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -164[rbp], 1
.L19:
	mov	eax, DWORD PTR -164[rbp]
	sub	eax, 1
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	jg	.L20
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -164[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, xycompare[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -188[rbp], 0
	jmp	.L21
.L29:
	mov	DWORD PTR -172[rbp], 100000
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -184[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, DWORD PTR -152[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movq	xmm1, QWORD PTR .LC4[rip]
	andpd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -184[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jge	.L24
.L23:
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR -172[rbp], eax
	mov	eax, DWORD PTR -184[rbp]
	mov	DWORD PTR -176[rbp], eax
.L24:
	add	DWORD PTR -184[rbp], 1
.L22:
	mov	eax, DWORD PTR -184[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L25
	mov	eax, DWORD PTR -176[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -152[rbp], eax
	mov	eax, DWORD PTR -176[rbp]
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -148[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -188[rbp]
	jne	.L26
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -148[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -152[rbp]
	cmp	eax, DWORD PTR -188[rbp]
	jle	.L28
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, DWORD PTR -188[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -176[rbp]
	sub	eax, 1
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -176[rbp]
	sub	eax, 1
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -148[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	addsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, DWORD PTR -152[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -176[rbp]
	add	eax, 1
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -188[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -176[rbp]
	add	eax, 1
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -148[rbp]
	mulsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	addsd	xmm1, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
.L27:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -240[rbp]
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -216[rbp]
	sub	eax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -240[rbp]
	add	rax, rdx
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -188[rbp], 1
.L21:
	mov	eax, DWORD PTR -188[rbp]
	cmp	eax, DWORD PTR -216[rbp]
	jl	.L29
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	DP, .-DP
	.globl	xycompare
	.type	xycompare, @function
xycompare:
.LFB7:
	.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]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	setg	al
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	setl	al
	movzx	ecx, al
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	xycompare, .-xycompare
	.globl	CostFn2
	.type	CostFn2, @function
CostFn2:
.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, 144
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -116[rbp], edx
	mov	DWORD PTR -120[rbp], ecx
	mov	DWORD PTR -124[rbp], r8d
	mov	DWORD PTR -128[rbp], r9d
	movsd	QWORD PTR -136[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -120[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, DWORD PTR -116[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -124[rbp]
	imul	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	imul	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	imul	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L34
.L40:
	mov	eax, DWORD PTR -88[rbp]
	sub	eax, DWORD PTR -76[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	lea	rdx, -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	modf@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR .LC5[rip]
	jb	.L44
	movsd	xmm0, QWORD PTR .LC0[rip]
	jmp	.L37
.L44:
	pxor	xmm0, xmm0
.L37:
	movsd	xmm1, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -68[rbp], eax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR 16[rbp]
	imul	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR 16[rbp]
	imul	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	add	DWORD PTR -84[rbp], 1
.L38:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jl	.L39
	add	DWORD PTR -88[rbp], 1
.L34:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jle	.L40
	movsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	CostFn2, .-CostFn2
	.globl	thomas
	.type	thomas, @function
thomas:
.LFB9:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -52[rbp], r8d
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR [rax]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -12[rbp], 1
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm2, xmm1
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mulsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mulsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L46:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L47
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 2
	mov	DWORD PTR -12[rbp], eax
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, xmm2
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	sub	DWORD PTR -12[rbp], 1
.L48:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L49
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	thomas, .-thomas
	.globl	spline
	.type	spline, @function
spline:
.LFB10:
	.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
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -52[rbp], 3
	jg	.L51
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	jmp	.L52
.L51:
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR .LC8[rip]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -24[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
.L52:
	mov	DWORD PTR -28[rbp], 1
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -28[rbp], 1
.L53:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jl	.L54
	mov	edi, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	thomas
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	spline, .-spline
	.globl	lookupspline
	.type	lookupspline, @function
lookupspline:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	DWORD PTR -36[rbp], edx
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	call	floor@PLT
	cvttsd2si	edx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	setg	al
	movzx	edx, al
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	setle	al
	movzx	edx, al
	mov	eax, DWORD PTR -36[rbp]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edi, DWORD PTR [rax]
	mov	eax, ecx
	sub	eax, edi
	imul	eax, edx
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	subsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	lookupspline, .-lookupspline
	.globl	evalspline
	.type	evalspline, @function
evalspline:
.LFB12:
	.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
	movsd	QWORD PTR -56[rbp], xmm0
	mov	QWORD PTR -64[rbp], rdi
	mov	QWORD PTR -72[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	subsd	xmm0, xmm1
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	evalspline, .-evalspline
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC1:
	.long	-402653184
	.long	1109870710
	.align 8
.LC3:
	.long	0
	.long	1090021888
	.align 16
.LC4:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC5:
	.long	0
	.long	1071644672
	.align 8
.LC6:
	.long	0
	.long	1073741824
	.align 8
.LC7:
	.long	0
	.long	1074266112
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	-1072431104
	.align 8
.LC10:
	.long	0
	.long	1075052544
	.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	"243892172.c"
	.text
	.global	Nbrs
	.section	.rodata
	.align	2
	.type	Nbrs, %object
	.size	Nbrs, 504
Nbrs:
	.word	1
	.word	1
	.word	1
	.word	2
	.word	1
	.word	3
	.word	1
	.word	4
	.word	1
	.word	5
	.word	1
	.word	6
	.word	1
	.word	7
	.word	1
	.word	8
	.word	1
	.word	9
	.word	1
	.word	10
	.word	2
	.word	1
	.word	2
	.word	3
	.word	2
	.word	5
	.word	2
	.word	7
	.word	2
	.word	9
	.word	3
	.word	1
	.word	3
	.word	2
	.word	3
	.word	4
	.word	3
	.word	5
	.word	3
	.word	7
	.word	3
	.word	8
	.word	3
	.word	10
	.word	4
	.word	1
	.word	4
	.word	3
	.word	4
	.word	5
	.word	4
	.word	7
	.word	4
	.word	9
	.word	5
	.word	1
	.word	5
	.word	2
	.word	5
	.word	3
	.word	5
	.word	4
	.word	5
	.word	6
	.word	5
	.word	7
	.word	5
	.word	8
	.word	5
	.word	9
	.word	6
	.word	1
	.word	6
	.word	5
	.word	6
	.word	7
	.word	7
	.word	1
	.word	7
	.word	2
	.word	7
	.word	3
	.word	7
	.word	4
	.word	7
	.word	5
	.word	7
	.word	6
	.word	7
	.word	8
	.word	7
	.word	9
	.word	7
	.word	10
	.word	8
	.word	1
	.word	8
	.word	3
	.word	8
	.word	5
	.word	8
	.word	7
	.word	8
	.word	9
	.word	9
	.word	1
	.word	9
	.word	2
	.word	9
	.word	4
	.word	9
	.word	5
	.word	9
	.word	7
	.word	9
	.word	8
	.word	9
	.word	10
	.word	10
	.word	1
	.word	10
	.word	3
	.word	10
	.word	7
	.word	10
	.word	9
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.global	__aeabi_d2iz
	.global	__aeabi_dmul
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DP
	.syntax unified
	.arm
	.fpu softvfp
	.type	DP, %function
DP:
	@ args = 16, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #192
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	str	r2, [fp, #-184]
	str	r3, [fp, #-188]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-192]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-188]
	sub	r3, r3, #1
	ldr	r2, [fp, #-136]
	mul	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-132]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-132]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #5
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L3
.L4:
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-160]
	mul	r2, r3, r2
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-176]
	add	r3, r2, r3
	ldr	r2, [fp, #-160]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-116]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-160]
	mul	r2, r3, r2
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-180]
	add	r3, r2, r3
	ldr	r2, [fp, #-160]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-108]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L3:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L4
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-120]
	bl	spline
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-112]
	bl	spline
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L5
.L6:
	ldr	r0, [fp, #-160]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-132]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L31+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #168
	sub	r0, fp, #76
	ldr	r3, [fp, #-188]
	str	r3, [sp, #8]
	mov	r2, #0
	ldr	r3, .L31+4
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	bl	lookupspline
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-120]
	add	ip, r2, r3
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-116]
	add	lr, r2, r3
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-160]
	mul	r2, r3, r2
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-128]
	add	r6, r2, r3
	mov	r3, lr
	mov	r2, ip
	bl	evalspline
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-112]
	add	ip, r2, r3
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-108]
	add	lr, r2, r3
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-160]
	mul	r2, r3, r2
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-124]
	add	r6, r2, r3
	mov	r3, lr
	mov	r2, ip
	bl	evalspline
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L5:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L2:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-184]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-120]
	bl	free
	ldr	r3, [fp, #-188]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-188]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L8
.L9:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-164]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r1, r2, r3
	mov	r2, #-402653184
	ldr	r3, .L31+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r1, r2, r3
	mov	r2, #-402653184
	ldr	r3, .L31+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-164]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldr	r2, [fp, #-188]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-188]
	mul	r2, r3, r3
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L8:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L9
	ldr	r1, [fp, #-104]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-160]
	b	.L10
.L18:
	mov	r3, #1
	str	r3, [fp, #-164]
	b	.L11
.L17:
	mov	r2, #0
	ldr	r3, .L31+12
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-156]
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L12
.L16:
	ldr	r2, .L31+16
	ldr	r3, [fp, #-144]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-164]
	sub	r3, r2, r3
	str	r3, [fp, #-168]
	ldr	r2, .L31+16
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-160]
	sub	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-80]
	mul	r2, r3, r2
	ldr	r3, [fp, #-168]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	ldr	r1, [fp, #-168]
	ldmib	fp, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #-136]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-184]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-160]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-164]
	str	r3, [sp]
	ldr	r3, [fp, #-80]
	mov	r2, r1
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-128]
	bl	CostFn2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	beq	.L14
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
.L14:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-156]
.L13:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L12:
	ldr	r3, [fp, #-144]
	cmp	r3, #62
	ble	.L16
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-160]
	mul	r2, r3, r2
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r1, r2, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, .L31+16
	ldr	r3, [fp, #-156]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r3, [fp, #-188]
	ldr	r1, [fp, #-160]
	mul	r1, r3, r1
	ldr	r3, [fp, #-164]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-100]
	add	r3, r1, r3
	ldr	r1, [fp, #-164]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r2, .L31+16
	ldr	r3, [fp, #-156]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, [fp, #-188]
	ldr	r3, [fp, #-160]
	add	r3, r1, r3
	ldr	r1, [fp, #-188]
	mul	r1, r3, r1
	ldr	r3, [fp, #-164]
	add	r3, r1, r3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-100]
	add	r3, r1, r3
	ldr	r1, [fp, #-160]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L11:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L10:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L18
	ldr	r0, [fp, #-104]
	bl	free
	ldr	r0, [fp, #-124]
	bl	free
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-188]
	sub	r2, r3, #1
	ldr	r3, [fp, #-96]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	add	r3, r3, #4
	ldr	r2, [fp, #-188]
	sub	r2, r2, #1
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-140]
	b	.L19
.L20:
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-92]
	mul	r2, r3, r2
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r1, [fp, #-96]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r2, [fp, #-188]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	ldr	r2, [fp, #-188]
	mul	r2, r3, r2
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r2, r2, r3
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-96]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L19:
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bgt	.L20
	ldr	r0, [fp, #-100]
	bl	free
	ldr	r1, [fp, #-140]
	ldr	r3, .L31+20
	mov	r2, #8
	ldr	r0, [fp, #-96]
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L21
.L29:
	ldr	r3, .L31+24
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L22
.L25:
	ldr	r3, [fp, #-160]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L23
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-148]
	cmp	r2, r3
	bge	.L24
.L23:
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-152]
.L24:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L22:
	ldr	r2, [fp, #-160]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-88]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	bne	.L26
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-192]
	add	r6, r2, r3
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	b	.L27
.L26:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-164]
	cmp	r2, r3
	ble	.L28
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-152]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-152]
	sub	r3, r3, #1
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-192]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	b	.L27
.L28:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-192]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
.L27:
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-192]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-192]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-188]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-164]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-192]
	add	r6, r0, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L21:
	ldr	r2, [fp, #-164]
	ldr	r3, [fp, #-188]
	cmp	r2, r3
	blt	.L29
	ldr	r0, [fp, #-96]
	bl	free
	nop
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC0
	.word	1072693248
	.word	1109870710
	.word	1090021888
	.word	Nbrs
	.word	xycompare
	.word	100000
	.size	DP, .-DP
	.align	2
	.global	xycompare
	.syntax unified
	.arm
	.fpu softvfp
	.type	xycompare, %function
xycompare:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	sub	r3, r1, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	xycompare, .-xycompare
	.global	__aeabi_dcmpge
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	CostFn2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CostFn2, %function
CostFn2:
	@ args = 24, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	str	r3, [fp, #-116]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, [fp, #8]
	ldr	r3, [fp, #-116]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-112]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #16]
	mul	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #16]
	mul	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-116]
	ldr	r2, [fp, #16]
	mul	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-100]
	b	.L36
.L42:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #76
	mov	r2, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	modf
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r2, #0
	ldr	r3, .L47+4
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r0, #0
	ldr	r1, .L47+8
	b	.L39
.L46:
	mov	r0, #0
	mov	r1, #0
.L39:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L40
.L41:
	ldr	r3, [fp, #12]
	ldr	r2, [fp, #-100]
	mul	r2, r3, r2
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #12]
	ldr	r2, [fp, #-80]
	mul	r2, r3, r2
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-108]
	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
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	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, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L40:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L36:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	ble	.L42
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r1, .L47
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC1
	.word	1071644672
	.word	1072693248
	.size	CostFn2, .-CostFn2
	.align	2
	.global	thomas
	.syntax unified
	.arm
	.fpu softvfp
	.type	thomas, %function
thomas:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-52]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	stm	r1, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L50
.L51:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-32]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	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_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L54
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-32]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	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_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L50:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L51
	ldr	r3, [fp, #4]
	sub	r3, r3, #2
	str	r3, [fp, #-32]
	b	.L52
.L53:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r6, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L52:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L53
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L55:
	.align	2
.L54:
	.word	1072693248
	.size	thomas, .-thomas
	.align	2
	.global	spline
	.syntax unified
	.arm
	.fpu softvfp
	.type	spline, %function
spline:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bgt	.L57
	ldr	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-28]
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L61
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-44]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L61+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L61
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870910
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L61+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	b	.L58
.L57:
	ldr	r1, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-28]
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L61+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-44]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L61+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L61+8
	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
	ldr	r3, [fp, #-44]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-40]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L61+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L61+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870910
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L61+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #-536870909
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-48]
	sub	r1, r1, #-536870911
	lsl	r1, r1, #3
	ldr	r0, [fp, #-40]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
.L58:
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L59
.L60:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L61
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L61+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L61
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L61+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L59:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L60
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	thomas
	ldr	r0, [fp, #-32]
	bl	free
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L62:
	.align	2
.L61:
	.word	1072693248
	.word	1074266112
	.word	1074790400
	.word	-1072431104
	.word	1075052544
	.size	spline, .-spline
	.align	2
	.global	lookupspline
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookupspline, %function
lookupspline:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #12]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldmib	fp, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mul	r2, r3, r2
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #12]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r1, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	ldr	r3, [fp, #12]
	sub	r1, r3, #2
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	sub	r3, r1, r3
	mul	r3, r0, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	lookupspline, .-lookupspline
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	evalspline
	.syntax unified
	.arm
	.fpu softvfp
	.type	evalspline, %function
evalspline:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L67+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-64]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L67
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC2
	.word	1074266112
	.size	evalspline, .-evalspline
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
