	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cik_enable_mgcg
_cik_enable_mgcg:                       ## @cik_enable_mgcg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testl	%esi, %esi
	je	LBB0_14
## %bb.1:
	movl	(%r15), %eax
	movq	_RADEON_CG_SUPPORT_GFX_MGCG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.2:
	movq	_RADEON_CG_SUPPORT_GFX_MGLS@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_6
## %bb.3:
	movq	_RADEON_CG_SUPPORT_GFX_CP_LS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_CP_MEM_SLP_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_MEM_LS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	%eax, %esi
	cmpl	%esi, %eax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %edi
	callq	_WREG32
LBB0_6:
	movq	_RLC_CGTT_MGCG_OVERRIDE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movl	%eax, %esi
	andl	$-4, %esi
	orl	$1, %esi
	cmpl	%esi, %eax
	je	LBB0_8
## %bb.7:
	movl	(%rbx), %edi
	callq	_WREG32
LBB0_8:
	movq	%r15, %rdi
	callq	_cik_halt_rlc
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	callq	_cik_select_se_sh
	movq	_RLC_SERDES_WR_CU_MASTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_WREG32
	movq	_RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_WREG32
	movq	_BPM_ADDR_MASK@GOTPCREL(%rip), %rax
	movq	_MGCG_OVERRIDE_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_RLC_SERDES_WR_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WREG32
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_cik_update_rlc
	movq	_RADEON_CG_SUPPORT_GFX_CGTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_23
## %bb.9:
	movq	_CGTS_SM_CTRL_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, %r14d
	movq	_SM_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	%r14d, %ebx
	movl	$2, %edi
	callq	_SM_MODE
	orl	%ebx, %eax
	movq	_SM_MODE_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_CGTS_OVERRIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	(%r15), %eax
	testl	%eax, (%r13)
	je	LBB0_12
## %bb.10:
	movq	_RADEON_CG_SUPPORT_GFX_CGTS_LS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_12
## %bb.11:
	movq	_CGTS_LS_OVERRIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ecx
LBB0_12:
	movq	_ON_MONITOR_ADD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	andl	%ecx, %ebx
	movq	_ON_MONITOR_ADD_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	$150, %edi
	callq	_ON_MONITOR_ADD
	orl	%ebx, %eax
	cmpl	%eax, %r14d
	jne	LBB0_13
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_RLC_CGTT_MGCG_OVERRIDE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movl	%eax, %esi
	orl	$3, %esi
	cmpl	%esi, %eax
	je	LBB0_16
## %bb.15:
	movl	(%rbx), %edi
	callq	_WREG32
LBB0_16:
	movq	_RLC_MEM_SLP_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_RLC_MEM_LS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_18
## %bb.17:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_WREG32
LBB0_18:
	movq	_CP_MEM_SLP_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CP_MEM_LS_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_20
## %bb.19:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_WREG32
LBB0_20:
	movq	_CGTS_SM_CTRL_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_RREG32
	movq	_CGTS_OVERRIDE@GOTPCREL(%rip), %rcx
	movq	_CGTS_LS_OVERRIDE@GOTPCREL(%rip), %rdx
	movl	(%rcx), %esi
	orl	%eax, %esi
	orl	(%rdx), %esi
	cmpl	%esi, %eax
	je	LBB0_22
## %bb.21:
	movl	(%rbx), %edi
	callq	_WREG32
LBB0_22:
	movq	%r15, %rdi
	callq	_cik_halt_rlc
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	callq	_cik_select_se_sh
	movq	_RLC_SERDES_WR_CU_MASTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_WREG32
	movq	_RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_WREG32
	movq	_BPM_ADDR_MASK@GOTPCREL(%rip), %rax
	movq	_MGCG_OVERRIDE_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_RLC_SERDES_WR_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_WREG32
	movq	%r15, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cik_update_rlc                 ## TAILCALL
