	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega20_dpm_force_dpm_level
_vega20_dpm_force_dpm_level:            ## @vega20_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	leal	-128(%rsi), %ecx
	cmpl	$8, %ecx
	ja	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	xorl	%eax, %eax
	jmpq	*%rcx
LBB0_5:
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_vega20_get_profiling_clk_mask
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_PP_SCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	-28(%rbp), %cl
	movl	$1, %r14d
	movl	$1, %edx
	shll	%cl, %edx
	movq	%rbx, %rdi
	callq	_vega20_force_clock_level
	movq	_PP_MCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	-24(%rbp), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	%rbx, %rdi
	callq	_vega20_force_clock_level
	movq	_PP_SOCCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	-20(%rbp), %cl
	shll	%cl, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_vega20_force_clock_level
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vega20_force_dpm_highest       ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vega20_unforce_dpm_levels      ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_vega20_force_dpm_lowest        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_PP_SCLK,4,2                    ## @PP_SCLK
	.comm	_PP_MCLK,4,2                    ## @PP_MCLK
	.comm	_PP_SOCCLK,4,2                  ## @PP_SOCCLK
	.no_dead_strip	_vega20_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 vega20_dpm_force_dpm_level
_vega20_dpm_force_dpm_level:            ; @vega20_dpm_force_dpm_level
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #0
	sub	w8, w1, #128
	cmp	w8, #8
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x19
	bl	_vega20_get_profiling_clk_mask
	cbnz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _PP_SCLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PP_SCLK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w8, [sp, #12]
	mov	w20, #1
	lsl	w2, w20, w8
	mov	x0, x19
	bl	_vega20_force_clock_level
Lloh5:
	adrp	x8, _PP_MCLK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PP_MCLK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w8, [sp, #8]
	lsl	w2, w20, w8
	mov	x0, x19
	bl	_vega20_force_clock_level
Lloh8:
	adrp	x8, _PP_SOCCLK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PP_SOCCLK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w8, [sp, #4]
	lsl	w2, w20, w8
	mov	x0, x19
	bl	_vega20_force_clock_level
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_vega20_force_dpm_highest
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_vega20_unforce_dpm_levels
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_vega20_force_dpm_lowest
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_PP_SCLK,4,2                    ; @PP_SCLK
	.comm	_PP_MCLK,4,2                    ; @PP_MCLK
	.comm	_PP_SOCCLK,4,2                  ; @PP_SOCCLK
	.no_dead_strip	_vega20_dpm_force_dpm_level
.subsections_via_symbols
