	.file	"extr_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"===>can't get TS\n"
	.text
	.p2align 4
	.globl	ieee80211_tx_query_agg_cap
	.type	ieee80211_tx_query_agg_cap, @function
ieee80211_tx_query_agg_cap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR 40[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	mov	r8d, DWORD PTR 36[r13]
	test	r8d, r8d
	je	.L1
	mov	ecx, DWORD PTR 32[r13]
	test	ecx, ecx
	jne	.L26
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	r14, QWORD PTR 8[rsi]
	mov	rbp, rdi
	mov	rbx, rsi
	mov	r12, rdx
	mov	rdi, r14
	call	IsQoSDataFrame@PLT
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR [r14]
	call	is_multicast_ether_addr@PLT
	test	rax, rax
	jne	.L1
	mov	edi, DWORD PTR [r14]
	call	is_broadcast_ether_addr@PLT
	test	rax, rax
	jne	.L1
	mov	edi, DWORD PTR 24[rbp]
	call	[QWORD PTR 32[rbp]]
	test	eax, eax
	je	.L1
	cmp	QWORD PTR 24[r13], 0
	jne	.L28
.L6:
	mov	eax, DWORD PTR 0[r13]
	cmp	eax, 128
	je	.L12
	cmp	eax, 129
	jne	.L1
	mov	QWORD PTR [r12], 0
	mov	DWORD PTR 8[r12], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L28:
	mov	r8d, DWORD PTR TX_DIR[rip]
	mov	ecx, DWORD PTR [rbx]
	mov	rsi, rsp
	mov	rdi, rbp
	mov	edx, DWORD PTR [r14]
	mov	r9d, 1
	call	GetTs@PLT
	test	eax, eax
	je	.L29
	mov	rsi, QWORD PTR [rsp]
	mov	edx, DWORD PTR 8[rsi]
	test	edx, edx
	je	.L30
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	je	.L31
.L11:
	mov	rax, QWORD PTR IW_MODE_INFRA[rip]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L6
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR [r12], 1
	mov	DWORD PTR 4[r12], eax
	mov	eax, DWORD PTR 12[r13]
	mov	DWORD PTR 8[r12], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR [r12], 1
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR 4[r13]
	mov	DWORD PTR 4[r12], eax
	jmp	.L1
.L30:
	cmp	QWORD PTR 16[rbp], 0
	je	.L9
	mov	rax, QWORD PTR KEY_TYPE_NA[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L6
.L9:
	mov	rdi, rbp
	call	TsStartAddBaProcess@PLT
	jmp	.L6
.L29:
	lea	rdi, .LC0[rip]
	call	printk@PLT
	jmp	.L1
.L31:
	mov	eax, DWORD PTR 4[rsi]
	mov	edi, DWORD PTR 12[rsi]
	add	eax, 1
	cdq
	shr	edx, 20
	lea	r8d, [rax+rdx]
	and	r8d, 4095
	sub	r8d, edx
	mov	esi, r8d
	call	SN_LESS@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR [rsp]
	mov	DWORD PTR [rax], 1
	jmp	.L11
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ieee80211_tx_query_agg_cap, .-ieee80211_tx_query_agg_cap
	.comm	pTcb,8,8
	.comm	TX_DIR,4,4
	.comm	KEY_TYPE_NA,8,8
	.comm	IW_MODE_INFRA,8,8
	.comm	Adapter,8,8
	.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_ieee80211_tx.c_ieee80211_tx_query_agg_cap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"===>can't get TS\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ieee80211_tx_query_agg_cap
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_tx_query_agg_cap, %function
ieee80211_tx_query_agg_cap:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0, #20]
	mov	r4, r0
	ldr	r0, [r7, #28]
	mov	r6, r2
	ldr	r2, .L38
	sub	sp, sp, #16
	cmp	r0, r3
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	str	r3, [sp, #8]
	beq	.L1
	ldr	r3, [r7, #24]
	cmp	r3, #0
	bne	.L32
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L32:
	ldr	r8, [r1, #4]
	mov	r5, r1
	mov	r0, r8
	bl	IsQoSDataFrame
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r8]
	bl	is_multicast_ether_addr
	cmp	r0, #0
	bne	.L1
	ldr	r0, [r8]
	bl	is_broadcast_ether_addr
	cmp	r0, #0
	bne	.L1
	ldr	r3, [r4, #16]
	ldr	r0, [r4, #12]
	blx	r3
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r7, #20]
	cmp	r3, #0
	bne	.L34
.L6:
	ldr	r3, [r7]
	cmp	r3, #128
	beq	.L12
	cmp	r3, #129
	moveq	r3, #0
	streq	r3, [r6]
	streq	r3, [r6, #8]
	streq	r3, [r6, #4]
	b	.L1
.L34:
	mov	r1, #1
	ldr	r3, .L38+4
	ldr	r2, [r8]
	ldr	r0, [r3]
	ldr	r3, [r5]
	stm	sp, {r0, r1}
	mov	r0, r4
	add	r1, sp, #8
	bl	GetTs
	cmp	r0, #0
	beq	.L35
	ldr	r1, [sp, #8]
	ldr	r3, [r1, #8]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L37
.L11:
	ldr	r3, .L38+8
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	moveq	r1, #1
	ldreq	r2, [r7, #16]
	ldreq	r3, [r7, #12]
	stmeq	r6, {r1, r2, r3}
	b	.L6
.L12:
	mov	r1, #1
	ldr	r2, [r7, #8]
	ldr	r3, [r7, #4]
	str	r1, [r6]
	str	r2, [r6, #8]
	str	r3, [r6, #4]
	b	.L1
.L36:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L38+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
.L9:
	mov	r0, r4
	bl	TsStartAddBaProcess
	b	.L6
.L35:
	ldr	r0, .L38+16
	bl	printk
	b	.L1
.L37:
	ldr	r3, [r1, #4]
	ldr	r0, .L38+20
	add	r3, r3, #1
	rsbs	r2, r3, #0
	and	r2, r2, r0
	and	r3, r3, r0
	rsbpl	r3, r2, #0
	ldr	r0, [r1, #12]
	mov	r1, r3
	bl	SN_LESS
	cmp	r0, #0
	beq	.L6
	mov	r2, #1
	ldr	r3, [sp, #8]
	str	r2, [r3]
	b	.L11
.L33:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	.LC1
	.word	TX_DIR
	.word	IW_MODE_INFRA
	.word	KEY_TYPE_NA
	.word	.LC0
	.word	4095
	.size	ieee80211_tx_query_agg_cap, .-ieee80211_tx_query_agg_cap
	.comm	pTcb,4,4
	.comm	TX_DIR,4,4
	.comm	KEY_TYPE_NA,4,4
	.comm	IW_MODE_INFRA,4,4
	.comm	Adapter,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
