	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function YIQ2RGB
LCPI0_0:
	.quad	0x3fee9a027525460b              ## double 0.95630000000000004
LCPI0_1:
	.quad	0x3fe3df3b645a1cac              ## double 0.621
LCPI0_2:
	.quad	0xbfd16a161e4f7660              ## double -0.27210000000000001
LCPI0_3:
	.quad	0xbfe4b780346dc5d6              ## double -0.64739999999999998
LCPI0_4:
	.quad	0xbff1b645a1cac083              ## double -1.107
LCPI0_5:
	.quad	0x3ffb460aa64c2f83              ## double 1.7045999999999999
LCPI0_6:
	.quad	0x406fe00000000000              ## double 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_YIQ2RGB:                               ## @YIQ2RGB
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rbx), %xmm1                   ## xmm1 = mem[0],zero
	movsd	8(%rbx), %xmm2                  ## xmm2 = mem[0],zero
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movapd	%xmm2, %xmm3
	mulsd	LCPI0_0(%rip), %xmm3
	addsd	%xmm1, %xmm3
	movapd	%xmm0, %xmm4
	mulsd	LCPI0_1(%rip), %xmm4
	addsd	%xmm3, %xmm4
	movapd	%xmm2, %xmm3
	mulsd	LCPI0_2(%rip), %xmm3
	addsd	%xmm1, %xmm3
	movapd	%xmm0, %xmm5
	mulsd	LCPI0_3(%rip), %xmm5
	addsd	%xmm3, %xmm5
	mulsd	LCPI0_4(%rip), %xmm2
	addsd	%xmm1, %xmm2
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm4
	cvttsd2si	%xmm4, %esi
	mulsd	LCPI0_5(%rip), %xmm0
	mulsd	%xmm1, %xmm5
	cvttsd2si	%xmm5, %edx
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	%r15d, %edi
	movq	%r14, %r8
	callq	_Colours_SetRGB
	incl	%r15d
	addq	$24, %rbx
	cmpl	$256, %r15d                     ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_YIQ2RGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function YIQ2RGB
_YIQ2RGB:                               ; @YIQ2RGB
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	mov	x22, #17931
	movk	x22, #29989, lsl #16
	movk	x22, #39426, lsl #32
	movk	x22, #16366, lsl #48
	mov	x23, #7340
	movk	x23, #25690, lsl #16
	movk	x23, #57147, lsl #32
	movk	x23, #16355, lsl #48
	mov	x24, #30304
	movk	x24, #7759, lsl #16
	movk	x24, #27158, lsl #32
	movk	x24, #49105, lsl #48
	mov	x25, #50646
	movk	x25, #13421, lsl #16
	movk	x25, #46976, lsl #32
	movk	x25, #49124, lsl #48
	mov	x26, #49283
	movk	x26, #41418, lsl #16
	movk	x26, #46661, lsl #32
	movk	x26, #49137, lsl #48
	mov	x27, #12163
	movk	x27, #42572, lsl #16
	movk	x27, #17930, lsl #32
	movk	x27, #16379, lsl #48
	mov	x28, #246290604621824
	movk	x28, #16495, lsl #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x19]
	ldr	d2, [x19, #16]
	fmov	d3, x22
	fmadd	d3, d1, d3, d0
	fmov	d4, x23
	fmadd	d3, d2, d4, d3
	fmov	d4, x24
	fmadd	d4, d1, d4, d0
	fmov	d5, x25
	fmadd	d4, d2, d5, d4
	fmov	d5, x26
	fmadd	d0, d1, d5, d0
	fmov	d1, x27
	fmadd	d0, d2, d1, d0
	fmov	d1, x28
	fmul	d2, d3, d1
	fcvtzs	w1, d2
	fmul	d2, d4, d1
	fcvtzs	w2, d2
	fmul	d0, d0, d1
	fcvtzs	w3, d0
	mov	x0, x21
	mov	x4, x20
	bl	_Colours_SetRGB
	add	w21, w21, #1
	add	x19, x19, #24
	cmp	w21, #256
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_YIQ2RGB
.subsections_via_symbols
