	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getchannelflags
_getchannelflags:                       ## @getchannelflags
	.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
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	$58, %esi
	callq	_strchr
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rax, %rbx
	movsbl	1(%rax), %edi
	callq	_isalpha
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	addq	$2, %rbx
	leaq	LJTI0_0(%rip), %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	orl	$-2147483648, %r12d             ## imm = 0x80000000
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movsbl	(%rbx), %edi
	callq	_isalpha
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%rbx), %r14d
	movl	%r14d, %edi
	callq	_isupper
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %edi
	callq	_tolower
	movl	%eax, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	addl	$-97, %r14d
	cmpl	$21, %r14d
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r13,%r14,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_B@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_5
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movsbl	-1(%rbx), %ecx
	movl	$-1, %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_5
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_G@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_STURBO@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_5
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_STURBO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$-2147483648, %ecx              ## imm = 0x80000000
	orl	%ecx, %eax
	testl	%r12d, %eax
	jne	LBB0_5
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_TURBO@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_5
LBB0_17:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_18:
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_35
## %bb.19:
	incq	%rax
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	movl	$10, %edx
	callq	_strtoul
                                        ## kill: def $eax killed $eax def $rax
	leal	-5(%rax), %ecx
	cmpl	$35, %ecx
	ja	LBB0_23
## %bb.20:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_21:
	movq	_IEEE80211_CHAN_QUARTER@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_23:
	cmpl	$80, %eax
	je	LBB0_29
## %bb.24:
	cmpl	$160, %eax
	jne	LBB0_26
## %bb.25:
	movq	_IEEE80211_CHAN_VHT160@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_26:
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
	testl	%r12d, %r12d
	jns	LBB0_36
	jmp	LBB0_39
LBB0_27:
	movq	_IEEE80211_CHAN_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_28:
	movq	_IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_29:
	movq	_IEEE80211_CHAN_VHT80@GOTPCREL(%rip), %rax
LBB0_30:
	orl	(%rax), %r12d
LBB0_31:
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:
	movb	(%rax), %al
	cmpb	$45, %al
	je	LBB0_38
## %bb.33:
	cmpb	$43, %al
	jne	LBB0_35
## %bb.34:
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
LBB0_35:
	testl	%r12d, %r12d
	js	LBB0_39
LBB0_36:
	movq	_IEEE80211_CHAN_HT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CHAN_VHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
LBB0_37:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
LBB0_22:
	orl	(%rax), %r12d
	testl	%r12d, %r12d
	jns	LBB0_36
LBB0_39:
	andl	$2147483647, %r12d              ## imm = 0x7FFFFFFF
	movq	_IEEE80211_CHAN_HT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%r12d, %eax
	jne	LBB0_44
## %bb.40:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	cmpl	$256, %esi                      ## imm = 0x100
	jl	LBB0_42
## %bb.41:
	callq	_mapfreq
	jmp	LBB0_43
LBB0_42:
	callq	_mapchan
LBB0_43:
	movl	(%rbx), %eax
	movl	-48(%rbp), %ecx
	andl	%eax, %ecx
	orl	%ecx, %r12d
LBB0_44:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_37
## %bb.45:
	andl	%r12d, %eax
	je	LBB0_37
## %bb.46:
	movq	_IEEE80211_CHAN_VHT80@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_37
## %bb.47:
	movq	_IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_49
## %bb.48:
	movq	_IEEE80211_CHAN_VHT20@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_49:
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_51
## %bb.50:
	movq	_IEEE80211_CHAN_VHT40U@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_51:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_37
## %bb.52:
	movq	_IEEE80211_CHAN_VHT40D@GOTPCREL(%rip), %rax
LBB0_53:
	orl	(%rax), %r12d
	jmp	LBB0_37
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_3
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_31, LBB0_31-LJTI0_1
LJTI0_1:
	.long	L0_1_set_21
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_27
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_28
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_26
	.long	L0_1_set_31
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_CHAN_A,4,2           ## @IEEE80211_CHAN_A
	.comm	_IEEE80211_CHAN_B,4,2           ## @IEEE80211_CHAN_B
	.comm	_IEEE80211_CHAN_G,4,2           ## @IEEE80211_CHAN_G
	.comm	_IEEE80211_CHAN_TURBO,4,2       ## @IEEE80211_CHAN_TURBO
	.comm	_IEEE80211_CHAN_STURBO,4,2      ## @IEEE80211_CHAN_STURBO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Invalid channel attribute %c\n"

	.comm	_IEEE80211_CHAN_QUARTER,4,2     ## @IEEE80211_CHAN_QUARTER
	.comm	_IEEE80211_CHAN_HALF,4,2        ## @IEEE80211_CHAN_HALF
	.comm	_IEEE80211_CHAN_HT20,4,2        ## @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_CHAN_VHT80,4,2       ## @IEEE80211_CHAN_VHT80
	.comm	_IEEE80211_CHAN_VHT160,4,2      ## @IEEE80211_CHAN_VHT160
	.comm	_IEEE80211_CHAN_HT40U,4,2       ## @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ## @IEEE80211_CHAN_HT40D
