	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_config_scan
_mwifiex_config_scan:                   ## @mwifiex_config_scan
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rdx, %rbx
	movq	24(%rbp), %rcx
	movq	16(%rbp), %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, 24(%rbx)
	movq	(%rbx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)
	movl	$0, (%rdx)
	movl	$0, (%rcx)
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	je	LBB0_28
## %bb.1:
	movq	%r14, -184(%rbp)                ## 8-byte Spill
	movq	%rsp, -176(%rbp)                ## 8-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -152(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	48(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	32(%r13), %rax
LBB0_3:
	movl	%eax, 8(%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %r12
	testq	%r12, %r12
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %r12d
LBB0_5:
	movq	16(%rbx), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	16(%rbx), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_memcpy
	cmpq	$0, 24(%r13)
	je	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_TLV_TYPE_BSSID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r14)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r14)
	movq	(%r14), %rdi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	addq	$96, %r14
	movq	%r14, -104(%rbp)
LBB0_8:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %ebx
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.10:
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movl	$1, -108(%rbp)                  ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	movslq	8(%r12), %rax
	addq	$16, %r13
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rbx
	cmpq	%rax, %r14
	jge	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rax
	movl	(%rax,%r13), %r15d
	movq	_TLV_TYPE_WILDCARDSSID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	leal	4(%r15), %edi
	callq	_cpu_to_le16
	movq	%rbx, %rcx
	movq	%rax, 16(%rbx)
	movl	$0, %eax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	movq	%r12, %rbx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_IEEE80211_MAX_SSID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rcx, %r15
	movl	%eax, (%rcx)
	movq	32(%rbx), %rax
	movq	8(%rax,%r13), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$7, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$254, (%r15)
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r15), %rdi
	movq	%rbx, %r12
	movq	32(%rbx), %rax
	movq	8(%rax,%r13), %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	16(%r15), %rdi
	callq	_le16_to_cpu
	movq	-104(%rbp), %rcx
	leaq	(%rcx,%rax,4), %rax
	addq	$64, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%rax, -104(%rbp)
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r15), %r8
	movl	(%r15), %r9d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	testl	%ebx, %ebx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%r15)
	movl	-108(%rbp), %eax                ## 4-byte Reload
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
LBB0_18:
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movl	-132(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_19
LBB0_28:
	movl	32(%r13), %eax
	movl	%eax, 8(%rbx)
	movl	(%r13), %r12d
	cmpl	$0, (%rdx)
	jne	LBB0_30
LBB0_31:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, 16(%rax)
	movq	_MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_33
## %bb.32:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, %eax
	jmp	LBB0_33
LBB0_9:
	movl	$1, -108(%rbp)                  ## 4-byte Folded Spill
LBB0_19:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcpy
	testl	%ebx, %ebx
	movq	16(%rbp), %r12
	movq	-184(%rbp), %r14                ## 8-byte Reload
	jle	LBB0_21
## %bb.20:
	cmpl	$0, -108(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_22
LBB0_21:
	movq	%r15, %rdi
	callq	_is_zero_ether_addr
	movq	16(%rbp), %r12
	testl	%eax, %eax
	jne	LBB0_23
LBB0_22:
	movl	$1, (%r12)
LBB0_23:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %ecx
	testl	%ecx, %ecx
	movq	-144(%rbp), %r12                ## 8-byte Reload
	je	LBB0_25
## %bb.24:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_TLV_TYPE_SCAN_CHANNEL_GAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movl	$8, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movq	-104(%rbp), %rax
	addq	$96, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)
LBB0_25:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	_ether_addr_equal
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	movq	_TLV_TYPE_RANDOM_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%r13, %r12
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 16(%r13)
	movl	$4, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movl	(%r13), %edi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %esi
	callq	_ether_addr_copy
	addq	$96, %r13
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)
	movq	%r12, %r13
	movq	-144(%rbp), %r12                ## 8-byte Reload
LBB0_27:
	movq	-176(%rbp), %rsp                ## 8-byte Reload
	movq	16(%rbp), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_31
