	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getmodeflags
_getmodeflags:                          ## @getmodeflags
	.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	%rdi, %r14
	movl	$58, %esi
	callq	_strchr
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r13
	movsbl	1(%rax), %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	addq	$2, %r13
	xorl	%r15d, %r15d
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_6
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_TURBO@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	orl	(%rax), %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movsbl	(%r13), %edi
	callq	_isalpha
	incq	%r13
	testq	%rax, %rax
	je	LBB0_20
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%r13), %ebx
	movl	%ebx, %edi
	callq	_isupper
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_tolower
	movl	%eax, %ebx
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	addl	$-97, %ebx
	cmpl	$21, %ebx
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r12,%rbx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_B@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movsbl	-1(%r13), %ecx
	movl	$-1, %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_errx
	jmp	LBB0_5
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_G@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_HALF@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_HT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_QUARTER@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_STURBO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IEEE80211_CHAN_STURBO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%r15d, %eax
	jne	LBB0_5
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IEEE80211_CHAN_VHT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_20:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.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_15
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_19
	.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_HT,4,2          ## @IEEE80211_CHAN_HT
	.comm	_IEEE80211_CHAN_TURBO,4,2       ## @IEEE80211_CHAN_TURBO
	.comm	_IEEE80211_CHAN_STURBO,4,2      ## @IEEE80211_CHAN_STURBO
	.comm	_IEEE80211_CHAN_HALF,4,2        ## @IEEE80211_CHAN_HALF
	.comm	_IEEE80211_CHAN_QUARTER,4,2     ## @IEEE80211_CHAN_QUARTER
	.comm	_IEEE80211_CHAN_VHT,4,2         ## @IEEE80211_CHAN_VHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Invalid mode attribute %c\n"

	.no_dead_strip	_getmodeflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getmodeflags
_getmodeflags:                          ; @getmodeflags
	.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, x0
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.1:
	mov	x21, x0
	ldrsb	w0, [x0, #1]
	bl	_isalpha
	mov	w20, #0
	cbz	x0, LBB0_22
; %bb.2:
	add	x23, x21, #2
Lloh0:
	adrp	x26, _IEEE80211_CHAN_TURBO@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IEEE80211_CHAN_TURBO@GOTPAGEOFF]
Lloh2:
	adrp	x24, lJTI0_0@PAGE
Lloh3:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x25, _IEEE80211_CHAN_HT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _IEEE80211_CHAN_HT@GOTPAGEOFF]
Lloh6:
	adrp	x27, _IEEE80211_CHAN_QUARTER@GOTPAGE
Lloh7:
	ldr	x27, [x27, _IEEE80211_CHAN_QUARTER@GOTPAGEOFF]
Lloh8:
	adrp	x28, _IEEE80211_CHAN_STURBO@GOTPAGE
Lloh9:
	ldr	x28, [x28, _IEEE80211_CHAN_STURBO@GOTPAGEOFF]
Lloh10:
	adrp	x21, _IEEE80211_CHAN_VHT@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IEEE80211_CHAN_VHT@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh12:
	adrp	x8, _IEEE80211_CHAN_A@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_CHAN_A@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x8]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	orr	w20, w8, w20
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsb	w0, [x23], #1
	bl	_isalpha
	cbz	x0, LBB0_22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldursb	w22, [x23, #-1]
	mov	x0, x22
	bl	_isupper
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_tolower
	mov	x22, x0
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w22, #97
	cmp	w8, #21
	b.hi	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh14:
	adrp	x8, _IEEE80211_CHAN_B@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_CHAN_B@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldursb	w3, [x23, #-1]
	mov	w0, #-1
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_errx
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh18:
	adrp	x8, _IEEE80211_CHAN_G@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_CHAN_G@GOTPAGEOFF]
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh20:
	adrp	x8, _IEEE80211_CHAN_HALF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_CHAN_HALF@GOTPAGEOFF]
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x25]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27]
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w8, w9, w8
	tst	w8, w20
	b.ne	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x26]
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21]
	b	LBB0_5
LBB0_21:
	mov	w20, #0
LBB0_22:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>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_HT,4,2          ; @IEEE80211_CHAN_HT
	.comm	_IEEE80211_CHAN_TURBO,4,2       ; @IEEE80211_CHAN_TURBO
	.comm	_IEEE80211_CHAN_STURBO,4,2      ; @IEEE80211_CHAN_STURBO
	.comm	_IEEE80211_CHAN_HALF,4,2        ; @IEEE80211_CHAN_HALF
	.comm	_IEEE80211_CHAN_QUARTER,4,2     ; @IEEE80211_CHAN_QUARTER
	.comm	_IEEE80211_CHAN_VHT,4,2         ; @IEEE80211_CHAN_VHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Invalid mode attribute %c\n"

	.no_dead_strip	_getmodeflags
.subsections_via_symbols
