	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_dp_hdcp_read_v_prime_part
_intel_dp_hdcp_read_v_prime_part:       ## @intel_dp_hdcp_read_v_prime_part
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DRM_HDCP_V_PRIME_NUM_PARTS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_DP_AUX_HDCP_V_PRIME
	movq	_DRM_HDCP_V_PRIME_PART_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_drm_dp_dpcd_read
	movl	%eax, %r14d
	xorl	%eax, %eax
	cmpl	(%r12), %r14d
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_DRM_DEBUG_KMS
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%r14d, %r14d
	cmovsl	%r14d, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_HDCP_V_PRIME_NUM_PARTS,4,2 ## @DRM_HDCP_V_PRIME_NUM_PARTS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DRM_HDCP_V_PRIME_PART_LEN,4,2  ## @DRM_HDCP_V_PRIME_PART_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read v'[%d] from DP/AUX failed (%zd)\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_intel_dp_hdcp_read_v_prime_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_dp_hdcp_read_v_prime_part
_intel_dp_hdcp_read_v_prime_part:       ; @intel_dp_hdcp_read_v_prime_part
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _DRM_HDCP_V_PRIME_NUM_PARTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_HDCP_V_PRIME_NUM_PARTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_DP_AUX_HDCP_V_PRIME
	mov	x1, x0
Lloh3:
	adrp	x22, _DRM_HDCP_V_PRIME_PART_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DRM_HDCP_V_PRIME_PART_LEN@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x2, x20
	bl	_drm_dp_dpcd_read
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	x20, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_DRM_DEBUG_KMS
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w20, #0
	csneg	w0, w20, w8, lt
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_HDCP_V_PRIME_NUM_PARTS,4,2 ; @DRM_HDCP_V_PRIME_NUM_PARTS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DRM_HDCP_V_PRIME_PART_LEN,4,2  ; @DRM_HDCP_V_PRIME_PART_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read v'[%d] from DP/AUX failed (%zd)\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_intel_dp_hdcp_read_v_prime_part
.subsections_via_symbols
