	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccdc_lsc_setup_regs
_ccdc_lsc_setup_regs:                   ## @ccdc_lsc_setup_regs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_to_isp_device
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	_OMAP3_ISP_IOMEM_CCDC@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_ISPCCDC_LSC_TABLE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movq	_ISPCCDC_LSC_GAIN_MODE_N_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%rbx), %eax
	movl	8(%rbx), %edx
	shll	%cl, %eax
	movq	_ISPCCDC_LSC_GAIN_MODE_M_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movl	12(%rbx), %esi
	movq	_ISPCCDC_LSC_GAIN_FORMAT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	movl	(%r15), %edx
	movq	_ISPCCDC_LSC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_isp_reg_writel
	movq	_ISPCCDC_LSC_INITIAL_X_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	16(%rbx), %eax
	movl	20(%rbx), %esi
	shll	%cl, %eax
	movq	_ISPCCDC_LSC_INITIAL_Y_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_ISPCCDC_LSC_INITIAL_Y_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	movl	(%r15), %edx
	movq	_ISPCCDC_LSC_INITIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ## @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_LSC_TABLE_OFFSET,4,2   ## @ISPCCDC_LSC_TABLE_OFFSET
	.comm	_ISPCCDC_LSC_GAIN_MODE_N_SHIFT,4,2 ## @ISPCCDC_LSC_GAIN_MODE_N_SHIFT
	.comm	_ISPCCDC_LSC_GAIN_MODE_M_SHIFT,4,2 ## @ISPCCDC_LSC_GAIN_MODE_M_SHIFT
	.comm	_ISPCCDC_LSC_GAIN_FORMAT_SHIFT,4,2 ## @ISPCCDC_LSC_GAIN_FORMAT_SHIFT
	.comm	_ISPCCDC_LSC_CONFIG,4,2         ## @ISPCCDC_LSC_CONFIG
	.comm	_ISPCCDC_LSC_INITIAL_X_MASK,4,2 ## @ISPCCDC_LSC_INITIAL_X_MASK
	.comm	_ISPCCDC_LSC_INITIAL_X_SHIFT,4,2 ## @ISPCCDC_LSC_INITIAL_X_SHIFT
	.comm	_ISPCCDC_LSC_INITIAL_Y_MASK,4,2 ## @ISPCCDC_LSC_INITIAL_Y_MASK
	.comm	_ISPCCDC_LSC_INITIAL_Y_SHIFT,4,2 ## @ISPCCDC_LSC_INITIAL_Y_SHIFT
	.comm	_ISPCCDC_LSC_INITIAL,4,2        ## @ISPCCDC_LSC_INITIAL
	.no_dead_strip	_ccdc_lsc_setup_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccdc_lsc_setup_regs
_ccdc_lsc_setup_regs:                   ; @ccdc_lsc_setup_regs
	.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	w1, [x20]
Lloh0:
	adrp	x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x8, _ISPCCDC_LSC_TABLE_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISPCCDC_LSC_TABLE_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_isp_reg_writel
Lloh5:
	adrp	x8, _ISPCCDC_LSC_GAIN_MODE_N_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISPCCDC_LSC_GAIN_MODE_N_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #4]
	lsl	w8, w9, w8
Lloh8:
	adrp	x9, _ISPCCDC_LSC_GAIN_MODE_M_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISPCCDC_LSC_GAIN_MODE_M_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	ldr	w9, [x20, #12]
Lloh11:
	adrp	x10, _ISPCCDC_LSC_GAIN_FORMAT_SHIFT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ISPCCDC_LSC_GAIN_FORMAT_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w8, w9
	ldr	w2, [x21]
Lloh14:
	adrp	x8, _ISPCCDC_LSC_CONFIG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISPCCDC_LSC_CONFIG@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_isp_reg_writel
Lloh17:
	adrp	x8, _ISPCCDC_LSC_INITIAL_X_SHIFT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ISPCCDC_LSC_INITIAL_X_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #16]
	lsl	w8, w9, w8
Lloh20:
	adrp	x9, _ISPCCDC_LSC_INITIAL_Y_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ISPCCDC_LSC_INITIAL_Y_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x11, _ISPCCDC_LSC_INITIAL_Y_SHIFT@GOTPAGE
Lloh24:
	ldr	x11, [x11, _ISPCCDC_LSC_INITIAL_Y_SHIFT@GOTPAGEOFF]
	bic	w8, w8, w9
Lloh25:
	ldr	w9, [x11]
	lsl	w9, w10, w9
	orr	w1, w9, w8
Lloh26:
	adrp	x8, _ISPCCDC_LSC_INITIAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISPCCDC_LSC_INITIAL@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh28:
	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	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ; @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_LSC_TABLE_OFFSET,4,2   ; @ISPCCDC_LSC_TABLE_OFFSET
	.comm	_ISPCCDC_LSC_GAIN_MODE_N_SHIFT,4,2 ; @ISPCCDC_LSC_GAIN_MODE_N_SHIFT
	.comm	_ISPCCDC_LSC_GAIN_MODE_M_SHIFT,4,2 ; @ISPCCDC_LSC_GAIN_MODE_M_SHIFT
	.comm	_ISPCCDC_LSC_GAIN_FORMAT_SHIFT,4,2 ; @ISPCCDC_LSC_GAIN_FORMAT_SHIFT
	.comm	_ISPCCDC_LSC_CONFIG,4,2         ; @ISPCCDC_LSC_CONFIG
	.comm	_ISPCCDC_LSC_INITIAL_X_MASK,4,2 ; @ISPCCDC_LSC_INITIAL_X_MASK
	.comm	_ISPCCDC_LSC_INITIAL_X_SHIFT,4,2 ; @ISPCCDC_LSC_INITIAL_X_SHIFT
	.comm	_ISPCCDC_LSC_INITIAL_Y_MASK,4,2 ; @ISPCCDC_LSC_INITIAL_Y_MASK
	.comm	_ISPCCDC_LSC_INITIAL_Y_SHIFT,4,2 ; @ISPCCDC_LSC_INITIAL_Y_SHIFT
	.comm	_ISPCCDC_LSC_INITIAL,4,2        ; @ISPCCDC_LSC_INITIAL
	.no_dead_strip	_ccdc_lsc_setup_regs
.subsections_via_symbols
