	.file	"extr_qlcnic_main.c_qlcnic_tx_timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Tx timeout, reset the adapter.\n"
	.align 8
.LC1:
	.string	"Tx timeout, reset adapter context.\n"
	.text
	.p2align 4
	.type	qlcnic_tx_timeout, @function
qlcnic_tx_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	edi, DWORD PTR __QLCNIC_RESETTING[rip]
	lea	rsi, 24[rax]
	mov	rbp, rax
	call	test_bit@PLT
	test	rax, rax
	je	.L17
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rbp
	call	qlcnic_dump_rings@PLT
	mov	rax, QWORD PTR 0[rbp]
	add	rax, 1
	cmp	rax, QWORD PTR QLCNIC_MAX_TX_TIMEOUTS[rip]
	mov	QWORD PTR 0[rbp], rax
	jge	.L7
	mov	rdi, QWORD PTR 16[rbp]
	call	netif_msg_tx_err@PLT
	test	rax, rax
	je	.L18
.L7:
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	netdev_err@PLT
	mov	rdi, rbp
	call	qlcnic_82xx_check@PLT
	test	rax, rax
	je	.L19
	mov	DWORD PTR 8[rbp], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	netdev_err@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, rbp
	call	qlcnic_83xx_check@PLT
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR QLCNIC_FORCE_FW_DUMP_KEY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qlcnic_83xx_idc_request_reset@PLT
	.cfi_endproc
.LFE0:
	.size	qlcnic_tx_timeout, .-qlcnic_tx_timeout
	.comm	__QLCNIC_RESETTING,4,4
	.comm	QLCNIC_MAX_TX_TIMEOUTS,8,8
	.comm	QLCNIC_FORCE_FW_DUMP_KEY,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_qlcnic_main.c_qlcnic_tx_timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Tx timeout, reset the adapter.\012\000"
	.align	2
.LC1:
	.ascii	"Tx timeout, reset adapter context.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_tx_timeout, %function
qlcnic_tx_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	netdev_priv
	ldr	r3, .L19
	add	r1, r0, #12
	mov	r4, r0
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	mov	r0, r4
	bl	qlcnic_dump_rings
	ldr	r2, .L19+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	add	r3, r3, #1
	cmp	r3, r2
	str	r3, [r4]
	bge	.L7
	ldr	r0, [r4, #8]
	bl	netif_msg_tx_err
	cmp	r0, #0
	beq	.L17
.L7:
	ldr	r1, .L19+8
	mov	r0, r5
	bl	netdev_err
	mov	r0, r4
	bl	qlcnic_82xx_check
	cmp	r0, #0
	beq	.L18
	mov	r3, #1
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L17:
	mov	r0, r5
	ldr	r1, .L19+12
	bl	netdev_err
	mov	r2, #1
	ldr	r3, [r4, #8]
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r4
	bl	qlcnic_83xx_check
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L19+16
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	qlcnic_83xx_idc_request_reset
.L20:
	.align	2
.L19:
	.word	__QLCNIC_RESETTING
	.word	QLCNIC_MAX_TX_TIMEOUTS
	.word	.LC0
	.word	.LC1
	.word	QLCNIC_FORCE_FW_DUMP_KEY
	.size	qlcnic_tx_timeout, .-qlcnic_tx_timeout
	.comm	__QLCNIC_RESETTING,4,4
	.comm	QLCNIC_MAX_TX_TIMEOUTS,4,4
	.comm	QLCNIC_FORCE_FW_DUMP_KEY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
