	.file	"extr_declance.c_lance_start_xmit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lance_start_xmit, @function
lance_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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	netdev_priv@PLT
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR ETH_ZLEN[rip]
	mov	r15, rax
	mov	rax, QWORD PTR 32[rax]
	mov	r13, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rsp], rax
	cmp	esi, ecx
	jle	.L2
	mov	rdi, rbp
	call	skb_padto@PLT
	mov	ecx, DWORD PTR ETH_ZLEN[rip]
	test	rax, rax
	jne	.L8
.L2:
	add	DWORD PTR 4[rbx], ecx
	lea	r14, 16[r15]
	xor	esi, esi
	mov	rdi, r14
	mov	DWORD PTR 24[rsp], ecx
	call	spin_lock_irqsave@PLT
	movsx	r10, DWORD PTR [r15]
	mov	edx, DWORD PTR 20[r15]
	mov	rdi, r13
	mov	rax, QWORD PTR btx_ring[rip]
	lea	r12, [r10+r10*2]
	mov	DWORD PTR 28[rsp], r10d
	sal	r12, 2
	mov	QWORD PTR 16[rsp], r10
	mov	esi, DWORD PTR 8[rax+r12]
	call	lib_ptr@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	rdi, r13
	mov	edx, ecx
	neg	edx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR btx_ring[rip]
	mov	edx, DWORD PTR 20[r15]
	mov	esi, DWORD PTR 4[rax+r12]
	call	lib_ptr@PLT
	mov	r10, QWORD PTR 16[rsp]
	mov	ecx, DWORD PTR 24[rsp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR 24[r15]
	mov	edx, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 20[r15]
	mov	rsi, QWORD PTR [rax+r10*8]
	call	cp_to_buf@PLT
	mov	rax, QWORD PTR 8[r15]
	mov	edx, DWORD PTR 20[r15]
	mov	rdi, r13
	mov	r10, QWORD PTR 16[rsp]
	mov	ecx, DWORD PTR LE_T1_OWN[rip]
	movzx	eax, BYTE PTR 2[rax+r10*4]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR LE_T1_POK[rip]
	or	ecx, eax
	mov	rax, QWORD PTR btx_ring[rip]
	mov	DWORD PTR 24[rsp], ecx
	mov	esi, DWORD PTR [rax+r12]
	call	lib_ptr@PLT
	mov	r9d, DWORD PTR 28[rsp]
	mov	r10, rax
	mov	eax, DWORD PTR 16[rsp]
	or	eax, DWORD PTR 24[rsp]
	mov	DWORD PTR [r10], eax
	add	r9d, 1
	and	r9d, DWORD PTR TX_RING_MOD_MASK[rip]
	cmp	QWORD PTR TX_BUFFS_AVAIL[rip], 0
	mov	DWORD PTR [r15], r9d
	jle	.L10
.L5:
	mov	rdi, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR LE_C0_INEA[rip]
	or	esi, DWORD PTR LE_C0_TDMD[rip]
	call	writereg@PLT
	mov	rdi, r14
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	mov	eax, DWORD PTR jiffies[rip]
	mov	rdi, rbp
	mov	DWORD PTR [rbx], eax
	call	dev_kfree_skb@PLT
.L8:
	mov	eax, DWORD PTR NETDEV_TX_OK[rip]
	add	rsp, 40
	.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
.L10:
	.cfi_restore_state
	mov	rdi, rbx
	call	netif_stop_queue@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	lance_start_xmit, .-lance_start_xmit
	.comm	jiffies,4,4
	.comm	btx_ring,8,8
	.comm	TX_RING_MOD_MASK,4,4
	.comm	TX_BUFFS_AVAIL,8,8
	.comm	NETDEV_TX_OK,4,4
	.comm	LE_T1_POK,4,4
	.comm	LE_T1_OWN,4,4
	.comm	LE_C0_TDMD,4,4
	.comm	LE_C0_INEA,4,4
	.comm	ETH_ZLEN,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_declance.c_lance_start_xmit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lance_start_xmit, %function
lance_start_xmit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r6, r1
	bl	netdev_priv
	ldr	r5, .L10
	ldr	fp, [r7]
	ldr	r1, [r5]
	ldr	r3, [r0, #20]
	cmp	r1, fp
	mov	r4, r0
	ldr	r8, [r6, #8]
	str	r3, [sp, #4]
	ble	.L2
	mov	r0, r7
	bl	skb_padto
	cmp	r0, #0
	ldreq	fp, [r5]
	bne	.L7
.L2:
	ldr	r2, [r6, #4]
	add	r10, r4, #8
	add	r2, r2, fp
	ldr	r9, .L10+4
	mov	r1, #0
	str	r2, [r6, #4]
	mov	r0, r10
	bl	spin_lock_irqsave
	ldr	r5, [r4]
	ldr	r2, [r9]
	add	ip, r5, r5, lsl #1
	add	r2, r2, ip, lsl #2
	lsl	r3, ip, #2
	ldr	r1, [r2, #8]
	mov	r0, r8
	ldr	r2, [r4, #12]
	str	r3, [sp]
	bl	lib_ptr
	ldr	r2, [r9]
	ldr	r3, [sp]
	rsb	r1, fp, #0
	str	r1, [r0]
	add	r2, r2, r3
	ldr	r1, [r2, #4]
	mov	r0, r8
	ldr	r2, [r4, #12]
	bl	lib_ptr
	mov	r2, #0
	ldr	r1, [r4, #16]
	str	r2, [r0]
	ldr	r1, [r1, r5, lsl #2]
	mov	r3, fp
	ldr	r2, [r7, #4]
	ldr	r0, [r4, #12]
	bl	cp_to_buf
	ldr	r1, .L10+8
	ldr	r3, .L10+12
	ldr	r2, [r9]
	ldr	ip, [r4, #4]
	ldr	r9, [r1]
	ldr	r1, [sp]
	ldr	r3, [r3]
	add	ip, ip, r5, lsl #2
	mov	r0, r8
	ldr	r1, [r2, r1]
	ldr	r2, [r4, #12]
	orr	r9, r9, r3
	ldrb	r8, [ip, #2]	@ zero_extendqisi2
	bl	lib_ptr
	orr	r8, r8, r9
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	str	r8, [r0]
	ldr	r2, [r2]
	ldr	r3, [r3]
	add	r5, r5, #1
	and	r5, r5, r2
	cmp	r3, #0
	str	r5, [r4]
	ble	.L9
.L5:
	ldr	r2, .L10+24
	ldr	r3, .L10+28
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r0, [sp, #4]
	orr	r1, r1, r3
	bl	writereg
	mov	r0, r10
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, .L10+32
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [r6]
	bl	dev_kfree_skb
.L7:
	ldr	r3, .L10+36
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r0, r6
	bl	netif_stop_queue
	b	.L5
.L11:
	.align	2
.L10:
	.word	ETH_ZLEN
	.word	btx_ring
	.word	LE_T1_POK
	.word	LE_T1_OWN
	.word	TX_RING_MOD_MASK
	.word	TX_BUFFS_AVAIL
	.word	LE_C0_INEA
	.word	LE_C0_TDMD
	.word	jiffies
	.word	NETDEV_TX_OK
	.size	lance_start_xmit, .-lance_start_xmit
	.comm	jiffies,4,4
	.comm	btx_ring,4,4
	.comm	TX_RING_MOD_MASK,4,4
	.comm	TX_BUFFS_AVAIL,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	LE_T1_POK,4,4
	.comm	LE_T1_OWN,4,4
	.comm	LE_C0_TDMD,4,4
	.comm	LE_C0_INEA,4,4
	.comm	ETH_ZLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
