	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msm_hdmi_hdcp_reset_sha_engine
_msm_hdmi_hdcp_reset_sha_engine:        ## @msm_hdmi_hdcp_reset_sha_engine
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_REG_HDMI_HDCP_SHA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_HDCP_REG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movl	%eax, -12(%rbp)
	movq	_HDCP_REG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	leaq	-16(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movl	$2, %ecx
	callq	_msm_hdmi_hdcp_scm_wr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_HDMI_HDCP_SHA_CTRL,4,2     ## @REG_HDMI_HDCP_SHA_CTRL
	.comm	_HDCP_REG_ENABLE,4,2            ## @HDCP_REG_ENABLE
	.comm	_HDCP_REG_DISABLE,4,2           ## @HDCP_REG_DISABLE
	.no_dead_strip	_msm_hdmi_hdcp_reset_sha_engine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msm_hdmi_hdcp_reset_sha_engine
_msm_hdmi_hdcp_reset_sha_engine:        ; @msm_hdmi_hdcp_reset_sha_engine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _REG_HDMI_HDCP_SHA_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REG_HDMI_HDCP_SHA_CTRL@GOTPAGEOFF]
	stur	x8, [x29, #-8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _HDCP_REG_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HDCP_REG_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w8, [sp, #16]
Lloh9:
	adrp	x8, _HDCP_REG_DISABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDCP_REG_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #8]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	w3, #2
	bl	_msm_hdmi_hdcp_scm_wr
	ldur	x8, [x29, #-8]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_HDMI_HDCP_SHA_CTRL,4,2     ; @REG_HDMI_HDCP_SHA_CTRL
	.comm	_HDCP_REG_ENABLE,4,2            ; @HDCP_REG_ENABLE
	.comm	_HDCP_REG_DISABLE,4,2           ; @HDCP_REG_DISABLE
	.no_dead_strip	_msm_hdmi_hdcp_reset_sha_engine
.subsections_via_symbols
