	.file	"extr_ethoc.c_ethoc_start_xmit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"stopping queue\n"
	.text
	.p2align 4
	.type	ethoc_start_xmit, @function
ethoc_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
	mov	r12, rsi
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	xor	edi, edi
	mov	rbx, rax
	mov	rax, QWORD PTR ETHOC_BUFSIZ[rip]
	cmp	QWORD PTR 0[rbp], rax
	setg	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L2
	add	DWORD PTR 16[rbx], 1
.L3:
	mov	rdi, rbp
	call	dev_kfree_skb@PLT
	mov	eax, DWORD PTR NETDEV_TX_OK[rip]
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR [rbx]
	xor	edx, edx
	lea	r14, 12[rbx]
	mov	r15, rsp
	mov	rdi, r14
	div	DWORD PTR 4[rbx]
	mov	r13d, edx
	call	spin_lock_irq@PLT
	add	DWORD PTR [rbx], 1
	mov	rdi, rbx
	mov	rdx, r15
	mov	esi, r13d
	call	ethoc_read_bd@PLT
	xor	edi, edi
	mov	rax, QWORD PTR ETHOC_ZLEN[rip]
	cmp	QWORD PTR 0[rbp], rax
	setl	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR [rsp]
	or	eax, DWORD PTR TX_BD_PAD[rip]
.L5:
	mov	edi, DWORD PTR 4[rsp]
	mov	DWORD PTR [rsp], eax
	call	phys_to_virt@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 0[rbp]
	mov	rdi, rax
	call	memcpy_toio@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	edx, DWORD PTR TX_BD_STATS[rip]
	or	edx, DWORD PTR TX_BD_LEN_MASK[rip]
	not	edx
	and	DWORD PTR [rsp], edx
	call	TX_BD_LEN@PLT
	mov	rdx, r15
	mov	esi, r13d
	mov	rdi, rbx
	or	DWORD PTR [rsp], eax
	call	ethoc_write_bd@PLT
	mov	rdx, r15
	mov	esi, r13d
	mov	rdi, rbx
	mov	eax, DWORD PTR TX_BD_READY[rip]
	or	DWORD PTR [rsp], eax
	call	ethoc_write_bd@PLT
	mov	eax, DWORD PTR 4[rbx]
	add	eax, DWORD PTR 8[rbx]
	cmp	DWORD PTR [rbx], eax
	je	.L11
.L6:
	mov	eax, DWORD PTR jiffies[rip]
	mov	rdi, r14
	mov	DWORD PTR [r12], eax
	call	spin_unlock_irq@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR TX_BD_PAD[rip]
	not	eax
	and	eax, DWORD PTR [rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, 4[r12]
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	mov	rdi, r12
	call	netif_stop_queue@PLT
	jmp	.L6
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ethoc_start_xmit, .-ethoc_start_xmit
	.comm	jiffies,4,4
	.comm	TX_BD_STATS,4,4
	.comm	TX_BD_READY,4,4
	.comm	TX_BD_PAD,4,4
	.comm	TX_BD_LEN_MASK,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	ETHOC_ZLEN,8,8
	.comm	ETHOC_BUFSIZ,8,8
	.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_ethoc.c_ethoc_start_xmit.c"
	.text
	.global	__aeabi_uidivmod
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"stopping queue\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ethoc_start_xmit, %function
ethoc_start_xmit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, .L12
	sub	sp, sp, #16
	mov	r0, r1
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	netdev_priv
	ldr	r3, .L12+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r2, r3
	movle	r0, #0
	movgt	r0, #1
	bl	unlikely
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r4, #16]
	add	r3, r3, #1
	str	r3, [r4, #16]
.L3:
	mov	r0, r5
	bl	dev_kfree_skb
	ldr	r3, .L12+8
	ldr	r0, [r3]
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldm	r4, {r0, r1}
	bl	__aeabi_uidivmod
	mov	r6, r1
	add	r8, r4, #12
	mov	r0, r8
	bl	spin_lock_irq
	ldr	r3, [r4]
	mov	r1, r6
	add	r3, r3, #1
	add	r2, sp, #4
	str	r3, [r4]
	mov	r0, r4
	bl	ethoc_read_bd
	ldr	r3, .L12+12
	ldr	r0, [r5]
	ldr	r3, [r3]
	cmp	r0, r3
	movge	r0, #0
	movlt	r0, #1
	bl	unlikely
	ldr	r2, .L12+16
	ldr	r3, [sp, #4]
	ldr	r2, [r2]
	cmp	r0, #0
	orrne	r3, r3, r2
	biceq	r3, r3, r2
	ldr	r0, [sp, #8]
	str	r3, [sp, #4]
	bl	phys_to_virt
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	bl	memcpy_toio
	ldr	r3, .L12+20
	ldr	r2, .L12+24
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [sp, #4]
	orr	r2, r2, r1
	bic	r3, r3, r2
	ldr	r0, [r5]
	str	r3, [sp, #4]
	bl	TX_BD_LEN
	ldr	r3, [sp, #4]
	mov	r1, r6
	orr	r3, r3, r0
	add	r2, sp, #4
	mov	r0, r4
	str	r3, [sp, #4]
	bl	ethoc_write_bd
	ldr	r2, .L12+28
	ldr	r3, [sp, #4]
	ldr	r0, [r2]
	mov	r1, r6
	orr	r3, r3, r0
	add	r2, sp, #4
	mov	r0, r4
	str	r3, [sp, #4]
	bl	ethoc_write_bd
	ldmib	r4, {r1, r3}
	ldr	r2, [r4]
	add	r3, r3, r1
	cmp	r2, r3
	beq	.L11
.L6:
	ldr	r3, .L12+32
	mov	r0, r8
	ldr	r3, [r3]
	str	r3, [r7]
	bl	spin_unlock_irq
	b	.L3
.L11:
	ldr	r1, .L12+36
	add	r0, r7, #4
	bl	dev_dbg
	mov	r0, r7
	bl	netif_stop_queue
	b	.L6
.L10:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	ETHOC_BUFSIZ
	.word	NETDEV_TX_OK
	.word	ETHOC_ZLEN
	.word	TX_BD_PAD
	.word	TX_BD_LEN_MASK
	.word	TX_BD_STATS
	.word	TX_BD_READY
	.word	jiffies
	.word	.LC0
	.size	ethoc_start_xmit, .-ethoc_start_xmit
	.comm	jiffies,4,4
	.comm	TX_BD_STATS,4,4
	.comm	TX_BD_READY,4,4
	.comm	TX_BD_PAD,4,4
	.comm	TX_BD_LEN_MASK,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	ETHOC_ZLEN,4,4
	.comm	ETHOC_BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
