	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ColorNormalize
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ColorNormalize
	.p2align	4, 0x90
_ColorNormalize:                        ## @ColorNormalize
	.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	4(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	maxss	(%rdi), %xmm0
	maxss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movss	%xmm1, -4(%rbp)                 ## 4-byte Spill
	callq	_VectorScale
	movss	-4(%rbp), %xmm0                 ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_2:
	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	_ColorNormalize                 ; -- Begin function ColorNormalize
	.p2align	2
_ColorNormalize:                        ; @ColorNormalize
	.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	s0, s1, s0, gt
	ldr	s1, [x0, #8]
	fcmp	s1, s0
	fcsel	s8, s1, s0, gt
	movi	d0, #0000000000000000
	fcmp	s8, #0.0
	b.eq	LBB0_2
; %bb.1:
	fmov	s0, #1.00000000
	fdiv	s0, s0, s8
	bl	_VectorScale
	fmov	s0, s8
LBB0_2:
	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
