	.file	"84824.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"ps -ef -o \"tty,pid,ruser,args\""
.LC1:
	.string	"ps ax -o \"tty,pid,ruser,args\""
	.section	.data.rel.local,"aw"
	.align 16
	.type	cmd, @object
	.size	cmd, 16
cmd:
	.quad	.LC0
	.quad	.LC1
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"\nfailed running 'ps' !\n"
	.text
	.globl	fetchps
	.type	fetchps, @function
fetchps:
.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, 1136
	mov	QWORD PTR -1128[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1128[rbp]
	mov	QWORD PTR -1080[rbp], rax
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, 1326780
	mov	QWORD PTR -1072[rbp], rax
	mov	DWORD PTR -1108[rbp], 0
	mov	rax, QWORD PTR cmd[rip+8]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	popen@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	je	.L2
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L3
.L24:
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L3
	mov	rax, QWORD PTR -1080[rbp]
	cmp	rax, QWORD PTR -1072[rbp]
	ja	.L3
	mov	rax, QWORD PTR -1080[rbp]
	mov	QWORD PTR -1088[rbp], rax
	mov	DWORD PTR -1104[rbp], 0
	jmp	.L4
.L6:
	add	DWORD PTR -1104[rbp], 1
.L4:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L5
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -1088[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L5
	cmp	DWORD PTR -1104[rbp], 32
	jle	.L6
.L5:
	mov	rax, QWORD PTR -1088[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L7
.L8:
	add	QWORD PTR -1096[rbp], 1
.L7:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L8
	lea	rax, -1052[rbp]
	mov	QWORD PTR -1088[rbp], rax
	mov	DWORD PTR -1104[rbp], 0
	jmp	.L9
.L11:
	add	DWORD PTR -1104[rbp], 1
.L9:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L10
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -1088[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L10
	cmp	DWORD PTR -1104[rbp], 32
	jle	.L11
.L10:
	mov	rax, QWORD PTR -1088[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -1052[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -1080[rbp]
	mov	DWORD PTR 320[rdx], eax
	jmp	.L12
.L13:
	add	QWORD PTR -1096[rbp], 1
.L12:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, 32
	mov	QWORD PTR -1088[rbp], rax
	mov	DWORD PTR -1104[rbp], 0
	jmp	.L14
.L16:
	add	DWORD PTR -1104[rbp], 1
.L14:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L15
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -1088[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L15
	cmp	DWORD PTR -1104[rbp], 32
	jle	.L16
.L15:
	mov	rax, QWORD PTR -1088[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1080[rbp]
	add	rax, 64
	mov	QWORD PTR -1088[rbp], rax
	jmp	.L17
.L18:
	add	QWORD PTR -1096[rbp], 1
.L17:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L18
	mov	DWORD PTR -1104[rbp], 0
	jmp	.L19
.L21:
	add	DWORD PTR -1104[rbp], 1
.L19:
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -1088[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L20
	cmp	DWORD PTR -1104[rbp], 256
	jle	.L21
.L20:
	add	DWORD PTR -1108[rbp], 1
	add	QWORD PTR -1080[rbp], 324
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1100[rbp], eax
	jmp	.L22
.L23:
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1100[rbp], eax
.L22:
	cmp	DWORD PTR -1100[rbp], 0
	je	.L3
	mov	eax, DWORD PTR -1100[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -1040[rbp+rax]
	cmp	al, 10
	jne	.L23
.L3:
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	pclose@PLT
	mov	eax, DWORD PTR -1108[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	jmp	.L28
.L2:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fetchps, .-fetchps
	.section	.rodata
.LC4:
	.string	"/var/run/utmp"
	.align 8
.LC5:
	.string	"=> possibly %d deletion(s) detected in %s !\n"
.LC6:
	.string	"\nfailed opening utmp !\n"
	.text
	.globl	fetchutmp
	.type	fetchutmp, @function
fetchutmp:
.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, 448
	mov	QWORD PTR -440[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR -416[rbp], rax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, 163800
	mov	QWORD PTR -408[rbp], rax
	mov	DWORD PTR -428[rbp], 0
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -432[rbp], eax
	mov	esi, 0
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -424[rbp], eax
	cmp	DWORD PTR -424[rbp], 0
	jle	.L30
	mov	DWORD PTR -420[rbp], 384
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -60[rbp]
	test	eax, eax
	jne	.L32
	add	DWORD PTR -428[rbp], 1
.L32:
	lea	rax, -400[rbp]
	add	rax, 44
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L31
	mov	rax, QWORD PTR -416[rbp]
	lea	rdx, -400[rbp]
	lea	rcx, 8[rdx]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	edx, DWORD PTR -396[rbp]
	mov	rax, QWORD PTR -416[rbp]
	mov	DWORD PTR 32[rax], edx
	movzx	eax, WORD PTR -400[rbp]
	movsx	edx, ax
	mov	rax, QWORD PTR -416[rbp]
	mov	DWORD PTR 36[rax], edx
	add	DWORD PTR -432[rbp], 1
	add	QWORD PTR -416[rbp], 40
.L31:
	mov	eax, DWORD PTR -420[rbp]
	movsx	rdx, eax
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -424[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jle	.L33
	mov	rax, QWORD PTR -416[rbp]
	cmp	rax, QWORD PTR -408[rbp]
	jbe	.L34
.L33:
	mov	eax, DWORD PTR -424[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	DWORD PTR -428[rbp], 0
	jle	.L35
	mov	eax, DWORD PTR -428[rbp]
	lea	rdx, .LC4[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L35
.L30:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	mov	eax, DWORD PTR -432[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fetchutmp, .-fetchutmp
	.section	.rodata
	.align 8
.LC7:
	.string	" The tty of the following user process(es) were not found"
.LC8:
	.string	" in %s !\n"
.LC9:
	.string	"CMD"
.LC10:
	.string	"TTY"
.LC11:
	.string	"PID"
.LC12:
	.string	"RUID"
.LC13:
	.string	"! %-9s %7s %-6s %s\n"
.LC14:
	.string	"! %-9s %7d %-6s %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -1490944[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 64
	mov	DWORD PTR -1490996[rbp], edi
	mov	QWORD PTR -1491008[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1327120[rbp]
	mov	rdi, rax
	call	fetchps
	mov	DWORD PTR -1490968[rbp], eax
	lea	rax, -1490960[rbp]
	mov	rdi, rax
	call	fetchutmp
	mov	DWORD PTR -1490964[rbp], eax
	mov	DWORD PTR -1490972[rbp], 0
	mov	DWORD PTR -1490984[rbp], 0
	jmp	.L39
.L47:
	mov	DWORD PTR -1490976[rbp], 0
	mov	DWORD PTR -1490980[rbp], 0
	jmp	.L40
.L44:
	mov	eax, DWORD PTR -1490980[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1490924
	mov	eax, DWORD PTR [rax]
	cmp	eax, 6
	jne	.L41
	mov	eax, DWORD PTR -1490980[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1490928
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 1326800
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jne	.L41
	mov	DWORD PTR -1490976[rbp], 1
	jmp	.L42
.L41:
	lea	rcx, -1327120[rbp]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdi, rax
	call	strlen@PLT
	mov	rsi, rax
	lea	rcx, -1490960[rbp]
	mov	eax, DWORD PTR -1490980[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	lea	rdi, -1327120[rbp]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rax, rdi
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L43
	mov	DWORD PTR -1490976[rbp], 1
	jmp	.L42
.L43:
	add	DWORD PTR -1490980[rbp], 1
.L40:
	mov	eax, DWORD PTR -1490980[rbp]
	cmp	eax, DWORD PTR -1490964[rbp]
	jl	.L44
.L42:
	cmp	DWORD PTR -1490976[rbp], 0
	jne	.L45
	cmp	DWORD PTR -1490972[rbp], 0
	jne	.L46
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	r8, .LC9[rip]
	lea	rcx, .LC10[rip]
	lea	rdx, .LC11[rip]
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1490972[rbp], 1
.L46:
	lea	rcx, -1327120[rbp]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rax, 64
	lea	rdi, [rcx+rax]
	lea	rcx, -1327120[rbp]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rcx, rax
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 1326800
	mov	edx, DWORD PTR [rax]
	lea	r8, -1327120[rbp]
	mov	eax, DWORD PTR -1490984[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	add	rax, rsi
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, 32
	add	rax, r8
	mov	r8, rdi
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L45:
	add	DWORD PTR -1490984[rbp], 1
.L39:
	mov	eax, DWORD PTR -1490984[rbp]
	cmp	eax, DWORD PTR -1490968[rbp]
	jl	.L47
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.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	"84824.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ps -ef -o \"tty,pid,ruser,args\"\000"
	.align	2
.LC1:
	.ascii	"ps ax -o \"tty,pid,ruser,args\"\000"
	.data
	.align	2
	.type	cmd, %object
	.size	cmd, 8
cmd:
	.word	.LC0
	.word	.LC1
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"\012failed running 'ps' !\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fetchps
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetchps, %function
fetchps:
	@ args = 0, pretend = 0, frame = 1088
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1088
	str	r0, [fp, #-1088]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1088]
	str	r3, [fp, #-1072]
	ldr	r2, [fp, #-1088]
	ldr	r3, .L29+4
	add	r3, r2, r3
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1068]
	ldr	r3, .L29+8
	ldr	r3, [r3, #4]
	ldr	r1, .L29+12
	mov	r0, r3
	bl	popen
	str	r0, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1052]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	b	.L3
.L24:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L3
	ldr	r2, [fp, #-1072]
	ldr	r3, [fp, #-1056]
	cmp	r2, r3
	bhi	.L3
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L4
.L6:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L4:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L5
	ldr	r2, [fp, #-1080]
	add	r3, r2, #1
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1076]
	add	r1, r3, #1
	str	r1, [fp, #-1076]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-1064]
	cmp	r3, #32
	ble	.L6
.L5:
	ldr	r3, [fp, #-1076]
	mov	r2, #0
	strb	r2, [r3]
	b	.L7
.L8:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L7:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L9
.L11:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-1080]
	add	r3, r2, #1
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1076]
	add	r1, r3, #1
	str	r1, [fp, #-1076]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-1064]
	cmp	r3, #32
	ble	.L11
.L10:
	ldr	r3, [fp, #-1076]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1072]
	str	r2, [r3, #320]
	b	.L12
.L13:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L12:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-1072]
	add	r3, r3, #32
	str	r3, [fp, #-1076]
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L14
.L16:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L14:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L15
	ldr	r2, [fp, #-1080]
	add	r3, r2, #1
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1076]
	add	r1, r3, #1
	str	r1, [fp, #-1076]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-1064]
	cmp	r3, #32
	ble	.L16
.L15:
	ldr	r3, [fp, #-1076]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1072]
	add	r3, r3, #64
	str	r3, [fp, #-1076]
	b	.L17
.L18:
	ldr	r3, [fp, #-1080]
	add	r3, r3, #1
	str	r3, [fp, #-1080]
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1080]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-1064]
	b	.L19
.L21:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
.L19:
	ldr	r2, [fp, #-1080]
	add	r3, r2, #1
	str	r3, [fp, #-1080]
	ldr	r3, [fp, #-1076]
	add	r1, r3, #1
	str	r1, [fp, #-1076]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-1064]
	cmp	r3, #256
	ble	.L21
.L20:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
	ldr	r3, [fp, #-1072]
	add	r3, r3, #324
	str	r3, [fp, #-1072]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1060]
	b	.L22
.L23:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1052]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1060]
.L22:
	ldr	r3, [fp, #-1060]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-1060]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1032]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L23
.L3:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1052]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r0, [fp, #-1052]
	bl	pclose
	ldr	r3, [fp, #-1068]
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	b	.L28
.L2:
	ldr	r3, .L29+16
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L29+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L28:
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	1326780
	.word	cmd
	.word	.LC2
	.word	stderr
	.word	.LC3
	.size	fetchps, .-fetchps
	.section	.rodata
	.align	2
.LC5:
	.ascii	"/var/run/utmp\000"
	.align	2
.LC6:
	.ascii	"=> possibly %d deletion(s) detected in %s !\012\000"
	.align	2
.LC7:
	.ascii	"\012failed opening utmp !\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fetchutmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetchutmp, %function
fetchutmp:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	str	r0, [fp, #-424]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-416]
	ldr	r3, [fp, #-424]
	add	r3, r3, #162816
	add	r3, r3, #984
	str	r3, [fp, #-404]
	mov	r3, #0
	str	r3, [fp, #-408]
	ldr	r3, [fp, #-408]
	str	r3, [fp, #-412]
	mov	r1, #0
	ldr	r0, .L40+4
	bl	open
	str	r0, [fp, #-400]
	ldr	r3, [fp, #-400]
	cmp	r3, #0
	ble	.L32
	mov	r3, #384
	str	r3, [fp, #-396]
	b	.L33
.L36:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-408]
	add	r3, r3, #1
	str	r3, [fp, #-408]
.L34:
	sub	r3, fp, #392
	add	r3, r3, #44
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L33
	ldr	r0, [fp, #-416]
	sub	r3, fp, #392
	add	r3, r3, #8
	mov	r2, #32
	mov	r1, r3
	bl	strncpy
	ldr	r2, [fp, #-388]
	ldr	r3, [fp, #-416]
	str	r2, [r3, #32]
	sub	r3, fp, #4
	sub	r3, r3, #388
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-416]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-416]
	add	r3, r3, #40
	str	r3, [fp, #-416]
.L33:
	ldr	r2, [fp, #-396]
	sub	r3, fp, #392
	mov	r1, r3
	ldr	r0, [fp, #-400]
	bl	read
	mov	r3, r0
	cmp	r3, #0
	ble	.L35
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-404]
	cmp	r2, r3
	bls	.L36
.L35:
	ldr	r0, [fp, #-400]
	bl	close
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	ble	.L37
	ldr	r2, .L40+4
	ldr	r1, [fp, #-408]
	ldr	r0, .L40+8
	bl	printf
	b	.L37
.L32:
	ldr	r3, .L40+12
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L40+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L37:
	ldr	r3, [fp, #-412]
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC8
	.word	.LC5
	.word	.LC6
	.word	stderr
	.word	.LC7
	.size	fetchutmp, .-fetchutmp
	.section	.rodata
	.align	2
.LC9:
	.ascii	" The tty of the following user process(es) were not"
	.ascii	" found\000"
	.align	2
.LC10:
	.ascii	" in %s !\012\000"
	.align	2
.LC11:
	.ascii	"TTY\000"
	.align	2
.LC12:
	.ascii	"PID\000"
	.align	2
.LC13:
	.ascii	"RUID\000"
	.align	2
.LC14:
	.ascii	"! %-9s %7s %-6s %s\012\000"
	.align	2
.LC15:
	.ascii	"CMD\000"
	.align	2
.LC16:
	.ascii	"! %-9s %7d %-6s %s\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1490984
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1490944
	sub	sp, sp, #48
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	str	r0, [r3, #-36]
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	str	r1, [r3, #-40]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1327104
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	fetchps
	str	r0, [r4, #-12]
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	fetchutmp
	str	r0, [r4, #-8]
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-16]
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L43
.L51:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L44
.L48:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r3, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	ldr	r3, [r3]
	cmp	r3, #6
	bne	.L45
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r3, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #28
	ldr	r1, [r3]
	sub	r3, fp, #1327104
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r3, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #316
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L45
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-20]
	b	.L46
.L45:
	sub	r2, fp, #1327104
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r4, r2, r3
	sub	r2, fp, #1490944
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-24]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r5, r2, r3
	sub	r2, fp, #1327104
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	mov	r1, r5
	mov	r0, r4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-20]
	b	.L46
.L47:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L44:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r2, #-24]
	ldr	r3, [r3, #-8]
	cmp	r2, r3
	blt	.L48
.L46:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bne	.L49
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L50
	ldr	r0, .L53+4
	bl	puts
	ldr	r1, .L53+8
	ldr	r0, .L53+12
	bl	printf
	ldr	r3, .L53+16
	str	r3, [sp]
	ldr	r3, .L53+20
	ldr	r2, .L53+24
	ldr	r1, .L53+28
	ldr	r0, .L53+32
	bl	printf
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-16]
.L50:
	sub	r2, fp, #1327104
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #32
	add	r0, r2, r3
	sub	r3, fp, #1327104
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r3, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #316
	ldr	ip, [r3]
	sub	r2, fp, #1327104
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	lr, r2, r3
	sub	r2, fp, #1327104
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r1, [r3, #-28]
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, #64
	add	r3, r2, r3
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L53+36
	bl	printf
.L49:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L43:
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #1490944
	sub	r3, r3, #12
	ldr	r2, [r2, #-28]
	ldr	r3, [r3, #-12]
	cmp	r2, r3
	blt	.L51
	mov	r0, #0
	bl	exit
.L54:
	.align	2
.L53:
	.word	.LC17
	.word	.LC9
	.word	.LC5
	.word	.LC10
	.word	.LC15
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
