	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv770_stop_dpm                 ## -- Begin function rv770_stop_dpm
	.p2align	4, 0x90
_rv770_stop_dpm:                        ## @rv770_stop_dpm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PPSMC_MSG_TwoLevelsDisabled@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rv770_send_msg_to_smc
	movq	_PPSMC_Result_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG
LBB0_2:
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GLOBAL_PWRMGT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
	callq	_WREG32_P
	movq	_SCLK_PWRMGT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCLK_PWRMGT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	callq	_WREG32_P
	movq	_MCLK_PWRMGT_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MPLL_PWRMGT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	popq	%rbp
	jmp	_WREG32_P                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPSMC_MSG_TwoLevelsDisabled,4,2 ## @PPSMC_MSG_TwoLevelsDisabled
	.comm	_PPSMC_Result_OK,8,3            ## @PPSMC_Result_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not force DPM to low.\n"

	.comm	_GENERAL_PWRMGT,4,2             ## @GENERAL_PWRMGT
	.comm	_GLOBAL_PWRMGT_EN,4,2           ## @GLOBAL_PWRMGT_EN
	.comm	_SCLK_PWRMGT_CNTL,4,2           ## @SCLK_PWRMGT_CNTL
	.comm	_SCLK_PWRMGT_OFF,4,2            ## @SCLK_PWRMGT_OFF
	.comm	_MCLK_PWRMGT_CNTL,4,2           ## @MCLK_PWRMGT_CNTL
	.comm	_MPLL_PWRMGT_OFF,4,2            ## @MPLL_PWRMGT_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv770_stop_dpm                 ; -- Begin function rv770_stop_dpm
	.p2align	2
_rv770_stop_dpm:                        ; @rv770_stop_dpm
	.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, _PPSMC_MSG_TwoLevelsDisabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPSMC_MSG_TwoLevelsDisabled@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rv770_send_msg_to_smc
Lloh3:
	adrp	x8, _PPSMC_Result_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPSMC_Result_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG
LBB0_2:
Lloh8:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _GLOBAL_PWRMGT_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GLOBAL_PWRMGT_EN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
Lloh14:
	adrp	x8, _SCLK_PWRMGT_CNTL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SCLK_PWRMGT_CNTL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _SCLK_PWRMGT_OFF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SCLK_PWRMGT_OFF@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
Lloh20:
	adrp	x8, _MCLK_PWRMGT_CNTL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MCLK_PWRMGT_CNTL@GOTPAGEOFF]
Lloh22:
	adrp	x9, _MPLL_PWRMGT_OFF@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MPLL_PWRMGT_OFF@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	ldr	w1, [x9]
	mvn	w2, w1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WREG32_P
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PPSMC_MSG_TwoLevelsDisabled,4,2 ; @PPSMC_MSG_TwoLevelsDisabled
	.comm	_PPSMC_Result_OK,8,3            ; @PPSMC_Result_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not force DPM to low.\n"

	.comm	_GENERAL_PWRMGT,4,2             ; @GENERAL_PWRMGT
	.comm	_GLOBAL_PWRMGT_EN,4,2           ; @GLOBAL_PWRMGT_EN
	.comm	_SCLK_PWRMGT_CNTL,4,2           ; @SCLK_PWRMGT_CNTL
	.comm	_SCLK_PWRMGT_OFF,4,2            ; @SCLK_PWRMGT_OFF
	.comm	_MCLK_PWRMGT_CNTL,4,2           ; @MCLK_PWRMGT_CNTL
	.comm	_MPLL_PWRMGT_OFF,4,2            ; @MPLL_PWRMGT_OFF
.subsections_via_symbols
