	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trinity_set_allos_gnb_slow
_trinity_set_allos_gnb_slow:            ## @trinity_set_allos_gnb_slow
	.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
	movl	%esi, %r15d
	movq	_TRINITY_SIZEOF_DPM_STATE_TABLE@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	movl	%edx, %r14d
	movq	_SMU_SCLK_DPM_STATE_0_CNTL_3@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	addl	%r15d, %edi
	callq	_RREG32_SMC
	movq	_GNB_SLOW_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	%r14d, %edi
	callq	_GNB_SLOW
	orl	%eax, %ebx
	addl	(%r12), %r15d
	movl	%r15d, %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32_SMC                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRINITY_SIZEOF_DPM_STATE_TABLE,4,2 ## @TRINITY_SIZEOF_DPM_STATE_TABLE
	.comm	_SMU_SCLK_DPM_STATE_0_CNTL_3,4,2 ## @SMU_SCLK_DPM_STATE_0_CNTL_3
	.comm	_GNB_SLOW_MASK,4,2              ## @GNB_SLOW_MASK
	.no_dead_strip	_trinity_set_allos_gnb_slow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trinity_set_allos_gnb_slow
_trinity_set_allos_gnb_slow:            ; @trinity_set_allos_gnb_slow
	.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, x2
Lloh0:
	adrp	x8, _TRINITY_SIZEOF_DPM_STATE_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRINITY_SIZEOF_DPM_STATE_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w20, w8, w1
Lloh3:
	adrp	x21, _SMU_SCLK_DPM_STATE_0_CNTL_3@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SMU_SCLK_DPM_STATE_0_CNTL_3@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w0, w8, w20
	bl	_RREG32_SMC
Lloh5:
	adrp	x8, _GNB_SLOW_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GNB_SLOW_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w22, w0, w8
	mov	x0, x19
	bl	_GNB_SLOW
	orr	w1, w22, w0
	ldr	w8, [x21]
	add	w0, w8, w20
	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	_WREG32_SMC
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRINITY_SIZEOF_DPM_STATE_TABLE,4,2 ; @TRINITY_SIZEOF_DPM_STATE_TABLE
	.comm	_SMU_SCLK_DPM_STATE_0_CNTL_3,4,2 ; @SMU_SCLK_DPM_STATE_0_CNTL_3
	.comm	_GNB_SLOW_MASK,4,2              ; @GNB_SLOW_MASK
	.no_dead_strip	_trinity_set_allos_gnb_slow
.subsections_via_symbols
