	.file	"615706.c"
	.intel_syntax noprefix
	.text
	.local	raw_output
	.comm	raw_output,4,4
	.local	silent_mode
	.comm	silent_mode,4,4
	.data
	.align 4
	.type	print_colors, @object
	.size	print_colors, 4
print_colors:
	.long	1
	.align 4
	.type	connection_alive, @object
	.size	connection_alive, 4
connection_alive:
	.long	1
	.local	rsock
	.comm	rsock,4,4
	.text
	.globl	exit_proc
	.type	exit_proc, @function
exit_proc:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR rsock[rip]
	cmp	eax, -1
	je	.L3
	mov	eax, DWORD PTR rsock[rip]
	mov	edi, eax
	call	net_close
.L3:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	exit_proc, .-exit_proc
	.globl	sighandler
	.type	sighandler, @function
sighandler:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR connection_alive[rip], 0
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	sighandler, .-sighandler
	.section	.rodata
.LC0:
	.string	"MCRCON_HOST"
.LC1:
	.string	"MCRCON_PASS"
.LC2:
	.string	"MCRCON_PORT"
.LC3:
	.string	"25575"
	.align 8
.LC4:
	.string	"mcrcon 0.6.1 (built: Dec  6 2024 03:57:25)\nhttps://github.com/Tiiffi/mcrcon"
.LC5:
	.string	"vrtcshH:p:P:i"
	.align 8
.LC6:
	.string	"Host not defined (-H flag). Try 'mcrcon -h' or 'man mcrcon' for more information.\n\n"
	.align 8
.LC7:
	.string	"Password not defined (-p flag). Try 'mcrcon -h' 'man mcrcon' for more information.\n\n"
.LC8:
	.string	"Authentication failed!\n"
	.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
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -32[rbp], 0
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC1[rip]
	call	getenv@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC2[rip]
	call	getenv@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	lea	rax, .LC3[rip]
	mov	QWORD PTR -8[rbp], rax
.L6:
	cmp	DWORD PTR -36[rbp], 1
	jg	.L7
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	cmp	QWORD PTR -16[rbp], 0
	jne	.L7
	call	usage
.L7:
	mov	DWORD PTR opterr[rip], 1
	jmp	.L8
.L20:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 63
	cmp	eax, 55
	ja	.L9
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L16-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L17-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L19-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L18-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L17-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L16-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L15-.L11
	.long	.L9-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L10-.L11
	.text
.L19:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L8
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L8
.L15:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L8
.L17:
	mov	DWORD PTR print_colors[rip], 0
	jmp	.L8
.L13:
	mov	DWORD PTR silent_mode[rip], 1
	jmp	.L8
.L12:
	mov	DWORD PTR -32[rbp], 1
	jmp	.L8
.L14:
	mov	DWORD PTR raw_output[rip], 1
	jmp	.L8
.L10:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	call	usage
	jmp	.L8
