	.file	"954514.c"
	.intel_syntax noprefix
	.text
	.type	processors_online, @function
processors_online:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 84
	call	sysconf@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	processors_online, .-processors_online
	.section	.rodata
.LC0:
	.string	"cpu_cup: malloc error"
.LC1:
	.string	"Error reading from Erlang"
.LC2:
	.string	"Erlang has closed"
.LC3:
	.string	"Bad command"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	eax, 0
	call	processors_online
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	add	eax, eax
	add	eax, 2
	mov	eax, eax
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jne	.L14
	lea	rdi, .LC0[rip]
	call	error
.L14:
	lea	rax, -29[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L17
	lea	rdi, .LC1[rip]
	call	error
.L5:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L8
	lea	rdi, .LC2[rip]
	call	error
.L8:
	movzx	eax, BYTE PTR -29[rbp]
	movsx	eax, al
	cmp	eax, 117
	je	.L9
	cmp	eax, 117
	jg	.L10
	cmp	eax, 112
	je	.L11
	cmp	eax, 113
	je	.L12
	jmp	.L10
.L11:
	mov	edi, 4711
	call	send
	jmp	.L7
.L9:
	lea	rdx, -28[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	util_measure
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sendv
	jmp	.L7
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	jmp	.L16
.L10:
	lea	rdi, .LC3[rip]
	call	error
	jmp	.L7
.L17:
	nop
.L7:
	jmp	.L14
.L16:
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.string	"cpu%u %Lu %Lu %Lu %Lu %Lu %Lu %Lu %Lu"
	.text
	.type	read_procstat, @function
read_procstat:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 296
	.cfi_offset 3, -24
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR -304[rbp]
	mov	edx, 72
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -304[rbp]
	jmp	.L21
.L19:
	mov	rax, QWORD PTR -304[rbp]
	lea	r10, 64[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	r9, 56[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	r8, 48[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	rdi, 40[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	rsi, 32[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	rbx, 24[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	r11, 16[rax]
	mov	rax, QWORD PTR -304[rbp]
	lea	rcx, 8[rax]
	mov	rdx, QWORD PTR -304[rbp]
	lea	rax, -288[rbp]
	sub	rsp, 8
	push	r10
	push	r9
	push	r8
	push	rdi
	push	rsi
	mov	r9, rbx
	mov	r8, r11
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 48
	mov	rax, QWORD PTR -304[rbp]
.L21:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_procstat, .-read_procstat
	.section	.rodata
.LC5:
	.string	"r"
.LC6:
	.string	"/proc/stat"
	.text
	.type	util_measure, @function
util_measure:
.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, 400
	mov	QWORD PTR -392[rbp], rdi
	mov	QWORD PTR -400[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	processors_online
	mov	DWORD PTR -372[rbp], eax
	mov	QWORD PTR -368[rbp], 0
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -360[rbp], rax
	cmp	QWORD PTR -360[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -400[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L23
.L24:
	mov	rdx, QWORD PTR -360[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L26
	mov	rax, QWORD PTR -400[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L23
.L26:
	mov	rax, QWORD PTR -392[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -368[rbp], rax
	mov	edx, DWORD PTR -372[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 9
	add	QWORD PTR -368[rbp], 4
	add	QWORD PTR -368[rbp], 4
	mov	DWORD PTR -376[rbp], 0
	jmp	.L27
.L28:
	lea	rdx, -352[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_procstat
	mov	rax, QWORD PTR -368[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -368[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -352[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 12
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 16
	mov	DWORD PTR [rax], 2
	mov	rdx, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 20
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 24
	mov	DWORD PTR [rax], 3
	mov	rdx, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 28
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 32
	mov	DWORD PTR [rax], 4
	mov	rdx, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 36
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 40
	mov	DWORD PTR [rax], 5
	mov	rdx, QWORD PTR -320[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 44
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 48
	mov	DWORD PTR [rax], 6
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 52
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 56
	mov	DWORD PTR [rax], 7
	mov	rdx, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 60
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 64
	mov	DWORD PTR [rax], 8
	mov	rdx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 68
	mov	DWORD PTR [rax], edx
	add	QWORD PTR -368[rbp], 72
	add	DWORD PTR -376[rbp], 1
.L27:
	mov	eax, DWORD PTR -376[rbp]
	cmp	eax, DWORD PTR -372[rbp]
	jl	.L28
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, DWORD PTR -372[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	add	eax, eax
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -400[rbp]
	mov	DWORD PTR [rax], edx
.L23:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	util_measure, .-util_measure
	.type	send, @function
send:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	lea	rax, -4[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	sendv
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	send, .-send
	.section	.rodata
.LC7:
	.string	"Error allocating memory"
.LC8:
	.string	"Error writing to Erlang"
	.text
	.type	sendv, @function
sendv:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	sal	eax, 2
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR bufsz.1[rip]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L33
	mov	rax, QWORD PTR buf.0[rip]
	test	rax, rax
	je	.L34
	mov	rax, QWORD PTR buf.0[rip]
	mov	rdi, rax
	call	free@PLT
.L34:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR buf.0[rip], rax
	mov	rax, QWORD PTR buf.0[rip]
	test	rax, rax
	jne	.L35
	lea	rdi, .LC7[rip]
	call	error
.L35:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR bufsz.1[rip], eax
.L33:
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	shr	eax, 24
	mov	esi, eax
	mov	rcx, QWORD PTR buf.0[rip]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	add	rax, rcx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	shr	eax, 16
	mov	esi, eax
	mov	rcx, QWORD PTR buf.0[rip]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	add	rax, rcx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	shr	eax, 8
	mov	esi, eax
	mov	rcx, QWORD PTR buf.0[rip]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	add	rax, rcx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR buf.0[rip]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	add	rax, rsi
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -16[rbp], 1
.L36:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L37
	mov	DWORD PTR -12[rbp], 0
.L41:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	cdqe
	mov	rcx, QWORD PTR buf.0[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	rsi, rcx
	mov	edi, 1
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L38
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L42
	lea	rdi, .LC8[rip]
	call	error
.L38:
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -12[rbp], eax
	jmp	.L40
.L42:
	nop
.L40:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jg	.L41
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	sendv, .-sendv
	.type	error, @function
error:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 6732441008508989275
	movabs	rdx, 8103509687769522976
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], rdx
	movabs	rax, 2338053698040001125
	movabs	rdx, 8098360674800004976
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], rdx
	movabs	rax, 2322214120846483317
	mov	edx, 0
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], rdx
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -284[rbp], eax
	mov	DWORD PTR -280[rbp], 0
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -276[rbp], eax
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -280[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -280[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -284[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -284[rbp], edx
	movzx	edx, BYTE PTR [rcx]
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
.L44:
	cmp	DWORD PTR -284[rbp], 252
	jg	.L45
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L46
.L45:
	mov	eax, DWORD PTR -284[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -284[rbp], edx
	cdqe
	mov	BYTE PTR -272[rbp+rax], 13
	mov	eax, DWORD PTR -284[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -284[rbp], edx
	cdqe
	mov	BYTE PTR -272[rbp+rax], 10
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	edi, 2
	call	write@PLT
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	error, .-error
	.local	bufsz.1
	.comm	bufsz.1,4,4
	.local	buf.0
	.comm	buf.0,8,8
	.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	"954514.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	processors_online, %function
processors_online:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #84
	bl	sysconf
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	processors_online, .-processors_online
	.section	.rodata
	.align	2
.LC0:
	.ascii	"cpu_cup: malloc error\000"
	.align	2
.LC1:
	.ascii	"Error reading from Erlang\000"
	.align	2
.LC2:
	.ascii	"Erlang has closed\000"
	.align	2
.LC3:
	.ascii	"Bad command\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	bl	processors_online
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #8
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L18+4
	bl	error
.L14:
	sub	r3, fp, #25
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L17
	ldr	r0, .L18+8
	bl	error
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L18+12
	bl	error
.L8:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #117
	beq	.L9
	cmp	r3, #117
	bgt	.L10
	cmp	r3, #112
	beq	.L11
	cmp	r3, #113
	beq	.L12
	b	.L10
.L11:
	ldr	r0, .L18+16
	bl	send
	b	.L7
.L9:
	sub	r2, fp, #24
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	util_measure
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	sendv
	b	.L7
.L12:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	b	.L16
.L10:
	ldr	r0, .L18+20
	bl	error
	b	.L7
.L17:
	nop
.L7:
	b	.L14
.L16:
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	4711
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"cpu%u %Lu %Lu %Lu %Lu %Lu %Lu %Lu %Lu\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_procstat, %function
read_procstat:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #304
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #280
	ldr	r2, [fp, #-288]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	mov	r2, #72
	mov	r1, #0
	ldr	r0, [fp, #-292]
	bl	memset
	ldr	r3, [fp, #-292]
	b	.L23
.L21:
	ldr	r6, [fp, #-292]
	ldr	r3, [fp, #-292]
	add	r7, r3, #8
	ldr	r3, [fp, #-292]
	add	r3, r3, #16
	ldr	r2, [fp, #-292]
	add	r2, r2, #24
	ldr	r1, [fp, #-292]
	add	r1, r1, #32
	ldr	r0, [fp, #-292]
	add	r0, r0, #40
	ldr	ip, [fp, #-292]
	add	ip, ip, #48
	ldr	lr, [fp, #-292]
	add	lr, lr, #56
	ldr	r4, [fp, #-292]
	add	r4, r4, #64
	sub	r5, fp, #280
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r7
	mov	r2, r6
	ldr	r1, .L25+4
	mov	r0, r5
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-292]
.L23:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC6
	.word	.LC5
	.size	read_procstat, .-read_procstat
	.section	.rodata
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"/proc/stat\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	util_measure, %function
util_measure:
	@ args = 0, pretend = 0, frame = 360
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #360
	str	r0, [fp, #-360]
	str	r1, [fp, #-364]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	processors_online
	str	r0, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-352]
	ldr	r1, .L35+4
	ldr	r0, .L35+8
	bl	fopen
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-364]
	mov	r2, #0
	str	r2, [r3]
	b	.L27
.L28:
	sub	r3, fp, #264
	ldr	r2, [fp, #-344]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-364]
	mov	r2, #0
	str	r2, [r3]
	b	.L27
.L30:
	ldr	r3, [fp, #-360]
	ldr	r3, [r3]
	str	r3, [fp, #-352]
	ldr	r2, [fp, #-348]
	ldr	r3, [fp, #-352]
	str	r2, [r3]
	ldr	r3, [fp, #-352]
	add	r3, r3, #4
	mov	r2, #9
	str	r2, [r3]
	ldr	r3, [fp, #-352]
	add	r3, r3, #4
	str	r3, [fp, #-352]
	ldr	r3, [fp, #-352]
	add	r3, r3, #4
	str	r3, [fp, #-352]
	mov	r3, #0
	str	r3, [fp, #-356]
	b	.L31
.L32:
	sub	r3, fp, #340
	mov	r1, r3
	ldr	r0, [fp, #-344]
	bl	read_procstat
	ldr	r3, [fp, #-352]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-352]
	add	r3, r3, #4
	ldr	r2, [fp, #-340]
	str	r2, [r3]
	ldr	r3, [fp, #-352]
	add	r3, r3, #8
	mov	r2, #1
	str	r2, [r3]
	sub	r3, fp, #332
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #12
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #16
	mov	r2, #2
	str	r2, [r3]
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #20
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #24
	mov	r2, #3
	str	r2, [r3]
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #28
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #32
	mov	r2, #4
	str	r2, [r3]
	sub	r3, fp, #300
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #36
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #40
	mov	r2, #5
	str	r2, [r3]
	sub	r3, fp, #308
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #44
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #48
	mov	r2, #6
	str	r2, [r3]
	sub	r3, fp, #292
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #52
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #56
	mov	r2, #7
	str	r2, [r3]
	sub	r3, fp, #284
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #60
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #64
	mov	r2, #8
	str	r2, [r3]
	sub	r3, fp, #276
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-352]
	add	r1, r1, #68
	mov	r3, r2
	str	r3, [r1]
	ldr	r3, [fp, #-352]
	add	r3, r3, #72
	str	r3, [fp, #-352]
	ldr	r3, [fp, #-356]
	add	r3, r3, #1
	str	r3, [fp, #-356]
.L31:
	ldr	r2, [fp, #-356]
	ldr	r3, [fp, #-348]
	cmp	r2, r3
	blt	.L32
	ldr	r0, [fp, #-344]
	bl	fclose
	ldr	r2, [fp, #-348]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r3, #2
	ldr	r3, [fp, #-364]
	str	r2, [r3]
.L27:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC9
	.word	.LC7
	.word	.LC8
	.size	util_measure, .-util_measure
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send, %function
send:
	@ 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]
	sub	r3, fp, #8
	mov	r1, #1
	mov	r0, r3
	bl	sendv
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	send, .-send
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Error allocating memory\000"
	.align	2
.LC11:
	.ascii	"Error writing to Erlang\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendv, %function
sendv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, .L49
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L39
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L49+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L40:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L49+4
	str	r2, [r3]
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L49+8
	bl	error
.L41:
	ldr	r2, .L49
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L39:
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L42
.L43:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #24
	ldr	r3, .L49+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r0, r3, #1
	str	r0, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #16
	ldr	r3, .L49+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r0, r3, #1
	str	r0, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #8
	ldr	r3, .L49+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r0, r3, #1
	str	r0, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L49+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r0, r3, #1
	str	r0, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L42:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L43
	mov	r3, #0
	str	r3, [fp, #-16]
.L47:
	ldr	r3, .L49+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r0, #1
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L44
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L48
	ldr	r0, .L49+12
	bl	error
.L44:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L46
.L48:
	nop
.L46:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #0
	bgt	.L47
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	bufsz.6048
	.word	buf.6047
	.word	.LC10
	.word	.LC11
	.size	sendv, .-sendv
	.section	.rodata
	.align	2
.LC12:
	.ascii	"[os_mon] cpu supervisor port (cpu_sup): \000"
	.space	215
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ 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, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L56+4
	sub	ip, fp, #264
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strb	r2, [ip]
	sub	r3, fp, #223
	mov	r2, #215
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	ldr	r0, [fp, #-280]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-268]
	b	.L52
.L54:
	ldr	r3, [fp, #-272]
	add	r2, r3, #1
	str	r2, [fp, #-272]
	mov	r2, r3
	ldr	r3, [fp, #-280]
	add	r2, r3, r2
	ldr	r3, [fp, #-276]
	add	r1, r3, #1
	str	r1, [fp, #-276]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
.L52:
	ldr	r3, [fp, #-276]
	cmp	r3, #252
	bgt	.L53
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	blt	.L54
.L53:
	ldr	r3, [fp, #-276]
	add	r2, r3, #1
	str	r2, [fp, #-276]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3, #-260]
	ldr	r3, [fp, #-276]
	add	r2, r3, #1
	str	r2, [fp, #-276]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-260]
	ldr	r2, [fp, #-276]
	sub	r3, fp, #264
	mov	r1, r3
	mov	r0, #2
	bl	write
	mvn	r0, #0
	bl	exit
.L57:
	.align	2
.L56:
	.word	.LC13
	.word	.LC12
	.size	error, .-error
	.local	bufsz.6048
	.comm	bufsz.6048,4,4
	.local	buf.6047
	.comm	buf.6047,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
