	.file	"extr_si_dma.c_si_dma_ring_emit_vm_flush.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	si_dma_ring_emit_vm_flush, @function
si_dma_ring_emit_vm_flush:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	amdgpu_gmc_emit_flush_gpu_tlb@PLT
	mov	edi, DWORD PTR DMA_PACKET_POLL_REG_MEM[rip]
	xor	r8d, r8d
	xor	edx, edx
	xor	ecx, ecx
	xor	esi, esi
	call	DMA_PACKET@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	amdgpu_ring_write@PLT
	mov	esi, DWORD PTR VM_INVALIDATE_REQUEST[rip]
	mov	rdi, rbp
	call	amdgpu_ring_write@PLT
	mov	rdi, rbp
	mov	esi, 16711680
	call	amdgpu_ring_write@PLT
	mov	ecx, r12d
	mov	esi, 1
	mov	rdi, rbp
	sal	esi, cl
	call	amdgpu_ring_write@PLT
	mov	rdi, rbp
	xor	esi, esi
	call	amdgpu_ring_write@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	esi, 32
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	amdgpu_ring_write@PLT
	.cfi_endproc
.LFE0:
	.size	si_dma_ring_emit_vm_flush, .-si_dma_ring_emit_vm_flush
	.comm	VM_INVALIDATE_REQUEST,4,4
	.comm	DMA_PACKET_POLL_REG_MEM,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_si_dma.c_si_dma_ring_emit_vm_flush.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	si_dma_ring_emit_vm_flush, %function
si_dma_ring_emit_vm_flush:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, #0
	sub	sp, sp, #8
	mov	r4, r0
	mov	r6, r1
	bl	amdgpu_gmc_emit_flush_gpu_tlb
	ldr	r0, .L4
	str	r5, [sp]
	mov	r2, r5
	mov	r3, r5
	mov	r1, r5
	ldr	r0, [r0]
	bl	DMA_PACKET
	mov	r1, r0
	mov	r0, r4
	bl	amdgpu_ring_write
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	amdgpu_ring_write
	mov	r0, r4
	mov	r1, #16711680
	bl	amdgpu_ring_write
	mov	r1, #1
	mov	r0, r4
	lsl	r1, r1, r6
	bl	amdgpu_ring_write
	mov	r1, r5
	mov	r0, r4
	bl	amdgpu_ring_write
	mov	r0, r4
	mov	r1, #32
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	amdgpu_ring_write
.L5:
	.align	2
.L4:
	.word	DMA_PACKET_POLL_REG_MEM
	.word	VM_INVALIDATE_REQUEST
	.size	si_dma_ring_emit_vm_flush, .-si_dma_ring_emit_vm_flush
	.comm	VM_INVALIDATE_REQUEST,4,4
	.comm	DMA_PACKET_POLL_REG_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