LBB0_13:
	movl	(%r12), %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RADEON_CG_SUPPORT_GFX_MGCG,4,2 ## @RADEON_CG_SUPPORT_GFX_MGCG
	.comm	_RADEON_CG_SUPPORT_GFX_MGLS,4,2 ## @RADEON_CG_SUPPORT_GFX_MGLS
	.comm	_RADEON_CG_SUPPORT_GFX_CP_LS,4,2 ## @RADEON_CG_SUPPORT_GFX_CP_LS
	.comm	_CP_MEM_SLP_CNTL,4,2            ## @CP_MEM_SLP_CNTL
	.comm	_CP_MEM_LS_EN,4,2               ## @CP_MEM_LS_EN
	.comm	_RLC_CGTT_MGCG_OVERRIDE,4,2     ## @RLC_CGTT_MGCG_OVERRIDE
	.comm	_RLC_SERDES_WR_CU_MASTER_MASK,4,2 ## @RLC_SERDES_WR_CU_MASTER_MASK
	.comm	_RLC_SERDES_WR_NONCU_MASTER_MASK,4,2 ## @RLC_SERDES_WR_NONCU_MASTER_MASK
	.comm	_BPM_ADDR_MASK,4,2              ## @BPM_ADDR_MASK
	.comm	_MGCG_OVERRIDE_0,4,2            ## @MGCG_OVERRIDE_0
	.comm	_RLC_SERDES_WR_CTRL,4,2         ## @RLC_SERDES_WR_CTRL
	.comm	_RADEON_CG_SUPPORT_GFX_CGTS,4,2 ## @RADEON_CG_SUPPORT_GFX_CGTS
	.comm	_CGTS_SM_CTRL_REG,4,2           ## @CGTS_SM_CTRL_REG
	.comm	_SM_MODE_MASK,4,2               ## @SM_MODE_MASK
	.comm	_SM_MODE_ENABLE,4,2             ## @SM_MODE_ENABLE
	.comm	_CGTS_OVERRIDE,4,2              ## @CGTS_OVERRIDE
	.comm	_RADEON_CG_SUPPORT_GFX_CGTS_LS,4,2 ## @RADEON_CG_SUPPORT_GFX_CGTS_LS
	.comm	_CGTS_LS_OVERRIDE,4,2           ## @CGTS_LS_OVERRIDE
	.comm	_ON_MONITOR_ADD_MASK,4,2        ## @ON_MONITOR_ADD_MASK
	.comm	_ON_MONITOR_ADD_EN,4,2          ## @ON_MONITOR_ADD_EN
	.comm	_RLC_MEM_SLP_CNTL,4,2           ## @RLC_MEM_SLP_CNTL
	.comm	_RLC_MEM_LS_EN,4,2              ## @RLC_MEM_LS_EN
	.comm	_MGCG_OVERRIDE_1,4,2            ## @MGCG_OVERRIDE_1
	.no_dead_strip	_cik_enable_mgcg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cik_enable_mgcg
_cik_enable_mgcg:                       ; @cik_enable_mgcg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	cbz	w1, LBB0_14
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _RADEON_CG_SUPPORT_GFX_MGCG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADEON_CG_SUPPORT_GFX_MGCG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.2:
Lloh3:
	adrp	x21, _RADEON_CG_SUPPORT_GFX_MGLS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RADEON_CG_SUPPORT_GFX_MGLS@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
Lloh5:
	adrp	x9, _RADEON_CG_SUPPORT_GFX_CP_LS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RADEON_CG_SUPPORT_GFX_CP_LS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh8:
	adrp	x20, _CP_MEM_SLP_CNTL@GOTPAGE
Lloh9:
	ldr	x20, [x20, _CP_MEM_SLP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh10:
	adrp	x8, _CP_MEM_LS_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CP_MEM_LS_EN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	orr	w1, w8, w0
	cmp	w0, w1
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_WREG32
LBB0_6:
Lloh13:
	adrp	x20, _RLC_CGTT_MGCG_OVERRIDE@GOTPAGE
Lloh14:
	ldr	x20, [x20, _RLC_CGTT_MGCG_OVERRIDE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	and	w8, w0, #0xfffffffc
	orr	w1, w8, #0x1
	cmp	w0, w1
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x20]
	bl	_WREG32
LBB0_8:
	mov	x0, x19
	bl	_cik_halt_rlc
	mov	x20, x0
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #-1
	bl	_cik_select_se_sh
Lloh15:
	adrp	x8, _RLC_SERDES_WR_CU_MASTER_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RLC_SERDES_WR_CU_MASTER_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_WREG32
Lloh18:
	adrp	x8, _RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_WREG32
Lloh21:
	adrp	x8, _BPM_ADDR_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BPM_ADDR_MASK@GOTPAGEOFF]
