	.file	"extr_coid.c_zfiWlanQueryBssList.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zfiWlanQueryBssList
	.type	zfiWlanQueryBssList, @function
zfiWlanQueryBssList:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, 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, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	rbx, 64[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	zmw_get_wlan_dev@PLT
	xor	eax, eax
	call	zmw_declare_for_critical_section@PLT
	mov	QWORD PTR 8[rbp], rbx
	mov	rdi, r13
	call	zmw_enter_critical_section@PLT
	mov	rax, QWORD PTR wd[rip]
	mov	r12, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 0[rbp], eax
	test	eax, eax
	jle	.L2
	xor	ebp, ebp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r12, rax
	mov	rax, QWORD PTR wd[rip]
	lea	rdx, 8[rbx]
	add	ebp, 1
	mov	QWORD PTR [rbx], rdx
	mov	rbx, rdx
	cmp	DWORD PTR [rax], ebp
	jle	.L2
.L5:
	mov	edx, 8
	mov	rsi, r12
	mov	rdi, rbx
	call	zfMemoryCopy@PLT
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR wd[rip]
	xor	edi, edi
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	cmp	eax, ebp
	sete	dil
	add	ebp, 1
	call	zm_assert@PLT
	mov	rax, QWORD PTR wd[rip]
	cmp	DWORD PTR [rax], ebp
	jg	.L5
.L2:
	mov	rdi, r13
	call	zmw_leave_critical_section@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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	zfScanMgrScanAck@PLT
	.cfi_endproc
.LFE0:
	.size	zfiWlanQueryBssList, .-zfiWlanQueryBssList
	.comm	wd,8,8
	.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_coid.c_zfiWlanQueryBssList.c"
	.text
	.align	2
	.global	zfiWlanQueryBssList
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfiWlanQueryBssList, %function
zfiWlanQueryBssList:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r7, r0
	add	r4, r1, #32
	ldr	r8, .L10
	bl	zmw_get_wlan_dev
	bl	zmw_declare_for_critical_section
	mov	r0, r7
	str	r4, [r5, #4]
	bl	zmw_enter_critical_section
	ldr	r2, [r8]
	ldm	r2, {r3, r6}
	cmp	r3, #0
	str	r3, [r5]
	ble	.L2
	mov	r5, #0
	b	.L5
.L9:
	str	r2, [r4]
	mov	r6, r3
	mov	r4, r2
.L4:
	ldr	r3, [r8]
	add	r5, r5, #1
	ldr	r3, [r3]
	cmp	r3, r5
	ble	.L2
.L5:
	mov	r2, #4
	mov	r1, r6
	mov	r0, r4
	bl	zfMemoryCopy
	ldr	r3, [r6]
	add	r2, r4, #4
	cmp	r3, #0
	bne	.L9
	ldr	r3, [r8]
	ldr	r0, [r3]
	sub	r0, r0, #1
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	zm_assert
	b	.L4
.L2:
	mov	r0, r7
	bl	zmw_leave_critical_section
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	zfScanMgrScanAck
.L11:
	.align	2
.L10:
	.word	wd
	.size	zfiWlanQueryBssList, .-zfiWlanQueryBssList
	.comm	wd,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
