	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_sta_info_init
_mesh_sta_info_init:                    ## @mesh_sta_info_init
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	callq	_ieee80211_get_sdata_band
	movq	$0, -88(%rbp)
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %r13d
	movq	(%rcx,%r13,8), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	-88(%rbp), %rcx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_ieee80211_sta_get_rates
	movq	%rax, %r12
	leaq	8(%r15), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	(%r15), %rax
	movq	_NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.1:
	movq	16(%r15), %rax
	cmpq	%r12, (%rax,%r13,8)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	movq	_IEEE80211_RC_SUPP_RATES_CHANGED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r12, (%rax,%r13,8)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_ieee80211_ht_cap_ie_to_sta_ht_cap
	movq	_IEEE80211_RC_BW_CHANGED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	orq	%rbx, %rsi
	testq	%rax, %rax
	cmovneq	%rsi, %rbx
	movq	(%r12), %rax
	testq	%rax, %rax
	movq	%rbx, %rcx
	je	LBB0_7
## %bb.5:
	movq	_IEEE80211_HT_PARAM_CHAN_WIDTH_ANY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_IEEE80211_STA_RX_BW_20@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 24(%r15)
	cmovneq	%rsi, %rcx
	movq	%rax, 24(%r15)
LBB0_7:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_rate_control_rate_init
	jmp	LBB0_10
LBB0_9:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_rate_control_rate_update
LBB0_10:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_NL80211_PLINK_ESTAB,8,3        ## @NL80211_PLINK_ESTAB
	.comm	_IEEE80211_RC_SUPP_RATES_CHANGED,8,3 ## @IEEE80211_RC_SUPP_RATES_CHANGED
	.comm	_IEEE80211_RC_BW_CHANGED,8,3    ## @IEEE80211_RC_BW_CHANGED
	.comm	_IEEE80211_HT_PARAM_CHAN_WIDTH_ANY,4,2 ## @IEEE80211_HT_PARAM_CHAN_WIDTH_ANY
	.comm	_IEEE80211_STA_RX_BW_20,8,3     ## @IEEE80211_STA_RX_BW_20
	.no_dead_strip	_mesh_sta_info_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_sta_info_init
_mesh_sta_info_init:                    ; @mesh_sta_info_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x24, x2
	mov	x19, x1
	mov	x25, x0
	ldr	x20, [x0]
	bl	_ieee80211_get_sdata_band
	mov	x26, x0
	str	xzr, [sp, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x23, [x8, w0, uxtw #3]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x24
	mov	x2, x26
	bl	_ieee80211_sta_get_rates
	mov	x27, x0
	add	x22, x19, #8
	mov	x0, x22
	bl	_spin_lock_bh
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _NL80211_PLINK_ESTAB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_PLINK_ESTAB@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.1:
	mov	w8, w26
	ldr	x9, [x19, #16]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
Lloh6:
	adrp	x11, _IEEE80211_RC_SUPP_RATES_CHANGED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IEEE80211_RC_SUPP_RATES_CHANGED@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x10, x27
	csel	x26, xzr, x11, eq
	str	x27, [x9, x8]
	ldr	w2, [x24, #8]
	mov	x0, x25
	mov	x1, x23
	mov	x3, x19
	bl	_ieee80211_ht_cap_ie_to_sta_ht_cap
Lloh9:
	adrp	x8, _IEEE80211_RC_BW_CHANGED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_RC_BW_CHANGED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	orr	x8, x8, x26
	cmp	x0, #0
	csel	x3, x26, x8, eq
	ldr	x9, [x24]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _IEEE80211_HT_PARAM_CHAN_WIDTH_ANY@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IEEE80211_HT_PARAM_CHAN_WIDTH_ANY@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
LBB0_3:
	cbz	w21, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_rate_control_rate_init
	b	LBB0_7
LBB0_5:
	ldr	x9, [x19, #24]
Lloh15:
	adrp	x10, _IEEE80211_STA_RX_BW_20@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IEEE80211_STA_RX_BW_20@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	csel	x3, x3, x8, eq
	str	x10, [x19, #24]
	cbnz	w21, LBB0_4
LBB0_6:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_rate_control_rate_update
LBB0_7:
	mov	x0, x22
	bl	_spin_unlock_bh
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_NL80211_PLINK_ESTAB,8,3        ; @NL80211_PLINK_ESTAB
	.comm	_IEEE80211_RC_SUPP_RATES_CHANGED,8,3 ; @IEEE80211_RC_SUPP_RATES_CHANGED
	.comm	_IEEE80211_RC_BW_CHANGED,8,3    ; @IEEE80211_RC_BW_CHANGED
	.comm	_IEEE80211_HT_PARAM_CHAN_WIDTH_ANY,4,2 ; @IEEE80211_HT_PARAM_CHAN_WIDTH_ANY
	.comm	_IEEE80211_STA_RX_BW_20,8,3     ; @IEEE80211_STA_RX_BW_20
	.no_dead_strip	_mesh_sta_info_init
.subsections_via_symbols
