	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csid_set_stream
_csid_set_stream:                       ## @csid_set_stream
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_v4l2_get_subdevdata
	movq	%rax, %r12
	movq	16(%rax), %rax
	movl	(%rax), %r13d
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.1:
	movq	%r12, %rdi
	addq	$56, %rdi
	callq	_v4l2_ctrl_handler_setup
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	cmpq	$0, 72(%r12)
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_4
LBB0_7:
	movq	8(%r12), %rbx
	movq	_MSM_CSID_PAD_SRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	40(%r12), %edi
	movl	36(%r12), %esi
	leaq	(%rax,%rax,2), %rax
	movl	(%rbx,%rax,4), %edx
	movq	%rax, %r14
	callq	_csid_get_fmt_entry
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ecx
	imull	4(%rbx,%r14,4), %ecx
	movq	%r14, %rsi
	movq	%rbx, %rdx
	imull	4(%rax), %ecx
	movl	%r13d, %edi
	leal	7(%rcx), %r13d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r13d
	movq	_CAMSS_CSID_TG_VC_CFG_V_BLANKING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$24, %eax
	movq	_CAMSS_CSID_TG_VC_CFG_H_BLANKING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	shll	$13, %ebx
	andl	$16769024, %ebx                 ## imm = 0xFFE000
	orl	%eax, %ebx
	movq	(%r12), %r15
	movl	$8191, %r14d                    ## imm = 0x1FFF
	andl	8(%rdx,%rsi,4), %r14d
	callq	_CAMSS_CSID_TG_VC_CFG
	addq	%rax, %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_writel_relaxed
	shll	$13, %r13d
	andl	$536805376, %r13d               ## imm = 0x1FFF0000
	orl	%r14d, %r13d
	movq	(%r12), %rbx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_CAMSS_CSID_TG_DT_n_CGG_0
	addq	%rax, %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r14d
	movq	(%r12), %rbx
	movl	%r15d, %edi
	movl	%r15d, %r13d
	xorl	%esi, %esi
	callq	_CAMSS_CSID_TG_DT_n_CGG_1
	addq	%rax, %rbx
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	movl	64(%r12), %r15d
	movq	(%r12), %rbx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_CAMSS_CSID_TG_DT_n_CGG_2
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %r15d
	movq	(%r12), %r14
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_CAMSS_CSID_CID_LUT_VC_n
	addq	%rax, %r14
	movq	%r14, %rdi
	callq	_readl_relaxed
	andl	$-256, %eax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	orl	%eax, %r14d
	movq	(%r12), %rbx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_CAMSS_CSID_CID_LUT_VC_n
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	movq	_CAMSS_CSID_CID_n_CFG_ISPIF_EN@GOTPCREL(%rip), %rax
	movq	_CAMSS_CSID_CID_n_CFG_RDI_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	orl	%edx, %r15d
	movq	_CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	16(%r12), %rax
	movslq	(%rax), %rax
	movq	_CAMSS_8x96@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_10
## %bb.11:
	movq	8(%r12), %rcx
	movq	_MSM_CSID_PAD_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rax,2), %rax
	movl	(%rcx,%rax,4), %eax
	movq	_MSM_CSID_PAD_SRC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movq	_MEDIA_BUS_FMT_SBGGR10_1X10@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_13
## %bb.12:
	movq	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
LBB0_13:
	movq	_MEDIA_BUS_FMT_Y10_1X10@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_16
## %bb.14:
	movq	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_16
LBB0_15:
	movq	_CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_16
LBB0_19:
	xorl	%ebx, %ebx
	cmpq	$0, 72(%r12)
	je	LBB0_21
## %bb.20:
	movq	_CAMSS_CSID_TG_CTRL_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r12), %r12
	movl	%r13d, %edi
	callq	_CAMSS_CSID_TG_CTRL
	addq	%rax, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_writel_relaxed
	jmp	LBB0_21
LBB0_2:
	movl	%eax, %ebx
	movq	16(%r12), %rax
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	jmp	LBB0_21
LBB0_10:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_16:
	movq	(%r12), %rbx
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_CAMSS_CSID_CID_n_CFG
	addq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	cmpq	$0, 72(%r12)
	je	LBB0_17
