	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_update_hpd         ## -- Begin function dw_hdmi_phy_update_hpd
	.p2align	4, 0x90
_dw_hdmi_phy_update_hpd:                ## @dw_hdmi_phy_update_hpd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	movq	_HDMI_PHY_RX_SENSE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %eax
	orl	%r9d, %eax
	notl	%esi
	andl	%r9d, %esi
	testl	%r8d, %r8d
	cmovel	%eax, %esi
	orl	%ecx, %edx
	cmovnel	%eax, %esi
	movl	%esi, (%rdi)
	cmpl	%esi, %r9d
	jne	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	_HDMI_PHY_MASK0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_hdmi_writeb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_PHY_RX_SENSE,4,2          ## @HDMI_PHY_RX_SENSE
	.comm	_HDMI_PHY_MASK0,4,2             ## @HDMI_PHY_MASK0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_update_hpd         ; -- Begin function dw_hdmi_phy_update_hpd
	.p2align	2
_dw_hdmi_phy_update_hpd:                ; @dw_hdmi_phy_update_hpd
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	orr	w9, w3, w2
	cmp	w4, #0
	ccmp	w9, #0, #0, ne
Lloh0:
	adrp	x9, _HDMI_PHY_RX_SENSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMI_PHY_RX_SENSE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w10, w9, w8
	bic	w9, w8, w9
	csel	w1, w9, w10, eq
	str	w1, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh3:
	adrp	x8, _HDMI_PHY_MASK0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_PHY_MASK0@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	b	_hdmi_writeb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_PHY_RX_SENSE,4,2          ; @HDMI_PHY_RX_SENSE
	.comm	_HDMI_PHY_MASK0,4,2             ; @HDMI_PHY_MASK0
.subsections_via_symbols
