	.file	"extr_ns83820.c_ns83820_hard_start_xmit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ns83820_hard_start_xmit\n"
.LC1:
	.string	"stop_queue - not enough(%p)\n"
.LC2:
	.string	"restart queue(%p)\n"
.LC3:
	.string	"stop_queue - last entry(%p)\n"
.LC4:
	.string	"frag[%3u]: %4u @ 0x%08Lx\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC5:
	.string	"frag: buf=%08Lx  page=%08lx offset=%08lx\n"
	.section	.rodata.str1.1
.LC6:
	.string	"done pkt\n"
	.text
	.p2align 4
	.type	ns83820_hard_start_xmit, @function
ns83820_hard_start_xmit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 40[rsp], rdi
	mov	rdi, rsi
	call	PRIV@PLT
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	xor	eax, eax
	call	dprintk@PLT
	mov	rdi, rbx
	call	skb_shinfo@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 16[rsp], eax
	mov	r14d, eax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR NR_TX_DESC[rip]
	mov	ebx, DWORD PTR 8[rbp]
	xor	edx, edx
	mov	r8d, DWORD PTR 4[rbp]
	lea	eax, -2[rsi+rbx]
	sub	eax, r8d
	div	esi
	lea	eax, -1[rdx]
	cmp	r14d, eax
	jl	.L6
	mov	rdi, r13
	xor	eax, eax
	mov	rsi, r12
	call	dprintk@PLT
	mov	rdi, r12
	call	netif_stop_queue@PLT
	cmp	DWORD PTR 8[rbp], ebx
	je	.L7
	lea	rdi, .LC2[rip]
	mov	rsi, r12
	xor	eax, eax
	call	dprintk@PLT
	mov	rdi, r12
	call	netif_start_queue@PLT
.L2:
	mov	edi, DWORD PTR 0[rbp]
	and	edi, DWORD PTR CFG_LNKSTS[rip]
	call	unlikely@PLT
	test	rax, rax
	je	.L3
	mov	rdi, r12
	call	netif_stop_queue@PLT
	mov	edi, DWORD PTR 0[rbp]
	and	edi, DWORD PTR CFG_LNKSTS[rip]
	call	unlikely@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, r12
	call	netif_start_queue@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR NETDEV_TX_BUSY[rip]
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	DWORD PTR 36[rsp], 0
	mov	ecx, eax
	cmp	DWORD PTR 12[rbp], r8d
	jne	.L8
	mov	eax, esi
	xor	edx, edx
	mov	DWORD PTR 36[rsp], 1
	shr	eax, 2
	add	eax, r8d
	div	esi
	mov	DWORD PTR 12[rbp], edx
.L8:
	sub	ecx, DWORD PTR 16[rsp]
	cmp	DWORD PTR MIN_TX_DESC_FREE[rip], ecx
	mov	DWORD PTR 60[rsp], 0
	jg	.L53
