	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_vht_get_vhtflags
_ieee80211_vht_get_vhtflags:            ## @ieee80211_vht_get_vhtflags
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IEEE80211_NODE_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	testl	%eax, (%rdi)
	je	LBB0_27
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	_IEEE80211_FVHT_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_27
## %bb.2:
	movl	%esi, %r14d
	movq	8(%rbx), %rax
	movq	_IEEE80211_VHT_CHANWIDTH_160MHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movl	4(%r12), %edi
	movq	_IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	movq	_IEEE80211_FVHT_USEVHT160@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.5:
	movq	_IEEE80211_CHAN_VHT160@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	8(%rbx), %rax
	movq	_IEEE80211_VHT_CHANWIDTH_80P80MHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:
	movl	4(%r12), %edi
	movq	_IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	cmpl	$2, %eax
	jne	LBB0_13
## %bb.10:
	movq	_IEEE80211_FVHT_USEVHT80P80@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_13
## %bb.11:
	movq	_IEEE80211_CHAN_VHT80_80@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_13:
	movq	8(%rbx), %rax
	movq	_IEEE80211_VHT_CHANWIDTH_80MHZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.14:
	movq	_IEEE80211_FVHT_USEVHT80@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_16
## %bb.15:
	movq	_IEEE80211_CHAN_VHT80@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r15d
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_12
## %bb.7:
	orl	%r14d, %r15d
	jmp	LBB0_27
LBB0_16:
	movq	_IEEE80211_VHT_CHANWIDTH_USE_HT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.17:
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_21
## %bb.18:
	movq	_IEEE80211_FVHT_USEVHT40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_21
## %bb.19:
	movq	_IEEE80211_CHAN_VHT40U@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_12:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	cmovel	%eax, %ecx
	orl	%ecx, %r15d
	jmp	LBB0_27
LBB0_20:
	movq	_IEEE80211_CHAN_VHT20@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_27
LBB0_21:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_24
## %bb.22:
	movq	_IEEE80211_FVHT_USEVHT40@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_24
## %bb.23:
	movq	_IEEE80211_CHAN_VHT40D@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_24:
	movq	_IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_27
## %bb.25:
	movq	_IEEE80211_CHAN_VHT20@GOTPCREL(%rip), %rax
LBB0_26:
	orl	(%rax), %r14d
	movl	%r14d, %r15d
LBB0_27:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NODE_VHT,4,2         ## @IEEE80211_NODE_VHT
	.comm	_IEEE80211_FVHT_VHT,4,2         ## @IEEE80211_FVHT_VHT
	.comm	_IEEE80211_VHT_CHANWIDTH_160MHZ,8,3 ## @IEEE80211_VHT_CHANWIDTH_160MHZ
	.comm	_IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK,4,2 ## @IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK
	.comm	_IEEE80211_FVHT_USEVHT160,4,2   ## @IEEE80211_FVHT_USEVHT160
	.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
	.comm	_IEEE80211_VHT_CHANWIDTH_80P80MHZ,8,3 ## @IEEE80211_VHT_CHANWIDTH_80P80MHZ
	.comm	_IEEE80211_FVHT_USEVHT80P80,4,2 ## @IEEE80211_FVHT_USEVHT80P80
	.comm	_IEEE80211_CHAN_VHT80_80,4,2    ## @IEEE80211_CHAN_VHT80_80
	.comm	_IEEE80211_VHT_CHANWIDTH_80MHZ,8,3 ## @IEEE80211_VHT_CHANWIDTH_80MHZ
	.comm	_IEEE80211_FVHT_USEVHT80,4,2    ## @IEEE80211_FVHT_USEVHT80
	.comm	_IEEE80211_CHAN_VHT80,4,2       ## @IEEE80211_CHAN_VHT80
	.comm	_IEEE80211_VHT_CHANWIDTH_USE_HT,8,3 ## @IEEE80211_VHT_CHANWIDTH_USE_HT
	.comm	_IEEE80211_FVHT_USEVHT40,4,2    ## @IEEE80211_FVHT_USEVHT40
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ## @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ## @IEEE80211_CHAN_VHT40D
	.comm	_IEEE80211_CHAN_HT20,4,2        ## @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_CHAN_VHT20,4,2       ## @IEEE80211_CHAN_VHT20
	.no_dead_strip	_ieee80211_vht_get_vhtflags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_vht_get_vhtflags
