	.file	"extr_arcnet.c_arcnet_timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	" - missed IRQ?"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"tx timed out%s (status=%Xh, intmask=%Xh, dest=%02Xh)\n"
	.text
	.p2align 4
	.globl	arcnet_timeout
	.type	arcnet_timeout, @function
arcnet_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	netdev_priv@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	[QWORD PTR 32[rax]]
	lea	r14, 28[rbx]
	xor	esi, esi
	mov	rdi, r14
	mov	r12d, eax
	call	spin_lock_irqsave@PLT
	test	DWORD PTR TXFREEflag[rip], r12d
	jne	.L2
	mov	eax, DWORD PTR 4[rbx]
	add	DWORD PTR 4[rbp], 1
	mov	rdi, rbp
	lea	r13, .LC0[rip]
	mov	DWORD PTR [rbx], 1
	lea	esi, 0[0+rax*8]
	or	esi, DWORD PTR NOTXcmd[rip]
	call	[QWORD PTR 48[rbx]]
.L2:
	xor	esi, esi
	add	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	call	[QWORD PTR 40[rbx]]
	mov	esi, DWORD PTR TXFREEflag[rip]
	or	esi, DWORD PTR EXCNAKflag[rip]
	mov	rdi, rbp
	or	esi, DWORD PTR 8[rbx]
	mov	DWORD PTR 8[rbx], esi
	call	[QWORD PTR 40[rbx]]
	xor	esi, esi
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
	mov	eax, DWORD PTR HZ[rip]
	mov	rdi, QWORD PTR jiffies[rip]
	lea	esi, [rax+rax*4]
	add	esi, esi
	movsx	rsi, esi
	add	rsi, QWORD PTR 16[rbx]
	call	time_after@PLT
	test	rax, rax
	jne	.L12
	cmp	DWORD PTR 4[rbx], -1
	je	.L13
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR 24[rbx]
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r9d, DWORD PTR 8[rbx]
	mov	r8d, r12d
	mov	edi, DWORD PTR D_EXTRA[rip]
	lea	rdx, .LC2[rip]
	mov	rcx, r13
	mov	rsi, rbp
	push	rax
	.cfi_def_cfa_offset 64
	call	arc_printk@PLT
	mov	rax, QWORD PTR jiffies[rip]
	cmp	DWORD PTR 4[rbx], -1
	mov	QWORD PTR 16[rbx], rax
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	jne	.L1
.L13:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	netif_wake_queue@PLT
	.cfi_endproc
.LFE0:
	.size	arcnet_timeout, .-arcnet_timeout
	.comm	jiffies,8,8
	.comm	TXFREEflag,4,4
	.comm	NOTXcmd,4,4
	.comm	HZ,4,4
	.comm	EXCNAKflag,4,4
	.comm	D_EXTRA,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_arcnet.c_arcnet_timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	" - missed IRQ?\000"
	.align	2
.LC2:
	.ascii	"tx timed out%s (status=%Xh, intmask=%Xh, dest=%02Xh"
	.ascii	")\012\000"
	.text
	.align	2
	.global	arcnet_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	arcnet_timeout, %function
arcnet_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #20
	mov	r5, r0
	bl	netdev_priv
	mov	r4, r0
	mov	r0, r5
	ldr	r3, [r4, #24]
	blx	r3
	mov	r6, r0
	ldr	r9, .L13
	add	r8, r4, #20
	mov	r0, r8
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r3, [r9]
	tst	r6, r3
	bne	.L5
	mov	r2, #1
	ldr	r1, .L13+4
	ldr	r3, [r5, #4]
	ldr	r0, [r4, #4]
	ldr	r1, [r1]
	add	r3, r3, r2
	str	r3, [r5, #4]
	orr	r1, r1, r0, lsl #3
	ldr	r3, [r4, #32]
	mov	r0, r5
	str	r2, [r4]
	blx	r3
	ldr	r7, .L13+8
.L2:
	ldr	r3, [r5]
	ldr	r2, [r4, #28]
	add	r3, r3, #1
	mov	r1, #0
	str	r3, [r5]
	mov	r0, r5
	blx	r2
	ldr	r3, .L13+12
	ldr	r1, [r9]
	ldr	r2, [r3]
	ldr	r3, [r4, #8]
	orr	r1, r1, r2
	orr	r1, r1, r3
	str	r1, [r4, #8]
	ldr	r3, [r4, #28]
	mov	r0, r5
	blx	r3
	mov	r0, r8
	mov	r1, #0
	bl	spin_unlock_irqrestore
	ldr	r3, .L13+16
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	ldr	r8, .L13+20
	add	r3, r3, r3, lsl #2
	ldr	r0, [r8]
	add	r1, r1, r3, lsl #1
	bl	time_after
	cmp	r0, #0
	bne	.L11
	ldr	r3, [r4, #4]
	cmn	r3, #1
	beq	.L12
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	ldr	r7, .L13+24
	b	.L2
.L11:
	ldr	r3, [r4, #16]
	ldr	r2, .L13+28
	str	r3, [sp, #8]
	ldr	r1, [r4, #8]
	str	r6, [sp]
	str	r1, [sp, #4]
	mov	r3, r7
	ldr	r0, [r2]
	mov	r1, r5
	ldr	r2, .L13+32
	bl	arc_printk
	ldr	r3, [r8]
	str	r3, [r4, #12]
	ldr	r3, [r4, #4]
	cmn	r3, #1
	bne	.L1
.L12:
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	netif_wake_queue
.L14:
	.align	2
.L13:
	.word	TXFREEflag
	.word	NOTXcmd
	.word	.LC0
	.word	EXCNAKflag
	.word	HZ
	.word	jiffies
	.word	.LC1
	.word	D_EXTRA
	.word	.LC2
	.size	arcnet_timeout, .-arcnet_timeout
	.comm	jiffies,4,4
	.comm	TXFREEflag,4,4
	.comm	NOTXcmd,4,4
	.comm	HZ,4,4
	.comm	EXCNAKflag,4,4
	.comm	D_EXTRA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
