	.file	"extr_rt2x00usb.c_rt2x00usb_interrupt_txdone.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rt2x00usb_interrupt_txdone, @function
rt2x00usb_interrupt_txdone:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rbx, rdi
	mov	edi, DWORD PTR ENTRY_OWNER_DEVICE_DATA[rip]
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, rbp
	mov	r12, QWORD PTR [rax]
	call	test_bit@PLT
	test	eax, eax
	je	.L1
	cmp	QWORD PTR [rbx], 0
	jne	.L17
.L4:
	mov	rdi, rbp
	call	rt2x00lib_dmadone@PLT
	mov	rax, QWORD PTR 16[r12]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L5
	mov	rdi, rbp
	call	rax
.L5:
	mov	edi, DWORD PTR REQUIRE_TXSTATUS_FIFO[rip]
	lea	rsi, 12[r12]
	call	test_bit@PLT
	test	eax, eax
	jne	.L6
.L7:
	mov	edi, DWORD PTR 4[r12]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	queue_work@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, 8[r12]
	call	kfifo_is_empty@PLT
	test	eax, eax
	je	.L7
.L1:
	pop	rbx
	.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	edi, DWORD PTR ENTRY_DATA_IO_FAILED[rip]
	mov	rsi, rbp
	call	set_bit@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	rt2x00usb_interrupt_txdone, .-rt2x00usb_interrupt_txdone
	.comm	REQUIRE_TXSTATUS_FIFO,4,4
	.comm	ENTRY_OWNER_DEVICE_DATA,4,4
	.comm	ENTRY_DATA_IO_FAILED,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_rt2x00usb.c_rt2x00usb_interrupt_txdone.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2x00usb_interrupt_txdone, %function
rt2x00usb_interrupt_txdone:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #4]
	ldr	r2, .L21
	ldr	r3, [r5, #4]
	mov	r4, r0
	mov	r1, r5
	ldr	r0, [r2]
	ldr	r6, [r3]
	bl	test_bit
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L20
.L4:
	mov	r0, r5
	bl	rt2x00lib_dmadone
	ldr	r3, [r6, #16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	mov	r0, r5
	blx	r3
.L5:
	ldr	r3, .L21+4
	add	r1, r6, #12
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L6
	mov	r1, r6
	ldr	r0, [r6, #4]
	pop	{r4, r5, r6, lr}
	b	queue_work
.L6:
	add	r0, r6, #8
	bl	kfifo_is_empty
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	mov	r1, r6
	ldr	r0, [r6, #4]
	pop	{r4, r5, r6, lr}
	b	queue_work
.L20:
	ldr	r3, .L21+8
	mov	r1, r5
	ldr	r0, [r3]
	bl	set_bit
	b	.L4
.L22:
	.align	2
.L21:
	.word	ENTRY_OWNER_DEVICE_DATA
	.word	REQUIRE_TXSTATUS_FIFO
	.word	ENTRY_DATA_IO_FAILED
	.size	rt2x00usb_interrupt_txdone, .-rt2x00usb_interrupt_txdone
	.comm	REQUIRE_TXSTATUS_FIFO,4,4
	.comm	ENTRY_OWNER_DEVICE_DATA,4,4
	.comm	ENTRY_DATA_IO_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
