	.file	"561296.c"
	.intel_syntax noprefix
	.text
	.local	dpy
	.comm	dpy,8,8
	.section	.rodata
.LC0:
	.string	"malloc"
	.text
	.globl	smprintf
	.type	smprintf, @function
smprintf:
.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, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	vsnprintf@PLT
	mov	DWORD PTR -220[rbp], eax
	add	DWORD PTR -220[rbp], 1
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -216[rbp], rax
	cmp	QWORD PTR -216[rbp], 0
	jne	.L3
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	eax, DWORD PTR -220[rbp]
	movsx	rsi, eax
	lea	rcx, -208[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	vsnprintf@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	smprintf, .-smprintf
	.section	.rodata
.LC1:
	.string	"TZ"
	.text
	.globl	settz
	.type	settz, @function
settz:
.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 -8[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	setenv@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	settz, .-settz
	.section	.rodata
.LC2:
	.string	"localtime"
.LC3:
	.string	"strftime == 0\n"
.LC4:
	.string	"%s"
	.text
	.globl	mktimes
	.type	mktimes, @function
mktimes:
.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, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	edx, 129
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	settz
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L8
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rcx, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	strftime@PLT
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	smprintf
	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
.LFE8:
	.size	mktimes, .-mktimes
	.globl	setstatus
	.type	setstatus, @function
setstatus:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR dpy[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XStoreName@PLT
	mov	rax, QWORD PTR dpy[rip]
	mov	esi, 0
	mov	rdi, rax
	call	XSync@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	setstatus, .-setstatus
	.section	.rodata
.LC5:
	.string	"getloadavg"
.LC6:
	.string	"%.2f"
	.text
	.globl	loadavg
	.type	loadavg, @function
loadavg:
.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, 32
	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
	test	eax, eax
	jns	.L14
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	smprintf
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	loadavg, .-loadavg
	.section	.rodata
.LC7:
	.string	"r"
	.align 8
.LC8:
	.string	"/sys/class/power_supply/BAT0/energy_now"
.LC9:
	.string	"Error opening energy_now.\n"
.LC11:
	.string	"%d"
	.align 8
.LC13:
	.string	"/sys/class/power_supply/BAT0/energy_full"
.LC14:
	.string	"Error opening energy_full.\n"
	.align 8
.LC15:
	.string	"/sys/class/power_supply/BAT0/voltage_now"
.LC16:
	.string	"Error opening voltage_now.\n"
	.text
	.globl	getbattery
	.type	getbattery, @function
getbattery:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L25
.L18:
	lea	rdx, -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L20
	pxor	xmm0, xmm0
	jmp	.L25
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L25
.L21:
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L22
	pxor	xmm0, xmm0
	jmp	.L25
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, .LC15[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	movss	xmm0, DWORD PTR .LC10[rip]
	jmp	.L25
.L23:
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L24
	pxor	xmm0, xmm0
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -28[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR .LC17[rip]
	mulss	xmm0, xmm1
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, eax
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC18[rip]
	mulss	xmm0, xmm1
	mov	eax, DWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, eax
	movss	xmm1, DWORD PTR .LC17[rip]
	mulss	xmm1, xmm2
	mov	eax, DWORD PTR -20[rbp]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, eax
	divss	xmm1, xmm2
	divss	xmm0, xmm1
.L25:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getbattery, .-getbattery
	.globl	getmemory
	.type	getmemory, @function
getmemory:
.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	edi, 112
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sysinfo@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	js	.L28
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, rax
	jmp	.L29
.L28:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	js	.L30
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L31
.L30:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L31:
	addss	xmm1, xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	js	.L32
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L33
.L32:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L33:
	divss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC19[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC18[rip]
	mulss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getmemory, .-getmemory
	.section	.rodata
.LC20:
	.string	"Europe/Stockholm"
	.align 8
.LC21:
	.string	"dwmstatus: cannot open display.\n"
.LC22:
	.string	"%a %d/%m %H:%M:%S, v.%W"
.LC23:
	.string	"L:%s M:%.0f%% B:%.0f%% | %s"
	.text
	.globl	dwmstatus
	.type	dwmstatus, @function
dwmstatus:
.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, 48
	lea	rax, .LC20[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR dpy[rip], rax
	mov	rax, QWORD PTR dpy[rip]
	test	rax, rax
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L38
.L36:
	call	loadavg
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	mktimes
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	getbattery
	movd	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	mov	eax, 0
	call	getmemory
	movd	eax, xmm0
	mov	DWORD PTR -36[rbp], eax
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -40[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -36[rbp]
	movq	rcx, xmm2
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 2
	call	smprintf
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	setstatus
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L36
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	dwmstatus, .-dwmstatus
	.section	.rodata
	.align 4
.LC10:
	.long	-1082130432
	.align 4
.LC17:
	.long	1148846080
	.align 4
.LC18:
	.long	1120403456
	.align 4
.LC19:
	.long	1065353216
	.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	"561296.c"
	.text
	.local	dpy
	.comm	dpy,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"malloc\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	smprintf
	.syntax unified
	.arm
	.fpu softvfp
	.type	smprintf, %function
smprintf:
	@ args = 4, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, [fp, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mov	r1, #0
	mov	r0, #0
	bl	vsnprintf
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L5+4
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-12]
	bl	vsnprintf
	ldr	r3, [fp, #-12]
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L6:
	.align	2
.L5:
	.word	.LC1
	.word	.LC0
	.size	smprintf, .-smprintf
	.section	.rodata
	.align	2
.LC2:
	.ascii	"TZ\000"
	.text
	.align	2
	.global	settz
	.syntax unified
	.arm
	.fpu softvfp
	.type	settz, %function
settz:
	@ 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	r2, #1
	ldr	r1, [fp, #-8]
	ldr	r0, .L8
	bl	setenv
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.size	settz, .-settz
	.section	.rodata
	.align	2
.LC3:
	.ascii	"localtime\000"
	.align	2
.LC4:
	.ascii	"strftime == 0\012\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mktimes
	.syntax unified
	.arm
	.fpu softvfp
	.type	mktimes, %function
mktimes:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #140
	mov	r2, #129
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-156]
	bl	settz
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L15+4
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	sub	r0, fp, #140
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-152]
	mov	r1, #128
	bl	strftime
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L15+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L12:
	sub	r3, fp, #140
	mov	r1, r3
	ldr	r0, .L15+16
	bl	smprintf
	mov	r3, r0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.size	mktimes, .-mktimes
	.align	2
	.global	setstatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	setstatus, %function
setstatus:
	@ 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]
	ldr	r3, .L18
	ldr	r0, [r3]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	mov	r1, r3
	bl	XStoreName
	ldr	r3, .L18
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	XSync
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	dpy
	.size	setstatus, .-setstatus
	.section	.rodata
	.align	2
.LC7:
	.ascii	"getloadavg\000"
	.align	2
.LC8:
	.ascii	"%.2f\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	loadavg
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadavg, %function
loadavg:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #36
	mov	r1, #3
	mov	r0, r3
	bl	getloadavg
	mov	r3, r0
	cmp	r3, #0
	bge	.L21
	ldr	r0, .L24+4
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L24+8
	bl	smprintf
	mov	r3, r0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC9
	.word	.LC7
	.word	.LC8
	.size	loadavg, .-loadavg
	.section	.rodata
	.align	2
.LC10:
	.ascii	"r\000"
	.align	2
.LC11:
	.ascii	"/sys/class/power_supply/BAT0/energy_now\000"
	.align	2
.LC12:
	.ascii	"Error opening energy_now.\012\000"
	.align	2
.LC13:
	.ascii	"%d\000"
	.align	2
.LC14:
	.ascii	"/sys/class/power_supply/BAT0/energy_full\000"
	.align	2
.LC15:
	.ascii	"Error opening energy_full.\012\000"
	.align	2
.LC16:
	.ascii	"/sys/class/power_supply/BAT0/voltage_now\000"
	.align	2
.LC17:
	.ascii	"Error opening voltage_now.\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fdiv
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getbattery
	.syntax unified
	.arm
	.fpu softvfp
	.type	getbattery, %function
getbattery:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L36+4
	ldr	r0, .L36+8
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L36+12
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L36+16
	bl	fwrite
	ldr	r3, .L36+20
	b	.L34
.L27:
	sub	r3, fp, #32
	mov	r2, r3
	ldr	r1, .L36+24
	ldr	r0, [fp, #-20]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L29
	mov	r3, #0
	b	.L34
.L29:
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r1, .L36+4
	ldr	r0, .L36+28
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L36+12
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L36+32
	bl	fwrite
	ldr	r3, .L36+20
	b	.L34
.L30:
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, .L36+24
	ldr	r0, [fp, #-20]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L31
	mov	r3, #0
	b	.L34
.L31:
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r1, .L36+4
	ldr	r0, .L36+36
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L36+12
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L36+40
	bl	fwrite
	ldr	r3, .L36+20
	b	.L34
.L32:
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L36+24
	ldr	r0, [fp, #-20]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L33
	mov	r3, #0
	b	.L34
.L33:
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L36+44
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L36+48
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L36+44
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
.L34:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC18
	.word	.LC10
	.word	.LC11
	.word	stderr
	.word	.LC12
	.word	-1082130432
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	1148846080
	.word	1120403456
	.size	getbattery, .-getbattery
	.global	__aeabi_ui2f
	.global	__aeabi_fadd
	.global	__aeabi_fsub
	.align	2
	.global	getmemory
	.syntax unified
	.arm
	.fpu softvfp
	.type	getmemory, %function
getmemory:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r0, #64
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	sysinfo
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r4, r0
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r1, .L40
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L41:
	.align	2
.L40:
	.word	1120403456
	.size	getmemory, .-getmemory
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Europe/Stockholm\000"
	.align	2
.LC20:
	.ascii	"dwmstatus: cannot open display.\012\000"
	.align	2
.LC21:
	.ascii	"%a %d/%m %H:%M:%S, v.%W\000"
	.global	__aeabi_f2d
	.align	2
.LC22:
	.ascii	"L:%s M:%.0f%% B:%.0f%% | %s\000"
	.text
	.align	2
	.global	dwmstatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	dwmstatus, %function
dwmstatus:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	ldr	r3, .L46
	str	r3, [fp, #-36]
	mov	r0, #0
	bl	XOpenDisplay
	mov	r3, r0
	ldr	r2, .L46+4
	str	r3, [r2]
	ldr	r3, .L46+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L46+8
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L46+12
	bl	fwrite
	mov	r3, #1
	b	.L45
.L43:
	bl	loadavg
	str	r0, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L46+16
	bl	mktimes
	str	r0, [fp, #-28]
	bl	getbattery
	str	r0, [fp, #-24]	@ float
	bl	getmemory
	str	r0, [fp, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-28]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, [fp, #-32]
	ldr	r0, .L46+20
	bl	smprintf
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	setstatus
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	mov	r0, #1
	bl	sleep
	b	.L43
.L45:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC19
	.word	dpy
	.word	stderr
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	dwmstatus, .-dwmstatus
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
