	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_hdcp_get_revoked_ksv_count
_drm_hdcp_get_revoked_ksv_count:        ## @drm_hdcp_get_revoked_ksv_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	jle	LBB0_1
## %bb.2:
	movq	_DRM_HDCP_KSV_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	addq	%rax, %rcx
	imulq	%r8, %rax
	leaq	(%rdi,%rax,8), %rdi
	addq	$8, %rdi
	addq	%rax, %rdx
	incq	%rdx
	cmpq	%rsi, %rdx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
LBB0_4:
	xorl	%eax, %eax
	cmpq	%rsi, %rdx
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_HDCP_KSV_LEN,8,3           ## @DRM_HDCP_KSV_LEN
	.no_dead_strip	_drm_hdcp_get_revoked_ksv_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_hdcp_get_revoked_ksv_count
_drm_hdcp_get_revoked_ksv_count:        ; @drm_hdcp_get_revoked_ksv_count
	.cfi_startproc
; %bb.0:
	cmp	x1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	mov	x8, #0
Lloh0:
	adrp	x10, _DRM_HDCP_KSV_LEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DRM_HDCP_KSV_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	orr	x11, xzr, #0x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x0]
	add	x8, x12, x8
	madd	x12, x10, x12, x11
	add	x0, x0, x12, lsl #3
	add	x9, x12, x9
	cmp	x9, x1
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x8, #0
	mov	x9, #0
LBB0_4:
	cmp	x9, x1
	csel	x0, x8, xzr, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_HDCP_KSV_LEN,8,3           ; @DRM_HDCP_KSV_LEN
	.no_dead_strip	_drm_hdcp_get_revoked_ksv_count
.subsections_via_symbols
