	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makescanlist
_makescanlist:                          ## @makescanlist
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, (%rdi)
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %rbx
	movq	_IEEE80211_MODE_AUTO@GOTPCREL(%rip), %r13
	movq	_IEEE80211_MODE_11NA@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edx
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %r8d
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_add_channels
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	20(%rbx), %rcx
	addq	$16, %rbx
	testq	%rcx, %rcx
	je	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %eax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edx
	cmpl	(%r14), %edx
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	(%r13), %edx
	jne	LBB0_16
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %eax
	movl	$128, %edx
	cmpl	$128, %eax
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	(%r13), %eax
	je	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_IEEE80211_MODE_11G@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_2
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_IEEE80211_MODE_11NG@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edx
	movq	_IEEE80211_MODE_VHT_2GHZ@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %eax
	jne	LBB0_4
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %edx
	cmpl	(%r13), %edx
	je	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %edx
	movl	%eax, %edx
	jne	LBB0_4
	jmp	LBB0_3
LBB0_20:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sweepchannels                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MODE_AUTO,4,2        ## @IEEE80211_MODE_AUTO
	.comm	_IEEE80211_MODE_11G,4,2         ## @IEEE80211_MODE_11G
	.comm	_IEEE80211_MODE_11NG,4,2        ## @IEEE80211_MODE_11NG
	.comm	_IEEE80211_MODE_VHT_2GHZ,4,2    ## @IEEE80211_MODE_VHT_2GHZ
	.comm	_IEEE80211_MODE_11NA,4,2        ## @IEEE80211_MODE_11NA
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ## @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_F_XR,4,2             ## @IEEE80211_F_XR
	.comm	_IEEE80211_MODE_STURBO_A,4,2    ## @IEEE80211_MODE_STURBO_A
	.comm	_IEEE80211_MODE_TURBO_A,4,2     ## @IEEE80211_MODE_TURBO_A
	.comm	_IEEE80211_MODE_TURBO_G,4,2     ## @IEEE80211_MODE_TURBO_G
	.no_dead_strip	_makescanlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makescanlist
_makescanlist:                          ; @makescanlist
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [x0]
	ldr	x3, [x2, #8]
	cbz	x3, LBB0_11
; %bb.1:
	add	x22, x19, #4
Lloh0:
	adrp	x23, _IEEE80211_MODE_AUTO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IEEE80211_MODE_AUTO@GOTPAGEOFF]
Lloh2:
	adrp	x24, _IEEE80211_MODE_11G@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IEEE80211_MODE_11G@GOTPAGEOFF]
Lloh4:
	adrp	x25, _IEEE80211_MODE_11NG@GOTPAGE
Lloh5:
	ldr	x25, [x25, _IEEE80211_MODE_11NG@GOTPAGEOFF]
Lloh6:
	adrp	x26, _IEEE80211_MODE_VHT_2GHZ@GOTPAGE
Lloh7:
	ldr	x26, [x26, _IEEE80211_MODE_VHT_2GHZ@GOTPAGEOFF]
Lloh8:
	adrp	x27, _IEEE80211_MODE_11NA@GOTPAGE
Lloh9:
	ldr	x27, [x27, _IEEE80211_MODE_11NA@GOTPAGEOFF]
Lloh10:
	adrp	x28, _IEEE80211_MODE_VHT_5GHZ@GOTPAGE
Lloh11:
	ldr	x28, [x28, _IEEE80211_MODE_VHT_5GHZ@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_add_channels
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x3, [x22, #20]
	add	x22, x22, #16
	cbz	x3, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x22, #-4]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x20]
	ldr	w9, [x27]
	ldr	w10, [x28]
	cmp	w2, w9
	ccmp	w2, w10, #4, ne
	b.eq	LBB0_2
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x20]
	cmp	w2, #128
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	ldr	w10, [x25]
	ldr	w11, [x26]
	cmp	w2, w8
	ccmp	w2, w9, #4, ne
	ccmp	w2, w10, #4, ne
	ccmp	w2, w11, #4, ne
	b.eq	LBB0_2
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x20]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x23]
	cmp	w2, w9
	ccmp	w2, w8, #4, ne
	mov	x2, x8
	b.eq	LBB0_2
	b	LBB0_3
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_sweepchannels
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MODE_AUTO,4,2        ; @IEEE80211_MODE_AUTO
	.comm	_IEEE80211_MODE_11G,4,2         ; @IEEE80211_MODE_11G
	.comm	_IEEE80211_MODE_11NG,4,2        ; @IEEE80211_MODE_11NG
	.comm	_IEEE80211_MODE_VHT_2GHZ,4,2    ; @IEEE80211_MODE_VHT_2GHZ
	.comm	_IEEE80211_MODE_11NA,4,2        ; @IEEE80211_MODE_11NA
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ; @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_F_XR,4,2             ; @IEEE80211_F_XR
	.comm	_IEEE80211_MODE_STURBO_A,4,2    ; @IEEE80211_MODE_STURBO_A
	.comm	_IEEE80211_MODE_TURBO_A,4,2     ; @IEEE80211_MODE_TURBO_A
	.comm	_IEEE80211_MODE_TURBO_G,4,2     ; @IEEE80211_MODE_TURBO_G
	.no_dead_strip	_makescanlist
.subsections_via_symbols
