	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NormalizeColor                 ## -- Begin function NormalizeColor
	.p2align	4, 0x90
_NormalizeColor:                        ## @NormalizeColor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movss	(%rdi), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	maxss	%xmm2, %xmm1
	movss	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	maxss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jne	LBB0_2
	jnp	LBB0_1
LBB0_2:
	divss	%xmm0, %xmm2
	movss	%xmm2, (%rsi)
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, 4(%rsi)
	movss	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, 8(%rsi)
	jmp	LBB0_3
LBB0_1:
	movq	%rsi, %rdi
	movss	%xmm0, -4(%rbp)                 ## 4-byte Spill
	callq	_VectorClear
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_3:
	addq	$16, %rsp
	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	_NormalizeColor                 ; -- Begin function NormalizeColor
	.p2align	2
_NormalizeColor:                        ; @NormalizeColor
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	ldp	s0, s1, [x0]
	fcmp	s1, s0
	fcsel	s1, s1, s0, gt
	ldr	s2, [x0, #8]
	fcmp	s2, s1
	fcsel	s8, s2, s1, gt
	fcmp	s8, #0.0
	b.eq	LBB0_2
; %bb.1:
	fdiv	s0, s0, s8
	str	s0, [x1]
	ldr	s0, [x0, #4]
	fdiv	s0, s0, s8
	str	s0, [x1, #4]
	ldr	s0, [x0, #8]
	fdiv	s0, s0, s8
	str	s0, [x1, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x1
	bl	_VectorClear
LBB0_3:
	fmov	s0, s8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
