	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function VectorNormalize2
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_VectorNormalize2
	.p2align	4, 0x90
_VectorNormalize2:                      ## @VectorNormalize2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movss	(%rdi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm1
	mulss	%xmm2, %xmm2
	addss	%xmm1, %xmm2
	movss	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	addss	%xmm2, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	movq	%rdi, %rbx
	callq	_sqrt
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm1
	mulss	%xmm1, %xmm0
	movss	(%rbx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, (%r14)
	movss	4(%rbx), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, 4(%r14)
	mulss	8(%rbx), %xmm1
	movss	%xmm1, 8(%r14)
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_VectorClear
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	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	_VectorNormalize2               ; -- Begin function VectorNormalize2
	.p2align	2
_VectorNormalize2:                      ; @VectorNormalize2
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x1
	ldp	s0, s1, [x0]
	fmul	s1, s1, s1
	fmadd	s0, s0, s0, s1
	ldr	s1, [x0, #8]
	fmadd	s8, s1, s1, s0
	fcmp	s8, #0.0
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
	fmov	s0, s8
	bl	_sqrt
	scvtf	s0, x0
	fmov	s1, #1.00000000
	fdiv	s0, s1, s0
	fmul	s8, s8, s0
	ldr	s1, [x20]
	fmul	s1, s1, s0
	str	s1, [x19]
	ldr	s1, [x20, #4]
	fmul	s1, s0, s1
	str	s1, [x19, #4]
	ldr	s1, [x20, #8]
	fmul	s0, s0, s1
	str	s0, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_VectorClear
LBB0_3:
	fmov	s0, s8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
