	.file	"extr_qcom_iommu.c_qcom_iommu_unmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qcom_iommu_unmap, @function
qcom_iommu_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	to_qcom_iommu_domain@PLT
	mov	r15, QWORD PTR 16[rax]
	test	r15, r15
	je	.L1
	mov	rbx, rax
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	pm_runtime_get_sync@PLT
	lea	r8, 8[rbx]
	xor	r9d, r9d
	mov	rsi, r9
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	call	spin_lock_irqsave@PLT
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r15
	call	[QWORD PTR [r15]]
	mov	r8, QWORD PTR 8[rsp]
	xor	r9d, r9d
	mov	rsi, r9
	mov	r12, rax
	mov	rdi, r8
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	pm_runtime_put_sync@PLT
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.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
	ret
	.cfi_endproc
.LFE0:
	.size	qcom_iommu_unmap, .-qcom_iommu_unmap
	.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_qcom_iommu.c_qcom_iommu_unmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qcom_iommu_unmap, %function
qcom_iommu_unmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r7, r2
	mov	r8, r3
	bl	to_qcom_iommu_domain
	ldr	r4, [r0, #8]
	cmp	r4, #0
	beq	.L1
	mov	r9, r0
	mov	r10, #0
	ldr	r3, [r9], #4
	mov	r5, r0
	ldr	r0, [r3]
	bl	pm_runtime_get_sync
	mov	r1, r10
	mov	r0, r9
	bl	spin_lock_irqsave
	mov	r3, r8
	mov	r1, r6
	mov	r2, r7
	mov	r0, r4
	ldr	r6, [r4]
	blx	r6
	mov	r1, r10
	mov	r4, r0
	mov	r0, r9
	bl	spin_unlock_irqrestore
	ldr	r3, [r5]
	ldr	r0, [r3]
	bl	pm_runtime_put_sync
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	qcom_iommu_unmap, .-qcom_iommu_unmap
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
