	.file	"34152.c"
	.intel_syntax noprefix
	.text
	.globl	loadavgfile
	.section	.rodata
.LC0:
	.string	"/proc/loadavg"
	.section	.data.rel.local,"aw"
	.align 8
	.type	loadavgfile, @object
	.size	loadavgfile, 8
loadavgfile:
	.quad	.LC0
	.globl	cmd
	.section	.rodata
	.align 8
.LC1:
	.string	"/usr/local/teapop/libexec/teapop"
	.section	.data.rel.ro.local,"aw"
	.align 8
	.type	cmd, @object
	.size	cmd, 8
cmd:
	.quad	.LC1
	.globl	args
	.section	.rodata
.LC2:
	.string	"teapop"
.LC3:
	.string	"-n"
.LC4:
	.string	"-N"
.LC5:
	.string	"-L"
.LC6:
	.string	"-t600"
	.section	.data.rel.ro.local
	.align 32
	.type	args, @object
	.size	args, 48
args:
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	0
	.text
	.globl	flusha
	.type	flusha, @function
flusha:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	flusha, .-flusha
	.section	.rodata
	.align 8
.LC7:
	.string	"+OK Fakepop - <%d.%d%04x@tatui>\r\n"
	.text
	.globl	banner
	.type	banner, @function
banner:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	call	rand@PLT
	mov	r12d, eax
	call	getpid@PLT
	mov	ebx, eax
	mov	edi, 0
	call	time@PLT
	mov	ecx, r12d
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	flusha
	nop
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	banner, .-banner
	.section	.rodata
.LC8:
	.string	"r"
	.text
	.globl	getload
	.type	getload, @function
