	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function astro_sunpos
LCPI0_0:
	.quad	0x3fef8a098da5f901              ## double 0.98560025849999999
LCPI0_1:
	.quad	0x407640c083126e98              ## double 356.04700000000003
LCPI0_2:
	.quad	0x3f08b0c856bdc946              ## double 4.7093499999999999E-5
LCPI0_3:
	.quad	0x4071af0be0ded289              ## double 282.94040000000001
LCPI0_4:
	.quad	0xbe13c626caf35bd9              ## double -1.1510000000000001E-9
LCPI0_5:
	.quad	0x3f911c2a02320968              ## double 0.016709000000000002
LCPI0_6:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_7:
	.quad	0xc076800000000000              ## double -360
LCPI0_8:
	.quad	0x4076800000000000              ## double 360
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_astro_sunpos:                          ## @astro_sunpos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movapd	%xmm0, %xmm1
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	addsd	LCPI0_1(%rip), %xmm0
	callq	_astro_revolution
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	-24(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	mulsd	LCPI0_4(%rip), %xmm2
	addsd	LCPI0_5(%rip), %xmm2
	movsd	%xmm2, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	_RADEG@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	callq	_sind
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_cosd
	mulsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_6(%rip), %xmm0
	mulsd	-32(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	callq	_cosd
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	mulsd	%xmm1, %xmm1
	movapd	%xmm1, %xmm0
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	sqrtsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_sind
	mulsd	-24(%rbp), %xmm0                ## 8-byte Folded Reload
	movapd	%xmm0, %xmm3
	mulsd	%xmm0, %xmm3
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	sqrtsd	%xmm2, %xmm2
	movsd	%xmm2, (%rbx)
	callq	_atan2d
	addsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	LCPI0_7(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	LCPI0_8(%rip), %xmm2            ## xmm2 = mem[0],zero
	cmpnlesd	%xmm0, %xmm2
	andpd	%xmm2, %xmm0
	andnpd	%xmm1, %xmm2
	orpd	%xmm0, %xmm2
	movlpd	%xmm2, (%r14)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEG,8,3                      ## @RADEG
	.no_dead_strip	_astro_sunpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function astro_sunpos
_astro_sunpos:                          ; @astro_sunpos
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	mov	x20, x1
	mov	x19, x0
	fmov	d8, d0
	mov	x8, #28312
	movk	x8, #33554, lsl #16
	movk	x8, #16576, lsl #32
	movk	x8, #16502, lsl #48
	fmov	d0, x8
	mov	x8, #63745
	movk	x8, #36261, lsl #16
	movk	x8, #35337, lsl #32
	movk	x8, #16367, lsl #48
	fmov	d1, x8
	fmadd	d0, d8, d1, d0
	bl	_astro_revolution
	fmov	d9, d0
	mov	x8, #53897
	movk	x8, #57566, lsl #16
	movk	x8, #44811, lsl #32
	movk	x8, #16497, lsl #48
	fmov	d0, x8
	mov	x8, #51526
	movk	x8, #22205, lsl #16
	movk	x8, #45256, lsl #32
	movk	x8, #16136, lsl #48
	fmov	d1, x8
	fmadd	d10, d8, d1, d0
	mov	x8, #2408
	movk	x8, #562, lsl #16
	movk	x8, #7210, lsl #32
	movk	x8, #16273, lsl #48
	fmov	d0, x8
	mov	x8, #23513
	movk	x8, #51955, lsl #16
	movk	x8, #50726, lsl #32
	movk	x8, #48659, lsl #48
	fmov	d1, x8
	fmadd	d11, d8, d1, d0
Lloh0:
	adrp	x8, _RADEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADEG@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fmul	d8, d11, d0
	fmov	d0, d9
	bl	_sind
	fmul	d8, d8, d0
	fmov	d0, d9
	bl	_cosd
	fmov	d12, #1.00000000
	fmadd	d0, d11, d0, d12
	fmadd	d8, d8, d0, d9
	fmov	d0, d8
	bl	_cosd
	fsub	d9, d0, d11
	fmsub	d0, d11, d11, d12
	fsqrt	d11, d0
	fmov	d0, d8
	bl	_sind
	fmul	d0, d11, d0
	fmul	d1, d0, d0
	fmadd	d1, d9, d9, d1
	fsqrt	d1, d1
	str	d1, [x20]
	fmov	d1, d9
	bl	_atan2d
	fadd	d0, d10, d0
	mov	x8, #140737488355328
	movk	x8, #49270, lsl #48
	fmov	d1, x8
	fadd	d1, d0, d1
	mov	x8, #140737488355328
	movk	x8, #16502, lsl #48
	fmov	d2, x8
	fcmp	d0, d2
	fcsel	d0, d0, d1, lt
	str	d0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEG,8,3                      ; @RADEG
	.no_dead_strip	_astro_sunpos
.subsections_via_symbols
