	.file	"323880.c"
	.intel_syntax noprefix
	.text
	.globl	ALLOC
	.type	ALLOC, @function
ALLOC:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ALLOC, .-ALLOC
	.globl	__NumNodes
	.bss
	.align 4
	.type	__NumNodes, @object
	.size	__NumNodes, 4
__NumNodes:
	.zero	4
	.globl	__NDim
	.align 4
	.type	__NDim, @object
	.size	__NDim, 4
__NDim:
	.zero	4
	.globl	flag
	.align 4
	.type	flag, @object
	.size	flag, 4
flag:
	.zero	4
	.globl	stdout
	.align 4
	.type	stdout, @object
	.size	stdout, 4
stdout:
	.zero	4
	.globl	CMMD_independent
	.align 4
	.type	CMMD_independent, @object
	.size	CMMD_independent, 4
CMMD_independent:
	.zero	4
	.globl	F_SETFL
	.align 4
	.type	F_SETFL, @object
	.size	F_SETFL, 4
F_SETFL:
	.zero	4
	.globl	O_APPEND
	.align 4
	.type	O_APPEND, @object
	.size	O_APPEND, 4
O_APPEND:
	.zero	4
	.text
	.globl	CMMD_fset_io_mode
	.type	CMMD_fset_io_mode, @function
CMMD_fset_io_mode:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	CMMD_fset_io_mode, .-CMMD_fset_io_mode
	.globl	CMMD_self_address
	.type	CMMD_self_address, @function
CMMD_self_address:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	CMMD_self_address, .-CMMD_self_address
	.globl	fcntl
	.type	fcntl, @function
fcntl:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	fcntl, .-fcntl
	.globl	__InitRegs
	.type	__InitRegs, @function
__InitRegs:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	__InitRegs, .-__InitRegs
	.globl	filestuff
	.type	filestuff, @function
filestuff:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	edx, DWORD PTR CMMD_independent[rip]
	mov	eax, DWORD PTR stdout[rip]
	mov	esi, edx
	mov	edi, eax
	call	CMMD_fset_io_mode
	mov	r12d, DWORD PTR O_APPEND[rip]
	mov	ebx, DWORD PTR F_SETFL[rip]
	mov	eax, DWORD PTR stdout[rip]
	mov	edi, eax
	mov	eax, 0
	call	fileno@PLT
	mov	edx, r12d
	mov	esi, ebx
	mov	edi, eax
	call	fcntl
	mov	eax, 0
	call	CMMD_self_address
	test	eax, eax
	je	.L12
	mov	edi, 0
	call	exit@PLT
.L12:
	mov	edi, 0
	call	__InitRegs
	nop
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	filestuff, .-filestuff
	.globl	mylog
	.type	mylog, @function
