	.file	"extr_lio_rxtx.c_lio_xmit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Transmit failed link_status : %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Transmit failed iq:%d full\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"bus_dmamap_load_mbuf_sg failed with error %d. iq:%d"
	.align 8
.LC3:
	.string	"Transmit scatter gather: glist null!\n"
	.section	.rodata.str1.1
.LC4:
	.string	"IQ%d Transmit dropped: %llu\n"
	.text
	.p2align 4
	.globl	lio_xmit
	.type	lio_xmit, @function
lio_xmit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r10, rsi
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rdx
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 200
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -184[rbp], rdi
	mov	r12, QWORD PTR 24[rsi]
	mov	rcx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR LIO_MAX_SG[rip]
	sal	rax, 4
	mov	rdx, rax
	and	rdx, -4096
	sub	rcx, rdx
	mov	rdx, rcx
	cmp	rsp, rdx
	je	.L3
.L49:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L49
.L3:
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L50
.L4:
	lea	rax, 7[rsp]
	mov	QWORD PTR -192[rbp], r10
	mov	r14, QWORD PTR 8[r10]
	mov	rbx, rax
	and	rax, -8
	mov	QWORD PTR -200[rbp], rax
	movsx	rax, DWORD PTR 16[r10]
	shr	rbx, 3
	mov	QWORD PTR -240[rbp], rbx
	mov	QWORD PTR -232[rbp], rax
	mov	r13, rax
	mov	rax, QWORD PTR [r12]
	mov	rbx, QWORD PTR [rax+r13*8]
	mov	eax, DWORD PTR [r10]
	mov	DWORD PTR -208[rbp], eax
	mov	rax, QWORD PTR -184[rbp]
	lea	rdi, 20[rax]
	call	atomic_load_acq_int@PLT
	test	DWORD PTR LIO_IFSTATE_RUNNING[rip], eax
	mov	rax, QWORD PTR -184[rbp]
	mov	r10, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR 16[rax]
	je	.L6
	test	edx, edx
	je	.L6
	mov	esi, r13d
	mov	rdi, r12
	mov	QWORD PTR -192[rbp], r10
	call	lio_iq_is_full@PLT
	mov	r10, QWORD PTR -192[rbp]
	test	rax, rax
	jne	.L51
	mov	edi, DWORD PTR 4[r10]
	movsx	rax, DWORD PTR -208[rbp]
	lea	r8, -164[rbp]
	mov	QWORD PTR -224[rbp], r10
	mov	r9d, DWORD PTR BUS_DMA_NOWAIT[rip]
	mov	rcx, QWORD PTR -200[rbp]
	mov	QWORD PTR -216[rbp], r8
	sal	rax, 5
	mov	rdx, QWORD PTR [r15]
	add	rax, r14
	mov	r11d, DWORD PTR 24[rax]
	mov	QWORD PTR -192[rbp], rax
	mov	esi, r11d
	mov	DWORD PTR -208[rbp], r11d
	call	bus_dmamap_load_mbuf_sg@PLT
	cmp	DWORD PTR EFBIG[rip], eax
	mov	r11d, DWORD PTR -208[rbp]
	mov	r8, QWORD PTR -216[rbp]
	mov	r10, QWORD PTR -224[rbp]
	mov	r14d, eax
	je	.L52
.L11:
	cmp	r14d, DWORD PTR ENOMEM[rip]
	je	.L20
	test	r14d, r14d
	jne	.L53
	mov	r15, QWORD PTR [r15]
	mov	rax, QWORD PTR -192[rbp]
	lea	rcx, -128[rbp]
	mov	esi, 64
	mov	rdi, rcx
	mov	QWORD PTR -216[rbp], rcx
	mov	DWORD PTR 16[rax], r11d
	mov	QWORD PTR 8[rax], r15
	mov	QWORD PTR -208[rbp], r15
	call	bzero@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	DWORD PTR -128[rbp], r13d
	mov	QWORD PTR -160[rbp], 0
	mov	edx, DWORD PTR 8[r15]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR 24[r15]
	mov	DWORD PTR -160[rbp], r13d
	mov	QWORD PTR -120[rbp], rax
	test	DWORD PTR CSUM_IP[rip], edx
	je	.L15
	mov	DWORD PTR -156[rbp], 1
