	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_vbios_smu_set_dprefclk      ## -- Begin function rn_vbios_smu_set_dprefclk
	.p2align	4, 0x90
_rn_vbios_smu_set_dprefclk:             ## @rn_vbios_smu_set_dprefclk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VBIOSSMC_MSG_SetDprefclkFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%rdi), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rn_vbios_smu_send_msg_with_param
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VBIOSSMC_MSG_SetDprefclkFreq,4,2 ## @VBIOSSMC_MSG_SetDprefclkFreq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rn_vbios_smu_set_dprefclk      ; -- Begin function rn_vbios_smu_set_dprefclk
	.p2align	2
_rn_vbios_smu_set_dprefclk:             ; @rn_vbios_smu_set_dprefclk
	.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
Lloh0:
	adrp	x8, _VBIOSSMC_MSG_SetDprefclkFreq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VBIOSSMC_MSG_SetDprefclkFreq@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldrsw	x8, [x0]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w2, w8, w9
	bl	_rn_vbios_smu_send_msg_with_param
	mov	w8, #1000
	mul	w0, w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VBIOSSMC_MSG_SetDprefclkFreq,4,2 ; @VBIOSSMC_MSG_SetDprefclkFreq
.subsections_via_symbols
