	.file	"extr_cagg.c_zfAggPrintTally.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"got_packets_sum ="
.LC1:
	.string	"  got_bytes_sum ="
.LC2:
	.string	"sent_packets_sum="
.LC3:
	.string	" sent_bytes_sum ="
.LC4:
	.string	"avg_got_packets ="
.LC5:
	.string	"  avg_got_bytes ="
.LC6:
	.string	"avg_sent_packets="
.LC7:
	.string	" avg_sent_bytes ="
.LC8:
	.string	"Hardware Tx MPDU="
.LC9:
	.string	"  BA Fail number="
.LC10:
	.string	"1/(BA fail rate)="
	.text
	.p2align 4
	.globl	zfAggPrintTally
	.type	zfAggPrintTally, @function
zfAggPrintTally:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	zmw_get_wlan_dev@PLT
	mov	rbx, QWORD PTR wd[rip]
	mov	r8d, DWORD PTR 8[rbx]
	cmp	r8d, 9
	jle	.L9
	mov	ecx, DWORD PTR 12[rbx]
	mov	eax, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	imul	eax, ecx
	lea	esi, 1[rcx]
	mov	DWORD PTR 12[rbx], esi
	add	eax, r8d
	cdq
	idiv	esi
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR 20[rbx]
	imul	eax, ecx
	add	eax, DWORD PTR 24[rbx]
	cdq
	idiv	esi
	mov	DWORD PTR 20[rbx], eax
	mov	eax, DWORD PTR 28[rbx]
	imul	eax, ecx
	add	eax, DWORD PTR 32[rbx]
	cdq
	imul	ecx, DWORD PTR 36[rbx]
	idiv	esi
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR 40[rbx]
	add	eax, ecx
	cdq
	idiv	esi
	mov	edx, r8d
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 36[rbx], eax
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC1[rip]
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 32[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC2[rip]
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 40[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC3[rip]
	call	zm_msg1_agg@PLT
	mov	DWORD PTR 40[rbx], 0
	mov	edx, DWORD PTR 16[rbx]
	lea	rsi, .LC4[rip]
	mov	DWORD PTR 32[rbx], 0
	mov	edi, DWORD PTR ZM_LV_0[rip]
	mov	DWORD PTR 24[rbx], 0
	mov	DWORD PTR 8[rbx], 0
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC5[rip]
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 28[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC6[rip]
	call	zm_msg1_agg@PLT
	mov	edx, DWORD PTR 36[rbx]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC7[rip]
	call	zm_msg1_agg@PLT
	mov	rax, QWORD PTR wd[rip]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR 4[rax]
	test	ecx, ecx
	je	.L5
	test	edx, edx
	jne	.L6
.L5:
	lea	rsi, .LC8[rip]
	call	zm_msg1_agg@PLT
	mov	rax, QWORD PTR wd[rip]
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC9[rip]
	mov	edx, DWORD PTR [rax]
	call	zm_msg1_agg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	zfAggTallyReset@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, edx
	lea	rsi, .LC10[rip]
	cdq
	idiv	ecx
	mov	edx, eax
	call	zm_msg1_agg@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zfAggPrintTally, .-zfAggPrintTally
	.comm	wd,8,8
	.comm	ZM_LV_0,4,4
	.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_cagg.c_zfAggPrintTally.c"
	.text
	.global	__aeabi_idiv
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"got_packets_sum =\000"
	.align	2
.LC1:
	.ascii	"  got_bytes_sum =\000"
	.align	2
.LC2:
	.ascii	"sent_packets_sum=\000"
	.align	2
.LC3:
	.ascii	" sent_bytes_sum =\000"
	.align	2
.LC4:
	.ascii	"avg_got_packets =\000"
	.align	2
.LC5:
	.ascii	"  avg_got_bytes =\000"
	.align	2
.LC6:
	.ascii	"avg_sent_packets=\000"
	.align	2
.LC7:
	.ascii	" avg_sent_bytes =\000"
	.align	2
.LC8:
	.ascii	"Hardware Tx MPDU=\000"
	.align	2
.LC9:
	.ascii	"  BA Fail number=\000"
	.align	2
.LC10:
	.ascii	"1/(BA fail rate)=\000"
	.text
	.align	2
	.global	zfAggPrintTally
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfAggPrintTally, %function
zfAggPrintTally:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L10
	mov	r5, r0
	bl	zmw_get_wlan_dev
	ldr	r4, [r8]
	ldr	r7, [r4, #8]
	cmp	r7, #9
	ble	.L9
	ldr	r5, [r4, #12]
	ldr	r0, [r4, #16]
	add	r6, r5, #1
	mov	r1, r6
	mla	r0, r5, r0, r7
	str	r6, [r4, #12]
	bl	__aeabi_idiv
	ldr	r2, [r4, #20]
	ldr	r3, [r4, #24]
	str	r0, [r4, #16]
	mov	r1, r6
	mla	r0, r2, r5, r3
	bl	__aeabi_idiv
	ldr	r2, [r4, #28]
	ldr	r3, [r4, #32]
	str	r0, [r4, #20]
	mov	r1, r6
	mla	r0, r2, r5, r3
	bl	__aeabi_idiv
	ldr	r3, [r4, #40]
	ldr	r2, [r4, #36]
	str	r0, [r4, #28]
	mov	r1, r6
	mla	r0, r2, r5, r3
	bl	__aeabi_idiv
	ldr	r5, .L10+4
	str	r0, [r4, #36]
	mov	r2, r7
	ldr	r1, .L10+8
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #24]
	ldr	r1, .L10+12
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #32]
	ldr	r1, .L10+16
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #40]
	ldr	r1, .L10+20
	ldr	r0, [r5]
	bl	zm_msg1_agg
	mov	r3, #0
	ldr	r2, [r4, #16]
	str	r3, [r4, #40]
	str	r3, [r4, #32]
	str	r3, [r4, #24]
	str	r3, [r4, #8]
	ldr	r1, .L10+24
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #20]
	ldr	r1, .L10+28
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #28]
	ldr	r1, .L10+32
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r2, [r4, #36]
	ldr	r1, .L10+36
	ldr	r0, [r5]
	bl	zm_msg1_agg
	ldr	r3, [r8]
	ldr	r4, [r5]
	ldm	r3, {r1, r2}
	cmp	r1, #0
	beq	.L5
	cmp	r2, #0
	bne	.L6
.L5:
	mov	r0, r4
	ldr	r1, .L10+40
	bl	zm_msg1_agg
	ldr	r3, [r8]
	ldr	r0, [r5]
	ldr	r2, [r3]
	ldr	r1, .L10+44
	bl	zm_msg1_agg
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r5
	bl	zfAggTallyReset
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r2
	bl	__aeabi_idiv
	ldr	r1, .L10+48
	mov	r2, r0
	mov	r0, r4
	bl	zm_msg1_agg
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	wd
	.word	ZM_LV_0
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	zfAggPrintTally, .-zfAggPrintTally
	.comm	wd,4,4
	.comm	ZM_LV_0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
