	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ColorToRGBM
LCPI0_0:
	.long	0x3b808081                      ## float 0.00392156886
LCPI0_1:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ColorToRGBM
	.p2align	4, 0x90
_ColorToRGBM:                           ## @ColorToRGBM
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_VectorCopy
	xorps	%xmm0, %xmm0
	callq	_MAX
	callq	_MAX
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	callq	_CLAMP
	mulss	LCPI0_2(%rip), %xmm0
	callq	_ceil
	movb	%al, 3(%rbx)
	movzbl	%al, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_VectorScale                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ColorToRGBM                    ; -- Begin function ColorToRGBM
	.p2align	2
_ColorToRGBM:                           ; @ColorToRGBM
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_VectorCopy
	movi	d0, #0000000000000000
	bl	_MAX
	bl	_MAX
	mov	w8, #32897
	movk	w8, #15232, lsl #16
	fmov	s1, w8
	fmov	s2, #1.00000000
	bl	_CLAMP
	mov	w8, #1132396544
	fmov	s8, w8
	fmul	s0, s0, s8
	bl	_ceil
	strb	w0, [x19, #3]
	and	w8, w0, #0xff
	scvtf	s0, w8
	fdiv	s0, s8, s0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_VectorScale
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