_ieee80211_vht_get_vhtflags:            ; @ieee80211_vht_get_vhtflags
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_NODE_VHT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_NODE_VHT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0, #16]
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _IEEE80211_FVHT_VHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_FVHT_VHT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.2:
	mov	x19, x1
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _IEEE80211_VHT_CHANWIDTH_160MHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_VHT_CHANWIDTH_160MHZ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x21, #4]
Lloh9:
	adrp	x8, _IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_MS
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _IEEE80211_FVHT_USEVHT160@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_FVHT_USEVHT160@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _IEEE80211_CHAN_VHT160@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT160@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	ldr	x8, [x20, #8]
Lloh17:
	adrp	x9, _IEEE80211_VHT_CHANWIDTH_80P80MHZ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IEEE80211_VHT_CHANWIDTH_80P80MHZ@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	ldr	w0, [x21, #4]
Lloh20:
	adrp	x8, _IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_MS
	cmp	w0, #2
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x21]
Lloh23:
	adrp	x9, _IEEE80211_FVHT_USEVHT80P80@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IEEE80211_FVHT_USEVHT80P80@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
Lloh26:
	adrp	x8, _IEEE80211_CHAN_VHT80_80@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT80_80@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	ldr	x8, [x20, #8]
Lloh28:
	adrp	x9, _IEEE80211_VHT_CHANWIDTH_80MHZ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _IEEE80211_VHT_CHANWIDTH_80MHZ@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.11:
	ldr	w9, [x21]
Lloh31:
	adrp	x10, _IEEE80211_FVHT_USEVHT80@GOTPAGE
Lloh32:
	ldr	x10, [x10, _IEEE80211_FVHT_USEVHT80@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.12:
Lloh34:
	adrp	x8, _IEEE80211_CHAN_VHT80@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT80@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w9, w19
	b.ne	LBB0_19
; %bb.14:
	orr	w0, w8, w19
	b	LBB0_28
LBB0_15:
Lloh39:
	adrp	x9, _IEEE80211_VHT_CHANWIDTH_USE_HT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _IEEE80211_VHT_CHANWIDTH_USE_HT@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.16:
Lloh42:
	adrp	x8, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_21
; %bb.17:
	ldr	w8, [x21]
Lloh45:
	adrp	x9, _IEEE80211_FVHT_USEVHT40@GOTPAGE
Lloh46:
	ldr	x9, [x9, _IEEE80211_FVHT_USEVHT40@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.18:
Lloh48:
	adrp	x8, _IEEE80211_CHAN_VHT40U@GOTPAGE
Lloh49:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT40U@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
Lloh50:
	adrp	x9, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh51:
	ldr	x9, [x9, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	cmp	w9, w19
	csel	w9, w9, wzr, eq
	orr	w0, w9, w8
	b	LBB0_28
LBB0_20:
Lloh53:
	adrp	x8, _IEEE80211_CHAN_VHT20@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT20@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_21:
Lloh56:
	adrp	x8, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_24
; %bb.22:
	ldr	w8, [x21]
Lloh59:
	adrp	x9, _IEEE80211_FVHT_USEVHT40@GOTPAGE
Lloh60:
	ldr	x9, [x9, _IEEE80211_FVHT_USEVHT40@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
Lloh62:
	adrp	x8, _IEEE80211_CHAN_VHT40D@GOTPAGE
Lloh63:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT40D@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:
Lloh64:
	adrp	x8, _IEEE80211_CHAN_HT20@GOTPAGE
Lloh65:
	ldr	x8, [x8, _IEEE80211_CHAN_HT20@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_27
; %bb.25:
Lloh67:
	adrp	x8, _IEEE80211_CHAN_VHT20@GOTPAGE
Lloh68:
	ldr	x8, [x8, _IEEE80211_CHAN_VHT20@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	orr	w0, w8, w19
	b	LBB0_28
LBB0_27:
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NODE_VHT,4,2         ; @IEEE80211_NODE_VHT
	.comm	_IEEE80211_FVHT_VHT,4,2         ; @IEEE80211_FVHT_VHT
	.comm	_IEEE80211_VHT_CHANWIDTH_160MHZ,8,3 ; @IEEE80211_VHT_CHANWIDTH_160MHZ
	.comm	_IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK,4,2 ; @IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_MASK
	.comm	_IEEE80211_FVHT_USEVHT160,4,2   ; @IEEE80211_FVHT_USEVHT160
	.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
	.comm	_IEEE80211_VHT_CHANWIDTH_80P80MHZ,8,3 ; @IEEE80211_VHT_CHANWIDTH_80P80MHZ
	.comm	_IEEE80211_FVHT_USEVHT80P80,4,2 ; @IEEE80211_FVHT_USEVHT80P80
	.comm	_IEEE80211_CHAN_VHT80_80,4,2    ; @IEEE80211_CHAN_VHT80_80
	.comm	_IEEE80211_VHT_CHANWIDTH_80MHZ,8,3 ; @IEEE80211_VHT_CHANWIDTH_80MHZ
	.comm	_IEEE80211_FVHT_USEVHT80,4,2    ; @IEEE80211_FVHT_USEVHT80
	.comm	_IEEE80211_CHAN_VHT80,4,2       ; @IEEE80211_CHAN_VHT80
	.comm	_IEEE80211_VHT_CHANWIDTH_USE_HT,8,3 ; @IEEE80211_VHT_CHANWIDTH_USE_HT
	.comm	_IEEE80211_FVHT_USEVHT40,4,2    ; @IEEE80211_FVHT_USEVHT40
	.comm	_IEEE80211_CHAN_VHT40U,4,2      ; @IEEE80211_CHAN_VHT40U
	.comm	_IEEE80211_CHAN_VHT40D,4,2      ; @IEEE80211_CHAN_VHT40D
	.comm	_IEEE80211_CHAN_HT20,4,2        ; @IEEE80211_CHAN_HT20
	.comm	_IEEE80211_CHAN_VHT20,4,2       ; @IEEE80211_CHAN_VHT20
	.no_dead_strip	_ieee80211_vht_get_vhtflags
.subsections_via_symbols
