	.file	"extr_sta.c___cw1200_cqm_bssloss_sm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"[STA] CQM BSSLOSS_SM: state: %d init %d good %d bad: %d txlock: %d uj: %d\n"
	.text
	.p2align 4
	.globl	__cw1200_cqm_bssloss_sm
	.type	__cw1200_cqm_bssloss_sm, @function
__cw1200_cqm_bssloss_sm:
.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
	lea	r14, 20[rdi]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	lea	r15, 28[rbx]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 40[rdi], 0
	mov	rdi, r14
	call	cancel_work_sync@PLT
	mov	rdx, QWORD PTR 32[rbx]
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rdx
	call	atomic_read@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	esi, DWORD PTR [rbx]
	mov	r8d, r13d
	mov	rdx, QWORD PTR 16[rsp]
	lea	rdi, .LC0[rip]
	mov	r9d, eax
	mov	ecx, r12d
	push	rdx
	.cfi_def_cfa_offset 96
	mov	edx, ebp
	call	pr_debug@PLT
	cmp	QWORD PTR 32[rbx], 0
	pop	rdi
	.cfi_def_cfa_offset 88
	pop	r8
	.cfi_def_cfa_offset 80
	jne	.L1
	test	ebp, ebp
	jne	.L15
	test	r12d, r12d
	jne	.L16
	test	r13d, r13d
	je	.L8
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 2
	jg	.L1
	mov	edx, DWORD PTR cw1200_bssloss_mitigation[rip]
	test	edx, edx
	je	.L1
.L6:
	add	eax, 1
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, QWORD PTR 8[rbx]
	xor	edx, edx
	mov	DWORD PTR [rbx], eax
	call	ieee80211_nullfunc_get@PLT
	xor	edi, edi
	test	rax, rax
	mov	r12, rax
	sete	dil
	call	WARN_ON@PLT
	test	r12, r12
	je	.L1
	mov	edi, DWORD PTR 4[rbx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdx, r12
	xor	esi, esi
	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
	jmp	cw1200_tx@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, 16[rbx]
	call	cancel_delayed_work_sync@PLT
	mov	DWORD PTR [rbx], 0
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR HZ[rip]
	lea	rsi, 16[rbx]
	call	queue_delayed_work@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR [rbx], 0
	mov	esi, DWORD PTR [rax]
	test	esi, esi
	jne	.L1
	mov	rdi, r15
	call	atomic_read@PLT
	test	eax, eax
	jne	.L1
	mov	ecx, DWORD PTR cw1200_bssloss_mitigation[rip]
	test	ecx, ecx
	je	.L1
	mov	eax, DWORD PTR [rbx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, 16[rbx]
	call	cancel_delayed_work_sync@PLT
	mov	DWORD PTR [rbx], 0
	mov	edi, DWORD PTR 24[rbx]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rsi, r14
	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
	jmp	queue_work@PLT
	.cfi_endproc
.LFE0:
	.size	__cw1200_cqm_bssloss_sm, .-__cw1200_cqm_bssloss_sm
	.comm	cw1200_bssloss_mitigation,4,4
	.comm	HZ,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_sta.c___cw1200_cqm_bssloss_sm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[STA] CQM BSSLOSS_SM: state: %d init %d good %d bad"
	.ascii	": %d txlock: %d uj: %d\012\000"
	.text
	.align	2
	.global	__cw1200_cqm_bssloss_sm
	.syntax unified
	.arm
	.fpu softvfp
	.type	__cw1200_cqm_bssloss_sm, %function
__cw1200_cqm_bssloss_sm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r0, #0
	mov	r8, r4
	add	r10, r4, #16
	sub	sp, sp, #16
	str	r0, [r4, #32]
	mov	r0, r10
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	bl	cancel_work_sync
	ldr	r9, [r8], #24
	mov	r0, r8
	bl	atomic_read
	ldr	r3, [r4, #28]
	mov	r1, r9
	stmib	sp, {r0, r3}
	mov	r2, r5
	mov	r3, r6
	ldr	r0, .L23
	str	r7, [sp]
	bl	pr_debug
	ldr	r9, [r4, #28]
	cmp	r9, #0
	bne	.L1
	cmp	r5, #0
	bne	.L21
	cmp	r6, #0
	bne	.L22
	cmp	r7, #0
	beq	.L8
	ldr	r3, [r4]
	cmp	r3, #2
	bgt	.L1
	ldr	r2, .L23+4
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L1
.L6:
	ldmib	r4, {r0, r1}
	add	r3, r3, #1
	mov	r2, #0
	str	r3, [r4]
	bl	ieee80211_nullfunc_get
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r5, #0
	beq	.L1
	mov	r2, r5
	mov	r1, #0
	ldr	r0, [r4, #4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	cw1200_tx
.L8:
	add	r0, r4, #12
	bl	cancel_delayed_work_sync
	str	r7, [r4]
.L1:
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	ldr	r3, .L23+8
	ldr	r0, [r4, #20]
	ldr	r2, [r3]
	add	r1, r4, #12
	bl	queue_delayed_work
	ldr	r3, [r4, #8]
	str	r9, [r4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L1
	mov	r0, r8
	bl	atomic_read
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L1
	ldr	r3, [r4]
	b	.L6
.L22:
	add	r0, r4, #12
	bl	cancel_delayed_work_sync
	mov	r1, r10
	ldr	r0, [r4, #20]
	str	r5, [r4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	queue_work
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	cw1200_bssloss_mitigation
	.word	HZ
	.size	__cw1200_cqm_bssloss_sm, .-__cw1200_cqm_bssloss_sm
	.comm	cw1200_bssloss_mitigation,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