LBB0_30:
	movq	_MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_33:
	movl	%eax, (%r14)
	cmpq	$0, 24(%r13)
	je	LBB0_35
## %bb.34:
	movq	_TLV_TYPE_BSS_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%r12, %r14
	movq	%r13, %r12
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 16(%r13)
	movl	$4, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %ecx
	movl	%ecx, (%r13)
	movq	%rax, %rdi
	callq	_le16_to_cpu
	leaq	64(%r13,%rax,4), %r13
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)
	movq	%r12, %r13
	movq	%r14, %r12
LBB0_35:
	testl	%r12d, %r12d
	je	LBB0_37
## %bb.36:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_TLV_TYPE_NUMPROBES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movl	$8, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	(%rbx), %rdi
	callq	_le16_to_cpu
	movq	-104(%rbp), %rcx
	leaq	(%rcx,%rax,4), %rax
	addq	$64, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)
LBB0_37:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	20(%rax), %edi
	callq	_ISSUPP_11NENABLED
	testq	%rax, %rax
	je	LBB0_41
## %bb.38:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	4(%rax), %eax
	movq	_BAND_GN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.39:
	movq	_BAND_AN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_41
LBB0_40:
	movq	%r13, %r12
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_WLAN_EID_HT_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r13)
	movl	$4, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_mwifiex_band_to_radio_type
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_mwifiex_fill_cap_info
	addq	$96, %r13
	movq	%r13, -104(%rbp)
	movq	%r12, %r13
