	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_setup_hpd
_dw_hdmi_setup_hpd:                     ## @dw_hdmi_setup_hpd
	.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, %rbx
	movq	(%rsi), %rax
	movq	_HDMITX_TOP_HPD_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	$41120, %edx                    ## imm = 0xA0A0
	callq	*(%rax)
	movq	(%rbx), %rax
	movq	_HDMITX_TOP_INTR_STAT_CLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HDMITX_TOP_INTR_HPD_RISE@GOTPCREL(%rip), %r14
	movq	_HDMITX_TOP_INTR_HPD_FALL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	_HDMITX_TOP_INTR_MASKN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	orl	(%r14), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dw_hdmi_top_write_bits         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMITX_TOP_HPD_FILTER,4,2      ## @HDMITX_TOP_HPD_FILTER
	.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	_HDMITX_TOP_INTR_MASKN,4,2      ## @HDMITX_TOP_INTR_MASKN
	.no_dead_strip	_dw_hdmi_setup_hpd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_hdmi_setup_hpd
_dw_hdmi_setup_hpd:                     ; @dw_hdmi_setup_hpd
	.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
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HDMITX_TOP_HPD_FILTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMITX_TOP_HPD_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #41120
	blr	x8
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HDMITX_TOP_INTR_STAT_CLR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HDMITX_TOP_INTR_STAT_CLR@GOTPAGEOFF]
Lloh5:
	adrp	x20, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _HDMITX_TOP_INTR_HPD_RISE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	ldr	w9, [x20]
Lloh8:
	adrp	x21, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGE
Lloh9:
	ldr	x21, [x21, _HDMITX_TOP_INTR_HPD_FALL@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w2, w10, w9
	mov	x0, x19
	blr	x8
Lloh10:
	adrp	x8, _HDMITX_TOP_INTR_MASKN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMITX_TOP_INTR_MASKN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, x2
	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
	b	_dw_hdmi_top_write_bits
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMITX_TOP_HPD_FILTER,4,2      ; @HDMITX_TOP_HPD_FILTER
	.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	_HDMITX_TOP_INTR_MASKN,4,2      ; @HDMITX_TOP_INTR_MASKN
	.no_dead_strip	_dw_hdmi_setup_hpd
.subsections_via_symbols
