	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccdc_config_ycbcr
_ccdc_config_ycbcr:                     ## @ccdc_config_ycbcr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ccdc_cfg@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	xorl	%eax, %eax
	callq	_ccdc_restore_defaults
	movq	_CCDC_INPUT_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r14), %eax
	movq	_CCDC_INPUT_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_CCDC_FRM_FMT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	12(%r14), %ebx
	movq	_CCDC_FRM_FMT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	cmpq	$0, 48(%r14)
	je	LBB0_2
## %bb.1:
	movq	_CCDC_REC656IF_BT656_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REC656IF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movq	_CCDC_VD_POL_NEGATIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CCDC_FID_POL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	16(%r14), %eax
	movq	_CCDC_FID_POL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_CCDC_HD_POL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	20(%r14), %edx
	movq	_CCDC_HD_POL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_CCDC_VD_POL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	24(%r14), %eax
	movq	_CCDC_VD_POL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%edx, %eax
LBB0_3:
	orl	%eax, %ebx
	movq	_CCDC_DATA_PACK_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MODESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	12(%r14), %esi
	leaq	40(%r14), %rdi
	movl	$2, %edx
	callq	_ccdc_setwin
	movl	28(%r14), %edi
	movq	_CCDC_Y8POS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_CCDC_LATCH_ON_VSYNC_DISABLE@GOTPCREL(%rip), %rax
	movq	_CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC@GOTPCREL(%rip), %rcx
	orl	(%rax), %edi
	orl	(%rcx), %edi
	movq	_CCDCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	40(%r14), %eax
	leal	(%rax,%rax), %edi
	addl	$31, %edi
	sarl	$5, %edi
	movq	_HSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movq	32(%r14), %rax
	movq	_CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_CCDC_SDOFST_FIELD_INTERLEAVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SDOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
LBB0_5:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ccdc_cfg,56,3                  ## @ccdc_cfg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nStarting ccdc_config_ycbcr..."

	.comm	_CCDC_INPUT_MODE_MASK,4,2       ## @CCDC_INPUT_MODE_MASK
	.comm	_CCDC_INPUT_MODE_SHIFT,4,2      ## @CCDC_INPUT_MODE_SHIFT
	.comm	_CCDC_FRM_FMT_MASK,4,2          ## @CCDC_FRM_FMT_MASK
	.comm	_CCDC_FRM_FMT_SHIFT,4,2         ## @CCDC_FRM_FMT_SHIFT
	.comm	_CCDC_REC656IF_BT656_EN,4,2     ## @CCDC_REC656IF_BT656_EN
	.comm	_REC656IF,4,2                   ## @REC656IF
	.comm	_CCDC_VD_POL_NEGATIVE,4,2       ## @CCDC_VD_POL_NEGATIVE
	.comm	_CCDC_FID_POL_MASK,4,2          ## @CCDC_FID_POL_MASK
	.comm	_CCDC_FID_POL_SHIFT,4,2         ## @CCDC_FID_POL_SHIFT
	.comm	_CCDC_HD_POL_MASK,4,2           ## @CCDC_HD_POL_MASK
	.comm	_CCDC_HD_POL_SHIFT,4,2          ## @CCDC_HD_POL_SHIFT
	.comm	_CCDC_VD_POL_MASK,4,2           ## @CCDC_VD_POL_MASK
	.comm	_CCDC_VD_POL_SHIFT,4,2          ## @CCDC_VD_POL_SHIFT
	.comm	_CCDC_DATA_PACK_ENABLE,4,2      ## @CCDC_DATA_PACK_ENABLE
	.comm	_MODESET,4,2                    ## @MODESET
	.comm	_CCDC_Y8POS_SHIFT,4,2           ## @CCDC_Y8POS_SHIFT
	.comm	_CCDC_LATCH_ON_VSYNC_DISABLE,4,2 ## @CCDC_LATCH_ON_VSYNC_DISABLE
	.comm	_CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC,4,2 ## @CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC
	.comm	_CCDCFG,4,2                     ## @CCDCFG
	.comm	_HSIZE,4,2                      ## @HSIZE
	.comm	_CCDC_BUFTYPE_FLD_INTERLEAVED,8,3 ## @CCDC_BUFTYPE_FLD_INTERLEAVED
	.comm	_CCDC_SDOFST_FIELD_INTERLEAVED,4,2 ## @CCDC_SDOFST_FIELD_INTERLEAVED
	.comm	_SDOFST,4,2                     ## @SDOFST
