	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccdc_configure
_ccdc_configure:                        ## @ccdc_configure
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_to_isp_device
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%r12)
	movq	$0, 96(%r12)
	movq	_CCDC_PAD_SINK@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	shlq	$2, %rdi
	addq	88(%r12), %rdi
	callq	_media_entity_remote_pad
	movq	%rax, %r13
	movl	4(%rax), %edi
	callq	_media_entity_to_v4l2_subdev
	movq	%rax, %rdi
	movq	8(%r12), %rax
	movq	_CCDC_INPUT_PARALLEL@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	84(%r12), %rdi
	callq	_to_isp_pipeline
	movq	(%rax), %rdi
	callq	_v4l2_subdev_to_bus_cfg
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	56(%r12), %rbx
	movq	(%r14), %r14
	movl	(%r13), %eax
	movl	%eax, -88(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %r8
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-96(%rbp), %edi
	callq	_omap3isp_video_format_info
	movl	(%rax), %r15d
LBB0_5:
	shlq	$4, %r14
	leaq	(%rbx,%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx,%r14), %edi
	callq	_omap3isp_video_format_info
	movl	(%rax), %r13d
	subl	%r13d, %r15d
	cmpl	$0, (%r12)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_7
LBB0_11:
	movq	_ISPCTRL_PAR_BRIDGE_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	movq	8(%rax), %rax
	movq	_MEDIA_BUS_FMT_YUYV8_2X8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_ISPCTRL_PAR_BRIDGE_LENDIAN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_MEDIA_BUS_FMT_UYVY8_2X8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_ISPCTRL_PAR_BRIDGE_BENDIAN@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %r8d
	movq	8(%r12), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_omap3isp_configure_bridge
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_ccdc_config_sync_if
	movq	_OMAP3_ISP_IOMEM_CCDC@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_ISPCCDC_SYN_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isp_reg_readl
	movq	_ISPCCDC_SYN_MODE_VP2SDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	16(%r12), %eax
	movq	_CCDC_OUTPUT_MEMORY@GOTPCREL(%rip), %rdx
	movq	_ISPCCDC_SYN_MODE_WEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %edi
	orl	%ecx, %edi
	notl	%esi
	andl	%ecx, %esi
	testl	%eax, (%rdx)
	cmovnel	%edi, %esi
	movq	_CCDC_OUTPUT_RESIZER@GOTPCREL(%rip), %rcx
	movq	_ISPCCDC_SYN_MODE_SDR2RSZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movl	%r15d, %edx
	orl	%esi, %edx
	notl	%r15d
	andl	%esi, %r15d
	testl	%eax, (%rcx)
	cmovnel	%edx, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.13:
	cltq
	leaq	l_switch.table.ccdc_configure(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_ccdc_sgrbg_pattern@GOTPCREL(%rip), %rax
LBB0_15:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ccdc_config_imgattr
	movl	4(%r14,%rbx), %eax
	leal	-2(%rax), %edx
	movq	_ISPCCDC_VDINT_0_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	addl	%eax, %eax
	cltq
	imulq	$1431655766, %rax, %rsi         ## imm = 0x55555556
	movq	%rsi, %rax
	shrq	$63, %rax
	shrq	$32, %rsi
	addl	%eax, %esi
	movq	_ISPCCDC_VDINT_1_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	movl	(%r13), %edx
	movq	_ISPCCDC_VDINT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_isp_reg_writel
	movq	56(%r12), %rcx
	movq	_CCDC_PAD_SOURCE_OF@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpl	$0, (%r12)
	movl	68(%r12), %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.16:
	addl	%eax, %eax
	movl	72(%r12), %esi
	addl	%esi, %esi
	jmp	LBB0_18
LBB0_17:
	movl	72(%r12), %esi
LBB0_18:
	decl	%esi
	movq	_ISPCCDC_HORZ_INFO_SPH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ISPCCDC_HORZ_INFO_NPH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	movq	_OMAP3_ISP_IOMEM_CCDC@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_ISPCCDC_HORZ_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_isp_reg_writel
	movl	76(%r12), %esi
	movq	_ISPCCDC_VERT_START_SLV0_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %eax
	shll	%cl, %eax
	movq	_ISPCCDC_VERT_START_SLV1_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	movl	(%r14), %edx
	movq	_ISPCCDC_VERT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_isp_reg_writel
	movl	80(%r12), %esi
	decl	%esi
	movq	_ISPCCDC_VERT_LINES_NLV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	movl	(%r14), %edx
	movq	_ISPCCDC_VERT_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_isp_reg_writel
	movl	64(%r12), %esi
	shlq	$4, %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx,%r13), %rdx
	movq	%r12, %rdi
	callq	_ccdc_config_outlineoffset
	movq	56(%r12), %rax
	movq	_CCDC_PAD_SINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rax
	movq	_V4L2_FIELD_ALTERNATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.19:
	leaq	(%rbx,%r13), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	movq	_V4L2_FIELD_INTERLACED_TB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.20:
	movq	_V4L2_FIELD_INTERLACED_BT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
LBB0_21:
	movq	_ISPCCDC_SYN_MODE_FLDMODE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_22:
	leaq	(%rbx,%r13), %r14
	movl	(%rbx,%r13), %eax
	movq	_MEDIA_BUS_FMT_YUYV8_1X16@GOTPCREL(%rip), %rdi
	movq	_OMAP3_ISP_IOMEM_CCDC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ISPCCDC_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ISPCCDC_CFG_BSWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rdi), %eax
	jne	LBB0_24