getload:
.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, 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR loadavgfile[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L4
	movsd	xmm0, QWORD PTR .LC9[rip]
	jmp	.L6
.L4:
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -1064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtod@PLT
	movq	rax, xmm0
	mov	QWORD PTR -1048[rbp], rax
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movsd	xmm0, QWORD PTR -1048[rbp]
.L6:
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getload, .-getload
	.section	.rodata
.LC10:
	.string	"+OK %s\r\n"
	.text
	.globl	ok
	.type	ok, @function
ok:
.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 -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	flusha
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ok, .-ok
	.section	.rodata
.LC11:
	.string	"See you later"
	.text
	.globl	bye
	.type	bye, @function
bye:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC11[rip]
	call	ok
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	bye, .-bye
	.section	.rodata
.LC12:
	.string	"-ERR %s\r\n"
	.text
	.globl	err
	.type	err, @function
err:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	flusha
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	err, .-err
	.globl	status
	.bss
	.align 4
	.type	status, @object
	.size	status, 4
status:
	.zero	4
	.section	.rodata
.LC13:
	.string	"These are my limits, Sir"
.LC14:
	.string	"TOP\r"
.LC15:
	.string	"USER\r"
.LC16:
	.string	"LOGIN-DELAY 600\r"
.LC17:
	.string	"EXPIRE NEVER\r"
.LC18:
	.string	"IMPLEMENTATION OverLoadPop-1\r"
.LC19:
	.string	".\r"
	.text
	.globl	do_capa
	.type	do_capa, @function
do_capa:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC13[rip]
	call	ok
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	call	flusha
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	do_capa, .-do_capa
	.section	.rodata
	.align 8
.LC20:
	.string	"Error while reading command: %d"
.LC21:
	.string	"PASS"
.LC22:
	.string	"QUIT"
.LC23:
	.string	"CAPA"
.LC24:
	.string	"USER"
.LC25:
	.string	"Enter your password"
.LC26:
	.string	"APOP"
.LC27:
	.string	"You have 0 messages (0 bytes)"
	.align 8
.LC28:
	.string	"Unknown Command (USER or APOP required)"
.LC29:
	.string	"Password accepted"
	.align 8
.LC30:
	.string	"Unknown Command (PASS required)"
.LC31:
	.string	"STAT"
.LC32:
	.string	"0 0"
.LC33:
	.string	"UIDL"
.LC34:
	.string	""
.LC35:
	.string	"Mensagem invalida"
.LC36:
	.string	"LIST"
.LC37:
	.string	"0 messages"
.LC38:
	.string	"TOP"
.LC39:
	.string	"Mensagem desconhecida"
.LC40:
	.string	"RETR"
.LC41:
	.string	"Unknown Command"
	.text
	.globl	do_command
	.type	do_command, @function
do_command:
.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, 1200
	mov	QWORD PTR -1192[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	flusha
	mov	rdx, QWORD PTR -1192[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -1176[rbp], rax
	cmp	QWORD PTR -1176[rbp], 0
	jne	.L13
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	lea	rax, -1168[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1168[rbp]
	mov	rsi, rax
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
	mov	eax, 0
	jmp	.L34
.L13:
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1184[rbp], rax
	jmp	.L15
.L17:
	add	QWORD PTR -1184[rbp], 1
.L15:
	lea	rax, -1040[rbp]
	add	rax, 1023
	cmp	QWORD PTR -1184[rbp], rax
	jnb	.L16
	mov	rax, QWORD PTR -1184[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L16
	mov	rax, QWORD PTR -1184[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L17
.L16:
	mov	rax, QWORD PTR -1184[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	je	.L18
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 6
	mov	eax, 0
	call	syslog@PLT
.L18:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L19
	mov	eax, 0
	call	do_quit
	jmp	.L34
.L19:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L20
	mov	eax, 0
	call	do_capa
	mov	eax, 1
	jmp	.L34
.L20:
	mov	eax, DWORD PTR status[rip]
	cmp	eax, 2
	je	.L21
	cmp	eax, 2
	jg	.L22
	test	eax, eax
	je	.L23
	cmp	eax, 1
	je	.L24
	jmp	.L22
.L23:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L25
	lea	rdi, .LC25[rip]
	call	ok
	mov	DWORD PTR status[rip], 1
	jmp	.L26
.L25:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L27
	lea	rdi, .LC27[rip]
	call	ok
	mov	DWORD PTR status[rip], 2
	jmp	.L26
.L27:
	lea	rdi, .LC28[rip]
	call	err
	jmp	.L26
.L24:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L28
	lea	rdi, .LC29[rip]
	call	ok
	mov	DWORD PTR status[rip], 2
	jmp	.L26
.L28:
	lea	rdi, .LC30[rip]
	call	err
	jmp	.L26
.L21:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L29
	lea	rdi, .LC32[rip]
	call	ok
	jmp	.L26
.L29:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L30
	lea	rdi, .LC34[rip]
	call	ok
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	call	flusha
	jmp	.L26
.L30:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L31
	lea	rdi, .LC35[rip]
	call	err
	jmp	.L26
.L31:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L32
	lea	rdi, .LC37[rip]
	call	ok
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	eax, 0
	call	flusha
	jmp	.L26
.L32:
	lea	rax, -1040[rbp]
	mov	edx, 3
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L33
	lea	rdi, .LC39[rip]
	call	err
	jmp	.L26
.L33:
	lea	rax, -1040[rbp]
	mov	edx, 4
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strncasecmp@PLT
	test	eax, eax
	jne	.L22
	lea	rdi, .LC39[rip]
	call	err
	jmp	.L26
.L22:
	lea	rdi, .LC41[rip]
	call	err
.L26:
	mov	eax, 1
.L34:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	do_command, .-do_command
	.globl	do_quit
	.type	do_quit, @function
do_quit:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	flusha
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	do_quit, .-do_quit
	.section	.rodata
.LC42:
	.string	"Error in exec: %d"
.LC43:
	.string	"Run impossible: "
	.text
	.globl	execpop
	.type	execpop, @function
execpop:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1056
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC1[rip]
	lea	rsi, args[rip]
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -1044[rbp], eax
	cmp	DWORD PTR -1044[rbp], 0
	je	.L41
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	lea	rax, -1040[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rdi, .LC43[rip]
	call	perror@PLT
	lea	rax, -1040[rbp]
	mov	rsi, rax
	mov	edi, 3
	mov	eax, 0
	call	syslog@PLT
	mov	eax, DWORD PTR -1044[rbp]
	mov	edi, eax
	call	exit@PLT
.L41:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	execpop, .-execpop
	.section	.rodata
.LC44:
	.string	"/tmp"
.LC45:
	.string	"fakepop"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, 0
	call	getload
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC44[rip]
	call	chdir@PLT
	mov	edx, 128
	mov	esi, 1
	lea	rdi, .LC45[rip]
	call	openlog@PLT
	movsd	xmm0, QWORD PTR .LC46[rip]
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L43
	mov	eax, 0
	call	execpop
.L43:
	call	getpid@PLT
	mov	ebx, eax
	mov	edi, 0
	call	time@PLT
	xor	eax, ebx
	mov	edi, eax
	call	srand@PLT
	mov	eax, 0
	call	banner
	nop
.L45:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	do_command
	test	eax, eax
	jne	.L45
	mov	eax, 0
	call	bye
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1079574528
	.align 8
.LC46:
	.long	0
	.long	1077149696
	.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	"34152.c"
	.text
	.global	loadavgfile
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/proc/loadavg\000"
	.data
	.align	2
	.type	loadavgfile, %object
	.size	loadavgfile, 4
loadavgfile:
	.word	.LC0
	.global	cmd
	.section	.rodata
	.align	2
.LC1:
	.ascii	"/usr/local/teapop/libexec/teapop\000"
	.align	2
	.type	cmd, %object
	.size	cmd, 4
cmd:
	.word	.LC1
	.global	args
	.align	2
.LC2:
	.ascii	"teapop\000"
	.align	2
.LC3:
	.ascii	"-n\000"
	.align	2
.LC4:
	.ascii	"-N\000"
	.align	2
.LC5:
	.ascii	"-L\000"
	.align	2
.LC6:
	.ascii	"-t600\000"
	.align	2
	.type	args, %object
	.size	args, 24
args:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	0
	.text
	.align	2
	.global	flusha
	.syntax unified
	.arm
	.fpu softvfp
	.type	flusha, %function
flusha:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L2+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stdout
	.word	stdin
	.size	flusha, .-flusha
	.section	.rodata
	.align	2
.LC7:
	.ascii	"+OK Fakepop - <%d.%d%04x@tatui>\015\012\000"
	.text
	.align	2
	.global	banner
	.syntax unified
	.arm
	.fpu softvfp
	.type	banner, %function
banner:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	mov	r0, #0
	bl	time
	mov	r4, r0
	bl	getpid
	mov	r5, r0
	bl	rand
	mov	r3, r0
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L5
	bl	printf
	bl	flusha
	nop
	pop	{r4, r5, fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC7
	.size	banner, .-banner
	.section	.rodata
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getload
	.syntax unified
	.arm
	.fpu softvfp
	.type	getload, %function
getload:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r1, .L12+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	bne	.L8
	mov	r2, #0
	ldr	r3, .L12+12
	b	.L10
.L8:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1048]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #1040
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strtod
	str	r0, [fp, #-1044]
	str	r1, [fp, #-1040]
	ldr	r0, [fp, #-1048]
	bl	fclose
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1040]
.L10:
	ldr	r1, .L12
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC9
	.word	loadavgfile
	.word	.LC8
	.word	1079574528
	.size	getload, .-getload
	.section	.rodata
	.align	2
.LC10:
	.ascii	"+OK %s\015\012\000"
	.text
	.align	2
	.global	ok
	.syntax unified
	.arm
	.fpu softvfp
	.type	ok, %function
ok:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L15
	bl	printf
	bl	flusha
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC10
	.size	ok, .-ok
	.section	.rodata
	.align	2
.LC11:
	.ascii	"See you later\000"
	.text
	.align	2
	.global	bye
	.syntax unified
	.arm
	.fpu softvfp
	.type	bye, %function
bye:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L18
	bl	ok
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC11
	.size	bye, .-bye
	.section	.rodata
	.align	2
.LC12:
	.ascii	"-ERR %s\015\012\000"
	.text
	.align	2
	.global	err
	.syntax unified
	.arm
	.fpu softvfp
	.type	err, %function
err:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L21
	bl	printf
	bl	flusha
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC12
	.size	err, .-err
	.global	status
	.bss
	.align	2
	.type	status, %object
	.size	status, 4
status:
	.space	4
	.section	.rodata
	.align	2
.LC13:
	.ascii	"These are my limits, Sir\000"
	.align	2
.LC14:
	.ascii	"TOP\015\000"
	.align	2
.LC15:
	.ascii	"USER\015\000"
	.align	2
.LC16:
	.ascii	"LOGIN-DELAY 600\015\000"
	.align	2
.LC17:
	.ascii	"EXPIRE NEVER\015\000"
	.align	2
.LC18:
	.ascii	"IMPLEMENTATION OverLoadPop-1\015\000"
	.align	2
.LC19:
	.ascii	".\015\000"
	.text
	.align	2
	.global	do_capa
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_capa, %function
do_capa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L24
	bl	ok
	ldr	r0, .L24+4
	bl	puts
	ldr	r0, .L24+8
	bl	puts
	ldr	r0, .L24+12
	bl	puts
	ldr	r0, .L24+16
	bl	puts
	ldr	r0, .L24+20
	bl	puts
	ldr	r0, .L24+24
	bl	puts
	bl	flusha
	nop
	mov	r0, r3
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	do_capa, .-do_capa
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Error while reading command: %d\000"
	.align	2
.LC21:
	.ascii	"PASS\000"
	.align	2
.LC22:
	.ascii	"QUIT\000"
	.align	2
.LC23:
	.ascii	"CAPA\000"
	.align	2
.LC24:
	.ascii	"USER\000"
	.align	2
.LC25:
	.ascii	"Enter your password\000"
	.align	2
.LC26:
	.ascii	"APOP\000"
	.align	2
.LC27:
	.ascii	"You have 0 messages (0 bytes)\000"
	.align	2
.LC28:
	.ascii	"Unknown Command (USER or APOP required)\000"
	.align	2
.LC29:
	.ascii	"Password accepted\000"
	.align	2
.LC30:
	.ascii	"Unknown Command (PASS required)\000"
	.align	2
.LC31:
	.ascii	"STAT\000"
	.align	2
.LC32:
	.ascii	"0 0\000"
	.align	2
.LC33:
	.ascii	"UIDL\000"
	.align	2
.LC34:
	.ascii	"\000"
	.align	2
.LC35:
	.ascii	"Mensagem invalida\000"
	.align	2
.LC36:
	.ascii	"LIST\000"
	.align	2
.LC37:
	.ascii	"0 messages\000"
	.align	2
.LC38:
	.ascii	"TOP\000"
	.align	2
.LC39:
	.ascii	"Mensagem desconhecida\000"
	.align	2
.LC40:
	.ascii	"RETR\000"
	.align	2
.LC41:
	.ascii	"Unknown Command\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_command, %function
do_command:
	@ args = 0, pretend = 0, frame = 1176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	sub	sp, sp, #8
	str	r0, [fp, #-1176]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	flusha
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1176]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-1164]
	ldr	r3, [fp, #-1164]
	cmp	r3, #0
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L50+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #3
	bl	syslog
	mov	r3, #0
	b	.L48
.L27:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1168]
	b	.L29
.L31:
	ldr	r3, [fp, #-1168]
	add	r3, r3, #1
	str	r3, [fp, #-1168]
.L29:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #1020
	add	r3, r3, #3
	ldr	r2, [fp, #-1168]
	cmp	r2, r3
	bcs	.L30
	ldr	r3, [fp, #-1168]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L30
	ldr	r3, [fp, #-1168]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L31
.L30:
	ldr	r3, [fp, #-1168]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+8
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #6
	bl	syslog
.L32:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+12
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	bl	do_quit
	mov	r3, r0
	b	.L48
.L33:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+16
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	bl	do_capa
	mov	r3, #1
	b	.L48
.L34:
	ldr	r3, .L50+20
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L35
	cmp	r3, #2
	bgt	.L36
	cmp	r3, #0
	beq	.L37
	cmp	r3, #1
	beq	.L38
	b	.L36
.L37:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+24
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L50+28
	bl	ok
	ldr	r3, .L50+20
	mov	r2, #1
	str	r2, [r3]
	b	.L40
.L39:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+32
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r0, .L50+36
	bl	ok
	ldr	r3, .L50+20
	mov	r2, #2
	str	r2, [r3]
	b	.L40
.L41:
	ldr	r0, .L50+40
	bl	err
	b	.L40
.L38:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+8
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r0, .L50+44
	bl	ok
	ldr	r3, .L50+20
	mov	r2, #2
	str	r2, [r3]
	b	.L40
.L42:
	ldr	r0, .L50+48
	bl	err
	b	.L40
.L35:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+52
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r0, .L50+56
	bl	ok
	b	.L40
.L43:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+60
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L50+64
	bl	ok
	ldr	r0, .L50+68
	bl	puts
	bl	flusha
	b	.L40
.L44:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+60
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L50+72
	bl	err
	b	.L40
.L45:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+76
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	ldr	r0, .L50+80
	bl	ok
	ldr	r0, .L50+68
	bl	puts
	bl	flusha
	b	.L40
.L46:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #3
	ldr	r1, .L50+84
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r0, .L50+88
	bl	err
	b	.L40
.L47:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L50+92
	mov	r0, r3
	bl	strncasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r0, .L50+88
	bl	err
	b	.L40
.L36:
	ldr	r0, .L50+96
	bl	err
.L40:
	mov	r3, #1
.L48:
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC42
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	status
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC19
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.size	do_command, .-do_command
	.align	2
	.global	do_quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_quit, %function
do_quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	flusha
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	do_quit, .-do_quit
	.section	.rodata
	.align	2
.LC43:
	.ascii	"Error in exec: %d\000"
	.align	2
.LC44:
	.ascii	"Run impossible: \000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	execpop
	.syntax unified
	.arm
	.fpu softvfp
	.type	execpop, %function
execpop:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L58+4
	ldr	r1, .L58+8
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	beq	.L57
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r2, .L58+12
	mov	r1, #1024
	bl	snprintf
	ldr	r0, .L58+16
	bl	perror
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #3
	bl	syslog
	ldr	r0, [fp, #-1036]
	bl	exit
.L57:
	nop
	ldr	r3, .L58
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC45
	.word	.LC1
	.word	args
	.word	.LC43
	.word	.LC44
	.size	execpop, .-execpop
	.section	.rodata
	.align	2
.LC46:
	.ascii	"/tmp\000"
	.align	2
.LC47:
	.ascii	"fakepop\000"
	.global	__aeabi_dcmplt
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	bl	getload
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r0, .L66
	bl	chdir
	mov	r2, #128
	mov	r1, #1
	ldr	r0, .L66+4
	bl	openlog
	mov	r2, #0
	ldr	r3, .L66+8
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	bl	execpop
.L61:
	bl	getpid
	mov	r4, r0
	mov	r0, #0
	bl	time
	mov	r3, r0
	eor	r3, r3, r4
	mov	r0, r3
	bl	srand
	bl	banner
	nop
.L63:
	ldr	r3, .L66+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	do_command
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	bl	bye
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC46
	.word	.LC47
	.word	1077149696
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