mylog:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	jmp	.L14
.L15:
	sal	DWORD PTR -4[rbp]
	add	DWORD PTR -8[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L15
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mylog, .-mylog
	.globl	dealwithargs
	.type	dealwithargs, @function
dealwithargs:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 3
	jle	.L18
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR flag[rip], eax
	jmp	.L19
.L18:
	mov	DWORD PTR flag[rip], 0
.L19:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L20
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR __NumNodes[rip], eax
	jmp	.L21
.L20:
	mov	DWORD PTR __NumNodes[rip], 4
.L21:
	mov	eax, DWORD PTR __NumNodes[rip]
	mov	edi, eax
	call	mylog
	mov	DWORD PTR __NDim[rip], eax
	cmp	DWORD PTR -20[rbp], 1
	jle	.L22
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L23
.L22:
	mov	DWORD PTR -4[rbp], 15
.L23:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dealwithargs, .-dealwithargs
	.globl	drand48
	.type	drand48, @function
drand48:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	drand48, .-drand48
	.globl	srand48
	.type	srand48, @function
srand48:
.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 -8[rbp], rdi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	srand48, .-srand48
	.globl	exp
	.type	exp, @function
exp:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	exp, .-exp
	.globl	log
	.type	log, @function
log:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	log, .-log
	.type	median, @function
median:
.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, 40
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	DWORD PTR -36[rbp], edi
	mov	eax, 0
	call	drand48
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR .LC0[rip]
	jbe	.L39
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm2, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC3[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	log
	movq	rax, xmm0
	movsd	xmm1, QWORD PTR .LC4[rip]
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L36
.L39:
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC3[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	log
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC5[rip]
	movq	xmm3, rax
	xorpd	xmm3, xmm0
	movapd	xmm0, xmm3
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
.L36:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	median, .-median
	.type	uniform, @function
uniform:
.LFB13:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	eax, 0
	call	drand48
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	uniform, .-uniform
	.globl	build_tree
	.type	build_tree, @function
build_tree:
.LFB14:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	movsd	QWORD PTR -56[rbp], xmm2
	movsd	QWORD PTR -64[rbp], xmm3
	cmp	DWORD PTR -20[rbp], 0
	jne	.L43
	mov	eax, 0
	jmp	.L44
.L43:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 56
	mov	edi, eax
	call	ALLOC
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -24[rbp], 0
	je	.L45
	cmp	DWORD PTR -24[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	median
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	movsd	xmm2, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	edx, esi
	mov	esi, eax
	call	build_tree
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	movsd	xmm2, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	ecx, esi
	mov	esi, eax
	call	build_tree
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR 8[rax], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	uniform
	movq	rax, xmm0
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rdx], rax
	jmp	.L46
.L45:
	cmp	DWORD PTR -24[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	edi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	median
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	movsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	edx, esi
	mov	esi, eax
	call	build_tree
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	movsd	xmm2, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	ecx, esi
	mov	esi, eax
	call	build_tree
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR 16[rax], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	uniform
	movq	rax, xmm0
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rdx], rax
.L46:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -16[rbp]
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	build_tree, .-build_tree
	.globl	print_tree
	.type	print_tree, @function
print_tree:
.LFB15:
	.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 -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_tree
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_tree
	jmp	.L47
.L50:
	nop
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_tree, .-print_tree
	.globl	print_list
	.type	print_list, @function
print_list:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	je	.L56
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L54
.L55:
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -24[rbp], rax
.L54:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jne	.L55
	jmp	.L51
.L56:
	nop
.L51:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_list, .-print_list
	.globl	main
	.type	main, @function
main:
.LFB17:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	edi, 0
	mov	eax, 0
	call	filestuff
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	dealwithargs
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR __NumNodes[rip]
	movsd	xmm1, QWORD PTR .LC3[rip]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mov	eax, DWORD PTR -12[rbp]
	movapd	xmm3, xmm1
	pxor	xmm2, xmm2
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	build_tree
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR __NumNodes[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	tsp
	mov	eax, DWORD PTR flag[rip]
	test	eax, eax
	je	.L58
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_list
.L58:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.globl	sqrt
	.type	sqrt, @function
sqrt:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	sqrt, .-sqrt
	.type	distance, @function
distance:
.LFB19:
	.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR 16[rax]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	distance, .-distance
	.type	makelist, @function
makelist:
.LFB20:
	.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 -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L65
	mov	eax, 0
	jmp	.L66
.L65:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	makelist
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	makelist
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L67
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 40[rax], rdx
.L67:
	cmp	QWORD PTR -32[rbp], 0
	je	.L68
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L69
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L70
.L69:
	mov	rax, QWORD PTR -56[rbp]
.L70:
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 40[rdx], rax
.L68:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -40[rbp]
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	makelist, .-makelist
	.type	reverse, @function
reverse:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	je	.L76
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 40[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L74
.L75:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -40[rbp], rax
.L74:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L75
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L71
.L76:
	nop
.L71:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	reverse, .-reverse
	.type	conquer, @function
conquer:
.LFB22:
	.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	QWORD PTR -104[rbp], rdi
	cmp	QWORD PTR -104[rbp], 0
	jne	.L78
	mov	eax, 0
	jmp	.L79
.L78:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	makelist
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L80
.L88:
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -96[rbp], rax
	jmp	.L81
.L84:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -80[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L82
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -88[rbp], rax
.L82:
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -96[rbp], rax
.L81:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -72[rbp]
	jne	.L84
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, xmm1
	jbe	.L91
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L87
.L91:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rdx
.L87:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -104[rbp], rax
.L80:
	cmp	QWORD PTR -104[rbp], 0
	jne	.L88
	mov	rax, QWORD PTR -72[rbp]
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	conquer, .-conquer
	.type	merge, @function
merge:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -200[rbp], rdi
	mov	QWORD PTR -208[rbp], rsi
	mov	QWORD PTR -216[rbp], rdx
	mov	DWORD PTR -220[rbp], ecx
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rdx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -200[rbp], rax
	jmp	.L93
.L96:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L94
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -168[rbp], xmm0
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -176[rbp], rax
.L94:
	mov	rax, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -200[rbp], rax
.L93:
	mov	rax, QWORD PTR -200[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jne	.L96
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -72[rbp]
	comisd	xmm0, xmm1
	jbe	.L126
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -160[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	jmp	.L99
.L126:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -160[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -128[rbp], xmm0
.L99:
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rdx, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -208[rbp], rax
	jmp	.L100
.L103:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L101
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -168[rbp], xmm0
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -176[rbp], rax
.L101:
	mov	rax, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -208[rbp], rax
.L100:
	mov	rax, QWORD PTR -208[rbp]
	cmp	rax, QWORD PTR -96[rbp]
	jne	.L103
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -72[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -72[rbp]
	comisd	xmm0, xmm1
	jbe	.L127
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -144[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
	jmp	.L106
.L127:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -144[rbp], rax
	movsd	xmm0, QWORD PTR -168[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
.L106:
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	distance
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -120[rbp]
	addsd	xmm0, QWORD PTR -104[rbp]
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -168[rbp], xmm0
	mov	DWORD PTR -180[rbp], 1
	movsd	xmm0, QWORD PTR -120[rbp]
	addsd	xmm0, QWORD PTR -112[rbp]
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L107
	mov	DWORD PTR -180[rbp], 2
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -168[rbp], xmm0
.L107:
	movsd	xmm0, QWORD PTR -128[rbp]
	addsd	xmm0, QWORD PTR -104[rbp]
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L109
	mov	DWORD PTR -180[rbp], 3
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -168[rbp], xmm0
.L109:
	movsd	xmm0, QWORD PTR -128[rbp]
	addsd	xmm0, QWORD PTR -112[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -168[rbp]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L111
	mov	DWORD PTR -180[rbp], 4
.L111:
	cmp	DWORD PTR -180[rbp], 4
	je	.L113
	cmp	DWORD PTR -180[rbp], 4
	jg	.L114
	cmp	DWORD PTR -180[rbp], 3
	je	.L115
	cmp	DWORD PTR -180[rbp], 3
	jg	.L114
	cmp	DWORD PTR -180[rbp], 1
	je	.L116
	cmp	DWORD PTR -180[rbp], 2
	je	.L117
	jmp	.L114
.L116:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	reverse
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L114
.L117:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L114
.L115:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 48[rax], rdx
	jmp	.L114
.L113:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	reverse
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 48[rax], rdx
	nop
.L114:
	mov	rax, QWORD PTR -216[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	merge, .-merge
	.globl	tsp
	.type	tsp, @function
tsp:
.LFB24:
	.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 -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L129
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	conquer
	jmp	.L130
.L129:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	tsp
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	tsp
	mov	QWORD PTR -8[rbp], rax
	mov	ecx, DWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	merge
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	tsp, .-tsp
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1071644672
	.align 8
.LC1:
	.long	1423146138
	.long	1091821070
	.align 8
.LC2:
	.long	1423146138
	.long	1090772502
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC4:
	.long	0
	.long	1076363264
	.align 16
.LC5:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC6:
	.long	0
	.long	1073741824
	.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	"323880.c"
	.text
	.align	2
	.global	ALLOC
	.syntax unified
	.arm
	.fpu softvfp
	.type	ALLOC, %function
ALLOC:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ALLOC, .-ALLOC
	.comm	__NumNodes,4,4
	.comm	__NDim,4,4
	.comm	flag,4,4
	.comm	stdout,4,4
	.comm	CMMD_independent,4,4
	.comm	F_SETFL,4,4
	.comm	O_APPEND,4,4
	.align	2
	.global	CMMD_fset_io_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	CMMD_fset_io_mode, %function
CMMD_fset_io_mode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	CMMD_fset_io_mode, .-CMMD_fset_io_mode
	.align	2
	.global	CMMD_self_address
	.syntax unified
	.arm
	.fpu softvfp
	.type	CMMD_self_address, %function
CMMD_self_address:
	@ 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
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	CMMD_self_address, .-CMMD_self_address
	.align	2
	.global	fcntl
	.syntax unified
	.arm
	.fpu softvfp
	.type	fcntl, %function
fcntl:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fcntl, .-fcntl
	.align	2
	.global	__InitRegs
	.syntax unified
	.arm
	.fpu softvfp
	.type	__InitRegs, %function
__InitRegs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	__InitRegs, .-__InitRegs
	.align	2
	.global	filestuff
	.syntax unified
	.arm
	.fpu softvfp
	.type	filestuff, %function
filestuff:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L13
	ldr	r3, [r3]
	ldr	r2, .L13+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	CMMD_fset_io_mode
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, .L13+12
	ldr	r2, [r2]
	mov	r1, r3
	bl	fcntl
	bl	CMMD_self_address
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r0, #0
	bl	exit
.L12:
	mov	r0, #0
	bl	__InitRegs
	nop
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	stdout
	.word	CMMD_independent
	.word	F_SETFL
	.word	O_APPEND
	.size	filestuff, .-filestuff
	.align	2
	.global	mylog
	.syntax unified
	.arm
	.fpu softvfp
	.type	mylog, %function
mylog:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mylog, .-mylog
	.align	2
	.global	dealwithargs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dealwithargs, %function
dealwithargs:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L20
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L27
	str	r3, [r2]
	b	.L21
.L20:
	ldr	r3, .L27
	mov	r2, #0
	str	r2, [r3]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L22
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L27+4
	str	r3, [r2]
	b	.L23
.L22:
	ldr	r3, .L27+4
	mov	r2, #4
	str	r2, [r3]
.L23:
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	mylog
	mov	r3, r0
	ldr	r2, .L27+8
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L24
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	b	.L25
.L24:
	mov	r3, #15
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	flag
	.word	__NumNodes
	.word	__NDim
	.size	dealwithargs, .-dealwithargs
	.global	__aeabi_i2d
	.align	2
	.global	drand48
	.syntax unified
	.arm
	.fpu softvfp
	.type	drand48, %function
drand48:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	drand48, .-drand48
	.align	2
	.global	srand48
	.syntax unified
	.arm
	.fpu softvfp
	.type	srand48, %function
srand48:
	@ 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]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	srand48, .-srand48
	.align	2
	.global	exp
	.syntax unified
	.arm
	.fpu softvfp
	.type	exp, %function
exp:
	@ 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, #-20]
	str	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	exp, .-exp
	.align	2
	.global	log
	.syntax unified
	.arm
	.fpu softvfp
	.type	log, %function
log:
	@ 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, #-20]
	str	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	log, .-log
	.global	__aeabi_dcmpgt
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	median, %function
median:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	bl	drand48
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r2, #0
	ldr	r3, .L44
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	mov	r2, #0
	ldr	r3, .L44
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L44+4
	ldr	r3, .L44+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L44+4
	ldr	r3, .L44+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L44+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log
	mov	r2, #0
	ldr	r3, .L44+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L40
.L43:
	ldr	r2, .L44+4
	ldr	r3, .L44+8
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L44+4
	ldr	r3, .L44+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L44+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	log
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L44+20
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L40:
	mov	r2, #0
	ldr	r3, .L44+16
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L45:
	.align	2
.L44:
	.word	1071644672
	.word	1423146138
	.word	1091821070
	.word	1090772502
	.word	1072693248
	.word	1076363264
	.size	median, .-median
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uniform, %function
uniform:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	bl	drand48
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	uniform, .-uniform
	.align	2
	.global	build_tree
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_tree, %function
build_tree:
	@ args = 32, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L49
	mov	r3, #0
	b	.L50
.L49:
	mov	r1, #40
	ldr	r0, [fp, #-32]
	bl	ALLOC
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	median
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	ip, r3
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r1
	ldr	r1, [fp, #-28]
	bl	build_tree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, r1
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	bl	build_tree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #28]
	ldr	r1, [fp, #-16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	uniform
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	b	.L52
.L51:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	median
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	ip, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r1
	ldr	r1, [fp, #-28]
	bl	build_tree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	add	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, r1
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	bl	build_tree
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #28]
	ldr	r1, [fp, #-16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	uniform
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
.L52:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-16]
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	build_tree, .-build_tree
	.align	2
	.global	print_tree
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_tree, %function
print_tree:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	print_tree
	ldr	r0, [fp, #-24]
	bl	print_tree
	b	.L53
.L56:
	nop
.L53:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_tree, .-print_tree
	.align	2
	.global	print_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_list, %function
print_list:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-24]
	b	.L60
.L61:
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-24]
.L60:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L61
	b	.L57
.L62:
	nop
.L57:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	print_list, .-print_list
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r0, #0
	bl	filestuff
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	dealwithargs
	str	r0, [fp, #-12]
	ldr	r3, .L66
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r3, .L66+4
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	mov	r2, #0
	mov	r3, #0
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	mov	r2, #0
	ldr	r3, .L66+4
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r2, #0
	mov	r3, #0
	stm	sp, {r2-r3}
	mov	r3, r1
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	build_tree
	str	r0, [fp, #-8]
	ldr	r3, .L66
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #150
	ldr	r0, [fp, #-8]
	bl	tsp
	ldr	r3, .L66+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r0, [fp, #-8]
	bl	print_list
.L64:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	__NumNodes
	.word	1072693248
	.word	flag
	.size	main, .-main
	.align	2
	.global	sqrt
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqrt, %function
sqrt:
	@ 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, #-20]
	str	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sqrt, .-sqrt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	distance, %function
distance:
	@ args = 0, pretend = 0, frame = 40
	@ 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, #-56]
	str	r1, [fp, #-60]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-60]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	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	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	distance, .-distance
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	makelist, %function
makelist:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L73
	mov	r3, #0
	b	.L74
.L73:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	makelist
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	makelist
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #32]
.L75:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L76
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-16]
	b	.L78
.L77:
	ldr	r3, [fp, #-32]
.L78:
	ldr	r2, [fp, #-8]
	str	r3, [r2, #32]
.L76:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-24]
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	makelist, .-makelist
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse, %function
reverse:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-24]
	b	.L82
.L83:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-24]
.L82:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L83
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #36]
	b	.L79
.L84:
	nop
.L79:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	reverse, .-reverse
	.global	__aeabi_dcmplt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	conquer, %function
conquer:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L86
	mov	r3, #0
	b	.L87
.L86:
	ldr	r0, [fp, #-88]
	bl	makelist
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #36]
	b	.L88
.L96:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-80]
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-88]
	bl	distance
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-84]
	b	.L89
.L92:
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-84]
	bl	distance
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-80]
.L90:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-84]
.L89:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	bne	.L92
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-80]
	bl	distance
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-80]
	bl	distance
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-88]
	bl	distance
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-88]
	bl	distance
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-80]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-64]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #36]
	b	.L95
.L99:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-68]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-88]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-80]
	str	r2, [r3, #36]
.L95:
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-88]
.L88:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-76]
.L87:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	conquer, .-conquer
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	str	r1, [fp, #-172]
	str	r2, [fp, #-176]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-160]
	ldr	r1, [fp, #-168]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-168]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-168]
	b	.L101
.L104:
	ldr	r1, [fp, #-176]
	ldr	r0, [fp, #-168]
	bl	distance
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L102
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-160]
.L102:
	ldr	r3, [fp, #-168]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-168]
.L101:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-160]
	bl	distance
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-160]
	bl	distance
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L135
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-156]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	b	.L107
.L135:
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-156]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
.L107:
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-160]
	ldr	r1, [fp, #-172]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-124]
	str	r1, [fp, #-120]
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-172]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-172]
	b	.L108
.L111:
	ldr	r1, [fp, #-176]
	ldr	r0, [fp, #-172]
	bl	distance
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L109
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-172]
	str	r3, [fp, #-160]
.L109:
	ldr	r3, [fp, #-172]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-172]
.L108:
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	bne	.L111
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #32]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-128]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-160]
	bl	distance
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-160]
	bl	distance
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-176]
	bl	distance
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L136
	ldr	r3, [fp, #-128]
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-148]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	b	.L114
.L136:
	ldr	r3, [fp, #-160]
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-148]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
.L114:
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-156]
	bl	distance
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-156]
	bl	distance
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-152]
	bl	distance
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-152]
	bl	distance
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-140]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	mov	r3, #2
	str	r3, [fp, #-140]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
.L115:
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L117
	mov	r3, #3
	str	r3, [fp, #-140]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
.L117:
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L119
	mov	r3, #4
	str	r3, [fp, #-140]
.L119:
	ldr	r3, [fp, #-140]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L121
.L123:
	.word	.L126
	.word	.L125
	.word	.L124
	.word	.L122
.L126:
	ldr	r0, [fp, #-148]
	bl	reverse
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-152]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-144]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-156]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-148]
	str	r2, [r3, #36]
	b	.L121
.L125:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-152]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-148]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-156]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-144]
	str	r2, [r3, #36]
	b	.L121
.L124:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-144]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-156]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-148]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-152]
	str	r2, [r3, #36]
	b	.L121
.L122:
	ldr	r0, [fp, #-156]
	bl	reverse
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-156]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-148]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-152]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-144]
	str	r2, [r3, #36]
	nop
.L121:
	ldr	r3, [fp, #-176]
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	merge, .-merge
	.align	2
	.global	tsp
	.syntax unified
	.arm
	.fpu softvfp
	.type	tsp, %function
tsp:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-40]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L138
	ldr	r0, [fp, #-32]
	bl	conquer
	mov	r3, r0
	b	.L139
.L138:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-20]
	bl	tsp
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-16]
	bl	tsp
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	merge
	mov	r3, r0
.L139:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tsp, .-tsp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
