	.file	"extr_usb.c_carl9170_usb_rx_work.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	carl9170_usb_rx_work, @function
carl9170_usb_rx_work:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR AR9170_NUM_RX_URBS_POOL[rip]
	test	eax, eax
	jle	.L15
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 8[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, 12[rdi]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rsi, 4[rbx]
	mov	rdi, rbp
	add	r12d, 1
	call	usb_anchor_urb@PLT
	mov	rdi, rbx
	call	atomic_inc@PLT
	mov	rdi, rbp
	call	usb_free_urb@PLT
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	rdi, rbx
	call	carl9170_usb_submit_rx_urb@PLT
	cmp	DWORD PTR AR9170_NUM_RX_URBS_POOL[rip], r12d
	jle	.L1
.L5:
	mov	rdi, r13
	call	usb_get_from_anchor@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	rdi, r14
	call	atomic_dec@PLT
	mov	rdi, rbx
	call	IS_INITIALIZED@PLT
	test	rax, rax
	je	.L4
	mov	esi, DWORD PTR 4[rbp]
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, rbx
	call	carl9170_rx@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.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
.L15:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	ret
	.cfi_endproc
.LFE0:
	.size	carl9170_usb_rx_work, .-carl9170_usb_rx_work
	.comm	GFP_ATOMIC,4,4
	.comm	AR9170_NUM_RX_URBS_POOL,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_usb.c_carl9170_usb_rx_work.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	carl9170_usb_rx_work, %function
carl9170_usb_rx_work:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, .L15
	ldr	r3, [r7]
	cmp	r3, #0
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r5, r0
	mov	r6, #0
	ldr	fp, .L15+4
	add	r8, r0, #12
	add	r10, r0, #8
	add	r9, r0, #4
	b	.L5
.L4:
	mov	r1, r9
	mov	r0, r4
	bl	usb_anchor_urb
	mov	r0, r5
	bl	atomic_inc
	mov	r0, r4
	bl	usb_free_urb
	mov	r0, r5
	ldr	r1, [fp]
	bl	carl9170_usb_submit_rx_urb
	ldr	r3, [r7]
	cmp	r3, r6
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r0, r8
	bl	usb_get_from_anchor
	subs	r4, r0, #0
	add	r6, r6, #1
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r0, r10
	bl	atomic_dec
	mov	r0, r5
	bl	IS_INITIALIZED
	cmp	r0, #0
	beq	.L4
	mov	r0, r5
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	bl	carl9170_rx
	b	.L4
.L16:
	.align	2
.L15:
	.word	AR9170_NUM_RX_URBS_POOL
	.word	GFP_ATOMIC
	.size	carl9170_usb_rx_work, .-carl9170_usb_rx_work
	.comm	GFP_ATOMIC,4,4
	.comm	AR9170_NUM_RX_URBS_POOL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
