	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_config_raw
_isif_config_raw:                       ## @isif_config_raw
	.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	_isif_cfg@GOTPCREL(%rip), %r14
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_ISIF_YCINSWP_RAW@GOTPCREL(%rip), %rax
	movq	_ISIF_CCDCFG_FIDMD_LATCH_VSYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_ISIF_CCDCFG_WENLOG_AND@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ISIF_CCDCFG_TRGSEL_WEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ISIF_CCDCFG_EXTRG_DISABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r14), %ebx
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_CCDCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movq	_ISIF_VDHDOUT_INPUT@GOTPCREL(%rip), %rsi
	movq	_ISIF_VD_POL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	8(%r14), %eax
	movl	12(%r14), %edx
	shll	%cl, %eax
	movq	_ISIF_HD_POL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	(%rsi), %eax
	movl	16(%r14), %esi
	movq	_ISIF_FID_POL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_ISIF_DATAPOL_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_ISIF_DATAPOL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	_ISIF_EXWEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_ISIF_EXWEN_DISABLE@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	shll	%cl, %edi
	orl	%edx, %esi
	movq	_ISIF_FRM_FMT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	20(%r14), %edx
	shll	%cl, %edx
	orl	%esi, %ebx
	orl	%ebx, %edi
	movq	_ISIF_INPUT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	24(%r14), %esi
	shll	%cl, %esi
	orl	%eax, %edi
	orl	%edx, %esi
	movl	48(%r14), %ebx
	movq	_ISIF_DATASFT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%esi, %ebx
	orl	%edi, %ebx
	movq	_MODESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	4(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_ISIF_GAMMAWD_CFA_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	28(%r14), %ebx
	movl	32(%r14), %eax
	shll	%cl, %ebx
	movq	128(%r14), %rcx
	movq	_ISIF_ALAW@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_ISIF_ALAW_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_2:
	movq	_ISIF_ALAW_GAMMA_WD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_CGAMMAWD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movq	128(%r14), %rax
	movq	_ISIF_DPCM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_ISIF_DPCM_EN_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	136(%r14), %ebx
	movq	_ISIF_DPCM_PREDICTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
LBB0_4:
	movq	_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	xorl	%eax, %eax
	callq	_isif_config_gain_offset
	movl	112(%r14), %eax
	shll	$2, %eax
	orl	108(%r14), %eax
	movl	116(%r14), %ecx
	shll	$4, %ecx
	movl	120(%r14), %edx
	shll	$6, %edx
	orl	%ecx, %edx
	movl	92(%r14), %ecx
	movl	96(%r14), %esi
	shll	$8, %ecx
	orl	%edx, %ecx
	shll	$10, %esi
	orl	%ecx, %esi
	movl	100(%r14), %ecx
	shll	$12, %ecx
	orl	%esi, %ecx
	movl	104(%r14), %ebx
	shll	$14, %ebx
	orl	%ecx, %ebx
	orl	%eax, %ebx
	movq	_CCOLP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	4(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	xorl	%eax, %eax
	cmpl	$0, 152(%r14)
	setne	%al
	movq	_ISIF_HSIZE_FLIP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	(%r14), %edx
	movq	_ISIF_PACK_8BIT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_6
## %bb.5:
	movl	36(%r14), %edi
	jmp	LBB0_9
LBB0_6:
	movq	_ISIF_PACK_12BIT@GOTPCREL(%rip), %rsi
	movl	36(%r14), %ecx
	cmpl	(%rsi), %edx
	jne	LBB0_8
## %bb.7:
	movl	%ecx, %edi
	sarl	$2, %edi
	addl	%ecx, %edi
	jmp	LBB0_9
LBB0_8:
	addl	%ecx, %ecx
	movl	%ecx, %edi
LBB0_9:
	addl	$31, %edi
	sarl	$5, %edi
	orl	%eax, %edi
	movq	_HSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	20(%r14), %eax
	movq	_CCDC_FRMFMT_INTERLACED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.10:
	cmpq	$0, 144(%r14)
	movq	_SDOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_12
## %bb.11:
	movl	$19309, %edi                    ## imm = 0x4B6D
	callq	_regw
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_17
LBB0_13:
	movq	_CCDC_FRMFMT_PROGRESSIVE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.14:
	cmpq	$0, 144(%r14)
	movq	_SDOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	je	LBB0_16
## %bb.15:
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_regw
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_17
LBB0_12:
	movl	$2925, %edi                     ## imm = 0xB6D
	callq	_regw
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_17
LBB0_16:
	xorl	%edi, %edi
	callq	_regw
	leaq	L_.str.7(%rip), %rsi
LBB0_17:
	movl	4(%r14), %edi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_18:
	movl	20(%r14), %esi
	leaq	36(%r14), %rdi
	movl	$1, %edx
	callq	_isif_setwin
	leaq	88(%r14), %rdi
	callq	_isif_config_bclamp
	leaq	84(%r14), %rdi
	callq	_isif_config_dfc
	testq	%rax, %rax
	js	LBB0_19
## %bb.20:
	cmpl	$0, 80(%r14)
	jne	LBB0_22
## %bb.21:
	leaq	80(%r14), %rdi
	callq	_isif_config_csc
LBB0_22:
	leaq	76(%r14), %rdi
	callq	_isif_config_linearization
	leaq	72(%r14), %rdi
	callq	_isif_config_culling
	movl	52(%r14), %edi
	movq	_DATAHOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	56(%r14), %edi
	movq	_DATAVOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	cmpq	$0, 64(%r14)
	je	LBB0_24
## %bb.23:
	movl	8(%r14), %edi
	movl	12(%r14), %eax
	shlq	$32, %rdi
	orq	%rax, %rdi
	callq	_dm365_vpss_set_sync_pol
	movq	36(%r14), %rdi
	callq	_dm365_vpss_set_pg_frame_size
	movq	_VPSS_PGLPBK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vpss_select_ccdc_source
LBB0_24:
	movl	4(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_25
LBB0_19:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isif_cfg,160,3                 ## @isif_cfg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nStarting isif_config_raw..\n"

	.comm	_ISIF_YCINSWP_RAW,4,2           ## @ISIF_YCINSWP_RAW
	.comm	_ISIF_CCDCFG_FIDMD_LATCH_VSYNC,4,2 ## @ISIF_CCDCFG_FIDMD_LATCH_VSYNC
	.comm	_ISIF_CCDCFG_WENLOG_AND,4,2     ## @ISIF_CCDCFG_WENLOG_AND
	.comm	_ISIF_CCDCFG_TRGSEL_WEN,4,2     ## @ISIF_CCDCFG_TRGSEL_WEN
	.comm	_ISIF_CCDCFG_EXTRG_DISABLE,4,2  ## @ISIF_CCDCFG_EXTRG_DISABLE
L_.str.1:                               ## @.str.1
	.asciz	"Writing 0x%x to ...CCDCFG \n"

	.comm	_CCDCFG,4,2                     ## @CCDCFG
	.comm	_ISIF_VDHDOUT_INPUT,4,2         ## @ISIF_VDHDOUT_INPUT
	.comm	_ISIF_VD_POL_SHIFT,4,2          ## @ISIF_VD_POL_SHIFT
	.comm	_ISIF_HD_POL_SHIFT,4,2          ## @ISIF_HD_POL_SHIFT
	.comm	_ISIF_FID_POL_SHIFT,4,2         ## @ISIF_FID_POL_SHIFT
	.comm	_ISIF_DATAPOL_NORMAL,4,2        ## @ISIF_DATAPOL_NORMAL
	.comm	_ISIF_DATAPOL_SHIFT,4,2         ## @ISIF_DATAPOL_SHIFT
	.comm	_ISIF_EXWEN_DISABLE,4,2         ## @ISIF_EXWEN_DISABLE
	.comm	_ISIF_EXWEN_SHIFT,4,2           ## @ISIF_EXWEN_SHIFT
	.comm	_ISIF_FRM_FMT_SHIFT,4,2         ## @ISIF_FRM_FMT_SHIFT
	.comm	_ISIF_INPUT_SHIFT,4,2           ## @ISIF_INPUT_SHIFT
	.comm	_ISIF_DATASFT_SHIFT,4,2         ## @ISIF_DATASFT_SHIFT
	.comm	_MODESET,4,2                    ## @MODESET
L_.str.2:                               ## @.str.2
	.asciz	"Writing 0x%x to MODESET...\n"

	.comm	_ISIF_GAMMAWD_CFA_SHIFT,4,2     ## @ISIF_GAMMAWD_CFA_SHIFT
	.comm	_ISIF_ALAW,8,3                  ## @ISIF_ALAW
	.comm	_ISIF_ALAW_ENABLE,4,2           ## @ISIF_ALAW_ENABLE
	.comm	_ISIF_ALAW_GAMMA_WD_SHIFT,4,2   ## @ISIF_ALAW_GAMMA_WD_SHIFT
	.comm	_CGAMMAWD,4,2                   ## @CGAMMAWD
	.comm	_ISIF_DPCM,8,3                  ## @ISIF_DPCM
	.comm	_ISIF_DPCM_EN_SHIFT,4,2         ## @ISIF_DPCM_EN_SHIFT
	.comm	_ISIF_DPCM_PREDICTOR_SHIFT,4,2  ## @ISIF_DPCM_PREDICTOR_SHIFT
	.comm	_MISC,4,2                       ## @MISC
	.comm	_CCOLP,4,2                      ## @CCOLP
L_.str.3:                               ## @.str.3
	.asciz	"Writing %x to CCOLP ...\n"

	.comm	_ISIF_HSIZE_FLIP_SHIFT,4,2      ## @ISIF_HSIZE_FLIP_SHIFT
	.comm	_ISIF_PACK_8BIT,4,2             ## @ISIF_PACK_8BIT
	.comm	_ISIF_PACK_12BIT,4,2            ## @ISIF_PACK_12BIT
	.comm	_HSIZE,4,2                      ## @HSIZE
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ## @CCDC_FRMFMT_INTERLACED
	.comm	_SDOFST,4,2                     ## @SDOFST
L_.str.4:                               ## @.str.4
	.asciz	"Writing 0x4B6D to SDOFST...\n"

L_.str.5:                               ## @.str.5
	.asciz	"Writing 0x0B6D to SDOFST...\n"

	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ## @CCDC_FRMFMT_PROGRESSIVE
L_.str.6:                               ## @.str.6
	.asciz	"Writing 0x4000 to SDOFST...\n"

L_.str.7:                               ## @.str.7
	.asciz	"Writing 0x0000 to SDOFST...\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_DATAHOFST,4,2                  ## @DATAHOFST
	.comm	_DATAVOFST,4,2                  ## @DATAVOFST
	.comm	_VPSS_PGLPBK,4,2                ## @VPSS_PGLPBK
L_.str.8:                               ## @.str.8
	.asciz	"\nEnd of isif_config_ycbcr...\n"

	.no_dead_strip	_isif_config_raw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_config_raw
_isif_config_raw:                       ; @isif_config_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x20, _isif_cfg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _isif_cfg@GOTPAGEOFF]
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh4:
	adrp	x8, _ISIF_YCINSWP_RAW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISIF_YCINSWP_RAW@GOTPAGEOFF]
Lloh6:
	adrp	x9, _ISIF_CCDCFG_FIDMD_LATCH_VSYNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISIF_CCDCFG_FIDMD_LATCH_VSYNC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _ISIF_CCDCFG_WENLOG_AND@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ISIF_CCDCFG_WENLOG_AND@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _ISIF_CCDCFG_TRGSEL_WEN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ISIF_CCDCFG_TRGSEL_WEN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _ISIF_CCDCFG_EXTRG_DISABLE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ISIF_CCDCFG_EXTRG_DISABLE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh18:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldp	w9, w0, [x20]
	orr	w19, w8, w9
	str	x19, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
Lloh21:
	adrp	x8, _CCDCFG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CCDCFG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regw
Lloh24:
	adrp	x8, _ISIF_VDHDOUT_INPUT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ISIF_VDHDOUT_INPUT@GOTPAGEOFF]