## %bb.23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_isp_reg_set
	jmp	LBB0_25
LBB0_24:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_isp_reg_clr
LBB0_25:
	movl	(%r14), %edi
	callq	_omap3isp_video_format_info
	cmpl	$9, (%rax)
	jb	LBB0_27
## %bb.26:
	cmpl	$0, (%r12)
	je	LBB0_34
LBB0_27:
	movq	_ISPCCDC_SYN_MODE_PACK8@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_28:
	movq	_ISPCCDC_SYN_MODE@GOTPCREL(%rip), %rax
	movl	(%rbx), %edx
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_isp_reg_writel
	movq	%r12, %rdi
	callq	_ccdc_config_vp
	leaq	24(%r12), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 32(%r12)
	je	LBB0_33
## %bb.29:
	movq	48(%r12), %rdi
	callq	_WARN_ON
	cmpq	$0, 48(%r12)
	jne	LBB0_31
## %bb.30:
	movq	32(%r12), %rsi
	movq	%r12, %rdi
	callq	___ccdc_lsc_configure
	testq	%rax, %rax
	je	LBB0_35
LBB0_31:
	movq	32(%r12), %rdi
	leaq	44(%r12), %rsi
	callq	_list_add_tail
	leaq	40(%r12), %rdi
	callq	_schedule_work
LBB0_32:
	movq	$0, 32(%r12)
