	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ff_fill_rgb2yuv_table
LCPI0_0:
	.quad	0x3fd0000000000000              ## double 0.25
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_fill_rgb2yuv_table
	.p2align	4, 0x90
_ff_fill_rgb2yuv_table:                 ## @ff_fill_rgb2yuv_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	jne	LBB0_5
	jp	LBB0_5
## %bb.1:
	movsd	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero
	ucomisd	LCPI0_1(%rip), %xmm1
	jne	LBB0_5
	jp	LBB0_5
## %bb.2:
	movsd	16(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm1
	jne	LBB0_5
	jp	LBB0_5
## %bb.3:
	movq	_ycgco_matrix@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	ucomisd	LCPI0_2(%rip), %xmm0
	jne	LBB0_9
	jp	LBB0_9
## %bb.6:
	movsd	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero
	ucomisd	LCPI0_2(%rip), %xmm1
	jne	LBB0_9
	jp	LBB0_9
## %bb.7:
	movsd	16(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	LCPI0_2(%rip), %xmm1
	jne	LBB0_9
	jp	LBB0_9
## %bb.8:
	movq	_gbr_matrix@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	movl	$72, %edx
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_9:
	movsd	%xmm0, (%rsi)
	movsd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rsi)
	movsd	16(%rdi), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rsi)
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	16(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm3
	divsd	%xmm1, %xmm3
	movsd	(%rdi), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	divsd	%xmm0, %xmm2
	mulsd	%xmm3, %xmm1
	movsd	%xmm1, 24(%rsi)
	mulsd	8(%rdi), %xmm3
	movsd	%xmm3, 32(%rsi)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [5.0E-1,5.0E-1]
	movups	%xmm0, 40(%rsi)
	movsd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero
	mulsd	%xmm2, %xmm0
	movsd	%xmm0, 56(%rsi)
	mulsd	16(%rdi), %xmm2
	movsd	%xmm2, 64(%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ycgco_matrix,4,2               ## @ycgco_matrix
	.comm	_gbr_matrix,4,2                 ## @gbr_matrix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_fill_rgb2yuv_table          ; -- Begin function ff_fill_rgb2yuv_table
	.p2align	2
_ff_fill_rgb2yuv_table:                 ; @ff_fill_rgb2yuv_table
	.cfi_startproc
; %bb.0:
	ldr	d0, [x0]
	fmov	d1, #0.25000000
	fcmp	d0, d1
	b.ne	LBB0_4
; %bb.1:
	ldr	d1, [x0, #8]
	fmov	d2, #0.50000000
	fcmp	d1, d2
	b.ne	LBB0_4
; %bb.2:
	ldr	d1, [x0, #16]
	fmov	d2, #0.25000000
	fcmp	d1, d2
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ycgco_matrix@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ycgco_matrix@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.ne	LBB0_9
; %bb.5:
	ldr	d2, [x0, #8]
	fcmp	d2, d1
	b.ne	LBB0_9
; %bb.6:
	ldr	d1, [x0, #16]
	fmov	d2, #1.00000000
	fcmp	d1, d2
	b.ne	LBB0_9
; %bb.7:
Lloh2:
	adrp	x8, _gbr_matrix@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gbr_matrix@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	mov	x0, x1
	mov	x1, x8
	mov	w2, #72
	b	_memcpy
LBB0_9:
	str	d0, [x1]
	ldr	d0, [x0, #8]
	str	d0, [x1, #8]
	ldr	d0, [x0, #16]
	str	d0, [x1, #16]
	ldr	d0, [x0, #16]
	fmov	d1, #-1.00000000
	fadd	d0, d0, d1
	fmov	d2, #0.50000000
	fdiv	d0, d2, d0
	ldr	d3, [x0]
	fadd	d1, d3, d1
	fdiv	d1, d2, d1
	fmul	d2, d3, d0
	str	d2, [x1, #24]
	ldr	d2, [x0, #8]
	fmul	d0, d0, d2
	str	d0, [x1, #32]
	fmov.2d	v0, #0.50000000
	stur	q0, [x1, #40]
	ldr	d0, [x0, #8]
	fmul	d0, d1, d0
	str	d0, [x1, #56]
	ldr	d0, [x0, #16]
	fmul	d0, d1, d0
	str	d0, [x1, #64]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ycgco_matrix,4,2               ; @ycgco_matrix
	.comm	_gbr_matrix,4,2                 ; @gbr_matrix
.subsections_via_symbols