L_.str.1:                               ## @.str.1
	.asciz	"\nEnd of ccdc_config_ycbcr...\n"

	.no_dead_strip	_ccdc_config_ycbcr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccdc_config_ycbcr
_ccdc_config_ycbcr:                     ; @ccdc_config_ycbcr
	.cfi_startproc
; %bb.0:
	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
Lloh0:
	adrp	x19, _ccdc_cfg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ccdc_cfg@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	bl	_ccdc_restore_defaults
Lloh4:
	adrp	x8, _CCDC_INPUT_MODE_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CCDC_INPUT_MODE_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #8]
	and	w8, w8, w9
Lloh7:
	adrp	x9, _CCDC_INPUT_MODE_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CCDC_INPUT_MODE_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh10:
	adrp	x9, _CCDC_FRM_FMT_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CCDC_FRM_FMT_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w9, w9, w10
Lloh13:
	adrp	x10, _CCDC_FRM_FMT_SHIFT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _CCDC_FRM_FMT_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w20, w9, w8
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _CCDC_REC656IF_BT656_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CCDC_REC656IF_BT656_EN@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _REC656IF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REC656IF@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_regw
Lloh22:
	adrp	x8, _CCDC_VD_POL_NEGATIVE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CCDC_VD_POL_NEGATIVE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
Lloh25:
	adrp	x8, _CCDC_FID_POL_MASK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CCDC_FID_POL_MASK@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #16]
	and	w8, w8, w9
Lloh28:
	adrp	x9, _CCDC_FID_POL_SHIFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _CCDC_FID_POL_SHIFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x11, _CCDC_HD_POL_MASK@GOTPAGE
