	.file	"extr_rrunner.c_rr_raz_tx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rr_raz_tx, @function
rr_raz_tx:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR TX_RING_ENTRIES[rip]
	test	eax, eax
	jle	.L10
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rdi]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12, QWORD PTR [rax+rbx*8]
	test	r12, r12
	je	.L3
	mov	rbp, rbx
	mov	ecx, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	edx, DWORD PTR [r12]
	sal	rbp, 4
	add	rbp, QWORD PTR 16[r13]
	mov	edi, DWORD PTR 8[r13]
	mov	esi, DWORD PTR 0[rbp]
	call	pci_unmap_single@PLT
	mov	QWORD PTR 8[rbp], 0
	xor	esi, esi
	mov	rdi, rbp
	call	set_rraddr@PLT
	mov	rdi, r12
	call	dev_kfree_skb@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	QWORD PTR [rax+rbx*8], 0
.L3:
	add	rbx, 1
	cmp	DWORD PTR TX_RING_ENTRIES[rip], ebx
	jg	.L4
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	rr_raz_tx, .-rr_raz_tx
	.comm	TX_RING_ENTRIES,4,4
	.comm	PCI_DMA_TODEVICE,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_rrunner.c_rr_raz_tx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rr_raz_tx, %function
rr_raz_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, .L11
	ldr	r3, [r7]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, #0
	mov	r6, r0
	mov	r8, r4
	ldr	r3, [r0]
	ldr	r9, .L11+4
.L4:
	ldr	r5, [r3, r4, lsl #2]
	cmp	r5, #0
	beq	.L3
	ldr	r2, [r6, #8]
	ldr	r3, [r9]
	ldr	r1, [r2, r4, lsl #3]
	add	r10, r2, r4, lsl #3
	ldr	r0, [r6, #4]
	ldr	r2, [r5]
	bl	pci_unmap_single
	mov	r1, #0
	mov	r0, r10
	str	r8, [r10, #4]
	bl	set_rraddr
	mov	r0, r5
	bl	dev_kfree_skb
	ldr	r3, [r6]
	str	r8, [r3, r4, lsl #2]
.L3:
	ldr	r2, [r7]
	add	r4, r4, #1
	cmp	r2, r4
	bgt	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	TX_RING_ENTRIES
	.word	PCI_DMA_TODEVICE
	.size	rr_raz_tx, .-rr_raz_tx
	.comm	TX_RING_ENTRIES,4,4
	.comm	PCI_DMA_TODEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
