	.file	"extr_rt2x00queue.c_rt2x00queue_get_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Entry requested from invalid index type (%d)\n"
	.text
	.p2align 4
	.globl	rt2x00queue_get_entry
	.type	rt2x00queue_get_entry, @function
rt2x00queue_get_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	xor	edi, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR Q_INDEX_MAX[rip], r12d
	setbe	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L6
	lea	rbp, 8[rbx]
	xor	r13d, r13d
	mov	rsi, r13
	mov	rdi, rbp
	call	spin_lock_irqsave@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rsi, r13
	mov	rdi, rbp
	mov	rdx, QWORD PTR [rax+r12*8]
	mov	rax, QWORD PTR 16[rbx]
	lea	r12, [rax+rdx*4]
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbx]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	xor	r12d, r12d
	call	rt2x00_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rt2x00queue_get_entry, .-rt2x00queue_get_entry
	.comm	Q_INDEX_MAX,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_rt2x00queue.c_rt2x00queue_get_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Entry requested from invalid index type (%d)\012\000"
	.text
	.align	2
	.global	rt2x00queue_get_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2x00queue_get_entry, %function
rt2x00queue_get_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r3]
	mov	r5, r1
	cmp	r0, r1
	movhi	r0, #0
	movls	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L6
	mov	r7, #0
	add	r6, r4, #4
	mov	r1, r7
	mov	r0, r6
	bl	spin_lock_irqsave
	ldr	r3, [r4]
	ldr	r4, [r4, #8]
	ldr	r3, [r3, r5, lsl #2]
	mov	r1, r7
	add	r4, r4, r3, lsl #2
	mov	r0, r6
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, [r4, #12]
	mov	r4, #0
	mov	r2, r5
	ldr	r1, .L7+4
	bl	rt2x00_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	Q_INDEX_MAX
	.word	.LC0
	.size	rt2x00queue_get_entry, .-rt2x00queue_get_entry
	.comm	Q_INDEX_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
