	.file	"extr_vf_v360.c_ball_to_xyz.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ball_to_xyz, @function
ball_to_xyz:
.LFB0:
	.cfi_startproc
	endbr64
	pxor	xmm0, xmm0
	pxor	xmm1, xmm1
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, r9
	cvtsi2ss	xmm0, esi
	cvtsi2ss	xmm1, ecx
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	movss	xmm4, DWORD PTR .LC0[rip]
	addss	xmm0, xmm0
	movaps	xmm2, xmm0
	pxor	xmm0, xmm0
	divss	xmm2, xmm1
	cvtsi2ss	xmm0, r8d
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, edx
	addss	xmm1, xmm1
	divss	xmm1, xmm0
	subss	xmm2, xmm4
	movaps	xmm0, xmm2
	movss	DWORD PTR 12[rsp], xmm2
	subss	xmm1, xmm4
	movss	DWORD PTR 16[rsp], xmm1
	call	hypotf@PLT
	movss	xmm4, DWORD PTR .LC0[rip]
	movss	xmm2, DWORD PTR 12[rsp]
	movss	xmm1, DWORD PTR 16[rsp]
	comiss	xmm4, xmm0
	jnb	.L15
	movabs	rax, -4647714815446351872
	mov	DWORD PTR 8[rbx], 0x00000000
	mov	QWORD PTR [rbx], rax
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	movaps	xmm6, xmm0
	movaps	xmm3, xmm0
	movaps	xmm7, xmm4
	addss	xmm6, xmm0
	mulss	xmm0, xmm0
	subss	xmm7, xmm0
	movaps	xmm0, xmm7
	movaps	xmm5, xmm7
	pxor	xmm7, xmm7
	ucomiss	xmm7, xmm0
	sqrtss	xmm5, xmm5
	ja	.L16
.L4:
	mulss	xmm5, xmm6
	comiss	xmm3, xmm7
	movaps	xmm0, xmm4
	mulss	xmm2, xmm5
	jbe	.L5
	divss	xmm2, xmm3
	movaps	xmm0, xmm3
.L5:
	mulss	xmm6, xmm3
	xorps	xmm5, XMMWORD PTR .LC2[rip]
	movss	DWORD PTR [rbx], xmm2
	mulss	xmm5, xmm1
	subss	xmm6, xmm4
	movss	DWORD PTR 8[rbx], xmm6
	divss	xmm5, xmm0
	movss	DWORD PTR 4[rbx], xmm5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movss	DWORD PTR 28[rsp], xmm3
	movss	DWORD PTR 24[rsp], xmm1
	movss	DWORD PTR 20[rsp], xmm2
	movss	DWORD PTR 16[rsp], xmm5
	movss	DWORD PTR 12[rsp], xmm6
	call	sqrtf@PLT
	movss	xmm3, DWORD PTR 28[rsp]
	pxor	xmm7, xmm7
	movss	xmm4, DWORD PTR .LC0[rip]
	movss	xmm1, DWORD PTR 24[rsp]
	movss	xmm2, DWORD PTR 20[rsp]
	movss	xmm5, DWORD PTR 16[rsp]
	movss	xmm6, DWORD PTR 12[rsp]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ball_to_xyz, .-ball_to_xyz
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	2147483648
	.long	0
	.long	0
	.long	0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vf_v360.c_ball_to_xyz.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.global	__aeabi_fcmple
	.global	__aeabi_fmul
	.global	__aeabi_fcmpgt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ball_to_xyz, %function
ball_to_xyz:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r0, r1
	mov	r4, r2
	mov	r6, r3
	bl	__aeabi_i2f
	mov	r1, r0
	bl	__aeabi_fadd
	mov	r5, r0
	mov	r0, r6
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r1, #1065353216
	bl	__aeabi_fsub
	mov	r6, r0
	mov	r0, r4
	bl	__aeabi_i2f
	mov	r1, r0
	bl	__aeabi_fadd
	mov	r4, r0
	ldr	r0, [sp, #32]
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r1, #1065353216
	bl	__aeabi_fsub
	mov	r5, r0
	mov	r0, r6
	mov	r1, r5
	ldr	r7, [sp, #36]
	bl	hypotf
	mov	r1, #1065353216
	mov	r4, r0
	bl	__aeabi_fcmple
	cmp	r0, #0
	bne	.L14
	mov	r3, #0
	ldr	r2, .L15
	str	r3, [r7]	@ float
	str	r3, [r7, #8]	@ float
	str	r2, [r7, #4]	@ float
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	mov	r1, r4
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r1, r4
	mov	r9, r0
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, #1065353216
	bl	__aeabi_fsub
	bl	sqrtf
	mov	r1, r0
	mov	r0, r9
	bl	__aeabi_fmul
	mov	r8, r0
	mov	r0, r6
	mov	r1, r8
	bl	__aeabi_fmul
	mov	r1, #0
	mov	r6, r0
	mov	r0, r4
	bl	__aeabi_fcmpgt
	cmp	r0, #0
	moveq	r10, #1065353216
	beq	.L4
	mov	r0, r6
	mov	r1, r4
	bl	__aeabi_fdiv
	mov	r10, r4
	mov	r6, r0
.L4:
	mov	r1, r5
	add	r0, r8, #-2147483648
	str	r6, [r7]	@ float
	bl	__aeabi_fmul
	mov	r1, r10
	bl	__aeabi_fdiv
	mov	r1, r4
	str	r0, [r7, #4]	@ float
	mov	r0, r9
	bl	__aeabi_fmul
	mov	r1, #1065353216
	bl	__aeabi_fsub
	str	r0, [r7, #8]	@ float
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	-1082130432
	.size	ball_to_xyz, .-ball_to_xyz
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
