	.file	"extr_propdelay.c_satpropdelay.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Theta %g k1 %g k2 %g\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"propdelay dist %g height %g time %g\n"
	.text
	.p2align 4
	.type	satpropdelay, @function
satpropdelay:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 56
	.cfi_def_cfa_offset 64
	movsd	xmm2, QWORD PTR EARTHRADIUS[rip]
	movapd	xmm3, xmm0
	movsd	QWORD PTR 8[rsp], xmm0
	lea	rdi, 40[rsp]
	lea	rsi, 32[rsp]
	divsd	xmm3, xmm2
	movsd	QWORD PTR [rsp], xmm2
	movapd	xmm0, xmm3
	movsd	QWORD PTR 16[rsp], xmm3
	call	sincos@PLT
	movsd	xmm2, QWORD PTR [rsp]
	movsd	xmm0, QWORD PTR 32[rsp]
	movsd	xmm1, QWORD PTR 40[rsp]
	cmp	DWORD PTR debug[rip], 1
	mulsd	xmm0, xmm2
	mulsd	xmm1, xmm2
	movsd	xmm2, QWORD PTR SATHEIGHT[rip]
	subsd	xmm2, xmm0
	jg	.L9
	mulsd	xmm1, xmm1
	pxor	xmm0, xmm0
	mulsd	xmm2, xmm2
	addsd	xmm2, xmm1
	ucomisd	xmm0, xmm2
	movapd	xmm1, xmm2
	sqrtsd	xmm1, xmm1
	ja	.L6
	divsd	xmm1, QWORD PTR LIGHTSPEED[rip]
	movapd	xmm2, xmm1
.L1:
	movapd	xmm0, xmm2
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movsd	xmm3, QWORD PTR 16[rsp]
	lea	rdi, .LC0[rip]
	movsd	QWORD PTR 24[rsp], xmm2
	movsd	QWORD PTR [rsp], xmm1
	movapd	xmm0, xmm3
	call	printf@PLT
	movsd	xmm1, QWORD PTR [rsp]
	movsd	xmm2, QWORD PTR 24[rsp]
	pxor	xmm0, xmm0
	mulsd	xmm1, xmm1
	mulsd	xmm2, xmm2
	addsd	xmm2, xmm1
	ucomisd	xmm0, xmm2
	movapd	xmm1, xmm2
	sqrtsd	xmm1, xmm1
	ja	.L6
.L3:
	cmp	DWORD PTR debug[rip], 1
	movapd	xmm2, xmm1
	divsd	xmm2, QWORD PTR LIGHTSPEED[rip]
	jle	.L1
	movsd	xmm0, QWORD PTR 8[rsp]
	lea	rdi, .LC2[rip]
	movsd	QWORD PTR [rsp], xmm2
	call	printf@PLT
	movsd	xmm2, QWORD PTR [rsp]
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	movapd	xmm0, xmm2
	ret
.L6:
	.cfi_restore_state
	movapd	xmm0, xmm2
	movsd	QWORD PTR [rsp], xmm1
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR [rsp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	satpropdelay, .-satpropdelay
	.comm	debug,4,4
	.comm	SATHEIGHT,8,8
	.comm	LIGHTSPEED,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_satpropdelay.c"
	.text
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Theta %g k1 %g k2 %g\012\000"
	.global	__aeabi_dadd
	.align	2
.LC1:
	.ascii	"propdelay dist %g height %g time %g\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	satpropdelay, %function
satpropdelay:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L8
	ldr	r2, .L8+4
	sub	sp, sp, #48
	ldmia	r3, {r6-r7}
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	mov	r3, r7
	mov	r2, r6
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	bl	__aeabi_ddiv
	add	r3, sp, #24
	add	r2, sp, #32
	mov	r8, r0
	mov	r9, r1
	bl	sincos
	add	r1, sp, #32
	ldmia	r1, {r0-r1}
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r4, r0
	mov	r5, r1
	add	r1, sp, #24
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	ldr	r10, .L8+8
	mov	r3, r1
	mov	r2, r0
	ldmia	r10, {r0-r1}
	bl	__aeabi_dsub
	ldr	r10, .L8+12
	mov	r6, r0
	ldr	r3, [r10]
	mov	r7, r1
	cmp	r3, #1
	ble	.L2
	mov	r2, r8
	mov	r3, r9
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r0, .L8+16
	bl	printf
.L2:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r6
	mov	r3, r7
	mov	r4, r0
	mov	r5, 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
	bl	sqrt
	ldr	r3, .L8+20
	mov	r4, r0
	ldmia	r3, {r2-r3}
	mov	r5, r1
	bl	__aeabi_ddiv
	ldr	r3, [r10]
	mov	r6, r0
	cmp	r3, #1
	mov	r7, r1
	ble	.L1
	add	r3, sp, #16
	ldmia	r3, {r2-r3}
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	ldr	r0, .L8+24
	bl	printf
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r6
	mov	r1, r7
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	EARTHRADIUS
	.word	.LC2
	.word	SATHEIGHT
	.word	debug
	.word	.LC0
	.word	LIGHTSPEED
	.word	.LC1
	.size	satpropdelay, .-satpropdelay
	.comm	debug,4,4
	.comm	SATHEIGHT,8,8
	.comm	LIGHTSPEED,8,8
	.comm	EARTHRADIUS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
