	.file	"extr_rt2800lib.c_rt2800_ampdu_action.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown AMPDU action\n"
	.text
	.p2align 4
	.globl	rt2800_ampdu_action
	.type	rt2800_ampdu_action, @function
rt2800_ampdu_action:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rdi
	mov	rdi, rsi
	mov	rsi, QWORD PTR 8[rcx]
	mov	r9d, 1
	cmp	QWORD PTR [rsi], 0
	js	.L10
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	edx, 131
	je	.L3
	ja	.L4
	add	edx, -128
	cmp	edx, 2
	ja	.L5
	mov	esi, DWORD PTR [rcx]
	mov	edx, r8d
	call	ieee80211_stop_tx_ba_cb_irqsafe@PLT
	xor	r9d, r9d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, r9d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	sub	edx, 132
	cmp	edx, 2
	ja	.L5
.L13:
	xor	r9d, r9d
	add	rsp, 8
	.cfi_def_cfa_offset 8
	mov	eax, r9d
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, r9d
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	call	rt2x00_warn@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR [rcx]
	mov	edx, r8d
	call	ieee80211_start_tx_ba_cb_irqsafe@PLT
	xor	r9d, r9d
	add	rsp, 8
	.cfi_def_cfa_offset 8
	mov	eax, r9d
	ret
	.cfi_endproc
.LFE0:
	.size	rt2800_ampdu_action, .-rt2800_ampdu_action
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rt2800lib.c_rt2800_ampdu_action.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown AMPDU action\012\000"
	.text
	.align	2
	.global	rt2800_ampdu_action
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2800_ampdu_action, %function
rt2800_ampdu_action:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	lr, [r3, #4]
	ldr	lr, [lr]
	cmp	lr, #0
	blt	.L7
	cmp	r2, #131
	mov	ip, r0
	mov	r0, r1
	beq	.L3
	bhi	.L4
	sub	r2, r2, #128
	cmp	r2, #2
	bhi	.L5
	ldr	r1, [r3]
	ldr	r2, [sp, #8]
	bl	ieee80211_stop_tx_ba_cb_irqsafe
	mov	r0, #0
	pop	{r4, pc}
.L4:
	sub	r2, r2, #132
	cmp	r2, #2
	bhi	.L5
	mov	r0, #0
	pop	{r4, pc}
.L7:
	mov	r0, #1
	pop	{r4, pc}
.L5:
	ldr	r0, [ip]
	ldr	r1, .L12
	bl	rt2x00_warn
	mov	r0, #0
	pop	{r4, pc}
.L3:
	ldr	r1, [r3]
	ldr	r2, [sp, #8]
	bl	ieee80211_start_tx_ba_cb_irqsafe
	mov	r0, #0
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	rt2800_ampdu_action, .-rt2800_ampdu_action
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
