	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_mac_sta_statistics
_iwl_mvm_mac_sta_statistics:            ## @iwl_mvm_mac_sta_statistics
	.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	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	callq	_IWL_MAC80211_GET_MVM
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	%rax, %r13
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, 24(%r12)
	movq	_NL80211_STA_INFO_SIGNAL_AVG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, (%r12)
LBB0_2:
	movq	_IEEE80211_VIF_BEACON_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.3:
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.4:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_iwl_mvm_request_statistics
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	16(%r15), %rax
	addq	24(%r15), %rax
	movq	%rax, 16(%r12)
	movq	_NL80211_STA_INFO_BEACON_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, (%r12)
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, 8(%r12)
	movq	_NL80211_STA_INFO_BEACON_SIGNAL_AVG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, (%r12)
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_STA_INFO_SIGNAL_AVG,4,2 ## @NL80211_STA_INFO_SIGNAL_AVG
	.comm	_IEEE80211_VIF_BEACON_FILTER,4,2 ## @IEEE80211_VIF_BEACON_FILTER
	.comm	_NL80211_STA_INFO_BEACON_RX,4,2 ## @NL80211_STA_INFO_BEACON_RX
	.comm	_NL80211_STA_INFO_BEACON_SIGNAL_AVG,4,2 ## @NL80211_STA_INFO_BEACON_SIGNAL_AVG
	.no_dead_strip	_iwl_mvm_mac_sta_statistics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_mac_sta_statistics
_iwl_mvm_mac_sta_statistics:            ; @iwl_mvm_mac_sta_statistics
	.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	x19, x3
	mov	x23, x2
	mov	x22, x1
	bl	_IWL_MAC80211_GET_MVM
	mov	x20, x0
	mov	x0, x22
	bl	_iwl_mvm_vif_from_mac80211
	mov	x21, x0
	mov	x0, x23
	bl	_iwl_mvm_sta_from_mac80211
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	str	x8, [x19, #24]
Lloh0:
	adrp	x8, _NL80211_STA_INFO_SIGNAL_AVG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_STA_INFO_SIGNAL_AVG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_2:
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _IEEE80211_VIF_BEACON_FILTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_VIF_BEACON_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.3:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x20
	mov	w1, #0
	bl	_iwl_mvm_request_statistics
	cbnz	x0, LBB0_8
; %bb.6:
	ldp	x9, x8, [x21, #16]
	add	x8, x9, x8
	str	x8, [x19, #16]
Lloh6:
	adrp	x8, _NL80211_STA_INFO_BEACON_RX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_STA_INFO_BEACON_RX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.7:
	str	x8, [x19, #8]
Lloh9:
	adrp	x8, _NL80211_STA_INFO_BEACON_SIGNAL_AVG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_STA_INFO_BEACON_SIGNAL_AVG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_8:
	mov	x0, x20
	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	_mutex_unlock
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_STA_INFO_SIGNAL_AVG,4,2 ; @NL80211_STA_INFO_SIGNAL_AVG
	.comm	_IEEE80211_VIF_BEACON_FILTER,4,2 ; @IEEE80211_VIF_BEACON_FILTER
	.comm	_NL80211_STA_INFO_BEACON_RX,4,2 ; @NL80211_STA_INFO_BEACON_RX
	.comm	_NL80211_STA_INFO_BEACON_SIGNAL_AVG,4,2 ; @NL80211_STA_INFO_BEACON_SIGNAL_AVG
	.no_dead_strip	_iwl_mvm_mac_sta_statistics
.subsections_via_symbols
