	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_config_csc
_preview_config_csc:                    ## @preview_config_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	%rsi, %r15
	callq	_to_isp_device
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	$1023, %ebx                     ## imm = 0x3FF
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_ISPPRV_CSC0_RY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	4(%rax), %edi
	andl	%ebx, %edi
	movq	_ISPPRV_CSC0_GY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movl	8(%rax), %esi
	andl	%ebx, %esi
	movq	_ISPPRV_CSC0_BY_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edi, %esi
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_ISPPRV_CSC0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_ISPPRV_CSC1_RCB_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	4(%rax), %edi
	andl	%ebx, %edi
	movq	_ISPPRV_CSC1_GCB_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movl	8(%rax), %esi
	andl	%ebx, %esi
	movq	_ISPPRV_CSC1_BCB_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edi, %esi
	movl	(%r12), %edx
	movq	_ISPPRV_CSC1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_ISPPRV_CSC2_RCR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	4(%rax), %esi
	andl	%ebx, %esi
	movq	_ISPPRV_CSC2_GCR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	andl	8(%rax), %ebx
	movq	_ISPPRV_CSC2_BCR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%esi, %ebx
	movl	(%r12), %edx
	movq	_ISPPRV_CSC2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_isp_reg_writel
	movq	8(%r15), %rax
	movzbl	(%rax), %edx
	movq	_ISPPRV_CSC_OFFSET_Y_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movzbl	4(%rax), %edi
	movq	_ISPPRV_CSC_OFFSET_CB_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%edx, %edi
	movzbl	8(%rax), %esi
	movq	_ISPPRV_CSC_OFFSET_CR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edi, %esi
	movl	(%r12), %edx
	movq	_ISPPRV_CSC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPPRV_CSC0_RY_SHIFT,4,2       ## @ISPPRV_CSC0_RY_SHIFT
	.comm	_ISPPRV_CSC0_GY_SHIFT,4,2       ## @ISPPRV_CSC0_GY_SHIFT
	.comm	_ISPPRV_CSC0_BY_SHIFT,4,2       ## @ISPPRV_CSC0_BY_SHIFT
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_CSC0,4,2                ## @ISPPRV_CSC0
	.comm	_ISPPRV_CSC1_RCB_SHIFT,4,2      ## @ISPPRV_CSC1_RCB_SHIFT
	.comm	_ISPPRV_CSC1_GCB_SHIFT,4,2      ## @ISPPRV_CSC1_GCB_SHIFT
	.comm	_ISPPRV_CSC1_BCB_SHIFT,4,2      ## @ISPPRV_CSC1_BCB_SHIFT
	.comm	_ISPPRV_CSC1,4,2                ## @ISPPRV_CSC1
	.comm	_ISPPRV_CSC2_RCR_SHIFT,4,2      ## @ISPPRV_CSC2_RCR_SHIFT
	.comm	_ISPPRV_CSC2_GCR_SHIFT,4,2      ## @ISPPRV_CSC2_GCR_SHIFT
	.comm	_ISPPRV_CSC2_BCR_SHIFT,4,2      ## @ISPPRV_CSC2_BCR_SHIFT
	.comm	_ISPPRV_CSC2,4,2                ## @ISPPRV_CSC2
	.comm	_ISPPRV_CSC_OFFSET_Y_SHIFT,4,2  ## @ISPPRV_CSC_OFFSET_Y_SHIFT
	.comm	_ISPPRV_CSC_OFFSET_CB_SHIFT,4,2 ## @ISPPRV_CSC_OFFSET_CB_SHIFT
	.comm	_ISPPRV_CSC_OFFSET_CR_SHIFT,4,2 ## @ISPPRV_CSC_OFFSET_CR_SHIFT
	.comm	_ISPPRV_CSC_OFFSET,4,2          ## @ISPPRV_CSC_OFFSET
	.no_dead_strip	_preview_config_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_config_csc
_preview_config_csc:                    ; @preview_config_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	x20, x1
	bl	_to_isp_device
	mov	x19, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldp	w9, w10, [x8]
	and	w9, w9, #0x3ff
Lloh0:
	adrp	x11, _ISPPRV_CSC0_RY_SHIFT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _ISPPRV_CSC0_RY_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	and	w10, w10, #0x3ff
