	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_top_irq
_dw_hdmi_top_irq:                       ## @dw_hdmi_top_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	_HDMITX_TOP_INTR_STAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	_HDMITX_TOP_INTR_STAT_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	*8(%rax)
	movq	_HDMITX_TOP_INTR_HPD_RISE@GOTPCREL(%rip), %rax
	movq	_HDMITX_TOP_INTR_HPD_FALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r14d, %ecx
	je	LBB0_2
## %bb.1:
	movl	%r14d, (%rbx)
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	testb	$1, %r14b
	jne	LBB0_3
## %bb.4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMITX_TOP_INTR_STAT,4,2       ## @HDMITX_TOP_INTR_STAT
	.comm	_HDMITX_TOP_INTR_STAT_CLR,4,2   ## @HDMITX_TOP_INTR_STAT_CLR
	.comm	_HDMITX_TOP_INTR_HPD_RISE,4,2   ## @HDMITX_TOP_INTR_HPD_RISE
	.comm	_HDMITX_TOP_INTR_HPD_FALL,4,2   ## @HDMITX_TOP_INTR_HPD_FALL
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dw_hdmi_top_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_hdmi_top_irq
_dw_hdmi_top_irq:                       ; @dw_hdmi_top_irq
	.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, x1
	ldr	x8, [x1, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HDMITX_TOP_INTR_STAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMITX_TOP_INTR_STAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _HDMITX_TOP_INTR_STAT_CLR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HDMITX_TOP_INTR_STAT_CLR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x20
	blr	x8
Lloh6:
	adrp	x8, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	str	w20, [x19]
Lloh12:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh16:
	adrp	x9, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IRQ_HANDLED@GOTPAGEOFF]
	tst	w20, #0x1
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMITX_TOP_INTR_STAT,4,2       ; @HDMITX_TOP_INTR_STAT
	.comm	_HDMITX_TOP_INTR_STAT_CLR,4,2   ; @HDMITX_TOP_INTR_STAT_CLR
	.comm	_HDMITX_TOP_INTR_HPD_RISE,4,2   ; @HDMITX_TOP_INTR_HPD_RISE
	.comm	_HDMITX_TOP_INTR_HPD_FALL,4,2   ; @HDMITX_TOP_INTR_HPD_FALL
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dw_hdmi_top_irq
.subsections_via_symbols
