	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_window_status_notif    ## -- Begin function iwl_mvm_window_status_notif
	.p2align	4, 0x90
_iwl_mvm_window_status_notif:           ## @iwl_mvm_window_status_notif
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rax), %rbx
	movq	%rax, %rdi
	callq	_iwl_rx_packet_payload_len
	xorl	%edi, %edi
	cmpl	$32, %eax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_BA_WINDOW_STREAMS_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	_BA_WINDOW_STREAMS_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	movq	%r13, %rbx
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	movq	24(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	movq	_BA_WINDOW_STATUS_VALID_MSK@GOTPCREL(%rip), %rax
	testq	%rbx, (%rax)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_le16_to_cpu
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	_BA_WINDOW_STATUS_STA_ID_MSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rbx, %rax
	movq	_BA_WINDOW_STATUS_STA_ID_POS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarq	%cl, %rax
	movq	_BA_WINDOW_STATUS_TID_MSK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	andq	%rbx, -56(%rbp)                 ## 8-byte Folded Spill
	movq	%r13, %rbx
	movq	8(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_le64_to_cpu
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_le32_to_cpu
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r15, %r8
	callq	_ieee80211_mark_rx_ba_filtered_frames
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received window status notification of wrong size (%u)\n"

	.comm	_BA_WINDOW_STREAMS_MAX,4,2      ## @BA_WINDOW_STREAMS_MAX
	.comm	_BA_WINDOW_STATUS_VALID_MSK,8,3 ## @BA_WINDOW_STATUS_VALID_MSK
	.comm	_BA_WINDOW_STATUS_TID_MSK,8,3   ## @BA_WINDOW_STATUS_TID_MSK
	.comm	_BA_WINDOW_STATUS_STA_ID_MSK,8,3 ## @BA_WINDOW_STATUS_STA_ID_MSK
	.comm	_BA_WINDOW_STATUS_STA_ID_POS,8,3 ## @BA_WINDOW_STATUS_STA_ID_POS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_window_status_notif    ; -- Begin function iwl_mvm_window_status_notif
	.p2align	2
_iwl_mvm_window_status_notif:           ; @iwl_mvm_window_status_notif
	.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, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x24, [x0]
	bl	_iwl_rx_packet_payload_len
	mov	x2, x0
	cmp	w0, #32
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	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_2:
	bl	_rcu_read_lock
Lloh2:
	adrp	x25, _BA_WINDOW_STREAMS_MAX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BA_WINDOW_STREAMS_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x26, #0
Lloh4:
	adrp	x27, _BA_WINDOW_STATUS_VALID_MSK@GOTPAGE
Lloh5:
	ldr	x27, [x27, _BA_WINDOW_STATUS_VALID_MSK@GOTPAGEOFF]
Lloh6:
	adrp	x28, _BA_WINDOW_STATUS_TID_MSK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _BA_WINDOW_STATUS_TID_MSK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #24]
	ldr	w0, [x8, x26, lsl #2]
	bl	_le16_to_cpu
	ldr	x8, [x27]
	tst	x8, x0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	ldr	x8, [x24, #16]
	ldr	w0, [x8, x26, lsl #2]
	bl	_le16_to_cpu
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x0
	ldr	x23, [x28]
Lloh8:
	adrp	x8, _BA_WINDOW_STATUS_STA_ID_MSK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BA_WINDOW_STATUS_STA_ID_MSK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	and	x8, x8, x21
Lloh11:
	adrp	x9, _BA_WINDOW_STATUS_STA_ID_POS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BA_WINDOW_STATUS_STA_ID_POS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	asr	x8, x8, x9
	ldr	x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	bl	_rcu_dereference
	mov	x22, x0
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	and	x8, x23, x21
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x24, #8]
	mov	x21, x27
	mov	x27, x25
	mov	x25, x19
	mov	x19, x28
	lsl	x28, x26, #2
	ldr	w0, [x8, x28]
	bl	_le64_to_cpu
	mov	x23, x0
	ldr	x8, [x24]
	ldr	w0, [x8, x28]
	mov	x28, x19
	mov	x19, x25
	mov	x25, x27
	mov	x27, x21
	bl	_le32_to_cpu
	mov	x2, x0
	mov	x0, x22
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x20
	bl	_ieee80211_mark_rx_ba_filtered_frames
	b	LBB0_4
LBB0_9:
	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	_rcu_read_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received window status notification of wrong size (%u)\n"

	.comm	_BA_WINDOW_STREAMS_MAX,4,2      ; @BA_WINDOW_STREAMS_MAX
	.comm	_BA_WINDOW_STATUS_VALID_MSK,8,3 ; @BA_WINDOW_STATUS_VALID_MSK
	.comm	_BA_WINDOW_STATUS_TID_MSK,8,3   ; @BA_WINDOW_STATUS_TID_MSK
	.comm	_BA_WINDOW_STATUS_STA_ID_MSK,8,3 ; @BA_WINDOW_STATUS_STA_ID_MSK
	.comm	_BA_WINDOW_STATUS_STA_ID_POS,8,3 ; @BA_WINDOW_STATUS_STA_ID_POS
.subsections_via_symbols
