	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_write_probe_resp_plcp
_b43legacy_write_probe_resp_plcp:       ## @b43legacy_write_probe_resp_plcp
	.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, %r13
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	_FCS_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rdx, %rsi
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rdi
	callq	_b43legacy_generate_plcp_hdr
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_ieee80211_generic_frame_duration
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_B43legacy_SHM_SHARED@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movzwl	%bx, %ecx
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_b43legacy_shm_write16
	movl	(%r12), %esi
	leaq	2(%r13), %rdx
	sarl	$16, %ebx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_b43legacy_shm_write16
	movl	(%r12), %ebx
	addq	$6, %r13
	movl	%r15d, %edi
	callq	_le16_to_cpu
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_b43legacy_shm_write16
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCS_LEN,8,3                    ## @FCS_LEN
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_B43legacy_SHM_SHARED,4,2       ## @B43legacy_SHM_SHARED
	.no_dead_strip	_b43legacy_write_probe_resp_plcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_write_probe_resp_plcp
_b43legacy_write_probe_resp_plcp:       ; @b43legacy_write_probe_resp_plcp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _FCS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FCS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, x2
	ldr	w2, [x3]
	add	x0, sp, #8
	bl	_b43legacy_generate_plcp_hdr
	ldr	x8, [x19]
	ldp	w1, w0, [x8]
Lloh3:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x21
	mov	x4, x20
	bl	_ieee80211_generic_frame_duration
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_le32_to_cpu
	mov	x21, x0
Lloh6:
	adrp	x23, _B43legacy_SHM_SHARED@GOTPAGE
Lloh7:
	ldr	x23, [x23, _B43legacy_SHM_SHARED@GOTPAGEOFF]
	ldr	w1, [x23]
	and	w3, w0, #0xffff
	mov	x0, x19
	mov	x2, x22
	bl	_b43legacy_shm_write16
	ldr	w1, [x23]
	add	x2, x22, #2
	asr	w3, w21, #16
	mov	x0, x19
	bl	_b43legacy_shm_write16
	ldr	w21, [x23]
	add	x22, x22, #6
	mov	x0, x20
	bl	_le16_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_b43legacy_shm_write16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FCS_LEN,8,3                    ; @FCS_LEN
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_B43legacy_SHM_SHARED,4,2       ; @B43legacy_SHM_SHARED
	.no_dead_strip	_b43legacy_write_probe_resp_plcp
.subsections_via_symbols
