	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csi2_isr              ## -- Begin function omap3isp_csi2_isr
	.p2align	4, 0x90
_omap3isp_csi2_isr:                     ## @omap3isp_csi2_isr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$32, %rdi
	callq	_to_isp_pipeline
	cmpl	$0, 20(%rbx)
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movq	24(%rbx), %r14
	movl	16(%rbx), %esi
	movq	_ISPCSI2_IRQSTATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_isp_reg_readl
	movl	%eax, %r15d
	movl	16(%rbx), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_isp_reg_writel
	movq	_ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	movl	16(%rbx), %esi
	movq	_ISPCSI2_PHY_IRQSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_isp_reg_readl
	movl	%eax, %r13d
	movl	16(%rbx), %edx
	movq	_ISPCSI2_PHY_IRQSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_isp_reg_writel
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$1, (%r12)
LBB0_3:
	movq	_ISPCSI2_IRQSTATUS_OCP_ERR_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	orl	%ecx, %edx
	movq	_ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r10d
	movl	%eax, %edi
	orl	%r10d, %edi
	orl	%edx, %edi
	movq	_ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	orl	%r11d, %edi
	testl	%r15d, %edi
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	xorl	%edx, %edx
	testl	%r15d, %ecx
	setne	%dl
	xorl	%ecx, %ecx
	testl	%r15d, %esi
	setne	%cl
	xorl	%r8d, %r8d
	testl	%r15d, %eax
	setne	%r8b
	xorl	%r9d, %r9d
	testl	%r15d, %r10d
	setne	%r9b
	xorl	%eax, %eax
	testl	%r15d, %r11d
	setne	%al
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$1, (%r12)
LBB0_5:
	leaq	12(%rbx), %rdi
	leaq	8(%rbx), %rsi
	callq	_omap3isp_module_sync_is_stopping
	testq	%rax, %rax
	je	LBB0_6
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%edi, %edi
	callq	_ISPCSI2_IRQSTATUS_CONTEXT
	testl	%r15d, %eax
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_csi2_isr_ctx
LBB0_8:
	movq	_ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_9
## %bb.10:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPCSI2_IRQSTATUS,4,2          ## @ISPCSI2_IRQSTATUS
	.comm	_ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ
	.comm	_ISPCSI2_PHY_IRQSTATUS,4,2      ## @ISPCSI2_PHY_IRQSTATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSI2: ComplexIO Error IRQ %x\n"

	.comm	_ISPCSI2_IRQSTATUS_OCP_ERR_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_OCP_ERR_IRQ
	.comm	_ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ
	.comm	_ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ
	.comm	_ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ
	.comm	_ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ
L_.str.1:                               ## @.str.1
	.asciz	"CSI2 Err: OCP:%d, Short_pack:%d, ECC:%d, CPXIO2:%d, FIFO_OVF:%d,\n"

	.comm	_ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ,4,2 ## @ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ
L_.str.2:                               ## @.str.2
	.asciz	"CSI2: ECC correction done\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_csi2_isr              ; -- Begin function omap3isp_csi2_isr
	.p2align	2
_omap3isp_csi2_isr:                     ; @omap3isp_csi2_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	add	x0, x0, #32
	bl	_to_isp_pipeline
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x22, x0
	ldr	x20, [x19, #24]
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x23, _ISPCSI2_IRQSTATUS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ISPCSI2_IRQSTATUS@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x20
	bl	_isp_reg_readl
	mov	x21, x0
	ldr	w2, [x19, #16]
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_isp_reg_writel
Lloh2:
	adrp	x8, _ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.2:
	ldr	w1, [x19, #16]
Lloh5:
	adrp	x24, _ISPCSI2_PHY_IRQSTATUS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ISPCSI2_PHY_IRQSTATUS@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_isp_reg_readl
	mov	x23, x0
	ldr	w2, [x19, #16]
	ldr	w3, [x24]
	mov	x0, x20
	mov	x1, x23
	bl	_isp_reg_writel
	ldr	w0, [x20]
	str	x23, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	mov	w8, #1
	str	w8, [x22]
LBB0_3:
Lloh9:
	adrp	x8, _ISPCSI2_IRQSTATUS_OCP_ERR_IRQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISPCSI2_IRQSTATUS_OCP_ERR_IRQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ@GOTPAGEOFF]
	orr	w11, w9, w8
Lloh17:
	ldr	w10, [x10]
	orr	w12, w11, w10
Lloh18:
	adrp	x11, _ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w13, w12, w11
Lloh21:
	adrp	x12, _ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ@GOTPAGE
Lloh22:
	ldr	x12, [x12, _ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	orr	w13, w13, w12
	tst	w13, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x20]
	tst	w8, w21
	cset	w8, ne
	tst	w9, w21
	cset	w9, ne
	tst	w10, w21
	cset	w10, ne
	tst	w11, w21
	cset	w11, ne
	tst	w12, w21
	cset	w12, ne
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	mov	w8, #1
	str	w8, [x22]
LBB0_5:
	add	x0, x19, #12
	add	x1, x19, #8
	bl	_omap3isp_module_sync_is_stopping
	cbz	x0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	_ISPCSI2_IRQSTATUS_CONTEXT
	tst	w0, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	x1, [x19]
	mov	x0, x19
	bl	_csi2_isr_ctx
LBB0_9:
Lloh26:
	adrp	x8, _ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.10:
	ldr	w0, [x20]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dev_dbg
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPCSI2_IRQSTATUS,4,2          ; @ISPCSI2_IRQSTATUS
	.comm	_ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_COMPLEXIO1_ERR_IRQ
	.comm	_ISPCSI2_PHY_IRQSTATUS,4,2      ; @ISPCSI2_PHY_IRQSTATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSI2: ComplexIO Error IRQ %x\n"

	.comm	_ISPCSI2_IRQSTATUS_OCP_ERR_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_OCP_ERR_IRQ
	.comm	_ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_SHORT_PACKET_IRQ
	.comm	_ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_ECC_NO_CORRECTION_IRQ
	.comm	_ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_COMPLEXIO2_ERR_IRQ
	.comm	_ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_FIFO_OVF_IRQ
l_.str.1:                               ; @.str.1
	.asciz	"CSI2 Err: OCP:%d, Short_pack:%d, ECC:%d, CPXIO2:%d, FIFO_OVF:%d,\n"

	.comm	_ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ,4,2 ; @ISPCSI2_IRQSTATUS_ECC_CORRECTION_IRQ
l_.str.2:                               ; @.str.2
	.asciz	"CSI2: ECC correction done\n"

.subsections_via_symbols
