	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs600_hpd_sense                ## -- Begin function rs600_hpd_sense
	.p2align	4, 0x90
_rs600_hpd_sense:                       ## @rs600_hpd_sense
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_2
## %bb.3:
	movq	_R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %edi
	callq	_G_007D04_DC_HOT_PLUG_DETECT1_SENSE
	jmp	LBB0_5
LBB0_4:
	movq	_R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %edi
	callq	_G_007D14_DC_HOT_PLUG_DETECT2_SENSE
LBB0_5:
	testl	%eax, %eax
	setne	%al
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS,4,2 ## @R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS
	.comm	_R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS,4,2 ## @R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rs600_hpd_sense                ; -- Begin function rs600_hpd_sense
	.p2align	2
_rs600_hpd_sense:                       ; @rs600_hpd_sense
	.cfi_startproc
; %bb.0:
	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
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RREG32
	bl	_G_007D04_DC_HOT_PLUG_DETECT1_SENSE
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_RREG32
	bl	_G_007D14_DC_HOT_PLUG_DETECT2_SENSE
LBB0_4:
	cmp	w0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS,4,2 ; @R_007D04_DC_HOT_PLUG_DETECT1_INT_STATUS
	.comm	_R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS,4,2 ; @R_007D14_DC_HOT_PLUG_DETECT2_INT_STATUS
.subsections_via_symbols