LBB0_41:
	movq	_MWIFIEX_VSIE_MASK_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_mwifiex_cmd_append_vsie_tlv
	movq	-104(%rbp), %rax
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_59
## %bb.42:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_59
## %bb.43:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	_MWIFIEX_USER_SCAN_CHAN_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_60
## %bb.44:
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	$16, %r14d
	xorl	%r15d, %r15d
	movq	-160(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_45
LBB0_51:                                ##   in Loop: Header=BB0_45 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %ebx
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_45 Depth=1
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r12)
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r12)
	incq	%r15
	movq	_MWIFIEX_USER_SCAN_CHAN_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$24, %r14
	addq	$32, %r12
	cmpq	%rax, %r15
	jge	LBB0_56
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	-16(%rax,%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_56
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%ecx, (%r12)
	movl	-12(%rax,%r14), %ecx
	movl	%ecx, 4(%r12)
	movl	-8(%rax,%r14), %ecx
	movq	_MWIFIEX_PASSIVE_SCAN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_MWIFIEX_SCAN_TYPE_PASSIVE@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %ecx
	jne	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	_MWIFIEX_HIDDEN_SSID_REPORT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	orl	8(%r12), %edx
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_45 Depth=1
	notl	%edx
	andl	8(%r12), %edx
LBB0_49:                                ##   in Loop: Header=BB0_45 Depth=1
	movl	%edx, 8(%r12)
	movq	_MWIFIEX_DISABLE_CHAN_FILT@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movl	%edx, 8(%r12)
	movq	(%rax,%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_55
## %bb.50:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	_MWIFIEX_SCAN_TYPE_PASSIVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_51
## %bb.52:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	16(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	12(%rax), %ebx
	jmp	LBB0_55
LBB0_54:                                ##   in Loop: Header=BB0_45 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %ebx
	jmp	LBB0_55
LBB0_59:
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movq	16(%rbp), %rax
	movl	(%rax), %ecx
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	callq	_mwifiex_scan_create_channel_list
LBB0_60:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.61:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_56:
	cmpl	$1, %r15d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_60
## %bb.57:
	movq	16(%r13), %rax
	movslq	(%rax), %rax
	cmpq	%rax, (%r12)
	jne	LBB0_60
## %bb.58:
	movq	24(%rbp), %rax
	movl	$1, (%rax)
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_60
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_TLV_TYPE_BSSID,4,2             ## @TLV_TYPE_BSSID
	.comm	_TLV_TYPE_WILDCARDSSID,4,2      ## @TLV_TYPE_WILDCARDSSID
	.comm	_IEEE80211_MAX_SSID_LEN,4,2     ## @IEEE80211_MAX_SSID_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DIRECT-"

	.comm	_INFO,4,2                       ## @INFO
L_.str.1:                               ## @.str.1
	.asciz	"info: scan: ssid[%d]: %s, %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"info: scan: channel gap = %d\n"

	.comm	_MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN,4,2 ## @MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN
	.comm	_TLV_TYPE_SCAN_CHANNEL_GAP,4,2  ## @TLV_TYPE_SCAN_CHANNEL_GAP
	.comm	_TLV_TYPE_RANDOM_MAC,4,2        ## @TLV_TYPE_RANDOM_MAC
	.comm	_MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD,4,2 ## @MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD
	.comm	_TLV_TYPE_BSS_MODE,4,2          ## @TLV_TYPE_BSS_MODE
L_.str.3:                               ## @.str.3
	.asciz	"info: scan: num_probes = %d\n"

	.comm	_TLV_TYPE_NUMPROBES,4,2         ## @TLV_TYPE_NUMPROBES
	.comm	_BAND_GN,4,2                    ## @BAND_GN
	.comm	_BAND_AN,4,2                    ## @BAND_AN
	.comm	_WLAN_EID_HT_CAPABILITY,4,2     ## @WLAN_EID_HT_CAPABILITY
	.comm	_MWIFIEX_VSIE_MASK_SCAN,4,2     ## @MWIFIEX_VSIE_MASK_SCAN
L_.str.4:                               ## @.str.4
	.asciz	"info: Scan: Using supplied channel list\n"

	.comm	_MWIFIEX_USER_SCAN_CHAN_MAX,4,2 ## @MWIFIEX_USER_SCAN_CHAN_MAX
	.comm	_MWIFIEX_SCAN_TYPE_PASSIVE,4,2  ## @MWIFIEX_SCAN_TYPE_PASSIVE
	.comm	_MWIFIEX_PASSIVE_SCAN,4,2       ## @MWIFIEX_PASSIVE_SCAN
	.comm	_MWIFIEX_HIDDEN_SSID_REPORT,4,2 ## @MWIFIEX_HIDDEN_SSID_REPORT
	.comm	_MWIFIEX_DISABLE_CHAN_FILT,4,2  ## @MWIFIEX_DISABLE_CHAN_FILT
L_.str.5:                               ## @.str.5
	.asciz	"info: Scan: Scanning current channel only\n"

L_.str.6:                               ## @.str.6
	.asciz	"info: Scan: Creating full region channel list\n"

	.no_dead_strip	_mwifiex_config_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_config_scan
_mwifiex_config_scan:                   ; @mwifiex_config_scan
	.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
	sub	sp, sp, #128
	mov	x21, x6
	mov	x28, x5
	mov	x24, x4
	mov	x23, x3
	mov	x25, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x19, [x0, #8]
	stp	xzr, xzr, [x29, #-112]
	stur	xzr, [x29, #-96]
	str	xzr, [x2, #24]
	ldr	x27, [x2]
	stur	x27, [x29, #-120]
	str	wzr, [x6]
	stur	x7, [x29, #-184]                ; 8-byte Folded Spill
	str	wzr, [x7]
	cbz	x1, LBB0_16
; %bb.1:
	stur	x23, [x29, #-144]               ; 8-byte Folded Spill
	mov	x8, sp
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x9, x9, x8
	mov	sp, x9
	ldr	x8, [x22, #48]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
LBB0_3:
	mov	x23, x24
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	str	w8, [x25, #8]
	ldr	x26, [x22, #40]
	cbnz	x26, LBB0_5
; %bb.4:
	ldr	w26, [x19]
LBB0_5:
	ldr	x0, [x25, #16]
	ldr	x1, [x22]
	mov	w2, #8
	bl	_memcpy
	ldr	x1, [x25, #16]
Lloh8:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldur	x24, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x24
	bl	_memcpy
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x24
	bl	_is_zero_ether_addr
	cbnz	w0, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _TLV_TYPE_BSSID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLV_TYPE_BSSID@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
Lloh14:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh15:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	ldr	x0, [x27], #96
	ldr	x1, [x22]
	ldr	w2, [x24]
	bl	_memcpy
	stur	x27, [x29, #-120]
LBB0_8:
	mov	x24, x23
	stur	x28, [x29, #-160]               ; 8-byte Folded Spill
	ldr	w8, [x22, #8]
	stur	w8, [x29, #-172]                ; 4-byte Folded Spill
	cmp	w8, #1
	ldur	x23, [x29, #-144]               ; 8-byte Folded Reload
	b.lt	LBB0_18
; %bb.9:
	stp	x26, x25, [x29, #-208]          ; 16-byte Folded Spill
	stur	x24, [x29, #-192]               ; 8-byte Folded Spill
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
	stur	x20, [x29, #-152]               ; 8-byte Folded Spill
	mov	x21, #0
	mov	x24, #0
	mov	w28, #1
Lloh16:
	adrp	x25, l_.str@PAGE
Lloh17:
	add	x25, x25, l_.str@PAGEOFF
Lloh18:
	adrp	x20, l_.str.1@PAGE
Lloh19:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x22, #8]
	add	x21, x21, #16
	mov	x27, x26
	cmp	x24, x8
	b.ge	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #32]
	ldr	w23, [x8, x21]
Lloh20:
	adrp	x8, _TLV_TYPE_WILDCARDSSID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TLV_TYPE_WILDCARDSSID@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #24]
	add	w0, w23, #4
	bl	_cpu_to_le16
	str	x0, [x27, #16]
Lloh23:
	adrp	x8, _IEEE80211_MAX_SSID_LEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_MAX_SSID_LEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w23, #0
	csel	w8, w8, wzr, eq
	str	w8, [x27]
	ldr	x8, [x22, #32]
	add	x8, x8, x21
	ldr	x0, [x8, #8]
	mov	x1, x25
	mov	w2, #7
	bl	_memcmp
	cbnz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w8, #254
	str	w8, [x27]
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x27, #8]
	ldr	x8, [x22, #32]
	add	x8, x8, x21
	ldr	x1, [x8, #8]
	mov	x2, x23
	bl	_memcpy
	ldr	x0, [x27, #16]
	bl	_le16_to_cpu
	ldur	x8, [x29, #-120]
	add	x8, x8, x0, lsl #2
	add	x26, x8, #64
	stur	x26, [x29, #-120]
Lloh26:
	adrp	x8, _INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [x27, #8]
	ldr	w9, [x27]
	sub	sp, sp, #32
	stp	x8, x9, [sp, #8]
	str	x24, [sp]
	mov	x0, x19
	mov	x2, x20
	bl	_mwifiex_dbg
	add	sp, sp, #32
	cbnz	w23, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x27]
	cmp	w8, #0
	csel	w28, w28, wzr, eq
	b	LBB0_10
LBB0_15:
	mov	x27, x26
	ldp	x20, x23, [x29, #-152]          ; 16-byte Folded Reload
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	ldp	x25, x24, [x29, #-200]          ; 16-byte Folded Reload
	ldur	x26, [x29, #-208]               ; 8-byte Folded Reload
	b	LBB0_19
LBB0_16:
	ldr	x8, [x19, #32]
	str	w8, [x25, #8]
	ldr	w26, [x19]
	ldr	w8, [x21]
	cbnz	w8, LBB0_29
LBB0_17:
	ldr	w8, [x20, #16]
Lloh29:
	adrp	x9, _MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w10, w9, lt
	asr	w10, w10, #1
	cmp	w8, #0
	csel	w8, w9, w10, eq
	b	LBB0_30
LBB0_18:
	mov	w28, #1
LBB0_19:
	ldr	x1, [x25, #16]
Lloh32:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_memcpy
	ldur	w8, [x29, #-172]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.20:
	cbnz	w28, LBB0_24
LBB0_21:
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_24
; %bb.22:
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_25
LBB0_23:
Lloh35:
	adrp	x9, _INFO@GOTPAGE
Lloh36:
	ldr	x9, [x9, _INFO@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x9]
	str	x8, [sp, #-16]!
Lloh38:
	adrp	x2, l_.str.2@PAGE
Lloh39:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	add	sp, sp, #16
Lloh40:
	adrp	x8, _MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldur	x28, [x29, #-160]               ; 8-byte Folded Reload
	str	w8, [x28]
Lloh43:
	adrp	x8, _TLV_TYPE_SCAN_CHANNEL_GAP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TLV_TYPE_SCAN_CHANNEL_GAP@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #8
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	ldr	w0, [x22, #12]
	bl	_cpu_to_le16
	str	x0, [x27]
	ldur	x8, [x29, #-120]
	add	x27, x8, #96
	stur	x27, [x29, #-120]
	b	LBB0_26
LBB0_24:
	mov	w8, #1
	str	w8, [x21]
	ldr	w8, [x22, #12]
	cbnz	w8, LBB0_23
LBB0_25:
	ldur	x28, [x29, #-160]               ; 8-byte Folded Reload
LBB0_26:
	ldr	w0, [x22, #24]
	sub	x1, x29, #112
	bl	_ether_addr_equal
	cbnz	w0, LBB0_28
; %bb.27:
Lloh46:
	adrp	x8, _TLV_TYPE_RANDOM_MAC@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TLV_TYPE_RANDOM_MAC@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #4
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	ldr	w0, [x27], #96
	ldr	w1, [x22, #24]
	bl	_ether_addr_copy
	stur	x27, [x29, #-120]
LBB0_28:
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	mov	sp, x8
	ldr	w8, [x21]
	cbz	w8, LBB0_17
LBB0_29:
Lloh49:
	adrp	x8, _MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
LBB0_30:
	str	w8, [x28]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_32
; %bb.31:
Lloh52:
	adrp	x8, _TLV_TYPE_BSS_MODE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TLV_TYPE_BSS_MODE@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #4
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	ldr	w8, [x25, #8]
	str	w8, [x27]
	bl	_le16_to_cpu
	add	x8, x27, x0, lsl #2
	add	x27, x8, #64
	stur	x27, [x29, #-120]
LBB0_32:
	cbz	w26, LBB0_34
; %bb.33:
Lloh55:
	adrp	x8, _INFO@GOTPAGE
Lloh56:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x8, x26
	str	x8, [sp, #-16]!
Lloh58:
	adrp	x2, l_.str.3@PAGE
Lloh59:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	add	sp, sp, #16
Lloh60:
	adrp	x8, _TLV_TYPE_NUMPROBES@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TLV_TYPE_NUMPROBES@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	mov	w0, #8
	bl	_cpu_to_le16
	str	x0, [x27]
	mov	x0, x26
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	ldr	x0, [x27]
	bl	_le16_to_cpu
	ldur	x8, [x29, #-120]
	add	x8, x8, x0, lsl #2
	add	x27, x8, #64
	stur	x27, [x29, #-120]
LBB0_34:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #20]
	bl	_ISSUPP_11NENABLED
	cbz	x0, LBB0_38
; %bb.35:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #4]
Lloh63:
	adrp	x9, _BAND_GN@GOTPAGE
Lloh64:
	ldr	x9, [x9, _BAND_GN@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_37
; %bb.36:
Lloh66:
	adrp	x9, _BAND_AN@GOTPAGE
Lloh67:
	ldr	x9, [x9, _BAND_AN@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
LBB0_37:
	mov	x0, x27
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh69:
	adrp	x8, _WLAN_EID_HT_CAPABILITY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _WLAN_EID_HT_CAPABILITY@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #4
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	bl	_mwifiex_band_to_radio_type
	mov	x1, x0
	mov	x0, x20
	mov	x2, x27
	bl	_mwifiex_fill_cap_info
	add	x8, x27, #96
	stur	x8, [x29, #-120]
LBB0_38:
Lloh72:
	adrp	x8, _MWIFIEX_VSIE_MASK_SCAN@GOTPAGE
Lloh73:
	ldr	x8, [x8, _MWIFIEX_VSIE_MASK_SCAN@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	sub	x2, x29, #120
	mov	x0, x20
	bl	_mwifiex_cmd_append_vsie_tlv
	ldur	x8, [x29, #-120]
	str	x8, [x23]
	cbz	x22, LBB0_53
; %bb.39:
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_53
; %bb.40:
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
Lloh75:
	adrp	x8, _INFO@GOTPAGE
Lloh76:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
Lloh78:
	adrp	x2, l_.str.4@PAGE
Lloh79:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x27, x19
	mov	x0, x19
	bl	_mwifiex_dbg
Lloh80:
	adrp	x23, _MWIFIEX_USER_SCAN_CHAN_MAX@GOTPAGE
Lloh81:
	ldr	x23, [x23, _MWIFIEX_USER_SCAN_CHAN_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_54
; %bb.41:
	stur	x20, [x29, #-152]               ; 8-byte Folded Spill
	mov	x20, #0
	mov	x21, #0
	add	x24, x24, #16
Lloh82:
	adrp	x25, _MWIFIEX_SCAN_TYPE_PASSIVE@GOTPAGE
Lloh83:
	ldr	x25, [x25, _MWIFIEX_SCAN_TYPE_PASSIVE@GOTPAGEOFF]
Lloh84:
	adrp	x26, _MWIFIEX_PASSIVE_SCAN@GOTPAGE
Lloh85:
	ldr	x26, [x26, _MWIFIEX_PASSIVE_SCAN@GOTPAGEOFF]
Lloh86:
	adrp	x28, _MWIFIEX_DISABLE_CHAN_FILT@GOTPAGE
Lloh87:
	ldr	x28, [x28, _MWIFIEX_DISABLE_CHAN_FILT@GOTPAGEOFF]
	b	LBB0_44
LBB0_42:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	w19, [x27, #8]
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	mov	x0, x19
	bl	_cpu_to_le16
	str	x0, [x24, #8]
	mov	x0, x19
	bl	_cpu_to_le16
	str	x0, [x24], #32
	add	x21, x21, #1
	ldrsw	x8, [x23]
	add	x20, x20, #24
	cmp	x21, x8
	b.ge	LBB0_56
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	w9, [x8, x20]
	cbz	w9, LBB0_56
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	stur	w9, [x24, #-16]
	add	x9, x8, x20
	ldr	w10, [x9, #4]
	stur	w10, [x24, #-12]
	ldr	w9, [x9, #8]
	ldr	w11, [x25]
	ldr	w10, [x26]
	cmp	w9, w11
	b.ne	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=1
Lloh88:
	adrp	x11, _MWIFIEX_HIDDEN_SSID_REPORT@GOTPAGE
Lloh89:
	ldr	x11, [x11, _MWIFIEX_HIDDEN_SSID_REPORT@GOTPAGEOFF]
Lloh90:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldur	w11, [x24, #-8]
	orr	w10, w10, w11
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_44 Depth=1
	ldur	w11, [x24, #-8]
	bic	w10, w11, w10
LBB0_48:                                ;   in Loop: Header=BB0_44 Depth=1
	stur	w10, [x24, #-8]
	ldr	w11, [x28]
	orr	w10, w10, w11
	stur	w10, [x24, #-8]
	add	x8, x8, x20
	ldr	x19, [x8, #16]
	cbnz	x19, LBB0_43
; %bb.49:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w8, [x25]
	cmp	w9, w8
	b.eq	LBB0_42
; %bb.50:                               ;   in Loop: Header=BB0_44 Depth=1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	ldr	w8, [x8]
	cbz	w8, LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w19, [x27, #12]
	b	LBB0_43
LBB0_52:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	w19, [x27, #16]
	b	LBB0_43
LBB0_53:
Lloh91:
	adrp	x8, _INFO@GOTPAGE
Lloh92:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
Lloh94:
	adrp	x2, l_.str.6@PAGE
Lloh95:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_mwifiex_scan_create_channel_list
LBB0_54:
	ldur	x8, [x29, #-88]
Lloh96:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh97:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh98:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.55:
	sub	sp, x29, #80
	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
LBB0_56:
	cmp	w21, #1
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	b.ne	LBB0_54
; %bb.57:
	ldr	x8, [x22, #16]
	ldrsw	x8, [x8]
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.58:
	mov	w8, #1
	ldur	x9, [x29, #-184]                ; 8-byte Folded Reload
	str	w8, [x9]
Lloh99:
	adrp	x8, _INFO@GOTPAGE
Lloh100:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh101:
	ldr	w1, [x8]
Lloh102:
	adrp	x2, l_.str.5@PAGE
Lloh103:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x27
	bl	_mwifiex_dbg
	b	LBB0_54
LBB0_59:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_TLV_TYPE_BSSID,4,2             ; @TLV_TYPE_BSSID
	.comm	_TLV_TYPE_WILDCARDSSID,4,2      ; @TLV_TYPE_WILDCARDSSID
	.comm	_IEEE80211_MAX_SSID_LEN,4,2     ; @IEEE80211_MAX_SSID_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DIRECT-"

	.comm	_INFO,4,2                       ; @INFO
l_.str.1:                               ; @.str.1
	.asciz	"info: scan: ssid[%d]: %s, %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"info: scan: channel gap = %d\n"

	.comm	_MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN,4,2 ; @MWIFIEX_MAX_CHANNELS_PER_SPECIFIC_SCAN
	.comm	_TLV_TYPE_SCAN_CHANNEL_GAP,4,2  ; @TLV_TYPE_SCAN_CHANNEL_GAP
	.comm	_TLV_TYPE_RANDOM_MAC,4,2        ; @TLV_TYPE_RANDOM_MAC
	.comm	_MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD,4,2 ; @MWIFIEX_DEF_CHANNELS_PER_SCAN_CMD
	.comm	_TLV_TYPE_BSS_MODE,4,2          ; @TLV_TYPE_BSS_MODE
l_.str.3:                               ; @.str.3
	.asciz	"info: scan: num_probes = %d\n"

	.comm	_TLV_TYPE_NUMPROBES,4,2         ; @TLV_TYPE_NUMPROBES
	.comm	_BAND_GN,4,2                    ; @BAND_GN
	.comm	_BAND_AN,4,2                    ; @BAND_AN
	.comm	_WLAN_EID_HT_CAPABILITY,4,2     ; @WLAN_EID_HT_CAPABILITY
	.comm	_MWIFIEX_VSIE_MASK_SCAN,4,2     ; @MWIFIEX_VSIE_MASK_SCAN
l_.str.4:                               ; @.str.4
	.asciz	"info: Scan: Using supplied channel list\n"

	.comm	_MWIFIEX_USER_SCAN_CHAN_MAX,4,2 ; @MWIFIEX_USER_SCAN_CHAN_MAX
	.comm	_MWIFIEX_SCAN_TYPE_PASSIVE,4,2  ; @MWIFIEX_SCAN_TYPE_PASSIVE
	.comm	_MWIFIEX_PASSIVE_SCAN,4,2       ; @MWIFIEX_PASSIVE_SCAN
	.comm	_MWIFIEX_HIDDEN_SSID_REPORT,4,2 ; @MWIFIEX_HIDDEN_SSID_REPORT
	.comm	_MWIFIEX_DISABLE_CHAN_FILT,4,2  ; @MWIFIEX_DISABLE_CHAN_FILT
l_.str.5:                               ; @.str.5
	.asciz	"info: Scan: Scanning current channel only\n"

l_.str.6:                               ; @.str.6
	.asciz	"info: Scan: Creating full region channel list\n"

	.no_dead_strip	_mwifiex_config_scan
.subsections_via_symbols
