	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function color_to_float
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_color_to_float:                        ## @color_to_float
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	$-1, %r8d
	movl	$-1, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	cmpl	$32, %esi
	notl	%eax
	cmovgel	%r8d, %eax
	movl	%edx, %ecx
	sarl	%cl, %edi
	andl	%eax, %edi
	cvtsi2ss	%edi, %xmm0
	cvtsi2ss	%eax, %xmm1
	divss	%xmm1, %xmm0
	retq
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_color_to_float
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function color_to_float
_color_to_float:                        ; @color_to_float
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	mov	w8, #-1
	lsl	w9, w8, w1
	cmp	w1, #32
	csinv	w8, w8, w9, ge
	asr	w9, w0, w2
	and	w9, w9, w8
	scvtf	s0, w9
	scvtf	s1, w8
	fdiv	s0, s0, s1
	ret
LBB0_2:
	fmov	s0, #1.00000000
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_color_to_float
.subsections_via_symbols
