	.file	"377380.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%u,%f,%f,%f"
	.text
	.globl	line_splitter
	.type	line_splitter, @function
line_splitter:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 4[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 7
	jne	.L2
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L4
.L2:
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	line_splitter, .-line_splitter
	.globl	getDistance
	.type	getDistance, @function
getDistance:
.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, 48
	mov	rax, rdi
	movq	rcx, xmm0
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, rsi
	movdqa	xmm0, xmm1
	movq	rdx, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm2, DWORD PTR -44[rbp]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm2, DWORD PTR -44[rbp]
	subss	xmm0, xmm2
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm3, DWORD PTR -40[rbp]
	movaps	xmm2, xmm0
	subss	xmm2, xmm3
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm3, DWORD PTR -40[rbp]
	subss	xmm0, xmm3
	mulss	xmm0, xmm2
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm3, DWORD PTR -36[rbp]
	movaps	xmm2, xmm0
	subss	xmm2, xmm3
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm3, DWORD PTR -36[rbp]
	subss	xmm0, xmm3
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getDistance, .-getDistance
	.globl	getCosine
	.type	getCosine, @function
getCosine:
.LFB8:
	.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, 88
	.cfi_offset 3, -24
	mov	rcx, rdi
	movq	rax, xmm0
	mov	rbx, rax
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	movdqa	xmm0, xmm1
	mov	rcx, rsi
	mov	rbx, rdi
	movq	rbx, xmm0
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rax, rdx
	movdqa	xmm0, xmm2
	movq	rdx, xmm0
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rdx, QWORD PTR -96[rbp]
	mov	rdi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	movq	xmm1, rdi
	mov	rdi, rax
	movq	xmm0, rcx
	call	getDistance
	movd	eax, xmm0
	mov	DWORD PTR -48[rbp], eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rsi, rdx
	movq	xmm1, rdi
	mov	rdi, rax
	movq	xmm0, rcx
	call	getDistance
	movd	eax, xmm0
	mov	DWORD PTR -44[rbp], eax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rdi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rsi, rdx
	movq	xmm1, rdi
	mov	rdi, rax
	movq	xmm0, rcx
	call	getDistance
	movd	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	movss	xmm0, DWORD PTR -44[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR -48[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	addss	xmm0, DWORD PTR -32[rbp]
	movaps	xmm1, xmm0
	subss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -44[rbp]
	addss	xmm0, xmm0
	movaps	xmm2, xmm0
	mulss	xmm2, DWORD PTR -40[rbp]
	divss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm1, DWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR .LC1[rip]
	addss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getCosine, .-getCosine
	.globl	cmp
	.type	cmp, @function
cmp:
.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, xmm1
	jbe	.L17
	mov	eax, -1
	jmp	.L12
.L17:
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR [rax]
	comiss	xmm0, xmm1
	jbe	.L18
	mov	eax, 1
	jmp	.L12
.L18:
	mov	eax, 0
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	cmp, .-cmp
	.globl	angle_comb
	.type	angle_comb, @function
angle_comb:
.LFB10:
	.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	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 4
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L20
.L24:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rdx, 2
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	cmp	DWORD PTR -12[rbp], 0
	js	.L22
	add	DWORD PTR -8[rbp], 3
.L22:
	add	DWORD PTR -12[rbp], 1
.L21:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L23
	add	DWORD PTR -16[rbp], 1
.L20:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jl	.L24
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	angle_comb, .-angle_comb
	.section	.rodata
	.align 8
.LC3:
	.string	"Usage: %s <inputfile> <outputfile>\n"
.LC4:
	.string	"r"
.LC5:
	.string	"fopen"
.LC6:
	.string	"error not enough memory"
	.align 8
.LC7:
	.string	"-------------------------------------------"
	.align 8
.LC8:
	.string	"There are %d atoms in the input file. \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 312
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	cmp	DWORD PTR -196[rbp], 2
	je	.L26
	mov	rax, QWORD PTR -208[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L28
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	eax, DWORD PTR -184[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rsi, rcx
	mov	rdi, rax
	call	line_splitter
	add	DWORD PTR -184[rbp], 1
.L28:
	mov	rdx, QWORD PTR -152[rbp]
	lea	rcx, -160[rbp]
	lea	rax, -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], -1
	jne	.L30
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -184[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	esi, DWORD PTR -184[rbp]
	mov	edi, DWORD PTR -184[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -320[rbp], rax
	mov	QWORD PTR -312[rbp], 0
	movsx	rax, esi
	sal	rax, 2
	mov	QWORD PTR -320[rbp], rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -120[rbp], rax
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	r8, QWORD PTR -224[rbp]
	mov	r9, QWORD PTR -216[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -240[rbp]
	mov	r11, QWORD PTR -232[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L31:
	cmp	rsp, rcx
	je	.L32
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L31
.L32:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L33
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L33:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -112[rbp], rax
	mov	esi, DWORD PTR -184[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	mov	r14, QWORD PTR -256[rbp]
	mov	r15, QWORD PTR -248[rbp]
	imul	rdx, r15, 160
	imul	rax, r14, 0
	lea	rcx, [rdx+rax]
	mov	eax, 160
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	movsx	rax, esi
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	mov	r8, QWORD PTR -272[rbp]
	mov	r9, QWORD PTR -264[rbp]
	imul	rdx, r9, 160
	imul	rax, r8, 0
	lea	rcx, [rdx+rax]
	mov	eax, 160
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L34:
	cmp	rsp, rdx
	je	.L35
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L34
.L35:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L36
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L36:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -96[rbp], rax
	mov	ecx, DWORD PTR -184[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	mov	r8, QWORD PTR -288[rbp]
	mov	r9, QWORD PTR -280[rbp]
	imul	rdx, r9, 160
	imul	rax, r8, 0
	lea	rsi, [rdx+rax]
	mov	eax, 160
	mul	r8
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	movsx	rax, ecx
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], 0
	mov	r10, QWORD PTR -304[rbp]
	mov	r11, QWORD PTR -296[rbp]
	imul	rdx, r11, 160
	imul	rax, r10, 0
	lea	rsi, [rdx+rax]
	mov	eax, 160
	mul	r10
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L37:
	cmp	rsp, rdx
	je	.L38
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L37
.L38:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L39
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L39:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -176[rbp], 0
	jmp	.L40
.L43:
	mov	DWORD PTR -180[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rcx
	mov	rbx, QWORD PTR -320[rbp]
	shr	rbx, 2
	mov	rcx, QWORD PTR [rdx]
	mov	rdi, QWORD PTR 8[rdx]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rcx
	movq	xmm1, rdi
	mov	rdi, rdx
	movq	xmm0, rax
	call	getDistance
	movd	eax, xmm0
	mov	rdx, QWORD PTR -112[rbp]
	mov	ecx, DWORD PTR -180[rbp]
	movsx	rsi, ecx
	mov	ecx, DWORD PTR -176[rbp]
	movsx	rcx, ecx
	imul	rcx, rbx
	add	rcx, rsi
	mov	DWORD PTR [rdx+rcx*4], eax
	add	DWORD PTR -180[rbp], 1
.L41:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -184[rbp]
	jl	.L42
	add	DWORD PTR -176[rbp], 1
.L40:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -184[rbp]
	jl	.L43
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -336[rbp], rdx
	mov	QWORD PTR -328[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -352[rbp], rdx
	mov	QWORD PTR -344[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L44:
	cmp	rsp, rdx
	je	.L45
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L44
.L45:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L46
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L46:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -180[rbp], 0
	jmp	.L47
.L52:
	mov	DWORD PTR -176[rbp], 0
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -176[rbp]
	mov	DWORD PTR 4[rax+rdx*8], ecx
	mov	rcx, QWORD PTR -320[rbp]
	shr	rcx, 2
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -180[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movss	xmm0, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -176[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*8], xmm0
	add	DWORD PTR -176[rbp], 1
.L48:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, DWORD PTR -184[rbp]
	jl	.L49
	mov	eax, DWORD PTR -184[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, cmp[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -172[rbp], 0
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR 4[rax+rdx*8]
	mov	rdx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -180[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*8]
	cvttss2si	ecx, xmm0
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -180[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -172[rbp], 1
.L50:
	cmp	DWORD PTR -172[rbp], 4
	jle	.L51
	add	DWORD PTR -180[rbp], 1
.L47:
	mov	eax, DWORD PTR -180[rbp]
	cmp	eax, DWORD PTR -184[rbp]
	jl	.L52
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1051372203
	.align 8
.LC2:
	.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	"377380.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u,%f,%f,%f\000"
	.text
	.align	2
	.global	line_splitter
	.syntax unified
	.arm
	.fpu softvfp
	.type	line_splitter, %function
line_splitter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r0, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, [fp, #-8]
	add	r2, r2, #12
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, .L5
	ldr	r0, [fp, #-12]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #7
	bne	.L2
	ldr	r3, [fp, #-8]
	b	.L4
.L2:
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	line_splitter, .-line_splitter
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.align	2
	.global	getDistance
	.syntax unified
	.arm
	.fpu softvfp
	.type	getDistance, %function
getDistance:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	sub	ip, fp, #36
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #8]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #8]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #12]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #12]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]	@ float
	ldr	r2, [fp, #16]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-24]	@ float
	ldr	r2, [fp, #16]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	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
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	getDistance, .-getDistance
	.global	__aeabi_fdiv
	.align	2
	.global	getCosine
	.syntax unified
	.arm
	.fpu softvfp
	.type	getCosine, %function
getCosine:
	@ args = 32, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	sub	ip, fp, #60
	stm	ip, {r0, r1, r2, r3}
	mov	ip, sp
	add	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	bl	getDistance
	str	r0, [fp, #-44]	@ float
	mov	ip, sp
	sub	r3, fp, #60
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	getDistance
	str	r0, [fp, #-40]	@ float
	mov	ip, sp
	add	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r0, r1, r2, r3}
	bl	getDistance
	str	r0, [fp, #-36]	@ float
	ldr	r1, [fp, #-40]	@ float
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r1, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #-44]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, .L11
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	1051372203
	.size	getCosine, .-getCosine
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ 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]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mvn	r3, #0
	b	.L16
.L21:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L16
.L22:
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp, .-cmp
	.align	2
	.global	angle_comb
	.syntax unified
	.arm
	.fpu softvfp
	.type	angle_comb, %function
angle_comb:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #4
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L24
.L28:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L25
.L27:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L26
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L28
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	angle_comb, .-angle_comb
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: %s <inputfile> <outputfile>\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"fopen\000"
	.align	2
.LC4:
	.ascii	"error not enough memory\000"
	.align	2
.LC5:
	.ascii	"-------------------------------------------\000"
	.align	2
.LC6:
	.ascii	"There are %d atoms in the input file. \012\000"
	.global	__aeabi_f2iz
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-104]
	cmp	r3, #2
	beq	.L30
	ldr	r3, .L46+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L46+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L30:
	ldr	r3, [fp, #-108]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L46+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L46+16
	bl	perror
	mov	r0, #1
	bl	exit
.L34:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	realloc
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L46+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L46+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r2, [fp, #-96]
	mov	r1, r2
	mov	r0, r3
	bl	line_splitter
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L32:
	sub	r1, fp, #92
	sub	r3, fp, #96
	ldr	r2, [fp, #-88]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmn	r3, #1
	bne	.L34
	ldr	r3, [fp, #-96]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-88]
	bl	fclose
	ldr	r0, .L46+24
	bl	puts
	ldr	r1, [fp, #-84]
	ldr	r0, .L46+28
	bl	printf
	ldr	r0, .L46+24
	bl	puts
	ldr	ip, [fp, #-84]
	ldr	lr, [fp, #-84]
	sub	r3, ip, #1
	str	r3, [fp, #-60]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r6, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-52]
	ldr	ip, [fp, #-84]
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	ip, [fp, #-84]
	sub	r3, ip, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L35
.L38:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L36
.L37:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	ip, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	lsr	r4, r6, #2
	mov	lr, sp
	ldm	r3, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	bl	getDistance
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-72]
	mul	r1, r2, r4
	ldr	r2, [fp, #-76]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L36:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L35:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L38
	ldr	ip, [fp, #-84]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L39
.L44:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L40
.L41:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3, #4]
	lsr	r2, r6, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r1, r2, r1
	ldr	r2, [fp, #-72]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-72]
	str	r1, [r3, r2, lsl #3]	@ float
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L40:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L41
	ldr	r1, [fp, #-84]
	ldr	r3, .L46+32
	mov	r2, #8
	ldr	r0, [fp, #-28]
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L42
.L43:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3, #4]
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-68]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-68]
	ldr	r3, [r3, r2, lsl #3]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-68]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L42:
	ldr	r3, [fp, #-68]
	cmp	r3, #4
	ble	.L43
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L39:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L44
	ldr	r0, [fp, #-80]
	bl	free
	mov	r0, #0
	bl	exit
.L47:
	.align	2
.L46:
	.word	.LC7
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	cmp
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
