	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Colours_SetRGB                 ## -- Begin function Colours_SetRGB
	.p2align	4, 0x90
_Colours_SetRGB:                        ## @Colours_SetRGB
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$255, %esi
	movl	$255, %eax
	cmovll	%esi, %eax
	shll	$16, %eax
	xorl	%r9d, %r9d
	testl	%esi, %esi
	cmovsl	%r9d, %eax
	cmpl	$255, %edx
	movl	$255, %esi
	cmovll	%edx, %esi
	shll	$8, %esi
	testl	%edx, %edx
	cmovsl	%r9d, %esi
	movl	$255, %edx
	cmpl	$255, %ecx
	cmovll	%ecx, %edx
	testl	%edx, %edx
	cmovlel	%r9d, %edx
	addl	%eax, %esi
	orl	%edx, %esi
	movslq	%edi, %rax
	movl	%esi, (%r8,%rax,4)
	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	_Colours_SetRGB                 ; -- Begin function Colours_SetRGB
	.p2align	2
_Colours_SetRGB:                        ; @Colours_SetRGB
	.cfi_startproc
; %bb.0:
	mov	w8, #255
	cmp	w1, #255
	csel	w9, w1, w8, lt
	lsl	w9, w9, #16
	cmp	w1, #0
	csel	w9, wzr, w9, lt
	cmp	w2, #255
	csel	w10, w2, w8, lt
	lsl	w10, w10, #8
	cmp	w2, #0
	csel	w10, wzr, w10, lt
	cmp	w3, #255
	csel	w8, w3, w8, lt
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	add	w9, w10, w9
	orr	w8, w9, w8
	str	w8, [x4, w0, sxtw #2]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
