	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_release_frames
_iwl_mvm_release_frames:                ## @iwl_mvm_release_frames
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	16(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rcx), %rax
	imulq	(%r8), %rax
	shlq	$4, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	16(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r8), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	32(%r8), %rdi
	callq	_lockdep_assert_held
	movq	_IWL_MVM_RELEASE_FROM_RSS_SYNC@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ieee80211_sn_less
	testq	%rax, %rax
	jne	LBB0_13
LBB0_2:
	movl	12(%rbx), %edx
	movl	%r14d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_iwl_mvm_is_sn_less
	testq	%rax, %rax
	je	LBB0_3
LBB0_13:
	cmpq	$0, 24(%rbx)
	je	LBB0_19
LBB0_14:
	cmpl	$0, 20(%rbx)
	je	LBB0_15
LBB0_19:
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_timer                      ## TAILCALL
LBB0_15:
	movl	8(%rbx), %eax
	cltd
	idivl	12(%rbx)
	movl	%edx, %r14d
	movslq	%edx, %r15
	movq	%r15, %rax
	shlq	$4, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%rax), %rdi
	addq	$8, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%r14d
	movl	%r14d, %eax
	cltd
	idivl	12(%rbx)
	movl	%edx, %r14d
	movslq	%edx, %r15
	movq	%r15, %rax
	shlq	$4, %rax
	jmp	LBB0_17
LBB0_18:
	shlq	$4, %r15
	addq	$16, %rbx
	movq	(%r12,%r15), %rax
	movq	_RX_REORDER_BUF_TIMEOUT_MQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_3:
	movl	12(%rbx), %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_iwl_mvm_is_sn_less
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%rbx), %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_iwl_mvm_is_sn_less
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %eax
	cltd
	idivl	12(%rbx)
	movslq	%edx, %r14
	shlq	$4, %r14
	callq	_ieee80211_sn_inc
	movl	%eax, %edx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	_IWL_MVM_RELEASE_SEND_RSS_SYNC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%edx, %eax
	andl	$-2049, %eax                    ## imm = 0xF7FF
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %esi
	movq	%r15, %rdi
	callq	_iwl_mvm_sync_nssn
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r14
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	___skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%rbx), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_iwl_mvm_pass_packet_to_mac80211
	decq	24(%rbx)
	jmp	LBB0_10
LBB0_12:
	movl	%r14d, 8(%rbx)
	cmpq	$0, 24(%rbx)
	jne	LBB0_14
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MVM_RELEASE_FROM_RSS_SYNC,4,2 ## @IWL_MVM_RELEASE_FROM_RSS_SYNC
	.comm	_IWL_MVM_RELEASE_SEND_RSS_SYNC,4,2 ## @IWL_MVM_RELEASE_SEND_RSS_SYNC
	.comm	_RX_REORDER_BUF_TIMEOUT_MQ,8,3  ## @RX_REORDER_BUF_TIMEOUT_MQ
	.no_dead_strip	_iwl_mvm_release_frames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_release_frames
_iwl_mvm_release_frames:                ; @iwl_mvm_release_frames
	.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	x21, x6
	mov	x20, x5
	mov	x19, x4
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldr	x8, [x3, #16]
	ldr	x9, [x4]
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x10, [x3]
	mul	x9, x10, x9
	add	x28, x8, x9, lsl #4
	ldr	w26, [x4, #8]
	add	x0, x4, #32
	bl	_lockdep_assert_held
Lloh0:
	adrp	x8, _IWL_MVM_RELEASE_FROM_RSS_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MVM_RELEASE_FROM_RSS_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x26
	bl	_ieee80211_sn_less
	cbnz	x0, LBB0_3
LBB0_2:
	ldr	w2, [x19, #12]
	mov	x0, x20
	mov	x1, x26
	bl	_iwl_mvm_is_sn_less
	cbz	x0, LBB0_11
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
LBB0_4:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_13
LBB0_5:
	add	x0, x19, #16
	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	_del_timer
LBB0_6:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x27, x26
	ldr	w22, [x19, #12]
	mov	x0, x26
	bl	_ieee80211_sn_inc
	mov	x26, x0
Lloh3:
	adrp	x8, _IWL_MVM_RELEASE_SEND_RSS_SYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_MVM_RELEASE_SEND_RSS_SYNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w21
	and	w9, w0, #0xfffff7ff
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w1, [x8, #8]
	mov	x0, x25
	mov	x2, x26
	bl	_iwl_mvm_sync_nssn
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	sdiv	w8, w27, w22
	msub	w8, w8, w22, w27
	add	x8, x28, w8, sxtw #4
	add	x27, x8, #8
	mov	x0, x27
	bl	___skb_dequeue
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x2, x0
LBB0_10:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x3, [x19]
	mov	x0, x25
	mov	x1, x23
	mov	x4, x24
	mov	w5, #0
	bl	_iwl_mvm_pass_packet_to_mac80211
	ldr	x8, [x19, #24]
	sub	x8, x8, #1
	str	x8, [x19, #24]
	mov	x0, x27
	bl	___skb_dequeue
	mov	x2, x0
	cbnz	x0, LBB0_10
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w2, [x19, #12]
	mov	x0, x26
	mov	x1, x20
	bl	_iwl_mvm_is_sn_less
	cbnz	x0, LBB0_6
; %bb.12:
	str	w20, [x19, #8]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
	b	LBB0_5
LBB0_13:
	ldp	w8, w9, [x19, #8]
	sdiv	w10, w8, w9
	msub	w20, w10, w9, w8
	add	x8, x28, w20, sxtw #4
	add	x0, x8, #8
	bl	_skb_queue_empty
	cbz	x0, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	w8, w20, #1
	ldr	w9, [x19, #12]
	sdiv	w10, w8, w9
	msub	w20, w10, w9, w8
	add	x8, x28, w20, sxtw #4
	add	x0, x8, #8
	bl	_skb_queue_empty
	cbnz	x0, LBB0_14
; %bb.15:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_16:
	sxtw	x8, w20
	lsl	x8, x8, #4
	ldr	x8, [x28, x8]
Lloh6:
	adrp	x9, _RX_REORDER_BUF_TIMEOUT_MQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_REORDER_BUF_TIMEOUT_MQ@GOTPAGEOFF]
	add	x0, x19, #16
Lloh8:
	ldr	x9, [x9]
	add	x8, x8, x9
	add	x1, x8, #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
	b	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MVM_RELEASE_FROM_RSS_SYNC,4,2 ; @IWL_MVM_RELEASE_FROM_RSS_SYNC
	.comm	_IWL_MVM_RELEASE_SEND_RSS_SYNC,4,2 ; @IWL_MVM_RELEASE_SEND_RSS_SYNC
	.comm	_RX_REORDER_BUF_TIMEOUT_MQ,8,3  ; @RX_REORDER_BUF_TIMEOUT_MQ
	.no_dead_strip	_iwl_mvm_release_frames
.subsections_via_symbols
