	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_add_xrates           ## -- Begin function ieee80211_add_xrates
	.p2align	4, 0x90
_ieee80211_add_xrates:                  ## @ieee80211_add_xrates
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	_IEEE80211_RATE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%rax, %rbx
	jle	LBB0_2
## %bb.1:
	movq	_IEEE80211_ELEMID_XRATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	leaq	8(%r14), %rdi
	movl	%ebx, 4(%r14)
	addq	8(%rsi), %rax
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	leaq	(%r14,%rax,4), %r14
	addq	$8, %r14
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RATE_SIZE,8,3        ## @IEEE80211_RATE_SIZE
	.comm	_IEEE80211_ELEMID_XRATES,4,2    ## @IEEE80211_ELEMID_XRATES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_add_xrates           ; -- Begin function ieee80211_add_xrates
	.p2align	2
_ieee80211_add_xrates:                  ; @ieee80211_add_xrates
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x9, [x1]
Lloh0:
	adrp	x8, _IEEE80211_RATE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_RATE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	subs	x19, x9, x8
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _IEEE80211_ELEMID_XRATES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_ELEMID_XRATES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	x20, x0, #8
	stp	w9, w19, [x0]
	ldr	x9, [x1, #8]
	add	x1, x9, x8
	mov	x0, x20
	mov	x2, x19
	bl	_memcpy
	lsl	x8, x19, #32
	add	x0, x20, x8, asr #30
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RATE_SIZE,8,3        ; @IEEE80211_RATE_SIZE
	.comm	_IEEE80211_ELEMID_XRATES,4,2    ; @IEEE80211_ELEMID_XRATES
.subsections_via_symbols
