	.file	"501208.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"/sys/class/net/%s/statistics/%s"
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"File does not exist: %s. Check the argument: %s."
	.text
	.type	readvar, @function
readvar:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -64[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 50
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L2
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	die@PLT
	mov	eax, 1
	jmp	.L4
.L2:
	mov	rdx, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L4:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	readvar, .-readvar
	.section	.rodata
.LC3:
	.string	"%ld"
.LC4:
	.string	"rx_bytes"
.LC5:
	.string	"tx_bytes"
.LC8:
	.string	"%.2lf\342\206\223\342\206\221%.2lf"
	.text
	.globl	netspeed
	.type	netspeed, @function
netspeed:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR now.5[rip]
	mov	rdx, QWORD PTR now.5[rip+8]
	mov	QWORD PTR old.6[rip], rax
	mov	QWORD PTR old.6[rip+8], rdx
	mov	rax, QWORD PTR in2.4[rip]
	mov	QWORD PTR in1.3[rip], rax
	mov	rax, QWORD PTR out2.2[rip]
	mov	QWORD PTR out1.1[rip], rax
	lea	rsi, now.5[rip]
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, in2.4[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	readvar
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, out2.2[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	readvar
	test	eax, eax
	je	.L8
.L7:
	mov	eax, 0
	jmp	.L9
.L8:
	mov	rax, QWORD PTR out2.2[rip]
	mov	rdx, QWORD PTR out1.1[rip]
	sub	rax, rdx
	sar	rax, 10
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR now.5[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	mov	rax, QWORD PTR now.5[rip+8]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, rax
	movsd	xmm1, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm3
	addsd	xmm1, xmm2
	mov	rax, QWORD PTR old.6[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR old.6[rip+8]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, rax
	movsd	xmm2, QWORD PTR .LC7[rip]
	mulsd	xmm2, xmm3
	subsd	xmm1, xmm2
	movapd	xmm4, xmm0
	divsd	xmm4, xmm1
	mov	rax, QWORD PTR in2.4[rip]
	mov	rdx, QWORD PTR in1.3[rip]
	sub	rax, rdx
	sar	rax, 10
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR now.5[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	mov	rax, QWORD PTR now.5[rip+8]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, rax
	movsd	xmm1, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm3
	addsd	xmm1, xmm2
	mov	rax, QWORD PTR old.6[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	subsd	xmm1, xmm2
	mov	rax, QWORD PTR old.6[rip+8]
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, rax
	movsd	xmm2, QWORD PTR .LC7[rip]
	mulsd	xmm2, xmm3
	subsd	xmm1, xmm2
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movapd	xmm1, xmm4
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	retprintf@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	netspeed, .-netspeed
	.section	.rodata
	.align 8
.LC9:
	.string	"Failed to open socket to get essid. Check the argument (%s)."
	.align 8
.LC10:
	.string	"Failed to do something using ioctl(). Check the argument (%s)"
	.text
	.globl	essid
	.type	essid, @function
essid:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -24[rbp], 33
	mov	rcx, QWORD PTR -72[rbp]
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	BYTE PTR -33[rbp], 0
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L11
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	die@PLT
	mov	eax, 0
	jmp	.L14
.L11:
	mov	edx, 33
	mov	esi, 0
	lea	rdi, name.0[rip]
	call	memset@PLT
	lea	rax, name.0[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, 35611
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L13
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	die@PLT
.L13:
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, name.0[rip]
.L14:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	essid, .-essid
	.local	old.6
	.comm	old.6,16,16
	.local	now.5
	.comm	now.5,16,16
	.local	in2.4
	.comm	in2.4,8,8
	.local	in1.3
	.comm	in1.3,8,8
	.local	out2.2
	.comm	out2.2,8,8
	.local	out1.1
	.comm	out1.1,8,8
	.local	name.0
	.comm	name.0,33,32
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1083179008
	.align 8
.LC7:
	.long	-400107883
	.long	1041313291
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"501208.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sys/class/net/%s/statistics/%s\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"File does not exist: %s. Check the argument: %s.\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readvar, %function
readvar:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	str	r3, [fp, #-84]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #60
	ldr	r3, [fp, #-76]
	str	r3, [sp]
	ldr	r3, [fp, #-72]
	ldr	r2, .L6+4
	mov	r1, #50
	bl	snprintf
	sub	r3, fp, #60
	ldr	r1, .L6+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #60
	ldr	r2, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L6+12
	bl	die
	mov	r3, #1
	b	.L4
.L2:
	ldr	r2, [fp, #-84]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-64]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-64]
	bl	fclose
	mov	r3, #0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	readvar, .-readvar
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%ld\000"
	.align	2
.LC5:
	.ascii	"rx_bytes\000"
	.align	2
.LC6:
	.ascii	"tx_bytes\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.align	2
.LC7:
	.ascii	"%.2lf\342\206\223\342\206\221%.2lf\000"
	.text
	.align	2
	.global	netspeed
	.syntax unified
	.arm
	.fpu softvfp
	.type	netspeed, %function
netspeed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	ldr	r3, .L12
	ldr	r2, .L12+4
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, .L12+8
	ldr	r3, [r3]
	ldr	r2, .L12+12
	str	r3, [r2]
	ldr	r3, .L12+16
	ldr	r3, [r3]
	ldr	r2, .L12+20
	str	r3, [r2]
	ldr	r1, .L12+4
	mov	r0, #1
	bl	clock_gettime
	ldr	r3, .L12+8
	ldr	r2, .L12+24
	ldr	r1, .L12+28
	ldr	r0, [fp, #-32]
	bl	readvar
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L12+16
	ldr	r2, .L12+24
	ldr	r1, .L12+32
	ldr	r0, [fp, #-32]
	bl	readvar
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
.L9:
	mov	r3, #0
	b	.L11
.L10:
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #10
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L12+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L12+4
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L12+40
	ldr	r3, .L12+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L12
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L12+40
	ldr	r3, .L12+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L12+16
	ldr	r2, [r3]
	ldr	r3, .L12+20
	ldr	r3, [r3]
	sub	r3, r2, r3
	asr	r3, r3, #10
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L12+36
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L12+4
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L12+40
	ldr	r3, .L12+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L12
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L12+40
	ldr	r3, .L12+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r6
	mov	r3, r7
	ldr	r0, .L12+48
	bl	retprintf
	mov	r3, r0
.L11:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L13:
	.align	2
.L12:
	.word	old.6551
	.word	now.6550
	.word	in2.6547
	.word	in1.6546
	.word	out2.6549
	.word	out1.6548
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1083179008
	.word	-400107883
	.word	1041313291
	.word	.LC7
	.size	netspeed, .-netspeed
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Failed to open socket to get essid. Check the argum"
	.ascii	"ent (%s).\000"
	.align	2
.LC9:
	.ascii	"Failed to do something using ioctl(). Check the arg"
	.ascii	"ument (%s)\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	essid
	.syntax unified
	.arm
	.fpu softvfp
	.type	essid, %function
essid:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #33
	strh	r3, [fp, #-20]	@ movhi
	sub	r3, fp, #40
	mov	r2, #16
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	strncpy
	mov	r3, #0
	strb	r3, [fp, #-25]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L15
	ldr	r1, [fp, #-48]
	ldr	r0, .L20+4
	bl	die
	mov	r3, #0
	b	.L18
.L15:
	mov	r2, #33
	mov	r1, #0
	ldr	r0, .L20+8
	bl	memset
	ldr	r3, .L20+8
	str	r3, [fp, #-24]
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L20+12
	ldr	r0, [fp, #-44]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	ldr	r1, [fp, #-48]
	ldr	r0, .L20+16
	bl	die
.L17:
	ldr	r0, [fp, #-44]
	bl	close
	ldr	r3, .L20+8
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC10
	.word	.LC8
	.word	name.6555
	.word	35611
	.word	.LC9
	.size	essid, .-essid
	.local	old.6551
	.comm	old.6551,8,4
	.local	now.6550
	.comm	now.6550,8,4
	.local	in2.6547
	.comm	in2.6547,4,4
	.local	in1.6546
	.comm	in1.6546,4,4
	.local	out2.6549
	.comm	out2.6549,4,4
	.local	out1.6548
	.comm	out1.6548,4,4
	.local	name.6555
	.comm	name.6555,33,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
