	.file	"extr_r300.c_rv370_pcie_gart_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rv370_pcie_gart_disable
	.type	rv370_pcie_gart_disable, @function
rv370_pcie_gart_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_START_LO[rip]
	xor	esi, esi
	call	WREG32_PCIE@PLT
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_END_LO[rip]
	xor	esi, esi
	call	WREG32_PCIE@PLT
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_START_HI[rip]
	xor	esi, esi
	call	WREG32_PCIE@PLT
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_END_HI[rip]
	xor	esi, esi
	call	WREG32_PCIE@PLT
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_CNTL[rip]
	call	RREG32_PCIE@PLT
	mov	esi, DWORD PTR RADEON_PCIE_TX_GART_EN[rip]
	mov	edi, DWORD PTR RADEON_PCIE_TX_GART_CNTL[rip]
	or	eax, DWORD PTR RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD[rip]
	not	esi
	and	esi, eax
	call	WREG32_PCIE@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	radeon_gart_table_vram_unpin@PLT
	.cfi_endproc
.LFE0:
	.size	rv370_pcie_gart_disable, .-rv370_pcie_gart_disable
	.comm	RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD,4,4
	.comm	RADEON_PCIE_TX_GART_START_LO,4,4
	.comm	RADEON_PCIE_TX_GART_START_HI,4,4
	.comm	RADEON_PCIE_TX_GART_END_LO,4,4
	.comm	RADEON_PCIE_TX_GART_END_HI,4,4
	.comm	RADEON_PCIE_TX_GART_EN,4,4
	.comm	RADEON_PCIE_TX_GART_CNTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_r300.c_rv370_pcie_gart_disable.c"
	.text
	.align	2
	.global	rv370_pcie_gart_disable
	.syntax unified
	.arm
	.fpu softvfp
	.type	rv370_pcie_gart_disable, %function
rv370_pcie_gart_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	mov	r1, #0
	mov	r4, r0
	ldr	r0, [r3]
	bl	WREG32_PCIE
	ldr	r3, .L4+4
	mov	r1, #0
	ldr	r0, [r3]
	bl	WREG32_PCIE
	ldr	r3, .L4+8
	mov	r1, #0
	ldr	r0, [r3]
	bl	WREG32_PCIE
	ldr	r3, .L4+12
	ldr	r5, .L4+16
	mov	r1, #0
	ldr	r0, [r3]
	bl	WREG32_PCIE
	ldr	r0, [r5]
	bl	RREG32_PCIE
	ldr	r3, .L4+20
	ldr	r2, .L4+24
	ldr	r3, [r3]
	ldr	r1, [r2]
	orr	r3, r0, r3
	bic	r1, r3, r1
	ldr	r0, [r5]
	bl	WREG32_PCIE
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	radeon_gart_table_vram_unpin
.L5:
	.align	2
.L4:
	.word	RADEON_PCIE_TX_GART_START_LO
	.word	RADEON_PCIE_TX_GART_END_LO
	.word	RADEON_PCIE_TX_GART_START_HI
	.word	RADEON_PCIE_TX_GART_END_HI
	.word	RADEON_PCIE_TX_GART_CNTL
	.word	RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD
	.word	RADEON_PCIE_TX_GART_EN
	.size	rv370_pcie_gart_disable, .-rv370_pcie_gart_disable
	.comm	RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD,4,4
	.comm	RADEON_PCIE_TX_GART_START_LO,4,4
	.comm	RADEON_PCIE_TX_GART_START_HI,4,4
	.comm	RADEON_PCIE_TX_GART_END_LO,4,4
	.comm	RADEON_PCIE_TX_GART_END_HI,4,4
	.comm	RADEON_PCIE_TX_GART_EN,4,4
	.comm	RADEON_PCIE_TX_GART_CNTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
