	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function HueToRGB
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xbf800000                      ## float -1
LCPI0_2:
	.long	0x40c00000                      ## float 6
LCPI0_3:
	.long	0x40400000                      ## float 3
LCPI0_4:
	.long	0x40000000                      ## float 2
LCPI0_5:
	.long	0x3f2aaaab                      ## float 0.666666686
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_HueToRGB:                              ## @HueToRGB
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm3
	addss	%xmm4, %xmm3
	xorps	%xmm5, %xmm5
	movaps	%xmm2, %xmm6
	cmpltss	%xmm5, %xmm6
	andps	%xmm6, %xmm3
	andnps	%xmm2, %xmm6
	orps	%xmm3, %xmm6
	movaps	%xmm4, %xmm3
	movaps	%xmm6, %xmm2
	addss	LCPI0_1(%rip), %xmm2
	cmpltss	%xmm6, %xmm3
	andps	%xmm3, %xmm2
	andnps	%xmm6, %xmm3
	orps	%xmm2, %xmm3
	movaps	%xmm3, %xmm2
	mulss	LCPI0_2(%rip), %xmm2
	ucomiss	%xmm2, %xmm4
	jbe	LBB0_2
## %bb.1:
	subss	%xmm0, %xmm1
	mulss	LCPI0_2(%rip), %xmm1
	mulss	%xmm3, %xmm1
	addss	%xmm0, %xmm1
	jmp	LBB0_5
LBB0_2:
	movaps	%xmm3, %xmm2
	addss	%xmm3, %xmm2
	ucomiss	%xmm2, %xmm4
	ja	LBB0_5
## %bb.3:
	movss	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	movss	LCPI0_4(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm4
	jbe	LBB0_4
## %bb.6:
	subss	%xmm0, %xmm1
	movss	LCPI0_5(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	subss	%xmm3, %xmm2
	mulss	%xmm1, %xmm2
	mulss	LCPI0_2(%rip), %xmm2
	addss	%xmm0, %xmm2
	movaps	%xmm2, %xmm0
	popq	%rbp
	retq
LBB0_4:
	movaps	%xmm0, %xmm1
LBB0_5:
	movaps	%xmm1, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_HueToRGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HueToRGB
_HueToRGB:                              ; @HueToRGB
	.cfi_startproc
; %bb.0:
	fmov	s3, #1.00000000
	fadd	s4, s2, s3
	fcmp	s2, #0.0
	fcsel	s2, s4, s2, mi
	fmov	s4, #-1.00000000
	fadd	s4, s2, s4
	fcmp	s2, s3
	fcsel	s2, s4, s2, gt
	fmov	s4, #6.00000000
	fmul	s5, s2, s4
	fcmp	s5, s3
	b.pl	LBB0_2
; %bb.1:
	fsub	s1, s1, s0
	fmul	s1, s1, s4
	fmadd	s0, s1, s2, s0
	ret
LBB0_2:
	fadd	s4, s2, s2
	fcmp	s4, s3
	b.mi	LBB0_6
; %bb.3:
	fmov	s3, #3.00000000
	fmul	s3, s2, s3
	fmov	s4, #2.00000000
	fcmp	s3, s4
	b.pl	LBB0_5
; %bb.4:
	fsub	s1, s1, s0
	mov	w8, #43691
	movk	w8, #16170, lsl #16
	fmov	s3, w8
	fsub	s2, s3, s2
	fmul	s1, s1, s2
	fmov	s2, #6.00000000
	fmadd	s0, s1, s2, s0
	ret
LBB0_5:
	fmov	s1, s0
LBB0_6:
	fmov	s0, s1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_HueToRGB
.subsections_via_symbols
