	.file	"145424.c"
	.intel_syntax noprefix
	.text
	.local	UID
	.comm	UID,4,4
	.local	uidBuffer
	.comm	uidBuffer,32,32
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"/proc"
.LC2:
	.string	"Could not open proc directory"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	call	getuid@PLT
	mov	DWORD PTR UID[rip], eax
	mov	eax, DWORD PTR UID[rip]
	mov	ecx, eax
	lea	rdx, .LC0[rip]
	mov	esi, 32
	lea	rdi, uidBuffer[rip]
	mov	eax, 0
	call	snprintf@PLT
	lea	rdi, .LC1[rip]
	call	opendir@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	isProcessDir
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	rdi, rax
	call	handleProcessDir
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	isProcessDir
	.type	isProcessDir, @function
isProcessDir:
.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]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 4
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	test	rax, rax
	je	.L7
	mov	eax, 1
	jmp	.L8
.L7:
	mov	eax, 0
.L8:
	and	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isProcessDir, .-isProcessDir
	.globl	handleProcessDir
	.type	handleProcessDir, @function
handleProcessDir:
.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, 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	DWORD PTR [rax], 1869770799
	mov	WORD PTR 4[rax], 12131
	mov	BYTE PTR 6[rax], 0
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	add	rax, rdx
	movabs	rcx, 32498765033403183
	mov	QWORD PTR [rax], rcx
	mov	rdx, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	openStatusFile
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	handleProcessDir, .-handleProcessDir
	.section	.rodata
.LC3:
	.string	"r"
.LC4:
	.string	"unable to open status file %s"
.LC5:
	.string	"0"
.LC6:
	.string	"Uid"
.LC7:
	.string	":"
.LC8:
	.string	"\t "
.LC9:
	.string	"Name"
.LC10:
	.string	"\n"
.LC11:
	.string	"VmRSS"
.LC12:
	.string	"kB"
.LC13:
	.string	"%5s %16s %6s\n"
	.text
	.globl	openStatusFile
	.type	openStatusFile, @function
