	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function intel_hdcp_validate_v_prime
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
	.long	4294967288                      ## 0xfffffff8
LCPI0_2:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_3:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_4:
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
	.long	4294967256                      ## 0xffffffd8
LCPI0_5:
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
	.long	4294967224                      ## 0xffffffb8
LCPI0_6:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_7:
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.space	4
	.space	4
LCPI0_8:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967291                      ## 0xfffffffb
	.long	4294967290                      ## 0xfffffffa
	.long	4294967289                      ## 0xfffffff9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_intel_hdcp_validate_v_prime:           ## @intel_hdcp_validate_v_prime
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DRM_HDCP_V_PRIME_NUM_PARTS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.1:
	movq	%rsi, %r12
	xorl	%r13d, %r13d
	leaq	-76(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	*(%r12)
	testl	%eax, %eax
	jne	LBB0_65
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	callq	_HDCP_SHA_V_PRIME
	movl	-76(%rbp), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	incl	%r13d
	movq	_DRM_HDCP_V_PRIME_NUM_PARTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jl	LBB0_2
LBB0_4:
	movq	%r15, %rdi
	callq	_intel_hdcp_get_repeater_ctl
	movq	_HDCP_REP_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_32@GOTPCREL(%rip), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	orl	(%rcx), %esi
	callq	_I915_WRITE
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_41
## %bb.5:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	$48, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [24,24,24,24]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4294967288,4294967288,4294967288,4294967288]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [4294967256,4294967256,4294967256,4294967256]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [4294967224,4294967224,4294967224,4294967224]
	movdqa	LCPI0_6(%rip), %xmm13           ## xmm13 = [16,16,16,16]
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%edx, %esi
	movl	%r9d, %r13d
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4294967288,4294967288,4294967288,4294967288]
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incl	%r14d
	cmpl	-72(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_53
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_DRM_HDCP_KSV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%r14d, %eax
	movslq	%eax, %rcx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r13
	movl	$4, %r12d
	subl	%esi, %r12d
	cmpl	$2, %r12d
	movl	$1, %eax
	cmovael	%r12d, %eax
	cmpl	$8, %eax
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, %edx
	andl	$-8, %edx
	movd	%r15d, %xmm0
	leaq	-8(%rdx), %rdi
	movq	%rdi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r8, %rdi
	andq	$-2, %rdi
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	leaq	(%rbx,%rcx,4), %rbx
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,1,2,3]
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm2, %xmm3
	pslld	$3, %xmm3
	movdqa	%xmm9, %xmm4
	psubd	%xmm3, %xmm4
	movdqa	%xmm8, %xmm5
	psubd	%xmm3, %xmm5
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm4
	movdqu	-48(%rbx,%rcx,4), %xmm6
	pmulld	%xmm4, %xmm6
	por	%xmm0, %xmm6
	movdqu	-32(%rbx,%rcx,4), %xmm0
	movdqu	-16(%rbx,%rcx,4), %xmm4
	movdqu	(%rbx,%rcx,4), %xmm7
	pslld	$23, %xmm5
	paddd	%xmm10, %xmm5
	cvttps2dq	%xmm5, %xmm5
	pmulld	%xmm0, %xmm5
	por	%xmm1, %xmm5
	movdqa	%xmm11, %xmm0
	psubd	%xmm3, %xmm0
	movdqa	%xmm12, %xmm1
	psubd	%xmm3, %xmm1
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	pmulld	%xmm4, %xmm0
	por	%xmm6, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm10, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pmulld	%xmm7, %xmm1
	por	%xmm5, %xmm1
	addq	$16, %rcx
	paddd	%xmm13, %xmm2
	addq	$-2, %rdi
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, %r8b
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movdqu	(%r13,%rcx,4), %xmm3
	movdqu	16(%r13,%rcx,4), %xmm4
	pslld	$3, %xmm2
	movdqa	%xmm9, %xmm5
	psubd	%xmm2, %xmm5
	movdqa	%xmm8, %xmm6
	psubd	%xmm2, %xmm6
	pslld	$23, %xmm5
	paddd	%xmm10, %xmm5
	cvttps2dq	%xmm5, %xmm2
	pmulld	%xmm3, %xmm2
	por	%xmm2, %xmm0
	pslld	$23, %xmm6
	paddd	%xmm10, %xmm6
	cvttps2dq	%xmm6, %xmm2
	pmulld	%xmm4, %xmm2
	por	%xmm2, %xmm1
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %r15d
	cmpq	%rax, %rdx
	je	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	leal	(,%rdx,8), %esi
	movl	$24, %ecx
	subl	%esi, %ecx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13,%rdx,4), %esi
	shll	%cl, %esi
	orl	%esi, %r15d
	incq	%rdx
	addl	$-8, %ecx
	cmpq	%rdx, %rax
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	4(%rax), %r9d
	testb	$63, %r9b
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_HDCP_REP_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HDCP_SHA1_TEXT_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%r9d, %ebx
	callq	_I915_WRITE
	movl	%ebx, %r9d
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_DRM_HDCP_KSV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	%r12d, %edx
	testl	%edx, %edx
	jle	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%edx, %esi
	cmpl	$8, %edx
	movdqa	LCPI0_7(%rip), %xmm8            ## xmm8 = <2,3,u,u>
	movdqa	LCPI0_8(%rip), %xmm7            ## xmm7 = [4294967292,4294967291,4294967290,4294967289]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [24,24,24,24]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [4294967256,4294967256,4294967256,4294967256]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [4294967224,4294967224,4294967224,4294967224]
	movdqa	LCPI0_6(%rip), %xmm13           ## xmm13 = [16,16,16,16]
	jae	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	testb	$1, %sil
	je	LBB0_31
