	.file	"extr_rt2x00usb.c_rt2x00usb_kick_rx_entry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rt2x00usb_kick_rx_entry, @function
rt2x00usb_kick_rx_entry:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 16[rdi]
	mov	r13, QWORD PTR 8[rax]
	mov	edi, DWORD PTR 4[r13]
	call	to_usb_device_intf@PLT
	mov	edi, DWORD PTR ENTRY_OWNER_DEVICE_DATA[rip]
	mov	rsi, rbp
	mov	rbx, QWORD PTR 24[rbp]
	mov	r12, rax
	call	test_and_set_bit@PLT
	test	rax, rax
	je	.L11
.L3:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	mov	edi, DWORD PTR ENTRY_DATA_STATUS_PENDING[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	jne	.L3
	mov	rdi, rbp
	call	rt2x00lib_dmastart@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	r9d, DWORD PTR rt2x00usb_interrupt_rxdone[rip]
	mov	rdi, r12
	mov	r15d, DWORD PTR [rax]
	mov	r14d, DWORD PTR 4[rax]
	mov	DWORD PTR 12[rsp], r9d
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR [rax]
	call	usb_rcvbulkpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edi, DWORD PTR [rbx]
	mov	ecx, r14d
	push	rbp
	.cfi_def_cfa_offset 96
	mov	r9d, DWORD PTR 28[rsp]
	mov	edx, eax
	mov	r8d, r15d
	mov	rsi, r12
	call	usb_fill_bulk_urb@PLT
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, DWORD PTR [rbx]
	call	usb_submit_urb@PLT
	pop	rdx
	.cfi_def_cfa_offset 88
	pop	rcx
	.cfi_def_cfa_offset 80
	test	eax, eax
	je	.L3
	add	eax, DWORD PTR ENODEV[rip]
	je	.L12
.L5:
	mov	edi, DWORD PTR ENTRY_DATA_IO_FAILED[rip]
	mov	rsi, rbp
	call	set_bit@PLT
	mov	rdi, rbp
	call	rt2x00lib_dmadone@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR DEVICE_STATE_PRESENT[rip]
	mov	rsi, r13
	call	clear_bit@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	rt2x00usb_kick_rx_entry, .-rt2x00usb_kick_rx_entry
	.comm	rt2x00usb_interrupt_rxdone,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENTRY_OWNER_DEVICE_DATA,4,4
	.comm	ENTRY_DATA_STATUS_PENDING,4,4
	.comm	ENTRY_DATA_IO_FAILED,4,4
	.comm	ENODEV,4,4
	.comm	DEVICE_STATE_PRESENT,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_kick_rx_entry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2x00usb_kick_rx_entry, %function
rt2x00usb_kick_rx_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0, #8]
	mov	r4, r0
	ldr	r6, [r3, #4]
	sub	sp, sp, #16
	ldr	r0, [r6, #4]
	bl	to_usb_device_intf
	ldr	r2, .L13
	mov	r5, r0
	mov	r1, r4
	ldr	r0, [r2]
	ldr	r7, [r4, #12]
	bl	test_and_set_bit
	cmp	r0, #0
	beq	.L11
.L3:
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L13+4
	mov	r1, r4
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L3
	mov	r0, r4
	bl	rt2x00lib_dmastart
	ldr	r3, [r4, #8]
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r8, [r7]
	bl	usb_rcvbulkpipe
	ldr	r3, .L13+8
	ldr	r1, [r4, #4]
	mov	r2, r0
	ldr	r0, [r3]
	ldr	r3, [r1, #4]
	stmib	sp, {r0, r4}
	ldr	ip, [r1]
	mov	r0, r8
	mov	r1, r5
	str	ip, [sp]
	bl	usb_fill_bulk_urb
	ldr	r3, .L13+12
	ldr	r0, [r7]
	ldr	r1, [r3]
	bl	usb_submit_urb
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L12
.L5:
	ldr	r3, .L13+20
	mov	r1, r4
	ldr	r0, [r3]
	bl	set_bit
	mov	r0, r4
	bl	rt2x00lib_dmadone
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L13+24
	mov	r1, r6
	ldr	r0, [r3]
	bl	clear_bit
	b	.L5
.L14:
	.align	2
.L13:
	.word	ENTRY_OWNER_DEVICE_DATA
	.word	ENTRY_DATA_STATUS_PENDING
	.word	rt2x00usb_interrupt_rxdone
	.word	GFP_ATOMIC
	.word	ENODEV
	.word	ENTRY_DATA_IO_FAILED
	.word	DEVICE_STATE_PRESENT
	.size	rt2x00usb_kick_rx_entry, .-rt2x00usb_kick_rx_entry
	.comm	rt2x00usb_interrupt_rxdone,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENTRY_OWNER_DEVICE_DATA,4,4
	.comm	ENTRY_DATA_STATUS_PENDING,4,4
	.comm	ENTRY_DATA_IO_FAILED,4,4
	.comm	ENODEV,4,4
	.comm	DEVICE_STATE_PRESENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
