	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_connector_check_hpd_status_unchanged
_amdgpu_connector_check_hpd_status_unchanged: ## @amdgpu_connector_check_hpd_status_unchanged
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	callq	_to_amdgpu_connector
	movq	(%rax), %rsi
	movq	_AMDGPU_HPD_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_amdgpu_display_hpd_sense
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_connector_status_disconnected@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_connector_status_connected@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rbx), %edx
	movl	$1, %eax
	cmpl	(%rcx), %edx
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMDGPU_HPD_NONE,8,3            ## @AMDGPU_HPD_NONE
	.comm	_connector_status_connected,4,2 ## @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ## @connector_status_disconnected
	.no_dead_strip	_amdgpu_connector_check_hpd_status_unchanged
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_connector_check_hpd_status_unchanged
_amdgpu_connector_check_hpd_status_unchanged: ; @amdgpu_connector_check_hpd_status_unchanged
	.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, #8]
	ldr	x20, [x8]
	bl	_to_amdgpu_connector
	ldr	x1, [x0]
Lloh0:
	adrp	x8, _AMDGPU_HPD_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMDGPU_HPD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_amdgpu_display_hpd_sense
Lloh3:
	adrp	x8, _connector_status_disconnected@GOTPAGE
Lloh4:
	ldr	x8, [x8, _connector_status_disconnected@GOTPAGEOFF]
Lloh5:
	adrp	x9, _connector_status_connected@GOTPAGE
Lloh6:
	ldr	x9, [x9, _connector_status_connected@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	ldr	w9, [x19]
	cmp	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AMDGPU_HPD_NONE,8,3            ; @AMDGPU_HPD_NONE
	.comm	_connector_status_connected,4,2 ; @connector_status_connected
	.comm	_connector_status_disconnected,4,2 ; @connector_status_disconnected
	.no_dead_strip	_amdgpu_connector_check_hpd_status_unchanged
.subsections_via_symbols
