	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_setup_hpd          ## -- Begin function dw_hdmi_phy_setup_hpd
	.p2align	4, 0x90
_dw_hdmi_phy_setup_hpd:                 ## @dw_hdmi_phy_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HDMI_PHY_HPD@GOTPCREL(%rip), %rax
	movq	_HDMI_PHY_RX_SENSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_HDMI_PHY_POL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_hdmi_writeb
	movq	_HDMI_IH_PHY_STAT0_HPD@GOTPCREL(%rip), %r14
	movq	_HDMI_IH_PHY_STAT0_RX_SENSE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	orl	(%r14), %esi
	movq	_HDMI_IH_PHY_STAT0@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movl	(%rbx), %esi
	movq	_HDMI_PHY_MASK0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movl	(%r15), %esi
	orl	(%r14), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movl	(%r15), %esi
	orl	(%r14), %esi
	notl	%esi
	movq	_HDMI_IH_MUTE_PHY_STAT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_writeb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_PHY_HPD,4,2               ## @HDMI_PHY_HPD
	.comm	_HDMI_PHY_RX_SENSE,4,2          ## @HDMI_PHY_RX_SENSE
	.comm	_HDMI_PHY_POL0,4,2              ## @HDMI_PHY_POL0
	.comm	_HDMI_IH_PHY_STAT0_HPD,4,2      ## @HDMI_IH_PHY_STAT0_HPD
	.comm	_HDMI_IH_PHY_STAT0_RX_SENSE,4,2 ## @HDMI_IH_PHY_STAT0_RX_SENSE
	.comm	_HDMI_IH_PHY_STAT0,4,2          ## @HDMI_IH_PHY_STAT0
	.comm	_HDMI_PHY_MASK0,4,2             ## @HDMI_PHY_MASK0
	.comm	_HDMI_IH_MUTE_PHY_STAT0,4,2     ## @HDMI_IH_MUTE_PHY_STAT0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dw_hdmi_phy_setup_hpd          ; -- Begin function dw_hdmi_phy_setup_hpd
	.p2align	2
_dw_hdmi_phy_setup_hpd:                 ; @dw_hdmi_phy_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, x0
Lloh0:
	adrp	x8, _HDMI_PHY_HPD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_PHY_HPD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HDMI_PHY_RX_SENSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HDMI_PHY_RX_SENSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh6:
	adrp	x8, _HDMI_PHY_POL0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_PHY_POL0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_hdmi_writeb
Lloh9:
	adrp	x20, _HDMI_IH_PHY_STAT0_HPD@GOTPAGE
Lloh10:
	ldr	x20, [x20, _HDMI_IH_PHY_STAT0_HPD@GOTPAGEOFF]
Lloh11:
	adrp	x21, _HDMI_IH_PHY_STAT0_RX_SENSE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _HDMI_IH_PHY_STAT0_RX_SENSE@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w1, w9, w8
Lloh13:
	adrp	x22, _HDMI_IH_PHY_STAT0@GOTPAGE
Lloh14:
	ldr	x22, [x22, _HDMI_IH_PHY_STAT0@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w1, [x19]
Lloh15:
	adrp	x8, _HDMI_PHY_MASK0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDMI_PHY_MASK0@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w1, w9, w8
	ldr	w2, [x22]
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w9, w8
	mvn	w1, w8
Lloh18:
	adrp	x8, _HDMI_IH_MUTE_PHY_STAT0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_IH_MUTE_PHY_STAT0@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	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	_hdmi_writeb
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_PHY_HPD,4,2               ; @HDMI_PHY_HPD
	.comm	_HDMI_PHY_RX_SENSE,4,2          ; @HDMI_PHY_RX_SENSE
	.comm	_HDMI_PHY_POL0,4,2              ; @HDMI_PHY_POL0
	.comm	_HDMI_IH_PHY_STAT0_HPD,4,2      ; @HDMI_IH_PHY_STAT0_HPD
	.comm	_HDMI_IH_PHY_STAT0_RX_SENSE,4,2 ; @HDMI_IH_PHY_STAT0_RX_SENSE
	.comm	_HDMI_IH_PHY_STAT0,4,2          ; @HDMI_IH_PHY_STAT0
	.comm	_HDMI_PHY_MASK0,4,2             ; @HDMI_PHY_MASK0
	.comm	_HDMI_IH_MUTE_PHY_STAT0,4,2     ; @HDMI_IH_MUTE_PHY_STAT0
.subsections_via_symbols
