	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu10_dpm_force_dpm_level
_smu10_dpm_force_dpm_level:             ## @smu10_dpm_force_dpm_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	$1980159, (%rdi)                ## imm = 0x1E36FF
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_15
LBB0_2:
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	movq	8(%rdi), %rax
	movslq	4(%rax), %rcx
	imulq	$1374389535, %rcx, %r15         ## imm = 0x51EB851F
	movq	%r15, %rcx
	shrq	$63, %rcx
	sarq	$37, %r15
	addl	%ecx, %r15d
	movl	(%rax), %ecx
	movl	(%r12), %eax
	cmpl	%eax, %ecx
	cmovlel	%eax, %ecx
	movq	8(%r12), %rdx
	movl	(%rdx), %edx
	cmpl	%edx, %r15d
	cmovlel	%edx, %r15d
	addl	$-128, %esi
	cmpl	$8, %esi
	ja	LBB0_15
## %bb.3:
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rcx
	shrq	$63, %rcx
	sarq	$37, %rbx
	addl	%ecx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_PPSMC_MSG_SetHardMinGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	4(%r12), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_PEAK_FCLK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinSocclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinVcn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_VCE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	4(%r12), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	jmp	LBB0_7
LBB0_12:
	movq	_PPSMC_MSG_SetHardMinGfxClk@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cltq
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	(%r12), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_smum_send_msg_to_smc_with_parameter
LBB0_13:
	movq	_PPSMC_MSG_SetHardMinFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	jmp	LBB0_14
LBB0_9:
	movq	_PPSMC_MSG_SetHardMinGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	cmpl	$4, 8(%rax)
	movq	_SMU10_UMD_PSTATE_PEAK_FCLK@GOTPCREL(%rip), %rbx
	jl	LBB0_11
## %bb.10:
	movl	(%rbx), %r15d
LBB0_11:
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinSocclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_MIN_SOCCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinVcn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_MIN_VCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	4(%r12), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxVcn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_VCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_14
LBB0_6:
	movq	_PPSMC_MSG_SetHardMinGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_GFXCLK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_FCLK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinSocclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_SOCCLK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetHardMinVcn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMU10_UMD_PSTATE_VCE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
LBB0_7:
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxVcn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	jmp	LBB0_14
LBB0_5:
	movq	_PPSMC_MSG_SetHardMinGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_smum_send_msg_to_smc_with_parameter
	movq	_PPSMC_MSG_SetSoftMaxGfxClk@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
LBB0_14:
	callq	_smum_send_msg_to_smc_with_parameter
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smu firmware version too old, can not set dpm level\n"

	.comm	_PPSMC_MSG_SetHardMinGfxClk,4,2 ## @PPSMC_MSG_SetHardMinGfxClk
	.comm	_PPSMC_MSG_SetHardMinFclkByFreq,4,2 ## @PPSMC_MSG_SetHardMinFclkByFreq
	.comm	_SMU10_UMD_PSTATE_PEAK_FCLK,4,2 ## @SMU10_UMD_PSTATE_PEAK_FCLK
	.comm	_PPSMC_MSG_SetHardMinSocclkByFreq,4,2 ## @PPSMC_MSG_SetHardMinSocclkByFreq
	.comm	_SMU10_UMD_PSTATE_PEAK_SOCCLK,4,2 ## @SMU10_UMD_PSTATE_PEAK_SOCCLK
	.comm	_PPSMC_MSG_SetHardMinVcn,4,2    ## @PPSMC_MSG_SetHardMinVcn
	.comm	_SMU10_UMD_PSTATE_VCE,4,2       ## @SMU10_UMD_PSTATE_VCE
	.comm	_PPSMC_MSG_SetSoftMaxGfxClk,4,2 ## @PPSMC_MSG_SetSoftMaxGfxClk
	.comm	_PPSMC_MSG_SetSoftMaxFclkByFreq,4,2 ## @PPSMC_MSG_SetSoftMaxFclkByFreq
	.comm	_PPSMC_MSG_SetSoftMaxSocclkByFreq,4,2 ## @PPSMC_MSG_SetSoftMaxSocclkByFreq
	.comm	_PPSMC_MSG_SetSoftMaxVcn,4,2    ## @PPSMC_MSG_SetSoftMaxVcn
	.comm	_SMU10_UMD_PSTATE_GFXCLK,4,2    ## @SMU10_UMD_PSTATE_GFXCLK
	.comm	_SMU10_UMD_PSTATE_FCLK,4,2      ## @SMU10_UMD_PSTATE_FCLK
	.comm	_SMU10_UMD_PSTATE_SOCCLK,4,2    ## @SMU10_UMD_PSTATE_SOCCLK
	.comm	_SMU10_UMD_PSTATE_MIN_SOCCLK,4,2 ## @SMU10_UMD_PSTATE_MIN_SOCCLK
	.comm	_SMU10_UMD_PSTATE_MIN_VCE,4,2   ## @SMU10_UMD_PSTATE_MIN_VCE
	.no_dead_strip	_smu10_dpm_force_dpm_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_dpm_force_dpm_level