Lloh26:
	adrp	x9, _ISIF_VD_POL_SHIFT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ISIF_VD_POL_SHIFT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	ldp	w10, w11, [x20, #8]
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh30:
	adrp	x9, _ISIF_HD_POL_SHIFT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ISIF_HD_POL_SHIFT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	lsl	w9, w11, w9
Lloh33:
	adrp	x10, _ISIF_FID_POL_SHIFT@GOTPAGE
Lloh34:
	ldr	x10, [x10, _ISIF_FID_POL_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh35:
	ldr	w9, [x10]
	ldp	w10, w11, [x20, #16]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _ISIF_DATAPOL_NORMAL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ISIF_DATAPOL_NORMAL@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _ISIF_DATAPOL_SHIFT@GOTPAGE
Lloh40:
	ldr	x10, [x10, _ISIF_DATAPOL_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _ISIF_EXWEN_DISABLE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ISIF_EXWEN_DISABLE@GOTPAGEOFF]
Lloh44:
	adrp	x10, _ISIF_EXWEN_SHIFT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ISIF_EXWEN_SHIFT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _ISIF_FRM_FMT_SHIFT@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ISIF_FRM_FMT_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	lsl	w9, w11, w9
	orr	w8, w8, w9
	ldr	w9, [x20, #24]
Lloh51:
	adrp	x10, _ISIF_INPUT_SHIFT@GOTPAGE
Lloh52:
	ldr	x10, [x10, _ISIF_INPUT_SHIFT@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	ldr	w9, [x20, #48]
Lloh54:
	adrp	x10, _ISIF_DATASFT_SHIFT@GOTPAGE
Lloh55:
	ldr	x10, [x10, _ISIF_DATASFT_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w19, w8, w9
Lloh57:
	adrp	x8, _MODESET@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MODESET@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regw
	ldr	w0, [x20, #4]
	str	x19, [sp]
Lloh60:
	adrp	x1, l_.str.2@PAGE
Lloh61:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
Lloh62:
	adrp	x8, _ISIF_GAMMAWD_CFA_SHIFT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ISIF_GAMMAWD_CFA_SHIFT@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	ldr	x9, [x20, #128]
Lloh65:
	adrp	x10, _ISIF_ALAW@GOTPAGE
Lloh66:
	ldr	x10, [x10, _ISIF_ALAW@GOTPAGEOFF]
Lloh67:
	ldr	x10, [x10]
Lloh68:
	adrp	x11, _ISIF_ALAW_ENABLE@GOTPAGE
Lloh69:
	ldr	x11, [x11, _ISIF_ALAW_ENABLE@GOTPAGEOFF]
	cmp	x9, x10
	ldp	w9, w10, [x20, #28]
	lsl	w8, w9, w8
Lloh70:
	ldr	w9, [x11]
	csel	w9, w9, wzr, eq
	orr	w8, w9, w8
Lloh71:
	adrp	x9, _ISIF_ALAW_GAMMA_WD_SHIFT@GOTPAGE
Lloh72:
	ldr	x9, [x9, _ISIF_ALAW_GAMMA_WD_SHIFT@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w19, w8, w9
Lloh74:
	adrp	x8, _CGAMMAWD@GOTPAGE
Lloh75:
	ldr	x8, [x8, _CGAMMAWD@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regw
	ldr	x8, [x20, #128]
Lloh77:
	adrp	x9, _ISIF_DPCM@GOTPAGE
Lloh78:
	ldr	x9, [x9, _ISIF_DPCM@GOTPAGEOFF]
Lloh79:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh80:
	adrp	x8, _ISIF_DPCM_EN_SHIFT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ISIF_DPCM_EN_SHIFT@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	bl	_BIT
	ldr	w8, [x20, #136]
Lloh83:
	adrp	x9, _ISIF_DPCM_PREDICTOR_SHIFT@GOTPAGE
Lloh84:
	ldr	x9, [x9, _ISIF_DPCM_PREDICTOR_SHIFT@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w19, w8, w0
LBB0_2:
Lloh86:
	adrp	x8, _MISC@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MISC@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regw
	bl	_isif_config_gain_offset
	ldp	w8, w9, [x20, #108]
	orr	w8, w8, w9, lsl #2
	ldp	w9, w10, [x20, #116]
	orr	w8, w8, w9, lsl #4
	orr	w8, w8, w10, lsl #6
	ldp	w9, w10, [x20, #92]
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w10, lsl #10
	ldp	w9, w10, [x20, #100]
	orr	w8, w8, w9, lsl #12
	orr	w19, w8, w10, lsl #14
Lloh89:
	adrp	x8, _CCOLP@GOTPAGE
Lloh90:
	ldr	x8, [x8, _CCOLP@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_regw
	ldr	w0, [x20, #4]
	str	x19, [sp]
Lloh92:
	adrp	x1, l_.str.3@PAGE
Lloh93:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x20, #152]
	cmp	w8, #0
	cset	w8, ne
Lloh94:
	adrp	x9, _ISIF_HSIZE_FLIP_SHIFT@GOTPAGE
Lloh95:
	ldr	x9, [x9, _ISIF_HSIZE_FLIP_SHIFT@GOTPAGEOFF]
Lloh96:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	w9, [x20]
Lloh97:
	adrp	x10, _ISIF_PACK_8BIT@GOTPAGE
Lloh98:
	ldr	x10, [x10, _ISIF_PACK_8BIT@GOTPAGEOFF]
Lloh99:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x20, #36]
	b	LBB0_7
LBB0_4:
Lloh100:
	adrp	x10, _ISIF_PACK_12BIT@GOTPAGE
Lloh101:
	ldr	x10, [x10, _ISIF_PACK_12BIT@GOTPAGEOFF]
Lloh102:
	ldr	w11, [x10]
	ldr	w10, [x20, #36]
	cmp	w9, w11
	b.ne	LBB0_6
; %bb.5:
	add	w9, w10, w10, asr #2
	b	LBB0_7
LBB0_6:
	lsl	w9, w10, #1
LBB0_7:
	add	w9, w9, #31
	orr	w0, w8, w9, asr #5
Lloh103:
	adrp	x8, _HSIZE@GOTPAGE
Lloh104:
	ldr	x8, [x8, _HSIZE@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
	bl	_regw
	ldr	w8, [x20, #20]
Lloh106:
	adrp	x9, _CCDC_FRMFMT_INTERLACED@GOTPAGE
Lloh107:
	ldr	x9, [x9, _CCDC_FRMFMT_INTERLACED@GOTPAGEOFF]
Lloh108:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x20, #144]
Lloh109:
	adrp	x9, _SDOFST@GOTPAGE
Lloh110:
	ldr	x9, [x9, _SDOFST@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x9]
	cbz	x8, LBB0_13
; %bb.9:
	mov	w0, #19309
	bl	_regw
Lloh112:
	adrp	x1, l_.str.4@PAGE
Lloh113:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh114:
	adrp	x9, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGE
Lloh115:
	ldr	x9, [x9, _CCDC_FRMFMT_PROGRESSIVE@GOTPAGEOFF]
Lloh116:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.11:
	ldr	x8, [x20, #144]
Lloh117:
	adrp	x9, _SDOFST@GOTPAGE
Lloh118:
	ldr	x9, [x9, _SDOFST@GOTPAGEOFF]
Lloh119:
	ldr	w1, [x9]
	cbz	x8, LBB0_14
; %bb.12:
	mov	w0, #16384
	bl	_regw
Lloh120:
	adrp	x1, l_.str.6@PAGE
Lloh121:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_15
LBB0_13:
	mov	w0, #2925
	bl	_regw
Lloh122:
	adrp	x1, l_.str.5@PAGE
Lloh123:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_14:
	mov	w0, #0
	bl	_regw
Lloh124:
	adrp	x1, l_.str.7@PAGE
Lloh125:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_15:
	ldr	w0, [x20, #4]
	bl	_dev_dbg
LBB0_16:
	ldr	w1, [x20, #20]
	add	x0, x20, #36
	mov	w2, #1
	bl	_isif_setwin
	add	x0, x20, #88
	bl	_isif_config_bclamp
	add	x0, x20, #84
	bl	_isif_config_dfc
	tbnz	x0, #63, LBB0_22
; %bb.17:
	ldr	w8, [x20, #80]
	cbnz	w8, LBB0_19
; %bb.18:
	add	x0, x20, #80
	bl	_isif_config_csc
LBB0_19:
	add	x0, x20, #76
	bl	_isif_config_linearization
	add	x0, x20, #72
	bl	_isif_config_culling
	ldr	w0, [x20, #52]
Lloh126:
	adrp	x8, _DATAHOFST@GOTPAGE
Lloh127:
	ldr	x8, [x8, _DATAHOFST@GOTPAGEOFF]
Lloh128:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x20, #56]
Lloh129:
	adrp	x8, _DATAVOFST@GOTPAGE
Lloh130:
	ldr	x8, [x8, _DATAVOFST@GOTPAGEOFF]
Lloh131:
	ldr	w1, [x8]
	bl	_regw
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_21
; %bb.20:
	ldp	w8, w0, [x20, #8]
	bfi	x0, x8, #32, #32
	bl	_dm365_vpss_set_sync_pol
	ldur	x0, [x20, #36]
	bl	_dm365_vpss_set_pg_frame_size
Lloh132:
	adrp	x8, _VPSS_PGLPBK@GOTPAGE
Lloh133:
	ldr	x8, [x8, _VPSS_PGLPBK@GOTPAGEOFF]
Lloh134:
	ldr	w0, [x8]
	bl	_vpss_select_ccdc_source
LBB0_21:
	ldr	w0, [x20, #4]
Lloh135:
	adrp	x1, l_.str.8@PAGE
Lloh136:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_dbg
	mov	w0, #0
	b	LBB0_23
LBB0_22:
Lloh137:
	adrp	x8, _EFAULT@GOTPAGE
Lloh138:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh139:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpAdd	Lloh122, Lloh123
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpAdd	Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.cfi_endproc
                                        ; -- End function
	.comm	_isif_cfg,160,3                 ; @isif_cfg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nStarting isif_config_raw..\n"

	.comm	_ISIF_YCINSWP_RAW,4,2           ; @ISIF_YCINSWP_RAW
	.comm	_ISIF_CCDCFG_FIDMD_LATCH_VSYNC,4,2 ; @ISIF_CCDCFG_FIDMD_LATCH_VSYNC
	.comm	_ISIF_CCDCFG_WENLOG_AND,4,2     ; @ISIF_CCDCFG_WENLOG_AND
	.comm	_ISIF_CCDCFG_TRGSEL_WEN,4,2     ; @ISIF_CCDCFG_TRGSEL_WEN
	.comm	_ISIF_CCDCFG_EXTRG_DISABLE,4,2  ; @ISIF_CCDCFG_EXTRG_DISABLE
l_.str.1:                               ; @.str.1
	.asciz	"Writing 0x%x to ...CCDCFG \n"

	.comm	_CCDCFG,4,2                     ; @CCDCFG
	.comm	_ISIF_VDHDOUT_INPUT,4,2         ; @ISIF_VDHDOUT_INPUT
	.comm	_ISIF_VD_POL_SHIFT,4,2          ; @ISIF_VD_POL_SHIFT
	.comm	_ISIF_HD_POL_SHIFT,4,2          ; @ISIF_HD_POL_SHIFT
	.comm	_ISIF_FID_POL_SHIFT,4,2         ; @ISIF_FID_POL_SHIFT
	.comm	_ISIF_DATAPOL_NORMAL,4,2        ; @ISIF_DATAPOL_NORMAL
	.comm	_ISIF_DATAPOL_SHIFT,4,2         ; @ISIF_DATAPOL_SHIFT
	.comm	_ISIF_EXWEN_DISABLE,4,2         ; @ISIF_EXWEN_DISABLE
	.comm	_ISIF_EXWEN_SHIFT,4,2           ; @ISIF_EXWEN_SHIFT
	.comm	_ISIF_FRM_FMT_SHIFT,4,2         ; @ISIF_FRM_FMT_SHIFT
	.comm	_ISIF_INPUT_SHIFT,4,2           ; @ISIF_INPUT_SHIFT
	.comm	_ISIF_DATASFT_SHIFT,4,2         ; @ISIF_DATASFT_SHIFT
	.comm	_MODESET,4,2                    ; @MODESET
l_.str.2:                               ; @.str.2
	.asciz	"Writing 0x%x to MODESET...\n"

	.comm	_ISIF_GAMMAWD_CFA_SHIFT,4,2     ; @ISIF_GAMMAWD_CFA_SHIFT
	.comm	_ISIF_ALAW,8,3                  ; @ISIF_ALAW
	.comm	_ISIF_ALAW_ENABLE,4,2           ; @ISIF_ALAW_ENABLE
	.comm	_ISIF_ALAW_GAMMA_WD_SHIFT,4,2   ; @ISIF_ALAW_GAMMA_WD_SHIFT
	.comm	_CGAMMAWD,4,2                   ; @CGAMMAWD
	.comm	_ISIF_DPCM,8,3                  ; @ISIF_DPCM
	.comm	_ISIF_DPCM_EN_SHIFT,4,2         ; @ISIF_DPCM_EN_SHIFT
	.comm	_ISIF_DPCM_PREDICTOR_SHIFT,4,2  ; @ISIF_DPCM_PREDICTOR_SHIFT
	.comm	_MISC,4,2                       ; @MISC
	.comm	_CCOLP,4,2                      ; @CCOLP
l_.str.3:                               ; @.str.3
	.asciz	"Writing %x to CCOLP ...\n"

	.comm	_ISIF_HSIZE_FLIP_SHIFT,4,2      ; @ISIF_HSIZE_FLIP_SHIFT
	.comm	_ISIF_PACK_8BIT,4,2             ; @ISIF_PACK_8BIT
	.comm	_ISIF_PACK_12BIT,4,2            ; @ISIF_PACK_12BIT
	.comm	_HSIZE,4,2                      ; @HSIZE
	.comm	_CCDC_FRMFMT_INTERLACED,4,2     ; @CCDC_FRMFMT_INTERLACED
	.comm	_SDOFST,4,2                     ; @SDOFST
l_.str.4:                               ; @.str.4
	.asciz	"Writing 0x4B6D to SDOFST...\n"

l_.str.5:                               ; @.str.5
	.asciz	"Writing 0x0B6D to SDOFST...\n"

	.comm	_CCDC_FRMFMT_PROGRESSIVE,4,2    ; @CCDC_FRMFMT_PROGRESSIVE
l_.str.6:                               ; @.str.6
	.asciz	"Writing 0x4000 to SDOFST...\n"

l_.str.7:                               ; @.str.7
	.asciz	"Writing 0x0000 to SDOFST...\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_DATAHOFST,4,2                  ; @DATAHOFST
	.comm	_DATAVOFST,4,2                  ; @DATAVOFST
	.comm	_VPSS_PGLPBK,4,2                ; @VPSS_PGLPBK
l_.str.8:                               ; @.str.8
	.asciz	"\nEnd of isif_config_ycbcr...\n"

	.no_dead_strip	_isif_config_raw
.subsections_via_symbols
