	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_stat_iterator
_iwl_mvm_stat_iterator:                 ## @iwl_mvm_stat_iterator
	.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
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	movl	(%rdi), %r13d
	movl	16(%rdi), %edi
	movl	12(%rdx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	16(%rdx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_le32_to_cpu
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r15
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_iwl_mvm_has_new_rx_stats_api
	testq	%rax, %rax
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	movq	8(%r14), %rbx
	movq	8(%rbx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_le32_to_cpu
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rbx), %rcx
	xorl	%edx, %edx
	subl	(%rcx,%r15,4), %edx
	movq	%rax, 40(%r12)
	movl	%edx, 32(%r12)
	cmpq	%rsi, (%r12)
	jne	LBB0_22
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.2:
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.3:
	negl	%ebx
	movl	%ebx, 8(%r12)
	movl	12(%r12), %edx
	movl	16(%r12), %eax
	cmpl	%eax, %edx
	je	LBB0_11
## %bb.4:
	movl	20(%r12), %ecx
	cmpl	%ebx, %eax
	jge	LBB0_7
## %bb.5:
	movq	_RSSI_EVENT_HIGH@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	cmpl	%edx, %ecx
	jle	LBB0_10
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_10
LBB0_7:
	cmpl	%ebx, %edx
	jle	LBB0_11
## %bb.8:
	movq	_RSSI_EVENT_LOW@GOTPCREL(%rip), %r14
	leaq	L_.str.2(%rip), %rsi
	cmpl	%eax, %ecx
	jge	LBB0_10
## %bb.9:
	testl	%ecx, %ecx
	jne	LBB0_11
LBB0_10:
	movl	%ebx, 20(%r12)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RX
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_iwl_mvm_bt_rssi_event
LBB0_11:
	movq	_IEEE80211_VIF_SUPPORTS_CQM_RSSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_22
## %bb.12:
	movl	%ebx, %edx
	movl	24(%r12), %eax
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_18
## %bb.13:
	cmpl	%ebx, %esi
	jle	LBB0_18
## %bb.14:
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ecx
	subl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	cmpl	%ebx, %ecx
	jg	LBB0_16
LBB0_18:
	cmpl	%ebx, %esi
	jge	LBB0_22
## %bb.19:
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%edx, %eax
	jl	LBB0_21
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_RX                   ## TAILCALL
LBB0_16:
	movl	%ebx, 24(%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RX
	movq	_NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_21:
	movl	%edx, %ebx
	movl	%edx, 24(%r12)
	leaq	L_.str.4(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_IWL_DEBUG_RX
	movq	_NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_cqm_rssi_notify      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSSI is 0 - skip signal based decision\n"

L_.str.1:                               ## @.str.1
	.asciz	"cqm_iterator bt coex high %d\n"

	.comm	_RSSI_EVENT_HIGH,4,2            ## @RSSI_EVENT_HIGH
L_.str.2:                               ## @.str.2
	.asciz	"cqm_iterator bt coex low %d\n"

	.comm	_RSSI_EVENT_LOW,4,2             ## @RSSI_EVENT_LOW
	.comm	_IEEE80211_VIF_SUPPORTS_CQM_RSSI,4,2 ## @IEEE80211_VIF_SUPPORTS_CQM_RSSI
L_.str.3:                               ## @.str.3
	.asciz	"cqm_iterator cqm low %d\n"

	.comm	_NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,4,2 ## @NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"cqm_iterator cqm high %d\n"

	.comm	_NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,4,2 ## @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH
	.no_dead_strip	_iwl_mvm_stat_iterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_stat_iterator
_iwl_mvm_stat_iterator:                 ; @iwl_mvm_stat_iterator
	.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	x19, x2
	mov	x23, x0
	ldr	x20, [x0, #24]
	ldr	w26, [x0]
	ldp	w25, w24, [x2, #12]
	ldr	w0, [x0, #16]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x19
	bl	_iwl_mvm_vif_from_mac80211
	mov	x21, x0
	ldr	x27, [x0]
	mov	x0, x20
	bl	_iwl_mvm_has_new_rx_stats_api
	ldr	x23, [x23, #8]
	ldr	x8, [x23, #8]
	ldr	w0, [x8, x27, lsl #2]
	bl	_le32_to_cpu
	ldr	x8, [x23]
	ldr	w8, [x8, x27, lsl #2]
	neg	w8, w8
	str	x0, [x21, #40]
	str	w8, [x21, #32]
	ldr	x8, [x21]
	cmp	x8, x22
	b.ne	LBB0_19
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.2:
	cbz	w26, LBB0_20
; %bb.3:
	neg	w22, w26
	str	w22, [x21, #8]
	ldp	w10, w9, [x21, #12]
	cmp	w10, w9
	b.eq	LBB0_11
; %bb.4:
	ldr	w8, [x21, #20]
	cmp	w9, w22
	b.ge	LBB0_7
; %bb.5:
Lloh3:
	adrp	x23, _RSSI_EVENT_HIGH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RSSI_EVENT_HIGH@GOTPAGEOFF]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	cmp	w8, w10
	b.le	LBB0_10
; %bb.6:
	cbz	w8, LBB0_10
LBB0_7:
	cmp	w10, w22
	b.le	LBB0_11
; %bb.8:
Lloh7:
	adrp	x23, _RSSI_EVENT_LOW@GOTPAGE
Lloh8:
	ldr	x23, [x23, _RSSI_EVENT_LOW@GOTPAGEOFF]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.9:
	cbnz	w8, LBB0_11
LBB0_10:
	str	w22, [x21, #20]
	str	x22, [sp]
	mov	x0, x20
	bl	_IWL_DEBUG_RX
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_iwl_mvm_bt_rssi_event
LBB0_11:
	ldr	w8, [x19, #8]
Lloh11:
	adrp	x9, _IEEE80211_VIF_SUPPORTS_CQM_RSSI@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IEEE80211_VIF_SUPPORTS_CQM_RSSI@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.12:
	ldr	w8, [x21, #24]
	cbz	w25, LBB0_16
; %bb.13:
	cmp	w25, w22
	b.le	LBB0_16
; %bb.14:
	cbz	w8, LBB0_21
; %bb.15:
	sub	w9, w8, w24
	cmp	w9, w22
	b.gt	LBB0_21
LBB0_16:
	cmp	w25, w22
	b.ge	LBB0_19
; %bb.17:
	cbz	w8, LBB0_22
; %bb.18:
	add	w8, w8, w24
	cmp	w8, w22
	b.lt	LBB0_22
LBB0_19:
	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
LBB0_20:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	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
	b	_IWL_DEBUG_RX
LBB0_21:
	str	w22, [x21, #24]
	mov	x8, x22
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_RX
Lloh18:
	adrp	x8, _NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
	str	w22, [x21, #24]
	mov	x8, x22
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_RX
Lloh22:
	adrp	x8, _NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH@GOTPAGEOFF]
LBB0_23:
Lloh24:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x8]
Lloh26:
	ldr	w3, [x9]
	mov	x0, x19
	mov	x2, x22
	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
	b	_ieee80211_cqm_rssi_notify
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSSI is 0 - skip signal based decision\n"

l_.str.1:                               ; @.str.1
	.asciz	"cqm_iterator bt coex high %d\n"

	.comm	_RSSI_EVENT_HIGH,4,2            ; @RSSI_EVENT_HIGH
l_.str.2:                               ; @.str.2
	.asciz	"cqm_iterator bt coex low %d\n"

	.comm	_RSSI_EVENT_LOW,4,2             ; @RSSI_EVENT_LOW
	.comm	_IEEE80211_VIF_SUPPORTS_CQM_RSSI,4,2 ; @IEEE80211_VIF_SUPPORTS_CQM_RSSI
l_.str.3:                               ; @.str.3
	.asciz	"cqm_iterator cqm low %d\n"

	.comm	_NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,4,2 ; @NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"cqm_iterator cqm high %d\n"

	.comm	_NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,4,2 ; @NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH
	.no_dead_strip	_iwl_mvm_stat_iterator
.subsections_via_symbols