LBB0_33:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r12, %rdi
	callq	_ccdc_apply_controls
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	_ISPCCDC_SYN_MODE_PACK8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	jmp	LBB0_28
LBB0_35:
	movq	32(%r12), %rax
	movq	%rax, 48(%r12)
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_CCDC_PAD_SINK,8,3              ## @CCDC_PAD_SINK
	.comm	_CCDC_INPUT_PARALLEL,8,3        ## @CCDC_INPUT_PARALLEL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ## @get_fmt
	.comm	_ISPCTRL_PAR_BRIDGE_DISABLE,4,2 ## @ISPCTRL_PAR_BRIDGE_DISABLE
	.comm	_MEDIA_BUS_FMT_YUYV8_2X8,8,3    ## @MEDIA_BUS_FMT_YUYV8_2X8
	.comm	_ISPCTRL_PAR_BRIDGE_LENDIAN,4,2 ## @ISPCTRL_PAR_BRIDGE_LENDIAN
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,8,3    ## @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_ISPCTRL_PAR_BRIDGE_BENDIAN,4,2 ## @ISPCTRL_PAR_BRIDGE_BENDIAN
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ## @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_SYN_MODE,4,2           ## @ISPCCDC_SYN_MODE
	.comm	_ISPCCDC_SYN_MODE_VP2SDR,4,2    ## @ISPCCDC_SYN_MODE_VP2SDR
	.comm	_CCDC_OUTPUT_MEMORY,4,2         ## @CCDC_OUTPUT_MEMORY
	.comm	_ISPCCDC_SYN_MODE_WEN,4,2       ## @ISPCCDC_SYN_MODE_WEN
	.comm	_CCDC_OUTPUT_RESIZER,4,2        ## @CCDC_OUTPUT_RESIZER
	.comm	_ISPCCDC_SYN_MODE_SDR2RSZ,4,2   ## @ISPCCDC_SYN_MODE_SDR2RSZ
	.comm	_ccdc_srggb_pattern,4,2         ## @ccdc_srggb_pattern
	.comm	_ccdc_sbggr_pattern,4,2         ## @ccdc_sbggr_pattern
	.comm	_ccdc_sgbrg_pattern,4,2         ## @ccdc_sgbrg_pattern
	.comm	_ccdc_sgrbg_pattern,4,2         ## @ccdc_sgrbg_pattern
	.comm	_ISPCCDC_VDINT_0_SHIFT,4,2      ## @ISPCCDC_VDINT_0_SHIFT
	.comm	_ISPCCDC_VDINT_1_SHIFT,4,2      ## @ISPCCDC_VDINT_1_SHIFT
	.comm	_ISPCCDC_VDINT,4,2              ## @ISPCCDC_VDINT
	.comm	_CCDC_PAD_SOURCE_OF,8,3         ## @CCDC_PAD_SOURCE_OF
	.comm	_ISPCCDC_HORZ_INFO_SPH_SHIFT,4,2 ## @ISPCCDC_HORZ_INFO_SPH_SHIFT
	.comm	_ISPCCDC_HORZ_INFO_NPH_SHIFT,4,2 ## @ISPCCDC_HORZ_INFO_NPH_SHIFT
	.comm	_ISPCCDC_HORZ_INFO,4,2          ## @ISPCCDC_HORZ_INFO
	.comm	_ISPCCDC_VERT_START_SLV0_SHIFT,4,2 ## @ISPCCDC_VERT_START_SLV0_SHIFT
	.comm	_ISPCCDC_VERT_START_SLV1_SHIFT,4,2 ## @ISPCCDC_VERT_START_SLV1_SHIFT
	.comm	_ISPCCDC_VERT_START,4,2         ## @ISPCCDC_VERT_START
	.comm	_ISPCCDC_VERT_LINES_NLV_SHIFT,4,2 ## @ISPCCDC_VERT_LINES_NLV_SHIFT
	.comm	_ISPCCDC_VERT_LINES,4,2         ## @ISPCCDC_VERT_LINES
	.comm	_V4L2_FIELD_ALTERNATE,8,3       ## @V4L2_FIELD_ALTERNATE
	.comm	_V4L2_FIELD_INTERLACED_TB,8,3   ## @V4L2_FIELD_INTERLACED_TB
	.comm	_V4L2_FIELD_INTERLACED_BT,8,3   ## @V4L2_FIELD_INTERLACED_BT
	.comm	_ISPCCDC_SYN_MODE_FLDMODE,4,2   ## @ISPCCDC_SYN_MODE_FLDMODE
	.comm	_MEDIA_BUS_FMT_YUYV8_1X16,4,2   ## @MEDIA_BUS_FMT_YUYV8_1X16
	.comm	_ISPCCDC_CFG,4,2                ## @ISPCCDC_CFG
	.comm	_ISPCCDC_CFG_BSWD,4,2           ## @ISPCCDC_CFG_BSWD
	.comm	_ISPCCDC_SYN_MODE_PACK8,4,2     ## @ISPCCDC_SYN_MODE_PACK8
	.no_dead_strip	_ccdc_configure
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ccdc_configure
l_switch.table.ccdc_configure:
	.quad	_ccdc_srggb_pattern
	.quad	_ccdc_srggb_pattern
	.quad	_ccdc_sgbrg_pattern
	.quad	_ccdc_sgbrg_pattern
	.quad	_ccdc_sbggr_pattern
	.quad	_ccdc_sbggr_pattern

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccdc_configure
_ccdc_configure:                        ; @ccdc_configure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_to_isp_device
	mov	x20, x0
	str	wzr, [x19]
	str	xzr, [x19, #96]
	ldr	x8, [x19, #88]
Lloh0:
	adrp	x24, _CCDC_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CCDC_PAD_SINK@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x8, x9, lsl #2
	bl	_media_entity_remote_pad
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_media_entity_to_v4l2_subdev
	mov	x23, x0
	mov	x21, #0
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _CCDC_INPUT_PARALLEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CCDC_INPUT_PARALLEL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #84
	bl	_to_isp_pipeline
	ldr	x0, [x0]
	bl	_v4l2_subdev_to_bus_cfg
	mov	x21, x0
	ldr	w8, [x0]
	str	w8, [x19]
LBB0_2:
	ldr	x25, [x19, #56]
	ldr	x26, [x24]
	ldr	w8, [x22]
Lloh5:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #4]
Lloh8:
	adrp	x8, _get_fmt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x0, x23
	mov	x1, x22
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbz	w0, LBB0_4
; %bb.3:
	mov	w23, #0
	b	LBB0_5
LBB0_4:
	ldr	w0, [sp]
	bl	_omap3isp_video_format_info
	ldr	w23, [x0]
LBB0_5:
	add	x27, x25, x26, lsl #4
	ldr	w0, [x27]
	bl	_omap3isp_video_format_info
	ldr	w22, [x0]
	sub	w3, w23, w22
	ldr	w9, [x19]
Lloh11:
	adrp	x8, _ISPCTRL_PAR_BRIDGE_DISABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISPCTRL_PAR_BRIDGE_DISABLE@GOTPAGEOFF]
	cbnz	w9, LBB0_9
; %bb.6:
	ldr	x9, [x0, #8]
Lloh13:
	adrp	x10, _MEDIA_BUS_FMT_YUYV8_2X8@GOTPAGE
Lloh14:
	ldr	x10, [x10, _MEDIA_BUS_FMT_YUYV8_2X8@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _ISPCTRL_PAR_BRIDGE_LENDIAN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ISPCTRL_PAR_BRIDGE_LENDIAN@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh18:
	adrp	x10, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _ISPCTRL_PAR_BRIDGE_BENDIAN@GOTPAGE
Lloh22:
	ldr	x11, [x11, _ISPCTRL_PAR_BRIDGE_BENDIAN@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x11, x8, eq
LBB0_9:
	ldr	w4, [x8]
	ldr	x1, [x19, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_omap3isp_configure_bridge
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_ccdc_config_sync_if
Lloh23:
	adrp	x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGE
Lloh24:
	ldr	x21, [x21, _OMAP3_ISP_IOMEM_CCDC@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh25:
	adrp	x22, _ISPCCDC_SYN_MODE@GOTPAGE
Lloh26:
	ldr	x22, [x22, _ISPCCDC_SYN_MODE@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_isp_reg_readl
Lloh27:
	adrp	x8, _ISPCCDC_SYN_MODE_VP2SDR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ISPCCDC_SYN_MODE_VP2SDR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	w9, [x19, #16]
Lloh30:
	adrp	x10, _CCDC_OUTPUT_MEMORY@GOTPAGE
Lloh31:
	ldr	x10, [x10, _CCDC_OUTPUT_MEMORY@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _ISPCCDC_SYN_MODE_WEN@GOTPAGE
Lloh34:
	ldr	x11, [x11, _ISPCCDC_SYN_MODE_WEN@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
	orr	w12, w11, w8
	bic	w8, w8, w11
	tst	w10, w9
Lloh36:
	adrp	x10, _CCDC_OUTPUT_RESIZER@GOTPAGE
Lloh37:
	ldr	x10, [x10, _CCDC_OUTPUT_RESIZER@GOTPAGEOFF]
	csel	w8, w8, w12, eq
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _ISPCCDC_SYN_MODE_SDR2RSZ@GOTPAGE
Lloh40:
	ldr	x11, [x11, _ISPCCDC_SYN_MODE_SDR2RSZ@GOTPAGEOFF]
Lloh41:
	ldr	w11, [x11]
	orr	w12, w11, w8
	bic	w8, w8, w11
	tst	w10, w9
	csel	w23, w8, w12, eq
	ldr	w8, [x27]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_11
; %bb.10:
Lloh42:
	adrp	x9, l_switch.table.ccdc_configure@PAGE
Lloh43:
	add	x9, x9, l_switch.table.ccdc_configure@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_12
LBB0_11:
Lloh44:
	adrp	x8, _ccdc_sgrbg_pattern@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ccdc_sgrbg_pattern@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ccdc_config_imgattr
	add	x8, x25, x26, lsl #4
	ldr	w8, [x8, #4]
Lloh46:
	adrp	x9, _ISPCCDC_VDINT_0_SHIFT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ISPCCDC_VDINT_0_SHIFT@GOTPAGEOFF]
	sub	w10, w8, #2
Lloh48:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	lsl	w8, w8, #1
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w10
Lloh49:
	adrp	x10, _ISPCCDC_VDINT_1_SHIFT@GOTPAGE
Lloh50:
	ldr	x10, [x10, _ISPCCDC_VDINT_1_SHIFT@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w1, w8, w9
	ldr	w2, [x21]
Lloh52:
	adrp	x8, _ISPCCDC_VDINT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ISPCCDC_VDINT@GOTPAGEOFF]
Lloh54:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_isp_reg_writel
	ldr	x25, [x19, #56]
Lloh55:
	adrp	x8, _CCDC_PAD_SOURCE_OF@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CCDC_PAD_SOURCE_OF@GOTPAGEOFF]
Lloh57:
	ldr	x26, [x8]
	ldr	w9, [x19]
	ldr	w8, [x19, #68]
	cbz	w9, LBB0_14
; %bb.13:
	lsl	w8, w8, #1
	ldr	w9, [x19, #72]
	lsl	w9, w9, #1
	b	LBB0_15
LBB0_14:
	ldr	w9, [x19, #72]
LBB0_15:
Lloh58:
	adrp	x10, _ISPCCDC_HORZ_INFO_SPH_SHIFT@GOTPAGE
Lloh59:
	ldr	x10, [x10, _ISPCCDC_HORZ_INFO_SPH_SHIFT@GOTPAGEOFF]
	sub	w9, w9, #1
Lloh60:
	ldr	w10, [x10]
	lsl	w8, w8, w10
Lloh61:
	adrp	x10, _ISPCCDC_HORZ_INFO_NPH_SHIFT@GOTPAGE
Lloh62:
	ldr	x10, [x10, _ISPCCDC_HORZ_INFO_NPH_SHIFT@GOTPAGEOFF]
Lloh63:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w9, w8
	ldr	w2, [x21]
Lloh64:
	adrp	x8, _ISPCCDC_HORZ_INFO@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ISPCCDC_HORZ_INFO@GOTPAGEOFF]
Lloh66:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_isp_reg_writel
Lloh67:
	adrp	x8, _ISPCCDC_VERT_START_SLV0_SHIFT@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ISPCCDC_VERT_START_SLV0_SHIFT@GOTPAGEOFF]
	ldr	w9, [x19, #76]
Lloh69:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh70:
	adrp	x10, _ISPCCDC_VERT_START_SLV1_SHIFT@GOTPAGE
Lloh71:
	ldr	x10, [x10, _ISPCCDC_VERT_START_SLV1_SHIFT@GOTPAGEOFF]
Lloh72:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w1, w9, w8
	ldr	w2, [x21]
Lloh73:
	adrp	x8, _ISPCCDC_VERT_START@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ISPCCDC_VERT_START@GOTPAGEOFF]
Lloh75:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_isp_reg_writel
	ldr	w8, [x19, #80]
	sub	w8, w8, #1
Lloh76:
	adrp	x9, _ISPCCDC_VERT_LINES_NLV_SHIFT@GOTPAGE
Lloh77:
	ldr	x9, [x9, _ISPCCDC_VERT_LINES_NLV_SHIFT@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	lsl	w1, w8, w9
	ldr	w2, [x21]
Lloh79:
	adrp	x8, _ISPCCDC_VERT_LINES@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ISPCCDC_VERT_LINES@GOTPAGEOFF]
Lloh81:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_isp_reg_writel
	ldr	w1, [x19, #64]
	add	x25, x25, x26, lsl #4
	mov	x26, x25
	ldr	x2, [x26, #8]!
	mov	x0, x19
	bl	_ccdc_config_outlineoffset
	ldr	x8, [x19, #56]
	ldr	x9, [x24]
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
Lloh82:
	adrp	x9, _V4L2_FIELD_ALTERNATE@GOTPAGE
Lloh83:
	ldr	x9, [x9, _V4L2_FIELD_ALTERNATE@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.16:
	ldr	x8, [x26]
Lloh85:
	adrp	x9, _V4L2_FIELD_INTERLACED_TB@GOTPAGE
Lloh86:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED_TB@GOTPAGEOFF]
Lloh87:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.17:
Lloh88:
	adrp	x9, _V4L2_FIELD_INTERLACED_BT@GOTPAGE
Lloh89:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED_BT@GOTPAGEOFF]
Lloh90:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
LBB0_18:
Lloh91:
	adrp	x8, _ISPCCDC_SYN_MODE_FLDMODE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ISPCCDC_SYN_MODE_FLDMODE@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_19:
	ldr	w8, [x25]
Lloh94:
	adrp	x9, _MEDIA_BUS_FMT_YUYV8_1X16@GOTPAGE
Lloh95:
	ldr	x9, [x9, _MEDIA_BUS_FMT_YUYV8_1X16@GOTPAGEOFF]
Lloh96:
	ldr	w9, [x9]
Lloh97:
	adrp	x10, _ISPCCDC_CFG@GOTPAGE
Lloh98:
	ldr	x10, [x10, _ISPCCDC_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh99:
	ldr	w2, [x10]
Lloh100:
	adrp	x10, _ISPCCDC_CFG_BSWD@GOTPAGE
Lloh101:
	ldr	x10, [x10, _ISPCCDC_CFG_BSWD@GOTPAGEOFF]
Lloh102:
	ldr	w3, [x10]
	mov	x0, x20
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.20:
	bl	_isp_reg_set
	b	LBB0_22
LBB0_21:
	bl	_isp_reg_clr
LBB0_22:
	ldr	w0, [x25]
	bl	_omap3isp_video_format_info
	ldr	w8, [x0]
	cmp	w8, #9
	b.lo	LBB0_24
; %bb.23:
	ldr	w8, [x19]
	cbz	w8, LBB0_31
LBB0_24:
Lloh103:
	adrp	x8, _ISPCCDC_SYN_MODE_PACK8@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ISPCCDC_SYN_MODE_PACK8@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	orr	w1, w8, w23
LBB0_25:
	ldr	w2, [x21]
	ldr	w3, [x22]
	mov	x0, x20
	bl	_isp_reg_writel
	mov	x0, x19
	bl	_ccdc_config_vp
	add	x20, x19, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_30
; %bb.26:
	ldr	x0, [x19, #48]
	bl	_WARN_ON
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_28
; %bb.27:
	ldr	x1, [x19, #32]
	mov	x0, x19
	bl	___ccdc_lsc_configure
	cbz	x0, LBB0_32
LBB0_28:
	ldr	x0, [x19, #32]
	add	x1, x19, #44
	bl	_list_add_tail
	add	x0, x19, #40
	bl	_schedule_work
LBB0_29:
	str	xzr, [x19, #32]
LBB0_30:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_ccdc_apply_controls
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_31:
Lloh106:
	adrp	x8, _ISPCCDC_SYN_MODE_PACK8@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ISPCCDC_SYN_MODE_PACK8@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	bic	w1, w23, w8
	b	LBB0_25
LBB0_32:
	ldr	x8, [x19, #32]
	str	x8, [x19, #48]
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.cfi_endproc
                                        ; -- End function
	.comm	_CCDC_PAD_SINK,8,3              ; @CCDC_PAD_SINK
	.comm	_CCDC_INPUT_PARALLEL,8,3        ; @CCDC_INPUT_PARALLEL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ; @get_fmt
	.comm	_ISPCTRL_PAR_BRIDGE_DISABLE,4,2 ; @ISPCTRL_PAR_BRIDGE_DISABLE
	.comm	_MEDIA_BUS_FMT_YUYV8_2X8,8,3    ; @MEDIA_BUS_FMT_YUYV8_2X8
	.comm	_ISPCTRL_PAR_BRIDGE_LENDIAN,4,2 ; @ISPCTRL_PAR_BRIDGE_LENDIAN
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,8,3    ; @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_ISPCTRL_PAR_BRIDGE_BENDIAN,4,2 ; @ISPCTRL_PAR_BRIDGE_BENDIAN
	.comm	_OMAP3_ISP_IOMEM_CCDC,4,2       ; @OMAP3_ISP_IOMEM_CCDC
	.comm	_ISPCCDC_SYN_MODE,4,2           ; @ISPCCDC_SYN_MODE
	.comm	_ISPCCDC_SYN_MODE_VP2SDR,4,2    ; @ISPCCDC_SYN_MODE_VP2SDR
	.comm	_CCDC_OUTPUT_MEMORY,4,2         ; @CCDC_OUTPUT_MEMORY
	.comm	_ISPCCDC_SYN_MODE_WEN,4,2       ; @ISPCCDC_SYN_MODE_WEN
	.comm	_CCDC_OUTPUT_RESIZER,4,2        ; @CCDC_OUTPUT_RESIZER
	.comm	_ISPCCDC_SYN_MODE_SDR2RSZ,4,2   ; @ISPCCDC_SYN_MODE_SDR2RSZ
	.comm	_ccdc_srggb_pattern,4,2         ; @ccdc_srggb_pattern
	.comm	_ccdc_sbggr_pattern,4,2         ; @ccdc_sbggr_pattern
	.comm	_ccdc_sgbrg_pattern,4,2         ; @ccdc_sgbrg_pattern
	.comm	_ccdc_sgrbg_pattern,4,2         ; @ccdc_sgrbg_pattern
	.comm	_ISPCCDC_VDINT_0_SHIFT,4,2      ; @ISPCCDC_VDINT_0_SHIFT
	.comm	_ISPCCDC_VDINT_1_SHIFT,4,2      ; @ISPCCDC_VDINT_1_SHIFT
	.comm	_ISPCCDC_VDINT,4,2              ; @ISPCCDC_VDINT
	.comm	_CCDC_PAD_SOURCE_OF,8,3         ; @CCDC_PAD_SOURCE_OF
	.comm	_ISPCCDC_HORZ_INFO_SPH_SHIFT,4,2 ; @ISPCCDC_HORZ_INFO_SPH_SHIFT
	.comm	_ISPCCDC_HORZ_INFO_NPH_SHIFT,4,2 ; @ISPCCDC_HORZ_INFO_NPH_SHIFT
	.comm	_ISPCCDC_HORZ_INFO,4,2          ; @ISPCCDC_HORZ_INFO
	.comm	_ISPCCDC_VERT_START_SLV0_SHIFT,4,2 ; @ISPCCDC_VERT_START_SLV0_SHIFT
	.comm	_ISPCCDC_VERT_START_SLV1_SHIFT,4,2 ; @ISPCCDC_VERT_START_SLV1_SHIFT
	.comm	_ISPCCDC_VERT_START,4,2         ; @ISPCCDC_VERT_START
	.comm	_ISPCCDC_VERT_LINES_NLV_SHIFT,4,2 ; @ISPCCDC_VERT_LINES_NLV_SHIFT
	.comm	_ISPCCDC_VERT_LINES,4,2         ; @ISPCCDC_VERT_LINES
	.comm	_V4L2_FIELD_ALTERNATE,8,3       ; @V4L2_FIELD_ALTERNATE
	.comm	_V4L2_FIELD_INTERLACED_TB,8,3   ; @V4L2_FIELD_INTERLACED_TB
	.comm	_V4L2_FIELD_INTERLACED_BT,8,3   ; @V4L2_FIELD_INTERLACED_BT
	.comm	_ISPCCDC_SYN_MODE_FLDMODE,4,2   ; @ISPCCDC_SYN_MODE_FLDMODE
	.comm	_MEDIA_BUS_FMT_YUYV8_1X16,4,2   ; @MEDIA_BUS_FMT_YUYV8_1X16
	.comm	_ISPCCDC_CFG,4,2                ; @ISPCCDC_CFG
	.comm	_ISPCCDC_CFG_BSWD,4,2           ; @ISPCCDC_CFG_BSWD
	.comm	_ISPCCDC_SYN_MODE_PACK8,4,2     ; @ISPCCDC_SYN_MODE_PACK8
	.no_dead_strip	_ccdc_configure
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ccdc_configure
l_switch.table.ccdc_configure:
	.quad	_ccdc_srggb_pattern
	.quad	_ccdc_srggb_pattern
	.quad	_ccdc_sgbrg_pattern
	.quad	_ccdc_sgbrg_pattern
	.quad	_ccdc_sbggr_pattern
	.quad	_ccdc_sbggr_pattern

.subsections_via_symbols