Lloh23:
	adrp	x9, _MGCG_OVERRIDE_0@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MGCG_OVERRIDE_0@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh27:
	adrp	x8, _RLC_SERDES_WR_CTRL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RLC_SERDES_WR_CTRL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_WREG32
	mov	x0, x19
	mov	x1, x20
	bl	_cik_update_rlc
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _RADEON_CG_SUPPORT_GFX_CGTS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RADEON_CG_SUPPORT_GFX_CGTS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.9:
Lloh33:
	adrp	x22, _CGTS_SM_CTRL_REG@GOTPAGE
Lloh34:
	ldr	x22, [x22, _CGTS_SM_CTRL_REG@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_RREG32
	mov	x20, x0
Lloh35:
	adrp	x8, _SM_MODE_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SM_MODE_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	bic	w23, w0, w8
	mov	w0, #2
	bl	_SM_MODE
	orr	w8, w23, w0
Lloh38:
	adrp	x9, _SM_MODE_ENABLE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SM_MODE_ENABLE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _CGTS_OVERRIDE@GOTPAGE
Lloh42:
	ldr	x10, [x10, _CGTS_OVERRIDE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh43:
	ldr	w9, [x10]
	bic	w8, w8, w9
	ldr	w9, [x19]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.10:
Lloh44:
	adrp	x10, _RADEON_CG_SUPPORT_GFX_CGTS_LS@GOTPAGE
Lloh45:
	ldr	x10, [x10, _RADEON_CG_SUPPORT_GFX_CGTS_LS@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:
Lloh47:
	adrp	x9, _CGTS_LS_OVERRIDE@GOTPAGE
Lloh48:
	ldr	x9, [x9, _CGTS_LS_OVERRIDE@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_12:
Lloh50:
	adrp	x9, _ON_MONITOR_ADD_MASK@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ON_MONITOR_ADD_MASK@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh53:
	adrp	x9, _ON_MONITOR_ADD_EN@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ON_MONITOR_ADD_EN@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w19, w8, w9
	mov	w0, #150
	bl	_ON_MONITOR_ADD
	orr	w1, w19, w0
	cmp	w20, w1
	b.ne	LBB0_23
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh56:
	adrp	x20, _RLC_CGTT_MGCG_OVERRIDE@GOTPAGE
Lloh57:
	ldr	x20, [x20, _RLC_CGTT_MGCG_OVERRIDE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
	orr	w1, w0, #0x3
	cmp	w0, w1
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x20]
	bl	_WREG32
LBB0_16:
Lloh58:
	adrp	x20, _RLC_MEM_SLP_CNTL@GOTPAGE
Lloh59:
	ldr	x20, [x20, _RLC_MEM_SLP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh60:
	adrp	x8, _RLC_MEM_LS_EN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _RLC_MEM_LS_EN@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_18
; %bb.17:
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_WREG32
LBB0_18:
Lloh63:
	adrp	x20, _CP_MEM_SLP_CNTL@GOTPAGE
Lloh64:
	ldr	x20, [x20, _CP_MEM_SLP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh65:
	adrp	x8, _CP_MEM_LS_EN@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CP_MEM_LS_EN@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_20
; %bb.19:
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_WREG32
LBB0_20:
Lloh68:
	adrp	x20, _CGTS_SM_CTRL_REG@GOTPAGE
Lloh69:
	ldr	x20, [x20, _CGTS_SM_CTRL_REG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_RREG32
Lloh70:
	adrp	x8, _CGTS_OVERRIDE@GOTPAGE
Lloh71:
	ldr	x8, [x8, _CGTS_OVERRIDE@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
Lloh73:
	adrp	x9, _CGTS_LS_OVERRIDE@GOTPAGE
Lloh74:
	ldr	x9, [x9, _CGTS_LS_OVERRIDE@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w1, w8, w9
	cmp	w0, w1
	b.eq	LBB0_22
; %bb.21:
	ldr	w0, [x20]
	bl	_WREG32
LBB0_22:
	mov	x0, x19
	bl	_cik_halt_rlc
	mov	x20, x0
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #-1
	bl	_cik_select_se_sh
Lloh76:
	adrp	x8, _RLC_SERDES_WR_CU_MASTER_MASK@GOTPAGE
Lloh77:
	ldr	x8, [x8, _RLC_SERDES_WR_CU_MASTER_MASK@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_WREG32
Lloh79:
	adrp	x8, _RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPAGE
Lloh80:
	ldr	x8, [x8, _RLC_SERDES_WR_NONCU_MASTER_MASK@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_WREG32
Lloh82:
	adrp	x8, _BPM_ADDR_MASK@GOTPAGE
Lloh83:
	ldr	x8, [x8, _BPM_ADDR_MASK@GOTPAGEOFF]
Lloh84:
	adrp	x9, _MGCG_OVERRIDE_1@GOTPAGE
Lloh85:
	ldr	x9, [x9, _MGCG_OVERRIDE_1@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
Lloh87:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh88:
	adrp	x8, _RLC_SERDES_WR_CTRL@GOTPAGE
Lloh89:
	ldr	x8, [x8, _RLC_SERDES_WR_CTRL@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
	bl	_WREG32
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cik_update_rlc
LBB0_23:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh86
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_RADEON_CG_SUPPORT_GFX_MGCG,4,2 ; @RADEON_CG_SUPPORT_GFX_MGCG
	.comm	_RADEON_CG_SUPPORT_GFX_MGLS,4,2 ; @RADEON_CG_SUPPORT_GFX_MGLS
	.comm	_RADEON_CG_SUPPORT_GFX_CP_LS,4,2 ; @RADEON_CG_SUPPORT_GFX_CP_LS
	.comm	_CP_MEM_SLP_CNTL,4,2            ; @CP_MEM_SLP_CNTL
	.comm	_CP_MEM_LS_EN,4,2               ; @CP_MEM_LS_EN
	.comm	_RLC_CGTT_MGCG_OVERRIDE,4,2     ; @RLC_CGTT_MGCG_OVERRIDE
	.comm	_RLC_SERDES_WR_CU_MASTER_MASK,4,2 ; @RLC_SERDES_WR_CU_MASTER_MASK
	.comm	_RLC_SERDES_WR_NONCU_MASTER_MASK,4,2 ; @RLC_SERDES_WR_NONCU_MASTER_MASK
	.comm	_BPM_ADDR_MASK,4,2              ; @BPM_ADDR_MASK
	.comm	_MGCG_OVERRIDE_0,4,2            ; @MGCG_OVERRIDE_0
	.comm	_RLC_SERDES_WR_CTRL,4,2         ; @RLC_SERDES_WR_CTRL
	.comm	_RADEON_CG_SUPPORT_GFX_CGTS,4,2 ; @RADEON_CG_SUPPORT_GFX_CGTS
	.comm	_CGTS_SM_CTRL_REG,4,2           ; @CGTS_SM_CTRL_REG
	.comm	_SM_MODE_MASK,4,2               ; @SM_MODE_MASK
	.comm	_SM_MODE_ENABLE,4,2             ; @SM_MODE_ENABLE
	.comm	_CGTS_OVERRIDE,4,2              ; @CGTS_OVERRIDE
	.comm	_RADEON_CG_SUPPORT_GFX_CGTS_LS,4,2 ; @RADEON_CG_SUPPORT_GFX_CGTS_LS
	.comm	_CGTS_LS_OVERRIDE,4,2           ; @CGTS_LS_OVERRIDE
	.comm	_ON_MONITOR_ADD_MASK,4,2        ; @ON_MONITOR_ADD_MASK
	.comm	_ON_MONITOR_ADD_EN,4,2          ; @ON_MONITOR_ADD_EN
	.comm	_RLC_MEM_SLP_CNTL,4,2           ; @RLC_MEM_SLP_CNTL
	.comm	_RLC_MEM_LS_EN,4,2              ; @RLC_MEM_LS_EN
	.comm	_MGCG_OVERRIDE_1,4,2            ; @MGCG_OVERRIDE_1
	.no_dead_strip	_cik_enable_mgcg
.subsections_via_symbols
