	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_color_conversion
_set_color_conversion:                  ## @set_color_conversion
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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	%rsi, %rbx
	movq	_TV_CSC_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %esi
	shll	$16, %esi
	orl	4(%rbx), %esi
	callq	_I915_WRITE
	movq	_TV_CSC_Y2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	shll	$16, %esi
	orl	12(%rbx), %esi
	callq	_I915_WRITE
	movq	_TV_CSC_U@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	shll	$16, %esi
	orl	20(%rbx), %esi
	callq	_I915_WRITE
	movq	_TV_CSC_U2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%rbx), %esi
	shll	$16, %esi
	orl	28(%rbx), %esi
	callq	_I915_WRITE
	movq	_TV_CSC_V@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %esi
	shll	$16, %esi
	orl	36(%rbx), %esi
	callq	_I915_WRITE
	movq	_TV_CSC_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%rbx), %esi
	shll	$16, %esi
	orl	44(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TV_CSC_Y,4,2                   ## @TV_CSC_Y
	.comm	_TV_CSC_Y2,4,2                  ## @TV_CSC_Y2
	.comm	_TV_CSC_U,4,2                   ## @TV_CSC_U
	.comm	_TV_CSC_U2,4,2                  ## @TV_CSC_U2
	.comm	_TV_CSC_V,4,2                   ## @TV_CSC_V
	.comm	_TV_CSC_V2,4,2                  ## @TV_CSC_V2
	.no_dead_strip	_set_color_conversion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_color_conversion
_set_color_conversion:                  ; @set_color_conversion
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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, x1
Lloh0:
	adrp	x8, _TV_CSC_Y@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TV_CSC_Y@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w8, w9, [x1]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
Lloh3:
	adrp	x8, _TV_CSC_Y2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TV_CSC_Y2@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	w8, w9, [x19, #8]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
Lloh6:
	adrp	x8, _TV_CSC_U@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TV_CSC_U@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	w8, w9, [x19, #16]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
Lloh9:
	adrp	x8, _TV_CSC_U2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TV_CSC_U2@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	w8, w9, [x19, #24]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
Lloh12:
	adrp	x8, _TV_CSC_V@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TV_CSC_V@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	w8, w9, [x19, #32]
	orr	w1, w9, w8, lsl #16
	bl	_I915_WRITE
Lloh15:
	adrp	x8, _TV_CSC_V2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TV_CSC_V2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	w8, w9, [x19, #40]
	orr	w1, w9, w8, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_I915_WRITE
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TV_CSC_Y,4,2                   ; @TV_CSC_Y
	.comm	_TV_CSC_Y2,4,2                  ; @TV_CSC_Y2
	.comm	_TV_CSC_U,4,2                   ; @TV_CSC_U
	.comm	_TV_CSC_U2,4,2                  ; @TV_CSC_U2
	.comm	_TV_CSC_V,4,2                   ; @TV_CSC_V
	.comm	_TV_CSC_V2,4,2                  ; @TV_CSC_V2
	.no_dead_strip	_set_color_conversion
.subsections_via_symbols
