	.file	"extr_etnaviv_iommu.c_etnaviv_iommuv1_restore.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	etnaviv_iommuv1_restore, @function
etnaviv_iommuv1_restore:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	to_v1_context@PLT
	mov	esi, DWORD PTR VIVS_MC_MEMORY_BASE_ADDR_RA[rip]
	mov	rdi, rbp
	mov	r12, rax
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR [rax]
	call	gpu_write@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR VIVS_MC_MEMORY_BASE_ADDR_FE[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	call	gpu_write@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR VIVS_MC_MEMORY_BASE_ADDR_TX[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	call	gpu_write@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR VIVS_MC_MEMORY_BASE_ADDR_PEZ[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	call	gpu_write@PLT
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR VIVS_MC_MEMORY_BASE_ADDR_PE[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax]
	call	gpu_write@PLT
	mov	r12, QWORD PTR [r12]
	mov	esi, DWORD PTR VIVS_MC_MMU_FE_PAGE_TABLE[rip]
	mov	rdi, rbp
	mov	rdx, r12
	call	gpu_write@PLT
	mov	esi, DWORD PTR VIVS_MC_MMU_TX_PAGE_TABLE[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	gpu_write@PLT
	mov	esi, DWORD PTR VIVS_MC_MMU_PE_PAGE_TABLE[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	gpu_write@PLT
	mov	esi, DWORD PTR VIVS_MC_MMU_PEZ_PAGE_TABLE[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	gpu_write@PLT
	mov	esi, DWORD PTR VIVS_MC_MMU_RA_PAGE_TABLE[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	gpu_write@PLT
	.cfi_endproc
.LFE0:
	.size	etnaviv_iommuv1_restore, .-etnaviv_iommuv1_restore
	.comm	VIVS_MC_MMU_TX_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_RA_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_PE_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_PEZ_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_FE_PAGE_TABLE,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_TX,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_RA,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_PEZ,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_PE,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_FE,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_etnaviv_iommu.c_etnaviv_iommuv1_restore.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	etnaviv_iommuv1_restore, %function
etnaviv_iommuv1_restore:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	bl	to_v1_context
	mov	r6, r0
	ldr	r2, [r5]
	ldr	r3, .L4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	gpu_write
	ldr	r2, [r5]
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	gpu_write
	ldr	r2, [r5]
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	gpu_write
	ldr	r2, [r5]
	ldr	r3, .L4+12
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	gpu_write
	ldr	r2, [r5]
	ldr	r3, .L4+16
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	gpu_write
	ldr	r5, [r6]
	ldr	r3, .L4+20
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	gpu_write
	ldr	r3, .L4+24
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	gpu_write
	ldr	r3, .L4+28
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	gpu_write
	ldr	r3, .L4+32
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	gpu_write
	ldr	r3, .L4+36
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	gpu_write
.L5:
	.align	2
.L4:
	.word	VIVS_MC_MEMORY_BASE_ADDR_RA
	.word	VIVS_MC_MEMORY_BASE_ADDR_FE
	.word	VIVS_MC_MEMORY_BASE_ADDR_TX
	.word	VIVS_MC_MEMORY_BASE_ADDR_PEZ
	.word	VIVS_MC_MEMORY_BASE_ADDR_PE
	.word	VIVS_MC_MMU_FE_PAGE_TABLE
	.word	VIVS_MC_MMU_TX_PAGE_TABLE
	.word	VIVS_MC_MMU_PE_PAGE_TABLE
	.word	VIVS_MC_MMU_PEZ_PAGE_TABLE
	.word	VIVS_MC_MMU_RA_PAGE_TABLE
	.size	etnaviv_iommuv1_restore, .-etnaviv_iommuv1_restore
	.comm	VIVS_MC_MMU_TX_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_RA_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_PE_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_PEZ_PAGE_TABLE,4,4
	.comm	VIVS_MC_MMU_FE_PAGE_TABLE,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_TX,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_RA,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_PEZ,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_PE,4,4
	.comm	VIVS_MC_MEMORY_BASE_ADDR_FE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
