	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ampdu_tx_request_ext ## -- Begin function ieee80211_ampdu_tx_request_ext
	.p2align	4, 0x90
_ieee80211_ampdu_tx_request_ext:        ## @ieee80211_ampdu_tx_request_ext
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	cmpl	$15, %esi
	ja	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movl	%esi, %ecx
	leaq	(%rax,%rcx,4), %rbx
	movl	(%rax,%rcx,4), %eax
	movq	_IEEE80211_AGGR_SETUP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ampdu_tx_setup
	movl	(%rbx), %eax
LBB0_3:
	movq	_IEEE80211_AGGR_NAK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	%rbx, %rdi
	callq	_addba_start_timeout
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_AGGR_SETUP,4,2       ## @IEEE80211_AGGR_SETUP
	.comm	_IEEE80211_AGGR_NAK,4,2         ## @IEEE80211_AGGR_NAK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ampdu_tx_request_ext ; -- Begin function ieee80211_ampdu_tx_request_ext
	.p2align	2
_ieee80211_ampdu_tx_request_ext:        ; @ieee80211_ampdu_tx_request_ext
	.cfi_startproc
; %bb.0:
	cmp	w1, #15
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	add	x19, x8, w1, uxtw #2
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IEEE80211_AGGR_SETUP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_AGGR_SETUP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_ampdu_tx_setup
	ldr	w8, [x19]
LBB0_4:
Lloh3:
	adrp	x9, _IEEE80211_AGGR_NAK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_AGGR_NAK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_addba_start_timeout
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_AGGR_SETUP,4,2       ; @IEEE80211_AGGR_SETUP
	.comm	_IEEE80211_AGGR_NAK,4,2         ; @IEEE80211_AGGR_NAK
.subsections_via_symbols