LBB0_34:                                ##   in Loop: Header=BB0_8 Depth=1
	addl	%eax, %r12d
	movl	(%r13,%r12,4), %edi
	leal	(,%rax,8), %ecx
	negb	%cl
	orb	$24, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	orl	%edi, %r15d
	movq	%rax, %rcx
	orq	$1, %rcx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r15d, %r15d
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [24,24,24,24]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [4294967256,4294967256,4294967256,4294967256]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [4294967224,4294967224,4294967224,4294967224]
	movdqa	LCPI0_6(%rip), %xmm13           ## xmm13 = [16,16,16,16]
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	-1(%rsi), %rcx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	leal	-5(%r8), %edi
	xorl	%eax, %eax
	cmpl	%ecx, %edi
	jb	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_8 Depth=1
	shrq	$32, %rcx
	movl	$0, %r15d
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%esi, %eax
	andl	$-8, %eax
	movl	%r12d, %ecx
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	1(%rdi), %ebx
	movd	%edi, %xmm2
	pshufd	$80, %xmm2, %xmm3               ## xmm3 = xmm2[0,0,1,1]
	por	%xmm8, %xmm3
	pshufd	$0, %xmm2, %xmm4                ## xmm4 = xmm2[0,0,0,0]
	pinsrd	$1, %ebx, %xmm2
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	movdqa	%xmm7, %xmm3
	psubd	%xmm4, %xmm3
	leal	(%rcx,%rdi), %ebx
	movdqu	(%r13,%rbx,4), %xmm4
	movdqu	16(%r13,%rbx,4), %xmm5
	pslld	$3, %xmm3
	pslld	$3, %xmm2
	movdqa	%xmm9, %xmm6
	psubd	%xmm2, %xmm6
	paddd	%xmm9, %xmm3
	pslld	$23, %xmm6
	paddd	%xmm10, %xmm6
	cvttps2dq	%xmm6, %xmm2
	pmulld	%xmm4, %xmm2
	por	%xmm2, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm10, %xmm3
	cvttps2dq	%xmm3, %xmm2
	pmulld	%xmm5, %xmm2
	por	%xmm2, %xmm1
	addq	$8, %rdi
	cmpq	%rdi, %rax
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_8 Depth=1
	por	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %r15d
	cmpq	%rsi, %rax
	je	LBB0_38
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, %sil
	jne	LBB0_34
