	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _intel_hdcp2_enable
__intel_hdcp2_enable:                   ## @_intel_hdcp2_enable
	.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
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	movl	12(%rdi), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_hdcp2_authenticate_and_encrypt
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	12(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	jmp	LBB0_3
LBB0_2:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	12(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	movl	$1, 8(%rbx)
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s:%d] HDCP2.2 is being enabled. Type: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"HDCP2 Type%d  Enabling Failed. (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"[%s:%d] HDCP2.2 is enabled. Type %d\n"

	.no_dead_strip	__intel_hdcp2_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _intel_hdcp2_enable
__intel_hdcp2_enable:                   ; @_intel_hdcp2_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldp	w2, w1, [x0]
	ldr	w8, [x0, #12]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_hdcp2_authenticate_and_encrypt
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #12]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_DRM_DEBUG_KMS
	b	LBB0_3
LBB0_2:
	ldp	w2, w1, [x19]
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s:%d] HDCP2.2 is being enabled. Type: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"HDCP2 Type%d  Enabling Failed. (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"[%s:%d] HDCP2.2 is enabled. Type %d\n"

	.no_dead_strip	__intel_hdcp2_enable
.subsections_via_symbols
