	.file	"extr_main.c_wl1271_tx_dummy_packet.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	wl1271_tx_dummy_packet
	.type	wl1271_tx_dummy_packet, @function
wl1271_tx_dummy_packet:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR WL1271_FLAG_DUMMY_PACKET_PENDING[rip]
	call	test_bit@PLT
	test	rax, rax
	je	.L7
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbp]
	xor	r13d, r13d
	lea	r12, 4[rbp]
	call	skb_get_queue_mapping@PLT
	mov	edi, eax
	call	wl1271_tx_get_queue@PLT
	mov	rsi, r13
	mov	rdi, r12
	mov	ebx, eax
	call	spin_lock_irqsave@PLT
	mov	edi, DWORD PTR WL1271_FLAG_DUMMY_PACKET_PENDING[rip]
	mov	rsi, rbp
	call	set_bit@PLT
	mov	rdx, QWORD PTR 8[rbp]
	movsx	rax, ebx
	mov	rsi, r13
	mov	rdi, r12
	add	DWORD PTR [rdx+rax*4], 1
	call	spin_unlock_irqrestore@PLT
	mov	edi, DWORD PTR WL1271_FLAG_FW_TX_BUSY[rip]
	mov	rsi, rbp
	call	test_bit@PLT
	test	rax, rax
	jne	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	wlcore_tx_work_locked@PLT
	.cfi_endproc
.LFE0:
	.size	wl1271_tx_dummy_packet, .-wl1271_tx_dummy_packet
	.comm	WL1271_FLAG_FW_TX_BUSY,4,4
	.comm	WL1271_FLAG_DUMMY_PACKET_PENDING,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_wl1271_tx_dummy_packet.c"
	.text
	.align	2
	.global	wl1271_tx_dummy_packet
	.syntax unified
	.arm
	.fpu softvfp
	.type	wl1271_tx_dummy_packet, %function
wl1271_tx_dummy_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L8
	mov	r1, r0
	mov	r4, r0
	ldr	r0, [r5]
	bl	test_bit
	cmp	r0, #0
	beq	.L7
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, [r4, #12]
	bl	skb_get_queue_mapping
	bl	wl1271_tx_get_queue
	mov	r8, #0
	mov	r6, r0
	add	r7, r4, #4
	mov	r1, r8
	mov	r0, r7
	bl	spin_lock_irqsave
	mov	r1, r4
	ldr	r0, [r5]
	bl	set_bit
	ldr	r2, [r4, #8]
	mov	r1, r8
	ldr	r3, [r2, r6, lsl #2]
	mov	r0, r7
	add	r3, r3, #1
	str	r3, [r2, r6, lsl #2]
	bl	spin_unlock_irqrestore
	ldr	r3, .L8+4
	mov	r1, r4
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, r8
	bne	.L3
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	wlcore_tx_work_locked
.L9:
	.align	2
.L8:
	.word	WL1271_FLAG_DUMMY_PACKET_PENDING
	.word	WL1271_FLAG_FW_TX_BUSY
	.size	wl1271_tx_dummy_packet, .-wl1271_tx_dummy_packet
	.comm	WL1271_FLAG_FW_TX_BUSY,4,4
	.comm	WL1271_FLAG_DUMMY_PACKET_PENDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
