	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___qcom_scm_hdcp_req            ## -- Begin function __qcom_scm_hdcp_req
	.p2align	4, 0x90
___qcom_scm_hdcp_req:                   ## @__qcom_scm_hdcp_req
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_QCOM_SCM_HDCP_MAX_REQ_CNT@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jge	LBB0_3
## %bb.1:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %r9
	movl	%edx, %r8d
	movq	%rsi, %rcx
	movq	_QCOM_SCM_SVC_HDCP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QCOM_SCM_CMD_HDCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %r8d
	movl	$4, (%rsp)
	callq	_qcom_scm_call
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QCOM_SCM_HDCP_MAX_REQ_CNT,4,2  ## @QCOM_SCM_HDCP_MAX_REQ_CNT
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_QCOM_SCM_SVC_HDCP,4,2          ## @QCOM_SCM_SVC_HDCP
	.comm	_QCOM_SCM_CMD_HDCP,4,2          ## @QCOM_SCM_CMD_HDCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___qcom_scm_hdcp_req            ; -- Begin function __qcom_scm_hdcp_req
	.p2align	2
___qcom_scm_hdcp_req:                   ; @__qcom_scm_hdcp_req
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QCOM_SCM_HDCP_MAX_REQ_CNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QCOM_SCM_HDCP_MAX_REQ_CNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	x5, x3
	mov	x3, x1
Lloh6:
	adrp	x8, _QCOM_SCM_SVC_HDCP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QCOM_SCM_SVC_HDCP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _QCOM_SCM_CMD_HDCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QCOM_SCM_CMD_HDCP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w4, w2, #2
	mov	x2, x8
	mov	w6, #4
	b	_qcom_scm_call
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QCOM_SCM_HDCP_MAX_REQ_CNT,4,2  ; @QCOM_SCM_HDCP_MAX_REQ_CNT
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_QCOM_SCM_SVC_HDCP,4,2          ; @QCOM_SCM_SVC_HDCP
	.comm	_QCOM_SCM_CMD_HDCP,4,2          ; @QCOM_SCM_CMD_HDCP
.subsections_via_symbols