.L9:
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC5[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L20
	cmp	QWORD PTR -24[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 83
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L22
.L21:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 84
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L24
	cmp	DWORD PTR -32[rbp], 0
	jne	.L24
	mov	DWORD PTR -32[rbp], 1
.L24:
	lea	rdi, exit_proc[rip]
	call	atexit@PLT
	lea	rsi, sighandler[rip]
	mov	edi, 6
	call	signal@PLT
	lea	rsi, sighandler[rip]
	mov	edi, 15
	call	signal@PLT
	lea	rsi, sighandler[rip]
	mov	edi, 2
	call	signal@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	net_connect
	mov	DWORD PTR rsock[rip], eax
	mov	eax, DWORD PTR rsock[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcon_auth
	test	eax, eax
	je	.L25
	cmp	DWORD PTR -32[rbp], 0
	je	.L26
	mov	eax, DWORD PTR rsock[rip]
	mov	edi, eax
	call	run_terminal_mode
	jmp	.L27
.L26:
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	run_commands
	jmp	.L27
.L25:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
.L27:
	mov	eax, DWORD PTR rsock[rip]
	mov	edi, eax
	call	net_close
	mov	DWORD PTR rsock[rip], -1
	mov	eax, 0
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC9:
	.ascii	"Usage: mcrcon [OPTIONS]... [COMMANDS]...\n\nSends rcon comma"
	.ascii	"nds to Minecraft server.\n\nOption:\n  -h\t\tPrint usage\n  "
	.ascii	"-H\t\tServer address\n  -P\t\tPort (default is 25575)\n  -p\t"
	.ascii	"\tRcon password\n  -t\t\tInteractive terminal mode\n  -s\t\t"
	.ascii	"Silent mode (do not print r"
	.string	"eceived packets)\n  -c\t\tDisable colors\n  -r\t\tOutput raw packets (debugging and custom handling)\n  -v\t\tOutput version information\n\nServer address, port and password can be set using following environment variables:\n  MCRCON_HOST\n  MCRCON_PORT\n  MCRCON_PASS\n\n"
	.align 8
.LC10:
	.string	"Command-line options will override environment variables."
	.align 8
.LC11:
	.string	"Rcon commands with arguments must be enclosed in quotes.\n"
	.align 8
.LC12:
	.string	"Example:\n\tmcrcon -H my.minecraft.server -p password \"say Server is restarting!\" save-all stop\n"
	.align 8
.LC13:
	.string	"mcrcon 0.6.1 (built: Dec  6 2024 03:57:25)\nReport bugs to tiiffi_at_gmail_dot_com or https://github.com/Tiiffi/mcrcon/issues/\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB9:
	.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	rcx, rax
	mov	edx, 502
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.globl	net_close
	.type	net_close, @function
net_close:
.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	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	net_close, .-net_close
	.section	.rodata
.LC14:
	.string	"Name resolution failed.\n"
.LC15:
	.string	"Error %d: %s\n"
.LC16:
	.string	"Connection failed.\n"
	.text
	.globl	net_connect
	.type	net_connect, @function
net_connect:
.LFB11:
	.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, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -80[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -68[rbp], 6
	lea	rcx, -96[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	je	.L31
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -100[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -100[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L32
.L37:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], -1
	je	.L41
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], -1
	jne	.L42
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	net_close
	jmp	.L34
.L41:
	nop
.L34:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -88[rbp], rax
.L32:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L37
	jmp	.L36
.L42:
	nop
.L36:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rbx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	net_connect, .-net_connect
	.globl	net_send
	.type	net_send, @function
net_send:
.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, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L44
.L47:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L45
	mov	eax, -1
	jmp	.L46
.L45:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	QWORD PTR -8[rbp], rax
.L44:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L47
	mov	eax, 0
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	net_send, .-net_send
	.globl	net_send_packet
	.type	net_send_packet, @function
net_send_packet:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -8[rbp], -1
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 4
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, [rcx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	je	.L56
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -12[rbp], eax
.L49:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L52
	jmp	.L51
.L56:
	nop
.L51:
	cmp	DWORD PTR -8[rbp], -1
	jne	.L53
	mov	eax, -1
	jmp	.L55
.L53:
	mov	eax, 1
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	net_send_packet, .-net_send_packet
	.section	.rodata
.LC17:
	.string	"Connection lost.\n"
	.align 8
.LC18:
	.string	"Error: recv() failed. Invalid packet size (%d).\n"
	.align 8
.LC19:
	.string	"Warning: invalid packet size (%d). Must over 10 and less than %d.\n"
	.align 8
.LC20:
	.string	"Warning: recv() return value (%d) does not match expected packet size (%d).\n"
	.text
	.globl	net_recv_packet
	.type	net_recv_packet, @function
net_recv_packet:
.LFB14:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L58
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	DWORD PTR connection_alive[rip], 0
	mov	eax, 0
	jmp	.L67
.L58:
	cmp	DWORD PTR -12[rbp], 4
	je	.L60
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR connection_alive[rip], 0
	mov	eax, 0
	jmp	.L67
.L60:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 9
	jle	.L61
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 12240
	jle	.L62
.L61:
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 12240
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 12240
	jg	.L63
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jns	.L64
.L63:
	mov	DWORD PTR -16[rbp], 12240
.L64:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	net_clean_incoming
	mov	eax, 0
	jmp	.L67
.L62:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR packet.1[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	lea	rsi, packet.1[rip+4]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L65
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	DWORD PTR connection_alive[rip], 0
	mov	eax, 0
	jmp	.L67
.L65:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	je	.L66
	mov	ecx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -12[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 12240
	mov	edi, eax
	call	net_clean_incoming
	mov	eax, 0
	jmp	.L67
.L66:
	lea	rax, packet.1[rip]
.L67:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	net_recv_packet, .-net_recv_packet
	.globl	net_clean_incoming
	.type	net_clean_incoming, @function
net_clean_incoming:
.LFB15:
	.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, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L70:
	cmp	rsp, rdx
	je	.L71
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L70
.L71:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L72
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L72:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L73
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	DWORD PTR connection_alive[rip], 0
.L73:
	mov	eax, DWORD PTR -44[rbp]
	mov	rsp, rbx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	net_clean_incoming, .-net_clean_incoming
	.section	.rodata
.LC21:
	.string	"\033[0;30m"
.LC22:
	.string	"\033[0;34m"
.LC23:
	.string	"\033[0;32m"
.LC24:
	.string	"\033[0;36m"
.LC25:
	.string	"\033[0;31m"
.LC26:
	.string	"\033[0;35m"
.LC27:
	.string	"\033[0;33m"
.LC28:
	.string	"\033[0;37m"
.LC29:
	.string	"\033[0;1;30m"
.LC30:
	.string	"\033[0;1;34m"
.LC31:
	.string	"\033[0;1;32m"
.LC32:
	.string	"\033[0:1;36m"
.LC33:
	.string	"\033[0;1;31m"
.LC34:
	.string	"\033[0;1;35m"
.LC35:
	.string	"\033[0;1;33m"
.LC36:
	.string	"\033[0;1;37m"
.LC37:
	.string	"\033[4m"
.LC38:
	.string	"\033[0m"
	.text
	.globl	print_color
	.type	print_color, @function
print_color:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -144[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -136[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -112[rbp], rax
	lea	rax, .LC26[rip]
	mov	QWORD PTR -104[rbp], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, .LC28[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC29[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC30[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC31[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC32[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC33[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC34[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC35[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC36[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC37[rip]
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -148[rbp], 0
	je	.L77
	cmp	DWORD PTR -148[rbp], 114
	jne	.L78
.L77:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	jmp	.L76
.L78:
	cmp	DWORD PTR -148[rbp], 96
	jle	.L80
	cmp	DWORD PTR -148[rbp], 102
	jg	.L80
	sub	DWORD PTR -148[rbp], 87
	jmp	.L81
.L80:
	cmp	DWORD PTR -148[rbp], 47
	jle	.L82
	cmp	DWORD PTR -148[rbp], 57
	jg	.L82
	sub	DWORD PTR -148[rbp], 48
	jmp	.L81
.L82:
	cmp	DWORD PTR -148[rbp], 110
	jne	.L86
	mov	DWORD PTR -148[rbp], 16
.L81:
	mov	rdx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L76
.L86:
	nop
.L76:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L85
	call	__stack_chk_fail@PLT
.L85:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_color, .-print_color
	.globl	packet_print
	.type	packet_print, @function
packet_print:
.LFB17:
	.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
	mov	eax, DWORD PTR raw_output[rip]
	cmp	eax, 1
	jne	.L88
	mov	DWORD PTR -12[rbp], 0
	jmp	.L89
.L90:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L89:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	test	al, al
	jne	.L90
	jmp	.L87
.L88:
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR print_colors[rip]
	cmp	eax, 1
	jne	.L92
	mov	DWORD PTR -8[rbp], 0
	jmp	.L93
.L97:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, 10
	jne	.L94
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	print_color
	jmp	.L95
.L94:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, -62
	jne	.L95
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, -89
	jne	.L95
	add	DWORD PTR -8[rbp], 2
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	print_color
	jmp	.L96
.L95:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L96:
	add	DWORD PTR -8[rbp], 1
.L93:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	test	al, al
	jne	.L97
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	print_color
	jmp	.L98
.L92:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L99
.L102:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, -62
	jne	.L100
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, -89
	jne	.L100
	add	DWORD PTR -8[rbp], 2
	jmp	.L101
.L100:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L101:
	add	DWORD PTR -8[rbp], 1
.L99:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	test	al, al
	jne	.L102
.L98:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, 10
	je	.L87
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -24[rbp]
	cdqe
	movzx	eax, BYTE PTR 12[rdx+rax]
	cmp	al, 13
	je	.L87
	mov	edi, 10
	call	putchar@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	packet_print, .-packet_print
	.section	.rodata
	.align 8
.LC39:
	.string	"Warning: Command string too long (%d). Maximum allowed: %d.\n"
	.text
	.globl	packet_build
	.type	packet_build, @function
packet_build:
.LFB18:
	.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	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 12240
	jle	.L104
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, 12240
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L105
.L104:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 10
	mov	DWORD PTR packet.0[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR packet.0[rip+4], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR packet.0[rip+8], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 12240
	mov	rsi, rax
	lea	rdi, packet.0[rip+12]
	call	strncpy@PLT
	lea	rax, packet.0[rip]
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	packet_build, .-packet_build
	.globl	packet_build_malloc
	.type	packet_build_malloc, @function
packet_build_malloc:
.LFB19:
	.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	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L107
	mov	eax, 0
	jmp	.L108
.L107:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	sub	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 12[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 13[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
.L108:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	packet_build_malloc, .-packet_build_malloc
	.section	.rodata
	.align 8
.LC40:
	.string	"Warning: command string is too long. Truncating to %u characters.\n"
	.text
	.globl	packet_build_new
	.type	packet_build_new, @function
packet_build_new:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1520
	mov	QWORD PTR -1496[rbp], rdi
	mov	DWORD PTR -1500[rbp], esi
	mov	DWORD PTR -1504[rbp], edx
	mov	QWORD PTR -1512[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1512[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -1480[rbp], rax
	cmp	QWORD PTR -1480[rbp], 1446
	jbe	.L110
	mov	QWORD PTR -1480[rbp], 1446
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 1446
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L110:
	mov	rax, QWORD PTR -1480[rbp]
	add	eax, 10
	mov	DWORD PTR -1472[rbp], eax
	mov	eax, DWORD PTR -1500[rbp]
	mov	DWORD PTR -1468[rbp], eax
	mov	eax, DWORD PTR -1504[rbp]
	mov	DWORD PTR -1464[rbp], eax
	mov	rdx, QWORD PTR -1480[rbp]
	mov	rax, QWORD PTR -1512[rbp]
	lea	rcx, -1472[rbp]
	add	rcx, 12
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	lea	rdx, -1460[rbp]
	mov	rax, QWORD PTR -1480[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -1480[rbp]
	add	rax, 1
	mov	BYTE PTR -1460[rbp+rax], 0
	mov	rax, QWORD PTR -1496[rbp]
	mov	rdx, rax
	lea	rax, -1472[rbp]
	mov	ecx, 1460
	mov	rsi, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rsi
	mov	esi, ecx
	add	rsi, rdx
	lea	rdi, 8[rsi]
	mov	esi, ecx
	add	rsi, rax
	add	rsi, 8
	mov	rsi, QWORD PTR -16[rsi]
	mov	QWORD PTR -16[rdi], rsi
	lea	rdi, 8[rdx]
	and	rdi, -8
	sub	rdx, rdi
	sub	rax, rdx
	add	ecx, edx
	and	ecx, -8
	shr	ecx, 3
	mov	edx, ecx
	mov	edx, edx
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L112
	call	__stack_chk_fail@PLT
.L112:
	mov	rax, QWORD PTR -1496[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	packet_build_new, .-packet_build_new
	.globl	rcon_auth
	.type	rcon_auth, @function
rcon_auth:
.LFB21:
	.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	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	esi, 3
	mov	edi, 195936478
	call	packet_build
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L114
	mov	eax, 0
	jmp	.L115
.L114:
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	net_send_packet
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jne	.L116
	mov	eax, 0
	jmp	.L115
.L116:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	net_recv_packet
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L117
	mov	eax, 0
	jmp	.L115
.L117:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, -1
	setne	al
	movzx	eax, al
.L115:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	rcon_auth, .-rcon_auth
	.globl	rcon_command
	.type	rcon_command, @function
rcon_command:
.LFB22:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -48[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 195936478
	mov	rdi, rax
	call	packet_build_malloc
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L119
	mov	DWORD PTR connection_alive[rip], 0
	mov	eax, 0
	jmp	.L124
.L119:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	net_send
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	net_recv_packet
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L121
	mov	eax, 0
	jmp	.L124
.L121:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 195936478
	je	.L122
	mov	eax, 0
	jmp	.L124
.L122:
	mov	eax, DWORD PTR silent_mode[rip]
	test	eax, eax
	jne	.L123
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 10
	jle	.L123
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	packet_print
.L123:
	mov	eax, 1
.L124:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L125
	call	__stack_chk_fail@PLT
.L125:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	rcon_command, .-rcon_command
	.globl	run_commands
	.type	run_commands, @function
run_commands:
.LFB23:
	.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 -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L127
.L129:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR rsock[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	rcon_command
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L127:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L128
	cmp	DWORD PTR -8[rbp], 0
	jne	.L129
.L128:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	run_commands, .-run_commands
	.section	.rodata
.LC41:
	.string	"Logged in. Type \"Q\" to quit!"
	.text
	.globl	run_terminal_mode
	.type	run_terminal_mode, @function
run_terminal_mode:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	mov	DWORD PTR -12276[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12264[rbp], 0
	mov	QWORD PTR -12256[rbp], 0
	mov	QWORD PTR -12248[rbp], 0
	lea	rax, -12240[rbp]
	mov	edx, 12224
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	jmp	.L132
.L136:
	lea	rax, -12256[rbp]
	mov	esi, 12240
	mov	rdi, rax
	call	get_line
	mov	DWORD PTR -12260[rbp], eax
	movzx	eax, BYTE PTR -12256[rbp]
	cmp	al, 81
	jne	.L133
	movzx	eax, BYTE PTR -12255[rbp]
	test	al, al
	je	.L139
.L133:
	cmp	DWORD PTR -12260[rbp], 0
	jle	.L135
	mov	eax, DWORD PTR connection_alive[rip]
	test	eax, eax
	je	.L135
	lea	rdx, -12256[rbp]
	mov	eax, DWORD PTR -12276[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	rcon_command
	add	DWORD PTR -12264[rbp], eax
.L135:
	mov	DWORD PTR -12260[rbp], 0
	mov	BYTE PTR -12256[rbp], 0
.L132:
	mov	eax, DWORD PTR connection_alive[rip]
	test	eax, eax
	jne	.L136
	jmp	.L134
.L139:
	nop
.L134:
	mov	eax, DWORD PTR -12264[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L138
	call	__stack_chk_fail@PLT
.L138:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	run_terminal_mode, .-run_terminal_mode
	.section	.rodata
.LC42:
	.string	"\r\n"
	.text
	.globl	get_line
	.type	get_line, @function
get_line:
.LFB25:
	.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
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 62
	call	fputc@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L141
	mov	DWORD PTR connection_alive[rip], 0
.L141:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strcspn@PLT
	mov	rdx, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jne	.L142
	nop
.L143:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 10
	je	.L142
	cmp	DWORD PTR -4[rbp], -1
	jne	.L143
.L142:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	get_line, .-get_line
	.globl	is_bigendian
	.type	is_bigendian, @function
is_bigendian:
.LFB26:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 1
	lea	rax, -12[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L146
	mov	eax, 1
	jmp	.L148
.L146:
	mov	eax, 0
.L148:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L149
	call	__stack_chk_fail@PLT
.L149:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	is_bigendian, .-is_bigendian
	.globl	reverse_int32
	.type	reverse_int32, @function
reverse_int32:
.LFB27:
	.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	DWORD PTR -36[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -28[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -36[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 2[rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L152
	call	__stack_chk_fail@PLT
.L152:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	reverse_int32, .-reverse_int32
	.local	packet.1
	.comm	packet.1,12252,32
	.local	packet.0
	.comm	packet.0,12252,32
	.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	"615706.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[0;30m\000"
	.align	2
.LC1:
	.ascii	"\033[0;34m\000"
	.align	2
.LC2:
	.ascii	"\033[0;32m\000"
	.align	2
.LC3:
	.ascii	"\033[0;36m\000"
	.align	2
.LC4:
	.ascii	"\033[0;31m\000"
	.align	2
.LC5:
	.ascii	"\033[0;35m\000"
	.align	2
.LC6:
	.ascii	"\033[0;33m\000"
	.align	2
.LC7:
	.ascii	"\033[0;37m\000"
	.align	2
.LC8:
	.ascii	"\033[0;1;30m\000"
	.align	2
.LC9:
	.ascii	"\033[0;1;34m\000"
	.align	2
.LC10:
	.ascii	"\033[0;1;32m\000"
	.align	2
.LC11:
	.ascii	"\033[0:1;36m\000"
	.align	2
.LC12:
	.ascii	"\033[0;1;31m\000"
	.align	2
.LC13:
	.ascii	"\033[0;1;35m\000"
	.align	2
.LC14:
	.ascii	"\033[0;1;33m\000"
	.align	2
.LC15:
	.ascii	"\033[0;1;37m\000"
	.align	2
.LC16:
	.ascii	"\033[4m\000"
	.text
	.local	raw_output
	.comm	raw_output,4,4
	.local	silent_mode
	.comm	silent_mode,4,4
	.data
	.align	2
	.type	print_colors, %object
	.size	print_colors, 4
print_colors:
	.word	1
	.align	2
	.type	connection_alive, %object
	.size	connection_alive, 4
connection_alive:
	.word	1
	.local	rsock
	.comm	rsock,4,4
	.text
	.align	2
	.global	exit_proc
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_proc, %function
exit_proc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L4
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L3
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r0, r3
	bl	net_close
.L3:
	nop
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	rsock
	.size	exit_proc, .-exit_proc
	.align	2
	.global	sighandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighandler, %function
sighandler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L7
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #0
	bl	exit
.L8:
	.align	2
.L7:
	.word	connection_alive
	.size	sighandler, .-sighandler
	.section	.rodata
	.align	2
.LC18:
	.ascii	"MCRCON_HOST\000"
	.align	2
.LC19:
	.ascii	"MCRCON_PASS\000"
	.align	2
.LC20:
	.ascii	"MCRCON_PORT\000"
	.align	2
.LC21:
	.ascii	"25575\000"
	.align	2
.LC22:
	.ascii	"mcrcon 0.6.1 (built: Dec  6 2024 03:57:24)\012https"
	.ascii	"://github.com/Tiiffi/mcrcon\000"
	.align	2
.LC23:
	.ascii	"vrtcshH:p:P:i\000"
	.align	2
.LC24:
	.ascii	"Host not defined (-H flag). Try 'mcrcon -h' or 'man"
	.ascii	" mcrcon' for more information.\012\012\000"
	.align	2
.LC25:
	.ascii	"Password not defined (-p flag). Try 'mcrcon -h' 'ma"
	.ascii	"n mcrcon' for more information.\012\012\000"
	.align	2
.LC26:
	.ascii	"Authentication failed!\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, .L32
	bl	getenv
	str	r0, [fp, #-20]
	ldr	r0, .L32+4
	bl	getenv
	str	r0, [fp, #-16]
	ldr	r0, .L32+8
	bl	getenv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L32+12
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L11
	bl	usage
.L11:
	ldr	r3, .L32+16
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L24:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #63
	cmp	r3, #55
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L15:
	.word	.L20
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L21
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L23
	.word	.L16
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L22
	.word	.L13
	.word	.L13
	.word	.L17
	.word	.L16
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L21
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L20
	.word	.L16
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L13
	.word	.L19
	.word	.L13
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L13
	.word	.L14
.L23:
	ldr	r3, .L32+20
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L12
.L22:
	ldr	r3, .L32+20
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L12
.L19:
	ldr	r3, .L32+20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L12
.L21:
	ldr	r3, .L32+24
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L17:
	ldr	r3, .L32+28
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L16:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L12
.L18:
	ldr	r3, .L32+32
	mov	r2, #1
	str	r2, [r3]
	b	.L12
.L14:
	ldr	r0, .L32+36
	bl	puts
	mov	r0, #0
	bl	exit
.L20:
	bl	usage
	b	.L12
.L13:
	mov	r0, #1
	bl	exit
.L12:
	ldr	r2, .L32+40
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L24
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L32+44
	ldr	r3, [r3]
	mov	r2, #83
	mov	r1, #1
	ldr	r0, .L32+48
	bl	fwrite
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L32+44
	ldr	r3, [r3]
	mov	r2, #84
	mov	r1, #1
	ldr	r0, .L32+52
	bl	fwrite
	mov	r3, #0
	b	.L26
.L27:
	ldr	r3, .L32+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L28
	mov	r3, #1
	str	r3, [fp, #-24]
.L28:
	ldr	r0, .L32+60
	bl	atexit
	ldr	r1, .L32+64
	mov	r0, #6
	bl	signal
	ldr	r1, .L32+64
	mov	r0, #15
	bl	signal
	ldr	r1, .L32+64
	mov	r0, #2
	bl	signal
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	net_connect
	mov	r3, r0
	ldr	r2, .L32+68
	str	r3, [r2]
	ldr	r3, .L32+68
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	rcon_auth
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L32+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	run_terminal_mode
	b	.L31
.L30:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	run_commands
	b	.L31
.L29:
	ldr	r3, .L32+44
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L32+72
	bl	fwrite
.L31:
	ldr	r3, .L32+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	net_close
	ldr	r3, .L32+68
	mvn	r2, #0
	str	r2, [r3]
	mov	r3, #0
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	opterr
	.word	optarg
	.word	print_colors
	.word	silent_mode
	.word	raw_output
	.word	.LC22
	.word	.LC23
	.word	stdout
	.word	.LC24
	.word	.LC25
	.word	optind
	.word	exit_proc
	.word	sighandler
	.word	rsock
	.word	.LC26
	.size	main, .-main
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Usage: mcrcon [OPTIONS]... [COMMANDS]...\012\012Sen"
	.ascii	"ds rcon commands to Minecraft server.\012\012Option"
	.ascii	":\012  -h\011\011Print usage\012  -H\011\011Server "
	.ascii	"address\012  -P\011\011Port (default is 25575)\012 "
	.ascii	" -p\011\011Rcon password\012  -t\011\011Interactive"
	.ascii	" terminal mode\012  -s\011\011Silent mode (do not p"
	.ascii	"rint received packets)\012  -c\011\011Disable color"
	.ascii	"s\012  -r\011\011Output raw packets (debugging and "
	.ascii	"custom handling)\012  -v\011\011Output version info"
	.ascii	"rmation\012\012Server address, port and password ca"
	.ascii	"n be set using following environment variables:\012"
	.ascii	"  MCRCON_HOST\012  MCRCON_PORT\012  MCRCON_PASS\012"
	.ascii	"\012\000"
	.align	2
.LC28:
	.ascii	"Command-line options will override environment vari"
	.ascii	"ables.\000"
	.align	2
.LC29:
	.ascii	"Rcon commands with arguments must be enclosed in qu"
	.ascii	"otes.\012\000"
	.align	2
.LC30:
	.ascii	"Example:\012\011mcrcon -H my.minecraft.server -p pa"
	.ascii	"ssword \"say Server is restarting!\" save-all stop\012"
	.ascii	"\000"
	.align	2
.LC31:
	.ascii	"mcrcon 0.6.1 (built: Dec  6 2024 03:57:24)\012Repor"
	.ascii	"t bugs to tiiffi_at_gmail_dot_com or https://github"
	.ascii	".com/Tiiffi/mcrcon/issues/\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L35
	ldr	r3, [r3]
	ldr	r2, .L35+4
	mov	r1, #1
	ldr	r0, .L35+8
	bl	fwrite
	ldr	r0, .L35+12
	bl	puts
	ldr	r0, .L35+16
	bl	puts
	ldr	r0, .L35+20
	bl	puts
	ldr	r0, .L35+24
	bl	puts
	mov	r0, #0
	bl	exit
.L36:
	.align	2
.L35:
	.word	stdout
	.word	502
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	usage, .-usage
	.align	2
	.global	net_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_close, %function
net_close:
	@ 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	r0, [fp, #-8]
	bl	close
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	net_close, .-net_close
	.section	.rodata
	.align	2
.LC32:
	.ascii	"Name resolution failed.\012\000"
	.align	2
.LC33:
	.ascii	"Error %d: %s\012\000"
	.align	2
.LC34:
	.ascii	"Connection failed.\012\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	net_connect
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_connect, %function
net_connect:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #6
	str	r3, [fp, #-36]
	sub	r3, fp, #64
	sub	r2, fp, #48
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-72]
	bl	getaddrinfo
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L51+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L51+8
	bl	fwrite
	ldr	r3, .L51+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-52]
	bl	gai_strerror
	mov	r3, r0
	ldr	r2, [fp, #-52]
	ldr	r1, .L51+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L39:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	b	.L40
.L45:
	ldr	r3, [fp, #-56]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-56]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmn	r3, #1
	beq	.L49
	ldr	r3, [fp, #-56]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-60]
	bl	connect
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L50
	ldr	r0, [fp, #-60]
	bl	net_close
	b	.L42
.L49:
	nop
.L42:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-56]
.L40:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L45
	b	.L44
.L50:
	nop
.L44:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L51+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L51+16
	bl	fwrite
	ldr	r3, .L51+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L51+12
	mov	r0, r4
	bl	fprintf
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	freeaddrinfo
	mov	r0, #1
	bl	exit
.L46:
	ldr	r3, [fp, #-64]
	mov	r0, r3
	bl	freeaddrinfo
	ldr	r3, [fp, #-60]
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC35
	.word	stderr
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	net_connect, .-net_connect
	.align	2
	.global	net_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_send, %function
net_send:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	b	.L54
.L57:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r1, r2, r3
	mov	r3, #0
	ldr	r2, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	send
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L55
	mvn	r3, #0
	b	.L56
.L55:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
.L54:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L57
	mov	r3, #0
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	net_send, .-net_send
	.align	2
	.global	net_send_packet
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_send_packet, %function
net_send_packet:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mvn	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	add	r3, r3, #4
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	b	.L59
.L62:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	ldr	r2, [fp, #-16]
	mov	r3, #0
	ldr	r0, [fp, #-24]
	bl	send
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L66
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L59:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L62
	b	.L61
.L66:
	nop
.L61:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L63
	mvn	r3, #0
	b	.L65
.L63:
	mov	r3, #1
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	net_send_packet, .-net_send_packet
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Connection lost.\012\000"
	.align	2
.LC37:
	.ascii	"Error: recv() failed. Invalid packet size (%d).\012"
	.ascii	"\000"
	.align	2
.LC38:
	.ascii	"Warning: invalid packet size (%d). Must over 10 and"
	.ascii	" less than %d.\012\000"
	.align	2
.LC39:
	.ascii	"Warning: recv() return value (%d) does not match ex"
	.ascii	"pected packet size (%d).\012\000"
	.align	2
.LC40:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	net_recv_packet
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_recv_packet, %function
net_recv_packet:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r1, fp, #16
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-24]
	bl	recv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L79+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L79+8
	bl	fwrite
	ldr	r3, .L79+12
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L77
.L68:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L70
	ldr	r3, .L79+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L79+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L79+12
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L77
.L70:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L71
	ldr	r3, [fp, #-16]
	ldr	r2, .L79+20
	cmp	r3, r2
	ble	.L72
.L71:
	ldr	r3, .L79+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, .L79+20
	ldr	r1, .L79+24
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, .L79+20
	cmp	r3, r2
	bgt	.L73
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L74
.L73:
	ldr	r3, .L79+20
	str	r3, [fp, #-16]
.L74:
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	net_clean_incoming
	mov	r3, #0
	b	.L77
.L72:
	ldr	r3, [fp, #-16]
	ldr	r2, .L79+28
	str	r3, [r2]
	ldr	r1, .L79+32
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mov	r3, #0
	ldr	r0, [fp, #-24]
	bl	recv
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L75
	ldr	r3, .L79+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L79+8
	bl	fwrite
	ldr	r3, .L79+12
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L77
.L75:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	beq	.L76
	ldr	r3, .L79+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L79+36
	bl	fprintf
	ldr	r1, .L79+20
	ldr	r0, [fp, #-24]
	bl	net_clean_incoming
	mov	r3, #0
	b	.L77
.L76:
	ldr	r3, .L79+28
.L77:
	ldr	r2, .L79
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC40
	.word	stderr
	.word	.LC36
	.word	connection_alive
	.word	.LC37
	.word	12240
	.word	.LC38
	.word	packet.7083
	.word	packet.7083+4
	.word	.LC39
	.size	net_recv_packet, .-net_recv_packet
	.section	.rodata
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	net_clean_incoming
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_clean_incoming, %function
net_clean_incoming:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-36]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	mov	r3, #0
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	recv
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L82
	ldr	r3, .L85+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L85+8
	bl	fwrite
	ldr	r3, .L85+12
	mov	r2, #0
	str	r2, [r3]
.L82:
	ldr	r3, [fp, #-20]
	mov	sp, r4
	ldr	r2, .L85
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC41
	.word	stderr
	.word	.LC36
	.word	connection_alive
	.size	net_clean_incoming, .-net_clean_incoming
	.section	.rodata
	.align	2
.LC43:
	.ascii	"\033[0m\000"
	.align	2
.LC42:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_color
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_color, %function
print_color:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L98
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L98+4
	sub	r3, fp, #76
	mov	r1, r2
	mov	r2, #68
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L88
	ldr	r3, [fp, #-80]
	cmp	r3, #114
	bne	.L89
.L88:
	ldr	r3, .L98+8
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L98+12
	bl	fwrite
	b	.L87
.L89:
	ldr	r3, [fp, #-80]
	cmp	r3, #96
	ble	.L91
	ldr	r3, [fp, #-80]
	cmp	r3, #102
	bgt	.L91
	ldr	r3, [fp, #-80]
	sub	r3, r3, #87
	str	r3, [fp, #-80]
	b	.L92
.L91:
	ldr	r3, [fp, #-80]
	cmp	r3, #47
	ble	.L93
	ldr	r3, [fp, #-80]
	cmp	r3, #57
	bgt	.L93
	ldr	r3, [fp, #-80]
	sub	r3, r3, #48
	str	r3, [fp, #-80]
	b	.L92
.L93:
	ldr	r3, [fp, #-80]
	cmp	r3, #110
	bne	.L97
	mov	r3, #16
	str	r3, [fp, #-80]
.L92:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-72]
	ldr	r2, .L98+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	fputs
	b	.L87
.L97:
	nop
.L87:
	ldr	r3, .L98
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L96
	bl	__stack_chk_fail
.L96:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L99:
	.align	2
.L98:
	.word	.LC44
	.word	.LC42
	.word	stdout
	.word	.LC43
	.size	print_color, .-print_color
	.align	2
	.global	packet_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	packet_print, %function
packet_print:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L116
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L101
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L102
.L103:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L102:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L103
	b	.L100
.L101:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L116+4
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L105
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L106
.L110:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L107
	ldr	r0, [fp, #-8]
	bl	print_color
	b	.L108
.L107:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #194
	bne	.L108
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #167
	bne	.L108
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	print_color
	b	.L109
.L108:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L109:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L106:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L110
	ldr	r0, [fp, #-8]
	bl	print_color
	b	.L111
.L105:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L112
.L115:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #194
	bne	.L113
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #167
	bne	.L113
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	b	.L114
.L113:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L114:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L112:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L115
.L111:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L100
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L100
	mov	r0, #10
	bl	putchar
.L100:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L117:
	.align	2
.L116:
	.word	raw_output
	.word	print_colors
	.size	packet_print, .-packet_print
	.section	.rodata
	.align	2
.LC45:
	.ascii	"Warning: Command string too long (%d). Maximum allo"
	.ascii	"wed: %d.\012\000"
	.text
	.align	2
	.global	packet_build
	.syntax unified
	.arm
	.fpu softvfp
	.type	packet_build, %function
packet_build:
	@ args = 0, pretend = 0, frame = 24
	@ 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]
	str	r2, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L121
	cmp	r3, r2
	ble	.L119
	ldr	r3, .L121+4
	ldr	r0, [r3]
	ldr	r3, .L121
	ldr	r2, [fp, #-8]
	ldr	r1, .L121+8
	bl	fprintf
	mov	r3, #0
	b	.L120
.L119:
	ldr	r3, [fp, #-8]
	add	r3, r3, #10
	mov	r2, r3
	ldr	r3, .L121+12
	str	r2, [r3]
	ldr	r2, .L121+12
	ldr	r3, [fp, #-16]
	str	r3, [r2, #4]
	ldr	r2, .L121+12
	ldr	r3, [fp, #-20]
	str	r3, [r2, #8]
	ldr	r2, .L121
	ldr	r1, [fp, #-24]
	ldr	r0, .L121+16
	bl	strncpy
	ldr	r3, .L121+12
.L120:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L122:
	.align	2
.L121:
	.word	12240
	.word	stderr
	.word	.LC45
	.word	packet.7117
	.word	packet.7117+12
	.size	packet_build, .-packet_build
	.align	2
	.global	packet_build_malloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	packet_build_malloc, %function
packet_build_malloc:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	strlen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r2, r3, #14
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L124
	mov	r3, #0
	b	.L125
.L124:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #13
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
.L125:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	packet_build_malloc, .-packet_build_malloc
	.section	.rodata
	.align	2
.LC46:
	.ascii	"Warning: command string is too long. Truncating to "
	.ascii	"%u characters.\012\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	packet_build_new
	.syntax unified
	.arm
	.fpu softvfp
	.type	packet_build_new, %function
packet_build_new:
	@ args = 0, pretend = 0, frame = 1488
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1488
	str	r0, [fp, #-1480]
	str	r1, [fp, #-1484]
	str	r2, [fp, #-1488]
	str	r3, [fp, #-1492]
	ldr	r3, .L130
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-1492]
	bl	strlen
	str	r0, [fp, #-1472]
	ldr	r3, [fp, #-1472]
	ldr	r2, .L130+4
	cmp	r3, r2
	bls	.L127
	ldr	r3, .L130+4
	str	r3, [fp, #-1472]
	ldr	r3, .L130+8
	ldr	r3, [r3]
	ldr	r2, .L130+4
	ldr	r1, .L130+12
	mov	r0, r3
	bl	fprintf
.L127:
	ldr	r3, [fp, #-1472]
	add	r3, r3, #10
	str	r3, [fp, #-1468]
	ldr	r3, [fp, #-1484]
	str	r3, [fp, #-1464]
	ldr	r3, [fp, #-1488]
	str	r3, [fp, #-1460]
	sub	r3, fp, #1456
	sub	r3, r3, #4
	sub	r3, r3, #8
	add	r3, r3, #12
	ldr	r2, [fp, #-1472]
	ldr	r1, [fp, #-1492]
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #1440
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1472]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1472]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1452]
	ldr	r3, [fp, #-1480]
	mov	r0, r3
	sub	r3, fp, #1456
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, .L130+16
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L130
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L129
	bl	__stack_chk_fail
.L129:
	ldr	r0, [fp, #-1480]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L131:
	.align	2
.L130:
	.word	.LC47
	.word	1446
	.word	stderr
	.word	.LC46
	.word	1460
	.size	packet_build_new, .-packet_build_new
	.align	2
	.global	rcon_auth
	.syntax unified
	.arm
	.fpu softvfp
	.type	rcon_auth, %function
rcon_auth:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	r1, #3
	ldr	r0, .L137
	bl	packet_build
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L133
	mov	r3, #0
	b	.L134
.L133:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	net_send_packet
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L135
	mov	r3, #0
	b	.L134
.L135:
	ldr	r0, [fp, #-16]
	bl	net_recv_packet
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L136
	mov	r3, #0
	b	.L134
.L136:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmn	r3, #1
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
.L134:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L138:
	.align	2
.L137:
	.word	195936478
	.size	rcon_auth, .-rcon_auth
	.section	.rodata
	.align	2
.LC48:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rcon_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	rcon_command, %function
rcon_command:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L147
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #20
	ldr	r3, [fp, #-28]
	mov	r2, #2
	ldr	r1, .L147+4
	bl	packet_build_malloc
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L140
	ldr	r3, .L147+8
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L145
.L140:
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	net_send
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r0, [fp, #-24]
	bl	net_recv_packet
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L142
	mov	r3, #0
	b	.L145
.L142:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L147+4
	cmp	r3, r2
	beq	.L143
	mov	r3, #0
	b	.L145
.L143:
	ldr	r3, .L147+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L144
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #10
	ble	.L144
	ldr	r0, [fp, #-12]
	bl	packet_print
.L144:
	mov	r3, #1
.L145:
	ldr	r2, .L147
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L146
	bl	__stack_chk_fail
.L146:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	.LC48
	.word	195936478
	.word	connection_alive
	.word	silent_mode
	.size	rcon_command, .-rcon_command
	.align	2
	.global	run_commands
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_commands, %function
run_commands:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L154
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L150
.L152:
	ldr	r3, .L154+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	bl	rcon_command
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L150:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L151
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L152
.L151:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L155:
	.align	2
.L154:
	.word	optind
	.word	rsock
	.size	run_commands, .-run_commands
	.section	.rodata
	.align	2
.LC49:
	.ascii	"Logged in. Type \"Q\" to quit!\000"
	.align	2
.LC50:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_terminal_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_terminal_mode, %function
run_terminal_mode:
	@ args = 0, pretend = 0, frame = 12264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12224
	sub	sp, sp, #44
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-4068]
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4060]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-4052]
	sub	r3, r3, #4048
	ldr	r2, .L165+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L165+8
	bl	puts
	b	.L157
.L161:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #12224
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, .L165+12
	mov	r0, r3
	bl	get_line
	str	r0, [r4, #-4056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4052]	@ zero_extendqisi2
	cmp	r3, #81
	bne	.L158
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4051]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L164
.L158:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-4056]
	cmp	r3, #0
	ble	.L160
	ldr	r3, .L165+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L160
	sub	r3, fp, #12224
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-4068]
	bl	rcon_command
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-4060]
	add	r3, r2, r3
	str	r3, [r1, #-4060]
.L160:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-4052]
.L157:
	ldr	r3, .L165+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L161
	b	.L159
.L164:
	nop
.L159:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-4060]
	ldr	r2, .L165
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L163
	bl	__stack_chk_fail
.L163:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC50
	.word	12236
	.word	.LC49
	.word	12240
	.word	connection_alive
	.size	run_terminal_mode, .-run_terminal_mode
	.section	.rodata
	.align	2
.LC51:
	.ascii	"\015\012\000"
	.text
	.align	2
	.global	get_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_line, %function
get_line:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, .L172
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #62
	bl	fputc
	ldr	r3, .L172+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	fgets
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L168
	ldr	r3, .L172+8
	mov	r2, #0
	str	r2, [r3]
.L168:
	ldr	r1, .L172+12
	ldr	r0, [fp, #-16]
	bl	strcspn
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L169
	nop
.L170:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L169
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L170
.L169:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L173:
	.align	2
.L172:
	.word	stdout
	.word	stdin
	.word	connection_alive
	.word	.LC51
	.size	get_line, .-get_line
	.section	.rodata
	.align	2
.LC52:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	is_bigendian
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_bigendian, %function
is_bigendian:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L179
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L175
	mov	r3, #1
	b	.L177
.L175:
	mov	r3, #0
.L177:
	ldr	r2, .L179
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L178
	bl	__stack_chk_fail
.L178:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L180:
	.align	2
.L179:
	.word	.LC52
	.size	is_bigendian, .-is_bigendian
	.section	.rodata
	.align	2
.LC53:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	reverse_int32
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse_int32, %function
reverse_int32:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L184
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #20
	str	r3, [fp, #-16]
	sub	r3, fp, #24
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	ldrb	r2, [r2, #2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldr	r2, [fp, #-12]
	ldrb	r2, [r2, #1]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	ldr	r2, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, .L184
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L183
	bl	__stack_chk_fail
.L183:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L185:
	.align	2
.L184:
	.word	.LC53
	.size	reverse_int32, .-reverse_int32
	.local	packet.7083
	.comm	packet.7083,12252,4
	.local	packet.7117
	.comm	packet.7117,12252,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
