	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ColorToRGB16
LCPI0_0:
	.long	0x477fff00                      ## float 65535
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ColorToRGB16
	.p2align	4, 0x90
_ColorToRGB16:                          ## @ColorToRGB16
	.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), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm1
	movss	%xmm1, (%rsi)
	movss	4(%rdi), %xmm1                  ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	movss	%xmm1, 4(%rsi)
	mulss	8(%rdi), %xmm0
	addss	%xmm2, %xmm0
	movss	%xmm0, 8(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ColorToRGB16                   ; -- Begin function ColorToRGB16
	.p2align	2
_ColorToRGB16:                          ; @ColorToRGB16
	.cfi_startproc
; %bb.0:
	ldr	s0, [x0]
	mov	w8, #65280
	movk	w8, #18303, lsl #16
	fmov	s1, w8
	fmov	s2, #0.50000000
	fmadd	s0, s0, s1, s2
	str	s0, [x1]
	ldr	s0, [x0, #4]
	fmadd	s0, s0, s1, s2
	str	s0, [x1, #4]
	ldr	s0, [x0, #8]
	fmadd	s0, s0, s1, s2
	str	s0, [x1, #8]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