## %bb.18:
	movq	_CAMSS_CSID_TG_CTRL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r12), %rbx
	movl	%r13d, %edi
	callq	_CAMSS_CSID_TG_CTRL
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_writel_relaxed
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_4:
	movq	_MSM_CSID_PAD_SINK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	48(%r12), %rdi
	callq	_media_entity_remote_pad
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpq	$0, 72(%r12)
	jne	LBB0_7
## %bb.8:
	movq	8(%r12), %rax
	movq	(%rbx), %rcx
	movl	40(%r12), %edi
	movl	36(%r12), %esi
	leaq	(%rcx,%rcx,2), %rcx
	movl	(%rax,%rcx,4), %edx
	callq	_csid_get_fmt_entry
	movq	%rax, %rbx
	movl	24(%r12), %eax
	movl	28(%r12), %edi
	decl	%eax
	shll	$4, %edi
	orl	%eax, %edi
	movq	_CAMSS_CSID_CORE_CTRL_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel_relaxed
	movl	32(%r12), %edi
	shll	$17, %edi
	orl	$9, %edi
	movq	_CAMSS_CSID_CORE_CTRL_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_writel_relaxed
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
LBB0_17:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_5:
	movq	_ENOLINK@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not sync v4l2 controls: %d\n"

	.comm	_MSM_CSID_PAD_SINK,8,3          ## @MSM_CSID_PAD_SINK
	.comm	_ENOLINK,4,2                    ## @ENOLINK
	.comm	_MSM_CSID_PAD_SRC,8,3           ## @MSM_CSID_PAD_SRC
	.comm	_CAMSS_CSID_TG_VC_CFG_V_BLANKING,4,2 ## @CAMSS_CSID_TG_VC_CFG_V_BLANKING
	.comm	_CAMSS_CSID_TG_VC_CFG_H_BLANKING,4,2 ## @CAMSS_CSID_TG_VC_CFG_H_BLANKING
	.comm	_CAMSS_CSID_CORE_CTRL_0,8,3     ## @CAMSS_CSID_CORE_CTRL_0
	.comm	_CAMSS_CSID_CORE_CTRL_1,8,3     ## @CAMSS_CSID_CORE_CTRL_1
	.comm	_CAMSS_CSID_CID_n_CFG_ISPIF_EN,4,2 ## @CAMSS_CSID_CID_n_CFG_ISPIF_EN
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_EN,4,2 ## @CAMSS_CSID_CID_n_CFG_RDI_EN
	.comm	_CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT,4,2 ## @CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP,4,2 ## @CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP
	.comm	_CAMSS_8x96,8,3                 ## @CAMSS_8x96
	.comm	_MEDIA_BUS_FMT_SBGGR10_1X10,4,2 ## @MEDIA_BUS_FMT_SBGGR10_1X10
	.comm	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,4,2 ## @MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
	.comm	_MEDIA_BUS_FMT_Y10_1X10,4,2     ## @MEDIA_BUS_FMT_Y10_1X10
	.comm	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE,4,2 ## @MEDIA_BUS_FMT_Y10_2X8_PADHI_LE
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING,4,2 ## @CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING
	.comm	_CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16,4,2 ## @CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16
	.comm	_CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB,4,2 ## @CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB
	.comm	_CAMSS_CSID_TG_CTRL_ENABLE,4,2  ## @CAMSS_CSID_TG_CTRL_ENABLE
	.comm	_CAMSS_CSID_TG_CTRL_DISABLE,4,2 ## @CAMSS_CSID_TG_CTRL_DISABLE
	.no_dead_strip	_csid_set_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csid_set_stream
_csid_set_stream:                       ; @csid_set_stream
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	bl	_v4l2_get_subdevdata
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	w20, [x8]
	cbz	w21, LBB0_12
; %bb.1:
	add	x0, x19, #56
	bl	_v4l2_ctrl_handler_setup
	tbnz	w0, #31, LBB0_16
