	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_scan_create_channel_list
_mwifiex_scan_create_channel_list:      ## @mwifiex_scan_create_channel_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	_NUM_NL80211_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r9d, %r9d
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rbx
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %r8
	xorl	%r10d, %r10d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_NUM_NL80211_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r9
	movl	%eax, %ecx
	cmpq	%rcx, %r9
	jae	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r9,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-52(%rbp), %r10d                ## 4-byte Reload
	incl	%r10d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %ecx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rbx
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r12
	movslq	%ecx, %rax
	addq	$16, %r15
	cmpq	%rax, %r12
	jge	LBB0_22
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rdx), %r14
	movl	(%r14,%r15), %eax
	testl	%eax, (%rbx)
	jne	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	%r10d, -52(%rbp)                ## 4-byte Spill
	movslq	%r10d, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%r9d, (%rbx,%r13,8)
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rsi), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	testl	%eax, (%r8)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx,%r13,8)
	movl	(%r14,%r15), %eax
	movq	_MWIFIEX_PASSIVE_SCAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %r8
	testl	%eax, (%r8)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_MWIFIEX_HIDDEN_SSID_REPORT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	4(%rbx,%r13,8), %ecx
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=2
	notl	%ecx
	andl	4(%rbx,%r13,8), %ecx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%ecx, 4(%rbx,%r13,8)
	movq	8(%r14,%r15), %rdx
	movq	%rdx, 16(%rbx,%r13,8)
	movq	_MWIFIEX_DISABLE_CHAN_FILT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 4(%rbx,%r13,8)
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	testl	%eax, (%r8)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=2
	leaq	(%rbx,%r13,8), %r14
	addq	$8, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %r8
	movq	%rax, (%r14)
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	jmp	LBB0_13
LBB0_1:
	xorl	%r10d, %r10d
LBB0_24:
	movl	%r10d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_NL80211_BANDS,4,2          ## @NUM_NL80211_BANDS
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ## @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_RADAR,4,2       ## @IEEE80211_CHAN_RADAR
	.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
	.no_dead_strip	_mwifiex_scan_create_channel_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_scan_create_channel_list
_mwifiex_scan_create_channel_list:      ; @mwifiex_scan_create_channel_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _NUM_NL80211_BANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_23
; %bb.1:
	mov	x20, x2
	mov	x25, #0
	mov	w23, #0
Lloh3:
	adrp	x11, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
	ldr	x9, [x0, #8]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mov	w28, #24
Lloh5:
	adrp	x12, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh6:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	str	x0, [sp]                        ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x8, _NUM_NL80211_BANDS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, uxtw
	b.hs	LBB0_24
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x22, [x9, x25, lsl #3]
	cbz	x22, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	mov	x19, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w23, w23, #1
	ldr	w9, [x22]
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
Lloh10:
	adrp	x11, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh11:
	ldr	x11, [x11, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x19, x19, #1
	add	x27, x27, #16
	cmp	x19, w9, sxtw
	b.ge	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x22, #8]
	ldr	w8, [x24, x27]
	ldr	w10, [x11]
	tst	w10, w8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	smull	x9, w23, w28
	str	w25, [x20, x9]
	cbz	x1, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x9, [x1]
	ldr	x0, [x9]
	cbnz	x0, LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w9, [x12]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh12:
	adrp	x9, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #8]
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	sxtw	x21, w23
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_le16
	madd	x26, x21, x28, x20
	str	x0, [x26, #8]!
	ldr	w8, [x24, x27]
Lloh15:
	adrp	x12, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh16:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
	ldr	w10, [x12]
Lloh17:
	adrp	x9, _MWIFIEX_PASSIVE_SCAN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MWIFIEX_PASSIVE_SCAN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh20:
	adrp	x10, _MWIFIEX_HIDDEN_SSID_REPORT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MWIFIEX_HIDDEN_SSID_REPORT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w9, w10, w9
	madd	x10, x21, x28, x20
	ldr	w11, [x10, #4]
	orr	w9, w9, w11
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=2
	madd	x10, x21, x28, x20
	ldr	w11, [x10, #4]
	bic	w9, w11, w9
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	str	w9, [x10, #4]
	add	x10, x24, x27
	ldr	x10, [x10, #8]
	madd	x11, x21, x28, x20
	str	x10, [x11, #16]
Lloh23:
	adrp	x10, _MWIFIEX_DISABLE_CHAN_FILT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _MWIFIEX_DISABLE_CHAN_FILT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x11, #4]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w9, [x12]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh26:
	adrp	x9, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_cpu_to_le16
Lloh29:
	adrp	x12, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh30:
	ldr	x12, [x12, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
	str	x0, [x26]
	b	LBB0_7
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w0, [x8, #4]
	b	LBB0_15
LBB0_23:
	mov	w23, #0
LBB0_24:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_NL80211_BANDS,4,2          ; @NUM_NL80211_BANDS
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_NO_IR,4,2       ; @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_RADAR,4,2       ; @IEEE80211_CHAN_RADAR
	.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
	.no_dead_strip	_mwifiex_scan_create_channel_list
.subsections_via_symbols
