	.file	"extr_top.c_handle_user.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Username to show (+ for all): "
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" %s: unknown user"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	" too many users, reset with '+'"
	.text
	.p2align 4
	.type	handle_user, @function
handle_user:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR MT_standout[rip]
	call	new_message@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r12
	call	readline@PLT
	test	rax, rax
	jle	.L19
	movzx	eax, BYTE PTR [r12]
	sub	eax, 43
	test	al, -3
	jne	.L4
	cmp	BYTE PTR 1[r12], 0
	je	.L20
	lea	rbp, 1[r12]
	mov	rdi, rbp
	call	userid@PLT
	mov	edi, eax
	cmp	eax, -1
	je	.L21
	cmp	BYTE PTR [r12], 43
	je	.L22
	call	rem_uid@PLT
	xor	r12d, r12d
.L6:
	mov	edi, 13
	call	putchar@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, r12
	call	userid@PLT
	mov	ebp, eax
	cmp	eax, -1
	jne	.L23
.L9:
	mov	edi, DWORD PTR MT_standout[rip]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	r12d, 1
	call	new_message@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	xor	eax, eax
	xor	r12d, r12d
	call	reset_uids@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	call	add_uid@PLT
	xor	r12d, r12d
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR MT_standout[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	mov	r12d, 1
	call	new_message@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	xor	eax, eax
	xor	r12d, r12d
	call	clear_message@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	xor	eax, eax
	xor	r12d, r12d
	call	reset_uids@PLT
	mov	rax, QWORD PTR ps[rip]
	mov	DWORD PTR [rax], ebp
	jmp	.L6
.L21:
	mov	r12, rbp
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	handle_user, .-handle_user
	.comm	ps,8,8
	.comm	MT_standout,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_top.c_handle_user.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Username to show (+ for all): \000"
	.align	2
.LC1:
	.ascii	" %s: unknown user\000"
	.align	2
.LC2:
	.ascii	" too many users, reset with '+'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_user, %function
handle_user:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r6, .L25
	ldr	r1, .L25+4
	ldr	r0, [r6]
	bl	new_message
	mov	r1, r4
	mov	r0, r5
	mov	r2, #0
	bl	readline
	cmp	r0, #0
	ble	.L20
	ldrb	r3, [r5]	@ zero_extendqisi2
	sub	r3, r3, #43
	ands	r4, r3, #253
	bne	.L4
	ldrb	r7, [r5, #1]	@ zero_extendqisi2
	cmp	r7, #0
	beq	.L21
	add	r7, r5, #1
	mov	r0, r7
	bl	userid
	cmn	r0, #1
	beq	.L22
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L23
	bl	rem_uid
.L6:
	mov	r0, #13
	bl	putchar
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r0, r5
	bl	userid
	cmn	r0, #1
	mov	r7, r0
	bne	.L24
.L9:
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L25+8
	bl	new_message
	mov	r4, #1
	b	.L6
.L21:
	bl	reset_uids
	mov	r4, r7
	b	.L6
.L23:
	bl	add_uid
	subs	r4, r0, #0
	beq	.L6
	ldr	r0, [r6]
	ldr	r1, .L25+12
	bl	new_message
	mov	r4, #1
	b	.L6
.L20:
	mov	r4, #0
	bl	clear_message
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	bl	reset_uids
	ldr	r3, .L25+16
	mov	r4, #0
	ldr	r3, [r3]
	str	r7, [r3]
	b	.L6
.L22:
	mov	r5, r7
	b	.L9
.L26:
	.align	2
.L25:
	.word	MT_standout
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	ps
	.size	handle_user, .-handle_user
	.comm	ps,4,4
	.comm	MT_standout,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