.L15:
	mov	eax, DWORD PTR CSUM_IP_TCP[rip]
	or	eax, DWORD PTR CSUM_IP6_TCP[rip]
	or	eax, DWORD PTR CSUM_IP_UDP[rip]
	or	eax, DWORD PTR CSUM_IP6_UDP[rip]
	test	eax, edx
	je	.L16
	mov	DWORD PTR -152[rbp], 1
.L16:
	cmp	DWORD PTR -164[rbp], 1
	je	.L54
	mov	rax, QWORD PTR -184[rbp]
	mov	r15, QWORD PTR -232[rbp]
	mov	rdi, QWORD PTR [rax]
	sal	r15, 2
	add	rdi, r15
	call	mtx_lock@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -224[rbp], r15
	mov	rdi, QWORD PTR 8[rax]
	add	rdi, r15
	call	lio_delete_first_node@PLT
	mov	rdi, QWORD PTR -224[rbp]
	mov	r15, rax
	mov	rax, QWORD PTR -184[rbp]
	add	rdi, QWORD PTR [rax]
	call	mtx_unlock@PLT
	test	r15, r15
	je	.L55
	mov	eax, DWORD PTR -164[rbp]
	mov	ecx, r13d
	lea	rsi, -112[rbp]
	mov	rdi, r12
	lea	rdx, -160[rbp]
	xor	r13d, r13d
	mov	DWORD PTR -148[rbp], 1
	mov	DWORD PTR -144[rbp], eax
	call	lio_prepare_pci_cmd@PLT
	mov	rdi, QWORD PTR 16[r15]
	mov	esi, DWORD PTR [r15]
	call	bzero@PLT
	mov	eax, DWORD PTR -164[rbp]
	mov	rcx, QWORD PTR -200[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -164[rbp], edx
	test	eax, eax
	je	.L23
	mov	QWORD PTR -184[rbp], rbx
	mov	rbx, r15
	mov	r15, rcx
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, r13d
	mov	rax, QWORD PTR 16[rbx]
	mov	r8, QWORD PTR 8[r15]
	mov	esi, r13d
	sar	edi, 2
	and	esi, 3
	mov	edx, r13d
	add	r15, 16
	movsx	rdi, edi
	and	edx, 3
	add	r13d, 1
	sal	rdi, 6
	mov	rax, QWORD PTR 48[rax+rdi]
	mov	QWORD PTR [rax+rsi*8], r8
	mov	esi, DWORD PTR -16[r15]
	add	rdi, QWORD PTR 16[rbx]
	call	lio_add_sg_size@PLT
	mov	eax, DWORD PTR -164[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -164[rbp], edx
	test	eax, eax
	jne	.L22
	mov	r15, rbx
	mov	rbx, QWORD PTR -184[rbp]
.L23:
	mov	rax, QWORD PTR 8[r15]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	QWORD PTR [rax], r15
	mov	eax, DWORD PTR LIO_REQTYPE_NORESP_NET_SG[rip]
	mov	DWORD PTR -88[rbp], eax
.L18:
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR CSUM_IP_TSO[rip]
	mov	r13, QWORD PTR -112[rbp]
	or	eax, DWORD PTR CSUM_IP6_TSO[rip]
	test	DWORD PTR 8[rcx], eax
	jne	.L56
.L24:
	mov	rcx, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR [rcx]
	test	DWORD PTR M_VLANTAG[rip], eax
	jne	.L57
.L25:
	mov	rsi, QWORD PTR -216[rbp]
	mov	rdi, r12
	call	lio_send_data_pkt@PLT
	cmp	DWORD PTR LIO_IQ_SEND_FAILED[rip], eax
	je	.L20
	mov	rdx, QWORD PTR 0[r13]
	mov	rax, QWORD PTR 8[rbx]
	lea	rcx, [rdx+rax]
	add	rax, 1
	test	rdx, rdx
	cmovne	rax, rcx
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR -120[rbp]
	add	DWORD PTR 4[rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	lio_dev_info@PLT
	mov	r14d, DWORD PTR ENETDOWN[rip]
.L8:
	mov	eax, DWORD PTR [rbx]
	lea	edi, 1[rax]
	mov	DWORD PTR [rbx], edi
	call	LIO_CAST64@PLT
	mov	edx, r13d
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	mov	ecx, eax
	xor	eax, eax
	call	lio_dev_err@PLT
	mov	rdi, QWORD PTR [r15]
	call	m_freem@PLT
	mov	QWORD PTR [r15], 0
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L58
	lea	rsp, -40[rbp]
	mov	eax, r14d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L50:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L55:
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	xor	eax, eax
	call	lio_dev_err@PLT
.L20:
	mov	r14d, DWORD PTR ENOBUFS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L51:
	mov	edx, r13d
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	lio_dev_dbg@PLT
	add	DWORD PTR 28[rbx], 1
	mov	r14d, DWORD PTR ENOBUFS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	add	DWORD PTR 20[rbx], 1
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	lio_dev_dbg@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L52:
	mov	esi, DWORD PTR M_NOWAIT[rip]
	mov	rdi, QWORD PTR [r15]
	mov	QWORD PTR -224[rbp], r8
	mov	QWORD PTR -216[rbp], r10
	call	m_defrag@PLT
	mov	r11d, DWORD PTR -208[rbp]
	mov	r10, QWORD PTR -216[rbp]
	test	rax, rax
	mov	r8, QWORD PTR -224[rbp]
	mov	rdx, rax
	je	.L59
	mov	QWORD PTR [r15], rax
	mov	edi, DWORD PTR 4[r10]
	mov	esi, r11d
	mov	r9d, DWORD PTR BUS_DMA_NOWAIT[rip]
	mov	rcx, QWORD PTR -200[rbp]
	mov	DWORD PTR -208[rbp], r11d
	call	bus_dmamap_load_mbuf_sg@PLT
	mov	r11d, DWORD PTR -208[rbp]
	mov	r14d, eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L57:
	mov	eax, DWORD PTR 12[rcx]
	mov	edx, eax
	and	eax, 4095
	sar	edx, 13
	mov	DWORD PTR -100[rbp], eax
	mov	DWORD PTR -104[rbp], edx
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L59:
	add	DWORD PTR 24[rbx], 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L54:
	mov	r15, QWORD PTR -240[rbp]
	lea	rdx, -160[rbp]
	mov	ecx, r13d
	mov	rdi, r12
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR 0[0+r15*8]
	mov	DWORD PTR -140[rbp], eax
	call	lio_prepare_pci_cmd@PLT
	mov	rax, QWORD PTR 8[0+r15*8]
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR LIO_REQTYPE_NORESP_NET[rip]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L56:
	mov	esi, DWORD PTR 16[rcx]
	mov	rdi, QWORD PTR 24[rcx]
	mov	DWORD PTR 8[r13], esi
	call	howmany@PLT
	mov	QWORD PTR 0[r13], rax
	add	DWORD PTR 16[rbx], 1
	jmp	.L24
.L58:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lio_xmit, .-lio_xmit
	.comm	M_VLANTAG,4,4
	.comm	M_NOWAIT,4,4
	.comm	LIO_REQTYPE_NORESP_NET_SG,4,4
	.comm	LIO_REQTYPE_NORESP_NET,4,4
	.comm	LIO_MAX_SG,4,4
	.comm	LIO_IQ_SEND_FAILED,4,4
	.comm	LIO_IFSTATE_RUNNING,4,4
	.comm	ENOMEM,4,4
	.comm	ENOBUFS,4,4
	.comm	ENETDOWN,4,4
	.comm	EFBIG,4,4
	.comm	CSUM_IP_UDP,4,4
	.comm	CSUM_IP_TSO,4,4
	.comm	CSUM_IP_TCP,4,4
	.comm	CSUM_IP6_UDP,4,4
	.comm	CSUM_IP6_TSO,4,4
	.comm	CSUM_IP6_TCP,4,4
	.comm	CSUM_IP,4,4
	.comm	BUS_DMA_NOWAIT,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_lio_rxtx.c_lio_xmit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Transmit failed link_status : %d\012\000"
	.align	2
.LC1:
	.ascii	"Transmit failed iq:%d full\012\000"
	.align	2
.LC2:
	.ascii	"bus_dmamap_load_mbuf_sg failed with error %d. iq:%d"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"Transmit scatter gather: glist null!\012\000"
	.align	2
.LC4:
	.ascii	"IQ%d Transmit dropped: %llu\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lio_xmit
	.syntax unified
	.arm
	.fpu softvfp
	.type	lio_xmit, %function
lio_xmit:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #100
	mov	r4, r1
	mov	ip, sp
	ldr	r8, [r1, #16]
	ldr	r3, .L50
	ldr	r7, [r4, #12]
	ldr	r1, [r3]
	ldr	r3, [r8]
	mov	r6, r2
	ldr	r10, [r3, r7, lsl #2]
	ldr	r2, .L50+4
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	str	r2, [fp, #-40]
	mov	r2,#0
	sub	r1, ip, r1, lsl #3
	str	r3, [fp, #-108]
	ldr	r3, [r4]
	mov	r5, r0
	mov	sp, r1
	add	r0, r0, #12
	str	r3, [fp, #-112]
	bl	atomic_load_acq_int
	ldr	r3, .L50+8
	add	r2, sp, #8
	ldr	r3, [r3]
	str	r2, [fp, #-104]
	tst	r0, r3
	lsl	r3, r7, #2
	ldr	r2, [r5, #8]
	str	r3, [fp, #-116]
	beq	.L3
	cmp	r2, #0
	bne	.L4
.L3:
	mov	r0, r8
	ldr	r1, .L50+12
	bl	lio_dev_info
	ldr	r3, .L50+16
	ldr	r9, [r3]
.L5:
	ldr	r0, [r10]
	add	r0, r0, #1
	str	r0, [r10]
	bl	LIO_CAST64
	mov	r2, r7
	mov	r3, r0
	ldr	r1, .L50+20
	mov	r0, r8
	bl	lio_dev_err
	ldr	r0, [r6]
	bl	m_freem
	mov	r3, #0
	str	r3, [r6]
.L1:
	ldr	r3, .L50+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L41
	mov	r0, r9
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r1, r7
	mov	r0, r8
	bl	lio_iq_is_full
	cmp	r0, #0
	bne	.L42
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-112]
	add	r2, r3, r2, lsl #4
	ldr	r3, .L50+24
	str	r2, [fp, #-120]
	ldr	r3, [r3]
	ldr	r2, [r2, #12]
	str	r2, [fp, #-116]
	str	r3, [sp, #4]
	sub	r3, fp, #100
	str	r3, [sp]
	mov	r1, r2
	ldr	r3, [fp, #-104]
	ldr	r2, [r6]
	ldr	r0, [r4, #4]
	bl	bus_dmamap_load_mbuf_sg
	ldr	r3, .L50+28
	mov	r9, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L43
.L8:
	ldr	r3, .L50+32
	ldr	r3, [r3]
	cmp	r9, r3
	beq	.L17
	cmp	r9, #0
	bne	.L44
	ldr	r6, [r6]
	ldr	r4, [fp, #-120]
	ldr	r3, [fp, #-116]
	mov	r1, #32
	str	r3, [r4, #8]
	str	r6, [r4, #4]
	sub	r0, fp, #72
	bl	bzero
	ldr	r3, .L50+36
	ldr	r2, [r6, #4]
	ldr	r1, [r3]
	ldr	r3, [r6, #16]
	tst	r2, r1
	str	r3, [fp, #-68]
	movne	r3, #1
	ldr	r1, .L50+40
	strne	r3, [fp, #-92]
	ldr	r3, .L50+44
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r0, .L50+48
	orr	r3, r3, r1
	ldr	r1, .L50+52
	ldr	r0, [r0]
	ldr	r1, [r1]
	orr	r3, r3, r0
	orr	r3, r3, r1
	tst	r3, r2
	movne	r3, #1
	strne	r3, [fp, #-88]
	ldr	r3, [fp, #-100]
	str	r4, [fp, #-44]
	cmp	r3, #1
	str	r7, [fp, #-72]
	str	r7, [fp, #-96]
	beq	.L45
	ldr	r0, [r5]
	lsl	r4, r7, #2
	add	r0, r0, r4
	bl	mtx_lock
	ldr	r0, [r5, #4]
	str	r4, [fp, #-116]
	add	r0, r0, r4
	bl	lio_delete_first_node
	mov	r4, r0
	ldr	r3, [fp, #-116]
	ldr	r0, [r5]
	add	r0, r0, r3
	bl	mtx_unlock
	cmp	r4, #0
	beq	.L46
	mov	r0, #1
	ldr	ip, [fp, #-100]
	mov	r3, r7
	sub	r2, fp, #96
	sub	r1, fp, #64
	str	r0, [fp, #-84]
	mov	r0, r8
	str	ip, [fp, #-80]
	bl	lio_prepare_pci_cmd
	ldr	r1, [r4]
	ldr	r0, [r4, #8]
	bl	bzero
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	beq	.L19
	ldr	r3, [fp, #-104]
	mov	r5, #0
	add	r7, r3, #4
	str	r6, [fp, #-104]
	mov	r6, r7
	mov	r7, r3
.L18:
	ldr	r2, [r4, #8]
	asr	r1, r5, #2
	add	r2, r2, r1, lsl #5
	ldr	r0, [r2, #24]
	ldr	ip, [r6, r5, lsl #3]
	and	r2, r5, #3
	str	ip, [r0, r2, lsl #2]
	ldr	r0, [r4, #8]
	add	r0, r0, r1, lsl #5
	ldr	r1, [r7, r5, lsl #3]
	bl	lio_add_sg_size
	ldr	r2, [fp, #-100]
	add	r5, r5, #1
	cmp	r2, #0
	sub	r2, r2, #1
	str	r2, [fp, #-100]
	bne	.L18
	ldr	r6, [fp, #-104]
.L19:
	ldr	r2, [r4, #4]
	ldr	r3, .L50+56
	str	r2, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	ldr	r1, [fp, #-112]
	str	r4, [r2, r1, lsl #4]
	str	r3, [fp, #-52]
.L15:
	ldr	r2, .L50+60
	ldr	r3, .L50+64
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r6, #4]
	orr	r3, r3, r1
	tst	r3, r2
	ldr	r4, [fp, #-64]
	bne	.L47
.L20:
	ldr	r3, .L50+68
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L48
.L21:
	mov	r0, r8
	sub	r1, fp, #72
	bl	lio_send_data_pkt
	ldr	r3, .L50+72
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L17
	ldr	r3, [r4]
	ldr	r2, [r10, #8]
	cmp	r3, #0
	ldr	r1, [fp, #-68]
	addne	r2, r3, r2
	ldr	r3, [r10, #4]
	addeq	r2, r2, #1
	add	r3, r3, r1
	str	r2, [r10, #8]
	str	r3, [r10, #4]
	b	.L1
.L46:
	mov	r0, r8
	ldr	r1, .L50+76
	bl	lio_dev_err
.L17:
	ldr	r3, .L50+80
	ldr	r9, [r3]
	b	.L1
.L42:
	mov	r2, r7
	mov	r0, r8
	ldr	r1, .L50+84
	bl	lio_dev_dbg
	ldr	r3, [r10, #24]
	ldr	r2, .L50+80
	add	r3, r3, #1
	ldr	r9, [r2]
	str	r3, [r10, #24]
	b	.L1
.L44:
	ldr	r2, [r10, #16]
	mov	r3, r7
	add	r2, r2, #1
	str	r2, [r10, #16]
	mov	r0, r8
	mov	r2, r9
	ldr	r1, .L50+88
	bl	lio_dev_dbg
	b	.L5
.L43:
	ldr	r3, .L50+92
	ldr	r0, [r6]
	ldr	r1, [r3]
	bl	m_defrag
	subs	r2, r0, #0
	beq	.L49
	ldr	r3, .L50+24
	ldr	r3, [r3]
	str	r2, [r6]
	str	r3, [sp, #4]
	sub	r3, fp, #100
	str	r3, [sp]
	ldr	r0, [r4, #4]
	ldr	r3, [fp, #-104]
	ldr	r1, [fp, #-116]
	bl	bus_dmamap_load_mbuf_sg
	mov	r9, r0
	b	.L8
.L48:
	ldr	r3, [r6, #8]
	lsl	r2, r3, #20
	lsr	r2, r2, #20
	asr	r3, r3, #13
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	b	.L21
.L49:
	ldr	r3, [r10, #20]
	add	r3, r3, #1
	str	r3, [r10, #20]
	b	.L5
.L45:
	ldr	r4, [fp, #-104]
	mov	r3, r7
	ldr	ip, [r4]
	sub	r2, fp, #96
	mov	r0, r8
	sub	r1, fp, #64
	str	ip, [fp, #-76]
	bl	lio_prepare_pci_cmd
	ldr	r3, .L50+96
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	str	r2, [fp, #-56]
	str	r3, [fp, #-52]
	b	.L15
.L47:
	ldr	r1, [r6, #12]
	ldr	r0, [r6, #16]
	str	r1, [r4, #4]
	bl	howmany
	ldr	r3, [r10, #12]
	str	r0, [r4]
	add	r3, r3, #1
	str	r3, [r10, #12]
	b	.L20
.L41:
	bl	__stack_chk_fail
.L51:
	.align	2
.L50:
	.word	LIO_MAX_SG
	.word	.LC5
	.word	LIO_IFSTATE_RUNNING
	.word	.LC0
	.word	ENETDOWN
	.word	.LC4
	.word	BUS_DMA_NOWAIT
	.word	EFBIG
	.word	ENOMEM
	.word	CSUM_IP
	.word	CSUM_IP6_TCP
	.word	CSUM_IP_TCP
	.word	CSUM_IP_UDP
	.word	CSUM_IP6_UDP
	.word	LIO_REQTYPE_NORESP_NET_SG
	.word	CSUM_IP6_TSO
	.word	CSUM_IP_TSO
	.word	M_VLANTAG
	.word	LIO_IQ_SEND_FAILED
	.word	.LC3
	.word	ENOBUFS
	.word	.LC1
	.word	.LC2
	.word	M_NOWAIT
	.word	LIO_REQTYPE_NORESP_NET
	.size	lio_xmit, .-lio_xmit
	.comm	M_VLANTAG,4,4
	.comm	M_NOWAIT,4,4
	.comm	LIO_REQTYPE_NORESP_NET_SG,4,4
	.comm	LIO_REQTYPE_NORESP_NET,4,4
	.comm	LIO_MAX_SG,4,4
	.comm	LIO_IQ_SEND_FAILED,4,4
	.comm	LIO_IFSTATE_RUNNING,4,4
	.comm	ENOMEM,4,4
	.comm	ENOBUFS,4,4
	.comm	ENETDOWN,4,4
	.comm	EFBIG,4,4
	.comm	CSUM_IP_UDP,4,4
	.comm	CSUM_IP_TSO,4,4
	.comm	CSUM_IP_TCP,4,4
	.comm	CSUM_IP6_UDP,4,4
	.comm	CSUM_IP6_TSO,4,4
	.comm	CSUM_IP6_TCP,4,4
	.comm	CSUM_IP,4,4
	.comm	BUS_DMA_NOWAIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
