	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evergreen_rlc_start
_evergreen_rlc_start:                   ## @evergreen_rlc_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RADEON_IS_IGP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movq	_GFX_POWER_GATING_ENABLE@GOTPCREL(%rip), %rcx
	movq	_GFX_POWER_GATING_SRC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_RLC_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	cmovel	%eax, %esi
	orl	(%rcx), %esi
	movq	_RLC_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RLC_ENABLE,4,2                 ## @RLC_ENABLE
	.comm	_RADEON_IS_IGP,4,2              ## @RADEON_IS_IGP
	.comm	_GFX_POWER_GATING_ENABLE,4,2    ## @GFX_POWER_GATING_ENABLE
	.comm	_GFX_POWER_GATING_SRC,4,2       ## @GFX_POWER_GATING_SRC
	.comm	_RLC_CNTL,4,2                   ## @RLC_CNTL
	.no_dead_strip	_evergreen_rlc_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evergreen_rlc_start
_evergreen_rlc_start:                   ; @evergreen_rlc_start
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RLC_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLC_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _RADEON_IS_IGP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RADEON_IS_IGP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _GFX_POWER_GATING_ENABLE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _GFX_POWER_GATING_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _GFX_POWER_GATING_SRC@GOTPAGE
Lloh10:
	ldr	x12, [x12, _GFX_POWER_GATING_SRC@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w1, w9, w8
Lloh12:
	adrp	x8, _RLC_CNTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RLC_CNTL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RLC_ENABLE,4,2                 ; @RLC_ENABLE
	.comm	_RADEON_IS_IGP,4,2              ; @RADEON_IS_IGP
	.comm	_GFX_POWER_GATING_ENABLE,4,2    ; @GFX_POWER_GATING_ENABLE
	.comm	_GFX_POWER_GATING_SRC,4,2       ; @GFX_POWER_GATING_SRC
	.comm	_RLC_CNTL,4,2                   ; @RLC_CNTL
	.no_dead_strip	_evergreen_rlc_start
.subsections_via_symbols
