	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu8_stop_dpm
_smu8_stop_dpm:                         ## @smu8_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	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_DPMFlags_SCLK_Enabled@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	testl	%ecx, %esi
	je	LBB0_1
## %bb.2:
	movq	_SCLK_DPM_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	notl	%esi
	andl	%esi, %ecx
	movl	%ecx, (%rax)
	movq	_PPSMC_MSG_DisableAllSmuFeatures@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_smum_send_msg_to_smc_with_parameter ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPMFlags_SCLK_Enabled,4,2      ## @DPMFlags_SCLK_Enabled
	.comm	_SCLK_DPM_MASK,8,3              ## @SCLK_DPM_MASK
	.comm	_PPSMC_MSG_DisableAllSmuFeatures,4,2 ## @PPSMC_MSG_DisableAllSmuFeatures
	.no_dead_strip	_smu8_stop_dpm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu8_stop_dpm
_smu8_stop_dpm:                         ; @smu8_stop_dpm
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _DPMFlags_SCLK_Enabled@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DPMFlags_SCLK_Enabled@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x11, _SCLK_DPM_MASK@GOTPAGE
Lloh4:
	ldr	x11, [x11, _SCLK_DPM_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x11]
	bic	w9, w9, w10
	str	w9, [x8]
Lloh6:
	adrp	x8, _PPSMC_MSG_DisableAllSmuFeatures@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PPSMC_MSG_DisableAllSmuFeatures@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	b	_smum_send_msg_to_smc_with_parameter
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DPMFlags_SCLK_Enabled,4,2      ; @DPMFlags_SCLK_Enabled
	.comm	_SCLK_DPM_MASK,8,3              ; @SCLK_DPM_MASK
	.comm	_PPSMC_MSG_DisableAllSmuFeatures,4,2 ; @PPSMC_MSG_DisableAllSmuFeatures
	.no_dead_strip	_smu8_stop_dpm
.subsections_via_symbols
