	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_top_thread_irq
_dw_hdmi_top_thread_irq:                ## @dw_hdmi_top_thread_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rsi), %eax
	movq	_HDMITX_TOP_INTR_HPD_RISE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_HDMITX_TOP_INTR_HPD_FALL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	movl	8(%rsi), %edi
	movl	%edx, %esi
	callq	_dw_hdmi_setup_rx_sense
	movl	4(%rbx), %edi
	callq	_drm_helper_hpd_irq_event
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dw_hdmi_top_thread_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_thread_irq
_dw_hdmi_top_thread_irq:                ; @dw_hdmi_top_thread_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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x1
	tst	w9, w8
	cset	w1, ne
	ldr	w0, [x19, #8]
	mov	x2, x1
	bl	_dw_hdmi_setup_rx_sense
	ldr	w0, [x19, #4]
	bl	_drm_helper_hpd_irq_event
LBB0_2:
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.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_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dw_hdmi_top_thread_irq
.subsections_via_symbols