openStatusFile:
.LFB9:
	.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, 1000
	.cfi_offset 3, -24
	mov	QWORD PTR -1000[rbp], rdi
	mov	QWORD PTR -1008[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1000[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -952[rbp], rax
	cmp	QWORD PTR -952[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -1000[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	lea	rax, .LC5[rip]
	mov	QWORD PTR -960[rbp], rax
	mov	BYTE PTR -985[rbp], 0
	jmp	.L14
.L22:
	lea	rax, -928[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L15
	lea	rdx, -928[rbp]
	lea	rax, -800[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -800[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -944[rbp], rax
	lea	rsi, .LC7[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -944[rbp], rax
	mov	rax, QWORD PTR -944[rbp]
	mov	rdi, rax
	call	trimWhitespace
	mov	QWORD PTR -944[rbp], rax
	mov	rax, QWORD PTR -944[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	DWORD PTR -984[rbp], eax
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -984[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -944[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -984[rbp], 1
.L16:
	mov	eax, DWORD PTR -984[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -944[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L17
	mov	rax, QWORD PTR -944[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -976[rbp], eax
	mov	edx, DWORD PTR -976[rbp]
	mov	eax, DWORD PTR UID[rip]
	cmp	edx, eax
	jne	.L15
	mov	BYTE PTR -985[rbp], 1
.L15:
	lea	rax, -928[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L18
	lea	rdx, -928[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -544[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcspn@PLT
	add	eax, 1
	mov	DWORD PTR -972[rbp], eax
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -972[rbp]
	movsx	rcx, edx
	sub	rax, rcx
	mov	rdx, rax
	mov	eax, DWORD PTR -972[rbp]
	cdqe
	lea	rcx, -544[rbp]
	add	rcx, rax
	lea	rax, -544[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	lea	rax, -544[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	DWORD PTR -980[rbp], eax
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -980[rbp]
	cdqe
	mov	BYTE PTR -544[rbp+rax], 0
	add	DWORD PTR -980[rbp], 1
.L19:
	mov	eax, DWORD PTR -980[rbp]
	movsx	rbx, eax
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L20
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	trimWhitespace
	mov	QWORD PTR -968[rbp], rax
.L18:
	lea	rax, -928[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L14
	lea	rdx, -928[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -288[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -960[rbp], rax
	lea	rsi, .LC7[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -960[rbp], rax
	mov	rax, QWORD PTR -960[rbp]
	mov	rdi, rax
	call	trimWhitespace
	mov	QWORD PTR -960[rbp], rax
	mov	rax, QWORD PTR -960[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -936[rbp], rax
	cmp	QWORD PTR -936[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -936[rbp]
	sub	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -936[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -936[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
.L14:
	mov	rdx, QWORD PTR -952[rbp]
	lea	rax, -928[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	cmp	BYTE PTR -985[rbp], 0
	je	.L23
	mov	rcx, QWORD PTR -960[rbp]
	mov	rdx, QWORD PTR -968[rbp]
	mov	rax, QWORD PTR -1008[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	mov	rax, QWORD PTR -952[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	openStatusFile, .-openStatusFile
	.globl	trimWhitespace
	.type	trimWhitespace, @function
trimWhitespace:
.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	QWORD PTR -24[rbp], rdi
	jmp	.L26
.L27:
	add	QWORD PTR -24[rbp], 1
.L26:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L30
.L32:
	sub	QWORD PTR -8[rbp], 1
.L30:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jbe	.L31
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L32
.L31:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	trimWhitespace, .-trimWhitespace
	.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	"145424.c"
	.text
	.local	UID
	.comm	UID,4,4
	.local	uidBuffer
	.comm	uidBuffer,32,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"/proc\000"
	.align	2
.LC2:
	.ascii	"Could not open proc directory\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	getuid
	mov	r3, r0
	ldr	r2, .L6
	str	r3, [r2]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	mov	r1, #32
	ldr	r0, .L6+8
	bl	snprintf
	ldr	r0, .L6+12
	bl	opendir
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L6+16
	bl	printf
	mov	r3, #1
	b	.L3
.L5:
	ldr	r0, [fp, #-8]
	bl	isProcessDir
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	mov	r0, r3
	bl	handleProcessDir
.L4:
	ldr	r0, [fp, #-12]
	bl	readdir
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L5
	ldr	r0, [fp, #-12]
	bl	closedir
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	UID
	.word	.LC0
	.word	uidBuffer
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	isProcessDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	isProcessDir, %function
isProcessDir:
	@ 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, [fp, #-8]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #4
	bne	.L9
	ldr	r3, [fp, #-8]
	add	r3, r3, #11
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, #0
.L10:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isProcessDir, .-isProcessDir
	.section	.rodata
	.align	2
.LC3:
	.ascii	"/proc/\000"
	.align	2
.LC4:
	.ascii	"/status\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handleProcessDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	handleProcessDir, %function
handleProcessDir:
	@ 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]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #28
	ldr	r2, .L14+4
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	sub	r3, fp, #28
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #28
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #28
	add	r3, r3, r2
	ldr	r2, .L14+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #8
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #28
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	openStatusFile
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	handleProcessDir, .-handleProcessDir
	.section	.rodata
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"unable to open status file %s\000"
	.align	2
.LC8:
	.ascii	"0\000"
	.align	2
.LC9:
	.ascii	"Uid\000"
	.align	2
.LC10:
	.ascii	":\000"
	.align	2
.LC11:
	.ascii	"\011 \000"
	.align	2
.LC12:
	.ascii	"Name\000"
	.align	2
.LC13:
	.ascii	"\012\000"
	.align	2
.LC14:
	.ascii	"VmRSS\000"
	.align	2
.LC15:
	.ascii	"kB\000"
	.align	2
.LC16:
	.ascii	"%5s %16s %6s\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	openStatusFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	openStatusFile, %function
openStatusFile:
	@ args = 0, pretend = 0, frame = 952
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #956
	str	r0, [fp, #-960]
	str	r1, [fp, #-964]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L29+4
	ldr	r0, [fp, #-960]
	bl	fopen
	str	r0, [fp, #-932]
	ldr	r3, [fp, #-932]
	cmp	r3, #0
	bne	.L17
	ldr	r1, [fp, #-960]
	ldr	r0, .L29+8
	bl	printf
	mov	r0, #1
	bl	exit
.L17:
	ldr	r3, .L29+12
	str	r3, [fp, #-944]
	mov	r3, #0
	strb	r3, [fp, #-949]
	b	.L18
.L26:
	sub	r3, fp, #912
	ldr	r1, .L29+16
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r2, fp, #912
	sub	r3, fp, #784
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #784
	ldr	r1, .L29+20
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-928]
	ldr	r1, .L29+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-928]
	ldr	r0, [fp, #-928]
	bl	trimWhitespace
	str	r0, [fp, #-928]
	ldr	r1, .L29+24
	ldr	r0, [fp, #-928]
	bl	strcspn
	mov	r3, r0
	str	r3, [fp, #-940]
	b	.L20
.L21:
	ldr	r3, [fp, #-940]
	ldr	r2, [fp, #-928]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-940]
	add	r3, r3, #1
	str	r3, [fp, #-940]
.L20:
	ldr	r0, [fp, #-928]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-940]
	cmp	r2, r3
	bhi	.L21
	ldr	r0, [fp, #-928]
	bl	atoi
	str	r0, [fp, #-924]
	ldr	r2, [fp, #-924]
	ldr	r3, .L29+28
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L19
	mov	r3, #1
	strb	r3, [fp, #-949]
.L19:
	sub	r3, fp, #912
	ldr	r1, .L29+32
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	sub	r2, fp, #912
	sub	r3, fp, #528
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #528
	ldr	r1, .L29+20
	mov	r0, r3
	bl	strcspn
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-920]
	ldr	r3, [fp, #-920]
	sub	r2, fp, #528
	add	r4, r2, r3
	sub	r3, fp, #528
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-920]
	sub	r2, r2, r3
	sub	r3, fp, #528
	mov	r1, r4
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #528
	ldr	r1, .L29+36
	mov	r0, r3
	bl	strcspn
	mov	r3, r0
	str	r3, [fp, #-936]
	b	.L23
.L24:
	sub	r2, fp, #528
	ldr	r3, [fp, #-936]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-936]
	add	r3, r3, #1
	str	r3, [fp, #-936]
.L23:
	sub	r3, fp, #528
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-936]
	cmp	r2, r3
	bhi	.L24
	sub	r3, fp, #528
	mov	r0, r3
	bl	trimWhitespace
	str	r0, [fp, #-948]
.L22:
	sub	r3, fp, #912
	ldr	r1, .L29+40
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r2, fp, #912
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #272
	ldr	r1, .L29+20
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-944]
	ldr	r1, .L29+20
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-944]
	ldr	r0, [fp, #-944]
	bl	trimWhitespace
	str	r0, [fp, #-944]
	ldr	r1, .L29+44
	ldr	r0, [fp, #-944]
	bl	strstr
	str	r0, [fp, #-916]
	ldr	r3, [fp, #-916]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-916]
	sub	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-916]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-916]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L18:
	sub	r3, fp, #912
	ldr	r2, [fp, #-932]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldrb	r3, [fp, #-949]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-944]
	ldr	r2, [fp, #-948]
	ldr	r1, [fp, #-964]
	ldr	r0, .L29+48
	bl	printf
.L27:
	ldr	r0, [fp, #-932]
	bl	fclose
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC17
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	UID
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	openStatusFile, .-openStatusFile
	.align	2
	.global	trimWhitespace
	.syntax unified
	.arm
	.fpu softvfp
	.type	trimWhitespace, %function
trimWhitespace:
	@ 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]
	b	.L32
.L33:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L32:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-16]
	b	.L35
.L34:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L36
.L38:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L36:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bls	.L37
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L38
.L37:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	trimWhitespace, .-trimWhitespace
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
