	.file	"extr_propdelay.c_greatcircle.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"greatcircle lat1 %g long1 %g lat2 %g long2 %g dist %g\n"
	.text
	.p2align 4
	.type	greatcircle, @function
greatcircle:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	movsd	QWORD PTR [rsp], xmm1
	movsd	xmm1, QWORD PTR RADPERDEG[rip]
	movsd	QWORD PTR 40[rsp], xmm0
	movapd	xmm6, xmm1
	movsd	QWORD PTR 32[rsp], xmm2
	mulsd	xmm6, xmm0
	movsd	QWORD PTR 8[rsp], xmm3
	mulsd	xmm1, xmm2
	movapd	xmm0, xmm6
	movsd	QWORD PTR 24[rsp], xmm6
	movsd	QWORD PTR 16[rsp], xmm1
	call	cos@PLT
	movsd	xmm1, QWORD PTR 16[rsp]
	mov	ebp, eax
	movapd	xmm0, xmm1
	call	cos@PLT
	movsd	xmm0, QWORD PTR 8[rsp]
	subsd	xmm0, QWORD PTR [rsp]
	mulsd	xmm0, QWORD PTR RADPERDEG[rip]
	imul	ebp, eax
	call	cos@PLT
	movsd	xmm3, QWORD PTR 24[rsp]
	imul	ebp, eax
	movapd	xmm0, xmm3
	call	sin@PLT
	movsd	xmm1, QWORD PTR 16[rsp]
	mov	ebx, eax
	movapd	xmm0, xmm1
	call	sin@PLT
	imul	ebx, eax
	lea	edi, [rbx+rbp]
	call	acos@PLT
	movsd	xmm4, QWORD PTR EARTHRADIUS[rip]
	cmp	DWORD PTR debug[rip], 1
	mulsd	xmm4, xmm0
	jle	.L1
	movsd	xmm5, QWORD PTR 40[rsp]
	movsd	xmm1, QWORD PTR [rsp]
	lea	rdi, .LC0[rip]
	movsd	QWORD PTR 16[rsp], xmm4
	movsd	xmm3, QWORD PTR 8[rsp]
	movsd	xmm2, QWORD PTR 32[rsp]
	movapd	xmm0, xmm5
	call	printf@PLT
	movsd	xmm4, QWORD PTR 16[rsp]
.L1:
	add	rsp, 56
	.cfi_def_cfa_offset 24
	movapd	xmm0, xmm4
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	greatcircle, .-greatcircle
	.comm	debug,4,4
	.comm	RADPERDEG,8,8
	.comm	EARTHRADIUS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_propdelay.c_greatcircle.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"greatcircle lat1 %g long1 %g lat2 %g long2 %g dist "
	.ascii	"%g\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	greatcircle, %function
greatcircle:
	@ args = 16, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r7, r3
	ldr	r8, .L5
	sub	sp, sp, #44
	ldmia	r8, {r4-r5}
	mov	r2, r0
	mov	r3, r1
	mov	r10, r0
	mov	fp, r1
	mov	r0, r4
	mov	r1, r5
	str	r6, [sp, #32]
	str	r7, [sp, #36]
	bl	__aeabi_dmul
	add	r3, sp, #80
	ldmia	r3, {r2-r3}
	mov	r6, r0
	mov	r7, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r4, r0
	mov	r5, r1
	mov	r0, r6
	mov	r1, r7
	bl	cos
	mov	r1, r5
	mov	r9, r0
	mov	r0, r4
	bl	cos
	add	r3, sp, #32
	ldmia	r3, {r2-r3}
	mov	ip, r0
	add	r1, sp, #88
	ldmia	r1, {r0-r1}
	mul	r9, ip, r9
	bl	__aeabi_dsub
	ldmia	r8, {r2-r3}
	bl	__aeabi_dmul
	bl	cos
	mov	r3, r0
	mov	r1, r7
	mov	r0, r6
	mul	r9, r3, r9
	bl	sin
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	mov	r4, r3
	bl	sin
	mla	r0, r4, r0, r9
	bl	acos
	ldr	r3, .L5+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	ldr	r3, .L5+8
	mov	r4, r0
	ldr	r3, [r3]
	mov	r5, r1
	cmp	r3, #1
	ble	.L1
	add	r2, sp, #88
	ldmia	r2, {r1-r2}
	str	r4, [sp, #24]
	str	r5, [sp, #28]
	str	r1, [sp, #16]
	str	r2, [sp, #20]
	add	r2, sp, #80
	ldmia	r2, {r1-r2}
	ldr	r0, .L5+12
	str	r1, [sp, #8]
	str	r2, [sp, #12]
	add	r3, sp, #32
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r10
	mov	r3, fp
	bl	printf
.L1:
	mov	r0, r4
	mov	r1, r5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	.align	2
.L5:
	.word	RADPERDEG
	.word	EARTHRADIUS
	.word	debug
	.word	.LC0
	.size	greatcircle, .-greatcircle
	.comm	debug,4,4
	.comm	RADPERDEG,8,8
	.comm	EARTHRADIUS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
