	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ie_build_vht_cap     ## -- Begin function ieee80211_ie_build_vht_cap
	.p2align	4, 0x90
_ieee80211_ie_build_vht_cap:            ## @ieee80211_ie_build_vht_cap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_WLAN_EID_VHT_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	leaq	8(%rdi), %r12
	movl	$4, 4(%rdi)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, -36(%rbp)
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	24(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	addq	$40, %rbx
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_VHT_CAPABILITY,4,2    ## @WLAN_EID_VHT_CAPABILITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ie_build_vht_cap     ; -- Begin function ieee80211_ie_build_vht_cap
	.p2align	2
_ieee80211_ie_build_vht_cap:            ; @ieee80211_ie_build_vht_cap
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WLAN_EID_VHT_CAPABILITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_VHT_CAPABILITY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x22, x0, #8
	mov	w9, #4
	stp	w8, w9, [x0]
	mov	x0, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	add	x1, sp, #12
	mov	x0, x22
	mov	w2, #4
	bl	_memcpy
	add	x0, x21, #24
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	add	x0, x21, #40
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_VHT_CAPABILITY,4,2    ; @WLAN_EID_VHT_CAPABILITY
.subsections_via_symbols
