	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_get_average_sclk_freq
_ci_get_average_sclk_freq:              ## @ci_get_average_sclk_freq
	.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	_PPSMC_MSG_API_GetSclkFrequency@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	callq	_ci_send_msg_to_smc_return_parameter
	movq	_PPSMC_Result_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	-8(%rbp), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPSMC_MSG_API_GetSclkFrequency,4,2 ## @PPSMC_MSG_API_GetSclkFrequency
	.comm	_PPSMC_Result_OK,8,3            ## @PPSMC_Result_OK
	.no_dead_strip	_ci_get_average_sclk_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_get_average_sclk_freq
_ci_get_average_sclk_freq:              ; @ci_get_average_sclk_freq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _PPSMC_MSG_API_GetSclkFrequency@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPSMC_MSG_API_GetSclkFrequency@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ci_send_msg_to_smc_return_parameter
Lloh3:
	adrp	x8, _PPSMC_Result_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_Result_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	cmp	x0, x8
	csel	x0, x9, xzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PPSMC_MSG_API_GetSclkFrequency,4,2 ; @PPSMC_MSG_API_GetSclkFrequency
	.comm	_PPSMC_Result_OK,8,3            ; @PPSMC_Result_OK
	.no_dead_strip	_ci_get_average_sclk_freq
.subsections_via_symbols
