	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_announce_channels    ## -- Begin function ieee80211_announce_channels
	.p2align	4, 0x90
_ieee80211_announce_channels:           ## @ieee80211_announce_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_str(%rip), %rdi
	callq	_puts
	cmpl	$0, (%rbx)
	jle	LBB0_16
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r14,%r12), %r10d
	movl	12(%r14,%r12), %r11d
	movl	%r11d, %r15d
	shrl	$31, %r15d
	addl	%r11d, %r15d
	sarl	%r15d
	andl	$1, %r11d
	negl	%r11d
	andl	$5, %r11d
	movl	16(%r14,%r12), %ebx
	movl	%ebx, %r14d
	shrl	$31, %r14d
	addl	%ebx, %r14d
	sarl	%r14d
	andl	$1, %ebx
	negl	%ebx
	andl	$5, %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r14
	pushq	%r11
	pushq	%r15
	pushq	%r10
	callq	_printf
	addq	$48, %rsp
	incq	%r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rbx), %rax
	addq	$20, %r12
	cmpq	%rax, %r13
	jge	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r14
	leaq	(%r14,%r12), %r15
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_ST
	movl	$83, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_108A
	movl	$84, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_108G
	movl	$71, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_HT
	movl	$110, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_A
	movl	$97, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_ANYG
	movl	$103, %ecx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_B
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	98(,%rcx,4), %ecx
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_HT40
	movl	$40, %ebx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_TURBO
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_HALF
	movl	$10, %ebx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_QUARTER
	testq	%rax, %rax
	movl	$5, %ebx
	movl	$20, %eax
	cmovel	%eax, %ebx
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14,%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r14,%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_HT40U
	movl	$43, %r9d
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_IEEE80211_IS_CHAN_HT40D
	testq	%rax, %rax
	movl	$45, %r9d
	movl	$32, %eax
	cmovel	%eax, %r9d
	jmp	LBB0_15
LBB0_16:
	addq	$24, %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.1:                               ## @.str.1
	.asciz	"%4d  %4d%c %2d%c %6d  %4d.%d  %4d.%d\n"

L_str:                                  ## @str
	.asciz	"Chan  Freq  CW  RegPwr  MinPwr  MaxPwr"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_announce_channels    ; -- Begin function ieee80211_announce_channels
	.p2align	2
_ieee80211_announce_channels:           ; @ieee80211_announce_channels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x0
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x22, #0
	mov	x23, #0
	mov	w26, #5
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_HT40D
	cmp	x0, #0
	mov	w8, #45
	mov	w9, #32
	csel	w8, w9, w8, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w10, w9, [x20, #8]
	cmp	w9, #0
	cinc	w11, w9, lt
	asr	w11, w11, #1
	ldr	w12, [x20, #16]
	cmp	w12, #0
	cinc	w13, w12, lt
	asr	w13, w13, #1
	tst	w12, #0x1
	csel	x12, xzr, x26, eq
	tst	w9, #0x1
	csel	x9, xzr, x26, eq
	stp	x8, x10, [sp, #32]
	stp	x27, x28, [sp, #16]
	stp	x25, x24, [sp]
	stp	x13, x12, [sp, #64]
	stp	x11, x9, [sp, #48]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	x23, x23, #1
	ldrsw	x8, [x19]
	add	x22, x22, #20
	cmp	x23, x8
	b.ge	LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, #8]
	add	x21, x25, x22
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_ST
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #83
	b	LBB0_17
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_108A
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #84
	b	LBB0_17
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_108G
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #71
	b	LBB0_17
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_HT
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #110
	b	LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_A
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #97
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_ANYG
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #103
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_B
	cmp	x0, #0
	mov	w8, #98
	mov	w9, #102
	csel	w27, w9, w8, eq
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_HT40
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_TURBO
	cbz	x0, LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #40
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x25, x22
	ldp	w25, w24, [x20]
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_HT40U
	cbz	x0, LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #43
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_HALF
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #10
	b	LBB0_20
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_IEEE80211_IS_CHAN_QUARTER
	cmp	x0, #0
	mov	w8, #20
	csel	w28, w8, w26, eq
	b	LBB0_20
LBB0_25:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%4d  %4d%c %2d%c %6d  %4d.%d  %4d.%d\n"

l_str:                                  ; @str
	.asciz	"Chan  Freq  CW  RegPwr  MinPwr  MaxPwr"

.subsections_via_symbols
