	.file	"565114.c"
	.intel_syntax noprefix
	.text
	.globl	load_average
	.type	load_average, @function
load_average:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	getloadavg@PLT
	movsd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	load_average, .-load_average
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"/proc/meminfo"
.LC4:
	.string	"MemTotal: %f kB"
.LC5:
	.string	"MemAvailable: %f kB"
	.text
	.globl	memory
	.type	memory, @function
memory:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L5
	mov	eax, 999
	jmp	.L10
.L5:
	pxor	xmm0, xmm0
	movss	DWORD PTR -288[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -284[rbp], xmm0
	jmp	.L7
.L9:
	lea	rdx, -288[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -284[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L12
.L7:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	jmp	.L8
.L12:
	nop
.L8:
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movss	xmm1, DWORD PTR -284[rbp]
	movss	xmm0, DWORD PTR .LC6[rip]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -288[rbp]
	divss	xmm0, xmm1
	cvttss2si	rax, xmm0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	memory, .-memory
	.globl	swap
	.type	swap, @function
swap:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	sysinfo@PLT
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L14
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	js	.L15
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L16
.L15:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L16:
	movsd	xmm1, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	js	.L17
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L18
.L17:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L18:
	divsd	xmm1, xmm0
	cvttsd2si	rax, xmm1
	jmp	.L20
.L14:
	mov	eax, 0
.L20:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	swap, .-swap
	.globl	get_mstime
	.type	get_mstime, @function
get_mstime:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	imul	rsi, rax, 1000
	mov	rcx, QWORD PTR -24[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	rax, rsi
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_mstime, .-get_mstime
	.section	.rodata
.LC7:
	.string	"/proc/stat"
.LC8:
	.string	" "
	.text
	.globl	get_cpu_stat
	.type	get_cpu_stat, @function
get_cpu_stat:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 416
	mov	DWORD PTR -404[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	get_mstime
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR last_update.2[rip]
	test	rax, rax
	je	.L26
	mov	rdx, QWORD PTR last_update.2[rip]
	mov	rax, QWORD PTR -360[rbp]
	sub	rax, rdx
	cmp	rax, 499
	jg	.L26
	mov	eax, DWORD PTR -404[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cached.1[rip]
	mov	rax, QWORD PTR [rdx+rax]
	jmp	.L39
.L26:
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	DWORD PTR -312[rbp], 0
	lea	rsi, .LC1[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -352[rbp], rax
	cmp	QWORD PTR -352[rbp], 0
	jne	.L28
	mov	eax, 999
	jmp	.L39
.L28:
	mov	rdx, QWORD PTR -352[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -352[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -376[rbp], 0
	lea	rax, -272[rbp]
	add	rax, 4
	lea	rdx, -376[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -368[rbp], rax
	mov	DWORD PTR -396[rbp], 0
	jmp	.L29
.L31:
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strtof@PLT
	movd	eax, xmm0
	mov	edx, DWORD PTR -396[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -336[rbp+rdx*4], eax
	lea	rax, -376[rbp]
	mov	rdx, rax
	lea	rsi, .LC8[rip]
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -368[rbp], rax
	add	DWORD PTR -396[rbp], 1
.L29:
	cmp	DWORD PTR -396[rbp], 6
	jg	.L30
	cmp	QWORD PTR -368[rbp], 0
	jne	.L31
.L30:
	mov	rax, QWORD PTR last_update.2[rip]
	test	rax, rax
	jne	.L32
	mov	DWORD PTR -392[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	movss	xmm0, DWORD PTR -336[rbp+rax*4]
	mov	eax, DWORD PTR -392[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, previous.0[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -392[rbp], 1
.L33:
	cmp	DWORD PTR -392[rbp], 6
	jle	.L34
	mov	rax, QWORD PTR -360[rbp]
	mov	QWORD PTR last_update.2[rip], rax
	mov	edi, 501000
	call	usleep@PLT
	mov	eax, DWORD PTR -404[rbp]
	mov	edi, eax
	call	get_cpu_stat
	jmp	.L39
.L32:
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	mov	rdx, QWORD PTR last_update.2[rip]
	mov	rax, QWORD PTR -360[rbp]
	sub	rax, rdx
	mov	QWORD PTR -344[rbp], rax
	mov	DWORD PTR -384[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	movss	xmm0, DWORD PTR -336[rbp+rax*4]
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, previous.0[rip]
	movss	xmm1, DWORD PTR [rdx+rax]
	subss	xmm0, xmm1
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	movss	DWORD PTR -304[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	movss	xmm0, DWORD PTR -304[rbp+rax*4]
	movss	xmm1, DWORD PTR -388[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -388[rbp], xmm0
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	movss	xmm0, DWORD PTR -336[rbp+rax*4]
	mov	eax, DWORD PTR -384[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, previous.0[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -384[rbp], 1
.L35:
	cmp	DWORD PTR -384[rbp], 6
	jle	.L36
	mov	DWORD PTR -380[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -380[rbp]
	cdqe
	movss	xmm0, DWORD PTR -304[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -388[rbp]
	divsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	mov	edx, DWORD PTR -380[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, cached.1[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -380[rbp], 1
.L37:
	cmp	DWORD PTR -380[rbp], 6
	jle	.L38
	mov	rax, QWORD PTR -360[rbp]
	mov	QWORD PTR last_update.2[rip], rax
	mov	eax, DWORD PTR -404[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cached.1[rip]
	mov	rax, QWORD PTR [rdx+rax]
.L39:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_cpu_stat, .-get_cpu_stat
	.globl	cpu_user
	.type	cpu_user, @function
cpu_user:
.LFB11:
	.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	edi, 0
	call	get_cpu_stat
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cpu_user, .-cpu_user
	.globl	cpu_system
	.type	cpu_system, @function
cpu_system:
.LFB12:
	.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	edi, 2
	call	get_cpu_stat
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	cpu_system, .-cpu_system
	.globl	cpu_idle
	.type	cpu_idle, @function
cpu_idle:
.LFB13:
	.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	edi, 3
	call	get_cpu_stat
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cpu_idle, .-cpu_idle
	.globl	cpu_iowait
	.type	cpu_iowait, @function
cpu_iowait:
.LFB14:
	.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	edi, 4
	call	get_cpu_stat
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	cpu_iowait, .-cpu_iowait
	.local	last_update.2
	.comm	last_update.2,8,8
	.local	cached.1
	.comm	cached.1,56,32
	.local	previous.0
	.comm	previous.0,28,16
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 4
.LC6:
	.long	1120403456
	.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	"565114.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_d2lz
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load_average
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_average, %function
load_average:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #36
	mov	r1, #3
	mov	r0, r3
	bl	getloadavg
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L4+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2lz
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	1079574528
	.size	load_average, .-load_average
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"/proc/meminfo\000"
	.align	2
.LC3:
	.ascii	"MemTotal: %f kB\000"
	.align	2
.LC4:
	.ascii	"MemAvailable: %f kB\000"
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.global	__aeabi_f2lz
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	memory
	.syntax unified
	.arm
	.fpu softvfp
	.type	memory, %function
memory:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	fopen
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L7
	ldr	r2, .L15+12
	mov	r3, #0
	b	.L12
.L7:
	mov	r3, #0
	str	r3, [fp, #-276]	@ float
	mov	r3, #0
	str	r3, [fp, #-272]	@ float
	b	.L9
.L11:
	sub	r2, fp, #276
	sub	r3, fp, #264
	ldr	r1, .L15+16
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r2, fp, #272
	sub	r3, fp, #264
	ldr	r1, .L15+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L14
.L9:
	sub	r3, fp, #264
	ldr	r2, [fp, #-268]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	b	.L10
.L14:
	nop
.L10:
	ldr	r0, [fp, #-268]
	bl	fclose
	ldr	r3, [fp, #-272]	@ float
	ldr	r1, .L15+24
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-276]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2lz
	mov	r2, r0
	mov	r3, r1
.L12:
	ldr	r1, .L15
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	999
	.word	.LC3
	.word	.LC4
	.word	1120403456
	.size	memory, .-memory
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-88]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #80
	mov	r0, r3
	bl	sysinfo
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, #0
	ldr	r3, .L22+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2lz
	mov	r2, r0
	mov	r3, r1
	b	.L20
.L18:
	mov	r2, #0
	mov	r3, #0
.L20:
	ldr	r1, .L22
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	1079574528
	.size	swap, .-swap
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_mstime
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_mstime, %function
get_mstime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-32]
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-28]
	ldr	r2, .L27+4
	smull	ip, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	adds	r6, r0, r2
	adc	r7, r1, r3
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L27
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	274877907
	.size	get_mstime, .-get_mstime
	.section	.rodata
	.align	2
.LC8:
	.ascii	"/proc/stat\000"
	.align	2
.LC9:
	.ascii	" \000"
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_cpu_stat
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_cpu_stat, %function
get_cpu_stat:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #376
	str	r0, [fp, #-392]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	get_mstime
	str	r0, [fp, #-356]
	str	r1, [fp, #-352]
	ldr	r3, .L45+4
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L30
	ldr	r3, .L45+4
	ldmia	r3, {r2-r3}
	sub	r1, fp, #356
	ldmia	r1, {r0-r1}
	subs	r6, r0, r2
	sbc	r7, r1, r3
	cmp	r6, #500
	sbcs	r3, r7, #0
	bge	.L30
	ldr	r2, .L45+8
	ldr	r3, [fp, #-392]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L43
.L30:
	sub	r3, fp, #336
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	ldr	r1, .L45+12
	ldr	r0, .L45+16
	bl	fopen
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L32
	ldr	r2, .L45+20
	mov	r3, #0
	b	.L43
.L32:
	sub	r3, fp, #280
	ldr	r2, [fp, #-360]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-360]
	bl	fclose
	mov	r3, #0
	str	r3, [fp, #-388]
	sub	r3, fp, #280
	add	r3, r3, #4
	sub	r2, fp, #388
	ldr	r1, .L45+24
	mov	r0, r3
	bl	strtok_r
	str	r0, [fp, #-384]
	mov	r3, #0
	str	r3, [fp, #-380]
	b	.L33
.L35:
	mov	r1, #0
	ldr	r0, [fp, #-384]
	bl	strtof
	mov	r2, r0
	ldr	r3, [fp, #-380]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-316]	@ float
	sub	r3, fp, #388
	mov	r2, r3
	ldr	r1, .L45+24
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-384]
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
.L33:
	ldr	r3, [fp, #-380]
	cmp	r3, #6
	bgt	.L34
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L35
.L34:
	ldr	r3, .L45+4
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L36
	mov	r3, #0
	str	r3, [fp, #-376]
	b	.L37
.L38:
	ldr	r3, [fp, #-376]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-316]	@ float
	ldr	r1, .L45+28
	ldr	r3, [fp, #-376]
	str	r2, [r1, r3, lsl #2]	@ float
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L37:
	ldr	r3, [fp, #-376]
	cmp	r3, #6
	ble	.L38
	ldr	r1, .L45+4
	sub	r3, fp, #356
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r0, .L45+32
	bl	usleep
	ldr	r0, [fp, #-392]
	bl	get_cpu_stat
	mov	r2, r0
	mov	r3, r1
	b	.L43
.L36:
	sub	r3, fp, #308
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	ldr	r3, .L45+4
	ldmia	r3, {r2-r3}
	sub	r1, fp, #356
	ldmia	r1, {r0-r1}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	str	r4, [fp, #-348]
	str	r5, [fp, #-344]
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L39
.L40:
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-316]	@ float
	ldr	r1, .L45+28
	ldr	r3, [fp, #-368]
	ldr	r3, [r1, r3, lsl #2]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-288]	@ float
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-288]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-372]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-372]	@ float
	ldr	r3, [fp, #-368]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-316]	@ float
	ldr	r1, .L45+28
	ldr	r3, [fp, #-368]
	str	r2, [r1, r3, lsl #2]	@ float
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L39:
	ldr	r3, [fp, #-368]
	cmp	r3, #6
	ble	.L40
	mov	r3, #0
	str	r3, [fp, #-364]
	b	.L41
.L42:
	ldr	r3, [fp, #-364]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-288]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L45+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-372]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2lz
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L45+8
	ldr	r1, [fp, #-364]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-364]
	add	r3, r3, #1
	str	r3, [fp, #-364]
.L41:
	ldr	r3, [fp, #-364]
	cmp	r3, #6
	ble	.L42
	ldr	r1, .L45+4
	sub	r3, fp, #356
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, .L45+8
	ldr	r3, [fp, #-392]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
.L43:
	ldr	r1, .L45
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC10
	.word	last_update.6064
	.word	cached.6066
	.word	.LC1
	.word	.LC8
	.word	999
	.word	.LC9
	.word	previous.6065
	.word	501000
	.word	1079574528
	.size	get_cpu_stat, .-get_cpu_stat
	.align	2
	.global	cpu_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_user, %function
cpu_user:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #0
	bl	get_cpu_stat
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cpu_user, .-cpu_user
	.align	2
	.global	cpu_system
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_system, %function
cpu_system:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #2
	bl	get_cpu_stat
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cpu_system, .-cpu_system
	.align	2
	.global	cpu_idle
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_idle, %function
cpu_idle:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #3
	bl	get_cpu_stat
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cpu_idle, .-cpu_idle
	.align	2
	.global	cpu_iowait
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpu_iowait, %function
cpu_iowait:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #4
	bl	get_cpu_stat
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cpu_iowait, .-cpu_iowait
	.local	last_update.6064
	.comm	last_update.6064,8,8
	.local	cached.6066
	.comm	cached.6066,56,8
	.local	previous.6065
	.comm	previous.6065,28,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
