	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function UpdateYIQTableFromGenerated
LCPI0_0:
	.quad	0x4066800000000000              ## double 180
LCPI0_1:
	.quad	0x406fe00000000000              ## double 255
LCPI0_2:
	.quad	0xbfe0000000000000              ## double -0.5
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_4:
	.quad	0x3fc6666660000000              ## double 0.17499999701976776
LCPI0_7:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_8:
	.quad	0xbfe636113404ea4b              ## double -0.69410000000000005
LCPI0_9:
	.quad	0x3fd393dd97f62b6a              ## double 0.30589999999999995
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_5:
	.quad	0xbfe636113404ea4b              ## double -0.69410000000000005
	.quad	0xbfe636113404ea4b              ## double -0.69410000000000005
LCPI0_6:
	.quad	0x3fd393dd97f62b6a              ## double 0.30589999999999995
	.quad	0x3fd393dd97f62b6a              ## double 0.30589999999999995
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_UpdateYIQTableFromGenerated:           ## @UpdateYIQTableFromGenerated
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm0, -112(%rbp)               ## 8-byte Spill
	movq	%rdi, %r15
	movq	_COLOURS_NTSC_setup@GOTPCREL(%rip), %r14
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	8(%r14), %xmm2                  ## xmm2 = mem[0],zero
	mulsd	(%rax), %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -104(%rbp)               ## 8-byte Spill
	cvtsi2sdq	40(%r14), %xmm3
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm3
	cvtsi2sdq	32(%r14), %xmm4
	divsd	%xmm0, %xmm4
	movapd	%xmm2, %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
	addsd	%xmm2, %xmm0
	addsd	%xmm2, %xmm1
	mulsd	LCPI0_4(%rip), %xmm1
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	subsd	%xmm3, %xmm4
	movddup	%xmm4, %xmm1                    ## xmm1 = xmm4[0,0]
	movddup	%xmm3, %xmm2                    ## xmm2 = xmm3[0,0]
	xorl	%ebx, %ebx
	leaq	32(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	l___const.UpdateYIQTableFromGenerated.luma_mult(%rip), %r13
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movapd	%xmm3, -144(%rbp)               ## 16-byte Spill
	movapd	%xmm4, -128(%rbp)               ## 16-byte Spill
	movapd	%xmm1, -176(%rbp)               ## 16-byte Spill
	movapd	%xmm2, -160(%rbp)               ## 16-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$16, %ebx
	je	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movl	%ebx, %eax
	xorpd	%xmm0, %xmm0
	subl	$1, %eax
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	-104(%rbp), %xmm1               ## 8-byte Folded Reload
	movsd	-112(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	%xmm1, %xmm0
	callq	___sincos_stret
	movapd	%xmm0, %xmm3
	movddup	-64(%rbp), %xmm0                ## 16-byte Folded Reload
                                        ## xmm0 = mem[0,0]
	unpcklpd	%xmm1, %xmm3                    ## xmm3 = xmm3[0],xmm1[0]
	mulpd	%xmm0, %xmm3
	leaq	384(%r15), %rax
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	jbe	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r12
	xorl	%ebx, %ebx
	movapd	%xmm3, -64(%rbp)                ## 16-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rbx,%r13), %xmm0              ## xmm0 = mem[0],zero
	addsd	LCPI0_8(%rip), %xmm0
	divsd	LCPI0_9(%rip), %xmm0
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movapd	-64(%rbp), %xmm3                ## 16-byte Reload
	movsd	16(%r14), %xmm1                 ## xmm1 = mem[0],zero
	movsd	LCPI0_7(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	mulsd	%xmm0, %xmm1
	movsd	24(%r14), %xmm0                 ## xmm0 = mem[0],zero
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	mulsd	-128(%rbp), %xmm0               ## 16-byte Folded Reload
	addsd	-144(%rbp), %xmm0               ## 16-byte Folded Reload
	movsd	%xmm0, (%r15)
	movupd	%xmm3, 8(%r15)
	addq	$24, %r15
	addq	$8, %rbx
	cmpq	$128, %rbx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movddup	%xmm3, %xmm0                    ## xmm0 = xmm3[0,0]
	movapd	%xmm0, -192(%rbp)               ## 16-byte Spill
	unpckhpd	%xmm3, %xmm3                    ## xmm3 = xmm3[1,1]
	xorl	%r12d, %r12d
	movapd	%xmm3, -64(%rbp)                ## 16-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movapd	(%r12,%r13), %xmm0
	addpd	LCPI0_5(%rip), %xmm0
	divpd	LCPI0_6(%rip), %xmm0
	movapd	%xmm0, -208(%rbp)               ## 16-byte Spill
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movapd	%xmm0, -224(%rbp)               ## 16-byte Spill
	movapd	-208(%rbp), %xmm0               ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movapd	-64(%rbp), %xmm3                ## 16-byte Reload
	movapd	-224(%rbp), %xmm4               ## 16-byte Reload
	unpcklpd	%xmm0, %xmm4                    ## xmm4 = xmm4[0],xmm0[0]
	movsd	16(%r14), %xmm0                 ## xmm0 = mem[0],zero
	movsd	LCPI0_7(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm0
	addsd	LCPI0_3(%rip), %xmm0
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	mulpd	%xmm4, %xmm0
	movsd	24(%r14), %xmm1                 ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	addpd	%xmm0, %xmm1
	mulpd	-176(%rbp), %xmm1               ## 16-byte Folded Reload
	addpd	-160(%rbp), %xmm1               ## 16-byte Folded Reload
	movapd	%xmm1, %xmm0
	movapd	-192(%rbp), %xmm2               ## 16-byte Reload
	unpcklpd	%xmm2, %xmm0                    ## xmm0 = xmm0[0],xmm2[0]
	blendpd	$1, %xmm3, %xmm1                ## xmm1 = xmm3[0],xmm1[1]
	unpckhpd	%xmm3, %xmm2                    ## xmm2 = xmm2[1],xmm3[1]
	movupd	%xmm2, 32(%r15)
	movupd	%xmm1, 16(%r15)
	movupd	%xmm0, (%r15)
	addq	$16, %r12
	addq	$48, %r15
	cmpq	$128, %r12
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOURS_NTSC_setup,48,3        ## @COLOURS_NTSC_setup
	.comm	_M_PI,8,3                       ## @M_PI
	.section	__TEXT,__const
	.p2align	4                               ## @__const.UpdateYIQTableFromGenerated.luma_mult
l___const.UpdateYIQTableFromGenerated.luma_mult:
	.quad	0x3fe636113404ea4b              ## double 0.69410000000000005
	.quad	0x3fe6b0f27bb2fec5              ## double 0.70909999999999995
	.quad	0x3fe72bd3c3611340              ## double 0.72409999999999997
	.quad	0x3fe7aee631f8a090              ## double 0.74009999999999998
	.quad	0x3fe83126e978d4fe              ## double 0.75600000000000001
	.quad	0x3fe8c56d5cfaacda              ## double 0.77410000000000001
	.quad	0x3fe96113404ea4a9              ## double 0.79310000000000003
	.quad	0x3fe9fcb923a29c78              ## double 0.81210000000000004
	.quad	0x3fea6e978d4fdf3b              ## double 0.82599999999999996
	.quad	0x3feb1a9fbe76c8b4              ## double 0.84699999999999997
	.quad	0x3febd70a3d70a3d7              ## double 0.87
	.quad	0x3fec9374bc6a7efa              ## double 0.89300000000000002
	.quad	0x3fed4fdf3b645a1d              ## double 0.91600000000000004
	.quad	0x3fee24dd2f1a9fbe              ## double 0.94199999999999995
	.quad	0x3fef020c49ba5e35              ## double 0.96899999999999997
	.quad	0x3ff0000000000000              ## double 1

	.no_dead_strip	_UpdateYIQTableFromGenerated
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateYIQTableFromGenerated
_UpdateYIQTableFromGenerated:           ; @UpdateYIQTableFromGenerated
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	d15, d14, [sp, #208]            ; 16-byte Folded Spill
	stp	d13, d12, [sp, #224]            ; 16-byte Folded Spill
	stp	d11, d10, [sp, #240]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #256]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	fmov	d8, d0
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x21, _COLOURS_NTSC_setup@GOTPAGE
Lloh1:
	ldr	x21, [x21, _COLOURS_NTSC_setup@GOTPAGEOFF]
Lloh2:
	adrp	x8, _M_PI@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh4:
	ldr	d0, [x8]
	ldp	d2, d3, [x21]
	fmul	d0, d2, d0
	mov	x8, #140737488355328
	movk	x8, #16486, lsl #48
	fmov	d2, x8
	fdiv	d10, d0, d2
	ldp	d2, d0, [x21, #32]
	scvtf	d0, d0
	mov	x8, #246290604621824
	movk	x8, #16495, lsl #48
	fmov	d4, x8
	fdiv	d5, d0, d4
	scvtf	d0, d2
	fdiv	d0, d0, d4
	fmov	d2, #-0.50000000
	fmul	d2, d3, d2
	fmov	d11, #1.00000000
	fadd	d9, d2, d11
	fadd	d1, d1, d11
	mov	x8, #1610612736
	movk	x8, #26214, lsl #32
	movk	x8, #16326, lsl #48
	fmov	d2, x8
	fmul	d12, d1, d2
	fsub	d0, d0, d5
	dup.2d	v1, v0[0]
	dup.2d	v2, v5[0]
	movi	d13, #0000000000000000
Lloh5:
	adrp	x22, l___const.UpdateYIQTableFromGenerated.luma_mult@PAGE
Lloh6:
	add	x22, x22, l___const.UpdateYIQTableFromGenerated.luma_mult@PAGEOFF
	mov	x23, #59979
	movk	x23, #13316, lsl #16
	movk	x23, #13841, lsl #32
	movk	x23, #49126, lsl #48
	dup.2d	v3, x23
	mov	x24, #11114
	movk	x24, #38902, lsl #16
	movk	x24, #37853, lsl #32
	movk	x24, #16339, lsl #48
	dup.2d	v4, x24
	fmov.2d	v6, #0.50000000
	fmov.2d	v7, #1.00000000
	fmov	d14, #0.50000000
	stp	q0, q5, [sp, #96]               ; 32-byte Folded Spill
	stp	q2, q1, [sp, #64]               ; 32-byte Folded Spill
	stp	q4, q3, [sp, #32]               ; 32-byte Folded Spill
	stp	q7, q6, [sp]                    ; 32-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	mov	x19, x25
	cmp	w20, #16
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_4 Depth 2
	sub	w8, w20, #1
	scvtf	d0, w8
	fmsub	d0, d0, d10, d8
	cmp	w20, #0
	fcsel	d15, d13, d12, eq
	bl	___sincos_stret
	fmul	d2, d15, d0
	fmul	d0, d15, d1
	add	x25, x19, #384
	add	x8, x21, #32
	cmp	x19, x8
	add	x8, x21, #16
	mov	x26, #0
	ccmp	x25, x8, #0, lo
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	dup.2d	v2, v2[0]
	dup.2d	v3, v0[0]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, sp, #160
	st1.2d	{ v1, v2, v3 }, [x8]            ; 48-byte Folded Spill
	ldr	q0, [x22, x26]
	ldr	q1, [sp, #48]                   ; 16-byte Folded Reload
	fadd.2d	v0, v0, v1
	ldr	q1, [sp, #32]                   ; 16-byte Folded Reload
	fdiv.2d	v0, v0, v1
	str	q0, [sp, #128]                  ; 16-byte Folded Spill
                                        ; kill: def $d0 killed $d0 killed $q0
	fmov	d1, d9
	bl	_pow
	str	q0, [sp, #144]                  ; 16-byte Folded Spill
	ldr	q0, [sp, #128]                  ; 16-byte Folded Reload
	mov	d0, v0[1]
	fmov	d1, d9
	bl	_pow
                                        ; kill: def $d0 killed $d0 def $q0
	ldr	q4, [sp, #144]                  ; 16-byte Folded Reload
	mov.d	v4[1], v0[0]
	ldp	q0, q3, [sp]                    ; 32-byte Folded Reload
	ldp	d1, d2, [x21, #16]
	fmla.2d	v0, v3, v1[0]
	fmul.2d	v0, v0, v4
	fmla.2d	v0, v3, v2[0]
	add	x8, sp, #160
	ld1.2d	{ v1, v2, v3 }, [x8]            ; 48-byte Folded Reload
	ldr	q4, [sp, #64]                   ; 16-byte Folded Reload
	mov.16b	v1, v4
	ldr	q4, [sp, #80]                   ; 16-byte Folded Reload
	fmla.2d	v1, v4, v0
	st3.2d	{ v1, v2, v3 }, [x19], #48
	add	x26, x26, #16
	cmp	x26, #128
	b.ne	LBB0_4
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	stp	q2, q0, [sp, #144]              ; 32-byte Folded Spill
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x22, x26]
	fmov	d1, x23
	fadd	d0, d0, d1
	fmov	d1, x24
	fdiv	d0, d0, d1
	fmov	d1, d9
	bl	_pow
	ldp	d1, d2, [x21, #16]
	fmadd	d1, d1, d14, d11
	fmul	d0, d1, d0
	fmadd	d0, d2, d14, d0
	ldp	q3, q1, [sp, #96]               ; 32-byte Folded Reload
	fmadd	d4, d0, d3, d1
	ldp	q2, q0, [sp, #144]              ; 32-byte Folded Reload
	stp	d4, d2, [x19]
	add	x25, x19, #24
	str	d0, [x19, #16]
	add	x26, x26, #8
	mov	x19, x25
	cmp	x26, #128
	b.ne	LBB0_6
	b	LBB0_1
LBB0_7:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #256]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #240]            ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #224]            ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOURS_NTSC_setup,48,3        ; @COLOURS_NTSC_setup
	.comm	_M_PI,8,3                       ; @M_PI
	.section	__TEXT,__const
	.p2align	3                               ; @__const.UpdateYIQTableFromGenerated.luma_mult
l___const.UpdateYIQTableFromGenerated.luma_mult:
	.quad	0x3fe636113404ea4b              ; double 0.69410000000000005
	.quad	0x3fe6b0f27bb2fec5              ; double 0.70909999999999995
	.quad	0x3fe72bd3c3611340              ; double 0.72409999999999997
	.quad	0x3fe7aee631f8a090              ; double 0.74009999999999998
	.quad	0x3fe83126e978d4fe              ; double 0.75600000000000001
	.quad	0x3fe8c56d5cfaacda              ; double 0.77410000000000001
	.quad	0x3fe96113404ea4a9              ; double 0.79310000000000003
	.quad	0x3fe9fcb923a29c78              ; double 0.81210000000000004
	.quad	0x3fea6e978d4fdf3b              ; double 0.82599999999999996
	.quad	0x3feb1a9fbe76c8b4              ; double 0.84699999999999997
	.quad	0x3febd70a3d70a3d7              ; double 0.87
	.quad	0x3fec9374bc6a7efa              ; double 0.89300000000000002
	.quad	0x3fed4fdf3b645a1d              ; double 0.91600000000000004
	.quad	0x3fee24dd2f1a9fbe              ; double 0.94199999999999995
	.quad	0x3fef020c49ba5e35              ; double 0.96899999999999997
	.quad	0x3ff0000000000000              ; double 1

	.no_dead_strip	_UpdateYIQTableFromGenerated
.subsections_via_symbols
