	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function init_colormatrix
LCPI0_0:
	.quad	0x3fbd2f1a9fbe76c9              ## double 0.114
LCPI0_1:
	.quad	0x3fd322d0e5604189              ## double 0.29899999999999999
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_4:
	.quad	0x406b600000000000              ## double 219
LCPI0_6:
	.quad	0xc05c000000000000              ## double -112
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_3:
	.quad	0x406b600000000000              ## double 219
	.quad	0x406b600000000000              ## double 219
LCPI0_5:
	.quad	0xc05c000000000000              ## double -112
	.quad	0xc05c000000000000              ## double -112
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_colormatrix:                      ## @init_colormatrix
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.init_colormatrix(%rip), %rcx
	movsd	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	leaq	l_switch.table.init_colormatrix.1(%rip), %rcx
	movsd	(%rcx,%rax,8), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_3
LBB0_1:
	movl	16(%rbx), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$128, (%rbx)
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_3:
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm3
	subsd	%xmm0, %xmm3
	movddup	%xmm3, %xmm4                    ## xmm4 = xmm3[0,0]
	subsd	%xmm1, %xmm3
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	unpcklpd	%xmm3, %xmm0                    ## xmm0 = xmm0[0],xmm3[0]
	movapd	LCPI0_3(%rip), %xmm3            ## xmm3 = [2.19E+2,2.19E+2]
	mulpd	%xmm0, %xmm3
	movupd	%xmm3, (%rcx)
	movsd	LCPI0_4(%rip), %xmm3            ## xmm3 = mem[0],zero
	mulsd	%xmm1, %xmm3
	movsd	%xmm3, 16(%rcx)
	subsd	%xmm1, %xmm2
	movq	8(%rax), %rcx
	mulpd	LCPI0_5(%rip), %xmm0
	movddup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0]
	movapd	%xmm0, %xmm3
	divpd	%xmm2, %xmm3
	movupd	%xmm3, (%rcx)
	movabsq	$4637581716284768256, %rdx      ## imm = 0x405C000000000000
	movq	%rdx, 16(%rcx)
	movq	16(%rax), %rax
	mulsd	LCPI0_6(%rip), %xmm1
	movq	%rdx, (%rax)
	shufpd	$1, %xmm1, %xmm0                ## xmm0 = xmm0[1],xmm1[0]
	divpd	%xmm4, %xmm0
	movupd	%xmm0, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported colorspace, setting it to unspecified.\n"

	.no_dead_strip	_init_colormatrix
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.init_colormatrix
l_switch.table.init_colormatrix:
	.quad	0x3fd322d0e5604189              ## double 0.29899999999999999
	.quad	0x3fcb22d0e5604189              ## double 0.21199999999999999
	.quad	0x3fd322d0e5604189              ## double 0.29899999999999999
	.quad	0x3fd3333333333333              ## double 0.29999999999999999
	.quad	0x3fcb367a0f9096bc              ## double 0.21260000000000001
	.quad	0x3fd322d0e5604189              ## double 0.29899999999999999
	.quad	0x3fd0d013a92a3055              ## double 0.26269999999999999

	.p2align	3                               ## @switch.table.init_colormatrix.1
l_switch.table.init_colormatrix.1:
	.quad	0x3fbd2f1a9fbe76c9              ## double 0.114
	.quad	0x3fb645a1cac08312              ## double 0.086999999999999994
	.quad	0x3fbd2f1a9fbe76c9              ## double 0.114
	.quad	0x3fbc28f5c28f5c29              ## double 0.11
	.quad	0x3fb27bb2fec56d5d              ## double 0.0722
	.quad	0x3fbd2f1a9fbe76c9              ## double 0.114
	.quad	0x3fae5c91d14e3bcd              ## double 0.059299999999999999

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_colormatrix
_init_colormatrix:                      ; @init_colormatrix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hs	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.init_colormatrix@PAGE
Lloh1:
	add	x9, x9, l_switch.table.init_colormatrix@PAGEOFF
	ldr	d1, [x9, x8]
Lloh2:
	adrp	x9, l_switch.table.init_colormatrix.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.init_colormatrix.1@PAGEOFF
	ldr	d0, [x9, x8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #16]
Lloh4:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w8, #128
	str	w8, [x19]
	mov	x8, #30409
	movk	x8, #40894, lsl #16
	movk	x8, #12058, lsl #32
	movk	x8, #16317, lsl #48
	fmov	d0, x8
	mov	x8, #16777
	movk	x8, #58720, lsl #16
	movk	x8, #8912, lsl #32
	movk	x8, #16339, lsl #48
	fmov	d1, x8
LBB0_3:
	fmov	d2, #1.00000000
	fsub	d3, d2, d1
	fsub	d4, d3, d0
	mov	x8, #105553116266496
	movk	x8, #16491, lsl #48
	fmov	d5, x8
	fmul	d6, d1, d5
	ldr	x8, [x19, #8]
	fmul	d7, d4, d5
	ldp	x9, x10, [x8]
	stp	d6, d7, [x9]
	fmul	d5, d0, d5
	str	d5, [x9, #16]
	mov	x9, #-4585790320570007552
	dup.2d	v5, x9
	fmov	d6, x9
	fmul	d1, d1, d6
	fsub	d2, d2, d0
	fdiv	d1, d1, d2
	mov	x9, #4637581716284768256
	str	x9, [x10, #16]
	ldr	x8, [x8, #16]
	mov.d	v4[1], v0[0]
	fmul.2d	v0, v4, v5
	fdiv	d2, d0, d2
	stp	d1, d2, [x10]
	str	x9, [x8]
	dup.2d	v1, v3[0]
	fdiv.2d	v0, v0, v1
	stur	q0, [x8, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported colorspace, setting it to unspecified.\n"

	.no_dead_strip	_init_colormatrix
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.init_colormatrix
l_switch.table.init_colormatrix:
	.quad	0x3fd322d0e5604189              ; double 0.29899999999999999
	.quad	0x3fcb22d0e5604189              ; double 0.21199999999999999
	.quad	0x3fd322d0e5604189              ; double 0.29899999999999999
	.quad	0x3fd3333333333333              ; double 0.29999999999999999
	.quad	0x3fcb367a0f9096bc              ; double 0.21260000000000001
	.quad	0x3fd322d0e5604189              ; double 0.29899999999999999
	.quad	0x3fd0d013a92a3055              ; double 0.26269999999999999

	.p2align	3                               ; @switch.table.init_colormatrix.1
l_switch.table.init_colormatrix.1:
	.quad	0x3fbd2f1a9fbe76c9              ; double 0.114
	.quad	0x3fb645a1cac08312              ; double 0.086999999999999994
	.quad	0x3fbd2f1a9fbe76c9              ; double 0.114
	.quad	0x3fbc28f5c28f5c29              ; double 0.11
	.quad	0x3fb27bb2fec56d5d              ; double 0.0722
	.quad	0x3fbd2f1a9fbe76c9              ; double 0.114
	.quad	0x3fae5c91d14e3bcd              ; double 0.059299999999999999

.subsections_via_symbols
