	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv770_enable_l1
_rv770_enable_l1:                       ## @rv770_enable_l1
	.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	_PCIE_LC_CNTL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_RREG32_PCIE_PORT
	movq	_LC_L1_INACTIVITY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$4, %edi
	callq	_LC_L1_INACTIVITY
	movq	_LC_PMI_TO_L1_DIS@GOTPCREL(%rip), %rcx
	movq	_LC_ASPM_TO_L1_DIS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	orl	%eax, %ebx
	notl	%esi
	andl	%ebx, %esi
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WREG32_PCIE_PORT               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIE_LC_CNTL,4,2               ## @PCIE_LC_CNTL
	.comm	_LC_L1_INACTIVITY_MASK,4,2      ## @LC_L1_INACTIVITY_MASK
	.comm	_LC_PMI_TO_L1_DIS,4,2           ## @LC_PMI_TO_L1_DIS
	.comm	_LC_ASPM_TO_L1_DIS,4,2          ## @LC_ASPM_TO_L1_DIS
	.no_dead_strip	_rv770_enable_l1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv770_enable_l1
_rv770_enable_l1:                       ; @rv770_enable_l1
	.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
Lloh0:
	adrp	x19, _PCIE_LC_CNTL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PCIE_LC_CNTL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_RREG32_PCIE_PORT
Lloh2:
	adrp	x8, _LC_L1_INACTIVITY_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LC_L1_INACTIVITY_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w20, w0, w8
	mov	w0, #4
	bl	_LC_L1_INACTIVITY
	orr	w8, w20, w0
Lloh5:
	adrp	x9, _LC_PMI_TO_L1_DIS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LC_PMI_TO_L1_DIS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _LC_ASPM_TO_L1_DIS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LC_ASPM_TO_L1_DIS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w1, w8, w9
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WREG32_PCIE_PORT
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIE_LC_CNTL,4,2               ; @PCIE_LC_CNTL
	.comm	_LC_L1_INACTIVITY_MASK,4,2      ; @LC_L1_INACTIVITY_MASK
	.comm	_LC_PMI_TO_L1_DIS,4,2           ; @LC_PMI_TO_L1_DIS
	.comm	_LC_ASPM_TO_L1_DIS,4,2          ; @LC_ASPM_TO_L1_DIS
	.no_dead_strip	_rv770_enable_l1
.subsections_via_symbols