LBB0_31:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rcx
LBB0_35:                                ##   in Loop: Header=BB0_8 Depth=1
	notq	%rax
	addq	%rsi, %rax
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%ecx, %edi
	subl	%r8d, %edi
	addl	$5, %edi
	leal	(,%rcx,8), %ebx
	movl	$16, %eax
	subl	%ebx, %eax
	subq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-1(%rdi), %ecx
	movl	(%r13,%rcx,4), %ebx
	leal	8(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	orl	%r15d, %ebx
	movl	%edi, %ecx
	movl	(%r13,%rcx,4), %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	orl	%ebx, %r15d
	addl	$2, %edi
	addl	$-16, %eax
	addq	$-2, %rsi
	jne	LBB0_37
LBB0_38:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$4, %edx
	jb	LBB0_6
## %bb.39:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.40:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	addl	$8, %r13d
	xorl	%esi, %esi
	xorl	%r15d, %r15d
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [24,24,24,24]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4294967288,4294967288,4294967288,4294967288]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [4294967256,4294967256,4294967256,4294967256]
	movdqa	LCPI0_5(%rip), %xmm12           ## xmm12 = [4294967224,4294967224,4294967224,4294967224]
	movdqa	LCPI0_6(%rip), %xmm13           ## xmm13 = [16,16,16,16]
	jmp	LBB0_7
LBB0_32:                                ##   in Loop: Header=BB0_8 Depth=1
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,1,2,3]
	testb	$1, %r8b
	jne	LBB0_14
	jmp	LBB0_15
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r15d, %r15d
	testb	$1, %sil
	je	LBB0_31
	jmp	LBB0_34
LBB0_41:
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
LBB0_42:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movq	%r14, %r12
	movq	_HDCP_SHA1_TEXT_16@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	orl	%r13d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %esi
	shll	$8, %esi
	orl	4(%rbx), %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.43:
	movl	(%r12), %edi
	movq	_HDCP_SHA1_TEXT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r13d, %esi
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.44:
	movl	(%r12), %edi
	movl	(%r14), %esi
	orl	%r13d, %esi
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.45:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	addl	$12, %r13d
	movq	_HDCP_REP_CTL@GOTPCREL(%rip), %r14
LBB0_46:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	leal	63(%r13), %eax
	testl	%r13d, %r13d
	cmovnsl	%r13d, %eax
	andl	$-64, %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	cmpl	$59, %ecx
	ja	LBB0_50
## %bb.47:
	addl	$4, %r13d
	.p2align	4, 0x90
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	leal	63(%r13), %eax
	testl	%r13d, %r13d
	cmovnsl	%r13d, %eax
	andl	$-64, %eax
	movl	%r13d, %ecx
	subl	%eax, %ecx
	addl	$4, %r13d
	cmpl	$59, %ecx
	jbe	LBB0_48
LBB0_50:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rax,4), %eax
	leal	80(,%rax,8), %esi
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.51:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_COMPLETE_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	movl	(%r14), %esi
	movq	_HDCP_SHA1_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_intel_de_wait_for_set
	testq	%rax, %rax
	je	LBB0_72
## %bb.52:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_61
LBB0_53:
	cmpl	$3, %esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	ja	LBB0_60
## %bb.54:
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	_HDCP_REP_CTL@GOTPCREL(%rip), %r14
	jmpq	*%rax
LBB0_55:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_24@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	orl	%r12d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %esi
	movl	4(%rbx), %eax
	shll	$16, %esi
	shll	$8, %eax
	orl	%r15d, %esi
	orl	%eax, %esi
	shrl	$8, %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.56:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r12d, %esi
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.57:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r12d, %esi
	callq	_I915_WRITE
	jmp	LBB0_58
LBB0_60:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_61:
	subl	(%rax), %ebx
	jmp	LBB0_66
LBB0_62:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	orl	%r12d, %esi
	callq	_I915_WRITE
	movl	(%rbx), %esi
	movl	4(%rbx), %eax
	shll	$24, %esi
	shll	$16, %eax
	orl	%r15d, %esi
	orl	%eax, %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.63:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r12d, %esi
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
LBB0_58:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.59:
	addl	$12, %r13d
	jmp	LBB0_46
