	.file	"extr_common.c_il_dealloc_bcast_stations.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	il_dealloc_bcast_stations
	.type	il_dealloc_bcast_stations, @function
il_dealloc_bcast_stations:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 8[rdi]
	xor	esi, esi
	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
	mov	rdi, r13
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock_irqsave@PLT
	mov	eax, DWORD PTR 24[rbp]
	test	eax, eax
	jle	.L2
	mov	rax, QWORD PTR 16[rbp]
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12, rbx
	sal	r12, 4
	lea	rdx, [rax+r12]
	mov	ecx, DWORD PTR [rdx]
	test	DWORD PTR IL_STA_BCAST[rip], ecx
	je	.L3
	mov	eax, DWORD PTR IL_STA_UCODE_ACTIVE[rip]
	not	eax
	and	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR 0[rbp]
	lea	rdi, -1[rax]
	mov	QWORD PTR 0[rbp], rdi
	shr	rdi, 63
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, QWORD PTR 8[rax+r12]
	call	kfree@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR 8[rax+r12], 0
.L3:
	add	rbx, 1
	cmp	DWORD PTR 24[rbp], ebx
	jg	.L4
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	xor	esi, esi
	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	spin_unlock_irqrestore@PLT
	.cfi_endproc
.LFE0:
	.size	il_dealloc_bcast_stations, .-il_dealloc_bcast_stations
	.comm	IL_STA_UCODE_ACTIVE,4,4
	.comm	IL_STA_BCAST,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_common.c_il_dealloc_bcast_stations.c"
	.text
	.align	2
	.global	il_dealloc_bcast_stations
	.syntax unified
	.arm
	.fpu softvfp
	.type	il_dealloc_bcast_stations, %function
il_dealloc_bcast_stations:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	add	r8, r0, #4
	mov	r0, r8
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r0, [r5, #12]
	cmp	r0, #0
	ble	.L2
	mov	r4, #0
	mov	r7, r4
	ldr	r2, [r5, #8]
	ldr	r9, .L11
	ldr	r10, .L11+4
.L4:
	ldr	r3, [r2, r4, lsl #3]
	ldr	r1, [r9]
	lsl	r6, r4, #3
	tst	r3, r1
	beq	.L3
	ldr	r0, [r10]
	ldr	r1, [r5]
	bic	r3, r3, r0
	sub	r1, r1, #1
	str	r3, [r2, r4, lsl #3]
	lsr	r0, r1, #31
	str	r1, [r5]
	bl	BUG_ON
	ldr	r3, [r5, #8]
	add	r3, r3, r6
	ldr	r0, [r3, #4]
	bl	kfree
	ldr	r2, [r5, #8]
	ldr	r0, [r5, #12]
	add	r6, r2, r6
	str	r7, [r6, #4]
.L3:
	add	r4, r4, #1
	cmp	r0, r4
	bgt	.L4
.L2:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L12:
	.align	2
.L11:
	.word	IL_STA_BCAST
	.word	IL_STA_UCODE_ACTIVE
	.size	il_dealloc_bcast_stations, .-il_dealloc_bcast_stations
	.comm	IL_STA_UCODE_ACTIVE,4,4
	.comm	IL_STA_BCAST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
