	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function HSLToRGB
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x3eaaaaab                      ## float 0.333333343
LCPI0_3:
	.long	0xbeaaaaab                      ## float -0.333333343
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_HSLToRGB:                              ## @HSLToRGB
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movaps	%xmm0, %xmm3
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	movss	%xmm2, 8(%rbx)
	movss	%xmm2, 4(%rbx)
	movss	%xmm2, (%rbx)
	jmp	LBB0_6
LBB0_2:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm0
	jbe	LBB0_4
## %bb.3:
	addss	LCPI0_1(%rip), %xmm1
	mulss	%xmm2, %xmm1
	jmp	LBB0_5
LBB0_4:
	movaps	%xmm2, %xmm0
	mulss	%xmm1, %xmm0
	addss	%xmm2, %xmm1
	subss	%xmm0, %xmm1
LBB0_5:
	addss	%xmm2, %xmm2
	subss	%xmm1, %xmm2
	movaps	%xmm2, %xmm0
	movss	%xmm2, -20(%rbp)                ## 4-byte Spill
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	addss	%xmm3, %xmm2
	movss	%xmm1, -16(%rbp)                ## 4-byte Spill
	movss	%xmm3, -12(%rbp)                ## 4-byte Spill
	callq	_HueToRGB
	movss	%xmm0, (%rbx)
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-16(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-12(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_HueToRGB
	movss	%xmm0, 4(%rbx)
	movss	-12(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	addss	LCPI0_3(%rip), %xmm2
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-16(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_HueToRGB
	movss	%xmm0, 8(%rbx)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_HSLToRGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HSLToRGB
_HSLToRGB:                              ; @HSLToRGB
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x0
	fcmp	s1, #0.0
	b.ne	LBB0_2
; %bb.1:
	stp	s2, s2, [x19, #4]
	str	s2, [x19]
	b	LBB0_3
LBB0_2:
	fmov	s8, s0
	fmov	s0, #0.50000000
	fcmp	s2, s0
	fadd	s0, s1, s2
	fmsub	s0, s2, s1, s0
	fmov	s3, #1.00000000
	fadd	s1, s1, s3
	fmul	s1, s1, s2
	fcsel	s9, s0, s1, pl
	fmov	s0, #2.00000000
	fnmsub	s10, s2, s0, s9
	mov	w8, #43691
	movk	w8, #16042, lsl #16
	fmov	s0, w8
	fadd	s2, s8, s0
	fmov	s0, s10
	fmov	s1, s9
	bl	_HueToRGB
	str	s0, [x19]
	fmov	s0, s10
	fmov	s1, s9
	fmov	s2, s8
	bl	_HueToRGB
	str	s0, [x19, #4]
	mov	w8, #43691
	movk	w8, #48810, lsl #16
	fmov	s0, w8
	fadd	s2, s8, s0
	fmov	s0, s10
	fmov	s1, s9
	bl	_HueToRGB
	str	s0, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_HSLToRGB
.subsections_via_symbols