L_.str.1:                               ## @.str.1
	.asciz	"%s: Invalid channel width\n"

	.comm	_IEEE80211_CHAN_HT,4,2          ## @IEEE80211_CHAN_HT
	.comm	_IEEE80211_CHAN_VHT,4,2         ## @IEEE80211_CHAN_VHT
	.comm	_IEEE80211_CHAN_VHT20,4,2       ## @IEEE80211_CHAN_VHT20
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ## @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ## @IEEE80211_CHAN_VHT40D
	.comm	__CHAN_HT,4,2                   ## @_CHAN_HT
	.no_dead_strip	_getchannelflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getchannelflags
_getchannelflags:                       ; @getchannelflags
	.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, x1
	mov	x20, x0
	mov	w1, #58
	bl	_strchr
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_18
; %bb.1:
	mov	x21, x0
	ldrsb	w0, [x0, #1]
	bl	_isalpha
	cbz	x0, LBB0_18
; %bb.2:
	mov	w23, #0
	mov	w24, #0
	add	x25, x21, #2
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x28, _IEEE80211_CHAN_TURBO@GOTPAGE
Lloh3:
	ldr	x28, [x28, _IEEE80211_CHAN_TURBO@GOTPAGEOFF]
Lloh4:
	adrp	x19, _IEEE80211_CHAN_G@GOTPAGE
Lloh5:
	ldr	x19, [x19, _IEEE80211_CHAN_G@GOTPAGEOFF]
Lloh6:
	adrp	x26, _IEEE80211_CHAN_STURBO@GOTPAGE
Lloh7:
	ldr	x26, [x26, _IEEE80211_CHAN_STURBO@GOTPAGEOFF]
Lloh8:
	adrp	x27, lJTI0_0@PAGE
Lloh9:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	orr	w24, w24, #0x80000000
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrsb	w0, [x25], #1
	bl	_isalpha
	cbz	x0, LBB0_19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldursb	w22, [x25, #-1]
	mov	x0, x22
	bl	_isupper
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_tolower
	mov	x22, x0
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w22, #97
	cmp	w8, #21
	b.hi	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _IEEE80211_CHAN_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_CHAN_A@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x8, _IEEE80211_CHAN_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_CHAN_B@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
	orr	w24, w8, w24
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldursb	x8, [x25, #-1]
	str	x8, [sp]
	mov	w0, #-1
	mov	x1, x21
	mov	x2, x20
	bl	_errx
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	orr	w24, w8, w24
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	orr	w24, w8, w24
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	orr	w8, w8, #0x80000000
	tst	w8, w24
	b.ne	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	orr	w24, w8, w24
	b	LBB0_5
LBB0_18:
	mov	w24, #0
	mov	w23, #0
LBB0_19:
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_37
; %bb.20:
	add	x0, x0, #1
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtoul
	sub	w8, w0, #5
	cmp	w8, #35
	b.hi	LBB0_23
; %bb.21:
Lloh14:
	adrp	x9, lJTI0_1@PAGE
Lloh15:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_22
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_22:
Lloh16:
	adrp	x8, _IEEE80211_CHAN_QUARTER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IEEE80211_CHAN_QUARTER@GOTPAGEOFF]
	b	LBB0_36
LBB0_23:
	cmp	w0, #80
	b.eq	LBB0_29
; %bb.24:
	cmp	w0, #160
	b.ne	LBB0_26
; %bb.25:
Lloh18:
	adrp	x8, _IEEE80211_CHAN_VHT160@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT160@GOTPAGEOFF]
	b	LBB0_30
LBB0_26:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #-1
	mov	x2, x20
	bl	_errx
	b	LBB0_37
LBB0_27:
Lloh22:
	adrp	x8, _IEEE80211_CHAN_HALF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IEEE80211_CHAN_HALF@GOTPAGEOFF]
	b	LBB0_36
LBB0_28:
Lloh24:
	adrp	x8, _IEEE80211_CHAN_HT20@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IEEE80211_CHAN_HT20@GOTPAGEOFF]
	b	LBB0_36
LBB0_29:
Lloh26:
	adrp	x8, _IEEE80211_CHAN_VHT80@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT80@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_31:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_37