LBB0_67:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	movl	(%rbx), %esi
	shll	$24, %esi
	orl	%r15d, %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.68:
	movq	%rbx, %r12
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.69:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.70:
	movl	(%r14), %edi
	movq	_HDCP_SHA1_TEXT_24@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	callq	_I915_WRITE
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_intel_write_sha_text
	testl	%eax, %eax
	js	LBB0_65
## %bb.71:
	addl	$16, %r13d
	jmp	LBB0_46
LBB0_65:
	movl	%eax, %ebx
LBB0_66:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_72:
	movl	(%r14), %edi
	callq	_I915_READ
	movq	_HDCP_SHA1_V_MATCH@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%eax, (%rcx)
	jne	LBB0_66
## %bb.73:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_61
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_55, LBB0_55-LJTI0_0
.set L0_0_set_62, LBB0_62-LJTI0_0
.set L0_0_set_67, LBB0_67-LJTI0_0
LJTI0_0:
	.long	L0_0_set_42
	.long	L0_0_set_55
	.long	L0_0_set_62
	.long	L0_0_set_67
	.end_data_region
                                        ## -- End function
	.comm	_DRM_HDCP_V_PRIME_NUM_PARTS,4,2 ## @DRM_HDCP_V_PRIME_NUM_PARTS
	.comm	_HDCP_REP_CTL,4,2               ## @HDCP_REP_CTL
	.comm	_HDCP_SHA1_TEXT_32,4,2          ## @HDCP_SHA1_TEXT_32
	.comm	_DRM_HDCP_KSV_LEN,4,2           ## @DRM_HDCP_KSV_LEN
	.comm	_HDCP_SHA1_TEXT_16,4,2          ## @HDCP_SHA1_TEXT_16
	.comm	_HDCP_SHA1_TEXT_0,4,2           ## @HDCP_SHA1_TEXT_0
	.comm	_HDCP_SHA1_TEXT_24,4,2          ## @HDCP_SHA1_TEXT_24
	.comm	_HDCP_SHA1_TEXT_8,4,2           ## @HDCP_SHA1_TEXT_8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of leftovers %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HDCP_SHA1_COMPLETE_HASH,4,2    ## @HDCP_SHA1_COMPLETE_HASH
	.comm	_HDCP_SHA1_COMPLETE,4,2         ## @HDCP_SHA1_COMPLETE
L_.str.1:                               ## @.str.1
	.asciz	"Timed out waiting for SHA1 complete\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_HDCP_SHA1_V_MATCH,4,2          ## @HDCP_SHA1_V_MATCH
