	.file	"104490.c"
	.intel_syntax noprefix
	.text
	.globl	zone
	.section	.rodata
.LC0:
	.string	"Asia/Singapore"
	.section	.data.rel.local,"aw"
	.align 8
	.type	zone, @object
	.size	zone, 8
zone:
	.quad	.LC0
	.local	dpy
	.comm	dpy,8,8
	.section	.rodata
.LC1:
	.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, .LC1[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
.LC2:
	.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, .LC2[rip]
	call	setenv@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	settz, .-settz
	.section	.rodata
.LC3:
	.string	""
.LC4:
	.string	"strftime == 0\n"
.LC5:
	.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
	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, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L11
.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	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L11
.L10:
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	smprintf
.L11:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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
.LC6:
	.string	"%.2f %.2f %.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	.L15
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L17
.L15:
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 3
	call	smprintf
.L17:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	loadavg, .-loadavg
	.section	.rodata
.LC7:
	.string	"%s/%s"
.LC8:
	.string	"r"
	.text
	.globl	readfile
	.type	readfile, @function
readfile:
.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, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	QWORD PTR -560[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -528[rbp]
	mov	edx, 513
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	smprintf
	mov	QWORD PTR -544[rbp], rax
	mov	rax, QWORD PTR -544[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -536[rbp], rax
	mov	rax, QWORD PTR -544[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	QWORD PTR -536[rbp], 0
	jne	.L20
	mov	eax, 0
	jmp	.L23
.L20:
	mov	rdx, QWORD PTR -536[rbp]
	lea	rax, -528[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	mov	eax, 0
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -536[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	smprintf
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	readfile, .-readfile
	.section	.rodata
.LC11:
	.string	"energy_full"
.LC12:
	.string	"%f"
.LC13:
	.string	"energy_now"
.LC14:
	.string	"power_now"
.LC15:
	.string	"status"
.LC16:
	.string	"Discharging"
.LC17:
	.string	"Charging"
.LC18:
	.string	"?"
.LC20:
	.string	"%.0f%%%c"
.LC21:
	.string	"%.0f%%%c (%.2f)"
	.text
	.globl	getbattery
	.type	getbattery, @function
getbattery:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -28[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	readfile
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L38
.L26:
	lea	rdx, -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	readfile
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L28
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L38
.L28:
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	readfile
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L29
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L38
.L29:
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	readfile
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 11
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L30
	mov	BYTE PTR -29[rbp], 45
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 8
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L32
	mov	BYTE PTR -29[rbp], 43
	jmp	.L31
.L32:
	mov	BYTE PTR -29[rbp], 61
.L31:
	movss	xmm1, DWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L33
	movss	xmm1, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jbe	.L41
.L33:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L38
.L41:
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jp	.L36
	pxor	xmm1, xmm1
	ucomiss	xmm0, xmm1
	jne	.L36
	movsx	edx, BYTE PTR -29[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm2, DWORD PTR -28[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC19[rip]
	mulss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	smprintf
	jmp	.L38
.L36:
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	divss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movsx	edx, BYTE PTR -29[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm2, DWORD PTR -28[rbp]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC19[rip]
	mulss	xmm0, xmm1
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movapd	xmm1, xmm3
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 2
	call	smprintf
.L38:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getbattery, .-getbattery
	.section	.rodata
.LC23:
	.string	"%02.0f\302\260C"
	.text
	.globl	gettemperature
	.type	gettemperature, @function
gettemperature:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	readfile
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L43
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	smprintf
	jmp	.L44
.L43:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC22[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC23[rip]
	mov	eax, 1
	call	smprintf
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	gettemperature, .-gettemperature
	.section	.rodata
	.align 8
.LC24:
	.string	"dwmstatus: cannot open display.\n"
.LC25:
	.string	"temp"
	.align 8
.LC26:
	.string	"/sys/class/thermal/thermal_zone19"
	.align 8
.LC27:
	.string	"/sys/class/thermal/thermal_zone0"
.LC28:
	.string	"/sys/class/power_supply/BAT0"
.LC29:
	.string	"/sys/class/power_supply/BAT1"
.LC30:
	.string	"%a %d %b %Y  %H:%M"
.LC31:
	.string	"%s  %s  %s"
.LC32:
	.string	"%s  %s %s  %s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR dpy[rip], rax
	mov	rax, QWORD PTR dpy[rip]
	test	rax, rax
	jne	.L46
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L51
.L46:
	lea	rsi, .LC25[rip]
	lea	rdi, .LC26[rip]
	call	gettemperature
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L48
	lea	rsi, .LC25[rip]
	lea	rdi, .LC27[rip]
	call	gettemperature
	mov	QWORD PTR -32[rbp], rax
.L48:
	lea	rdi, .LC28[rip]
	call	getbattery
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC29[rip]
	call	getbattery
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR zone[rip]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	call	mktimes
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L49
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	smprintf
	mov	QWORD PTR -40[rbp], rax
	jmp	.L50
.L49:
	mov	rsi, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	smprintf
	mov	QWORD PTR -40[rbp], rax
.L50:
	mov	rax, QWORD PTR -40[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	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 30
	call	sleep@PLT
	jmp	.L46
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC9:
	.long	-1082130432
	.align 4
.LC19:
	.long	1120403456
	.align 8
.LC22:
	.long	0
	.long	1083129856
	.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	"104490.c"
	.text
	.global	zone
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Asia/Singapore\000"
	.data
	.align	2
	.type	zone, %object
	.size	zone, 4
zone:
	.word	.LC0
	.local	dpy
	.comm	dpy,4,4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"malloc\000"
	.align	2
.LC2:
	.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	.LC2
	.word	.LC1
	.size	smprintf, .-smprintf
	.section	.rodata
	.align	2
.LC3:
	.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	.LC3
	.size	settz, .-settz
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"strftime == 0\012\000"
	.align	2
.LC6:
	.ascii	"%s\000"
	.align	2
.LC7:
	.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, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	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, .L16+4
	bl	smprintf
	mov	r3, r0
	b	.L14
.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	.L13
	ldr	r3, .L16+8
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L16+12
	bl	fwrite
	ldr	r0, .L16+4
	bl	smprintf
	mov	r3, r0
	b	.L14
.L13:
	sub	r3, fp, #140
	mov	r1, r3
	ldr	r0, .L16+16
	bl	smprintf
	mov	r3, r0
.L14:
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC7
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.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, .L19
	ldr	r0, [r3]
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L19
	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, .L19
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	XSync
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	dpy
	.size	setstatus, .-setstatus
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%.2f %.2f %.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #44
	mov	r1, #3
	mov	r0, r3
	bl	getloadavg
	mov	r3, r0
	cmp	r3, #0
	bge	.L22
	ldr	r0, .L26+4
	bl	smprintf
	mov	r3, r0
	b	.L24
.L22:
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L26+8
	bl	smprintf
	mov	r3, r0
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC9
	.word	.LC4
	.word	.LC8
	.size	loadavg, .-loadavg
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%s/%s\000"
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	readfile, %function
readfile:
	@ args = 0, pretend = 0, frame = 536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #536
	str	r0, [fp, #-536]
	str	r1, [fp, #-540]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #524
	ldr	r2, .L34+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r2, [fp, #-540]
	ldr	r1, [fp, #-536]
	ldr	r0, .L34+8
	bl	smprintf
	str	r0, [fp, #-532]
	ldr	r1, .L34+12
	ldr	r0, [fp, #-532]
	bl	fopen
	str	r0, [fp, #-528]
	ldr	r0, [fp, #-532]
	bl	free
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	bne	.L29
	mov	r3, #0
	b	.L32
.L29:
	sub	r3, fp, #524
	ldr	r2, [fp, #-528]
	mov	r1, #512
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	b	.L32
.L31:
	ldr	r0, [fp, #-528]
	bl	fclose
	sub	r3, fp, #524
	mov	r1, r3
	ldr	r0, .L34+16
	bl	smprintf
	mov	r3, r0
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC12
	.word	513
	.word	.LC10
	.word	.LC11
	.word	.LC6
	.size	readfile, .-readfile
	.section	.rodata
	.align	2
.LC13:
	.ascii	"energy_full\000"
	.align	2
.LC14:
	.ascii	"%f\000"
	.align	2
.LC15:
	.ascii	"energy_now\000"
	.align	2
.LC16:
	.ascii	"power_now\000"
	.align	2
.LC17:
	.ascii	"status\000"
	.align	2
.LC18:
	.ascii	"Discharging\000"
	.align	2
.LC19:
	.ascii	"Charging\000"
	.global	__aeabi_fcmplt
	.align	2
.LC20:
	.ascii	"?\000"
	.global	__aeabi_fcmpeq
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.align	2
.LC21:
	.ascii	"%.0f%%%c\000"
	.align	2
.LC22:
	.ascii	"%.0f%%%c (%.2f)\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getbattery
	.syntax unified
	.arm
	.fpu softvfp
	.type	getbattery, %function
getbattery:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L54+4
	str	r3, [fp, #-40]	@ float
	ldr	r3, .L54+4
	str	r3, [fp, #-36]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]	@ float
	ldr	r3, .L54+4
	str	r3, [fp, #-40]	@ float
	ldr	r3, .L54+4
	str	r3, [fp, #-36]	@ float
	ldr	r1, .L54+8
	ldr	r0, [fp, #-48]
	bl	readfile
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L54+12
	bl	smprintf
	mov	r3, r0
	b	.L49
.L37:
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L54+16
	ldr	r0, [fp, #-28]
	bl	__isoc99_sscanf
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r1, .L54+20
	ldr	r0, [fp, #-48]
	bl	readfile
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L54+12
	bl	smprintf
	mov	r3, r0
	b	.L49
.L39:
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L54+16
	ldr	r0, [fp, #-28]
	bl	__isoc99_sscanf
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r1, .L54+24
	ldr	r0, [fp, #-48]
	bl	readfile
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L40
	ldr	r0, .L54+12
	bl	smprintf
	mov	r3, r0
	b	.L49
.L40:
	sub	r3, fp, #32
	mov	r2, r3
	ldr	r1, .L54+16
	ldr	r0, [fp, #-28]
	bl	__isoc99_sscanf
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r1, .L54+28
	ldr	r0, [fp, #-48]
	bl	readfile
	str	r0, [fp, #-28]
	mov	r2, #11
	ldr	r1, .L54+32
	ldr	r0, [fp, #-28]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	mov	r3, #45
	strb	r3, [fp, #-41]
	b	.L42
.L41:
	mov	r2, #8
	ldr	r1, .L54+36
	ldr	r0, [fp, #-28]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	mov	r3, #43
	strb	r3, [fp, #-41]
	b	.L42
.L43:
	mov	r3, #61
	strb	r3, [fp, #-41]
.L42:
	ldr	r3, [fp, #-36]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-40]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
.L44:
	ldr	r0, .L54+40
	bl	smprintf
	mov	r3, r0
	b	.L49
.L52:
	ldr	r3, [fp, #-32]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L54+44
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldrb	r1, [fp, #-41]	@ zero_extendqisi2
	str	r1, [sp]
	ldr	r0, .L54+48
	bl	smprintf
	mov	r3, r0
	b	.L49
.L53:
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-40]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L54+44
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldrb	r6, [fp, #-41]	@ zero_extendqisi2
	ldr	r3, [fp, #-36]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r6, [sp]
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L54+52
	bl	smprintf
	mov	r3, r0
.L49:
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC23
	.word	-1082130432
	.word	.LC13
	.word	.LC4
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	1120403456
	.word	.LC21
	.word	.LC22
	.size	getbattery, .-getbattery
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC24:
	.ascii	"%02.0f\302\260C\000"
	.text
	.align	2
	.global	gettemperature
	.syntax unified
	.arm
	.fpu softvfp
	.type	gettemperature, %function
gettemperature:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	readfile
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L59
	bl	smprintf
	mov	r3, r0
	b	.L58
.L57:
	ldr	r0, [fp, #-8]
	bl	atof
	mov	r2, #0
	ldr	r3, .L59+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L59+8
	bl	smprintf
	mov	r3, r0
.L58:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC4
	.word	1083129856
	.word	.LC24
	.size	gettemperature, .-gettemperature
	.section	.rodata
	.align	2
.LC25:
	.ascii	"dwmstatus: cannot open display.\012\000"
	.align	2
.LC26:
	.ascii	"temp\000"
	.align	2
.LC27:
	.ascii	"/sys/class/thermal/thermal_zone19\000"
	.align	2
.LC28:
	.ascii	"/sys/class/thermal/thermal_zone0\000"
	.align	2
.LC29:
	.ascii	"/sys/class/power_supply/BAT0\000"
	.align	2
.LC30:
	.ascii	"/sys/class/power_supply/BAT1\000"
	.align	2
.LC31:
	.ascii	"%a %d %b %Y  %H:%M\000"
	.align	2
.LC32:
	.ascii	"%s  %s  %s\000"
	.align	2
.LC33:
	.ascii	"%s  %s %s  %s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r0, #0
	bl	XOpenDisplay
	mov	r3, r0
	ldr	r2, .L68
	str	r3, [r2]
	ldr	r3, .L68
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L68+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L68+8
	bl	fwrite
	mov	r3, #1
	b	.L67
.L62:
	ldr	r1, .L68+12
	ldr	r0, .L68+16
	bl	gettemperature
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L64
	ldr	r1, .L68+12
	ldr	r0, .L68+20
	bl	gettemperature
	str	r0, [fp, #-20]
.L64:
	ldr	r0, .L68+24
	bl	getbattery
	str	r0, [fp, #-16]
	ldr	r0, .L68+28
	bl	getbattery
	str	r0, [fp, #-12]
	ldr	r3, .L68+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L68+36
	bl	mktimes
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L65
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, .L68+40
	bl	smprintf
	str	r0, [fp, #-24]
	b	.L66
.L65:
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, .L68+44
	bl	smprintf
	str	r0, [fp, #-24]
.L66:
	ldr	r0, [fp, #-24]
	bl	setstatus
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-24]
	bl	free
	mov	r0, #30
	bl	sleep
	b	.L62
.L67:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	dpy
	.word	stderr
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	zone
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
