	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_update_output_csc
_icl_update_output_csc:                 ## @icl_update_output_csc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_PREOFF_HI
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_PREOFF_ME
	movl	4(%r12), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_PREOFF_LO
	movl	8(%r12), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_RY_GY
	movl	(%r15), %esi
	shll	$16, %esi
	orl	4(%r15), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_BY
	movl	8(%r15), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_RU_GU
	movl	12(%r15), %esi
	shll	$16, %esi
	orl	16(%r15), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_BU
	movl	20(%r15), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_RV_GV
	movl	24(%r15), %esi
	shll	$16, %esi
	orl	28(%r15), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_COEFF_BV
	movl	32(%r15), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_POSTOFF_HI
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_POSTOFF_ME
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_PIPE_CSC_OUTPUT_POSTOFF_LO
	movl	8(%r14), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_icl_update_output_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_update_output_csc
_icl_update_output_csc:                 ; @icl_update_output_csc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	ldr	w20, [x20]
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_PREOFF_HI
	ldr	w1, [x22]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_PREOFF_ME
	ldr	w1, [x22, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_PREOFF_LO
	ldr	w1, [x22, #8]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_RY_GY
	ldp	w8, w9, [x21]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_BY
	ldr	w8, [x21, #8]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_RU_GU
	ldp	w8, w9, [x21, #12]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_BU
	ldr	w8, [x21, #20]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_RV_GV
	ldp	w8, w9, [x21, #24]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_COEFF_BV
	ldr	w8, [x21, #32]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_POSTOFF_HI
	ldr	w1, [x19]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_POSTOFF_ME
	ldr	w1, [x19, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_OUTPUT_POSTOFF_LO
	ldr	w1, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_I915_WRITE
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_icl_update_output_csc
.subsections_via_symbols
