	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_check_ratid_empty
_iwl_mvm_check_ratid_empty:             ## @iwl_mvm_check_ratid_empty
	.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, %rbx
	movq	%rdi, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	8(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r14
	leaq	(%r15,%r14,4), %r13
	movq	%rax, %rdi
	callq	_lockdep_assert_held
	movl	(%r15,%r14,4), %eax
	cmpl	$128, %eax
	je	LBB0_2
## %bb.1:
	movq	_IWL_AGG_ON@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_iwl_mvm_tid_queued
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ieee80211_sta_set_buffered
LBB0_4:
	movl	4(%r15,%r14,4), %eax
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	movzbl	%al, %edx
	cmovel	%eax, %edx
	cmpl	8(%r15,%r14,4), %edx
	jne	LBB0_9
## %bb.5:
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_IWL_DEBUG_TX_QUEUES
	movq	_IWL_AGG_STARTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_start_tx_ba_cb_irqsafe ## TAILCALL
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_IWL_DEBUG_TX_QUEUES
	movq	_IWL_AGG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_stop_tx_ba_cb_irqsafe ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_AGG_ON,4,2                 ## @IWL_AGG_ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can continue addBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_STARTING,4,2           ## @IWL_AGG_STARTING
L_.str.1:                               ## @.str.1
	.asciz	"Can continue DELBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_OFF,4,2                ## @IWL_AGG_OFF
	.no_dead_strip	_iwl_mvm_check_ratid_empty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_check_ratid_empty
_iwl_mvm_check_ratid_empty:             ; @iwl_mvm_check_ratid_empty
	.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	x19, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x1
	bl	_iwl_mvm_sta_from_mac80211
	mov	w8, #12
	ldp	x21, x24, [x0, #8]
	madd	x22, x19, x8, x24
	bl	_lockdep_assert_held
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IWL_AGG_ON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWL_AGG_ON@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #128
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	bl	_iwl_mvm_tid_queued
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_ieee80211_sta_set_buffered
LBB0_3:
	mov	w8, #12
	madd	x8, x19, x8, x24
	ldr	x9, [x23]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldp	w10, w8, [x8, #4]
	and	w11, w10, #0xff
	cmp	x9, #0
	csel	w2, w10, w11, eq
	cmp	w2, w8
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_IWL_DEBUG_TX_QUEUES
Lloh5:
	adrp	x8, _IWL_AGG_STARTING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IWL_AGG_STARTING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x22]
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x19
	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	_ieee80211_start_tx_ba_cb_irqsafe
LBB0_7:
	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_8:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_IWL_DEBUG_TX_QUEUES
Lloh10:
	adrp	x8, _IWL_AGG_OFF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IWL_AGG_OFF@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x22]
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x19
	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	_ieee80211_stop_tx_ba_cb_irqsafe
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_AGG_ON,4,2                 ; @IWL_AGG_ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can continue addBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_STARTING,4,2           ; @IWL_AGG_STARTING
l_.str.1:                               ; @.str.1
	.asciz	"Can continue DELBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_OFF,4,2                ; @IWL_AGG_OFF
	.no_dead_strip	_iwl_mvm_check_ratid_empty
.subsections_via_symbols
