	.file	"extr_mm.c_xen_dma_sync_for_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xen_dma_sync_for_device
	.type	xen_dma_sync_for_device, @function
xen_dma_sync_for_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	edi, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	call	PFN_DOWN@PLT
	mov	edi, eax
	call	pfn_valid@PLT
	test	rax, rax
	jne	.L7
	cmp	DWORD PTR DMA_FROM_DEVICE[rip], r12d
	mov	edx, DWORD PTR GNTTAB_CACHE_INVAL[rip]
	je	.L5
	mov	edx, DWORD PTR GNTTAB_CACHE_CLEAN[rip]
.L5:
	mov	rsi, r15
	mov	edi, ebp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	dma_cache_maint@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	ecx, r12d
	mov	rdx, r15
	pop	r12
	.cfi_def_cfa_offset 32
	mov	esi, r14d
	mov	rdi, r13
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	arch_sync_dma_for_device@PLT
	.cfi_endproc
.LFE0:
	.size	xen_dma_sync_for_device, .-xen_dma_sync_for_device
	.comm	GNTTAB_CACHE_INVAL,4,4
	.comm	GNTTAB_CACHE_CLEAN,4,4
	.comm	DMA_FROM_DEVICE,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_mm.c_xen_dma_sync_for_device.c"
	.text
	.align	2
	.global	xen_dma_sync_for_device
	.syntax unified
	.arm
	.fpu softvfp
	.type	xen_dma_sync_for_device, %function
xen_dma_sync_for_device:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, r1
	mov	r4, r1
	mov	r7, r2
	mov	r5, r3
	ldr	r8, [sp, #24]
	bl	PFN_DOWN
	bl	pfn_valid
	cmp	r0, #0
	bne	.L7
	ldr	r3, .L8
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r3, r8
	ldreq	r3, .L8+4
	ldrne	r3, .L8+8
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r2, [r3]
	b	dma_cache_maint
.L7:
	mov	r3, r8
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	arch_sync_dma_for_device
.L9:
	.align	2
.L8:
	.word	DMA_FROM_DEVICE
	.word	GNTTAB_CACHE_INVAL
	.word	GNTTAB_CACHE_CLEAN
	.size	xen_dma_sync_for_device, .-xen_dma_sync_for_device
	.comm	GNTTAB_CACHE_INVAL,4,4
	.comm	GNTTAB_CACHE_CLEAN,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
