	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_check_ratid_empty
_iwlagn_check_ratid_empty:              ## @iwlagn_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, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movslq	%esi, %r12
	movq	(%rax,%r12,8), %r13
	movq	%rdx, %r15
	shlq	$4, %r15
	leaq	(%r15,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$32, %rdi
	callq	_lockdep_assert_held
	movq	24(%rbx), %rax
	movq	%r12, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rsi
	movl	(%rax,%rcx), %eax
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rax,8), %rdi
	movq	(%rcx,%r12,8), %rax
	movl	(%rax,%r15), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movl	4(%r13,%r15), %edx
	cmpl	12(%r13,%r15), %edx
	jne	LBB0_5
## %bb.3:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rdi, %r12
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TX_QUEUES
	movl	(%rbx), %edi
	movl	8(%r13,%r15), %esi
	movl	$1, %edx
	callq	_iwl_trans_txq_disable
	movl	8(%r13,%r15), %esi
	movq	%rbx, %rdi
	callq	_iwlagn_dealloc_agg_txq
	movq	_IWL_AGG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_stop_tx_ba_cb_irqsafe ## TAILCALL
LBB0_4:
	movl	4(%r13,%r15), %edx
	cmpl	12(%r13,%r15), %edx
	jne	LBB0_5
## %bb.6:
	movq	%rsi, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rdi, %r12
	movq	%rbx, %rdi
	callq	_IWL_DEBUG_TX_QUEUES
	movq	_IWL_AGG_STARTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_start_tx_ba_cb_irqsafe ## TAILCALL
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can continue DELBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_OFF,4,2                ## @IWL_AGG_OFF
L_.str.1:                               ## @.str.1
	.asciz	"Can continue ADDBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_STARTING,4,2           ## @IWL_AGG_STARTING
	.no_dead_strip	_iwlagn_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 iwlagn_check_ratid_empty
_iwlagn_check_ratid_empty:              ; @iwlagn_check_ratid_empty
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	sbfiz	x25, x21, #3, #32
	ldr	x24, [x8, x25]
	lsl	x26, x2, #4
	add	x23, x24, x26
	add	x0, x0, #32
	bl	_lockdep_assert_held
	ldp	x10, x8, [x20, #16]
	add	x8, x8, w21, sxtw #4
	ldr	w9, [x8]
	ldr	x11, [x20, #8]
	ldr	x22, [x10, x9, lsl #3]
	ldr	x21, [x8, #8]
	ldr	x8, [x11, x25]
	ldr	w8, [x8, x26]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.2:
	add	x24, x24, x19, lsl #4
	ldr	w2, [x24, #4]
	ldr	w8, [x24, #12]
	cmp	w2, w8
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_TX_QUEUES
	ldr	w0, [x20]
	ldr	w1, [x24, #8]
	mov	w2, #1
	bl	_iwl_trans_txq_disable
	ldr	w1, [x24, #8]
	mov	x0, x20
	bl	_iwlagn_dealloc_agg_txq
Lloh2:
	adrp	x8, _IWL_AGG_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IWL_AGG_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ieee80211_stop_tx_ba_cb_irqsafe
LBB0_4:
	add	x8, x24, x19, lsl #4
	ldr	w2, [x8, #4]
	ldr	w8, [x8, #12]
	cmp	w2, w8
	b.ne	LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_IWL_DEBUG_TX_QUEUES
Lloh7:
	adrp	x8, _IWL_AGG_STARTING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IWL_AGG_STARTING@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ieee80211_start_tx_ba_cb_irqsafe
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can continue DELBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_OFF,4,2                ; @IWL_AGG_OFF
l_.str.1:                               ; @.str.1
	.asciz	"Can continue ADDBA flow ssn = next_recl = %d\n"

	.comm	_IWL_AGG_STARTING,4,2           ; @IWL_AGG_STARTING
	.no_dead_strip	_iwlagn_check_ratid_empty
.subsections_via_symbols
