	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function VectorNormalize
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_VectorNormalize
	.p2align	4, 0x90
_VectorNormalize:                       ## @VectorNormalize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	4(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	mulss	%xmm1, %xmm1
	addss	%xmm0, %xmm1
	movss	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	addss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jb	LBB0_2
## %bb.1:
	sqrtss	%xmm0, %xmm0
	jmp	LBB0_3
LBB0_2:
	callq	_sqrt
	xorps	%xmm1, %xmm1
LBB0_3:
	ucomiss	%xmm1, %xmm0
	jne	LBB0_4
	jnp	LBB0_5
LBB0_4:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	(%rbx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, (%rbx)
	movss	4(%rbx), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, 4(%rbx)
	mulss	8(%rbx), %xmm1
	movss	%xmm1, 8(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	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	_VectorNormalize                ; -- Begin function VectorNormalize
	.p2align	2
_VectorNormalize:                       ; @VectorNormalize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	s0, s1, [x0]
	fmul	s1, s1, s1
	fmadd	s0, s0, s0, s1
	ldr	s1, [x0, #8]
	fmadd	s1, s1, s1, s0
	fsqrt	s0, s1
	fcmp	s0, s0
	b.vs	LBB0_4
; %bb.1:
	fcmp	s0, #0.0
	b.eq	LBB0_3
LBB0_2:
	fmov	s1, #1.00000000
	fdiv	s1, s1, s0
	ldr	d2, [x0]
	fmul.2s	v2, v2, v1[0]
	str	d2, [x0]
	ldr	s2, [x0, #8]
	fmul	s1, s1, s2
	str	s1, [x0, #8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	fmov	s0, s1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_sqrt
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	fcmp	s0, #0.0
	b.ne	LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
