	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_update_pipe_csc
_ilk_update_pipe_csc:                   ## @ilk_update_pipe_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r15
	movl	(%rbx), %r12d
	movl	%r12d, %edi
	callq	_PIPE_CSC_PREOFF_HI
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_PREOFF_ME
	movl	4(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_PREOFF_LO
	movl	8(%r13), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_RY_GY
	movl	(%r14), %esi
	shll	$16, %esi
	orl	4(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_BY
	movl	8(%r14), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_RU_GU
	movl	12(%r14), %esi
	shll	$16, %esi
	orl	16(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_BU
	movl	20(%r14), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_RV_GV
	movl	24(%r14), %esi
	shll	$16, %esi
	orl	28(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_COEFF_BV
	movl	32(%r14), %esi
	shll	$16, %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movq	%r15, %rdi
	callq	_INTEL_GEN
	cmpl	$7, %eax
	jl	LBB0_1
## %bb.2:
	movl	%r12d, %edi
	callq	_PIPE_CSC_POSTOFF_HI
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_POSTOFF_ME
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_PIPE_CSC_POSTOFF_LO
	movl	8(%rbx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ilk_update_pipe_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_update_pipe_csc
_ilk_update_pipe_csc:                   ; @ilk_update_pipe_csc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	mov	x22, x0
	ldr	w20, [x20]
	mov	x0, x20
	bl	_PIPE_CSC_PREOFF_HI
	ldr	w1, [x23]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_PREOFF_ME
	ldr	w1, [x23, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_PREOFF_LO
	ldr	w1, [x23, #8]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_RY_GY
	ldp	w8, w9, [x21]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_BY
	ldr	w8, [x21, #8]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_RU_GU
	ldp	w8, w9, [x21, #12]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_BU
	ldr	w8, [x21, #20]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_RV_GV
	ldp	w8, w9, [x21, #24]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_COEFF_BV
	ldr	w8, [x21, #32]
	lsl	w1, w8, #16
	bl	_I915_WRITE
	mov	x0, x22
	bl	_INTEL_GEN
	cmp	w0, #7
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PIPE_CSC_POSTOFF_HI
	ldr	w1, [x19]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_POSTOFF_ME
	ldr	w1, [x19, #4]
	bl	_I915_WRITE
	mov	x0, x20
	bl	_PIPE_CSC_POSTOFF_LO
	ldr	w1, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_I915_WRITE
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ilk_update_pipe_csc
.subsections_via_symbols
