	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_sta_rc_update
_wl18xx_sta_rc_update:                  ## @wl18xx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rsi), %rax
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	movq	%rdi, %r15
	setge	%bl
	movq	_DEBUG_MAC80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_wl1271_debug
	movq	8(%r14), %rax
	movq	_BSS_TYPE_STA_BSS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_WLVIF_FLAG_STA_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	16(%r14), %rax
	movq	_NL80211_CHAN_HT40MINUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	_NL80211_CHAN_HT40PLUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_wl12xx_wlvif_to_vif
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_connection_loss      ## TAILCALL
LBB0_6:
	movl	24(%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl18xx_acx_peer_ht_operation_mode ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ## @IEEE80211_STA_RX_BW_40
	.comm	_DEBUG_MAC80211,4,2             ## @DEBUG_MAC80211
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac80211 sta_rc_update wide %d"

	.comm	_BSS_TYPE_STA_BSS,8,3           ## @BSS_TYPE_STA_BSS
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ## @WLVIF_FLAG_STA_ASSOCIATED
	.comm	_NL80211_CHAN_HT40MINUS,8,3     ## @NL80211_CHAN_HT40MINUS
	.comm	_NL80211_CHAN_HT40PLUS,8,3      ## @NL80211_CHAN_HT40PLUS
	.no_dead_strip	_wl18xx_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 wl18xx_sta_rc_update
_wl18xx_sta_rc_update:                  ; @wl18xx_sta_rc_update
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w21, ge
Lloh3:
	adrp	x8, _DEBUG_MAC80211@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_MAC80211@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_wl1271_debug
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _BSS_TYPE_STA_BSS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BSS_TYPE_STA_BSS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh11:
	adrp	x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WLVIF_FLAG_STA_ASSOCIATED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	_test_bit
	cbz	w0, LBB0_1
; %bb.3:
	ldr	x8, [x19, #16]
Lloh14:
	adrp	x9, _NL80211_CHAN_HT40MINUS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NL80211_CHAN_HT40MINUS@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _NL80211_CHAN_HT40PLUS@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NL80211_CHAN_HT40PLUS@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	w1, [x19, #24]
	mov	x0, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wl18xx_acx_peer_ht_operation_mode
LBB0_5:
	mov	x0, x19
	bl	_wl12xx_wlvif_to_vif
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ieee80211_connection_loss
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_RX_BW_40,8,3     ; @IEEE80211_STA_RX_BW_40
	.comm	_DEBUG_MAC80211,4,2             ; @DEBUG_MAC80211
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac80211 sta_rc_update wide %d"

	.comm	_BSS_TYPE_STA_BSS,8,3           ; @BSS_TYPE_STA_BSS
	.comm	_WLVIF_FLAG_STA_ASSOCIATED,4,2  ; @WLVIF_FLAG_STA_ASSOCIATED
	.comm	_NL80211_CHAN_HT40MINUS,8,3     ; @NL80211_CHAN_HT40MINUS
	.comm	_NL80211_CHAN_HT40PLUS,8,3      ; @NL80211_CHAN_HT40PLUS
	.no_dead_strip	_wl18xx_sta_rc_update
.subsections_via_symbols
