	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_sta_rc_update
_iwl_mvm_sta_rc_update:                 ## @iwl_mvm_sta_rc_update
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_IWL_MAC80211_GET_MVM
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	_IEEE80211_RC_BW_CHANGED@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_RC_SUPP_RATES_CHANGED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IEEE80211_RC_NSS_CHANGED@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	testl	%r14d, %edx
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	_iwl_mvm_rs_rate_init
LBB0_2:
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	testl	%r14d, (%r13)
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_mvm_sf_update              ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RC_BW_CHANGED,4,2    ## @IEEE80211_RC_BW_CHANGED
	.comm	_IEEE80211_RC_SUPP_RATES_CHANGED,4,2 ## @IEEE80211_RC_SUPP_RATES_CHANGED
	.comm	_IEEE80211_RC_NSS_CHANGED,4,2   ## @IEEE80211_RC_NSS_CHANGED
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.no_dead_strip	_iwl_mvm_sta_rc_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_sta_rc_update
_iwl_mvm_sta_rc_update:                 ; @iwl_mvm_sta_rc_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	bl	_IWL_MAC80211_GET_MVM
	mov	x21, x0
	mov	x0, x19
	bl	_iwl_mvm_vif_from_mac80211
Lloh0:
	adrp	x8, _IEEE80211_RC_BW_CHANGED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_RC_BW_CHANGED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_RC_SUPP_RATES_CHANGED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_RC_SUPP_RATES_CHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x23, _IEEE80211_RC_NSS_CHANGED@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IEEE80211_RC_NSS_CHANGED@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #1
	bl	_iwl_mvm_rs_rate_init
LBB0_2:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_iwl_mvm_sf_update
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RC_BW_CHANGED,4,2    ; @IEEE80211_RC_BW_CHANGED
	.comm	_IEEE80211_RC_SUPP_RATES_CHANGED,4,2 ; @IEEE80211_RC_SUPP_RATES_CHANGED
	.comm	_IEEE80211_RC_NSS_CHANGED,4,2   ; @IEEE80211_RC_NSS_CHANGED
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.no_dead_strip	_iwl_mvm_sta_rc_update
.subsections_via_symbols
