	.file	"288784.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"\n"
	.text
	.globl	command
	.type	command, @function
command:
.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, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	DWORD PTR -40[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -40[rbp], 0
	je	.L2
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, 2047
	sub	eax, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rsi, ecx
	mov	rcx, QWORD PTR -48[rbp]
	add	rcx, rsi
	mov	esi, eax
	mov	rdi, rcx
	call	fgets@PLT
.L2:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edi, 1000
	call	usleep@PLT
	mov	DWORD PTR -20[rbp], 2047
	mov	DWORD PTR -28[rbp], 1
	jmp	.L3
.L6:
	lea	rdx, -28[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 21531
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jle	.L9
	mov	rsi, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L3:
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jg	.L6
	jmp	.L5
.L9:
	nop
.L5:
	mov	edx, 1
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	command, .-command
	.section	.rodata
.LC2:
	.string	"Enter the username: "
.LC3:
	.string	"Enter the password: "
	.text
	.globl	login
	.type	login, @function
login:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR userCommand.5[rip]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 1
	lea	rcx, .LC2[rip]
	mov	edi, eax
	call	command
	mov	rdx, QWORD PTR passwordCommand.4[rip]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 1
	lea	rcx, .LC3[rip]
	mov	edi, eax
	call	command
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	login, .-login
	.section	.rodata
.LC4:
	.string	"Bye!\n"
	.text
	.globl	quit
	.type	quit, @function
quit:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	rdx, QWORD PTR userCommand.3[rip]
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, 0
	lea	rcx, .LC4[rip]
	mov	edi, eax
	call	command
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	quit, .-quit
	.section	.rodata
.LC5:
	.string	"All your mail contains: "
	.text
	.globl	stat
	.type	stat, @function
stat:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR userCommand.2[rip]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 0
	lea	rcx, .LC5[rip]
	mov	edi, eax
	call	command
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	stat, .-stat
	.section	.rodata
	.align 8
.LC6:
	.string	"Enter the message id (if empty get all): "
	.text
	.globl	list
	.type	list, @function
list:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR userCommand.1[rip]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 1
	lea	rcx, .LC6[rip]
	mov	edi, eax
	call	command
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	list, .-list
	.section	.rodata
	.align 8
.LC7:
	.string	"Enter the reading message id: "
	.text
	.globl	retr
	.type	retr, @function
retr:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR userCommand.0[rip]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 1
	lea	rcx, .LC7[rip]
	mov	edi, eax
	call	command
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	retr, .-retr
	.section	.rodata
	.align 8
.LC8:
	.string	"usage: %s <hostname> <port_number>\n"
.LC9:
	.string	"socket() failed: %d"
	.align 8
.LC10:
	.string	"setsockopt(SO_REUSEADDR) failed"
.LC11:
	.string	"connect() failed: %d"
	.align 8
.LC12:
	.string	"Enter the command ('?' for help): "
.LC13:
	.string	"%c"
.LC14:
	.string	"a - authorization"
.LC15:
	.string	"l - list of messages in mail"
.LC16:
	.string	"s - statistic of the message"
.LC17:
	.string	"r - retrieve the message"
.LC18:
	.string	"q - quit"
	.align 8
.LC19:
	.string	"Unknown command, for help type '?'"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2112
	mov	DWORD PTR -2100[rbp], edi
	mov	QWORD PTR -2112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -2100[rbp], 2
	jg	.L16
	mov	rax, QWORD PTR -2112[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L30
.L16:
	mov	rax, QWORD PTR -2112[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2088[rbp], eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -2084[rbp], eax
	cmp	DWORD PTR -2084[rbp], 0
	jns	.L18
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L30
.L18:
	mov	DWORD PTR -2092[rbp], 1
	lea	rdx, -2092[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L19
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L30
.L19:
	lea	rax, -2080[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -2080[rbp], 2
	mov	rax, QWORD PTR -2112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -2076[rbp], eax
	mov	eax, DWORD PTR -2088[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -2078[rbp], ax
	lea	rcx, -2080[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L30
.L20:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	lea	rdx, -2092[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	call	getchar@PLT
	movzx	eax, BYTE PTR -2092[rbp]
	movsx	eax, al
	cmp	eax, 63
	je	.L21
	cmp	eax, 63
	jl	.L22
	cmp	eax, 115
	jg	.L22
	cmp	eax, 97
	jl	.L22
	sub	eax, 97
	cmp	eax, 18
	ja	.L22
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L24[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L24[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L24:
	.long	.L28-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L27-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L26-.L24
	.long	.L25-.L24
	.long	.L23-.L24
	.text
.L28:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	login
	jmp	.L29
.L27:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	list
	jmp	.L29
.L23:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	stat
	jmp	.L29
.L25:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	retr
	jmp	.L29
.L26:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	quit
	mov	eax, 0
	jmp	.L30
.L21:
	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
	jmp	.L29
.L22:
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L29:
	jmp	.L20
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
.LC20:
	.string	"USER "
	.section	.data.rel.local,"aw"
	.align 8
	.type	userCommand.5, @object
	.size	userCommand.5, 8
userCommand.5:
	.quad	.LC20
	.section	.rodata
.LC21:
	.string	"PASS "
	.section	.data.rel.local
	.align 8
	.type	passwordCommand.4, @object
	.size	passwordCommand.4, 8
passwordCommand.4:
	.quad	.LC21
	.section	.rodata
.LC22:
	.string	"QUIT"
	.section	.data.rel.local
	.align 8
	.type	userCommand.3, @object
	.size	userCommand.3, 8
userCommand.3:
	.quad	.LC22
	.section	.rodata
.LC23:
	.string	"STAT"
	.section	.data.rel.local
	.align 8
	.type	userCommand.2, @object
	.size	userCommand.2, 8
userCommand.2:
	.quad	.LC23
	.section	.rodata
.LC24:
	.string	"LIST "
	.section	.data.rel.local
	.align 8
	.type	userCommand.1, @object
	.size	userCommand.1, 8
userCommand.1:
	.quad	.LC24
	.section	.rodata
.LC25:
	.string	"RETR "
	.section	.data.rel.local
	.align 8
	.type	userCommand.0, @object
	.size	userCommand.0, 8
userCommand.0:
	.quad	.LC25
	.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	"288784.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	command
	.syntax unified
	.arm
	.fpu softvfp
	.type	command, %function
command:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r2, #2048
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	memset
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	bl	strcpy
	ldr	r1, [fp, #-44]
	ldr	r0, .L10+4
	bl	printf
	ldr	r3, [fp, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r0, r2, r3
	ldr	r3, [fp, #-16]
	rsb	r3, r3, #2032
	add	r3, r3, #15
	ldr	r2, .L10+8
	ldr	r2, [r2]
	mov	r1, r3
	bl	fgets
.L2:
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	write
	mov	r2, #2048
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	memset
	mov	r0, #1000
	bl	usleep
	ldr	r3, .L10+12
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L3
.L6:
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L10+16
	ldr	r0, [fp, #-32]
	bl	ioctl
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L9
	mov	r3, #0
	mov	r2, #4
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	recv
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-36]
	ldr	r0, .L10+4
	bl	printf
	mov	r2, #2048
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	memset
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L6
	b	.L5
.L9:
	nop
.L5:
	mov	r2, #1
	ldr	r1, .L10+20
	mov	r0, #1
	bl	write
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	stdin
	.word	2047
	.word	21531
	.word	.LC1
	.size	command, .-command
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter the username: \000"
	.align	2
.LC4:
	.ascii	"Enter the password: \000"
	.text
	.align	2
	.global	login
	.syntax unified
	.arm
	.fpu softvfp
	.type	login, %function
login:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L13
	ldr	r2, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L13+4
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	command
	ldr	r3, .L13+8
	ldr	r2, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L13+12
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	command
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	userCommand.6614
	.word	.LC3
	.word	passwordCommand.6615
	.word	.LC4
	.size	login, .-login
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Bye!\012\000"
	.text
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L16
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L16+4
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	command
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	userCommand.6621
	.word	.LC5
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC6:
	.ascii	"All your mail contains: \000"
	.text
	.align	2
	.global	stat
	.syntax unified
	.arm
	.fpu softvfp
	.type	stat, %function
stat:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L19
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L19+4
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	command
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	userCommand.6626
	.word	.LC6
	.size	stat, .-stat
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Enter the message id (if empty get all): \000"
	.text
	.align	2
	.global	list
	.syntax unified
	.arm
	.fpu softvfp
	.type	list, %function
list:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L22
	ldr	r2, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L22+4
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	command
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	userCommand.6631
	.word	.LC7
	.size	list, .-list
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Enter the reading message id: \000"
	.text
	.align	2
	.global	retr
	.syntax unified
	.arm
	.fpu softvfp
	.type	retr, %function
retr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L25
	ldr	r2, [r3]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L25+4
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	command
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	userCommand.6636
	.word	.LC8
	.size	retr, .-retr
	.section	.rodata
	.align	2
.LC9:
	.ascii	"usage: %s <hostname> <port_number>\012\000"
	.align	2
.LC10:
	.ascii	"socket() failed: %d\000"
	.align	2
.LC11:
	.ascii	"setsockopt(SO_REUSEADDR) failed\000"
	.align	2
.LC12:
	.ascii	"connect() failed: %d\000"
	.align	2
.LC13:
	.ascii	"Enter the command ('?' for help): \000"
	.align	2
.LC14:
	.ascii	"%c\000"
	.align	2
.LC15:
	.ascii	"a - authorization\000"
	.align	2
.LC16:
	.ascii	"l - list of messages in mail\000"
	.align	2
.LC17:
	.ascii	"s - statistic of the message\000"
	.align	2
.LC18:
	.ascii	"r - retrieve the message\000"
	.align	2
.LC19:
	.ascii	"q - quit\000"
	.align	2
.LC20:
	.ascii	"Unknown command, for help type '?'\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2088
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2096
	str	r0, [fp, #-2088]
	str	r1, [fp, #-2092]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2088]
	cmp	r3, #2
	bgt	.L28
	ldr	r3, .L44+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2092]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L44+8
	bl	fprintf
	mov	r3, #1
	b	.L42
.L28:
	ldr	r3, [fp, #-2092]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2080]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-2076]
	ldr	r3, [fp, #-2076]
	cmp	r3, #0
	bge	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+12
	bl	printf
	mov	r3, #1
	b	.L42
.L30:
	mov	r3, #1
	str	r3, [fp, #-2084]
	sub	r3, fp, #2080
	sub	r3, r3, #4
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-2076]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L44+16
	bl	puts
	mov	r3, #1
	b	.L42
.L31:
	sub	r3, fp, #2064
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #2064
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-2092]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-2068]
	ldr	r3, [fp, #-2080]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #2064
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #2064
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L44+20
	bl	printf
	mov	r3, #1
	b	.L42
.L32:
	ldr	r0, .L44+24
	bl	printf
	ldr	r3, .L44+28
	ldr	r3, [r3]
	sub	r2, fp, #2080
	sub	r2, r2, #4
	ldr	r1, .L44+32
	mov	r0, r3
	bl	__isoc99_fscanf
	bl	getchar
	ldrb	r3, [fp, #-2084]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L33
	cmp	r3, #63
	blt	.L34
	cmp	r3, #115
	bgt	.L34
	cmp	r3, #97
	blt	.L34
	sub	r3, r3, #97
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L34
.L36:
	.word	.L40
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L39
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L34
	.word	.L38
	.word	.L37
	.word	.L35
.L40:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	login
	b	.L41
.L39:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	list
	b	.L41
.L35:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	stat
	b	.L41
.L37:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	retr
	b	.L41
.L38:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2076]
	bl	quit
	mov	r3, #0
	b	.L42
.L33:
	ldr	r0, .L44+36
	bl	puts
	ldr	r0, .L44+40
	bl	puts
	ldr	r0, .L44+44
	bl	puts
	ldr	r0, .L44+48
	bl	puts
	ldr	r0, .L44+52
	bl	puts
	b	.L41
.L34:
	ldr	r0, .L44+56
	bl	puts
.L41:
	b	.L32
.L42:
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC21
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stdin
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.section	.rodata
	.align	2
.LC22:
	.ascii	"USER \000"
	.data
	.align	2
	.type	userCommand.6614, %object
	.size	userCommand.6614, 4
userCommand.6614:
	.word	.LC22
	.section	.rodata
	.align	2
.LC23:
	.ascii	"PASS \000"
	.data
	.align	2
	.type	passwordCommand.6615, %object
	.size	passwordCommand.6615, 4
passwordCommand.6615:
	.word	.LC23
	.section	.rodata
	.align	2
.LC24:
	.ascii	"QUIT\000"
	.data
	.align	2
	.type	userCommand.6621, %object
	.size	userCommand.6621, 4
userCommand.6621:
	.word	.LC24
	.section	.rodata
	.align	2
.LC25:
	.ascii	"STAT\000"
	.data
	.align	2
	.type	userCommand.6626, %object
	.size	userCommand.6626, 4
userCommand.6626:
	.word	.LC25
	.section	.rodata
	.align	2
.LC26:
	.ascii	"LIST \000"
	.data
	.align	2
	.type	userCommand.6631, %object
	.size	userCommand.6631, 4
userCommand.6631:
	.word	.LC26
	.section	.rodata
	.align	2
.LC27:
	.ascii	"RETR \000"
	.data
	.align	2
	.type	userCommand.6636, %object
	.size	userCommand.6636, 4
userCommand.6636:
	.word	.LC27
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
