	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_addba_response
_ieee80211_addba_response:              ## @ieee80211_addba_response
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_addba_stop_timeout
	movq	_IEEE80211_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_IEEE80211_BAPS_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movl	%eax, %edi
	movq	_IEEE80211_AGGR_BAWMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%edi, %edi
	je	LBB0_3
## %bb.2:
	movl	%eax, %esi
	callq	_min
LBB0_3:
	movl	%eax, 16(%r15)
	movq	_IEEE80211_BAPS_TID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_MS
	movq	_IEEE80211_AGGR_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	$0, 8(%r15)
	jmp	LBB0_5
LBB0_4:
	movq	_IEEE80211_AGGR_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_5:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STATUS_SUCCESS,4,2   ## @IEEE80211_STATUS_SUCCESS
	.comm	_IEEE80211_BAPS_BUFSIZ,4,2      ## @IEEE80211_BAPS_BUFSIZ
	.comm	_IEEE80211_AGGR_BAWMAX,4,2      ## @IEEE80211_AGGR_BAWMAX
	.comm	_IEEE80211_BAPS_TID,4,2         ## @IEEE80211_BAPS_TID
	.comm	_IEEE80211_AGGR_RUNNING,4,2     ## @IEEE80211_AGGR_RUNNING
	.comm	_IEEE80211_AGGR_NAK,4,2         ## @IEEE80211_AGGR_NAK
	.no_dead_strip	_ieee80211_addba_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_addba_response
_ieee80211_addba_response:              ; @ieee80211_addba_response
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x0, x1
	bl	_addba_stop_timeout
Lloh0:
	adrp	x8, _IEEE80211_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _IEEE80211_BAPS_BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_BAPS_BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MS
Lloh6:
	adrp	x8, _IEEE80211_AGGR_BAWMAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_AGGR_BAWMAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cbz	w0, LBB0_3
; %bb.2:
	bl	_min
	mov	x1, x0
LBB0_3:
	str	w1, [x19, #16]
Lloh9:
	adrp	x8, _IEEE80211_BAPS_TID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_BAPS_TID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MS
Lloh12:
	adrp	x8, _IEEE80211_AGGR_RUNNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_AGGR_RUNNING@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #8]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _IEEE80211_AGGR_NAK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_AGGR_NAK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STATUS_SUCCESS,4,2   ; @IEEE80211_STATUS_SUCCESS
	.comm	_IEEE80211_BAPS_BUFSIZ,4,2      ; @IEEE80211_BAPS_BUFSIZ
	.comm	_IEEE80211_AGGR_BAWMAX,4,2      ; @IEEE80211_AGGR_BAWMAX
	.comm	_IEEE80211_BAPS_TID,4,2         ; @IEEE80211_BAPS_TID
	.comm	_IEEE80211_AGGR_RUNNING,4,2     ; @IEEE80211_AGGR_RUNNING
	.comm	_IEEE80211_AGGR_NAK,4,2         ; @IEEE80211_AGGR_NAK
	.no_dead_strip	_ieee80211_addba_response
.subsections_via_symbols
