	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_hdcp_request_srm
_drm_hdcp_request_srm:                  ## @drm_hdcp_request_srm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movaps	l___const.drm_hdcp_request_srm.fw_name+16(%rip), %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	l___const.drm_hdcp_request_srm.fw_name(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	$0, -16(%rbp)
	movl	(%rdi), %edx
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_request_firmware_direct
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	-56(%rbp), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_drm_hdcp_srm_update
LBB0_4:
	movq	-56(%rbp), %rdi
	callq	_release_firmware
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$64, %rsp
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.drm_hdcp_request_srm.fw_name
l___const.drm_hdcp_request_srm.fw_name:
	.asciz	"display_hdcp_srm.bin\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.no_dead_strip	_drm_hdcp_request_srm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_hdcp_request_srm
_drm_hdcp_request_srm:                  ; @drm_hdcp_request_srm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.drm_hdcp_request_srm.fw_name@PAGE
Lloh4:
	add	x8, x8, l___const.drm_hdcp_request_srm.fw_name@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	str	wzr, [sp, #48]
	ldr	w2, [x0]
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_request_firmware_direct
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x1, [x8]
	cbz	x1, LBB0_4
; %bb.2:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_drm_hdcp_srm_update
LBB0_4:
	ldr	x0, [sp, #8]
	bl	_release_firmware
	ldur	x8, [x29, #-8]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.drm_hdcp_request_srm.fw_name: ; @__const.drm_hdcp_request_srm.fw_name
	.asciz	"display_hdcp_srm.bin\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.no_dead_strip	_drm_hdcp_request_srm
.subsections_via_symbols
