	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getflags_5ghz
_getflags_5ghz:                         ## @getflags_5ghz
	.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	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_IEEE80211_MODE_11A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_IEEE80211_MODE_11NA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ebx, %eax
	incl	%ebx
	movl	%ecx, (%r14,%rax,4)
LBB0_5:
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IEEE80211_CHAN_VHT20@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ebx, %eax
	incl	%ebx
	movl	%ecx, (%r14,%rax,4)
LBB0_7:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.8:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %r12
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	leal	1(%rbx), %r15d
	movl	%ebx, %ecx
	movl	%eax, (%r14,%rcx,4)
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	movq	_IEEE80211_CHAN_VHT40U@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	addl	$2, %ebx
	movl	%r15d, %ecx
	movl	%eax, (%r14,%rcx,4)
	movl	%ebx, %r15d
LBB0_10:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	leal	1(%r15), %ebx
	movl	%r15d, %ecx
	movl	%eax, (%r14,%rcx,4)
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	movq	_IEEE80211_CHAN_VHT40D@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	addl	$2, %r15d
	movl	%ebx, %ecx
	movl	%eax, (%r14,%rcx,4)
	movl	%r15d, %ebx
LBB0_12:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_13:
	testl	%r15d, %r15d
	je	LBB0_16
## %bb.14:
	movq	_IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_isset
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_IEEE80211_CHAN_A@GOTPCREL(%rip), %rax
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IEEE80211_CHAN_VHT80@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ebx, %esi
	movl	%ecx, (%r14,%rsi,4)
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	addl	$2, %ebx
	movl	%ecx, 4(%r14,%rsi,4)
LBB0_16:
	movl	%ebx, %eax
	movl	$0, (%r14,%rax,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MODE_11A,4,2         ## @IEEE80211_MODE_11A
	.comm	_IEEE80211_CHAN_A,4,2           ## @IEEE80211_CHAN_A
	.comm	_IEEE80211_MODE_11NA,4,2        ## @IEEE80211_MODE_11NA
	.comm	_IEEE80211_CHAN_HT20,4,2        ## @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ## @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_CHAN_VHT20,4,2       ## @IEEE80211_CHAN_VHT20
	.comm	_IEEE80211_CHAN_HT40U,4,2       ## @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ## @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ## @IEEE80211_CHAN_HT40D
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ## @IEEE80211_CHAN_VHT40D
	.comm	_IEEE80211_CHAN_VHT80,4,2       ## @IEEE80211_CHAN_VHT80
	.no_dead_strip	_getflags_5ghz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getflags_5ghz
_getflags_5ghz:                         ; @getflags_5ghz
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IEEE80211_MODE_11A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MODE_11A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_isset
Lloh3:
	adrp	x23, _IEEE80211_CHAN_A@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IEEE80211_CHAN_A@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x23]
	str	w8, [x19]
	mov	w24, #1
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
Lloh5:
	adrp	x8, _IEEE80211_MODE_11NA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_MODE_11NA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_isset
Lloh8:
	adrp	x26, _IEEE80211_CHAN_HT20@GOTPAGE
Lloh9:
	ldr	x26, [x26, _IEEE80211_CHAN_HT20@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x23]
	ldr	w9, [x26]
	orr	w8, w9, w8
	str	w8, [x19, w24, uxtw #2]
	add	w24, w24, #1
LBB0_5:
Lloh10:
	adrp	x25, _IEEE80211_MODE_VHT_5GHZ@GOTPAGE
Lloh11:
	ldr	x25, [x25, _IEEE80211_MODE_VHT_5GHZ@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_isset
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x23]
	ldr	w9, [x26]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _IEEE80211_CHAN_VHT20@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_CHAN_VHT20@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, w24, uxtw #2]
	add	w24, w24, #1
LBB0_7:
Lloh15:
	adrp	x27, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh16:
	ldr	x27, [x27, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
Lloh17:
	adrp	x26, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh18:
	ldr	x26, [x26, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
	cbz	w22, LBB0_12
; %bb.8:
	ldr	w8, [x23]
	ldr	w9, [x27]
	orr	w8, w9, w8
	add	w22, w24, #1
	str	w8, [x19, w24, uxtw #2]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_isset
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x23]
	ldr	w9, [x27]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _IEEE80211_CHAN_VHT40U@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IEEE80211_CHAN_VHT40U@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, w22, uxtw #2]
	add	w22, w24, #2
LBB0_10:
	ldr	w8, [x23]
	ldr	w9, [x26]
	orr	w8, w9, w8
	add	w24, w22, #1
	str	w8, [x19, w22, uxtw #2]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_isset
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x23]
	ldr	w9, [x26]
	orr	w8, w9, w8
Lloh22:
	adrp	x9, _IEEE80211_CHAN_VHT40D@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IEEE80211_CHAN_VHT40D@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, w24, uxtw #2]
	add	w24, w22, #2
LBB0_12:
	cbz	w21, LBB0_15
; %bb.13:
	ldr	w1, [x25]
	mov	x0, x20
	bl	_isset
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w8, [x23]
	ldr	w9, [x27]
	orr	w8, w9, w8
Lloh25:
	adrp	x9, _IEEE80211_CHAN_VHT80@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IEEE80211_CHAN_VHT80@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w8, w10
	add	w10, w24, #1
	str	w8, [x19, w24, uxtw #2]
	ldr	w8, [x23]
	ldr	w11, [x26]
	orr	w8, w11, w8
	ldr	w9, [x9]
	orr	w8, w8, w9
	add	w24, w24, #2
	str	w8, [x19, w10, uxtw #2]
LBB0_15:
	str	wzr, [x19, w24, uxtw #2]
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MODE_11A,4,2         ; @IEEE80211_MODE_11A
	.comm	_IEEE80211_CHAN_A,4,2           ; @IEEE80211_CHAN_A
	.comm	_IEEE80211_MODE_11NA,4,2        ; @IEEE80211_MODE_11NA
	.comm	_IEEE80211_CHAN_HT20,4,2        ; @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_MODE_VHT_5GHZ,4,2    ; @IEEE80211_MODE_VHT_5GHZ
	.comm	_IEEE80211_CHAN_VHT20,4,2       ; @IEEE80211_CHAN_VHT20
	.comm	_IEEE80211_CHAN_HT40U,4,2       ; @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ; @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ; @IEEE80211_CHAN_HT40D
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ; @IEEE80211_CHAN_VHT40D
	.comm	_IEEE80211_CHAN_VHT80,4,2       ; @IEEE80211_CHAN_VHT80
	.no_dead_strip	_getflags_5ghz
.subsections_via_symbols
