	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_hdcp2_check_link
_intel_dp_hdcp2_check_link:             ## @intel_dp_hdcp2_check_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-4(%rbp), %rsi
	callq	_intel_dp_hdcp2_read_rx_status
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	-4(%rbp), %edi
	callq	_HDCP_2_2_DP_RXSTATUS_REAUTH_REQ
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_HDCP_REAUTH_REQUEST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movl	-4(%rbp), %edi
	callq	_HDCP_2_2_DP_RXSTATUS_LINK_FAILED
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_HDCP_LINK_INTEGRITY_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movl	-4(%rbp), %edi
	callq	_HDCP_2_2_DP_RXSTATUS_READY
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movq	_HDCP_TOPOLOGY_CHANGE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDCP_REAUTH_REQUEST,4,2        ## @HDCP_REAUTH_REQUEST
	.comm	_HDCP_LINK_INTEGRITY_FAILURE,4,2 ## @HDCP_LINK_INTEGRITY_FAILURE
	.comm	_HDCP_TOPOLOGY_CHANGE,4,2       ## @HDCP_TOPOLOGY_CHANGE
	.no_dead_strip	_intel_dp_hdcp2_check_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dp_hdcp2_check_link
_intel_dp_hdcp2_check_link:             ; @intel_dp_hdcp2_check_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	sub	x1, x29, #4
	bl	_intel_dp_hdcp2_read_rx_status
	cbnz	w0, LBB0_6
; %bb.1:
	ldur	w0, [x29, #-4]
	bl	_HDCP_2_2_DP_RXSTATUS_REAUTH_REQ
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _HDCP_REAUTH_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDCP_REAUTH_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_3:
	ldur	w0, [x29, #-4]
	bl	_HDCP_2_2_DP_RXSTATUS_LINK_FAILED
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _HDCP_LINK_INTEGRITY_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDCP_LINK_INTEGRITY_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldur	w0, [x29, #-4]
	bl	_HDCP_2_2_DP_RXSTATUS_READY
Lloh6:
	adrp	x8, _HDCP_TOPOLOGY_CHANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDCP_TOPOLOGY_CHANGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HDCP_REAUTH_REQUEST,4,2        ; @HDCP_REAUTH_REQUEST
	.comm	_HDCP_LINK_INTEGRITY_FAILURE,4,2 ; @HDCP_LINK_INTEGRITY_FAILURE
	.comm	_HDCP_TOPOLOGY_CHANGE,4,2       ; @HDCP_TOPOLOGY_CHANGE
	.no_dead_strip	_intel_dp_hdcp2_check_link
.subsections_via_symbols
