	.file	"extr_pci_dma.c_dma_free_seg_table.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dma_free_seg_table
	.type	dma_free_seg_table, @function
dma_free_seg_table:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	get_rt_sto@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR ZPCI_TABLE_ENTRIES[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	DWORD PTR ZPCI_TABLE_ENTRIES[rip], ebx
	jle	.L2
.L4:
	mov	rdi, QWORD PTR 0[rbp+rbx*8]
	call	reg_entry_isvalid@PLT
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR 0[rbp+rbx*8]
	add	rbx, 1
	call	get_st_pto@PLT
	mov	edi, eax
	call	dma_free_page_table@PLT
	cmp	DWORD PTR ZPCI_TABLE_ENTRIES[rip], ebx
	jg	.L4
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dma_free_cpu_table@PLT
	.cfi_endproc
.LFE0:
	.size	dma_free_seg_table, .-dma_free_seg_table
	.comm	ZPCI_TABLE_ENTRIES,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_dma.c_dma_free_seg_table.c"
	.text
	.align	2
	.global	dma_free_seg_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	dma_free_seg_table, %function
dma_free_seg_table:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	get_rt_sto
	ldr	r6, .L11
	mov	r7, r0
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	sub	r5, r0, #4
	b	.L4
.L3:
	ldr	r3, [r6]
	cmp	r3, r4
	ble	.L2
.L4:
	ldr	r0, [r5, #4]!
	bl	reg_entry_isvalid
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L3
	ldr	r0, [r5]
	bl	get_st_pto
	bl	dma_free_page_table
	ldr	r3, [r6]
	cmp	r3, r4
	bgt	.L4
.L2:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	dma_free_cpu_table
.L12:
	.align	2
.L11:
	.word	ZPCI_TABLE_ENTRIES
	.size	dma_free_seg_table, .-dma_free_seg_table
	.comm	ZPCI_TABLE_ENTRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
