	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csiphy_init           ## -- Begin function omap3isp_csiphy_init
	.p2align	4, 0x90
_omap3isp_csiphy_init:                  ## @omap3isp_csiphy_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rdi, 48(%rdi)
	leaq	12(%rdi), %rax
	movq	%rax, 32(%rdi)
	movq	_ISP_CSIPHY2_NUM_DATA_LANES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rdi)
	movq	_OMAP3_ISP_IOMEM_CSIPHY2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	addq	$40, %rdi
	callq	_mutex_init
	movq	%rbx, 88(%rbx)
	leaq	80(%rbx), %rdi
	callq	_mutex_init
	movq	(%rbx), %rax
	movq	_ISP_REVISION_15_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rax
	movq	%rax, 72(%rbx)
	movq	_ISP_CSIPHY1_NUM_DATA_LANES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_OMAP3_ISP_IOMEM_CSIPHY1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISP_CSIPHY2_NUM_DATA_LANES,4,2 ## @ISP_CSIPHY2_NUM_DATA_LANES
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ## @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSIPHY2,4,2    ## @OMAP3_ISP_IOMEM_CSIPHY2
	.comm	_ISP_REVISION_15_0,8,3          ## @ISP_REVISION_15_0
	.comm	_ISP_CSIPHY1_NUM_DATA_LANES,4,2 ## @ISP_CSIPHY1_NUM_DATA_LANES
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS1,4,2 ## @OMAP3_ISP_IOMEM_CSI2C_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSIPHY1,4,2    ## @OMAP3_ISP_IOMEM_CSIPHY1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csiphy_init           ; -- Begin function omap3isp_csiphy_init
	.p2align	2
_omap3isp_csiphy_init:                  ; @omap3isp_csiphy_init
	.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
	mov	x19, x0
	str	x0, [x0, #48]
	add	x8, x0, #12
Lloh0:
	adrp	x9, _ISP_CSIPHY2_NUM_DATA_LANES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISP_CSIPHY2_NUM_DATA_LANES@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh2:
	ldr	w8, [x9]
	str	w8, [x0, #24]
Lloh3:
	adrp	x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _OMAP3_ISP_IOMEM_CSIPHY2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSIPHY2@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	add	x0, x0, #40
	bl	_mutex_init
	str	x19, [x19, #88]
	add	x0, x19, #80
	bl	_mutex_init
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _ISP_REVISION_15_0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ISP_REVISION_15_0@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x8, x19, #8
	str	x8, [x19, #72]
Lloh12:
	adrp	x8, _ISP_CSIPHY1_NUM_DATA_LANES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISP_CSIPHY1_NUM_DATA_LANES@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh15:
	adrp	x8, _OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _OMAP3_ISP_IOMEM_CSIPHY1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSIPHY1@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #56]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ISP_CSIPHY2_NUM_DATA_LANES,4,2 ; @ISP_CSIPHY2_NUM_DATA_LANES
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ; @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSIPHY2,4,2    ; @OMAP3_ISP_IOMEM_CSIPHY2
	.comm	_ISP_REVISION_15_0,8,3          ; @ISP_REVISION_15_0
	.comm	_ISP_CSIPHY1_NUM_DATA_LANES,4,2 ; @ISP_CSIPHY1_NUM_DATA_LANES
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS1,4,2 ; @OMAP3_ISP_IOMEM_CSI2C_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSIPHY1,4,2    ; @OMAP3_ISP_IOMEM_CSIPHY1
.subsections_via_symbols