Lloh32:
	ldr	x11, [x11, _CCDC_HD_POL_MASK@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh33:
	ldr	w9, [x11]
	and	w9, w9, w10
Lloh34:
	adrp	x10, _CCDC_HD_POL_SHIFT@GOTPAGE
Lloh35:
	ldr	x10, [x10, _CCDC_HD_POL_SHIFT@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	w9, [x19, #24]
Lloh37:
	adrp	x10, _CCDC_VD_POL_MASK@GOTPAGE
Lloh38:
	ldr	x10, [x10, _CCDC_VD_POL_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	and	w9, w10, w9
Lloh40:
	adrp	x10, _CCDC_VD_POL_SHIFT@GOTPAGE
Lloh41:
	ldr	x10, [x10, _CCDC_VD_POL_SHIFT@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
LBB0_3:
Lloh43:
	adrp	x9, _CCDC_DATA_PACK_ENABLE@GOTPAGE
Lloh44:
	ldr	x9, [x9, _CCDC_DATA_PACK_ENABLE@GOTPAGEOFF]
	orr	w8, w20, w8
Lloh45:
	ldr	w9, [x9]
	orr	w0, w8, w9
Lloh46:
	adrp	x8, _MODESET@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MODESET@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_regw
	ldr	w1, [x19, #12]
	add	x0, x19, #40
	mov	w2, #2
	bl	_ccdc_setwin
	ldr	w8, [x19, #28]
Lloh49:
	adrp	x9, _CCDC_Y8POS_SHIFT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _CCDC_Y8POS_SHIFT@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh52:
	adrp	x9, _CCDC_LATCH_ON_VSYNC_DISABLE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _CCDC_LATCH_ON_VSYNC_DISABLE@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC@GOTPAGE
Lloh56:
	ldr	x10, [x10, _CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	orr	w8, w8, w9
	orr	w0, w8, w10
Lloh58:
	adrp	x8, _CCDCFG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _CCDCFG@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	bl	_regw
	ldr	w8, [x19, #40]
	lsl	w8, w8, #1
	add	w8, w8, #31
	asr	w0, w8, #5
Lloh61:
	adrp	x8, _HSIZE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _HSIZE@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_regw
	ldr	x8, [x19, #32]
Lloh64:
	adrp	x9, _CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPAGE
Lloh65:
	ldr	x9, [x9, _CCDC_BUFTYPE_FLD_INTERLEAVED@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh67:
	adrp	x8, _CCDC_SDOFST_FIELD_INTERLEAVED@GOTPAGE
Lloh68:
	ldr	x8, [x8, _CCDC_SDOFST_FIELD_INTERLEAVED@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
Lloh70:
	adrp	x8, _SDOFST@GOTPAGE
Lloh71:
	ldr	x8, [x8, _SDOFST@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	bl	_regw
LBB0_5:
	ldr	w0, [x19]
Lloh73:
	adrp	x1, l_.str.1@PAGE
Lloh74:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
                                        ; -- End function
	.comm	_ccdc_cfg,56,3                  ; @ccdc_cfg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nStarting ccdc_config_ycbcr..."

	.comm	_CCDC_INPUT_MODE_MASK,4,2       ; @CCDC_INPUT_MODE_MASK
	.comm	_CCDC_INPUT_MODE_SHIFT,4,2      ; @CCDC_INPUT_MODE_SHIFT
	.comm	_CCDC_FRM_FMT_MASK,4,2          ; @CCDC_FRM_FMT_MASK
	.comm	_CCDC_FRM_FMT_SHIFT,4,2         ; @CCDC_FRM_FMT_SHIFT
	.comm	_CCDC_REC656IF_BT656_EN,4,2     ; @CCDC_REC656IF_BT656_EN
	.comm	_REC656IF,4,2                   ; @REC656IF
	.comm	_CCDC_VD_POL_NEGATIVE,4,2       ; @CCDC_VD_POL_NEGATIVE
	.comm	_CCDC_FID_POL_MASK,4,2          ; @CCDC_FID_POL_MASK
	.comm	_CCDC_FID_POL_SHIFT,4,2         ; @CCDC_FID_POL_SHIFT
	.comm	_CCDC_HD_POL_MASK,4,2           ; @CCDC_HD_POL_MASK
	.comm	_CCDC_HD_POL_SHIFT,4,2          ; @CCDC_HD_POL_SHIFT
	.comm	_CCDC_VD_POL_MASK,4,2           ; @CCDC_VD_POL_MASK
	.comm	_CCDC_VD_POL_SHIFT,4,2          ; @CCDC_VD_POL_SHIFT
	.comm	_CCDC_DATA_PACK_ENABLE,4,2      ; @CCDC_DATA_PACK_ENABLE
	.comm	_MODESET,4,2                    ; @MODESET
	.comm	_CCDC_Y8POS_SHIFT,4,2           ; @CCDC_Y8POS_SHIFT
	.comm	_CCDC_LATCH_ON_VSYNC_DISABLE,4,2 ; @CCDC_LATCH_ON_VSYNC_DISABLE
	.comm	_CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC,4,2 ; @CCDC_CCDCFG_FIDMD_NO_LATCH_VSYNC
	.comm	_CCDCFG,4,2                     ; @CCDCFG
	.comm	_HSIZE,4,2                      ; @HSIZE
	.comm	_CCDC_BUFTYPE_FLD_INTERLEAVED,8,3 ; @CCDC_BUFTYPE_FLD_INTERLEAVED
	.comm	_CCDC_SDOFST_FIELD_INTERLEAVED,4,2 ; @CCDC_SDOFST_FIELD_INTERLEAVED
	.comm	_SDOFST,4,2                     ; @SDOFST
l_.str.1:                               ; @.str.1
	.asciz	"\nEnd of ccdc_config_ycbcr...\n"

	.no_dead_strip	_ccdc_config_ycbcr
.subsections_via_symbols
