	.file	"extr_main.c_wl1251_op_tx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"op_tx: tx_queue full, stop queues"
	.text
	.p2align 4
	.type	wl1251_op_tx, @function
wl1251_op_tx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR [rdi]
	lea	rbp, 12[rbx]
	mov	rdi, rbp
	call	skb_queue_tail@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, 16[rbx]
	call	ieee80211_queue_work@PLT
	mov	rdi, rbp
	call	skb_queue_len@PLT
	cmp	rax, QWORD PTR WL1251_TX_QUEUE_HIGH_WATERMARK[rip]
	jge	.L5
	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
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR DEBUG_TX[rip]
	lea	rbp, 4[rbx]
	xor	r12d, r12d
	lea	rsi, .LC0[rip]
	call	wl1251_debug@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR 8[rbx]
	call	ieee80211_stop_queues@PLT
	mov	DWORD PTR [rbx], 1
	mov	rsi, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	wl1251_op_tx, .-wl1251_op_tx
	.comm	WL1251_TX_QUEUE_HIGH_WATERMARK,8,8
	.comm	DEBUG_TX,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_main.c_wl1251_op_tx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"op_tx: tx_queue full, stop queues\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl1251_op_tx, %function
wl1251_op_tx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	mov	r1, r2
	add	r5, r4, #12
	mov	r0, r5
	bl	skb_queue_tail
	add	r1, r4, #16
	ldr	r0, [r4, #8]
	bl	ieee80211_queue_work
	mov	r0, r5
	bl	skb_queue_len
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r0, r3
	poplt	{r4, r5, r6, pc}
	mov	r6, #0
	ldr	r3, .L5+4
	add	r5, r4, #4
	ldr	r0, [r3]
	ldr	r1, .L5+8
	bl	wl1251_debug
	mov	r1, r6
	mov	r0, r5
	bl	spin_lock_irqsave
	ldr	r0, [r4, #8]
	bl	ieee80211_stop_queues
	mov	r3, #1
	mov	r1, r6
	mov	r0, r5
	str	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	spin_unlock_irqrestore
.L6:
	.align	2
.L5:
	.word	WL1251_TX_QUEUE_HIGH_WATERMARK
	.word	DEBUG_TX
	.word	.LC0
	.size	wl1251_op_tx, .-wl1251_op_tx
	.comm	WL1251_TX_QUEUE_HIGH_WATERMARK,4,4
	.comm	DEBUG_TX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
