	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_hpd_sense            ## -- Begin function evergreen_hpd_sense
	.p2align	4, 0x90
_evergreen_hpd_sense:                   ## @evergreen_hpd_sense
	.cfi_startproc
## %bb.0:
	addl	$-128, %esi
	xorl	%eax, %eax
	cmpl	$5, %esi
	ja	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	leaq	l_switch.table.evergreen_hpd_sense(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %ecx
	movq	_DC_HPDx_SENSE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	setne	%al
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_HPD1_INT_STATUS,4,2         ## @DC_HPD1_INT_STATUS
	.comm	_DC_HPDx_SENSE,4,2              ## @DC_HPDx_SENSE
	.comm	_DC_HPD2_INT_STATUS,4,2         ## @DC_HPD2_INT_STATUS
	.comm	_DC_HPD3_INT_STATUS,4,2         ## @DC_HPD3_INT_STATUS
	.comm	_DC_HPD4_INT_STATUS,4,2         ## @DC_HPD4_INT_STATUS
	.comm	_DC_HPD5_INT_STATUS,4,2         ## @DC_HPD5_INT_STATUS
	.comm	_DC_HPD6_INT_STATUS,4,2         ## @DC_HPD6_INT_STATUS
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.evergreen_hpd_sense
l_switch.table.evergreen_hpd_sense:
	.quad	_DC_HPD6_INT_STATUS
	.quad	_DC_HPD5_INT_STATUS
	.quad	_DC_HPD4_INT_STATUS
	.quad	_DC_HPD3_INT_STATUS
	.quad	_DC_HPD2_INT_STATUS
	.quad	_DC_HPD1_INT_STATUS

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evergreen_hpd_sense            ; -- Begin function evergreen_hpd_sense
	.p2align	2
_evergreen_hpd_sense:                   ; @evergreen_hpd_sense
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x9, l_switch.table.evergreen_hpd_sense@PAGE
Lloh1:
	add	x9, x9, l_switch.table.evergreen_hpd_sense@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	bl	_RREG32
Lloh2:
	adrp	x8, _DC_HPDx_SENSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DC_HPDx_SENSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_HPD1_INT_STATUS,4,2         ; @DC_HPD1_INT_STATUS
	.comm	_DC_HPDx_SENSE,4,2              ; @DC_HPDx_SENSE
	.comm	_DC_HPD2_INT_STATUS,4,2         ; @DC_HPD2_INT_STATUS
	.comm	_DC_HPD3_INT_STATUS,4,2         ; @DC_HPD3_INT_STATUS
	.comm	_DC_HPD4_INT_STATUS,4,2         ; @DC_HPD4_INT_STATUS
	.comm	_DC_HPD5_INT_STATUS,4,2         ; @DC_HPD5_INT_STATUS
	.comm	_DC_HPD6_INT_STATUS,4,2         ; @DC_HPD6_INT_STATUS
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.evergreen_hpd_sense
l_switch.table.evergreen_hpd_sense:
	.quad	_DC_HPD6_INT_STATUS
	.quad	_DC_HPD5_INT_STATUS
	.quad	_DC_HPD4_INT_STATUS
	.quad	_DC_HPD3_INT_STATUS
	.quad	_DC_HPD2_INT_STATUS
	.quad	_DC_HPD1_INT_STATUS

.subsections_via_symbols
