	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_stop_tx_ba_cb        ## -- Begin function ieee80211_stop_tx_ba_cb
	.p2align	4, 0x90
_ieee80211_stop_tx_ba_cb:               ## @ieee80211_stop_tx_ba_cb
	.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	%rdx, %r12
	movq	%rsi, %r15
	callq	_vif_to_sdata
	movq	%rax, %rbx
	movq	(%rax), %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_trace_api_stop_tx_ba_cb
	movq	_IEEE80211_NUM_TIDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%r12, %rcx
	jle	LBB0_12
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_ht_dbg
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_sta_info_get_bss
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	%r13, %rdi
	addq	$4, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_rcu_dereference_protected_tid_tx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r14
	movq	_HT_AGG_STATE_STOPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rcx
	movq	_WLAN_BACK_INITIATOR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_9
## %bb.7:
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.8:
	movl	8(%r13), %edi
	movq	_WLAN_REASON_QSTA_NOT_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_ieee80211_send_delba
LBB0_9:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ieee80211_remove_tid_tx
	jmp	LBB0_10
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ht_dbg                         ## TAILCALL
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ht_dbg
	jmp	LBB0_11
LBB0_5:
	movq	16(%r13), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_ht_dbg
LBB0_10:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	%r13, %rdi
	callq	_mutex_unlock
LBB0_11:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NUM_TIDS,8,3         ## @IEEE80211_NUM_TIDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad TID value: tid = %d (>= %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Stopping Tx BA session for %pM tid %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Could not find station: %pM\n"

	.comm	_HT_AGG_STATE_STOPPING,4,2      ## @HT_AGG_STATE_STOPPING
L_.str.3:                               ## @.str.3
	.asciz	"unexpected callback to A-MPDU stop for %pM tid %d\n"

	.comm	_WLAN_BACK_INITIATOR,8,3        ## @WLAN_BACK_INITIATOR
	.comm	_WLAN_REASON_QSTA_NOT_USE,4,2   ## @WLAN_REASON_QSTA_NOT_USE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_stop_tx_ba_cb        ; -- Begin function ieee80211_stop_tx_ba_cb
	.p2align	2
_ieee80211_stop_tx_ba_cb:               ; @ieee80211_stop_tx_ba_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_vif_to_sdata
	mov	x22, x0
	ldr	x19, [x0]
	mov	x1, x21
	mov	x2, x20
	bl	_trace_api_stop_tx_ba_cb
Lloh0:
	adrp	x8, _IEEE80211_NUM_TIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_NUM_TIDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.le	LBB0_8
; %bb.1:
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_ht_dbg
	mov	x0, x19
	bl	_mutex_lock
	mov	x0, x22
	mov	x1, x21
	bl	_sta_info_get_bss
	cbz	x0, LBB0_9
; %bb.2:
	mov	x23, x0
	bl	_mutex_lock
	add	x24, x23, #4
	mov	x0, x24
	bl	_spin_lock_bh
	mov	x0, x23
	mov	x1, x20
	bl	_rcu_dereference_protected_tid_tx
	cbz	x0, LBB0_10
; %bb.3:
	mov	x25, x0
Lloh5:
	adrp	x8, _HT_AGG_STATE_STOPPING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HT_AGG_STATE_STOPPING@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x25, #16
	bl	_test_bit
	cbz	w0, LBB0_10
; %bb.4:
	ldr	x3, [x25]
Lloh8:
	adrp	x8, _WLAN_BACK_INITIATOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WLAN_BACK_INITIATOR@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x3, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x23, #8]
Lloh11:
	adrp	x8, _WLAN_REASON_QSTA_NOT_USE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WLAN_REASON_QSTA_NOT_USE@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
	mov	x1, x21
	mov	x2, x20
	bl	_ieee80211_send_delba
LBB0_7:
	mov	x0, x23
	mov	x1, x20
	bl	_ieee80211_remove_tid_tx
	b	LBB0_11
LBB0_8:
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	bl	_ht_dbg
	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
	add	sp, sp, #96
	ret
LBB0_9:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_ht_dbg
	b	LBB0_12
LBB0_10:
	ldr	x2, [x23, #16]
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_ht_dbg
LBB0_11:
	mov	x0, x24
	bl	_spin_unlock_bh
	mov	x0, x23
	bl	_mutex_unlock
LBB0_12:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_TIDS,8,3         ; @IEEE80211_NUM_TIDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad TID value: tid = %d (>= %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Stopping Tx BA session for %pM tid %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Could not find station: %pM\n"

	.comm	_HT_AGG_STATE_STOPPING,4,2      ; @HT_AGG_STATE_STOPPING
l_.str.3:                               ; @.str.3
	.asciz	"unexpected callback to A-MPDU stop for %pM tid %d\n"

	.comm	_WLAN_BACK_INITIATOR,8,3        ; @WLAN_BACK_INITIATOR
	.comm	_WLAN_REASON_QSTA_NOT_USE,4,2   ; @WLAN_REASON_QSTA_NOT_USE
.subsections_via_symbols
