	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_add_vht_ie
_ieee80211_add_vht_ie:                  ## @ieee80211_add_vht_ie
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	callq	_BUILD_BUG_ON
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_ieee80211_apply_vhtcap_overrides
	movl	-48(%rbp), %r12d
	movl	(%rbx), %eax
	movq	_IEEE80211_STA_DISABLE_80P80MHZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %r12d
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
LBB0_2:
	movq	_IEEE80211_STA_DISABLE_160MHZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_IEEE80211_VHT_CAP_SHORT_GI_160@GOTPCREL(%rip), %rax
	movq	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
LBB0_4:
	movl	(%r15), %ebx
	movq	_IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	andl	%ebx, %eax
	movq	_IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	xorl	%ebx, %ebx
	negl	%eax
	sbbl	%ebx, %ebx
	orl	%ecx, %ebx
	andl	%r12d, %ebx
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_skb_put
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_ieee80211_ie_build_vht_cap
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_DISABLE_80P80MHZ,4,2 ## @IEEE80211_STA_DISABLE_80P80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ## @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_STA_DISABLE_160MHZ,4,2 ## @IEEE80211_STA_DISABLE_160MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE,4,2 ## @IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE
	.comm	_IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE,4,2 ## @IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE
	.no_dead_strip	_ieee80211_add_vht_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_add_vht_ie
_ieee80211_add_vht_ie:                  ; @ieee80211_add_vht_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w0, #0
	bl	_BUILD_BUG_ON
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x22
	bl	_ieee80211_apply_vhtcap_overrides
	ldr	w21, [sp, #8]
	ldr	w9, [x22]
Lloh0:
	adrp	x8, _IEEE80211_STA_DISABLE_80P80MHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_STA_DISABLE_80P80MHZ@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	bic	w10, w21, w10
	ldr	w11, [x8]
	orr	w21, w10, w11
LBB0_2:
Lloh8:
	adrp	x10, _IEEE80211_STA_DISABLE_160MHZ@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IEEE80211_STA_DISABLE_160MHZ@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
	bic	w21, w21, w8
LBB0_4:
	ldr	w20, [x20]
Lloh14:
	adrp	x8, _IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_cpu_to_le32
Lloh17:
	adrp	x8, _IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w0, w20
	mov	w9, #-1
	csinv	w8, w9, w8, ne
	and	w20, w8, w21
	mov	x0, x19
	mov	w1, #6
	bl	_skb_put
	add	x1, sp, #8
	mov	x2, x20
	bl	_ieee80211_ie_build_vht_cap
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_DISABLE_80P80MHZ,4,2 ; @IEEE80211_STA_DISABLE_80P80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ
	.comm	_IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ,4,2 ; @IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ
	.comm	_IEEE80211_STA_DISABLE_160MHZ,4,2 ; @IEEE80211_STA_DISABLE_160MHZ
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE,4,2 ; @IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE
	.comm	_IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE,4,2 ; @IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE
	.no_dead_strip	_ieee80211_add_vht_ie
.subsections_via_symbols
