	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trinity_start_dpm
_trinity_start_dpm:                     ## @trinity_start_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SMU_SCLK_DPM_CNTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_RREG32_SMC
	movq	_SCLK_DPM_EN_MASK@GOTPCREL(%rip), %rcx
	movq	_SCLK_DPM_BOOT_STATE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	(%rcx), %r12d
	movq	_VOLTAGE_CHG_EN_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	notl	%r12d
	andl	%eax, %r12d
	movl	$1, %edi
	callq	_SCLK_DPM_EN
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_SCLK_DPM_BOOT_STATE
	orl	%eax, %ebx
	movl	$1, %edi
	callq	_VOLTAGE_CHG_EN
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_WREG32_SMC
	movq	_GENERAL_PWRMGT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GLOBAL_PWRMGT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %edx
	notl	%edx
	callq	_WREG32_P
	movq	_CG_CG_VOLTAGE_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%esi, %esi
	callq	_WREG32_P
	movq	%r14, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trinity_dpm_config             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_SCLK_DPM_CNTL,4,2          ## @SMU_SCLK_DPM_CNTL
	.comm	_SCLK_DPM_EN_MASK,4,2           ## @SCLK_DPM_EN_MASK
	.comm	_SCLK_DPM_BOOT_STATE_MASK,4,2   ## @SCLK_DPM_BOOT_STATE_MASK
	.comm	_VOLTAGE_CHG_EN_MASK,4,2        ## @VOLTAGE_CHG_EN_MASK
	.comm	_GENERAL_PWRMGT,4,2             ## @GENERAL_PWRMGT
	.comm	_GLOBAL_PWRMGT_EN,4,2           ## @GLOBAL_PWRMGT_EN
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ## @CG_CG_VOLTAGE_CNTL
	.comm	_EN,4,2                         ## @EN
	.no_dead_strip	_trinity_start_dpm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trinity_start_dpm
_trinity_start_dpm:                     ; @trinity_start_dpm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _SMU_SCLK_DPM_CNTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SMU_SCLK_DPM_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32_SMC
Lloh2:
	adrp	x8, _SCLK_DPM_EN_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCLK_DPM_EN_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SCLK_DPM_BOOT_STATE_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SCLK_DPM_BOOT_STATE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _VOLTAGE_CHG_EN_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VOLTAGE_CHG_EN_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w22, w0, w8
	mov	w0, #1
	bl	_SCLK_DPM_EN
	mov	x20, x0
	mov	w0, #0
	bl	_SCLK_DPM_BOOT_STATE
	orr	w20, w0, w20
	mov	w0, #1
	bl	_VOLTAGE_CHG_EN
	orr	w8, w20, w22
	orr	w1, w8, w0
	ldr	w0, [x21]
	bl	_WREG32_SMC
Lloh11:
	adrp	x8, _GENERAL_PWRMGT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GENERAL_PWRMGT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _GLOBAL_PWRMGT_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GLOBAL_PWRMGT_EN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mvn	w2, w1
	bl	_WREG32_P
Lloh17:
	adrp	x8, _CG_CG_VOLTAGE_CNTL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CG_CG_VOLTAGE_CNTL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	w1, #0
	bl	_WREG32_P
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_trinity_dpm_config
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_SCLK_DPM_CNTL,4,2          ; @SMU_SCLK_DPM_CNTL
	.comm	_SCLK_DPM_EN_MASK,4,2           ; @SCLK_DPM_EN_MASK
	.comm	_SCLK_DPM_BOOT_STATE_MASK,4,2   ; @SCLK_DPM_BOOT_STATE_MASK
	.comm	_VOLTAGE_CHG_EN_MASK,4,2        ; @VOLTAGE_CHG_EN_MASK
	.comm	_GENERAL_PWRMGT,4,2             ; @GENERAL_PWRMGT
	.comm	_GLOBAL_PWRMGT_EN,4,2           ; @GLOBAL_PWRMGT_EN
	.comm	_CG_CG_VOLTAGE_CNTL,4,2         ; @CG_CG_VOLTAGE_CNTL
	.comm	_EN,4,2                         ; @EN
	.no_dead_strip	_trinity_start_dpm
.subsections_via_symbols
