	.file	"extr_if_xl.c_xl_txeof_90xB.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xl_txeof_90xB, @function
xl_txeof_90xB:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	r14, QWORD PTR 48[rdi]
	call	XL_LOCK_ASSERT@PLT
	mov	esi, DWORD PTR 36[rbx]
	mov	edi, DWORD PTR 40[rbx]
	mov	edx, DWORD PTR BUS_DMASYNC_POSTREAD[rip]
	call	bus_dmamap_sync@PLT
	mov	r12d, DWORD PTR [rbx]
	cmp	DWORD PTR 4[rbx], r12d
	je	.L2
	movsx	rax, r12d
	lea	r13, [rax+rax*2]
	sal	r13, 3
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	cmp	QWORD PTR 0[rbp], 0
	je	.L4
	mov	edx, DWORD PTR BUS_DMASYNC_POSTWRITE[rip]
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR 32[rbx]
	call	bus_dmamap_sync@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR 32[rbx]
	call	bus_dmamap_unload@PLT
	mov	rdi, QWORD PTR 0[rbp]
	call	m_freem@PLT
	mov	QWORD PTR 0[rbp], 0
.L4:
	mov	esi, DWORD PTR IFCOUNTER_OPACKETS[rip]
	mov	rdi, r14
	mov	edx, 1
	call	if_inc_counter@PLT
	sub	QWORD PTR 8[rbx], 1
	mov	esi, DWORD PTR XL_TX_LIST_CNT[rip]
	mov	edi, r12d
	call	XL_INC@PLT
	cmp	DWORD PTR 4[rbx], r12d
	je	.L14
.L5:
	mov	rbp, QWORD PTR 16[rbx]
	add	rbp, r13
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR [rax]
	call	le32toh@PLT
	test	DWORD PTR XL_TXSTAT_DL_COMPLETE[rip], eax
	jne	.L19
.L14:
	cmp	QWORD PTR 8[rbx], 0
	je	.L20
.L17:
	mov	eax, DWORD PTR IFF_DRV_OACTIVE[rip]
	mov	DWORD PTR [rbx], r12d
	not	eax
	and	DWORD PTR [r14], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	QWORD PTR 24[rbx], 0
	jmp	.L17
.L2:
	cmp	QWORD PTR 8[rbx], 0
	jne	.L1
	mov	QWORD PTR 24[rbx], 0
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	xl_txeof_90xB, .-xl_txeof_90xB
	.comm	XL_TX_LIST_CNT,4,4
	.comm	XL_TXSTAT_DL_COMPLETE,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCOUNTER_OPACKETS,4,4
	.comm	BUS_DMASYNC_POSTWRITE,4,4
	.comm	BUS_DMASYNC_POSTREAD,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_if_xl.c_xl_txeof_90xB.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xl_txeof_90xB, %function
xl_txeof_90xB:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r8, [r0, #32]
	bl	XL_LOCK_ASSERT
	ldr	r3, .L26
	ldr	r1, [r4, #24]
	ldr	r2, [r3]
	ldr	r0, [r4, #28]
	bl	bus_dmamap_sync
	ldr	r7, [r4]
	ldr	r3, [r4, #4]
	cmp	r3, r7
	beq	.L2
	add	r6, r7, r7, lsl #1
	ldr	r9, .L26+4
	ldr	fp, .L26+8
	lsl	r6, r6, #2
	b	.L5
.L24:
	ldr	r3, [r5, r6]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L26+12
	ldr	r1, [r10, #4]
	ldr	r2, [r3]
	ldr	r0, [r4, #20]
	bl	bus_dmamap_sync
	ldr	r1, [r10, #4]
	ldr	r0, [r4, #20]
	bl	bus_dmamap_unload
	ldr	r0, [r5, r6]
	bl	m_freem
	mov	r3, #0
	str	r3, [r5, r6]
.L4:
	mov	r2, #1
	ldr	r1, [fp]
	mov	r0, r8
	bl	if_inc_counter
	ldr	r3, [r4, #8]
	ldr	r2, .L26+16
	sub	r3, r3, #1
	str	r3, [r4, #8]
	mov	r0, r7
	ldr	r1, [r2]
	bl	XL_INC
	ldr	r3, [r4, #4]
	cmp	r3, r7
	beq	.L3
.L5:
	ldr	r5, [r4, #12]
	add	r10, r5, r6
	ldr	r3, [r10, #8]
	ldr	r0, [r3]
	bl	le32toh
	ldr	r3, [r9]
	tst	r0, r3
	bne	.L24
.L3:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	strne	r7, [r4]
	beq	.L25
.L10:
	ldr	r2, .L26+20
	ldr	r3, [r8]
	ldr	r2, [r2]
	bic	r3, r3, r2
	str	r3, [r8]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	mov	r3, #0
	str	r7, [r4]
	str	r3, [r4, #16]
	b	.L10
.L2:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	streq	r3, [r4, #16]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L27:
	.align	2
.L26:
	.word	BUS_DMASYNC_POSTREAD
	.word	XL_TXSTAT_DL_COMPLETE
	.word	IFCOUNTER_OPACKETS
	.word	BUS_DMASYNC_POSTWRITE
	.word	XL_TX_LIST_CNT
	.word	IFF_DRV_OACTIVE
	.size	xl_txeof_90xB, .-xl_txeof_90xB
	.comm	XL_TX_LIST_CNT,4,4
	.comm	XL_TXSTAT_DL_COMPLETE,4,4
	.comm	IFF_DRV_OACTIVE,4,4
	.comm	IFCOUNTER_OPACKETS,4,4
	.comm	BUS_DMASYNC_POSTWRITE,4,4
	.comm	BUS_DMASYNC_POSTREAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
