	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function anx78xx_clear_hpd
_anx78xx_clear_hpd:                     ## @anx78xx_clear_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_I2C_IDX_TX_P2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_VID_CTRL3_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SP_HPD_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_anx78xx_clear_bits
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rax
	movq	_I2C_IDX_RX_P0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_SP_TMDS_CTRL_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$7, %rsi
	movq	_SP_PD_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_anx78xx_set_bits               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ## @I2C_IDX_TX_P2
	.comm	_SP_VID_CTRL3_REG,4,2           ## @SP_VID_CTRL3_REG
	.comm	_SP_HPD_OUT,4,2                 ## @SP_HPD_OUT
	.comm	_I2C_IDX_RX_P0,8,3              ## @I2C_IDX_RX_P0
	.comm	_SP_TMDS_CTRL_BASE,8,3          ## @SP_TMDS_CTRL_BASE
	.comm	_SP_PD_RT,4,2                   ## @SP_PD_RT
	.no_dead_strip	_anx78xx_clear_hpd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function anx78xx_clear_hpd
_anx78xx_clear_hpd:                     ; @anx78xx_clear_hpd
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I2C_IDX_TX_P2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_IDX_TX_P2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _SP_VID_CTRL3_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SP_VID_CTRL3_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SP_HPD_OUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SP_HPD_OUT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_anx78xx_clear_bits
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _I2C_IDX_RX_P0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I2C_IDX_RX_P0@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
Lloh12:
	adrp	x8, _SP_TMDS_CTRL_BASE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SP_TMDS_CTRL_BASE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x1, x8, #7
Lloh15:
	adrp	x8, _SP_PD_RT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SP_PD_RT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_anx78xx_set_bits
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_IDX_TX_P2,8,3              ; @I2C_IDX_TX_P2
	.comm	_SP_VID_CTRL3_REG,4,2           ; @SP_VID_CTRL3_REG
	.comm	_SP_HPD_OUT,4,2                 ; @SP_HPD_OUT
	.comm	_I2C_IDX_RX_P0,8,3              ; @I2C_IDX_RX_P0
	.comm	_SP_TMDS_CTRL_BASE,8,3          ; @SP_TMDS_CTRL_BASE
	.comm	_SP_PD_RT,4,2                   ; @SP_PD_RT
	.no_dead_strip	_anx78xx_clear_hpd
.subsections_via_symbols
