	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_ampdu_action            ## -- Begin function rt2800_ampdu_action
	.p2align	4, 0x90
_rt2800_ampdu_action:                   ## @rt2800_ampdu_action
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rax
	movq	8(%rdx), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rdx
	movq	_WCID_END@GOTPCREL(%rip), %rbx
	movl	$1, %r14d
	cmpq	(%rbx), %rdx
	jg	LBB0_7
## %bb.1:
	movl	4(%rax), %edx
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	leal	-128(%rax), %ebx
	cmpl	$3, %ebx
	jb	LBB0_5
## %bb.2:
	leal	-132(%rax), %ebx
	cmpl	$3, %ebx
	jb	LBB0_7
## %bb.3:
	cmpl	$131, %eax
	jne	LBB0_6
## %bb.4:
	movl	(%rcx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_ieee80211_start_tx_ba_cb_irqsafe
	jmp	LBB0_7
LBB0_5:
	movl	(%rcx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_ieee80211_stop_tx_ba_cb_irqsafe
	jmp	LBB0_7
LBB0_6:
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_rt2x00_warn
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WCID_END,8,3                   ## @WCID_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown AMPDU action\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_ampdu_action            ; -- Begin function rt2800_ampdu_action
	.p2align	2
_rt2800_ampdu_action:                   ; @rt2800_ampdu_action
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x2, #8]
	ldr	x10, [x9, #8]
	ldr	x10, [x10]
Lloh0:
	adrp	x11, _WCID_END@GOTPAGE
Lloh1:
	ldr	x11, [x11, _WCID_END@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.le	LBB0_2
; %bb.1:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x8, x2
	ldr	w2, [x2, #4]
	ldr	w8, [x8]
	sub	w10, w8, #128
	cmp	w10, #3
	b.lo	LBB0_6
; %bb.3:
	sub	w10, w8, #132
	cmp	w10, #3
	b.lo	LBB0_8
; %bb.4:
	cmp	w8, #131
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_ieee80211_start_tx_ba_cb_irqsafe
	b	LBB0_8
LBB0_6:
	ldr	w8, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_ieee80211_stop_tx_ba_cb_irqsafe
	b	LBB0_8
LBB0_7:
	ldr	x0, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rt2x00_warn
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WCID_END,8,3                   ; @WCID_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown AMPDU action\n"

.subsections_via_symbols