_smu10_dpm_force_dpm_level:             ; @smu10_dpm_force_dpm_level
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	mov	w9, #14079
	movk	w9, #30, lsl #16
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	b	LBB0_12
LBB0_2:
	mov	x19, x0
	ldp	x8, x22, [x0, #8]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	ldp	w11, w10, [x8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	mul	x8, x10, x9
	lsr	x10, x8, #63
	asr	x12, x8, #37
	ldr	w8, [x22]
	cmp	w11, w8
	csel	w11, w11, w8, gt
	ldr	x13, [x22, #8]
	ldr	w13, [x13]
	add	w10, w12, w10
	cmp	w10, w13
	csel	w20, w10, w13, gt
	sub	w10, w1, #128
	cmp	w10, #8
	b.hi	LBB0_12
; %bb.3:
	smull	x9, w11, w9
	lsr	x11, x9, #63
	asr	x9, x9, #37
	add	w21, w9, w11
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x9, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
Lloh4:
	adrp	x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldrsw	x8, [x22, #4]
	mov	w20, #34079
	movk	w20, #20971, lsl #16
	mul	x8, x8, x20
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh7:
	adrp	x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x21, _SMU10_UMD_PSTATE_PEAK_FCLK@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SMU10_UMD_PSTATE_PEAK_FCLK@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh12:
	adrp	x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x23, _SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPAGE
Lloh16:
	ldr	x23, [x23, _SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh17:
	adrp	x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x24, _SMU10_UMD_PSTATE_VCE@GOTPAGE
Lloh21:
	ldr	x24, [x24, _SMU10_UMD_PSTATE_VCE@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh22:
	adrp	x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldrsw	x8, [x22, #4]
	mul	x8, x8, x20
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh25:
	adrp	x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh28:
	adrp	x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh31:
	adrp	x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x24]
	b	LBB0_10
LBB0_5:
Lloh34:
	adrp	x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x20, _SMU10_UMD_PSTATE_GFXCLK@GOTPAGE
Lloh38:
	ldr	x20, [x20, _SMU10_UMD_PSTATE_GFXCLK@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh39:
	adrp	x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x21, _SMU10_UMD_PSTATE_FCLK@GOTPAGE
Lloh43:
	ldr	x21, [x21, _SMU10_UMD_PSTATE_FCLK@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh44:
	adrp	x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x22, _SMU10_UMD_PSTATE_SOCCLK@GOTPAGE
Lloh48:
	ldr	x22, [x22, _SMU10_UMD_PSTATE_SOCCLK@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh49:
	adrp	x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
Lloh52:
	adrp	x23, _SMU10_UMD_PSTATE_VCE@GOTPAGE
Lloh53:
	ldr	x23, [x23, _SMU10_UMD_PSTATE_VCE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh54:
	adrp	x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh57:
	adrp	x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh60:
	adrp	x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh63:
	adrp	x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	ldr	w2, [x23]
	b	LBB0_10
LBB0_6:
Lloh66:
	adrp	x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGE
Lloh67:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_smum_send_msg_to_smc_with_parameter
Lloh69:
	adrp	x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGE
Lloh70:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	b	LBB0_11
LBB0_7:
Lloh72:
	adrp	x9, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGE
Lloh73:
	ldr	x9, [x9, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x9]
	mov	w21, #34079
	movk	w21, #20971, lsl #16
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh75:
	adrp	x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGE
Lloh76:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	ldrsw	x8, [x22]
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
LBB0_8:
Lloh78:
	adrp	x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGE
Lloh79:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_smum_send_msg_to_smc_with_parameter
Lloh81:
	adrp	x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGE
Lloh82:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	b	LBB0_11
LBB0_9:
Lloh84:
	adrp	x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGE
Lloh85:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinGfxClk@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_smum_send_msg_to_smc_with_parameter
Lloh87:
	adrp	x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGE
Lloh88:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinFclkByFreq@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
Lloh90:
	adrp	x21, _SMU10_UMD_PSTATE_PEAK_FCLK@GOTPAGE
Lloh91:
	ldr	x21, [x21, _SMU10_UMD_PSTATE_PEAK_FCLK@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #3
	csel	w2, w9, w20, gt
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh92:
	adrp	x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGE
Lloh93:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinSocclkByFreq@GOTPAGEOFF]
Lloh94:
	ldr	w1, [x8]
Lloh95:
	adrp	x8, _SMU10_UMD_PSTATE_MIN_SOCCLK@GOTPAGE
Lloh96:
	ldr	x8, [x8, _SMU10_UMD_PSTATE_MIN_SOCCLK@GOTPAGEOFF]
Lloh97:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh98:
	adrp	x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGE
Lloh99:
	ldr	x8, [x8, _PPSMC_MSG_SetHardMinVcn@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
Lloh101:
	adrp	x8, _SMU10_UMD_PSTATE_MIN_VCE@GOTPAGE
Lloh102:
	ldr	x8, [x8, _SMU10_UMD_PSTATE_MIN_VCE@GOTPAGEOFF]
Lloh103:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh104:
	adrp	x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGE
Lloh105:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxGfxClk@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	ldrsw	x8, [x22, #4]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh107:
	adrp	x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGE
Lloh108:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxFclkByFreq@GOTPAGEOFF]
Lloh109:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh110:
	adrp	x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGE
Lloh111:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxSocclkByFreq@GOTPAGEOFF]
Lloh112:
	ldr	w1, [x8]
Lloh113:
	adrp	x8, _SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPAGE
Lloh114:
	ldr	x8, [x8, _SMU10_UMD_PSTATE_PEAK_SOCCLK@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_smum_send_msg_to_smc_with_parameter
Lloh116:
	adrp	x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGE
Lloh117:
	ldr	x8, [x8, _PPSMC_MSG_SetSoftMaxVcn@GOTPAGEOFF]
Lloh118:
	ldr	w1, [x8]
Lloh119:
	adrp	x8, _SMU10_UMD_PSTATE_VCE@GOTPAGE
Lloh120:
	ldr	x8, [x8, _SMU10_UMD_PSTATE_VCE@GOTPAGEOFF]
Lloh121:
	ldr	w2, [x8]
LBB0_10:
	mov	x0, x19
LBB0_11:
	bl	_smum_send_msg_to_smc_with_parameter
LBB0_12:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smu firmware version too old, can not set dpm level\n"

	.comm	_PPSMC_MSG_SetHardMinGfxClk,4,2 ; @PPSMC_MSG_SetHardMinGfxClk
	.comm	_PPSMC_MSG_SetHardMinFclkByFreq,4,2 ; @PPSMC_MSG_SetHardMinFclkByFreq
	.comm	_SMU10_UMD_PSTATE_PEAK_FCLK,4,2 ; @SMU10_UMD_PSTATE_PEAK_FCLK
	.comm	_PPSMC_MSG_SetHardMinSocclkByFreq,4,2 ; @PPSMC_MSG_SetHardMinSocclkByFreq
	.comm	_SMU10_UMD_PSTATE_PEAK_SOCCLK,4,2 ; @SMU10_UMD_PSTATE_PEAK_SOCCLK
	.comm	_PPSMC_MSG_SetHardMinVcn,4,2    ; @PPSMC_MSG_SetHardMinVcn
	.comm	_SMU10_UMD_PSTATE_VCE,4,2       ; @SMU10_UMD_PSTATE_VCE
	.comm	_PPSMC_MSG_SetSoftMaxGfxClk,4,2 ; @PPSMC_MSG_SetSoftMaxGfxClk
	.comm	_PPSMC_MSG_SetSoftMaxFclkByFreq,4,2 ; @PPSMC_MSG_SetSoftMaxFclkByFreq
	.comm	_PPSMC_MSG_SetSoftMaxSocclkByFreq,4,2 ; @PPSMC_MSG_SetSoftMaxSocclkByFreq
	.comm	_PPSMC_MSG_SetSoftMaxVcn,4,2    ; @PPSMC_MSG_SetSoftMaxVcn
	.comm	_SMU10_UMD_PSTATE_GFXCLK,4,2    ; @SMU10_UMD_PSTATE_GFXCLK
	.comm	_SMU10_UMD_PSTATE_FCLK,4,2      ; @SMU10_UMD_PSTATE_FCLK
	.comm	_SMU10_UMD_PSTATE_SOCCLK,4,2    ; @SMU10_UMD_PSTATE_SOCCLK
	.comm	_SMU10_UMD_PSTATE_MIN_SOCCLK,4,2 ; @SMU10_UMD_PSTATE_MIN_SOCCLK
	.comm	_SMU10_UMD_PSTATE_MIN_VCE,4,2   ; @SMU10_UMD_PSTATE_MIN_VCE
	.no_dead_strip	_smu10_dpm_force_dpm_level
.subsections_via_symbols
