	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_fill_rgb2xyz_table
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_fill_rgb2xyz_table
	.p2align	4, 0x90
_ff_fill_rgb2xyz_table:                 ## @ff_fill_rgb2xyz_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	divsd	8(%rdi), %xmm0
	movsd	%xmm0, (%rdx)
	movsd	16(%rdi), %xmm0                 ## xmm0 = mem[0],zero
	divsd	24(%rdi), %xmm0
	movsd	%xmm0, 8(%rdx)
	movsd	32(%rdi), %xmm0                 ## xmm0 = mem[0],zero
	divsd	40(%rdi), %xmm0
	movsd	%xmm0, 16(%rdx)
	movabsq	$4607182418800017408, %rax      ## imm = 0x3FF0000000000000
	movq	%rax, 40(%rdx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1.0E+0,1.0E+0]
	movups	%xmm0, 24(%rdx)
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	subsd	(%rdi), %xmm0
	movsd	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, 48(%rdx)
	movapd	%xmm2, %xmm0
	subsd	16(%rdi), %xmm0
	movsd	24(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, 56(%rdx)
	movapd	%xmm2, %xmm0
	subsd	32(%rdi), %xmm0
	movsd	40(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, 64(%rdx)
	leaq	-96(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_ff_matrix_invert_3x3
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	8(%r14), %xmm1                  ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm6            ## xmm6 = mem[0],zero
	subsd	%xmm0, %xmm6
	subsd	%xmm1, %xmm6
	movddup	%xmm1, %xmm2                    ## xmm2 = xmm1[0,0]
	mulsd	-40(%rbp), %xmm1
	movddup	%xmm0, %xmm3                    ## xmm3 = xmm0[0,0]
	mulsd	-48(%rbp), %xmm0
	movddup	%xmm6, %xmm4                    ## xmm4 = xmm6[0,0]
	mulsd	-32(%rbp), %xmm6
	addsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm6
	movapd	-96(%rbp), %xmm1
	movupd	-88(%rbp), %xmm5
	movapd	-80(%rbp), %xmm0
	movhpd	-64(%rbp), %xmm5                ## xmm5 = xmm5[0],mem[0]
	mulpd	%xmm2, %xmm5
	movhpd	-72(%rbp), %xmm1                ## xmm1 = xmm1[0],mem[0]
	mulpd	%xmm3, %xmm1
	addpd	%xmm5, %xmm1
	movhpd	-56(%rbp), %xmm0                ## xmm0 = xmm0[0],mem[0]
	mulpd	%xmm4, %xmm0
	addpd	%xmm1, %xmm0
	movupd	(%rbx), %xmm1
	movupd	16(%rbx), %xmm2
	movupd	32(%rbx), %xmm3
	movupd	48(%rbx), %xmm4
	mulpd	%xmm0, %xmm1
	movupd	%xmm1, (%rbx)
	movapd	%xmm6, %xmm1
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	mulpd	%xmm2, %xmm1
	movupd	%xmm1, 16(%rbx)
	mulpd	%xmm0, %xmm4
	shufpd	$1, %xmm6, %xmm0                ## xmm0 = xmm0[1],xmm6[0]
	mulpd	%xmm3, %xmm0
	movupd	%xmm0, 32(%rbx)
	movupd	%xmm4, 48(%rbx)
	mulsd	64(%rbx), %xmm6
	movsd	%xmm6, 64(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fill_rgb2xyz_table          ; -- Begin function ff_fill_rgb2xyz_table
	.p2align	2
_ff_fill_rgb2xyz_table:                 ; @ff_fill_rgb2xyz_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	d0, d1, [x0]
	fdiv	d0, d0, d1
	str	d0, [x2]
	ldp	d0, d1, [x0, #16]
	fdiv	d0, d0, d1
	str	d0, [x2, #8]
	ldp	d0, d1, [x0, #32]
	fdiv	d0, d0, d1
	str	d0, [x2, #16]
	mov	x8, #4607182418800017408
	str	x8, [x2, #40]
	fmov.2d	v0, #1.00000000
	stur	q0, [x2, #24]
	fmov	d8, #1.00000000
	ldp	d0, d1, [x0]
	fsub	d0, d8, d0
	fsub	d0, d0, d1
	fdiv	d0, d0, d1
	str	d0, [x2, #48]
	ldp	d0, d1, [x0, #16]
	fsub	d0, d8, d0
	fsub	d0, d0, d1
	fdiv	d0, d0, d1
	str	d0, [x2, #56]
	ldp	d0, d1, [x0, #32]
	fsub	d0, d8, d0
	fsub	d0, d0, d1
	fdiv	d0, d0, d1
	str	d0, [x2, #64]
	mov	x1, sp
	mov	x0, x2
	bl	_ff_matrix_invert_3x3
	ldp	d0, d1, [x20]
	fsub	d2, d8, d0
	fsub	d2, d2, d1
	ldp	d3, d4, [sp]
	fmul	d4, d1, d4
	fmadd	d3, d3, d0, d4
	ldp	d4, d5, [sp, #16]
	fmadd	d3, d4, d2, d3
	ldp	d4, d6, [sp, #32]
	fmul	d4, d1, d4
	fmadd	d4, d5, d0, d4
	fmadd	d4, d6, d2, d4
	ldp	d5, d6, [sp, #48]
	fmul	d1, d1, d6
	fmadd	d0, d5, d0, d1
	ldr	d1, [sp, #64]
	fmadd	d0, d1, d2, d0
	ldp	d1, d2, [x19]
	fmul	d1, d3, d1
	fmul	d2, d4, d2
	stp	d1, d2, [x19]
	ldp	d1, d2, [x19, #16]
	fmul	d1, d0, d1
	fmul	d2, d3, d2
	stp	d1, d2, [x19, #16]
	ldp	d1, d2, [x19, #32]
	fmul	d1, d4, d1
	fmul	d2, d0, d2
	stp	d1, d2, [x19, #32]
	ldp	d1, d2, [x19, #48]
	fmul	d1, d3, d1
	fmul	d2, d4, d2
	stp	d1, d2, [x19, #48]
	ldr	d1, [x19, #64]
	fmul	d0, d0, d1
	str	d0, [x19, #64]
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