; %bb.32:
	ldrb	w8, [x8]
	cmp	w8, #45
	b.eq	LBB0_35
; %bb.33:
	cmp	w8, #43
	b.ne	LBB0_37
; %bb.34:
Lloh28:
	adrp	x8, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
	b	LBB0_36
LBB0_35:
Lloh30:
	adrp	x8, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
LBB0_36:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_37:
	tbnz	w24, #31, LBB0_40
; %bb.38:
Lloh32:
	adrp	x8, _IEEE80211_CHAN_HT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IEEE80211_CHAN_HT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _IEEE80211_CHAN_VHT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IEEE80211_CHAN_VHT@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w24, w8
LBB0_39:
	mov	x0, x20
	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
LBB0_40:
	and	w20, w24, #0x7fffffff
Lloh38:
	adrp	x19, _IEEE80211_CHAN_HT@GOTPAGE
Lloh39:
	ldr	x19, [x19, _IEEE80211_CHAN_HT@GOTPAGEOFF]
	ldr	w8, [x19]
	tst	w8, w20
	b.ne	LBB0_45
; %bb.41:
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	add	x0, sp, #16
	cmp	w1, #256
	b.lt	LBB0_43
; %bb.42:
	mov	w2, #0
	bl	_mapfreq
	b	LBB0_44
LBB0_43:
	mov	w2, #0
	bl	_mapchan
LBB0_44:
	ldr	w9, [sp, #16]
	ldr	w8, [x19]
	and	w9, w8, w9
	orr	w20, w9, w20
LBB0_45:
	cbz	w23, LBB0_39
; %bb.46:
	and	w8, w8, w20
	cbz	w8, LBB0_39
; %bb.47:
Lloh40:
	adrp	x8, _IEEE80211_CHAN_VHT80@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT80@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_39
; %bb.48:
Lloh43:
	adrp	x8, _IEEE80211_CHAN_HT20@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IEEE80211_CHAN_HT20@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_50
; %bb.49:
Lloh46:
	adrp	x8, _IEEE80211_CHAN_VHT20@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT20@GOTPAGEOFF]
	b	LBB0_54
LBB0_50:
Lloh48:
	adrp	x8, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_52
; %bb.51:
Lloh51:
	adrp	x8, _IEEE80211_CHAN_VHT40U@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT40U@GOTPAGEOFF]
	b	LBB0_54
LBB0_52:
Lloh53:
	adrp	x8, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_39
; %bb.53:
Lloh56:
	adrp	x8, _IEEE80211_CHAN_VHT40D@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT40D@GOTPAGEOFF]
LBB0_54:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_39
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_27-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_28-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_31-LBB0_22)>>2
                                        ; -- End function
	.comm	_IEEE80211_CHAN_A,4,2           ; @IEEE80211_CHAN_A
	.comm	_IEEE80211_CHAN_B,4,2           ; @IEEE80211_CHAN_B
	.comm	_IEEE80211_CHAN_G,4,2           ; @IEEE80211_CHAN_G
	.comm	_IEEE80211_CHAN_TURBO,4,2       ; @IEEE80211_CHAN_TURBO
	.comm	_IEEE80211_CHAN_STURBO,4,2      ; @IEEE80211_CHAN_STURBO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Invalid channel attribute %c\n"

	.comm	_IEEE80211_CHAN_QUARTER,4,2     ; @IEEE80211_CHAN_QUARTER
	.comm	_IEEE80211_CHAN_HALF,4,2        ; @IEEE80211_CHAN_HALF
	.comm	_IEEE80211_CHAN_HT20,4,2        ; @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_CHAN_VHT80,4,2       ; @IEEE80211_CHAN_VHT80
	.comm	_IEEE80211_CHAN_VHT160,4,2      ; @IEEE80211_CHAN_VHT160
	.comm	_IEEE80211_CHAN_HT40U,4,2       ; @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ; @IEEE80211_CHAN_HT40D
l_.str.1:                               ; @.str.1
	.asciz	"%s: Invalid channel width\n"

	.comm	_IEEE80211_CHAN_HT,4,2          ; @IEEE80211_CHAN_HT
	.comm	_IEEE80211_CHAN_VHT,4,2         ; @IEEE80211_CHAN_VHT
	.comm	_IEEE80211_CHAN_VHT20,4,2       ; @IEEE80211_CHAN_VHT20
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ; @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ; @IEEE80211_CHAN_VHT40D
	.comm	__CHAN_HT,4,2                   ; @_CHAN_HT
	.no_dead_strip	_getchannelflags
.subsections_via_symbols
