	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_dsi_irq_handler
_omap_dsi_irq_handler:                  ## @omap_dsi_irq_handler
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IRQ_NONE@GOTPCREL(%rip), %r13
	cmpl	$0, 16(%rsi)
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	leaq	4(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_DSI_IRQSTATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dsi_read_reg
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	_DSI_IRQ_CHANNEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%ebx, %edx
	movq	%r14, %rdi
	callq	_dsi_write_reg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dsi_read_reg
	xorl	%r12d, %r12d
	movl	$0, %r13d
	testb	$1, %bl
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
	movl	%eax, %r13d
	xorl	%edi, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_dsi_write_reg
	xorl	%edi, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
LBB0_5:
	movl	%r13d, -64(%rbp)
	testb	$2, %bl
	je	LBB0_7
## %bb.6:
	movl	$1, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_dsi_write_reg
	movl	$1, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
LBB0_7:
	movl	%r12d, -60(%rbp)
	xorl	%r12d, %r12d
	movl	$0, %r13d
	testb	$4, %bl
	je	LBB0_9
## %bb.8:
	movl	$2, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
	movl	%eax, %r13d
	movl	$2, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_dsi_write_reg
	movl	$2, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
LBB0_9:
	movl	%r13d, -56(%rbp)
	testb	$8, %bl
	je	LBB0_11
## %bb.10:
	movl	$3, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
	movl	%eax, %r12d
	movl	$3, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_dsi_write_reg
	movl	$3, %edi
	callq	_DSI_VC_IRQSTATUS
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dsi_read_reg
LBB0_11:
	movl	%r12d, -52(%rbp)
	movq	_DSI_IRQ_COMPLEXIO_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.13:
	movl	%ebx, %r13d
	movq	_DSI_COMPLEXIO_IRQ_STATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_dsi_read_reg
	movl	%eax, %r12d
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dsi_write_reg
	movl	(%rbx), %esi
	movl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_dsi_read_reg
	jmp	LBB0_14
LBB0_2:
	movq	%r15, %rdi
	callq	_spin_unlock
	jmp	LBB0_15
LBB0_12:
	xorl	%r12d, %r12d
LBB0_14:
	leaq	8(%r14), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_spin_unlock
	leaq	-64(%rbp), %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_dsi_handle_isrs
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_dsi_handle_irq_errors
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_dsi_collect_irq_stats
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r13
LBB0_15:
	movl	(%r13), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_DSI_IRQSTATUS,4,2              ## @DSI_IRQSTATUS
	.comm	_DSI_IRQ_CHANNEL_MASK,4,2       ## @DSI_IRQ_CHANNEL_MASK
	.comm	_DSI_IRQ_COMPLEXIO_ERR,4,2      ## @DSI_IRQ_COMPLEXIO_ERR
	.comm	_DSI_COMPLEXIO_IRQ_STATUS,4,2   ## @DSI_COMPLEXIO_IRQ_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_DSI_IRQ_TE_TRIGGER,4,2         ## @DSI_IRQ_TE_TRIGGER
	.no_dead_strip	_omap_dsi_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_dsi_irq_handler
_omap_dsi_irq_handler:                  ; @omap_dsi_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x1, #16]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x1
	add	x21, x1, #4
	mov	x0, x21
	bl	_spin_lock
Lloh3:
	adrp	x22, _DSI_IRQSTATUS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DSI_IRQSTATUS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_dsi_read_reg
	cbz	w0, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	w1, [x22]
Lloh5:
	adrp	x8, _DSI_IRQ_CHANNEL_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DSI_IRQ_CHANNEL_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_dsi_write_reg
	ldr	w1, [x22]
	mov	x0, x19
	bl	_dsi_read_reg
	tbnz	w20, #0, LBB0_9
; %bb.3:
	mov	w22, #0
	str	w22, [sp, #8]
	tbz	w20, #1, LBB0_10
LBB0_4:
	mov	w0, #1
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x22, x0
	mov	w0, #1
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_dsi_write_reg
	mov	w0, #1
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	str	w22, [sp, #12]
	tbz	w20, #2, LBB0_11
LBB0_5:
	mov	w0, #2
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x22, x0
	mov	w0, #2
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_dsi_write_reg
	mov	w0, #2
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	str	w22, [sp, #16]
	tbz	w20, #3, LBB0_12
LBB0_6:
	mov	w0, #3
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x22, x0
	mov	w0, #3
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_dsi_write_reg
	mov	w0, #3
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	b	LBB0_13
LBB0_7:
	mov	x0, x21
	bl	_spin_unlock
LBB0_8:
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
	mov	w0, #0
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x22, x0
	mov	w0, #0
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_dsi_write_reg
	mov	w0, #0
	bl	_DSI_VC_IRQSTATUS
	mov	x1, x0
	mov	x0, x19
	bl	_dsi_read_reg
	str	w22, [sp, #8]
	tbnz	w20, #1, LBB0_4
LBB0_10:
	mov	w22, #0
	str	w22, [sp, #12]
	tbnz	w20, #2, LBB0_5
LBB0_11:
	mov	w22, #0
	str	w22, [sp, #16]
	tbnz	w20, #3, LBB0_6
LBB0_12:
	mov	w22, #0
LBB0_13:
	str	w22, [sp, #20]
Lloh10:
	adrp	x8, _DSI_IRQ_COMPLEXIO_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSI_IRQ_COMPLEXIO_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.14:
Lloh13:
	adrp	x23, _DSI_COMPLEXIO_IRQ_STATUS@GOTPAGE
Lloh14:
	ldr	x23, [x23, _DSI_COMPLEXIO_IRQ_STATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_dsi_read_reg
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_dsi_write_reg
	ldr	w1, [x23]
	mov	x0, x19
	bl	_dsi_read_reg
	b	LBB0_16
LBB0_15:
	mov	w22, #0
LBB0_16:
	add	x1, x19, #8
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	mov	x0, x21
	bl	_spin_unlock
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_dsi_handle_isrs
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_dsi_handle_irq_errors
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_dsi_collect_irq_stats
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_DSI_IRQSTATUS,4,2              ; @DSI_IRQSTATUS
	.comm	_DSI_IRQ_CHANNEL_MASK,4,2       ; @DSI_IRQ_CHANNEL_MASK
	.comm	_DSI_IRQ_COMPLEXIO_ERR,4,2      ; @DSI_IRQ_COMPLEXIO_ERR
	.comm	_DSI_COMPLEXIO_IRQ_STATUS,4,2   ; @DSI_COMPLEXIO_IRQ_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_DSI_IRQ_TE_TRIGGER,4,2         ; @DSI_IRQ_TE_TRIGGER
	.no_dead_strip	_omap_dsi_irq_handler
.subsections_via_symbols
