	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_free_reorder
_iwl_mvm_free_reorder:                  ## @iwl_mvm_free_reorder
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	24(%rsi), %esi
	callq	_iwl_mvm_sync_rxq_del_ba
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.1:
	xorl	%r13d, %r13d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	(%rbx), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%r14), %r12
	movq	8(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	(,%r13,4), %r15
	addq	%r13, %r15
	leaq	(%r12,%r15,4), %r14
	addq	$12, %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	xorl	%edi, %edi
	cmpl	$0, 16(%r12,%r15,4)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_WARN_ON
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r12,%r15,4)
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %r12
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	imull	%r13d, %eax
	cltq
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	___skb_queue_purge
	incq	%r14
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, 4(%rbx,%r15,4)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	leaq	(%rbx,%r15,4), %rdi
	addq	$8, %rdi
	callq	_del_timer_sync
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_iwl_mvm_free_reorder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_free_reorder
_iwl_mvm_free_reorder:                  ; @iwl_mvm_free_reorder
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
	ldr	w1, [x1, #24]
	bl	_iwl_mvm_sync_rxq_del_ba
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x23, #0
	mov	w24, #20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_spin_unlock_bh
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldp	x22, x26, [x19, #8]
	ldr	w27, [x19]
	madd	x25, x23, x24, x26
	add	x21, x25, #12
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w8, [x25, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_likely
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_WARN_ON
	madd	x28, x23, x24, x26
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	mul	w8, w27, w23
	add	x22, x22, w8, sxtw #2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	___skb_queue_purge
	add	x25, x25, #1
	ldrsw	x8, [x28]
	add	x22, x22, #4
	cmp	x25, x8
	b.lt	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x22, x23, x24, x26
	mov	w8, #1
	str	w8, [x22, #4]
	mov	x0, x21
	bl	_spin_unlock_bh
	add	x0, x22, #8
	bl	_del_timer_sync
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_iwl_mvm_free_reorder
.subsections_via_symbols
