	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trinity_stop_dpm
_trinity_stop_dpm:                      ## @trinity_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_CG_CG_VOLTAGE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	callq	_WREG32_P
	movq	_SMU_SCLK_DPM_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32_SMC
	movq	_SCLK_DPM_EN_MASK@GOTPCREL(%rip), %rcx
	movq	_VOLTAGE_CHG_EN_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_WREG32_SMC
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trinity_dpm_config             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ## @CG_CG_VOLTAGE_CNTL
	.comm	_EN,4,2                         ## @EN
	.comm	_SMU_SCLK_DPM_CNTL,4,2          ## @SMU_SCLK_DPM_CNTL
	.comm	_SCLK_DPM_EN_MASK,4,2           ## @SCLK_DPM_EN_MASK
	.comm	_VOLTAGE_CHG_EN_MASK,4,2        ## @VOLTAGE_CHG_EN_MASK
	.no_dead_strip	_trinity_stop_dpm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trinity_stop_dpm
_trinity_stop_dpm:                      ; @trinity_stop_dpm
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _CG_CG_VOLTAGE_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CG_CG_VOLTAGE_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
Lloh6:
	adrp	x20, _SMU_SCLK_DPM_CNTL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SMU_SCLK_DPM_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32_SMC
Lloh8:
	adrp	x8, _SCLK_DPM_EN_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCLK_DPM_EN_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _VOLTAGE_CHG_EN_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VOLTAGE_CHG_EN_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_WREG32_SMC
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trinity_dpm_config
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ; @CG_CG_VOLTAGE_CNTL
	.comm	_EN,4,2                         ; @EN
	.comm	_SMU_SCLK_DPM_CNTL,4,2          ; @SMU_SCLK_DPM_CNTL
	.comm	_SCLK_DPM_EN_MASK,4,2           ; @SCLK_DPM_EN_MASK
	.comm	_VOLTAGE_CHG_EN_MASK,4,2        ; @VOLTAGE_CHG_EN_MASK
	.no_dead_strip	_trinity_stop_dpm
.subsections_via_symbols
