	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdcp2_capable            ## -- Begin function intel_hdcp2_capable
	.p2align	4, 0x90
_intel_hdcp2_capable:                   ## @intel_hdcp2_capable
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_conn_to_dig_port
	movl	$0, -36(%rbp)
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rbx)
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpl	$0, 8(%r15)
	je	LBB0_3
## %bb.2:
	cmpl	$0, 4(%r15)
	je	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	(%rbx), %rax
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	*(%rax)
	movl	-36(%rbp), %r14d
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdcp2_capable            ; -- Begin function intel_hdcp2_capable
	.p2align	2
_intel_hdcp2_capable:                   ; @intel_hdcp2_capable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_to_i915
	mov	x21, x0
	mov	x0, x19
	bl	_conn_to_dig_port
	str	wzr, [sp, #12]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_mutex_lock
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_mutex_unlock
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, sp, #12
	mov	x0, x20
	blr	x8
	ldr	w0, [sp, #12]
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	bl	_mutex_unlock
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
