	.file	"extr_kaweth.c_kaweth_start_xmit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"kaweth failed tx_urb %d\n"
	.text
	.p2align 4
	.type	kaweth_start_xmit, @function
kaweth_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
	mov	r13, rdi
	mov	rdi, rsi
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	netdev_priv@PLT
	mov	rbp, rax
	mov	rdi, rax
	call	spin_lock_irq@PLT
	mov	rdi, rbp
	call	kaweth_async_set_rx_mode@PLT
	mov	rdi, r12
	call	netif_stop_queue@PLT
	mov	edi, DWORD PTR 32[rbp]
	call	IS_BLOCKED@PLT
	test	rax, rax
	je	.L9
.L2:
	add	DWORD PTR 8[r12], 1
	mov	rdi, r12
	call	netif_start_queue@PLT
	mov	rdi, r13
	call	dev_kfree_skb_irq@PLT
.L6:
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	mov	eax, DWORD PTR NETDEV_TX_OK[rip]
	add	rsp, 8
	.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
.L9:
	.cfi_restore_state
	mov	esi, 2
	mov	rdi, r13
	call	skb_cow_head@PLT
	test	rax, rax
	jne	.L10
	mov	esi, 2
	mov	rdi, r13
	call	__skb_push@PLT
	mov	r14, rax
	mov	eax, DWORD PTR 0[r13]
	lea	edi, -2[rax]
	call	cpu_to_le16@PLT
	mov	esi, 2
	mov	DWORD PTR [r14], eax
	mov	edi, DWORD PTR 16[rbp]
	mov	r15d, DWORD PTR kaweth_usb_transmit_complete[rip]
	mov	ebx, DWORD PTR 0[r13]
	mov	QWORD PTR 24[rbp], r13
	call	usb_sndbulkpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	esi, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 4[rbp]
	push	rbp
	.cfi_def_cfa_offset 80
	mov	edx, eax
	mov	rcx, r14
	mov	r9d, r15d
	mov	r8d, ebx
	call	usb_fill_bulk_urb@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	call	usb_submit_urb@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR 0[r13]
	add	DWORD PTR 4[r12], 1
	add	DWORD PTR [r12], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	add	DWORD PTR 8[r12], 1
	mov	rdi, r12
	call	netif_start_queue@PLT
	mov	rdi, rbp
	call	spin_unlock_irq@PLT
	mov	rdi, r13
	call	dev_kfree_skb_any@PLT
	mov	eax, DWORD PTR NETDEV_TX_OK[rip]
	add	rsp, 8
	.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
.L11:
	.cfi_restore_state
	lea	rdi, 12[r12]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_warn@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	kaweth_start_xmit, .-kaweth_start_xmit
	.comm	kaweth_usb_transmit_complete,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	GFP_ATOMIC,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_kaweth.c_kaweth_start_xmit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"kaweth failed tx_urb %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kaweth_start_xmit, %function
kaweth_start_xmit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	sub	sp, sp, #16
	mov	r0, r1
	mov	r4, r1
	bl	netdev_priv
	mov	r5, r0
	bl	spin_lock_irq
	mov	r0, r5
	bl	kaweth_async_set_rx_mode
	mov	r0, r4
	bl	netif_stop_queue
	ldr	r0, [r5, #20]
	bl	IS_BLOCKED
	cmp	r0, #0
	beq	.L9
.L2:
	ldr	r3, [r4, #8]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r4, #8]
	bl	netif_start_queue
	mov	r0, r6
	bl	dev_kfree_skb_irq
.L6:
	mov	r0, r5
	bl	spin_unlock_irq
	ldr	r3, .L12
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r1, #2
	mov	r0, r6
	bl	skb_cow_head
	subs	r8, r0, #0
	bne	.L10
	mov	r1, #2
	mov	r0, r6
	bl	__skb_push
	ldr	r2, [r6]
	mov	r7, r0
	sub	r0, r2, #2
	bl	cpu_to_le16
	str	r0, [r7]
	ldr	r9, [r5, #12]
	mov	r1, #2
	mov	r0, r9
	str	r6, [r5, #16]
	ldr	r10, [r5, #4]
	bl	usb_sndbulkpipe
	ldr	r3, .L12+4
	ldr	ip, [r6]
	ldr	lr, [r3]
	mov	r2, r0
	mov	r1, r9
	mov	r3, r7
	stm	sp, {ip, lr}
	mov	r0, r10
	str	r5, [sp, #8]
	bl	usb_fill_bulk_urb
	ldr	r3, .L12+8
	ldr	r0, [r5, #4]
	ldr	r1, [r3]
	str	r8, [r5, #8]
	bl	usb_submit_urb
	subs	r2, r0, #0
	bne	.L11
	ldm	r4, {r2, r3}
	ldr	r1, [r6]
	add	r3, r3, #1
	add	r2, r2, r1
	stm	r4, {r2, r3}
	b	.L6
.L10:
	ldr	r3, [r4, #8]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r4, #8]
	bl	netif_start_queue
	mov	r0, r5
	bl	spin_unlock_irq
	mov	r0, r6
	bl	dev_kfree_skb_any
	ldr	r3, .L12
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r1, .L12+12
	add	r0, r4, #12
	bl	dev_warn
	b	.L2
.L13:
	.align	2
.L12:
	.word	NETDEV_TX_OK
	.word	kaweth_usb_transmit_complete
	.word	GFP_ATOMIC
	.word	.LC0
	.size	kaweth_start_xmit, .-kaweth_start_xmit
	.comm	kaweth_usb_transmit_complete,4,4
	.comm	NETDEV_TX_OK,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
