	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lbs_add_common_rates_tlv
LCPI0_0:
	.long	130                             ## 0x82
	.long	132                             ## 0x84
	.long	139                             ## 0x8b
	.long	150                             ## 0x96
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lbs_add_common_rates_tlv:              ## @lbs_add_common_rates_tlv
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, -44(%rbp)
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_WLAN_EID_SUPP_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_bss_get_ie
	movq	%rax, %r13
	movq	_WLAN_EID_EXT_SUPP_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_bss_get_ie
	movq	%rax, %r14
	movq	_TLV_TYPE_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r15)
	leaq	64(%r15), %r12
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_add_ie_rates
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	leaq	-44(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_add_ie_rates
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_lbs_deb_assoc
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [130,132,139,150]
	movups	%xmm0, (%r12)
	movl	$4, -44(%rbp)
LBB0_4:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	-44(%rbp), %edi
	callq	_cpu_to_le16
	movq	%rax, (%r15)
	movl	-44(%rbp), %eax
	addl	$16, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_SUPP_RATES,4,2        ## @WLAN_EID_SUPP_RATES
	.comm	_WLAN_EID_EXT_SUPP_RATES,4,2    ## @WLAN_EID_EXT_SUPP_RATES
	.comm	_TLV_TYPE_RATES,4,2             ## @TLV_TYPE_RATES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"assoc: bss had no basic rate IE\n"

	.no_dead_strip	_lbs_add_common_rates_tlv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lbs_add_common_rates_tlv
lCPI0_0:
	.long	130                             ; 0x82
	.long	132                             ; 0x84
	.long	139                             ; 0x8b
	.long	150                             ; 0x96
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lbs_add_common_rates_tlv:              ; @lbs_add_common_rates_tlv
	.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, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	bl	_rcu_read_lock
Lloh0:
	adrp	x8, _WLAN_EID_SUPP_RATES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_SUPP_RATES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_bss_get_ie
	mov	x21, x0
Lloh3:
	adrp	x8, _WLAN_EID_EXT_SUPP_RATES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_EID_EXT_SUPP_RATES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ieee80211_bss_get_ie
	mov	x20, x0
Lloh6:
	adrp	x8, _TLV_TYPE_RATES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TLV_TYPE_RATES@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #8]
	add	x22, x19, #64
	cbz	x21, LBB0_3
; %bb.1:
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x21
	bl	_add_ie_rates
	cbz	x20, LBB0_4
; %bb.2:
	add	x2, sp, #12
	mov	x1, x20
	bl	_add_ie_rates
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lbs_deb_assoc
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x22]
	mov	w8, #4
	str	w8, [sp, #12]
LBB0_4:
	bl	_rcu_read_unlock
	ldr	w0, [sp, #12]
	bl	_cpu_to_le16
	str	x0, [x19]
	ldr	w8, [sp, #12]
	add	w0, w8, #16
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_SUPP_RATES,4,2        ; @WLAN_EID_SUPP_RATES
	.comm	_WLAN_EID_EXT_SUPP_RATES,4,2    ; @WLAN_EID_EXT_SUPP_RATES
	.comm	_TLV_TYPE_RATES,4,2             ; @TLV_TYPE_RATES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"assoc: bss had no basic rate IE\n"

	.no_dead_strip	_lbs_add_common_rates_tlv
.subsections_via_symbols
