	.file	"22518.c"
	.intel_syntax noprefix
	.text
	.globl	norm
	.type	norm, @function
norm:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jp	.L4
	pxor	xmm0, xmm0
	ucomiss	xmm0, DWORD PTR -8[rbp]
	jne	.L4
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -8[rbp], xmm0
.L4:
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -8[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	norm, .-norm
	.globl	normalizeVector
	.type	normalizeVector, @function
normalizeVector:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	norm
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	divss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -8[rbp], 1
.L9:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L10
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	normalizeVector, .-normalizeVector
	.globl	getRotationMatrixFromQuartenion
	.type	getRotationMatrixFromQuartenion, @function
getRotationMatrixFromQuartenion:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -28[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	movss	DWORD PTR -20[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR 12[rax]
	movss	DWORD PTR -16[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -12[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR -4[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	movaps	xmm2, xmm0
	mulss	xmm2, DWORD PTR -16[rbp]
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR 4[rax], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	mulss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rax], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	mulss	xmm0, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	addss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR -4[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR 4[rax], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	movaps	xmm2, xmm0
	mulss	xmm2, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rax], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	movaps	xmm2, xmm0
	mulss	xmm2, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, xmm0
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, xmm0
	mulss	xmm0, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	addss	xmm0, xmm1
	movss	DWORD PTR 4[rax], xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR -12[rbp]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	subss	xmm1, xmm2
	movaps	xmm0, xmm1
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	pxor	xmm0, xmm0
	movss	DWORD PTR 4[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	pxor	xmm0, xmm0
	movss	DWORD PTR 8[rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR 12[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	getRotationMatrixFromQuartenion, .-getRotationMatrixFromQuartenion
	.globl	getRotationAngle
	.type	getRotationAngle, @function
getRotationAngle:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 16
	movss	xmm0, DWORD PTR 4[rax]
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 32
	movss	xmm0, DWORD PTR 8[rax]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC1[rip]
	subss	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	acos@PLT
	cvtsd2ss	xmm0, xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	getRotationAngle, .-getRotationAngle
	.globl	slerp
	.type	slerp, @function
slerp:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	movsd	QWORD PTR -104[rbp], xmm0
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	normalizeVector
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	normalizeVector
	mov	rax, QWORD PTR -88[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm1, xmm0
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 4
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 12
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 12
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	comisd	xmm0, QWORD PTR -56[rbp]
	jbe	.L33
	mov	DWORD PTR -68[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR [rax]
	subss	xmm0, xmm2
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -104[rbp]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -68[rbp], 1
.L17:
	cmp	DWORD PTR -68[rbp], 3
	jle	.L18
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	normalizeVector
	jmp	.L14
.L33:
	movsd	xmm0, QWORD PTR .LC4[rip]
	comisd	xmm0, QWORD PTR -64[rbp]
	jbe	.L20
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -64[rbp], xmm0
.L20:
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	comisd	xmm0, xmm1
	jbe	.L22
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -64[rbp], xmm0
.L22:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	call	acos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	cvtss2sd	xmm1, xmm1
	mulsd	xmm1, QWORD PTR -64[rbp]
	subsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movss	DWORD PTR -32[rbp+rax*4], xmm0
	add	DWORD PTR -68[rbp], 1
.L24:
	cmp	DWORD PTR -68[rbp], 3
	jle	.L25
	lea	rax, -32[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	normalizeVector
	mov	DWORD PTR -68[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -120[rbp], xmm4
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	cos@PLT
	mulsd	xmm0, QWORD PTR -120[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movss	xmm0, DWORD PTR -32[rbp+rax*4]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movsd	QWORD PTR -128[rbp], xmm5
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	sin@PLT
	mulsd	xmm0, QWORD PTR -128[rbp]
	addsd	xmm0, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -68[rbp], 1
.L26:
	cmp	DWORD PTR -68[rbp], 3
	jle	.L27
	nop
.L14:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	slerp, .-slerp
	.globl	eulerFromQuaternion
	.type	eulerFromQuaternion, @function
eulerFromQuaternion:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	DWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, DWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -4[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm2
	comisd	xmm0, xmm1
	jbe	.L42
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	addsd	xmm0, xmm0
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	jmp	.L44
.L42:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -4[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm2
	comisd	xmm0, xmm1
	jbe	.L43
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm1
	movq	rax, xmm5
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	atan2@PLT
	movsd	xmm1, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	jmp	.L44
.L43:
	movss	xmm0, DWORD PTR -24[rbp]
	addss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR [rax]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	subss	xmm1, xmm0
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm1
	movq	rax, xmm6
	movapd	xmm1, xmm3
	movq	xmm0, rax
	call	atan2@PLT
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -48[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, xmm0
	divss	xmm0, DWORD PTR -8[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	call	asin@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 4
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	subss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR [rax]
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm1, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	movaps	xmm2, xmm0
	addss	xmm2, xmm0
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	subss	xmm1, xmm0
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm1
	movq	rax, xmm4
	movapd	xmm1, xmm3
	movq	xmm0, rax
	call	atan2@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
.L44:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	eulerFromQuaternion, .-eulerFromQuaternion
	.globl	getRotationMatrixFromVectors
	.type	getRotationMatrixFromVectors, @function
getRotationMatrixFromVectors:
.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, 80
	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
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	normalizeVector
	pxor	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -40[rbp], xmm0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -44[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -40[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -40[rbp], xmm0
	add	DWORD PTR -36[rbp], 1
.L46:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L47
	movss	xmm0, DWORD PTR -48[rbp]
	mulss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 8
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 4
	movss	xmm1, DWORD PTR [rax]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC11[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 8
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	movss	xmm1, DWORD PTR [rax]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC11[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 4
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 4
	movss	xmm2, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR [rax]
	mulss	xmm1, xmm2
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC11[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	lea	rax, -32[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	normalizeVector
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getRotationMatrixFromQuartenion
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getRotationMatrixFromVectors, .-getRotationMatrixFromVectors
	.section	.rodata
	.align 4
.LC1:
	.long	1065353216
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.align 8
.LC3:
	.long	1821066134
	.long	1072692199
	.align 8
.LC4:
	.long	0
	.long	-1074790400
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.align 8
.LC6:
	.long	-1305670058
	.long	1071640477
	.align 4
.LC7:
	.long	1070141403
	.align 8
.LC8:
	.long	-1305670058
	.long	-1075843171
	.align 8
.LC9:
	.long	0
	.long	-1073741824
	.align 4
.LC10:
	.long	-1077342245
	.align 16
.LC11:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.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	"22518.c"
	.text
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_fcmpeq
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.align	2
	.global	norm
	.syntax unified
	.arm
	.fpu softvfp
	.type	norm, %function
norm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	mov	r1, #0
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	mov	r3, #1065353216
	str	r3, [fp, #-12]	@ float
.L4:
	ldr	r0, [fp, #-12]	@ float
	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
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	norm, .-norm
	.global	__aeabi_fdiv
	.align	2
	.global	normalizeVector
	.syntax unified
	.arm
	.fpu softvfp
	.type	normalizeVector, %function
normalizeVector:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	norm
	str	r0, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L9
.L10:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	ldr	r1, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L10
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	normalizeVector, .-normalizeVector
	.global	__aeabi_fsub
	.align	2
	.global	getRotationMatrixFromQuartenion
	.syntax unified
	.arm
	.fpu softvfp
	.type	getRotationMatrixFromQuartenion, %function
getRotationMatrixFromQuartenion:
	@ args = 0, 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, #-48]
	str	r1, [fp, #-52]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]	@ float
	str	r3, [fp, #-36]	@ float
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]	@ float
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-16]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-36]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-36]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-52]
	mov	r2, #0
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-36]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #16
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-16]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #16
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [r4, #4]	@ float
	ldr	r3, [fp, #-32]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #16
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [r4, #8]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #16
	mov	r2, #0
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-36]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #32
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-32]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #32
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [r4, #4]	@ float
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r4, r3, #32
	mov	r1, r2
	mov	r0, r5
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [r4, #8]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #32
	mov	r2, #0
	str	r2, [r3, #12]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #48
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #48
	mov	r2, #0
	str	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #48
	mov	r2, #0
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #48
	mov	r2, #1065353216
	str	r2, [r3, #12]	@ float
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	getRotationMatrixFromQuartenion, .-getRotationMatrixFromQuartenion
	.global	__aeabi_dmul
	.align	2
	.global	getRotationAngle
	.syntax unified
	.arm
	.fpu softvfp
	.type	getRotationAngle, %function
getRotationAngle:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L14
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	acos
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	1071644672
	.size	getRotationAngle, .-getRotationAngle
	.global	__aeabi_dcmpgt
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	slerp
	.syntax unified
	.arm
	.fpu softvfp
	.type	slerp, %function
slerp:
	@ args = 4, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r1, #4
	ldr	r0, [fp, #-88]
	bl	normalizeVector
	mov	r1, #4
	ldr	r0, [fp, #-92]
	bl	normalizeVector
	ldr	r3, [fp, #-88]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, #4
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, #8
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-92]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-88]
	add	r3, r3, #12
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-92]
	add	r3, r3, #12
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	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
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, .L36+4
	ldr	r3, .L36+8
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L19
.L20:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	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
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r4, r2, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L19:
	ldr	r3, [fp, #-80]
	cmp	r3, #3
	ble	.L20
	mov	r1, #4
	ldr	r0, [fp, #-104]
	bl	normalizeVector
	b	.L16
.L35:
	mov	r2, #0
	ldr	r3, .L36+12
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r2, #0
	ldr	r3, .L36+12
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L22:
	mov	r2, #0
	ldr	r3, .L36+16
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	mov	r2, #0
	ldr	r3, .L36+16
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L24:
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	acos
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #40
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L26
.L27:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	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	r2, r0
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-20]	@ float
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L26:
	ldr	r3, [fp, #-80]
	cmp	r3, #3
	ble	.L27
	sub	r3, fp, #40
	mov	r1, #4
	mov	r0, r3
	bl	normalizeVector
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L28
.L29:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	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
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	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
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r4, r2, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L28:
	ldr	r3, [fp, #-80]
	cmp	r3, #3
	ble	.L29
	nop
.L16:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC0
	.word	1821066134
	.word	1072692199
	.word	-1074790400
	.word	1072693248
	.size	slerp, .-slerp
	.align	2
	.global	eulerFromQuaternion
	.syntax unified
	.arm
	.fpu softvfp
	.type	eulerFromQuaternion, %function
eulerFromQuaternion:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L49
	ldr	r3, .L49+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ 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
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, .L49+8
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]	@ float
	b	.L48
.L46:
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L49
	ldr	r3, .L49+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	atan2
	mov	r2, #0
	mov	r3, #-1073741824
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, .L49+16
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]	@ float
	b	.L48
.L47:
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	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	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	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, #-44]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-20]	@ float
	mov	r0, r3
	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	asin
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-44]
	add	r4, r1, #4
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	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	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	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
	ldr	r1, [fp, #-44]
	add	r4, r1, #8
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
.L48:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L50:
	.align	2
.L49:
	.word	-1305670058
	.word	1071640477
	.word	1070141403
	.word	-1075843171
	.word	-1077342245
	.size	eulerFromQuaternion, .-eulerFromQuaternion
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getRotationMatrixFromVectors
	.syntax unified
	.arm
	.fpu softvfp
	.type	getRotationMatrixFromVectors, %function
getRotationMatrixFromVectors:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r1, #3
	ldr	r0, [fp, #-60]
	bl	normalizeVector
	sub	r3, fp, #32
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-44]	@ float
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L52
.L53:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L52:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	ble	.L53
	ldr	r1, [fp, #-44]	@ float
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	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, #-32]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-56]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-20]	@ float
	sub	r3, fp, #32
	mov	r1, #4
	mov	r0, r3
	bl	normalizeVector
	sub	r3, fp, #32
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	getRotationMatrixFromQuartenion
	nop
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC1
	.size	getRotationMatrixFromVectors, .-getRotationMatrixFromVectors
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
