	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlcore_scan_get_channels
_wlcore_scan_get_channels:              ## @wlcore_scan_get_channels
	.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	%r9, %r13
	movq	%rcx, %r12
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_SCAN_TYPE_SEARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	56(%rbp), %eax
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_wlcore_count_started_vifs
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	56(%rbx,%rcx,8), %rdi
	movq	72(%rbx,%rcx,8), %r14
	leaq	88(%rbx), %rax
	addq	$96, %rbx
	jmp	LBB0_3
LBB0_2:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%r13, (%rax)
	setne	%cl
	movq	(%rbx,%rcx,8), %rdi
	imulq	%r12, %rdi
	imulq	24(%rbx), %rdi
	addq	16(%rbx), %rdi
	movq	32(%rbx), %r14
	addq	%rdi, %r14
	leaq	40(%rbx), %rax
	addq	$48, %rbx
LBB0_3:
	movl	32(%rbp), %r15d
	movq	(%rbx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_DIV_ROUND_UP
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_DIV_ROUND_UP
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_DIV_ROUND_UP
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_DIV_ROUND_UP
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r14d
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	testq	%r10, %r10
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_29
## %bb.4:
	movl	40(%rbp), %edi
	movl	32(%rbp), %eax
	movl	%eax, %r14d
	cmpl	%edi, %eax
	jge	LBB0_29
## %bb.5:
	movl	16(%rbp), %r9d
	movl	$1, %ebx
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rsi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %r11
	movl	32(%rbp), %r14d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	movq	-8(%r8,%rbx,8), %rcx
	movq	(%rsi), %rax
	movl	$0, %r15d
	cmoveq	%rax, %r15
	cmpq	%r13, 8(%rcx)
	jne	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	orq	(%rcx), %r15
	testq	%r15, (%r11)
	jne	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	testq	%r15, %rcx
	setne	%dl
	cmpl	%r9d, %edx
	jne	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r9d, %r9d
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	testq	%rax, %r15
	setne	%dl
	cmpl	24(%rbp), %edx
	jne	LBB0_27
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r14d, %r13
	testq	%r15, %rcx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SCAN_CHANNEL_FLAGS_DFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(,%r13,4), %rcx
	addq	%r13, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	orl	%eax, 4(%r12,%rcx,8)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_le16
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_cpu_to_le16
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r13,%r13,4), %r13
	movq	%rax, 32(%r12,%r13,8)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 24(%r12,%r13,8)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 16(%r12,%r13,8)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%rbx,8), %rax
	movl	20(%rax), %r9d
	movl	%r9d, 8(%r12,%r13,8)
	movl	16(%rax), %ecx
	movl	%ecx, (%r12,%r13,8)
	cmpq	$0, 48(%rbp)
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$12, %ecx
	jl	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$14, %ecx
	jg	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	testq	%r12, %r12
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andq	%r15, %rdx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_SCAN_CHANNEL_FLAGS_DFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx,%r13,8)
	movq	48(%rbp), %rax
	movl	(%rax), %edx
	incl	%edx
	movl	%edx, (%rax)
	movq	_DEBUG_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wl1271_debug
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%rbx,8), %rax
	movl	16(%rax), %ecx
	movl	20(%rax), %r9d
	jmp	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_DEBUG_SCAN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	24(%rax), %edx
	movq	(%rax), %r8
	movq	_IEEE80211_CHAN_RADAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.3(%rip), %r11
	movq	%r11, %r10
	andq	%r15, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %r10
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rax
	andq	(%rax), %r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %r11
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_wl1271_debug
	addq	$32, %rsp
	incl	%r14d
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	40(%rbp), %edi
	movl	16(%rbp), %r9d
	movq	_IEEE80211_CHAN_NO_IR@GOTPCREL(%rip), %rsi
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %r11
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r10, %rbx
	jge	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpl	%edi, %r14d
	jl	LBB0_6
LBB0_29:
	subl	32(%rbp), %r14d
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_TYPE_SEARCH,4,2           ## @SCAN_TYPE_SEARCH
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_IEEE80211_CHAN_NO_IR,8,3       ## @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_DISABLED,8,3    ## @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_RADAR,8,3       ## @IEEE80211_CHAN_RADAR
	.comm	_SCAN_CHANNEL_FLAGS_DFS,4,2     ## @SCAN_CHANNEL_FLAGS_DFS
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_DEBUG_SCAN,4,2                 ## @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n_pactive_ch = %d"

