	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_del_ba
_iwl_mvm_del_ba:                        ## @iwl_mvm_del_ba
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	(%rdx), %rbx
	movq	_IWL_MAX_BAID@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	setae	%dil
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	(%r13), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r15), %rbx
	movslq	%r14d, %r14
	shlq	$4, %r14
	leaq	(%rbx,%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r14), %rdi
	addq	$4, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movl	8(%rbx,%r14), %esi
	movl	12(%rbx,%r14), %edi
	callq	_ieee80211_sn_add
	movl	$0, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movl	%eax, %r9d
	callq	_iwl_mvm_release_frames
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	%rbx, %rdi
	callq	_del_timer_sync
LBB0_4:
	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
	.comm	_IWL_MAX_BAID,8,3               ## @IWL_MAX_BAID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid BAID: %x\n"

	.no_dead_strip	_iwl_mvm_del_ba
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_del_ba
_iwl_mvm_del_ba:                        ; @iwl_mvm_del_ba
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x2]
Lloh0:
	adrp	x8, _IWL_MAX_BAID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MAX_BAID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x21, x8
	cset	w0, hs
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_WARN_ONCE
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	bl	_rcu_read_lock
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_rcu_dereference
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_rcu_dereference
	mov	x22, x0
	bl	_IS_ERR_OR_NULL
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
	add	x20, x8, w20, sxtw #4
	add	x23, x20, #4
	mov	x0, x23
	bl	_spin_lock_bh
	ldp	w1, w0, [x20, #8]
	bl	_ieee80211_sn_add
	mov	x5, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x3, x21
	mov	x4, x20
	mov	w6, #0
	bl	_iwl_mvm_release_frames
	mov	x0, x23
	bl	_spin_unlock_bh
	mov	x0, x20
	bl	_del_timer_sync
LBB0_5:
	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	_rcu_read_unlock
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MAX_BAID,8,3               ; @IWL_MAX_BAID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid BAID: %x\n"

	.no_dead_strip	_iwl_mvm_del_ba
.subsections_via_symbols
