	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1251_build_qos_null_data
_wl1251_build_qos_null_data:            ## @wl1251_build_qos_null_data
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	-32(%rbp), %edi
	movl	(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy
	movl	-36(%rbp), %edi
	movl	4(%rbx), %esi
	movl	(%r15), %edx
	callq	_memcpy
	movl	-40(%rbp), %edi
	movl	(%rbx), %esi
	movl	(%r15), %edx
	callq	_memcpy
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_QOS_NULLFUNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_IEEE80211_FCTL_TODS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movq	_CMD_QOS_NULL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	$32, %ecx
	callq	_wl1251_cmd_template_set
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_QOS_NULLFUNC,4,2 ## @IEEE80211_STYPE_QOS_NULLFUNC
	.comm	_IEEE80211_FCTL_TODS,4,2        ## @IEEE80211_FCTL_TODS
	.comm	_CMD_QOS_NULL_DATA,4,2          ## @CMD_QOS_NULL_DATA
	.no_dead_strip	_wl1251_build_qos_null_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1251_build_qos_null_data
_wl1251_build_qos_null_data:            ; @wl1251_build_qos_null_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w0, [sp, #24]
	ldr	w1, [x19]
Lloh0:
	adrp	x20, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_memcpy
	ldr	w0, [sp, #20]
	ldr	w1, [x19, #4]
	ldr	w2, [x20]
	bl	_memcpy
	ldr	w0, [sp, #16]
	ldr	w1, [x19]
	ldr	w2, [x20]
	bl	_memcpy
Lloh2:
	adrp	x8, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IEEE80211_STYPE_QOS_NULLFUNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_STYPE_QOS_NULLFUNC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _IEEE80211_FCTL_TODS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_FCTL_TODS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_cpu_to_le16
	str	x0, [sp, #8]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [sp]
Lloh11:
	adrp	x8, _CMD_QOS_NULL_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CMD_QOS_NULL_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #32
	bl	_wl1251_cmd_template_set
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_STYPE_QOS_NULLFUNC,4,2 ; @IEEE80211_STYPE_QOS_NULLFUNC
	.comm	_IEEE80211_FCTL_TODS,4,2        ; @IEEE80211_FCTL_TODS
	.comm	_CMD_QOS_NULL_DATA,4,2          ; @CMD_QOS_NULL_DATA
	.no_dead_strip	_wl1251_build_qos_null_data
.subsections_via_symbols
