	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function HSVtoRGB
LCPI0_0:
	.long	0x40a00000                      ## float 5
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_HSVtoRGB:                              ## @HSVtoRGB
	.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
	movss	%xmm2, -20(%rbp)                ## 4-byte Spill
	movss	%xmm1, -16(%rbp)                ## 4-byte Spill
	mulss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, -12(%rbp)                ## 4-byte Spill
	callq	_floor
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.1:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	-12(%rbp), %xmm6                ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm6
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	movss	-16(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	subss	%xmm4, %xmm0
	movss	-20(%rbp), %xmm5                ## 4-byte Reload
                                        ## xmm5 = mem[0],zero,zero,zero
	mulss	%xmm5, %xmm0
	movaps	%xmm4, %xmm3
	mulss	%xmm6, %xmm3
	movaps	%xmm1, %xmm2
	subss	%xmm3, %xmm2
	mulss	%xmm5, %xmm2
	movaps	%xmm1, %xmm3
	subss	%xmm6, %xmm3
	mulss	%xmm4, %xmm3
	subss	%xmm3, %xmm1
	mulss	%xmm5, %xmm1
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movaps	%xmm5, %xmm3
	movaps	%xmm1, %xmm4
	jmpq	*%rax
LBB0_2:
	movaps	%xmm2, %xmm3
	movaps	%xmm5, %xmm4
	jmp	LBB0_7
LBB0_3:
	movaps	%xmm0, %xmm3
	movaps	%xmm5, %xmm4
	movaps	%xmm1, %xmm0
	jmp	LBB0_7
LBB0_4:
	movaps	%xmm0, %xmm3
	movaps	%xmm2, %xmm4
	movaps	%xmm5, %xmm0
	jmp	LBB0_7
LBB0_5:
	movaps	%xmm1, %xmm3
	movaps	%xmm0, %xmm4
	movaps	%xmm5, %xmm0
	jmp	LBB0_7
LBB0_6:
	movaps	%xmm5, %xmm3
	movaps	%xmm0, %xmm4
	movaps	%xmm2, %xmm0
LBB0_7:
	movss	%xmm3, (%rbx)
	movss	%xmm4, 4(%rbx)
	movss	%xmm0, 8(%rbx)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_HSVtoRGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HSVtoRGB
_HSVtoRGB:                              ; @HSVtoRGB
	.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
	fmov	s8, s2
	fmov	s9, s1
	fmov	s1, #5.00000000
	fmul	s10, s0, s1
	fmov	s0, s10
	bl	_floor
	cmp	w0, #5
	b.hi	LBB0_8
; %bb.1:
	scvtf	s0, w0
	fsub	s1, s10, s0
	fmov	s2, #1.00000000
	fsub	s0, s2, s9
	fmul	s0, s0, s8
	fmsub	s3, s9, s1, s2
	fmul	s3, s3, s8
	fsub	s1, s2, s1
	fmsub	s1, s9, s1, s2
	fmul	s4, s1, s8
	mov	w8, w0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	fmov	s1, s8
	fmov	s2, s4
	br	x10
LBB0_2:
	fmov	s1, s3
	fmov	s2, s8
	b	LBB0_7
LBB0_3:
	fmov	s1, s0
	fmov	s2, s8
	fmov	s0, s4
	b	LBB0_7
LBB0_4:
	fmov	s1, s0
	fmov	s2, s3
	fmov	s0, s8
	b	LBB0_7
LBB0_5:
	fmov	s1, s4
	fmov	s2, s0
	fmov	s0, s8
	b	LBB0_7
LBB0_6:
	fmov	s1, s8
	fmov	s2, s0
	fmov	s0, s3
LBB0_7:
	str	s1, [x19]
	str	s2, [x19, #4]
	str	s0, [x19, #8]
LBB0_8:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_HSVtoRGB
.subsections_via_symbols
