	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function c_guQuatNormalize
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_c_guQuatNormalize
	.p2align	4, 0x90
_c_guQuatNormalize:                     ## @c_guQuatNormalize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movups	(%rdi), %xmm0
	movaps	%xmm0, %xmm1
	mulps	%xmm0, %xmm1
	movshdup	%xmm1, %xmm1                    ## xmm1 = xmm1[1,1,3,3]
	movaps	%xmm0, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	movss	8(%rdi), %xmm3                  ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm3
	addss	%xmm2, %xmm3
	movaps	%xmm0, %xmm1
	shufps	$255, %xmm0, %xmm1              ## xmm1 = xmm1[3,3],xmm0[3,3]
	mulss	%xmm1, %xmm1
	addss	%xmm3, %xmm1
	xorps	%xmm2, %xmm2
	xorps	%xmm3, %xmm3
	ucomiss	%xmm3, %xmm1
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	sqrtss	%xmm1, %xmm1
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm2
	shufps	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	mulps	%xmm2, %xmm0
	movaps	%xmm0, %xmm2
LBB0_2:
	movups	%xmm2, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_guQuatNormalize              ; -- Begin function c_guQuatNormalize
	.p2align	2
_c_guQuatNormalize:                     ; @c_guQuatNormalize
	.cfi_startproc
; %bb.0:
	ldr	q0, [x0]
	fmul.4s	v1, v0, v0
	mov	s1, v1[1]
	fmla.s	s1, s0, v0[0]
	mov	s2, v0[2]
	fmla.s	s1, s2, v0[2]
	mov	s2, v0[3]
	fmla.s	s1, s2, v0[3]
	movi.2d	v2, #0000000000000000
	fcmp	s1, #0.0
	b.ne	LBB0_2
; %bb.1:
	str	q2, [x1]
	ret
LBB0_2:
	fsqrt	s1, s1
	fmov	s2, #1.00000000
	fdiv	s1, s2, s1
	fmul.4s	v2, v0, v1[0]
	str	q2, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
