	.file	"extr_pci_dma.c_dma_free_address.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dma_free_address, @function
dma_free_address:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	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, 8
	.cfi_def_cfa_offset 64
	call	to_pci_dev@PLT
	mov	edi, eax
	call	to_zpci@PLT
	xor	esi, esi
	mov	r13, QWORD PTR PAGE_SHIFT[rip]
	lea	r15, 8[rax]
	mov	rbx, rax
	mov	r14, QWORD PTR [rax]
	mov	rdi, r15
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR 16[rbx]
	test	edi, edi
	je	.L2
	mov	rsi, rbp
	mov	ecx, r13d
	sub	rsi, r14
	shr	rsi, cl
	cmp	QWORD PTR s390_iommu_strict[rip], 0
	je	.L3
	mov	edx, r12d
	call	bitmap_clear@PLT
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	xor	esi, esi
	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
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbx]
	mov	edx, r12d
	call	bitmap_set@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	dma_free_address, .-dma_free_address
	.comm	s390_iommu_strict,8,8
	.comm	PAGE_SHIFT,8,8
	.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_dma.c_dma_free_address.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dma_free_address, %function
dma_free_address:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	mov	r6, r2
	bl	to_pci_dev
	bl	to_zpci
	mov	r5, r0
	mov	r4, r0
	ldr	r9, [r5], #4
	ldr	r3, .L9
	mov	r0, r5
	mov	r1, #0
	ldr	r8, [r3]
	bl	spin_lock_irqsave
	ldr	r0, [r4, #12]
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L9+4
	sub	r1, r7, r9
	ldr	r3, [r3]
	mov	r2, r6
	cmp	r3, #0
	lsr	r1, r1, r8
	beq	.L3
	bl	bitmap_clear
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L3:
	ldr	r0, [r4, #8]
	bl	bitmap_set
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L10:
	.align	2
.L9:
	.word	PAGE_SHIFT
	.word	s390_iommu_strict
	.size	dma_free_address, .-dma_free_address
	.comm	s390_iommu_strict,4,4
	.comm	PAGE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