; %bb.2:
	ldr	x8, [x19, #72]
Lloh0:
	adrp	x24, _MSM_CSID_PAD_SRC@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSM_CSID_PAD_SRC@GOTPAGEOFF]
	cbz	x8, LBB0_18
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	ldp	w1, w0, [x19, #36]
	mov	w10, #12
	madd	x22, x9, x10, x8
	ldr	w2, [x22]
	bl	_csid_get_fmt_entry
	mov	x21, x0
	ldp	w8, w9, [x0]
	ldp	w10, w23, [x22, #4]
	mul	w8, w8, w10
	mul	w8, w8, w9
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	lsr	w25, w8, #3
Lloh2:
	adrp	x8, _CAMSS_CSID_TG_VC_CFG_V_BLANKING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAMSS_CSID_TG_VC_CFG_V_BLANKING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w22, w8, #24
Lloh5:
	adrp	x8, _CAMSS_CSID_TG_VC_CFG_H_BLANKING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CAMSS_CSID_TG_VC_CFG_H_BLANKING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bfi	w22, w8, #13, #11
	ldr	x26, [x19]
	mov	x0, x20
	bl	_CAMSS_CSID_TG_VC_CFG
	add	x1, x0, x26
	mov	x0, x22
	bl	_writel_relaxed
	and	w22, w23, #0x1fff
	bfi	w22, w25, #16, #13
	ldr	x23, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_TG_DT_n_CGG_0
	add	x1, x0, x23
	mov	x0, x22
	bl	_writel_relaxed
	ldr	w22, [x21, #8]
	ldr	x23, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_TG_DT_n_CGG_1
	add	x1, x0, x23
	mov	x0, x22
	bl	_writel_relaxed
	ldr	w23, [x19, #64]
	ldr	x25, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_TG_DT_n_CGG_2
	add	x1, x0, x25
	mov	x0, x23
	bl	_writel_relaxed
LBB0_4:
	ldr	w23, [x21, #12]
	ldr	x21, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_CID_LUT_VC_n
	add	x0, x0, x21
	bl	_readl_relaxed
	and	w8, w0, #0xffffff00
	orr	w21, w8, w22
	ldr	x22, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_CID_LUT_VC_n
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel_relaxed
Lloh8:
	adrp	x8, _CAMSS_CSID_CID_n_CFG_ISPIF_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CAMSS_CSID_CID_n_CFG_ISPIF_EN@GOTPAGEOFF]
Lloh10:
	adrp	x9, _CAMSS_CSID_CID_n_CFG_RDI_EN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CAMSS_CSID_CID_n_CFG_RDI_EN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w9, w23, w9
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w21, w8, w9
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8]
Lloh20:
	adrp	x9, _CAMSS_8x96@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CAMSS_8x96@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.5:
	ldr	x8, [x19, #8]
Lloh23:
	adrp	x9, _MSM_CSID_PAD_SINK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MSM_CSID_PAD_SINK@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	mov	w10, #12
	mul	x9, x9, x10
	ldr	w9, [x8, x9]
	ldr	x11, [x24]
	mul	x10, x11, x10
	ldr	w8, [x8, x10]
Lloh26:
	adrp	x10, _MEDIA_BUS_FMT_SBGGR10_1X10@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MEDIA_BUS_FMT_SBGGR10_1X10@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.6:
Lloh29:
	adrp	x10, _MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPAGE
Lloh30:
	ldr	x10, [x10, _MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_9
LBB0_7:
Lloh32:
	adrp	x10, _MEDIA_BUS_FMT_Y10_1X10@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MEDIA_BUS_FMT_Y10_1X10@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.8:
Lloh35:
	adrp	x9, _MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MEDIA_BUS_FMT_Y10_2X8_PADHI_LE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
LBB0_9:
Lloh38:
	adrp	x8, _CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w8, w8, w21
Lloh41:
	adrp	x9, _CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16@GOTPAGE
Lloh42:
	ldr	x9, [x9, _CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB@GOTPAGE
Lloh45:
	ldr	x9, [x9, _CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w21, w8, w9
LBB0_10:
	ldr	x22, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_CAMSS_CSID_CID_n_CFG
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel_relaxed
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_15
; %bb.11:
Lloh47:
	adrp	x8, _CAMSS_CSID_TG_CTRL_ENABLE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CAMSS_CSID_TG_CTRL_ENABLE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_15
; %bb.13:
Lloh49:
	adrp	x8, _CAMSS_CSID_TG_CTRL_DISABLE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _CAMSS_CSID_TG_CTRL_DISABLE@GOTPAGEOFF]
LBB0_14:
	ldr	w21, [x8]
	ldr	x19, [x19]
	mov	x0, x20
	bl	_CAMSS_CSID_TG_CTRL
	add	x1, x0, x19
	mov	x0, x21
	bl	_writel_relaxed
LBB0_15:
	mov	w21, #0
	b	LBB0_17
LBB0_16:
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
Lloh51:
	adrp	x1, l_.str@PAGE
Lloh52:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_err
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	x8, [x19, #48]
Lloh53:
	adrp	x21, _MSM_CSID_PAD_SINK@GOTPAGE
Lloh54:
	ldr	x21, [x21, _MSM_CSID_PAD_SINK@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #2
	bl	_media_entity_remote_pad
	cbz	w0, LBB0_21
; %bb.19:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_3
; %bb.20:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	ldp	w1, w0, [x19, #36]
	mov	w10, #12
	mul	x9, x9, x10
	ldr	w2, [x8, x9]
	bl	_csid_get_fmt_entry
	mov	x21, x0
	ldp	w8, w9, [x19, #24]
	sub	w8, w8, #1
	orr	w0, w8, w9, lsl #4
	ldr	x8, [x19]
Lloh55:
	adrp	x9, _CAMSS_CSID_CORE_CTRL_0@GOTPAGE
Lloh56:
	ldr	x9, [x9, _CAMSS_CSID_CORE_CTRL_0@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w8, [x19, #32]
	mov	w0, #9
	bfi	w0, w8, #17, #15
	ldr	x8, [x19]
Lloh58:
	adrp	x9, _CAMSS_CSID_CORE_CTRL_1@GOTPAGE
Lloh59:
	ldr	x9, [x9, _CAMSS_CSID_CORE_CTRL_1@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w22, [x21, #8]
	b	LBB0_4
LBB0_21:
Lloh61:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not sync v4l2 controls: %d\n"

	.comm	_MSM_CSID_PAD_SINK,8,3          ; @MSM_CSID_PAD_SINK
	.comm	_ENOLINK,4,2                    ; @ENOLINK
	.comm	_MSM_CSID_PAD_SRC,8,3           ; @MSM_CSID_PAD_SRC
	.comm	_CAMSS_CSID_TG_VC_CFG_V_BLANKING,4,2 ; @CAMSS_CSID_TG_VC_CFG_V_BLANKING
	.comm	_CAMSS_CSID_TG_VC_CFG_H_BLANKING,4,2 ; @CAMSS_CSID_TG_VC_CFG_H_BLANKING
	.comm	_CAMSS_CSID_CORE_CTRL_0,8,3     ; @CAMSS_CSID_CORE_CTRL_0
	.comm	_CAMSS_CSID_CORE_CTRL_1,8,3     ; @CAMSS_CSID_CORE_CTRL_1
	.comm	_CAMSS_CSID_CID_n_CFG_ISPIF_EN,4,2 ; @CAMSS_CSID_CID_n_CFG_ISPIF_EN
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_EN,4,2 ; @CAMSS_CSID_CID_n_CFG_RDI_EN
	.comm	_CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT,4,2 ; @CAMSS_CSID_CID_n_CFG_DECODE_FORMAT_SHIFT
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP,4,2 ; @CAMSS_CSID_CID_n_CFG_RDI_MODE_RAW_DUMP
	.comm	_CAMSS_8x96,8,3                 ; @CAMSS_8x96
	.comm	_MEDIA_BUS_FMT_SBGGR10_1X10,4,2 ; @MEDIA_BUS_FMT_SBGGR10_1X10
	.comm	_MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE,4,2 ; @MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE
	.comm	_MEDIA_BUS_FMT_Y10_1X10,4,2     ; @MEDIA_BUS_FMT_Y10_1X10
	.comm	_MEDIA_BUS_FMT_Y10_2X8_PADHI_LE,4,2 ; @MEDIA_BUS_FMT_Y10_2X8_PADHI_LE
	.comm	_CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING,4,2 ; @CAMSS_CSID_CID_n_CFG_RDI_MODE_PLAIN_PACKING
	.comm	_CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16,4,2 ; @CAMSS_CSID_CID_n_CFG_PLAIN_FORMAT_16
	.comm	_CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB,4,2 ; @CAMSS_CSID_CID_n_CFG_PLAIN_ALIGNMENT_LSB
	.comm	_CAMSS_CSID_TG_CTRL_ENABLE,4,2  ; @CAMSS_CSID_TG_CTRL_ENABLE
	.comm	_CAMSS_CSID_TG_CTRL_DISABLE,4,2 ; @CAMSS_CSID_TG_CTRL_DISABLE
	.no_dead_strip	_csid_set_stream
.subsections_via_symbols
