	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_tx_agg_start               ## -- Begin function rtl_tx_agg_start
	.p2align	4, 0x90
_rtl_tx_agg_start:                      ## @rtl_tx_agg_start
	.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	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_rtl_priv
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r15, (%rax)
	setbe	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movq	(%r12), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movq	%r15, %r9
	callq	_RT_TRACE
	movq	_RTL_AGG_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_ieee80211_start_tx_ba_cb_irqsafe
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_TID_COUNT,8,3              ## @MAX_TID_COUNT
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"on ra = %pM tid = %d seq:%d\n"

	.comm	_RTL_AGG_START,4,2              ## @RTL_AGG_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_tx_agg_start               ; -- Begin function rtl_tx_agg_start
	.p2align	2
_rtl_tx_agg_start:                      ; @rtl_tx_agg_start
	.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	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	bl	_rtl_priv
	cbz	x21, LBB0_2
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x8, _MAX_TID_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_TID_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w0, ls
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x24, [x8]
Lloh5:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w4, [x21]
	ldr	x6, [x22]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x23
	mov	x5, x19
	bl	_RT_TRACE
Lloh13:
	adrp	x8, _RTL_AGG_START@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RTL_AGG_START@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x24, x19, lsl #2]
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_ieee80211_start_tx_ba_cb_irqsafe
	mov	w0, #0
	b	LBB0_4
LBB0_7:
Lloh16:
	adrp	x8, _ENXIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_TID_COUNT,8,3              ; @MAX_TID_COUNT
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"on ra = %pM tid = %d seq:%d\n"

	.comm	_RTL_AGG_START,4,2              ; @RTL_AGG_START
.subsections_via_symbols