Lloh3:
	adrp	x11, _ISPPRV_CSC0_GY_SHIFT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ISPPRV_CSC0_GY_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w9, w10, w9
	ldr	w8, [x8, #8]
	and	w8, w8, #0x3ff
Lloh6:
	adrp	x10, _ISPPRV_CSC0_BY_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ISPPRV_CSC0_BY_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w9, w8
Lloh9:
	adrp	x21, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh10:
	ldr	x21, [x21, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh11:
	adrp	x8, _ISPPRV_CSC0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISPPRV_CSC0@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	bl	_isp_reg_writel
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldp	w9, w10, [x8]
	and	w9, w9, #0x3ff
Lloh14:
	adrp	x11, _ISPPRV_CSC1_RCB_SHIFT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _ISPPRV_CSC1_RCB_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	and	w10, w10, #0x3ff
Lloh17:
	adrp	x11, _ISPPRV_CSC1_GCB_SHIFT@GOTPAGE
Lloh18:
	ldr	x11, [x11, _ISPPRV_CSC1_GCB_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w9, w10, w9
	ldr	w8, [x8, #8]
	and	w8, w8, #0x3ff
Lloh20:
	adrp	x10, _ISPPRV_CSC1_BCB_SHIFT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ISPPRV_CSC1_BCB_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w9, w8
	ldr	w2, [x21]
Lloh23:
	adrp	x8, _ISPPRV_CSC1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ISPPRV_CSC1@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_writel
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldp	w9, w10, [x8]
	and	w9, w9, #0x3ff
Lloh26:
	adrp	x11, _ISPPRV_CSC2_RCR_SHIFT@GOTPAGE
Lloh27:
	ldr	x11, [x11, _ISPPRV_CSC2_RCR_SHIFT@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	and	w10, w10, #0x3ff
Lloh29:
	adrp	x11, _ISPPRV_CSC2_GCR_SHIFT@GOTPAGE
Lloh30:
	ldr	x11, [x11, _ISPPRV_CSC2_GCR_SHIFT@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w9, w10, w9
	ldr	w8, [x8, #8]
	and	w8, w8, #0x3ff
Lloh32:
	adrp	x10, _ISPPRV_CSC2_BCR_SHIFT@GOTPAGE
Lloh33:
	ldr	x10, [x10, _ISPPRV_CSC2_BCR_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w9, w8
	ldr	w2, [x21]
Lloh35:
	adrp	x8, _ISPPRV_CSC2@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ISPPRV_CSC2@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_writel
	ldr	x8, [x20, #8]
	ldrb	w9, [x8]
Lloh38:
	adrp	x10, _ISPPRV_CSC_OFFSET_Y_SHIFT@GOTPAGE
Lloh39:
	ldr	x10, [x10, _ISPPRV_CSC_OFFSET_Y_SHIFT@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh41:
	adrp	x10, _ISPPRV_CSC_OFFSET_CB_SHIFT@GOTPAGE
Lloh42:
	ldr	x10, [x10, _ISPPRV_CSC_OFFSET_CB_SHIFT@GOTPAGEOFF]
	ldrb	w11, [x8, #4]
Lloh43:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	orr	w9, w10, w9
Lloh44:
	adrp	x10, _ISPPRV_CSC_OFFSET_CR_SHIFT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ISPPRV_CSC_OFFSET_CR_SHIFT@GOTPAGEOFF]
	ldrb	w8, [x8, #8]
Lloh46:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w9, w8
Lloh47:
	adrp	x8, _ISPPRV_CSC_OFFSET@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ISPPRV_CSC_OFFSET@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh49:
	ldr	w3, [x8]
	mov	x0, x19
	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	_isp_reg_writel
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPPRV_CSC0_RY_SHIFT,4,2       ; @ISPPRV_CSC0_RY_SHIFT
	.comm	_ISPPRV_CSC0_GY_SHIFT,4,2       ; @ISPPRV_CSC0_GY_SHIFT
	.comm	_ISPPRV_CSC0_BY_SHIFT,4,2       ; @ISPPRV_CSC0_BY_SHIFT
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_CSC0,4,2                ; @ISPPRV_CSC0
	.comm	_ISPPRV_CSC1_RCB_SHIFT,4,2      ; @ISPPRV_CSC1_RCB_SHIFT
	.comm	_ISPPRV_CSC1_GCB_SHIFT,4,2      ; @ISPPRV_CSC1_GCB_SHIFT
	.comm	_ISPPRV_CSC1_BCB_SHIFT,4,2      ; @ISPPRV_CSC1_BCB_SHIFT
	.comm	_ISPPRV_CSC1,4,2                ; @ISPPRV_CSC1
	.comm	_ISPPRV_CSC2_RCR_SHIFT,4,2      ; @ISPPRV_CSC2_RCR_SHIFT
	.comm	_ISPPRV_CSC2_GCR_SHIFT,4,2      ; @ISPPRV_CSC2_GCR_SHIFT
	.comm	_ISPPRV_CSC2_BCR_SHIFT,4,2      ; @ISPPRV_CSC2_BCR_SHIFT
	.comm	_ISPPRV_CSC2,4,2                ; @ISPPRV_CSC2
	.comm	_ISPPRV_CSC_OFFSET_Y_SHIFT,4,2  ; @ISPPRV_CSC_OFFSET_Y_SHIFT
	.comm	_ISPPRV_CSC_OFFSET_CB_SHIFT,4,2 ; @ISPPRV_CSC_OFFSET_CB_SHIFT
	.comm	_ISPPRV_CSC_OFFSET_CR_SHIFT,4,2 ; @ISPPRV_CSC_OFFSET_CR_SHIFT
	.comm	_ISPPRV_CSC_OFFSET,4,2          ; @ISPPRV_CSC_OFFSET
	.no_dead_strip	_preview_config_csc
.subsections_via_symbols