.L9:
	mov	rdi, QWORD PTR 40[rsp]
	mov	DWORD PTR 8[rsp], r8d
	call	skb_shinfo@PLT
	mov	ecx, DWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	test	ecx, ecx
	jne	.L54
	mov	rax, QWORD PTR 40[rsp]
	mov	rcx, QWORD PTR CHECKSUM_PARTIAL[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L55
	mov	rax, QWORD PTR 40[rsp]
	mov	DWORD PTR 32[rsp], 0
	xor	r13d, r13d
	mov	r10d, DWORD PTR 8[rax]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L54:
	mov	r13, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 40[rsp]
	mov	rcx, QWORD PTR CHECKSUM_PARTIAL[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L28
	mov	rax, QWORD PTR 40[rsp]
	mov	DWORD PTR 32[rsp], 0
	mov	r10d, DWORD PTR 8[rax]
.L27:
	mov	rax, QWORD PTR 40[rsp]
	sub	r10d, DWORD PTR 16[rax]
.L14:
	mov	rax, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR 40[rbp]
	mov	edx, r10d
	mov	DWORD PTR 20[rsp], r8d
	mov	ecx, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	DWORD PTR 8[rsp], r10d
	mov	esi, DWORD PTR 12[rax]
	call	pci_map_single@PLT
	mov	r8d, DWORD PTR 20[rsp]
	mov	rdx, QWORD PTR 48[rbp]
	mov	DWORD PTR 56[rsp], ebx
	mov	r14, rax
	mov	rbx, r13
	mov	r10d, DWORD PTR 8[rsp]
	mov	r13d, DWORD PTR 16[rsp]
	mov	eax, DWORD PTR DESC_SIZE[rip]
	mov	QWORD PTR 48[rsp], r12
	mov	r12d, r8d
	mov	ecx, eax
	imul	ecx, r8d
	movsx	rcx, ecx
	lea	rcx, [rdx+rcx*4]
	mov	QWORD PTR 24[rsp], rcx
	.p2align 4,,10
	.p2align 3
.L19:
	imul	eax, r12d
	mov	rcx, r14
	mov	esi, r12d
	mov	DWORD PTR 20[rsp], r10d
	lea	rdi, .LC4[rip]
	cdqe
	lea	r15, [rdx+rax*4]
	mov	edx, r10d
	xor	eax, eax
	call	dprintk@PLT
	xor	edx, edx
	lea	eax, 1[r12]
	div	DWORD PTR NR_TX_DESC[rip]
	mov	rax, QWORD PTR DESC_LINK[rip]
	mov	DWORD PTR 16[rsp], edx
	mov	ecx, DWORD PTR 16[rsp]
	lea	rdx, [r15+rax*4]
	imul	ecx, DWORD PTR DESC_SIZE[rip]
	mov	eax, DWORD PTR 16[rbp]
	mov	QWORD PTR 8[rsp], rdx
	lea	edi, [rax+rcx*4]
	call	cpu_to_le32@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, r14
	mov	DWORD PTR [rdx], eax
	movsx	rax, DWORD PTR DESC_BUFPTR[rip]
	lea	rdi, [r15+rax*4]
	call	desc_addr_set@PLT
	mov	rax, QWORD PTR DESC_EXTSTS[rip]
	mov	edi, DWORD PTR 32[rsp]
	lea	r14, [r15+rax*4]
	call	cpu_to_le32@PLT
	test	r13d, r13d
	mov	r10d, DWORD PTR 20[rsp]
	mov	DWORD PTR [r14], eax
	je	.L56
	mov	rax, QWORD PTR DESC_CMDSTS[rip]
	mov	edi, DWORD PTR CMDSTS_MORE[rip]
	lea	r12, [r15+rax*4]
	cmp	QWORD PTR 24[rsp], r15
	je	.L51
	or	edi, DWORD PTR CMDSTS_OWN[rip]
.L51:
	or	edi, r10d
	add	rbx, 12
	sub	r13d, 1
	call	cpu_to_le32@PLT
	mov	DWORD PTR [r12], eax
	mov	edx, DWORD PTR -8[rbx]
	mov	esi, DWORD PTR -4[rbx]
	mov	ecx, DWORD PTR -12[rbx]
	mov	r8d, DWORD PTR PCI_DMA_TODEVICE[rip]
	mov	edi, DWORD PTR 40[rbp]
	call	pci_map_page@PLT
	mov	edi, DWORD PTR -4[rbx]
	mov	r15d, DWORD PTR -8[rbx]
	mov	r14, rax
	call	page_to_pfn@PLT
	mov	ecx, r15d
	mov	rsi, r14
	lea	rdi, .LC5[rip]
	mov	rdx, rax
	xor	eax, eax
	call	dprintk@PLT
	mov	r10d, DWORD PTR -12[rbx]
	mov	rdx, QWORD PTR 48[rbp]
	mov	eax, DWORD PTR DESC_SIZE[rip]
	mov	r12d, DWORD PTR 16[rsp]
	jmp	.L19
.L55:
	xor	r13d, r13d
.L28:
	mov	r15d, DWORD PTR EXTSTS_IPPKT[rip]
	mov	rdi, QWORD PTR 40[rsp]
	mov	DWORD PTR 8[rsp], r8d
	mov	DWORD PTR 32[rsp], r15d
	call	ip_hdr@PLT
	mov	rcx, QWORD PTR IPPROTO_TCP[rip]
	mov	r8d, DWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], rcx
	jne	.L12
	mov	eax, DWORD PTR EXTSTS_TCPPKT[rip]
	or	r15d, eax
	mov	DWORD PTR 32[rsp], r15d
.L13:
	mov	rax, QWORD PTR 40[rsp]
	mov	edx, DWORD PTR 16[rsp]
	mov	r10d, DWORD PTR 8[rax]
	test	edx, edx
	je	.L14
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L56:
	mov	eax, DWORD PTR 36[rsp]
	mov	r8d, r12d
	mov	ebx, DWORD PTR 56[rsp]
	mov	r12, QWORD PTR 48[rsp]
	test	eax, eax
	cmovne	eax, DWORD PTR CMDSTS_INTR[rip]
	mov	DWORD PTR 36[rsp], eax
	mov	rax, QWORD PTR DESC_CMDSTS[rip]
	lea	r14, [r15+rax*4]
	cmp	QWORD PTR 24[rsp], r15
	je	.L57
	mov	edi, DWORD PTR 36[rsp]
	or	edi, DWORD PTR CMDSTS_OWN[rip]
	mov	DWORD PTR 8[rsp], r8d
	or	edi, r10d
	call	cpu_to_le32@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	DWORD PTR [r14], eax
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rdi, .LC6[rip]
	lea	r14, 20[rbp]
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r8d
	call	dprintk@PLT
	mov	rdi, r14
	call	spin_lock_irq@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	rcx, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR 32[rbp]
	mov	edi, DWORD PTR CMDSTS_OWN[rip]
	mov	QWORD PTR [rax+r8*8], rcx
	call	cpu_to_le32@PLT
	mov	rcx, QWORD PTR 24[rsp]
	lea	rdi, 24[rbp]
	mov	r8d, eax
	mov	rax, QWORD PTR DESC_CMDSTS[rip]
	lea	rdx, [rcx+rax*4]
	mov	eax, DWORD PTR [rdx]
	or	eax, r8d
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR 16[rsp]
	mov	DWORD PTR 4[rbp], eax
	call	atomic_inc@PLT
	mov	rdi, r14
	call	spin_unlock_irq@PLT
	mov	rdi, rbp
	call	kick_tx@PLT
	mov	eax, DWORD PTR 60[rsp]
	test	eax, eax
	je	.L21
	cmp	DWORD PTR 8[rbp], ebx
	je	.L21
	mov	rdi, rbp
	call	start_tx_okay@PLT
	test	rax, rax
	jne	.L58
.L21:
	mov	eax, DWORD PTR NETDEV_TX_OK[rip]
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L57:
	.cfi_restore_state
	mov	edi, DWORD PTR 36[rsp]
	mov	DWORD PTR 8[rsp], r8d
	or	edi, r10d
	call	cpu_to_le32@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	DWORD PTR [r14], eax
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L53:
	mov	rsi, r12
	lea	rdi, .LC3[rip]
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r8d
	call	dprintk@PLT
	mov	rdi, r12
	call	netif_stop_queue@PLT
	mov	DWORD PTR 60[rsp], 1
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L9
.L12:
	mov	rdi, QWORD PTR 40[rsp]
	mov	DWORD PTR 8[rsp], r8d
	call	ip_hdr@PLT
	mov	rcx, QWORD PTR IPPROTO_UDP[rip]
	mov	r8d, DWORD PTR 8[rsp]
	cmp	QWORD PTR [rax], rcx
	jne	.L13
	mov	ecx, DWORD PTR EXTSTS_UDPPKT[rip]
	or	DWORD PTR 32[rsp], ecx
	jmp	.L13
.L58:
	mov	rdi, r12
	call	netif_start_queue@PLT
	jmp	.L21
	.cfi_endproc
.LFE0:
	.size	ns83820_hard_start_xmit, .-ns83820_hard_start_xmit
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	NR_TX_DESC,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	NETDEV_TX_BUSY,4,4
	.comm	MIN_TX_DESC_FREE,4,4
	.comm	IPPROTO_UDP,8,8
	.comm	IPPROTO_TCP,8,8
	.comm	EXTSTS_VPKT,4,4
	.comm	EXTSTS_UDPPKT,4,4
	.comm	EXTSTS_TCPPKT,4,4
	.comm	EXTSTS_IPPKT,4,4
	.comm	DESC_SIZE,4,4
	.comm	DESC_LINK,8,8
	.comm	DESC_EXTSTS,8,8
	.comm	DESC_CMDSTS,8,8
	.comm	DESC_BUFPTR,4,4
	.comm	CMDSTS_OWN,4,4
	.comm	CMDSTS_MORE,4,4
	.comm	CMDSTS_INTR,4,4
	.comm	CHECKSUM_PARTIAL,8,8
	.comm	CFG_LNKSTS,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_ns83820.c_ns83820_hard_start_xmit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ns83820_hard_start_xmit\012\000"
	.global	__aeabi_uidivmod
	.align	2
.LC1:
	.ascii	"stop_queue - not enough(%p)\012\000"
	.align	2
.LC2:
	.ascii	"restart queue(%p)\012\000"
	.align	2
.LC3:
	.ascii	"stop_queue - last entry(%p)\012\000"
	.align	2
.LC4:
	.ascii	"frag[%3u]: %4u @ 0x%08Lx\012\000"
	.align	2
.LC5:
	.ascii	"frag: buf=%08Lx  page=%08lx offset=%08lx\012\000"
	.align	2
.LC6:
	.ascii	"done pkt\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ns83820_hard_start_xmit, %function
ns83820_hard_start_xmit:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r0, r1
	sub	sp, sp, #44
	mov	r6, r3
	mov	r5, r1
	str	r3, [sp, #20]
	bl	PRIV
	mov	r4, r0
	ldr	r0, .L60
	bl	dprintk
	mov	r0, r6
	bl	skb_shinfo
	ldr	r9, .L60+4
	ldr	r8, [r0]
	ldr	r10, .L60+8
	b	.L2
.L3:
	ldr	r3, .L60+12
	ldr	r7, [r4, #8]
	ldr	fp, [r3]
	ldr	r6, [r4, #4]
	sub	r0, fp, #2
	add	r0, r0, r7
	mov	r1, fp
	sub	r0, r0, r6
	bl	__aeabi_uidivmod
	sub	r1, r1, #1
	cmp	r8, r1
	blt	.L6
	mov	r1, r5
	mov	r0, r10
	bl	dprintk
	mov	r0, r5
	bl	netif_stop_queue
	ldr	r3, [r4, #8]
	cmp	r3, r7
	beq	.L7
	mov	r1, r5
	ldr	r0, .L60+16
	bl	dprintk
	mov	r0, r5
	bl	netif_start_queue
.L2:
	ldr	r0, [r4]
	ldr	r3, [r9]
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	beq	.L3
	mov	r0, r5
	bl	netif_stop_queue
	ldr	r0, [r4]
	ldr	r3, [r9]
	and	r0, r0, r3
	bl	unlikely
	cmp	r0, #0
	bne	.L7
	mov	r0, r5
	bl	netif_start_queue
	b	.L3
.L7:
	ldr	r3, .L60+20
	ldr	r0, [r3]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r3, r1
	ldr	r1, [r4, #12]
	cmp	r1, r6
	movne	r2, #0
	strne	r2, [sp, #24]
	bne	.L8
	mov	r1, fp
	add	r0, r6, fp, lsr #2
	str	r3, [sp, #8]
	bl	__aeabi_uidivmod
	mov	r3, #1
	str	r3, [sp, #24]
	ldr	r3, [sp, #8]
	str	r1, [r4, #12]
.L8:
	ldr	r2, .L60+24
	sub	r3, r3, r8
	ldr	r2, [r2]
	cmp	r2, r3
	movle	r3, #0
	strle	r3, [sp, #36]
	bgt	.L54
.L9:
	ldr	r0, [sp, #20]
	bl	skb_shinfo
	cmp	r8, #0
	bne	.L55
	ldr	r3, .L60+28
	ldr	r2, [sp, #20]
	ldr	r3, [r3]
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L56
	ldr	r3, [sp, #20]
	mov	r9, r8
	ldr	r2, [r3, #4]
	str	r8, [sp, #16]
	b	.L14
.L55:
	ldr	r3, .L60+28
	ldr	r2, [sp, #20]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r9, [r0, #4]
	cmp	r2, r3
	beq	.L28
	ldr	r3, [sp, #20]
	ldr	r2, [r3, #4]
	mov	r3, #0
	str	r3, [sp, #16]
.L27:
	ldr	r3, [sp, #20]
	ldr	r3, [r3, #12]
	sub	r2, r2, r3
.L14:
	ldr	r1, [sp, #20]
	ldr	r3, .L60+32
	ldr	r1, [r1, #8]
	ldr	r3, [r3]
	ldr	r0, [r4, #32]
	str	r2, [sp, #8]
	bl	pci_map_single
	ldr	r3, .L60+36
	asr	r1, r0, #31
	ldr	r3, [r3]
	mov	fp, r8
	mul	r3, r6, r3
	mov	r8, r6
	str	r7, [sp, #28]
	mov	r10, r0
	mov	r6, r0
	mov	r7, r1
	ldr	ip, [r4, #36]
	add	r9, r9, #12
	add	r2, ip, r3, lsl #2
	str	r2, [sp, #12]
	ldr	r2, [sp, #8]
	str	r5, [sp, #32]
.L19:
	stm	sp, {r6-r7}
	mov	r1, r8
	ldr	r0, .L60+40
	add	r6, ip, r3, lsl #2
	str	r2, [sp, #8]
	bl	dprintk
	ldr	r3, .L60+12
	add	r0, r8, #1
	ldr	r1, [r3]
	bl	__aeabi_uidivmod
	ldr	r3, .L60+36
	ldr	r0, [r4, #16]
	ldr	r3, [r3]
	mov	r5, r1
	mul	r3, r1, r3
	add	r0, r0, r3, lsl #2
	ldr	r3, .L60+44
	ldr	r7, [r3]
	bl	cpu_to_le32
	ldr	r3, .L60+48
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r3]
	mov	r1, r10
	add	r0, r6, r0, lsl #2
	bl	desc_addr_set
	ldr	r3, .L60+52
	ldr	r0, [sp, #16]
	ldr	r7, [r3]
	bl	cpu_to_le32
	cmp	fp, #0
	ldr	r2, [sp, #8]
	str	r0, [r6, r7, lsl #2]
	beq	.L57
	ldr	r3, [sp, #12]
	cmp	r3, r6
	ldr	r3, .L60+56
	ldr	r0, [r3]
	ldr	r3, .L60+60
	ldr	r7, [r3]
	ldrne	r3, .L60+64
	ldrne	r3, [r3]
	orrne	r0, r0, r3
.L52:
	orr	r0, r0, r2
	bl	cpu_to_le32
	ldr	ip, .L60+32
	str	r0, [r6, r7, lsl #2]
	ldr	ip, [ip]
	ldr	r3, [r9, #-12]
	ldr	r2, [r9, #-8]
	ldr	r1, [r9, #-4]
	ldr	r0, [r4, #32]
	str	ip, [sp]
	bl	pci_map_page
	mov	r10, r0
	ldr	r0, [r9, #-4]
	bl	page_to_pfn
	ldr	r1, [r9, #-8]
	asr	r7, r10, #31
	mov	r2, r10
	mov	r3, r7
	stm	sp, {r0, r1}
	ldr	r0, .L60+68
	bl	dprintk
	ldr	r3, .L60+36
	ldr	r2, [r9, #-12]
	ldr	r3, [r3]
	mov	r6, r10
	mov	r8, r5
	mul	r3, r5, r3
	ldr	ip, [r4, #36]
	sub	fp, fp, #1
	add	r9, r9, #12
	b	.L19
.L56:
	mov	r9, r8
.L28:
	ldr	r3, .L60+72
	ldr	r0, [sp, #20]
	ldr	r10, [r3]
	str	r10, [sp, #16]
	bl	ip_hdr
	ldr	r3, .L60+76
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L60+80
	ldr	r3, [r3]
	orr	r3, r10, r3
	str	r3, [sp, #16]
.L13:
	ldr	r3, [sp, #20]
	cmp	r8, #0
	ldr	r2, [r3, #4]
	beq	.L14
	b	.L27
.L57:
	ldr	r3, [sp, #24]
	mov	fp, r6
	cmp	r3, #0
	mov	r9, r5
	mov	r6, r8
	ldr	r7, [sp, #28]
	ldr	r5, [sp, #32]
	ldrne	r1, .L60+84
	ldrne	r3, [r1]
	strne	r3, [sp, #24]
.L16:
	ldr	r3, [sp, #12]
	cmp	r3, fp
	ldr	r3, .L60+60
	ldr	r8, [r3]
	beq	.L58
	ldr	r3, .L60+64
	ldr	r0, [r3]
	ldr	r3, [sp, #24]
	orr	r0, r3, r0
	orr	r0, r0, r2
	bl	cpu_to_le32
	str	r0, [fp, r8, lsl #2]
.L24:
	add	r8, r4, #20
	ldr	r0, .L60+88
	bl	dprintk
	mov	r0, r8
	bl	spin_lock_irq
	ldr	r2, .L60+64
	ldr	r3, [r4, #28]
	ldr	r0, [r2]
	ldr	r2, [sp, #20]
	str	r2, [r3, r6, lsl #2]
	bl	cpu_to_le32
	mov	r1, r0
	ldr	r3, .L60+60
	ldr	ip, [sp, #12]
	ldr	r2, [r3]
	add	r0, r4, #24
	ldr	r3, [ip, r2, lsl #2]
	orr	r3, r3, r1
	str	r3, [ip, r2, lsl #2]
	str	r9, [r4, #4]
	bl	atomic_inc
	mov	r0, r8
	bl	spin_unlock_irq
	mov	r0, r4
	bl	kick_tx
	ldr	r3, [sp, #36]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [r4, #8]
	cmp	r3, r7
	beq	.L21
	mov	r0, r4
	bl	start_tx_okay
	cmp	r0, #0
	bne	.L59
.L21:
	ldr	r3, .L60+92
	ldr	r0, [r3]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L58:
	ldr	r3, [sp, #24]
	orr	r0, r3, r2
	bl	cpu_to_le32
	ldr	r3, [sp, #12]
	str	r0, [r3, r8, lsl #2]
	b	.L24
.L54:
	mov	r1, r5
	ldr	r0, .L60+96
	bl	dprintk
	mov	r0, r5
	bl	netif_stop_queue
	mov	r3, #1
	str	r3, [sp, #36]
	b	.L9
.L12:
	ldr	r0, [sp, #20]
	bl	ip_hdr
	ldr	r3, .L60+100
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, .L60+104
	ldreq	r2, [sp, #16]
	ldreq	r3, [r3]
	orreq	r3, r2, r3
	streq	r3, [sp, #16]
	b	.L13
.L59:
	mov	r0, r5
	bl	netif_start_queue
	b	.L21
.L61:
	.align	2
.L60:
	.word	.LC0
	.word	CFG_LNKSTS
	.word	.LC1
	.word	NR_TX_DESC
	.word	.LC2
	.word	NETDEV_TX_BUSY
	.word	MIN_TX_DESC_FREE
	.word	CHECKSUM_PARTIAL
	.word	PCI_DMA_TODEVICE
	.word	DESC_SIZE
	.word	.LC4
	.word	DESC_LINK
	.word	DESC_BUFPTR
	.word	DESC_EXTSTS
	.word	CMDSTS_MORE
	.word	DESC_CMDSTS
	.word	CMDSTS_OWN
	.word	.LC5
	.word	EXTSTS_IPPKT
	.word	IPPROTO_TCP
	.word	EXTSTS_TCPPKT
	.word	CMDSTS_INTR
	.word	.LC6
	.word	NETDEV_TX_OK
	.word	.LC3
	.word	IPPROTO_UDP
	.word	EXTSTS_UDPPKT
	.size	ns83820_hard_start_xmit, .-ns83820_hard_start_xmit
	.comm	PCI_DMA_TODEVICE,4,4
	.comm	NR_TX_DESC,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	NETDEV_TX_BUSY,4,4
	.comm	MIN_TX_DESC_FREE,4,4
	.comm	IPPROTO_UDP,4,4
	.comm	IPPROTO_TCP,4,4
	.comm	EXTSTS_VPKT,4,4
	.comm	EXTSTS_UDPPKT,4,4
	.comm	EXTSTS_TCPPKT,4,4
	.comm	EXTSTS_IPPKT,4,4
	.comm	DESC_SIZE,4,4
	.comm	DESC_LINK,4,4
	.comm	DESC_EXTSTS,4,4
	.comm	DESC_CMDSTS,4,4
	.comm	DESC_BUFPTR,4,4
	.comm	CMDSTS_OWN,4,4
	.comm	CMDSTS_MORE,4,4
	.comm	CMDSTS_INTR,4,4
	.comm	CHECKSUM_PARTIAL,4,4
	.comm	CFG_LNKSTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
