	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_scan_sched_scan_ssid_list ## -- Begin function wlcore_scan_sched_scan_ssid_list
	.p2align	4, 0x90
_wlcore_scan_sched_scan_ssid_list:      ## @wlcore_scan_sched_scan_ssid_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	8(%rdx), %r14
	movq	16(%rdx), %r12
	movq	_DEBUG_CMD@GOTPCREL(%rip), %rax
	movq	_DEBUG_SCAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_12
## %bb.1:
	leaq	-1(%rsi), %rcx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %esi
	leaq	48(%r12), %rdi
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ebx, %ebx
	cmpq	$0, -48(%rdi)
	setg	%bl
	addl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	$0, -32(%rdi)
	setg	%dl
	addl	%ebx, %edx
	xorl	%ebx, %ebx
	cmpq	$0, -16(%rdi)
	setg	%bl
	addl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	$0, (%rdi)
	setg	%dl
	addl	%ebx, %edx
	addq	$4, %rcx
	addq	$64, %rdi
	cmpq	%rcx, %rsi
	jne	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	shlq	$4, %rcx
	addq	%r12, %rcx
	shlq	$4, %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	cmpq	$0, (%rcx,%rsi)
	setg	%dil
	addl	%edi, %edx
	addq	$16, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_7
LBB0_8:
	testl	%edx, %edx
	je	LBB0_12
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movb	$1, %bl
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
LBB0_10:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.16:
	movq	%rax, %r13
	movl	(%r15), %eax
	movl	%eax, 16(%r13)
	testb	%bl, %bl
	je	LBB0_22
## %bb.17:
	movq	_SCAN_SSID_FILTER_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	jle	LBB0_50
## %bb.18:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	addq	$8, %r14
	xorl	%ebx, %ebx
	movq	_SCAN_SSID_TYPE_HIDDEN@GOTPCREL(%rip), %r15
	movq	_SCAN_SSID_TYPE_PUBLIC@GOTPCREL(%rip), %r12
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rcx), %rcx
	movq	8(%r13), %rsi
	leaq	(%rax,%rax,2), %rax
	movq	%rcx, 8(%rsi,%rax,8)
	movq	%rdx, (%rsi,%rax,8)
	movl	16(%rsi,%rax,8), %edi
	movl	(%r14), %esi
	callq	_memcpy
	movq	(%r13), %rax
	incq	%rax
	movq	%rax, (%r13)
	incq	%rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	4(%rcx), %rcx
	addq	$16, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_49
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r14), %rdx
	movq	%r15, %rcx
	testq	%rdx, %rdx
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rcx
	jmp	LBB0_21
LBB0_15:
	movq	_SCAN_SSID_FILTER_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_44
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
                                        ## implicit-def: $ebx
	jmp	LBB0_43
LBB0_22:
	movq	_SCAN_SSID_FILTER_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_27