L_.str.1:                               ## @.str.1
	.asciz	"freq %d, ch. %d, flags 0x%x, power %d, min/max_dwell %d/%d%s%s"

L_.str.2:                               ## @.str.2
	.asciz	", DFS"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	", NO-IR"

	.no_dead_strip	_wlcore_scan_get_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlcore_scan_get_channels
_wlcore_scan_get_channels:              ; @wlcore_scan_get_channels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	w7, [sp, #84]                   ; 4-byte Folded Spill
	stur	w6, [x29, #-100]                ; 4-byte Folded Spill
	mov	x21, x5
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	ldr	w20, [x29, #16]
	ldr	w8, [x29, #32]
Lloh0:
	adrp	x9, _SCAN_TYPE_SEARCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCAN_TYPE_SEARCH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	str	x4, [sp, #64]                   ; 8-byte Folded Spill
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_wlcore_count_started_vifs
	cmp	w0, #0
	mov	w8, #56
	mov	w9, #64
	csel	x8, x9, x8, eq
	ldr	x0, [x19, x8]
	mov	w8, #72
	mov	w9, #80
	csel	x8, x9, x8, eq
	ldr	x27, [x19, x8]
	add	x8, x19, #88
	add	x9, x19, #96
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x21
	cset	w8, ne
	ldr	x8, [x19, w8, uxtw #3]
	ldp	x9, x10, [x19, #16]
	mul	x8, x8, x23
	madd	x0, x8, x10, x9
	ldr	x8, [x19, #32]
	add	x27, x0, x8
	add	x8, x19, #40
	add	x9, x19, #48
LBB0_3:
	ldr	x19, [x9]
	ldr	x28, [x8]
	mov	w1, #1000
	bl	_DIV_ROUND_UP
	stur	x0, [x29, #-88]                 ; 8-byte Folded Spill
	mov	x0, x27
	mov	w1, #1000
	bl	_DIV_ROUND_UP
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x0, x28
	mov	w1, #1000
	bl	_DIV_ROUND_UP
	mov	x22, x0
	mov	x0, x19
	mov	w1, #1000
	bl	_DIV_ROUND_UP
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	cmp	x24, #1
	str	w20, [sp, #104]                 ; 4-byte Folded Spill
	b.lt	LBB0_26
; %bb.4:
	ldr	w28, [x29, #20]
	cmp	w20, w28
	b.ge	LBB0_26
; %bb.5:
	str	x22, [sp, #56]                  ; 8-byte Folded Spill
	mov	x19, #0
	ldr	x8, [x29, #24]
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
Lloh6:
	adrp	x22, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
Lloh8:
	adrp	x13, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh9:
	ldr	x13, [x13, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
	mov	x26, x20
	ldur	w12, [x29, #-100]               ; 4-byte Folded Reload
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x25, x19, lsl #3]
	ldr	x8, [x22]
	cmp	x23, #0
	csel	x10, x8, xzr, eq
	ldr	x11, [x9, #8]
	cmp	x11, x21
	b.ne	LBB0_24
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x9]
	orr	x20, x10, x9
	ldr	x9, [x13]
	tst	x9, x20
	b.ne	LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x9, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ands	x9, x9, x20
	cset	w10, ne
	cmp	w10, w12
	b.ne	LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w12, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	tst	x20, x8
	cset	w8, ne
	ldr	w10, [sp, #84]                  ; 4-byte Folded Reload
	cmp	w8, w10
	b.ne	LBB0_24
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x8, _SCAN_CHANNEL_FLAGS_DFS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SCAN_CHANNEL_FLAGS_DFS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	sxtw	x22, w26
	mov	w9, #40
	smaddl	x9, w26, w9, x27
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	str	w8, [x9, #4]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_cpu_to_le16
	mov	x9, x22
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_cpu_to_le16
	mov	x8, x26
	sxtw	x9, w8
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #40
	mov	x22, x27
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	madd	x27, x9, x8, x27
	str	x0, [x27, #32]
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	bl	_cpu_to_le16
	str	x0, [x27, #24]
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	ldr	x10, [x25, x19, lsl #3]
	ldp	w8, w9, [x10, #16]
	str	w9, [x27, #8]
	str	w8, [x27]
	ldr	x11, [sp, #96]                  ; 8-byte Folded Reload
	cbz	x11, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x11, _NL80211_BAND_2GHZ@GOTPAGE
Lloh17:
	ldr	x11, [x11, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x11, x21
	mov	x27, x22
	b.ne	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #12
Lloh19:
	adrp	x22, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh20:
	ldr	x22, [x22, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
	b.lt	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #14
	b.gt	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	x23, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [x22]
	and	x11, x11, x20
	cbz	x11, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh21:
	adrp	x8, _SCAN_CHANNEL_FLAGS_DFS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SCAN_CHANNEL_FLAGS_DFS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	w9, #40
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	madd	x9, x10, x9, x27
	str	w8, [x9, #4]
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	w2, w8, #1
	str	w2, [x9]
Lloh24:
	adrp	x8, _DEBUG_SCAN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEBUG_SCAN@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
	ldr	x10, [x25, x19, lsl #3]
	ldp	w8, w9, [x10, #16]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x22
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh29:
	adrp	x22, _IEEE80211_CHAN_NO_IR@GOTPAGE
Lloh30:
	ldr	x22, [x22, _IEEE80211_CHAN_NO_IR@GOTPAGEOFF]
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh31:
	adrp	x11, _DEBUG_SCAN@GOTPAGE
Lloh32:
	ldr	x11, [x11, _DEBUG_SCAN@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x11]
	ldr	w2, [x10, #24]
	ldr	x10, [x10]
Lloh34:
	adrp	x11, _IEEE80211_CHAN_RADAR@GOTPAGE
Lloh35:
	ldr	x11, [x11, _IEEE80211_CHAN_RADAR@GOTPAGEOFF]
Lloh36:
	ldr	x11, [x11]
	tst	x11, x20
Lloh37:
	adrp	x11, l_.str.2@PAGE
Lloh38:
	add	x11, x11, l_.str.2@PAGEOFF
Lloh39:
	adrp	x13, l_.str.3@PAGE
Lloh40:
	add	x13, x13, l_.str.3@PAGEOFF
	csel	x11, x13, x11, eq
	ldr	x12, [x22]
	tst	x12, x20
Lloh41:
	adrp	x12, l_.str.4@PAGE
Lloh42:
	add	x12, x12, l_.str.4@PAGEOFF
	csel	x12, x13, x12, eq
	stp	x11, x12, [sp, #40]
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	str	x11, [sp, #32]
	ldur	x11, [x29, #-88]                ; 8-byte Folded Reload
	stp	x9, x11, [sp, #16]
	stp	x8, x10, [sp]
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wl1271_debug
	add	w26, w26, #1
	ldur	w12, [x29, #-100]               ; 4-byte Folded Reload
Lloh45:
	adrp	x13, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh46:
	ldr	x13, [x13, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
	cmp	x19, x24
	b.ge	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w26, w28
	b.lt	LBB0_6
	b	LBB0_27
LBB0_26:
	mov	x26, x20
LBB0_27:
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	sub	w0, w26, w8
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_TYPE_SEARCH,4,2           ; @SCAN_TYPE_SEARCH
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_IEEE80211_CHAN_NO_IR,8,3       ; @IEEE80211_CHAN_NO_IR
	.comm	_IEEE80211_CHAN_DISABLED,8,3    ; @IEEE80211_CHAN_DISABLED
	.comm	_IEEE80211_CHAN_RADAR,8,3       ; @IEEE80211_CHAN_RADAR
	.comm	_SCAN_CHANNEL_FLAGS_DFS,4,2     ; @SCAN_CHANNEL_FLAGS_DFS
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_DEBUG_SCAN,4,2                 ; @DEBUG_SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n_pactive_ch = %d"

l_.str.1:                               ; @.str.1
	.asciz	"freq %d, ch. %d, flags 0x%x, power %d, min/max_dwell %d/%d%s%s"

l_.str.2:                               ; @.str.2
	.asciz	", DFS"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	", NO-IR"

	.no_dead_strip	_wlcore_scan_get_channels
.subsections_via_symbols
