	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csi2_init             ## -- Begin function omap3isp_csi2_init
	.p2align	4, 0x90
_omap3isp_csi2_init:                    ## @omap3isp_csi2_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	56(%rdi), %r14
	movq	%rdi, 88(%rdi)
	movl	$1, 56(%rdi)
	movq	_OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rdi)
	movq	_OMAP3_ISP_IOMEM_CSI2A_REGS2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rdi)
	leaq	12(%rdi), %rax
	movq	%rax, 72(%rdi)
	movq	_ISP_PIPELINE_STREAM_STOPPED@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 64(%rdi)
	addq	$60, %rdi
	callq	_init_waitqueue_head
	movq	%r14, %rdi
	callq	_csi2_init_entities
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	movq	_ISP_REVISION_15_0@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, 48(%rbx)
	movl	$1, 16(%rbx)
	movq	_OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_OMAP3_ISP_IOMEM_CSI2C_REGS2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	leaq	8(%rbx), %rax
	movq	%rax, 32(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_init_waitqueue_head
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ## @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS2,4,2 ## @OMAP3_ISP_IOMEM_CSI2A_REGS2
	.comm	_ISP_PIPELINE_STREAM_STOPPED,8,3 ## @ISP_PIPELINE_STREAM_STOPPED
	.comm	_ISP_REVISION_15_0,8,3          ## @ISP_REVISION_15_0
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS1,4,2 ## @OMAP3_ISP_IOMEM_CSI2C_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS2,4,2 ## @OMAP3_ISP_IOMEM_CSI2C_REGS2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csi2_init             ; -- Begin function omap3isp_csi2_init
	.p2align	2
_omap3isp_csi2_init:                    ; @omap3isp_csi2_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	x0, [x0, #88]
	mov	w8, #1
	mov	x20, x0
	str	w8, [x20, #56]!
Lloh0:
	adrp	x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_CSI2A_REGS1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _OMAP3_ISP_IOMEM_CSI2A_REGS2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSI2A_REGS2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #80]
	add	x8, x0, #12
Lloh6:
	adrp	x21, _ISP_PIPELINE_STREAM_STOPPED@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ISP_PIPELINE_STREAM_STOPPED@GOTPAGEOFF]
	ldr	x9, [x21]
	stp	x9, x8, [x0, #64]
	add	x0, x0, #60
	bl	_init_waitqueue_head
	mov	x0, x20
	bl	_csi2_init_entities
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _ISP_REVISION_15_0@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISP_REVISION_15_0@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	str	x19, [x19, #48]
	mov	w8, #1
Lloh11:
	adrp	x9, _OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSI2C_REGS1@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _OMAP3_ISP_IOMEM_CSI2C_REGS2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OMAP3_ISP_IOMEM_CSI2C_REGS2@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	add	x8, x19, #8
	ldr	x9, [x21]
	stp	x9, x8, [x19, #24]
	add	x0, x19, #20
	bl	_init_waitqueue_head
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS1,4,2 ; @OMAP3_ISP_IOMEM_CSI2A_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSI2A_REGS2,4,2 ; @OMAP3_ISP_IOMEM_CSI2A_REGS2
	.comm	_ISP_PIPELINE_STREAM_STOPPED,8,3 ; @ISP_PIPELINE_STREAM_STOPPED
	.comm	_ISP_REVISION_15_0,8,3          ; @ISP_REVISION_15_0
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS1,4,2 ; @OMAP3_ISP_IOMEM_CSI2C_REGS1
	.comm	_OMAP3_ISP_IOMEM_CSI2C_REGS2,4,2 ; @OMAP3_ISP_IOMEM_CSI2C_REGS2
.subsections_via_symbols
