	.file	"extr_rt2800usb.c_rt2800usb_entry_txstatus_timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"TX status timeout for entry %d in queue %d\n"
	.text
	.p2align 4
	.type	rt2800usb_entry_txstatus_timeout, @function
rt2800usb_entry_txstatus_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, 24[rdi]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR ENTRY_DATA_STATUS_PENDING[rip]
	call	test_bit@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	r12, QWORD PTR 16[rbx]
	mov	edi, 100
	call	msecs_to_jiffies@PLT
	mov	edi, DWORD PTR jiffies[rip]
	lea	rsi, [r12+rax]
	call	time_after@PLT
	mov	edi, eax
	mov	r12d, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR 4[rax]
	mov	ecx, DWORD PTR [rax]
	call	rt2x00_warn@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rt2800usb_entry_txstatus_timeout, .-rt2800usb_entry_txstatus_timeout
	.comm	jiffies,4,4
	.comm	ENTRY_DATA_STATUS_PENDING,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_rt2800usb.c_rt2800usb_entry_txstatus_timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TX status timeout for entry %d in queue %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2800usb_entry_txstatus_timeout, %function
rt2800usb_entry_txstatus_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	push	{r4, r5, r6, lr}
	add	r1, r0, #12
	mov	r5, r0
	ldr	r0, [r3]
	bl	test_bit
	subs	r4, r0, #0
	bne	.L11
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L12+4
	mov	r0, #100
	ldr	r6, [r3]
	ldr	r4, [r5, #8]
	bl	msecs_to_jiffies
	mov	r1, r0
	mov	r0, r6
	add	r1, r4, r1
	bl	time_after
	mov	r4, r0
	bl	unlikely
	cmp	r0, #0
	beq	.L1
	ldm	r5, {r1, r2}
	ldr	r3, [r1]
	ldr	r0, [r1, #4]
	ldr	r1, .L12+8
	bl	rt2x00_warn
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	ENTRY_DATA_STATUS_PENDING
	.word	jiffies
	.word	.LC0
	.size	rt2800usb_entry_txstatus_timeout, .-rt2800usb_entry_txstatus_timeout
	.comm	jiffies,4,4
	.comm	ENTRY_DATA_STATUS_PENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
