	.file	"extr_pci_iommu.c_iommu_unbind.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iommu_unbind
	.type	iommu_unbind, @function
iommu_unbind:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L8
	mov	rcx, QWORD PTR [rdi]
	test	rdx, rdx
	jle	.L4
	add	rdx, rsi
	lea	rax, [rcx+rsi*8]
	lea	rcx, [rcx+rdx*8]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR IOMMU_RESERVED_PTE[rip]
	add	rax, 8
	mov	QWORD PTR -8[rax], rdx
	cmp	rax, rcx
	jne	.L5
.L4:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	iommu_unbind, .-iommu_unbind
	.comm	IOMMU_RESERVED_PTE,8,8
	.comm	EINVAL,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_pci_iommu.c_iommu_unbind.c"
	.text
	.align	2
	.global	iommu_unbind
	.syntax unified
	.arm
	.fpu softvfp
	.type	iommu_unbind, %function
iommu_unbind:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #0
	beq	.L8
	cmp	r2, #0
	ldr	r3, [r0]
	ble	.L4
	add	r2, r2, r1
	ldr	r0, .L9
	add	r2, r3, r2, lsl #2
	add	r1, r3, r1, lsl #2
.L5:
	ldr	r3, [r0]
	str	r3, [r1], #4
	cmp	r1, r2
	bne	.L5
.L4:
	mov	r0, #0
	bx	lr
.L8:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L10:
	.align	2
.L9:
	.word	IOMMU_RESERVED_PTE
	.word	EINVAL
	.size	iommu_unbind, .-iommu_unbind
	.comm	IOMMU_RESERVED_PTE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