## %bb.23:
	addq	$8, %r12
	xorl	%ebx, %ebx
	movq	_SCAN_SSID_TYPE_PUBLIC@GOTPCREL(%rip), %r14
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_27
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14), %rax
	movq	(%r13), %rcx
	movq	8(%r13), %rsi
	leaq	(%rcx,%rcx,2), %rcx
	movq	%rax, 8(%rsi,%rcx,8)
	movq	%rdx, (%rsi,%rcx,8)
	movl	16(%rsi,%rcx,8), %edi
	movl	(%r12), %esi
	callq	_memcpy
	incq	(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	jmp	LBB0_26
LBB0_27:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	cmpl	$1, %eax
	jg	LBB0_30
## %bb.28:
	jne	LBB0_49
## %bb.29:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	cmpq	$0, (%rcx)
	jle	LBB0_49
LBB0_30:
	xorl	%ebx, %ebx
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	%ecx, %ecx
	cmpq	%rcx, %rax
	jne	LBB0_47
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_31:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_36 Depth 2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	%rbx, %r14
	shlq	$4, %r14
	movq	(%rcx,%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_48
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	$16, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_31 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rsi
	cmpq	-16(%rsi,%r15), %rdx
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	movl	8(%rcx,%r14), %edi
	movl	(%rsi,%r15), %esi
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_45
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	(%r13), %rax
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=2
	leaq	1(%r12), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_34
## %bb.40:                              ##   in Loop: Header=BB0_36 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx,%r14), %rdx
	addq	$24, %r15
	incq	%r12
	jmp	LBB0_36
LBB0_45:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	%r12d, %ecx
	movq	_SCAN_SSID_TYPE_HIDDEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movq	%rax, 8(%rdx,%rsi,8)
	movq	(%r13), %rax
	cmpq	%rcx, %rax
	je	LBB0_41
LBB0_47:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
LBB0_48:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_31
LBB0_49:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_50:
	movq	_CMD_CONNECTION_SCAN_SSID_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	$24, %ecx
	xorl	%r8d, %r8d
	callq	_wl1271_cmd_send
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_42
## %bb.51:
	leaq	L_.str.1(%rip), %rdi
	callq	_wl1271_error
	jmp	LBB0_42
LBB0_41:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_42:
	movq	%r13, %rdi
	callq	_kfree
LBB0_43:
	testl	%r14d, %r14d
	cmovsl	%r14d, %ebx
LBB0_44:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_CMD,4,2                  ## @DEBUG_CMD
	.comm	_DEBUG_SCAN,4,2                 ## @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd sched scan ssid list"

	.comm	_SCAN_SSID_FILTER_ANY,4,2       ## @SCAN_SSID_FILTER_ANY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SCAN_SSID_FILTER_DISABLED,4,2  ## @SCAN_SSID_FILTER_DISABLED
	.comm	_SCAN_SSID_TYPE_HIDDEN,8,3      ## @SCAN_SSID_TYPE_HIDDEN
	.comm	_SCAN_SSID_TYPE_PUBLIC,8,3      ## @SCAN_SSID_TYPE_PUBLIC
	.comm	_SCAN_SSID_FILTER_LIST,4,2      ## @SCAN_SSID_FILTER_LIST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CMD_CONNECTION_SCAN_SSID_CFG,4,2 ## @CMD_CONNECTION_SCAN_SSID_CFG
L_.str.1:                               ## @.str.1
	.asciz	"cmd sched scan ssid list failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_scan_sched_scan_ssid_list ; -- Begin function wlcore_scan_sched_scan_ssid_list
	.p2align	2
_wlcore_scan_sched_scan_ssid_list:      ; @wlcore_scan_sched_scan_ssid_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DEBUG_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_CMD@GOTPAGEOFF]
	ldp	x23, x24, [x2, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DEBUG_SCAN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEBUG_SCAN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	cmp	w8, #9
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	mov	w10, #0
	b	LBB0_6
LBB0_3:
	ands	x9, x8, #0x7
	mov	w10, #8
	csel	x9, x10, x9, eq
	sub	x9, x8, x9
	movi.2d	v0, #0000000000000000
	add	x10, x24, #64
	mov	x11, x9
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x12, x10, #64
	ld2.2d	{ v4, v5 }, [x12]
	sub	x12, x10, #32
	ld2.2d	{ v6, v7 }, [x12]
	mov	x12, x10
	ld2.2d	{ v16, v17 }, [x12], #32
	ld2.2d	{ v18, v19 }, [x12]
	cmgt.2d	v4, v4, #0
	xtn.2s	v4, v4
	cmgt.2d	v5, v6, #0
	xtn.2s	v5, v5
	cmgt.2d	v6, v16, #0
	xtn.2s	v6, v6
	cmgt.2d	v7, v18, #0
	xtn.2s	v7, v7
	sub.2s	v0, v0, v4
	sub.2s	v1, v1, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	add	x10, x10, #128
	subs	x11, x11, #8
	b.ne	LBB0_4
; %bb.5:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w10, s0
LBB0_6:
	add	x11, x24, x9, lsl #4
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #16
	cmp	x9, #0
	cinc	w10, w10, gt
	subs	x8, x8, #1
	b.ne	LBB0_7
; %bb.8:
	cbz	w10, LBB0_10
; %bb.9:
	mov	w25, #0
	b	LBB0_14
LBB0_10:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_19
; %bb.11:
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
LBB0_13:
	mov	w25, #1
LBB0_14:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_20
; %bb.15:
	mov	x21, x0
	ldr	w8, [x22]
	str	w8, [x0, #16]
	cbz	w25, LBB0_21
; %bb.16:
Lloh11:
	adrp	x8, _SCAN_SSID_FILTER_DISABLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCAN_SSID_FILTER_DISABLED@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_43
; %bb.17:
	mov	x24, #0
	ldr	x8, [x21]
	add	x23, x23, #8
Lloh14:
	adrp	x25, _SCAN_SSID_TYPE_HIDDEN@GOTPAGE
Lloh15:
	ldr	x25, [x25, _SCAN_SSID_TYPE_HIDDEN@GOTPAGEOFF]
	mov	w26, #24
Lloh16:
	adrp	x27, _SCAN_SSID_TYPE_PUBLIC@GOTPAGE
Lloh17:
	ldr	x27, [x27, _SCAN_SSID_TYPE_PUBLIC@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x23, #-8]
	cmp	x2, #0
	csel	x9, x27, x25, eq
	ldr	x9, [x9]
	ldr	x10, [x21, #8]
	madd	x8, x8, x26, x10
	stp	x2, x9, [x8]
	ldr	w0, [x8, #16]
	ldr	w1, [x23], #16
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	add	x24, x24, #1
	ldrsw	x9, [x20, #4]
	cmp	x24, x9
	b.lt	LBB0_18
	b	LBB0_43
LBB0_19:
Lloh18:
	adrp	x8, _SCAN_SSID_FILTER_ANY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCAN_SSID_FILTER_ANY@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_48
LBB0_20:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w19, w8
                                        ; implicit-def: $w22
	b	LBB0_47
LBB0_21:
Lloh24:
	adrp	x8, _SCAN_SSID_FILTER_LIST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SCAN_SSID_FILTER_LIST@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.22:
	mov	x23, #0
	add	x24, x24, #8
Lloh27:
	adrp	x25, _SCAN_SSID_TYPE_PUBLIC@GOTPAGE
Lloh28:
	ldr	x25, [x25, _SCAN_SSID_TYPE_PUBLIC@GOTPAGEOFF]
	mov	w26, #24
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x23, x23, #1
	add	x24, x24, #16
	cmp	x23, w8, sxtw
	b.ge	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldur	x2, [x24, #-8]
	cbz	x2, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x25]
	ldp	x10, x9, [x21]
	madd	x9, x10, x26, x9
	stp	x2, x8, [x9]
	ldr	w0, [x9, #16]
	ldr	w1, [x24]
	bl	_memcpy
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	ldr	w8, [x20]
	b	LBB0_23
LBB0_26:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.gt	LBB0_29
; %bb.27:
	b.ne	LBB0_43
; %bb.28:
	ldr	x9, [x20, #8]
	ldr	x9, [x9]
	cmp	x9, #1
	b.lt	LBB0_43
LBB0_29:
	mov	x23, #0
Lloh29:
	adrp	x24, _SCAN_SSID_TYPE_HIDDEN@GOTPAGE
Lloh30:
	ldr	x24, [x24, _SCAN_SSID_TYPE_HIDDEN@GOTPAGEOFF]
	mov	w25, #24
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x27, #0
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	and	x9, x27, #0xffffffff
	cmp	x8, x9
	b.ne	LBB0_41
	b	LBB0_45
LBB0_32:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_35 Depth 2
	ldr	x9, [x20, #8]
	lsl	x26, x23, #4
	ldr	x2, [x9, x26]
	cbz	x2, LBB0_42
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_30
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	mov	x28, #0
	mov	x27, #0
LBB0_35:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x21, #8]
	ldr	x11, [x10, x28]
	cmp	x2, x11
	b.ne	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
	add	x8, x9, x23, lsl #4
	ldr	w0, [x8, #8]
	add	x8, x10, x28
	ldr	w1, [x8, #16]
	bl	_memcmp
	cbz	w0, LBB0_40
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=2
	ldr	x8, [x21]
LBB0_38:                                ;   in Loop: Header=BB0_35 Depth=2
	add	x27, x27, #1
	cmp	x8, x27
	b.ls	LBB0_31
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=2
	ldr	x9, [x20, #8]
	ldr	x2, [x9, x26]
	add	x28, x28, #24
	b	LBB0_35
LBB0_40:                                ;   in Loop: Header=BB0_32 Depth=1
	and	x9, x27, #0xffffffff
	ldr	x10, [x24]
	ldp	x8, x11, [x21]
	madd	x11, x9, x25, x11
	str	x10, [x11, #8]
	cmp	x8, x9
	b.eq	LBB0_45
LBB0_41:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [x20, #4]
LBB0_42:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.lt	LBB0_32
LBB0_43:
Lloh31:
	adrp	x8, _CMD_CONNECTION_SCAN_SSID_CFG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CMD_CONNECTION_SCAN_SSID_CFG@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #24
	mov	w4, #0
	bl	_wl1271_cmd_send
	mov	x19, x0
	tbz	w0, #31, LBB0_46
; %bb.44:
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_wl1271_error
	b	LBB0_46
LBB0_45:
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_46:
	mov	x0, x21
	bl	_kfree
LBB0_47:
	cmp	w19, #0
	csel	w0, w19, w22, lt
LBB0_48:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_CMD,4,2                  ; @DEBUG_CMD
	.comm	_DEBUG_SCAN,4,2                 ; @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd sched scan ssid list"

	.comm	_SCAN_SSID_FILTER_ANY,4,2       ; @SCAN_SSID_FILTER_ANY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SCAN_SSID_FILTER_DISABLED,4,2  ; @SCAN_SSID_FILTER_DISABLED
	.comm	_SCAN_SSID_TYPE_HIDDEN,8,3      ; @SCAN_SSID_TYPE_HIDDEN
	.comm	_SCAN_SSID_TYPE_PUBLIC,8,3      ; @SCAN_SSID_TYPE_PUBLIC
	.comm	_SCAN_SSID_FILTER_LIST,4,2      ; @SCAN_SSID_FILTER_LIST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CMD_CONNECTION_SCAN_SSID_CFG,4,2 ; @CMD_CONNECTION_SCAN_SSID_CFG
l_.str.1:                               ; @.str.1
	.asciz	"cmd sched scan ssid list failed"

.subsections_via_symbols
