	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_channels
_show_channels:                         ## @show_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	movl	(%rax), %edi
	callq	_libipw_get_geo
	movq	%rax, %r15
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %r13
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movl	%eax, %ebx
	cmpl	$0, (%r15)
	leaq	L_.str.2(%rip), %r14
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	leaq	(%rbx,%r13), %rdi
	movq	16(%r15), %rax
	movl	(%rax,%r12,8), %edx
	movl	4(%rax,%r12,8), %eax
	movq	_LIBIPW_CH_RADAR_DETECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%eax, %r8d
	leaq	L_.str.3(%rip), %r9
	movq	%r9, %rcx
	cmovneq	%r14, %rcx
	movq	_LIBIPW_CH_NO_IBSS@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	orl	%r8d, %esi
	leaq	L_.str.4(%rip), %r8
	cmovneq	%r9, %r8
	movq	_LIBIPW_CH_PASSIVE_ONLY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	leaq	L_.str.5(%rip), %r9
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rsi, %r9
	movq	_LIBIPW_CH_B_ONLY@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rsi, %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	movslq	%ebx, %rbx
	leaq	(%rbx,%r13), %rdi
	movl	4(%r15), %edx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	cmpl	$0, 4(%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r12,8), %esi
	movq	_LIBIPW_CH_RADAR_DETECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%esi, %edx
	leaq	L_.str.3(%rip), %r9
	movq	%r9, %rcx
	cmovneq	%r14, %rcx
	movslq	%ebx, %rbx
	movq	_LIBIPW_CH_NO_IBSS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%esi, %edi
	orl	%edx, %edi
	leaq	(%r13,%rbx), %rdi
	movl	(%rax,%r12,8), %edx
	leaq	L_.str.4(%rip), %r8
	cmovneq	%r9, %r8
	movq	_LIBIPW_CH_PASSIVE_ONLY@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	leaq	L_.str.5(%rip), %r9
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %r9
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	incq	%r12
	movslq	4(%r15), %rax
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Displaying %d channels in 2.4Ghz band (802.11bg):\n"

L_.str.1:                               ## @.str.1
	.asciz	"%d: BSS%s%s, %s, Band %s.\n"

	.comm	_LIBIPW_CH_RADAR_DETECT,4,2     ## @LIBIPW_CH_RADAR_DETECT
L_.str.2:                               ## @.str.2
	.asciz	" (radar spectrum)"

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

	.comm	_LIBIPW_CH_NO_IBSS,4,2          ## @LIBIPW_CH_NO_IBSS
L_.str.4:                               ## @.str.4
	.asciz	", IBSS"

	.comm	_LIBIPW_CH_PASSIVE_ONLY,4,2     ## @LIBIPW_CH_PASSIVE_ONLY
L_.str.5:                               ## @.str.5
	.asciz	"passive only"

L_.str.6:                               ## @.str.6
	.asciz	"active/passive"

	.comm	_LIBIPW_CH_B_ONLY,4,2           ## @LIBIPW_CH_B_ONLY
L_.str.7:                               ## @.str.7
	.asciz	"B"

L_.str.8:                               ## @.str.8
	.asciz	"B/G"

L_.str.9:                               ## @.str.9
	.asciz	"Displaying %d channels in 5.2Ghz band (802.11a):\n"

L_.str.10:                              ## @.str.10
	.asciz	"%d: BSS%s%s, %s.\n"

	.no_dead_strip	_show_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_channels
_show_channels:                         ; @show_channels
	.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
	mov	x19, x2
	bl	_dev_get_drvdata
	ldr	w0, [x0]
	bl	_libipw_get_geo
	mov	x20, x0
	ldr	w2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x21, x0
Lloh2:
	adrp	x24, l_.str.3@PAGE
Lloh3:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh4:
	adrp	x22, l_.str.4@PAGE
Lloh5:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh6:
	adrp	x9, _LIBIPW_CH_PASSIVE_ONLY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LIBIPW_CH_PASSIVE_ONLY@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh8:
	adrp	x10, l_.str.5@PAGE
Lloh9:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh10:
	adrp	x11, l_.str.6@PAGE
