	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_txpow
_list_txpow:                            ## @list_txpow
	.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
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IEEE80211_CHAN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%ebx, %edi
	callq	_getchaninfo
	movq	_chaninfo@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_IEEE80211_CHANINFO_SPACE
	movl	%eax, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	$0, (%r15)
	leal	(,%r12,4), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r15)
	shlq	$4, %rcx
	movups	(%r12,%rbx), %xmm0
	movups	%xmm0, (%rax,%rcx)
	movl	8(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_setbit
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	_chaninfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax), %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %r12
	movl	8(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	setg	%dil
	callq	_assert
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	shlq	$4, %rcx
	movq	(%r12,%rbx), %rdx
	cmpq	-16(%rcx,%rax), %rdx
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%rcx, %rax
	addq	$-16, %rax
	movups	(%r12,%rbx), %xmm0
	movups	%xmm0, (%rax)
	jmp	LBB0_9
LBB0_10:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	(%r15), %r14d
	je	LBB0_14
## %bb.11:
	testl	%r14d, %r14d
	jle	LBB0_21
## %bb.12:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r14, %rdi
	callq	_print_txpow_verbose
	movl	$10, %edi
	callq	_putchar
	incq	%rbx
	movslq	(%r15), %rax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jl	LBB0_13
	jmp	LBB0_21
LBB0_14:
	movl	%r14d, %eax
	andl	$1, %eax
	cmpl	$2, %r14d
	jl	LBB0_15
## %bb.16:
	shrq	%r14
	addq	%rax, %r14
	shlq	$4, %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%rbx, %rdi
	callq	_print_txpow
	movq	8(%r15), %rdi
	addq	%r14, %rdi
	addq	%rbx, %rdi
	callq	_print_txpow
	movl	$10, %edi
	callq	_putchar
	incq	%r12
	movl	(%r15), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jl	LBB0_17
## %bb.18:
	andl	$1, %eax
	testl	%eax, %eax
	jne	LBB0_20
	jmp	LBB0_21
LBB0_15:
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_21
LBB0_20:
	shlq	$4, %r12
	addq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_print_txpow
	movl	$10, %edi
	callq	_putchar
LBB0_21:
	movq	%r15, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_BYTES,4,2       ## @IEEE80211_CHAN_BYTES
	.comm	_chaninfo,8,3                   ## @chaninfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no space for active channel list"

	.comm	_verbose,4,2                    ## @verbose
	.no_dead_strip	_list_txpow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_txpow
_list_txpow:                            ; @list_txpow
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _IEEE80211_CHAN_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CHAN_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_getchaninfo
Lloh8:
	adrp	x21, _chaninfo@GOTPAGE
Lloh9:
	ldr	x21, [x21, _chaninfo@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_IEEE80211_CHANINFO_SPACE
	bl	_malloc
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	str	wzr, [x19]
	lsl	w2, w22, #2
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	x8, [x21]
	ldr	w9, [x8]
Lloh12:
	adrp	x22, _verbose@GOTPAGE
Lloh13:
	ldr	x22, [x22, _verbose@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	ldr	q0, [x25, x23]
	str	q0, [x8, x9, lsl #4]
	ldr	w1, [x26, #8]
	mov	x0, x20
	bl	_setbit
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	x8, [x21]
	ldrsw	x9, [x8]
	add	x23, x23, #16
	cmp	x24, x9
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x8, #8]
	add	x26, x25, x23
	ldr	w1, [x26, #8]
	mov	x0, x20
	bl	_isset
	ldr	w8, [x22]
	cmp	x0, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #4
	ldr	x9, [x8, #-16]!
	ldr	x10, [x25, x23]
	cmp	x10, x9
	b.le	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	q0, [x25, x23]
	str	q0, [x8]
	b	LBB0_5
LBB0_9:
	ldr	w8, [x22]
	ldr	w9, [x19]
	cbz	w8, LBB0_13
; %bb.10:
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.11:
	mov	x20, #0
	mov	x21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	bl	_print_txpow_verbose
	mov	w0, #10
	bl	_putchar
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #16
	cmp	x21, x8
	b.lt	LBB0_12
	b	LBB0_19
LBB0_13:
	and	x8, x9, #0x1
	cmp	w9, #2
	b.lt	LBB0_17
; %bb.14:
	mov	x21, #0
	mov	x20, #0
	add	x8, x8, x9, lsr #1
	lsl	x22, x8, #4
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_print_txpow
	ldr	x8, [x19, #8]
	add	x8, x8, x22
	add	x0, x8, x21
	bl	_print_txpow
	mov	w0, #10
	bl	_putchar
	add	x20, x20, #1
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	add	x21, x21, #16
	cmp	x20, w9, sxtw
	b.lt	LBB0_15
; %bb.16:
	and	w8, w8, #0x1
	cbnz	w8, LBB0_18
	b	LBB0_19
LBB0_17:
	mov	x20, #0
	cbz	w8, LBB0_19
LBB0_18:
	ldr	x8, [x19, #8]
	add	x0, x8, x20, lsl #4
	bl	_print_txpow
	mov	w0, #10
	bl	_putchar
LBB0_19:
	mov	x0, x19
	bl	_free
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_BYTES,4,2       ; @IEEE80211_CHAN_BYTES
	.comm	_chaninfo,8,3                   ; @chaninfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no space for active channel list"

	.comm	_verbose,4,2                    ; @verbose
	.no_dead_strip	_list_txpow
.subsections_via_symbols