L_.str.2:                               ## @.str.2
	.asciz	"SHA-1 mismatch, HDCP failed\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_intel_hdcp_validate_v_prime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function intel_hdcp_validate_v_prime
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_intel_hdcp_validate_v_prime:           ; @intel_hdcp_validate_v_prime
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x4
	str	w3, [sp, #56]                   ; 4-byte Folded Spill
	mov	x23, x2
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x20, _DRM_HDCP_V_PRIME_NUM_PARTS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DRM_HDCP_V_PRIME_NUM_PARTS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x24, x1
	mov	w25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x2, sp, #60
	mov	x0, x21
	mov	x1, x25
	blr	x8
	cbnz	w0, LBB0_52
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_HDCP_SHA_V_PRIME
	ldr	w1, [sp, #60]
	bl	_I915_WRITE
	add	w25, w25, #1
	ldr	w8, [x20]
	cmp	w25, w8
	b.lt	LBB0_2
LBB0_4:
	mov	x0, x21
	bl	_intel_hdcp_get_repeater_ctl
	mov	x25, x0
Lloh2:
	adrp	x22, _HDCP_REP_CTL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HDCP_REP_CTL@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x8, _HDCP_SHA1_TEXT_32@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_32@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.5:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	str	w25, [sp, #20]                  ; 4-byte Folded Spill
	mov	w24, #0
	mov	w20, #0
	mov	w28, #0
	mov	w22, #0
Lloh7:
	adrp	x8, lCPI0_0@PAGE
Lloh8:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #32]                   ; 16-byte Folded Spill
	mvni.4s	v21, #7
	add	x8, x23, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh9:
	adrp	x25, _DRM_HDCP_KSV_LEN@GOTPAGE
Lloh10:
	ldr	x25, [x25, _DRM_HDCP_KSV_LEN@GOTPAGEOFF]
	movi.4s	v22, #24
	mvni.4s	v23, #39
	mvni.4s	v24, #71
	movi.4s	v25, #16
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, x8
	mov	x20, x27
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w28, w28, #1
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.eq	LBB0_45
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_29 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	ldr	w8, [x25]
	mul	w21, w8, w28
	mov	w8, #4
	sub	w26, w8, w22
	cmp	w26, #1
	csinc	w8, w26, wzr, hi
	cmp	w8, #16
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, #0
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	and	x9, x8, #0xfffffff0
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w24
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x10, x10, w21, sxtw #2
	movi.2d	v1, #0000000000000000
	mov	x11, x9
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	ldr	q4, [sp, #32]                   ; 16-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q5, q6, [x10, #-32]
	ldp	q7, q16, [x10], #64
	shl.4s	v17, v4, #3
	sub.4s	v18, v22, v17
	sub.4s	v19, v21, v17
	sub.4s	v20, v23, v17
	sub.4s	v17, v24, v17
	ushl.4s	v5, v5, v18
	ushl.4s	v6, v6, v19
	ushl.4s	v7, v7, v20
	ushl.4s	v16, v16, v17
	orr.16b	v0, v5, v0
	orr.16b	v1, v6, v1
	orr.16b	v2, v7, v2
	orr.16b	v3, v16, v3
	add.4s	v4, v4, v25
	subs	x11, x11, #16
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w10, s0
	mov.s	w11, v0[1]
	orr	w24, w10, w11
	cmp	x9, x8
	b.eq	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x9, w21, sxtw
	add	x10, x23, x10, lsl #2
	mov	w11, #24
	sub	w11, w11, w9, lsl #3
	sub	x8, x8, x9
LBB0_14:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x10], #4
	lsl	w9, w9, w11
	orr	w24, w9, w24
	sub	w11, w11, #8
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	add	w27, w20, #4
	tst	w27, #0x3f
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh11:
	adrp	x8, _HDCP_REP_CTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HDCP_REP_CTL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _HDCP_SHA1_TEXT_32@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_32@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	orr	w1, w8, w9
	bl	_I915_WRITE
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x25]
	sub	w8, w8, w26
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x23, w21, sxtw #2
	cmp	w8, #16
	mvni.4s	v21, #7
	movi.4s	v22, #24
	mvni.4s	v23, #39
	mvni.4s	v24, #71
	movi.4s	v25, #16
	b.lo	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	sub	x10, x8, #1
	sub	w11, w22, #5
	cmp	w11, w10
	lsr	x10, x10, #32
	ccmp	x10, #0, #0, hs
	b.eq	LBB0_28
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x10, #0
	mov	w24, #0
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w11, #24
	sub	w11, w11, w10, lsl #3
	sub	w12, w10, w22
	add	w12, w12, #4
	sub	x10, x8, x10
LBB0_23:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x9, w12, uxtw #2]
	lsl	w13, w13, w11
	orr	w24, w13, w24
	sub	w11, w11, #8
	add	w12, w12, #1
	subs	x10, x10, #1
	b.ne	LBB0_23
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w24, #0
	mvni.4s	v21, #7
	movi.4s	v22, #24
	mvni.4s	v23, #39
	mvni.4s	v24, #71
	movi.4s	v25, #16
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #4
	b.lo	LBB0_6
; %bb.26:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w22, #0
	mov	w24, #0
	add	w20, w20, #8
	mvni.4s	v21, #7
	movi.4s	v22, #24
	mvni.4s	v23, #39
	mvni.4s	v24, #71
	movi.4s	v25, #16
	b	LBB0_7
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	and	x10, x8, #0xfffffff0
	movi.2d	v0, #0000000000000000
	mov	x11, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	ldr	q4, [sp, #32]                   ; 16-byte Folded Reload
LBB0_29:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x12, x9, w26, uxtw #2
	ldp	q5, q6, [x12]
	ldp	q7, q16, [x12, #32]
	shl.4s	v17, v4, #3
	sub.4s	v18, v22, v17
	sub.4s	v19, v21, v17
	sub.4s	v20, v23, v17
	sub.4s	v17, v24, v17
	ushl.4s	v5, v5, v18
	ushl.4s	v6, v6, v19
	ushl.4s	v7, v7, v20
	ushl.4s	v16, v16, v17
	orr.16b	v0, v5, v0
	orr.16b	v1, v6, v1
	orr.16b	v2, v7, v2
	orr.16b	v3, v16, v3
	add.4s	v4, v4, v25
	add	w26, w26, #16
	subs	x11, x11, #16
	b.ne	LBB0_29
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w24, w11, w12
	cmp	x10, x8
	b.ne	LBB0_22
	b	LBB0_25
LBB0_31:
	mov	w20, #0
LBB0_32:
	ldr	w0, [x22]
Lloh17:
	adrp	x21, _HDCP_SHA1_TEXT_16@GOTPAGE
Lloh18:
	ldr	x21, [x21, _HDCP_SHA1_TEXT_16@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldp	w8, w9, [x26]
	orr	w1, w9, w8, lsl #8
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.33:
	ldr	w0, [x22]
Lloh19:
	adrp	x8, _HDCP_SHA1_TEXT_0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_0@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.34:
	ldr	w0, [x22]
	ldr	w8, [x21]
LBB0_35:
	orr	w1, w8, w25
	bl	_I915_WRITE
LBB0_36:
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.37:
	add	w20, w20, #12
LBB0_38:
	ldr	w0, [x22]
Lloh22:
	adrp	x8, _HDCP_SHA1_TEXT_32@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_32@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	negs	w8, w20
	and	w8, w8, #0x3f
	and	w9, w20, #0x3f
	csneg	w8, w9, w8, mi
	cmp	w8, #59
	b.hi	LBB0_42
; %bb.39:
	add	w20, w20, #4
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	negs	w8, w20
	and	w8, w8, #0x3f
	and	w9, w20, #0x3f
	csneg	w8, w9, w8, mi
	add	w20, w20, #4
	cmp	w8, #59
	b.ls	LBB0_40
LBB0_42:
	mov	w8, #40
	ldr	w9, [sp, #56]                   ; 4-byte Folded Reload
	mul	w8, w9, w8
	add	w1, w8, #80
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.43:
	ldr	w0, [x22]
Lloh25:
	adrp	x8, _HDCP_SHA1_COMPLETE_HASH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HDCP_SHA1_COMPLETE_HASH@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldr	w1, [x22]
Lloh28:
	adrp	x8, _HDCP_SHA1_COMPLETE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HDCP_SHA1_COMPLETE@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_intel_de_wait_for_set
	cbz	x0, LBB0_60
; %bb.44:
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
Lloh33:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_51
LBB0_45:
	cmp	w22, #3
	ldr	x26, [sp, #8]                   ; 8-byte Folded Reload
	b.hi	LBB0_50
; %bb.46:
	mov	w8, w22
Lloh35:
	adrp	x9, lJTI0_0@PAGE
Lloh36:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_32
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh37:
	adrp	x22, _HDCP_REP_CTL@GOTPAGE
Lloh38:
	ldr	x22, [x22, _HDCP_REP_CTL@GOTPAGEOFF]
	ldr	w25, [sp, #20]                  ; 4-byte Folded Reload
	br	x10
LBB0_47:
	ldr	w0, [x22]
Lloh39:
	adrp	x8, _HDCP_SHA1_TEXT_24@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_24@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldp	w8, w9, [x26]
	orr	w8, w24, w8, lsl #16
	orr	w8, w8, w9, lsl #8
	lsr	w1, w8, #8
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.48:
	ldr	w0, [x22]
Lloh42:
	adrp	x8, _HDCP_SHA1_TEXT_0@GOTPAGE
Lloh43:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_0@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.49:
	ldr	w0, [x22]
Lloh45:
	adrp	x8, _HDCP_SHA1_TEXT_8@GOTPAGE
Lloh46:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_8@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	b	LBB0_35
LBB0_50:
	str	x22, [sp]
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh50:
	adrp	x8, _EINVAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_51:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_52:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_53:
	ldr	w0, [x22]
Lloh52:
	adrp	x8, _HDCP_SHA1_TEXT_32@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_32@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldp	w8, w9, [x26]
	orr	w8, w24, w8, lsl #24
	orr	w1, w8, w9, lsl #16
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.54:
	ldr	w0, [x22]
Lloh55:
	adrp	x8, _HDCP_SHA1_TEXT_0@GOTPAGE
Lloh56:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_0@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbz	w0, #31, LBB0_36
	b	LBB0_52
LBB0_55:
	ldr	w0, [x22]
Lloh58:
	adrp	x8, _HDCP_SHA1_TEXT_32@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_32@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldr	w8, [x26]
	orr	w1, w24, w8, lsl #24
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.56:
	ldr	w0, [x22]
Lloh61:
	adrp	x8, _HDCP_SHA1_TEXT_8@GOTPAGE
Lloh62:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_8@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	ldr	w1, [x26, #4]
	mov	x0, x19
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.57:
	ldr	w0, [x22]
Lloh64:
	adrp	x8, _HDCP_SHA1_TEXT_0@GOTPAGE
Lloh65:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_0@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.58:
	ldr	w0, [x22]
Lloh67:
	adrp	x8, _HDCP_SHA1_TEXT_24@GOTPAGE
Lloh68:
	ldr	x8, [x8, _HDCP_SHA1_TEXT_24@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	orr	w1, w8, w25
	bl	_I915_WRITE
	mov	x0, x19
	mov	w1, #0
	bl	_intel_write_sha_text
	tbnz	w0, #31, LBB0_52
; %bb.59:
	add	w20, w20, #16
	b	LBB0_38
LBB0_60:
	ldr	w0, [x22]
	bl	_I915_READ
Lloh70:
	adrp	x8, _HDCP_SHA1_V_MATCH@GOTPAGE
Lloh71:
	ldr	x8, [x8, _HDCP_SHA1_V_MATCH@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_62
; %bb.61:
	mov	w0, #0
	b	LBB0_52
LBB0_62:
Lloh73:
	adrp	x0, l_.str.2@PAGE
Lloh74:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_KMS
Lloh75:
	adrp	x8, _ENXIO@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_51
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_47-LBB0_32)>>2
	.byte	(LBB0_53-LBB0_32)>>2
	.byte	(LBB0_55-LBB0_32)>>2
                                        ; -- End function
	.comm	_DRM_HDCP_V_PRIME_NUM_PARTS,4,2 ; @DRM_HDCP_V_PRIME_NUM_PARTS
	.comm	_HDCP_REP_CTL,4,2               ; @HDCP_REP_CTL
	.comm	_HDCP_SHA1_TEXT_32,4,2          ; @HDCP_SHA1_TEXT_32
	.comm	_DRM_HDCP_KSV_LEN,4,2           ; @DRM_HDCP_KSV_LEN
	.comm	_HDCP_SHA1_TEXT_16,4,2          ; @HDCP_SHA1_TEXT_16
	.comm	_HDCP_SHA1_TEXT_0,4,2           ; @HDCP_SHA1_TEXT_0
	.comm	_HDCP_SHA1_TEXT_24,4,2          ; @HDCP_SHA1_TEXT_24
	.comm	_HDCP_SHA1_TEXT_8,4,2           ; @HDCP_SHA1_TEXT_8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of leftovers %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HDCP_SHA1_COMPLETE_HASH,4,2    ; @HDCP_SHA1_COMPLETE_HASH
	.comm	_HDCP_SHA1_COMPLETE,4,2         ; @HDCP_SHA1_COMPLETE
l_.str.1:                               ; @.str.1
	.asciz	"Timed out waiting for SHA1 complete\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_HDCP_SHA1_V_MATCH,4,2          ; @HDCP_SHA1_V_MATCH
l_.str.2:                               ; @.str.2
	.asciz	"SHA-1 mismatch, HDCP failed\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_intel_hdcp_validate_v_prime
.subsections_via_symbols