Lloh11:
	add	x11, x11, l_.str.6@PAGEOFF
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, #0
	mov	x27, #0
	mov	x28, x9
	mov	x25, x10
	mov	x23, x11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, w21, sxtw
	ldr	x8, [x20, #16]
	add	x8, x8, x26
	ldp	w2, w8, [x8]
Lloh12:
	adrp	x9, _LIBIPW_CH_RADAR_DETECT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LIBIPW_CH_RADAR_DETECT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ands	w9, w9, w8
Lloh15:
	adrp	x10, l_.str.2@PAGE
Lloh16:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x10, x10, x24, ne
Lloh17:
	adrp	x11, _LIBIPW_CH_NO_IBSS@GOTPAGE
Lloh18:
	ldr	x11, [x11, _LIBIPW_CH_NO_IBSS@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	and	w11, w11, w8
	orr	w9, w11, w9
	cmp	w9, #0
	csel	x9, x24, x22, ne
	ldr	w11, [x28]
	tst	w11, w8
	csel	x11, x23, x25, eq
Lloh20:
	adrp	x12, _LIBIPW_CH_B_ONLY@GOTPAGE
Lloh21:
	ldr	x12, [x12, _LIBIPW_CH_B_ONLY@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
	tst	w12, w8
Lloh23:
	adrp	x8, l_.str.7@PAGE
Lloh24:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh25:
	adrp	x12, l_.str.8@PAGE
Lloh26:
	add	x12, x12, l_.str.8@PAGEOFF
	csel	x8, x12, x8, eq
	stp	x11, x8, [sp, #16]
	stp	x10, x9, [sp]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	add	w21, w0, w21
	add	x27, x27, #1
	ldrsw	x8, [x20]
	add	x26, x26, #8
	cmp	x27, x8
	b.lt	LBB0_2
LBB0_3:
	add	x0, x19, w21, sxtw
	ldr	w2, [x20, #4]
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_sprintf
	add	w21, w0, w21
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
	mov	x26, #0
Lloh31:
	adrp	x27, _LIBIPW_CH_PASSIVE_ONLY@GOTPAGE
Lloh32:
	ldr	x27, [x27, _LIBIPW_CH_PASSIVE_ONLY@GOTPAGEOFF]
Lloh33:
	adrp	x25, l_.str.5@PAGE
Lloh34:
	add	x25, x25, l_.str.5@PAGEOFF
Lloh35:
	adrp	x28, l_.str.6@PAGE
Lloh36:
	add	x28, x28, l_.str.6@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, w21, sxtw
	ldr	x8, [x20, #8]
	add	x8, x8, x23
	ldp	w2, w8, [x8]
Lloh37:
	adrp	x9, _LIBIPW_CH_RADAR_DETECT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _LIBIPW_CH_RADAR_DETECT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ands	w9, w9, w8
Lloh40:
	adrp	x10, l_.str.2@PAGE
Lloh41:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x10, x10, x24, ne
Lloh42:
	adrp	x11, _LIBIPW_CH_NO_IBSS@GOTPAGE
Lloh43:
	ldr	x11, [x11, _LIBIPW_CH_NO_IBSS@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
	and	w11, w11, w8
	orr	w9, w11, w9
	cmp	w9, #0
	csel	x9, x24, x22, ne
	ldr	w11, [x27]
	tst	w11, w8
	csel	x8, x28, x25, eq
	stp	x9, x8, [sp, #8]
	str	x10, [sp]
Lloh45:
	adrp	x1, l_.str.10@PAGE
Lloh46:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_sprintf
	add	w21, w0, w21
	add	x26, x26, #1
	ldrsw	x8, [x20, #4]
	add	x23, x23, #8
	cmp	x26, x8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x21
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Displaying %d channels in 2.4Ghz band (802.11bg):\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d: BSS%s%s, %s, Band %s.\n"

	.comm	_LIBIPW_CH_RADAR_DETECT,4,2     ; @LIBIPW_CH_RADAR_DETECT
l_.str.2:                               ; @.str.2
	.asciz	" (radar spectrum)"

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

	.comm	_LIBIPW_CH_NO_IBSS,4,2          ; @LIBIPW_CH_NO_IBSS
l_.str.4:                               ; @.str.4
	.asciz	", IBSS"

	.comm	_LIBIPW_CH_PASSIVE_ONLY,4,2     ; @LIBIPW_CH_PASSIVE_ONLY
l_.str.5:                               ; @.str.5
	.asciz	"passive only"

l_.str.6:                               ; @.str.6
	.asciz	"active/passive"

	.comm	_LIBIPW_CH_B_ONLY,4,2           ; @LIBIPW_CH_B_ONLY
l_.str.7:                               ; @.str.7
	.asciz	"B"

l_.str.8:                               ; @.str.8
	.asciz	"B/G"

l_.str.9:                               ; @.str.9
	.asciz	"Displaying %d channels in 5.2Ghz band (802.11a):\n"

l_.str.10:                              ; @.str.10
	.asciz	"%d: BSS%s%s, %s.\n"

	.no_dead_strip	_show_channels
.subsections_via_symbols
