	.file	"extr_camss-csiphy-2ph-1-0.c_csiphy_lanes_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	csiphy_lanes_disable, @function
csiphy_lanes_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [rsi]
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	js	.L2
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rax+rbx*4]
.L4:
	mov	rbp, QWORD PTR 0[r13]
	add	rbx, 1
	call	CAMSS_CSI_PHY_LNn_CFG2@PLT
	xor	edi, edi
	lea	rsi, 0[rbp+rax]
	call	writel_relaxed@PLT
	mov	eax, DWORD PTR [r12]
	cmp	eax, ebx
	jl	.L2
.L5:
	cmp	eax, ebx
	jne	.L3
	mov	edi, DWORD PTR 16[r12]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rsi, QWORD PTR CAMSS_CSI_PHY_GLBL_PWR_CFG[rip]
	add	rsi, QWORD PTR 0[r13]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	writel_relaxed@PLT
	.cfi_endproc
.LFE0:
	.size	csiphy_lanes_disable, .-csiphy_lanes_disable
	.comm	CAMSS_CSI_PHY_GLBL_PWR_CFG,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_camss-csiphy-2ph-1-0.c_csiphy_lanes_disable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	csiphy_lanes_disable, %function
csiphy_lanes_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r1]
	mov	r7, r0
	ldr	r3, [r5]
	cmp	r3, #0
	blt	.L2
	mov	r4, #0
.L5:
	cmp	r4, r3
	ldrne	r3, [r5, #4]
	ldreq	r0, [r5, #8]
	ldrne	r0, [r3, r4, lsl #2]
	ldr	r6, [r7]
	bl	CAMSS_CSI_PHY_LNn_CFG2
	mov	r1, r0
	mov	r0, #0
	add	r1, r6, r1
	bl	writel_relaxed
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bge	.L5
.L2:
	ldr	r3, .L9
	ldr	r1, [r7]
	ldr	r3, [r3]
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, lr}
	add	r1, r1, r3
	b	writel_relaxed
.L10:
	.align	2
.L9:
	.word	CAMSS_CSI_PHY_GLBL_PWR_CFG
	.size	csiphy_lanes_disable, .-csiphy_lanes_disable
	.comm	CAMSS_CSI_PHY_GLBL_PWR_CFG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
