	.file	"extr_pci-epf-core.c_pci_epf_free_space.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pci_epf_free_space
	.type	pci_epf_free_space, @function
pci_epf_free_space:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L7
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, edx
	mov	r8, rsi
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	rax, [rdx+rdx*2]
	mov	rdx, r8
	lea	rbx, 0[0+rax*8]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	add	rax, rbx
	mov	ecx, DWORD PTR 20[rax]
	mov	esi, DWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR [rax]
	call	dma_free_coherent@PLT
	mov	rax, QWORD PTR 0[rbp]
	add	rax, rbx
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR 16[rax], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE0:
	.size	pci_epf_free_space, .-pci_epf_free_space
	.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-epf-core.c_pci_epf_free_space.c"
	.text
	.align	2
	.global	pci_epf_free_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	pci_epf_free_space, %function
pci_epf_free_space:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	bxeq	lr
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldm	r0, {r0, ip}
	mov	r4, r2
	add	r0, r0, r2, lsl #4
	ldr	r3, [r0, #12]
	mov	r2, r1
	ldr	r1, [r0, #8]
	ldr	r0, [ip]
	bl	dma_free_coherent
	mov	r2, #0
	ldr	r1, [r5]
	lsl	r3, r4, #4
	add	r3, r1, r3
	str	r2, [r3, #12]
	str	r2, [r3, #8]
	str	r2, [r3, #4]
	str	r2, [r1, r4, lsl #4]
	pop	{r4, r5, r6, pc}
	.size	pci_epf_free_space, .-pci_epf_free_space
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
