	.file	"971800.c"
	.intel_syntax noprefix
	.text
	.globl	derotate_deg
	.type	derotate_deg, @function
derotate_deg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	andps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC1[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L10
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 360
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L4
.L10:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 360
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L4:
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L5
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC3[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L5:
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	derotate_deg, .-derotate_deg
	.globl	derotate_180
	.type	derotate_180, @function
derotate_180:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	andps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L20
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 180
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L14
.L20:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 180
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L14:
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L15
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L15:
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	derotate_180, .-derotate_180
	.globl	derotate_180_double
	.type	derotate_180_double, @function
derotate_180_double:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC6[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L30
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 180
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L24
.L30:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 180
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L24:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L25
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L25:
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	derotate_180_double, .-derotate_180_double
	.globl	derotate_180_rad_double
	.type	derotate_180_rad_double, @function
derotate_180_rad_double:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC6[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L40
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L34
.L40:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L34:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L35
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L35:
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	derotate_180_rad_double, .-derotate_180_rad_double
	.globl	derotate_90
	.type	derotate_90, @function
derotate_90:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	andps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L50
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 90
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L44
.L50:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 90
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L44:
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L45
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L45:
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	derotate_90, .-derotate_90
	.globl	derotate_90_double
	.type	derotate_90_double, @function
derotate_90_double:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC6[rip]
	andpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L60
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 90
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L54
.L60:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax, 90
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L54:
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L55
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC9[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
.L55:
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	derotate_90_double, .-derotate_90_double
	.globl	derotate_180_small_double
	.type	derotate_180_small_double, @function
derotate_180_small_double:
.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, 24
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	derotate_180_double
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR .LC9[rip]
	jb	.L62
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR .LC4[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L62:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	derotate_180_small_double, .-derotate_180_small_double
	.globl	derotate_90_small_double
	.type	derotate_90_small_double, @function
derotate_90_small_double:
.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, 24
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	derotate_90_double
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	comisd	xmm0, QWORD PTR .LC11[rip]
	jb	.L67
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR .LC9[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L67:
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	derotate_90_small_double, .-derotate_90_small_double
	.globl	polar_angle_rad
	.type	polar_angle_rad, @function
polar_angle_rad:
.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
	movss	DWORD PTR -20[rbp], xmm0
	movss	DWORD PTR -24[rbp], xmm1
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -20[rbp]
	jp	.L72
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -20[rbp]
	jne	.L72
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -24[rbp]
	jb	.L87
	movss	xmm0, DWORD PTR .LC12[rip]
	jmp	.L76
.L87:
	movss	xmm0, DWORD PTR .LC13[rip]
	jmp	.L76
.L72:
	movss	xmm0, DWORD PTR -24[rbp]
	divss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	call	atan@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L77
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jb	.L77
	movss	xmm0, DWORD PTR -4[rbp]
	jmp	.L76
.L77:
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L88
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC14[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	jmp	.L76
.L88:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	polar_angle_rad, .-polar_angle_rad
	.globl	rotateZ_d
	.type	rotateZ_d, @function
rotateZ_d:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	movsd	QWORD PTR -48[rbp], xmm0
	mov	QWORD PTR -56[rbp], rsi
	mov	QWORD PTR -64[rbp], rdx
	mov	QWORD PTR -72[rbp], rcx
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L90
.L91:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm3
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm4, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm4
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm2
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR -80[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm5, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm5
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -24[rbp], 1
.L90:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jl	.L91
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	rotateZ_d, .-rotateZ_d
	.globl	rotateY
	.type	rotateY, @function
rotateY:
.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, 80
	mov	QWORD PTR -24[rbp], rdi
	movss	DWORD PTR -28[rbp], xmm0
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L93
.L94:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -64[rbp], xmm2
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -64[rbp], xmm4
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -28[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -16[rbp]
	movsd	QWORD PTR -64[rbp], xmm6
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movsd	QWORD PTR -72[rbp], xmm7
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -12[rbp]
	movsd	QWORD PTR -64[rbp], xmm5
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	QWORD PTR -72[rbp], xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -8[rbp], 1
.L93:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jl	.L94
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	rotateY, .-rotateY
	.globl	rotateY_d
	.type	rotateY_d, @function
rotateY_d:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	movsd	QWORD PTR -48[rbp], xmm0
	mov	QWORD PTR -56[rbp], rsi
	mov	QWORD PTR -64[rbp], rdx
	mov	QWORD PTR -72[rbp], rcx
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L96
.L97:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm3
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movq	xmm1, QWORD PTR .LC17[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm4, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm4
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm5, QWORD PTR [rax]
	movsd	QWORD PTR -80[rbp], xmm5
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -24[rbp], 1
.L96:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jl	.L97
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	rotateY_d, .-rotateY_d
	.globl	rotateX
	.type	rotateX, @function
rotateX:
.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, 80
	mov	QWORD PTR -24[rbp], rdi
	movss	DWORD PTR -28[rbp], xmm0
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	mov	QWORD PTR -8[rbp], 0
	jmp	.L99
.L100:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -64[rbp], xmm2
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -64[rbp], xmm4
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -28[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -16[rbp]
	movsd	QWORD PTR -64[rbp], xmm6
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movsd	QWORD PTR -72[rbp], xmm7
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -12[rbp]
	movsd	QWORD PTR -64[rbp], xmm5
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	QWORD PTR -72[rbp], xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -64[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -16[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -8[rbp], 1
.L99:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jl	.L100
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	rotateX, .-rotateX
	.globl	paswing
	.type	paswing, @function
paswing:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	movss	DWORD PTR -44[rbp], xmm2
	movss	DWORD PTR -48[rbp], xmm3
	movss	DWORD PTR -52[rbp], xmm4
	mov	DWORD PTR -56[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	movss	DWORD PTR -76[rbp], xmm5
	movss	DWORD PTR -80[rbp], xmm6
	mov	DWORD PTR -84[rbp], ecx
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -36[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -44[rbp]
	comiss	xmm0, DWORD PTR -76[rbp]
	jb	.L114
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	cmp	DWORD PTR -84[rbp], 0
	jne	.L104
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR .LC18[rip]
	mulsd	xmm1, xmm0
	movsd	QWORD PTR -96[rbp], xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -36[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR -96[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	jmp	.L105
.L104:
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	jmp	.L105
.L114:
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
.L105:
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -36[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	sin@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -52[rbp]
	movaps	xmm1, xmm0
	addss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -44[rbp]
	subss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -16[rbp]
	movsd	QWORD PTR -96[rbp], xmm5
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -12[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -96[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	addss	xmm0, DWORD PTR -40[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	call	sin@PLT
	movsd	QWORD PTR -96[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -36[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -96[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -4[rbp]
	movsd	QWORD PTR -96[rbp], xmm7
	movss	xmm0, DWORD PTR -36[rbp]
	addss	xmm0, DWORD PTR -40[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	call	cos@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -16[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -12[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -104[rbp]
	movsd	xmm1, QWORD PTR -96[rbp]
	subsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -48[rbp]
	addss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movsd	QWORD PTR -96[rbp], xmm7
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -8[rbp]
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	cmp	DWORD PTR -56[rbp], 0
	jle	.L106
	mov	DWORD PTR -20[rbp], 0
	jmp	.L107
.L110:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR -44[rbp]
	comiss	xmm0, xmm1
	jbe	.L108
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -32[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -32[rbp], xmm0
.L108:
	add	DWORD PTR -20[rbp], 1
.L107:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L110
.L106:
	mov	eax, DWORD PTR -32[rbp]
	movd	xmm0, eax
	call	derotate_180
	movd	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	movss	xmm0, DWORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	paswing, .-paswing
	.globl	paswing_double
	.type	paswing_double, @function
paswing_double:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	QWORD PTR -80[rbp], xmm1
	movsd	QWORD PTR -88[rbp], xmm2
	movsd	QWORD PTR -96[rbp], xmm3
	movsd	QWORD PTR -104[rbp], xmm4
	mov	DWORD PTR -108[rbp], edi
	mov	QWORD PTR -120[rbp], rsi
	mov	QWORD PTR -128[rbp], rdx
	movsd	QWORD PTR -136[rbp], xmm5
	movsd	QWORD PTR -144[rbp], xmm6
	mov	DWORD PTR -112[rbp], ecx
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm1, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR -88[rbp]
	comisd	xmm0, QWORD PTR -136[rbp]
	jb	.L128
	movsd	xmm0, QWORD PTR -144[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	DWORD PTR -112[rbp], 0
	jne	.L118
	movsd	xmm1, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR .LC18[rip]
	mulsd	xmm1, xmm0
	movsd	QWORD PTR -152[rbp], xmm1
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR -152[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC19[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	jmp	.L119
.L118:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	jmp	.L119
.L128:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
.L119:
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	movsd	xmm0, QWORD PTR -104[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -88[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -80[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movsd	QWORD PTR -152[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -152[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	addsd	xmm0, QWORD PTR -80[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm7, rax
	mulsd	xmm7, QWORD PTR -32[rbp]
	movsd	QWORD PTR -152[rbp], xmm7
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR -152[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	addsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -152[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -152[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	cmp	DWORD PTR -108[rbp], 0
	jle	.L120
	mov	DWORD PTR -60[rbp], 0
	jmp	.L121
.L124:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -88[rbp]
	comisd	xmm0, xmm1
	jbe	.L122
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
.L122:
	add	DWORD PTR -60[rbp], 1
.L121:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L124
.L120:
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	derotate_180_double
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	paswing_double, .-paswing_double
	.globl	spherical2Cartesian
	.type	spherical2Cartesian, @function
spherical2Cartesian:
.LFB15:
	.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
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -24[rbp], xmm2
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm3, rax
	mulsd	xmm3, QWORD PTR -8[rbp]
	movsd	QWORD PTR -56[rbp], xmm3
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm4, rax
	mulsd	xmm4, QWORD PTR -8[rbp]
	movsd	QWORD PTR -56[rbp], xmm4
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	mulsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	spherical2Cartesian, .-spherical2Cartesian
	.globl	cartesian2spherical
	.type	cartesian2spherical, @function
cartesian2spherical:
.LFB16:
	.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
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	QWORD PTR -56[rbp], xmm1
	movsd	QWORD PTR -64[rbp], xmm2
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -4[rbp]
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movq	rax, xmm0
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	cartesian2spherical, .-cartesian2spherical
	.globl	projectionHammerAitoff_xy
	.type	projectionHammerAitoff_xy, @function
projectionHammerAitoff_xy:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	movss	DWORD PTR -68[rbp], xmm0
	movss	DWORD PTR -72[rbp], xmm1
	movss	DWORD PTR -76[rbp], xmm2
	movss	DWORD PTR -80[rbp], xmm3
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -76[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -76[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -80[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -68[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC21[rip]
	addsd	xmm0, xmm1
	lea	rdx, -40[rbp]
	lea	rsi, -48[rbp]
	lea	rcx, -56[rbp]
	mov	rax, QWORD PTR .LC22[rip]
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	spherical2Cartesian
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -76[rbp]
	movq	rax, xmm5
	lea	rcx, -40[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -56[rbp]
	movq	xmm0, rax
	mov	edi, 1
	call	rotateZ_d
	movss	xmm0, DWORD PTR -80[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	lea	rcx, -40[rbp]
	lea	rdx, -48[rbp]
	lea	rsi, -56[rbp]
	movq	xmm0, rax
	mov	edi, 1
	call	rotateY_d
	movsd	xmm1, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	lea	rdx, -24[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -16[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	cartesian2spherical
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC21[rip]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -68[rbp], xmm0
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -72[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	call	cos@PLT
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -68[rbp]
	movsd	xmm0, QWORD PTR .LC23[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR -104[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC22[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC22[rip]
	divsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, xmm1
	movss	DWORD PTR -60[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -60[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC24[rip]
	mulsd	xmm1, xmm0
	movsd	QWORD PTR -104[rbp], xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -72[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -68[rbp]
	movsd	xmm0, QWORD PTR .LC23[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -104[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -88[rbp]
	movss	DWORD PTR [rax], xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -72[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC24[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -60[rbp]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -96[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -88[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -88[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -96[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -96[rbp]
	movss	DWORD PTR [rax], xmm0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L132
	call	__stack_chk_fail@PLT
.L132:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	projectionHammerAitoff_xy, .-projectionHammerAitoff_xy
	.globl	projection_sphere_xy
	.type	projection_sphere_xy, @function
projection_sphere_xy:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	movss	DWORD PTR -44[rbp], xmm2
	movss	DWORD PTR -48[rbp], xmm3
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -40[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	sin@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -40[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	cos@PLT
	movsd	QWORD PTR -80[rbp], xmm0
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -36[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -40[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC17[rip]
	movq	xmm4, rax
	xorpd	xmm4, xmm0
	movsd	QWORD PTR -80[rbp], xmm4
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -36[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -80[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -44[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	movd	eax, xmm0
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rsi, -24[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateY
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rsi, -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateX
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC0[rip]
	andps	xmm0, xmm1
	mov	rax, QWORD PTR -72[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L142
	mov	DWORD PTR -12[rbp], 1
	jmp	.L136
.L142:
	mov	DWORD PTR -12[rbp], 0
.L136:
	movss	xmm0, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	cmp	DWORD PTR -12[rbp], 0
	jne	.L137
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR .LC26[rip]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	jmp	.L138
.L137:
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC26[rip]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
.L138:
	mov	eax, DWORD PTR -12[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	projection_sphere_xy, .-projection_sphere_xy
	.globl	projection_sphere_longlat
	.type	projection_sphere_longlat, @function
projection_sphere_longlat:
.LFB19:
	.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
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	movss	DWORD PTR -44[rbp], xmm2
	movss	DWORD PTR -48[rbp], xmm3
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm1, DWORD PTR -36[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jbe	.L156
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR .LC26[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L146
.L156:
	movss	xmm0, DWORD PTR -36[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	xmm1, QWORD PTR .LC27[rip]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -16[rbp], 1
.L146:
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -36[rbp]
	mulss	xmm1, xmm0
	movss	xmm2, DWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR -40[rbp]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC28[rip]
	comiss	xmm0, xmm1
	jbe	.L157
	mov	eax, 0
	jmp	.L152
.L157:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L150
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -36[rbp]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC28[rip]
	subss	xmm0, xmm1
	movss	xmm2, DWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -40[rbp]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L151
.L150:
	movss	xmm1, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -36[rbp]
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC28[rip]
	subss	xmm0, xmm1
	movss	xmm2, DWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -40[rbp]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
.L151:
	movss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	pxor	xmm6, xmm6
	cvtsd2ss	xmm6, xmm0
	movd	eax, xmm6
	lea	rcx, -20[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -36[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateX
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	pxor	xmm7, xmm7
	cvtsd2ss	xmm7, xmm0
	movd	eax, xmm7
	lea	rcx, -20[rbp]
	lea	rdx, -40[rbp]
	lea	rsi, -36[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateY
	movss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -20[rbp]
	mulss	xmm1, xmm0
	movss	xmm2, DWORD PTR -36[rbp]
	movss	xmm0, DWORD PTR -36[rbp]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -40[rbp]
	cvtss2sd	xmm0, xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -12[rbp]
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -36[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm1
	movq	rax, xmm5
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, 1
.L152:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L153
	call	__stack_chk_fail@PLT
.L153:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	projection_sphere_longlat, .-projection_sphere_longlat
	.globl	projection_longlat_xy
	.type	projection_longlat_xy, @function
projection_longlat_xy:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	movss	DWORD PTR -36[rbp], xmm0
	movss	DWORD PTR -40[rbp], xmm1
	movss	DWORD PTR -44[rbp], xmm2
	movss	DWORD PTR -48[rbp], xmm3
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -44[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -40[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	sin@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -40[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	cos@PLT
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -36[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -40[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC17[rip]
	movq	xmm4, rax
	xorpd	xmm4, xmm0
	movsd	QWORD PTR -72[rbp], xmm4
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -36[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -72[rbp]
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rsi, -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateX
	movss	xmm0, DWORD PTR -44[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	movd	eax, xmm0
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rsi, -24[rbp]
	movd	xmm0, eax
	mov	edi, 1
	call	rotateY
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -16[rbp]
	mulss	xmm1, xmm0
	movss	xmm2, DWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	cvtss2sd	xmm0, xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR .LC16[rip]
	xorps	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -24[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm1
	movq	rax, xmm3
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movsd	xmm1, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC8[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L159
	call	__stack_chk_fail@PLT
.L159:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	projection_longlat_xy, .-projection_longlat_xy
	.section	.rodata
	.align 16
.LC0:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 8
.LC1:
	.long	0
	.long	1081507840
	.align 4
.LC3:
	.long	1135869952
	.align 8
.LC4:
	.long	0
	.long	1080459264
	.align 4
.LC5:
	.long	1127481344
	.align 16
.LC6:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC8:
	.long	1413754136
	.long	1074340347
	.align 8
.LC9:
	.long	0
	.long	1079410688
	.align 4
.LC10:
	.long	1119092736
	.align 8
.LC11:
	.long	0
	.long	1078362112
	.align 4
.LC12:
	.long	1083624420
	.align 4
.LC13:
	.long	1070141403
	.align 8
.LC14:
	.long	1413754136
	.long	1075388923
	.align 8
.LC15:
	.long	-1571644103
	.long	1066524486
	.align 16
.LC16:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 16
.LC17:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC18:
	.long	0
	.long	1076101120
	.align 8
.LC19:
	.long	2134057426
	.long	1076025724
	.align 8
.LC20:
	.long	442745336
	.long	1078765020
	.align 8
.LC21:
	.long	1413754136
	.long	1073291771
	.align 8
.LC22:
	.long	0
	.long	1072693248
	.align 8
.LC23:
	.long	0
	.long	1071644672
	.align 8
.LC24:
	.long	1719614413
	.long	1073127582
	.align 8
.LC25:
	.long	1719614413
	.long	1072079006
	.align 4
.LC26:
	.long	1066401792
	.align 8
.LC27:
	.long	0
	.long	1072824320
	.align 4
.LC28:
	.long	1065353216
	.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	"971800.c"
	.text
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_fcmpgt
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_fcmplt
	.align	2
	.global	derotate_deg
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_deg, %function
derotate_deg:
	@ 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]	@ float
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L11
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	b	.L4
.L10:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L4:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r1, .L11+4
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L5:
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	1081507840
	.word	1135869952
	.size	derotate_deg, .-derotate_deg
	.align	2
	.global	derotate_180
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_180, %function
derotate_180:
	@ 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]	@ float
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L23
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	b	.L16
.L22:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L16:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r1, .L23+4
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L17:
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	1080459264
	.word	1127481344
	.size	derotate_180, .-derotate_180
	.global	__aeabi_dcmpgt
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.align	2
	.global	derotate_180_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_180_double, %function
derotate_180_double:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	bic	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L35
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L28
.L34:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L28:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	mov	r2, #0
	ldr	r3, .L35
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L29:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L36:
	.align	2
.L35:
	.word	1080459264
	.size	derotate_180_double, .-derotate_180_double
	.global	__aeabi_dmul
	.align	2
	.global	derotate_180_rad_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_180_rad_double, %function
derotate_180_rad_double:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	bic	r5, r3, #-2147483648
	ldr	r2, .L47
	ldr	r3, .L47+4
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	ldr	r2, .L47
	ldr	r3, .L47+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L40
.L46:
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	ldr	r2, .L47
	ldr	r3, .L47+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L40:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r2, .L47
	ldr	r3, .L47+4
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L41:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	1413754136
	.word	1074340347
	.size	derotate_180_rad_double, .-derotate_180_rad_double
	.align	2
	.global	derotate_90
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_90, %function
derotate_90:
	@ 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]	@ float
	ldr	r3, [fp, #-16]
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L59
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	b	.L52
.L58:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L52:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r1, .L59+4
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
.L53:
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	1079410688
	.word	1119092736
	.size	derotate_90, .-derotate_90
	.align	2
	.global	derotate_90_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_90_double, %function
derotate_90_double:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	bic	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L71
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L70
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L64
.L70:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L64:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	mov	r2, #0
	ldr	r3, .L71
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L65:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L72:
	.align	2
.L71:
	.word	1079410688
	.size	derotate_90_double, .-derotate_90_double
	.global	__aeabi_dcmpge
	.align	2
	.global	derotate_180_small_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_180_small_double, %function
derotate_180_small_double:
	@ 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	derotate_180_double
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L78
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	mov	r2, #0
	ldr	r3, .L78+4
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L74:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	1079410688
	.word	1080459264
	.size	derotate_180_small_double, .-derotate_180_small_double
	.align	2
	.global	derotate_90_small_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	derotate_90_small_double, %function
derotate_90_small_double:
	@ 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	derotate_90_double
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L85
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	mov	r2, #0
	ldr	r3, .L85+4
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L81:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L86:
	.align	2
.L85:
	.word	1078362112
	.word	1079410688
	.size	derotate_90_small_double, .-derotate_90_small_double
	.global	__aeabi_fcmpeq
	.global	__aeabi_fcmple
	.global	__aeabi_fdiv
	.global	__aeabi_d2f
	.global	__aeabi_fcmpge
	.align	2
	.global	polar_angle_rad
	.syntax unified
	.arm
	.fpu softvfp
	.type	polar_angle_rad, %function
polar_angle_rad:
	@ 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]	@ float
	str	r1, [fp, #-20]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L103
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	ldr	r3, .L106
	b	.L92
.L104:
	ldr	r3, .L106+4
	b	.L92
.L103:
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	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	atan
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L93
	mov	r1, #0
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L93
	ldr	r3, [fp, #-8]	@ float
	b	.L92
.L93:
	mov	r1, #0
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L105
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L106+8
	ldr	r3, .L106+12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	b	.L92
.L105:
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L106+8
	ldr	r3, .L106+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
.L92:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	1083624420
	.word	1070141403
	.word	1413754136
	.word	1075388923
	.word	1074340347
	.size	polar_angle_rad, .-polar_angle_rad
	.align	2
	.global	rotateZ_d
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotateZ_d, %function
rotateZ_d:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r2, .L111
	ldr	r3, .L111+4
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L109
.L110:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L109:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L110
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L112:
	.align	2
.L111:
	.word	-1571644103
	.word	1066524486
	.size	rotateZ_d, .-rotateZ_d
	.align	2
	.global	rotateY
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotateY, %function
rotateY:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]	@ float
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L116
	ldr	r3, .L116+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L114
.L115:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-44]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	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]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-44]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-44]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-44]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	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, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L114:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L115
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L117:
	.align	2
.L116:
	.word	-1571644103
	.word	1066524486
	.size	rotateY, .-rotateY
	.align	2
	.global	rotateY_d
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotateY_d, %function
rotateY_d:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r2, .L121
	ldr	r3, .L121+4
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L119
.L120:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L119:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L120
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L122:
	.align	2
.L121:
	.word	-1571644103
	.word	1066524486
	.size	rotateY_d, .-rotateY_d
	.align	2
	.global	rotateX
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotateX, %function
rotateX:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]	@ float
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L126
	ldr	r3, .L126+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L124
.L125:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-44]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	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]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-44]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-44]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-44]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	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, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L124:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L125
	nop
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L127:
	.align	2
.L126:
	.word	-1571644103
	.word	1066524486
	.size	rotateX, .-rotateX
	.align	2
	.global	paswing
	.syntax unified
	.arm
	.fpu softvfp
	.type	paswing, %function
paswing:
	@ args = 28, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-56]	@ float
	str	r1, [fp, #-60]	@ float
	str	r2, [fp, #-64]	@ float
	str	r3, [fp, #-68]	@ float
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L142
	ldr	r3, .L142+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L142
	ldr	r3, .L142+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r1, [fp, #20]	@ float
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L141
	ldr	r0, [fp, #24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L142+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L142+12
	ldr	r3, .L142+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r3, [fp, #28]
	cmp	r3, #0
	bne	.L131
	ldr	r0, [fp, #24]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L142+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-56]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L142+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L142+24
	ldr	r3, .L142+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	b	.L132
.L131:
	mov	r3, #0
	str	r3, [fp, #-44]	@ float
	b	.L132
.L141:
	mov	r3, #0
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-44]	@ float
.L132:
	ldr	r0, [fp, #-56]	@ float
	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, #-36]	@ float
	ldr	r1, [fp, #-48]	@ float
	ldr	r0, [fp, #4]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L142+12
	ldr	r3, .L142+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L142+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-32]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-56]	@ float
	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	sin
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-56]	@ float
	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	cos
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-32]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, [fp, #-44]	@ float
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	atan2
	mov	r2, #0
	ldr	r3, .L142+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L142+12
	ldr	r3, .L142+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r3, [fp, #8]
	cmp	r3, #0
	ble	.L133
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L134
.L137:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L135
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
.L135:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L134:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L137
.L133:
	ldr	r0, [fp, #-52]	@ float
	bl	derotate_180
	str	r0, [fp, #-52]	@ float
	ldr	r3, [fp, #-52]	@ float
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L143:
	.align	2
.L142:
	.word	-1571644103
	.word	1066524486
	.word	1080459264
	.word	1413754136
	.word	1074340347
	.word	1076101120
	.word	2134057426
	.word	1076025724
	.size	paswing, .-paswing
	.align	2
	.global	paswing_double
	.syntax unified
	.arm
	.fpu softvfp
	.type	paswing_double, %function
paswing_double:
	@ args = 60, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-84]
	str	r1, [fp, #-80]
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r2, .L158
	ldr	r3, .L158+4
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r2, .L158
	ldr	r3, .L158+4
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	add	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L157
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L158+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L158+12
	ldr	r3, .L158+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #60]
	cmp	r3, #0
	bne	.L147
	mov	r2, #0
	ldr	r3, .L158+20
	add	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	cos
	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
	mov	r2, #0
	ldr	r3, .L158+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L158+24
	ldr	r3, .L158+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L148
.L147:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	b	.L148
.L157:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L148:
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	sin
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L158+12
	ldr	r3, .L158+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L158+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	atan2
	mov	r2, #0
	ldr	r3, .L158+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L158+12
	ldr	r3, .L158+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #28]
	cmp	r3, #0
	ble	.L149
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L150
.L153:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L151
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #36]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L151:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L150:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #28]
	cmp	r2, r3
	blt	.L153
.L149:
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	derotate_180_double
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L159:
	.align	2
.L158:
	.word	-1571644103
	.word	1066524486
	.word	1080459264
	.word	1413754136
	.word	1074340347
	.word	1076101120
	.word	2134057426
	.word	1076025724
	.size	paswing_double, .-paswing_double
	.align	2
	.global	spherical2Cartesian
	.syntax unified
	.arm
	.fpu softvfp
	.type	spherical2Cartesian, %function
spherical2Cartesian:
	@ args = 20, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	sin
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldmib	fp, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #12]
	stm	r1, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	sin
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldmib	fp, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #16]
	stm	r1, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	cos
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #20]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	spherical2Cartesian, .-spherical2Cartesian
	.align	2
	.global	cartesian2spherical
	.syntax unified
	.arm
	.fpu softvfp
	.type	cartesian2spherical, %function
cartesian2spherical:
	@ args = 24, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldmib	fp, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	add	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-24]
	stm	r1, {r2-r3}
	ldmib	fp, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	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	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	add	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	atan2
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-28]
	stm	r1, {r2-r3}
	ldmib	fp, {r2-r3}
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	atan2
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	cartesian2spherical, .-cartesian2spherical
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	projectionHammerAitoff_xy
	.syntax unified
	.arm
	.fpu softvfp
	.type	projectionHammerAitoff_xy, %function
projectionHammerAitoff_xy:
	@ args = 8, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #116
	str	r0, [fp, #-88]	@ float
	str	r1, [fp, #-92]	@ float
	str	r2, [fp, #-96]	@ float
	str	r3, [fp, #-100]	@ float
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-108]
	ldr	r3, .L164
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, [fp, #-96]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L164+4
	ldr	r3, .L164+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-96]	@ float
	ldr	r0, [fp, #-100]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L164+4
	ldr	r3, .L164+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-100]	@ float
	ldr	r0, [fp, #-92]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L164+12
	ldr	r3, .L164+16
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	str	r1, [sp, #16]
	sub	r1, fp, #68
	str	r1, [sp, #12]
	sub	r1, fp, #76
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	ldr	r1, .L164+20
	bl	spherical2Cartesian
	ldr	r0, [fp, #-96]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	str	r1, [sp, #8]
	sub	r1, fp, #68
	str	r1, [sp, #4]
	sub	r1, fp, #76
	str	r1, [sp]
	mov	r0, #1
	bl	rotateZ_d
	ldr	r3, [fp, #-100]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	str	r1, [sp, #8]
	sub	r1, fp, #68
	str	r1, [sp, #4]
	sub	r1, fp, #76
	str	r1, [sp]
	mov	r0, #1
	bl	rotateY_d
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	sub	r5, fp, #60
	ldmia	r5, {r4-r5}
	sub	r6, fp, #44
	sub	lr, fp, #52
	sub	ip, fp, #36
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r1, lr
	mov	r0, ip
	bl	cartesian2spherical
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L164+12
	ldr	r3, .L164+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-92]	@ float
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-88]	@ float
	ldr	r0, [fp, #-92]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L164+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	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
	mov	r2, #0
	ldr	r3, .L164+20
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L164+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-80]	@ float
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L164+28
	ldr	r3, .L164+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-92]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L164+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	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, #-104]
	str	r2, [r3]	@ float
	ldr	r0, [fp, #-92]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	ldr	r2, .L164+28
	ldr	r3, .L164+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-80]	@ 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, #-108]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-104]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L164+28
	ldr	r3, .L164+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-104]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L164+28
	ldr	r3, .L164+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-108]
	str	r2, [r3]	@ float
	nop
	ldr	r3, .L164
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L163
	bl	__stack_chk_fail
.L163:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L165:
	.align	2
.L164:
	.word	.LC0
	.word	442745336
	.word	1078765020
	.word	1413754136
	.word	1073291771
	.word	1072693248
	.word	1071644672
	.word	1719614413
	.word	1073127582
	.word	1072079006
	.size	projectionHammerAitoff_xy, .-projectionHammerAitoff_xy
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	projection_sphere_xy
	.syntax unified
	.arm
	.fpu softvfp
	.type	projection_sphere_xy, %function
projection_sphere_xy:
	@ args = 12, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #64
	str	r0, [fp, #-48]	@ float
	str	r1, [fp, #-52]	@ float
	str	r2, [fp, #-56]	@ float
	str	r3, [fp, #-60]	@ float
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-72]
	ldr	r3, .L176
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L176+4
	ldr	r3, .L176+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L176+4
	ldr	r3, .L176+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r0, [fp, #-52]	@ float
	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, #-36]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-48]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	ldr	r0, [fp, #-48]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-56]
	eor	r1, r3, #-2147483648
	sub	r0, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r0
	mov	r0, #1
	bl	rotateY
	sub	r1, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-60]	@ float
	mov	r0, #1
	bl	rotateX
	ldr	r3, [fp, #-32]	@ float
	bic	r2, r3, #-2147483648
	ldr	r3, [fp, #-72]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L175
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L169
.L175:
	mov	r3, #0
	str	r3, [fp, #-28]
.L169:
	ldr	r2, [fp, #-40]	@ float
	ldr	r3, [fp, #-64]
	str	r2, [r3]	@ float
	ldr	r2, [fp, #-36]	@ float
	ldr	r3, [fp, #-68]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L170
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]	@ float
	ldr	r1, .L176+12
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-64]
	str	r2, [r3]	@ float
	b	.L171
.L170:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, .L176+12
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-64]
	str	r2, [r3]	@ float
.L171:
	ldr	r3, [fp, #-28]
	ldr	r2, .L176
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L173
	bl	__stack_chk_fail
.L173:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L177:
	.align	2
.L176:
	.word	.LC1
	.word	442745336
	.word	1078765020
	.word	1066401792
	.size	projection_sphere_xy, .-projection_sphere_xy
	.global	__aeabi_fmul
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	projection_sphere_longlat
	.syntax unified
	.arm
	.fpu softvfp
	.type	projection_sphere_longlat, %function
projection_sphere_longlat:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-32]	@ float
	str	r1, [fp, #-36]	@ float
	str	r2, [fp, #-40]	@ float
	str	r3, [fp, #-44]	@ float
	ldr	r3, [fp, #4]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-52]
	ldr	r3, .L193
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-32]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L191
	ldr	r3, [fp, #-32]	@ float
	ldr	r1, .L193+4
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L181
.L191:
	ldr	r3, [fp, #-32]	@ float
	ldr	r1, .L193+4
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-32]	@ float
	mov	r3, #1
	str	r3, [fp, #-24]
.L181:
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-36]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L192
	mov	r3, #0
	b	.L187
.L192:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L185
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-36]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	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
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-28]	@ float
	b	.L186
.L185:
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-36]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	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, #-28]	@ float
.L186:
	ldr	r3, [fp, #-44]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L193+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L193+12
	ldr	r3, .L193+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	sub	r1, fp, #36
	sub	r2, fp, #32
	sub	r3, fp, #28
	str	r3, [sp]
	mov	r3, r1
	mov	r1, r0
	mov	r0, #1
	bl	rotateX
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L193+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L193+12
	ldr	r3, .L193+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	sub	r1, fp, #36
	sub	r2, fp, #32
	sub	r3, fp, #28
	str	r3, [sp]
	mov	r3, r1
	mov	r1, r0
	mov	r0, #1
	bl	rotateY
	ldr	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #-28]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	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, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	atan2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L193+12
	ldr	r1, .L193+20
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-28]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	atan2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-48]
	str	r2, [r3]	@ float
	mov	r3, #1
.L187:
	ldr	r2, .L193
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L188
	bl	__stack_chk_fail
.L188:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L194:
	.align	2
.L193:
	.word	.LC2
	.word	1066401792
	.word	1080459264
	.word	1413754136
	.word	1074340347
	.word	1073291771
	.size	projection_sphere_longlat, .-projection_sphere_longlat
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	projection_longlat_xy
	.syntax unified
	.arm
	.fpu softvfp
	.type	projection_longlat_xy, %function
projection_longlat_xy:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-48]	@ float
	str	r1, [fp, #-52]	@ float
	str	r2, [fp, #-56]	@ float
	str	r3, [fp, #-60]	@ float
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-68]
	ldr	r3, .L197
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L197+4
	ldr	r3, .L197+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L197+4
	ldr	r3, .L197+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	ldr	r0, [fp, #-52]	@ float
	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, #-36]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-48]	@ float
	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, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	ldr	r0, [fp, #-48]	@ float
	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, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	sub	r1, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-60]	@ float
	mov	r0, #1
	bl	rotateX
	ldr	r3, [fp, #-56]
	eor	r1, r3, #-2147483648
	sub	r0, fp, #36
	sub	r2, fp, #40
	sub	r3, fp, #32
	str	r3, [sp]
	mov	r3, r0
	mov	r0, #1
	bl	rotateY
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	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, #-28]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	atan2
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-68]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L197+12
	ldr	r1, .L197+16
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-68]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L197+4
	ldr	r3, .L197+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-68]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]	@ float
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	atan2
	mov	r2, #0
	ldr	r3, .L197+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L197+12
	ldr	r3, .L197+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-64]
	str	r2, [r3]	@ float
	nop
	ldr	r3, .L197
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L196
	bl	__stack_chk_fail
.L196:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L198:
	.align	2
.L197:
	.word	.LC3
	.word	442745336
	.word	1078765020
	.word	1413754136
	.word	1073291771
	.word	1080459264
	.word	1074340347
	.size	projection_longlat_xy, .-projection_longlat_xy
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
