	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_dsi_irq
_exynos_dsi_irq:                        ## @exynos_dsi_irq
	.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	%rsi, %r14
	movq	_DSIM_INTSRC_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_exynos_dsi_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_exynos_dsi_write
	movq	_DSIM_INT_SW_RST_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DSIM_INT_RX_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DSIM_INT_SFR_FIFO_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %ecx
	je	LBB0_5
## %bb.4:
	movq	_DSIM_INT_SFR_HDR_FIFO_EMPTY@GOTPCREL(%rip), %rsi
	movq	_DSIM_INT_RX_ECC_ERR@GOTPCREL(%rip), %rdi
	orl	%ecx, %edx
	orl	%eax, %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	notl	%edx
	movq	_DSIM_INTMSK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_exynos_dsi_write
	movq	%r14, %rdi
	callq	_complete
	jmp	LBB0_8
LBB0_1:
	leaq	_exynos_dsi_irq.j(%rip), %rdi
	movl	$500, %esi                      ## imm = 0x1F4
	callq	_printk_timed_ratelimit
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_8
LBB0_5:
	orl	%edx, %eax
	movq	_DSIM_INT_PLL_STABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%ebx, %eax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_exynos_dsi_transfer_finish
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_exynos_dsi_transfer_start
LBB0_8:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSIM_INTSRC_REG,4,2            ## @DSIM_INTSRC_REG
.zerofill __DATA,__bss,_exynos_dsi_irq.j,8,3 ## @exynos_dsi_irq.j
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spurious interrupt\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_DSIM_INT_SW_RST_RELEASE,4,2    ## @DSIM_INT_SW_RST_RELEASE
	.comm	_DSIM_INT_RX_DONE,4,2           ## @DSIM_INT_RX_DONE
	.comm	_DSIM_INT_SFR_FIFO_EMPTY,4,2    ## @DSIM_INT_SFR_FIFO_EMPTY
	.comm	_DSIM_INT_SFR_HDR_FIFO_EMPTY,4,2 ## @DSIM_INT_SFR_HDR_FIFO_EMPTY
	.comm	_DSIM_INT_RX_ECC_ERR,4,2        ## @DSIM_INT_RX_ECC_ERR
	.comm	_DSIM_INTMSK_REG,4,2            ## @DSIM_INTMSK_REG
	.comm	_DSIM_INT_PLL_STABLE,4,2        ## @DSIM_INT_PLL_STABLE
	.no_dead_strip	_exynos_dsi_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_dsi_irq
_exynos_dsi_irq:                        ; @exynos_dsi_irq
	.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, x1
Lloh0:
	adrp	x21, _DSIM_INTSRC_REG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DSIM_INTSRC_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_exynos_dsi_read
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_exynos_dsi_write
Lloh2:
	adrp	x8, _DSIM_INT_SW_RST_RELEASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSIM_INT_SW_RST_RELEASE@GOTPAGEOFF]
Lloh4:
	adrp	x10, _DSIM_INT_RX_DONE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _DSIM_INT_RX_DONE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
Lloh7:
	ldr	w8, [x10]
Lloh8:
	adrp	x10, _DSIM_INT_SFR_FIFO_EMPTY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DSIM_INT_SFR_FIFO_EMPTY@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w9, w20
	b.eq	LBB0_5
; %bb.2:
Lloh11:
	adrp	x11, _DSIM_INT_SFR_HDR_FIFO_EMPTY@GOTPAGE
Lloh12:
	ldr	x11, [x11, _DSIM_INT_SFR_HDR_FIFO_EMPTY@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	adrp	x12, _DSIM_INT_RX_ECC_ERR@GOTPAGE
Lloh15:
	ldr	x12, [x12, _DSIM_INT_RX_ECC_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	mvn	w2, w8
Lloh17:
	adrp	x8, _DSIM_INTMSK_REG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DSIM_INTMSK_REG@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_exynos_dsi_write
	mov	x0, x19
	bl	_complete
	b	LBB0_8
LBB0_3:
Lloh20:
	adrp	x0, _exynos_dsi_irq.j@PAGE
Lloh21:
	add	x0, x0, _exynos_dsi_irq.j@PAGEOFF
	mov	w1, #500
	bl	_printk_timed_ratelimit
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w0, [x19, #4]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_8
LBB0_5:
	orr	w8, w10, w8
Lloh24:
	adrp	x9, _DSIM_INT_PLL_STABLE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DSIM_INT_PLL_STABLE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_exynos_dsi_transfer_finish
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_exynos_dsi_transfer_start
LBB0_8:
Lloh27:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DSIM_INTSRC_REG,4,2            ; @DSIM_INTSRC_REG
.zerofill __DATA,__bss,_exynos_dsi_irq.j,8,3 ; @exynos_dsi_irq.j
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spurious interrupt\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_DSIM_INT_SW_RST_RELEASE,4,2    ; @DSIM_INT_SW_RST_RELEASE
	.comm	_DSIM_INT_RX_DONE,4,2           ; @DSIM_INT_RX_DONE
	.comm	_DSIM_INT_SFR_FIFO_EMPTY,4,2    ; @DSIM_INT_SFR_FIFO_EMPTY
	.comm	_DSIM_INT_SFR_HDR_FIFO_EMPTY,4,2 ; @DSIM_INT_SFR_HDR_FIFO_EMPTY
	.comm	_DSIM_INT_RX_ECC_ERR,4,2        ; @DSIM_INT_RX_ECC_ERR
	.comm	_DSIM_INTMSK_REG,4,2            ; @DSIM_INTMSK_REG
	.comm	_DSIM_INT_PLL_STABLE,4,2        ; @DSIM_INT_PLL_STABLE
	.no_dead_strip	_exynos_dsi_irq
.subsections_via_symbols
