	.file	"417566.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC3:
	.string	"d"
.LC4:
	.string	"utm"
.LC5:
	.string	"f"
.LC6:
	.string	"ref_lon"
.LC7:
	.string	"ref_lat"
.LC10:
	.string	"%.5f %.5f\n"
.LC11:
	.string	"%f %f"
	.text
	.globl	main
	.type	main, @function
main:
.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -64[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -60[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -100[rbp], xmm0
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -84[rbp], 1
	mov	DWORD PTR -80[rbp], 11
	mov	DWORD PTR -76[rbp], 0
	mov	rdx, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	rsi, rdx
	mov	edi, eax
	mov	eax, 0
	call	setpar@PLT
	lea	rax, -76[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	getpar@PLT
	lea	rax, -120[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	mstpar@PLT
	lea	rax, -116[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	mstpar@PLT
	mov	eax, 0
	call	endpar@PLT
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 1
	jne	.L2
	movss	xmm0, DWORD PTR -120[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -116[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	lea	r8, -88[rbp]
	lea	rdi, -80[rbp]
	lea	rcx, -48[rbp]
	lea	rdx, -56[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -40[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	geoutm_@PLT
	jmp	.L4
.L2:
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -92[rbp], xmm0
	lea	rdx, -100[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	set_g2
	movss	xmm0, DWORD PTR -116[rbp]
	mulss	xmm0, DWORD PTR -64[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	mov	eax, 1
	call	geocen
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -112[rbp], xmm0
	lea	rdi, -96[rbp]
	lea	rcx, -92[rbp]
	lea	rdx, -108[rbp]
	lea	rsi, -104[rbp]
	lea	rax, -112[rbp]
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	latlon2km
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 1
	jne	.L5
	movss	xmm0, DWORD PTR -128[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -124[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	lea	r8, -84[rbp]
	lea	rdi, -80[rbp]
	lea	rcx, -16[rbp]
	lea	rdx, -24[rbp]
	lea	rsi, -32[rbp]
	lea	rax, -40[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	mov	eax, 0
	call	geoutm_@PLT
	movsd	xmm0, QWORD PTR -40[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -68[rbp], xmm0
	jmp	.L6
.L5:
	movss	xmm0, DWORD PTR -128[rbp]
	movss	xmm2, DWORD PTR -108[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR -120[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -72[rbp], xmm0
	movss	xmm0, DWORD PTR -124[rbp]
	movss	xmm2, DWORD PTR -104[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR -116[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -68[rbp], xmm0
.L6:
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -68[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -72[rbp]
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 2
	call	printf@PLT
.L4:
	lea	rdx, -128[rbp]
	lea	rax, -124[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 2
	je	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC12:
	.string	"CAN'T FOPEN FILE = %s, MODE = %s\n"
	.text
	.globl	fopfile
	.type	fopfile, @function
fopfile:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fopfile, .-fopfile
	.globl	geocen
	.type	geocen, @function
geocen:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	tan@PLT
	movsd	xmm1, QWORD PTR .LC13[rip]
	mulsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	atan@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	geocen, .-geocen
	.globl	set_g2
	.type	set_g2, @function
set_g2:
.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 -32[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC14[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	mulss	xmm0, xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	subsd	xmm1, xmm2
	movapd	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -4[rbp]
	movsd	xmm1, QWORD PTR .LC15[rip]
	movapd	xmm2, xmm1
	subsd	xmm2, xmm3
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -4[rbp]
	movsd	xmm1, QWORD PTR .LC15[rip]
	subsd	xmm1, xmm3
	mulsd	xmm1, xmm2
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	set_g2, .-set_g2
	.globl	latlon2km
	.type	latlon2km, @function
latlon2km:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	call	sin@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm1, DWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR .LC14[rip]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC14[rip]
	divss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, DWORD PTR -16[rbp]
	mulss	xmm0, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -64[rbp], xmm2
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC16[rip]
	addss	xmm0, xmm1
	mulss	xmm0, DWORD PTR -8[rbp]
	movaps	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC14[rip]
	addss	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR -64[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	latlon2km, .-latlon2km
	.section	.rodata
	.align 8
.LC17:
	.string	"*****  memory reallocation error\n"
	.text
	.globl	check_realloc
	.type	check_realloc, @function
check_realloc:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	check_realloc, .-check_realloc
	.section	.rodata
	.align 8
.LC18:
	.string	"*****  memory allocation error\n"
	.text
	.globl	check_malloc
	.type	check_malloc, @function
check_malloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	edi, -1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	check_malloc, .-check_malloc
	.section	.rodata
	.align 4
.LC0:
	.long	1016003125
	.align 4
.LC1:
	.long	1170690333
	.align 4
.LC2:
	.long	1133846725
	.align 4
.LC8:
	.long	1121887128
	.align 8
.LC9:
	.long	0
	.long	1083129856
	.align 8
.LC13:
	.long	-1642552538
	.long	1072686216
	.align 4
.LC14:
	.long	1065353216
	.align 8
.LC15:
	.long	0
	.long	1072693248
	.align 4
.LC16:
	.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	"417566.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"d\000"
	.align	2
.LC1:
	.ascii	"utm\000"
	.align	2
.LC2:
	.ascii	"f\000"
	.align	2
.LC3:
	.ascii	"ref_lon\000"
	.align	2
.LC4:
	.ascii	"ref_lat\000"
	.global	__aeabi_f2d
	.global	__aeabi_fmul
	.global	__aeabi_d2f
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_fdiv
	.global	__aeabi_fadd
	.align	2
.LC5:
	.ascii	"%.5f %.5f\012\000"
	.align	2
.LC6:
	.ascii	"%f %f\000"
	.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 = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L10+4
	str	r3, [fp, #-76]	@ float
	ldr	r3, .L10+8
	str	r3, [fp, #-72]	@ float
	ldr	r3, .L10+12
	str	r3, [fp, #-112]	@ float
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #1
	str	r3, [fp, #-96]
	mov	r3, #11
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r1, [fp, #-148]
	ldr	r0, [fp, #-144]
	bl	setpar
	sub	r3, fp, #88
	mov	r2, r3
	ldr	r1, .L10+16
	ldr	r0, .L10+20
	bl	getpar
	sub	r3, fp, #132
	mov	r2, r3
	ldr	r1, .L10+24
	ldr	r0, .L10+28
	bl	mstpar
	sub	r3, fp, #128
	mov	r2, r3
	ldr	r1, .L10+24
	ldr	r0, .L10+32
	bl	mstpar
	bl	endpar
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bne	.L2
	ldr	r3, [fp, #-132]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-128]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	ip, fp, #60
	sub	r2, fp, #68
	sub	r1, fp, #44
	sub	r0, fp, #52
	sub	r3, fp, #100
	str	r3, [sp, #4]
	sub	r3, fp, #92
	str	r3, [sp]
	mov	r3, ip
	bl	geoutm_
	b	.L4
.L2:
	ldr	r3, .L10+36
	str	r3, [fp, #-104]	@ float
	sub	r2, fp, #112
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	set_g2
	ldr	r3, [fp, #-128]	@ float
	ldr	r1, [fp, #-76]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	geocen
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-124]	@ float
	sub	ip, fp, #104
	sub	r2, fp, #120
	sub	r1, fp, #116
	sub	r0, fp, #124
	sub	r3, fp, #108
	str	r3, [sp]
	mov	r3, ip
	bl	latlon2km
	b	.L4
.L7:
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-140]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L10+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-136]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L10+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	ip, fp, #28
	sub	r2, fp, #36
	sub	r1, fp, #44
	sub	r0, fp, #52
	sub	r3, fp, #96
	str	r3, [sp, #4]
	sub	r3, fp, #92
	str	r3, [sp]
	mov	r3, ip
	bl	geoutm_
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-84]	@ float
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-80]	@ float
	b	.L6
.L5:
	ldr	r3, [fp, #-140]	@ float
	ldr	r2, [fp, #-120]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-132]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-84]	@ float
	ldr	r3, [fp, #-136]	@ float
	ldr	r2, [fp, #-116]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-80]	@ float
.L6:
	ldr	r0, [fp, #-84]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L10+44
	bl	printf
.L4:
	sub	r2, fp, #140
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L10+48
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC7
	.word	1016003125
	.word	1170690333
	.word	1133846725
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	1121887128
	.word	1083129856
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"CAN'T FOPEN FILE = %s, MODE = %s\012\000"
	.text
	.align	2
	.global	fopfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	fopfile, %function
fopfile:
	@ 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	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L15
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L15+4
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L13:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	stderr
	.word	.LC8
	.size	fopfile, .-fopfile
	.align	2
	.global	geocen
	.syntax unified
	.arm
	.fpu softvfp
	.type	geocen, %function
geocen:
	@ 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]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	tan
	ldr	r2, .L19
	ldr	r3, .L19+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	atan
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	-1642552538
	.word	1072686216
	.size	geocen, .-geocen
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.align	2
	.global	set_g2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_g2, %function
set_g2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L22
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L22
	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_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3]	@ float
	nop
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L23:
	.align	2
.L22:
	.word	1072693248
	.size	set_g2, .-set_g2
	.align	2
	.global	latlon2km
	.syntax unified
	.arm
	.fpu softvfp
	.type	latlon2km, %function
latlon2km:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #4]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	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, #-44]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #4]
	ldr	r3, [r3]	@ float
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3]	@ float
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	latlon2km, .-latlon2km
	.section	.rodata
	.align	2
.LC9:
	.ascii	"*****  memory reallocation error\012\000"
	.text
	.align	2
	.global	check_realloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_realloc, %function
check_realloc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L28+4
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L26:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	stderr
	.word	.LC9
	.size	check_realloc, .-check_realloc
	.section	.rodata
	.align	2
.LC10:
	.ascii	"*****  memory allocation error\012\000"
	.text
	.align	2
	.global	check_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_malloc, %function
check_malloc:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L33
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L33+4
	bl	fwrite
	mvn	r0, #0
	bl	exit
.L31:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	stderr
	.word	.LC10
	.size	check_malloc, .-check_malloc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
