	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdcp_atomic_check        ## -- Begin function intel_hdcp_atomic_check
	.p2align	4, 0x90
_intel_hdcp_atomic_check:               ## @intel_hdcp_atomic_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rsi), %rcx
	movl	16(%rdx), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	(%rdx), %r8
	cmpq	%r8, %rcx
	je	LBB0_4
## %bb.2:
	movq	_DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_5
## %bb.3:
	movq	_DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	jne	LBB0_5
LBB0_4:
	movq	8(%rax), %rax
	cmpq	8(%rdx), %rax
	je	LBB0_8
LBB0_5:
	movl	20(%rdx), %edi
	callq	_drm_atomic_get_new_crtc_state
	movl	$1, (%rax)
LBB0_8:
	popq	%rbp
	retq
LBB0_6:
	movq	_DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_8
## %bb.7:
	movq	_DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_CONTENT_PROTECTION_ENABLED,8,3 ## @DRM_MODE_CONTENT_PROTECTION_ENABLED
	.comm	_DRM_MODE_CONTENT_PROTECTION_DESIRED,8,3 ## @DRM_MODE_CONTENT_PROTECTION_DESIRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_hdcp_atomic_check        ; -- Begin function intel_hdcp_atomic_check
	.p2align	2
_intel_hdcp_atomic_check:               ; @intel_hdcp_atomic_check
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x9, [x1]
	ldr	w1, [x2, #16]
	cbz	w1, LBB0_6
; %bb.1:
	ldr	x10, [x2]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x11, _DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPAGE
Lloh1:
	ldr	x11, [x11, _DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
Lloh3:
	adrp	x12, _DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPAGE
Lloh4:
	ldr	x12, [x12, _DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x9, x11
	ccmp	x10, x12, #0, eq
	b.ne	LBB0_4
LBB0_3:
	ldr	x8, [x8, #8]
	ldr	x9, [x2, #8]
	cmp	x8, x9
	b.eq	LBB0_5
LBB0_4:
	ldr	w0, [x2, #20]
	bl	_drm_atomic_get_new_crtc_state
	mov	w8, #1
	str	w8, [x0]
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x8, _DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRM_MODE_CONTENT_PROTECTION_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.7:
Lloh9:
	adrp	x8, _DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DRM_MODE_CONTENT_PROTECTION_DESIRED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_CONTENT_PROTECTION_ENABLED,8,3 ; @DRM_MODE_CONTENT_PROTECTION_ENABLED
	.comm	_DRM_MODE_CONTENT_PROTECTION_DESIRED,8,3 ; @DRM_MODE_CONTENT_PROTECTION_DESIRED
.subsections_via_symbols
