	.file	"64199368.c"
	.intel_syntax noprefix
	.text
	.data
	.align 16
	.type	revision_str, @object
	.size	revision_str, 18
revision_str:
	.string	"$Revision: 8789 $"
	.align 32
	.type	date_str, @object
	.size	date_str, 54
date_str:
	.string	"$Date: 2019-08-05 08:31:56 +0000 (Mon, 05 Aug 2019) $"
	.align 4
	.type	tty_baud, @object
	.size	tty_baud, 4
tty_baud:
	.long	19200
	.section	.rodata
.LC0:
	.string	"/dev/gps"
	.section	.data.rel.local,"aw"
	.align 8
	.type	tty_port, @object
	.size	tty_port, 8
tty_port:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"/dev/stdin"
	.section	.data.rel.local
	.align 8
	.type	file_path, @object
	.size	file_path, 8
file_path:
	.quad	.LC1
	.data
	.align 4
	.type	input_mode, @object
	.size	input_mode, 4
input_mode:
	.long	3
	.align 4
	.type	sisnet, @object
	.size	sisnet, 4
sisnet:
	.long	31
	.align 4
	.type	gps_file, @object
	.size	gps_file, 4
gps_file:
	.long	-1
	.align 4
	.type	gps_socket, @object
	.size	gps_socket, 4
gps_socket:
	.long	-1
	.align 4
	.type	socket_tcp, @object
	.size	socket_tcp, 4
socket_tcp:
	.long	-1
	.align 4
	.type	socket_udp, @object
	.size	socket_udp, 4
socket_udp:
	.long	-1
	.align 4
	.type	gps_serial, @object
	.size	gps_serial, 4
gps_serial:
	.long	-1
	.local	sigpipe_received
	.comm	sigpipe_received,4,4
	.local	sigalarm_received
	.comm	sigalarm_received,4,4
	.local	sigint_received
	.comm	sigint_received,4,4
	.align 4
	.type	reconnect_sec, @object
	.size	reconnect_sec, 4
reconnect_sec:
	.long	1
	.section	.rodata
.LC2:
	.string	"www.euref-ip.net"
	.section	.data.rel.local
	.align 8
	.type	caster_out_host, @object
	.size	caster_out_host, 8
caster_out_host:
	.quad	.LC2
	.local	rtsp_extension
	.comm	rtsp_extension,64,32
	.local	mountpoint
	.comm	mountpoint,8,8
	.data
	.align 4
	.type	udp_cseq, @object
	.size	udp_cseq, 4
udp_cseq:
	.long	1
	.local	udp_tim
	.comm	udp_tim,4,4
	.local	udp_seq
	.comm	udp_seq,4,4
	.local	udp_init
	.comm	udp_init,4,4
	.section	.rodata
.LC3:
	.string	""
.LC4:
	.string	" \r\n="
.LC5:
	.string	"1."
.LC6:
	.string	"serial"
.LC7:
	.string	"tcpsocket"
.LC8:
	.string	"file"
.LC9:
	.string	"sisnet"
.LC10:
	.string	"udpsocket"
.LC11:
	.string	"caster"
	.align 8
.LC12:
	.string	"ERROR: can't convert <%s> to a valid InputMode\n"
.LC13:
	.string	"3.0"
.LC14:
	.string	"3.1"
.LC15:
	.string	"2.1"
	.align 8
.LC16:
	.string	"ERROR: unknown SISNeT version <%s>\n"
	.align 8
.LC17:
	.string	"ERROR: can't convert <%s> to valid serial baud rate\n"
	.align 8
.LC18:
	.string	"ERROR: can't convert <%s> to a valid HTTP server port\n"
	.align 8
.LC19:
	.string	"ERROR: can't convert <%s> to a valid port number\n"
.LC20:
	.string	"n"
.LC21:
	.string	"ntrip1"
.LC22:
	.string	"h"
.LC23:
	.string	"http"
.LC24:
	.string	"r"
.LC25:
	.string	"rtsp"
.LC26:
	.string	"u"
.LC27:
	.string	"udp"
	.align 8
.LC28:
	.string	"ERROR: can't convert <%s> to a valid Output Mode\n"
	.align 8
.LC29:
	.string	"M:i:h:b:p:s:a:m:c:H:P:f:x:y:l:u:V:D:U:W:O:E:F:R:N:n:B"
	.align 8
.LC30:
	.string	"ERROR: Extra args on command line: "
.LC31:
	.string	" %s"
	.align 8
.LC32:
	.string	"WARNING: maximum delay between reconnect attemts changed from %d to 256 seconds\n"
	.align 8
.LC33:
	.string	"ERROR: Missing mountpoint argument for stream upload\n"
	.align 8
.LC34:
	.string	"WARNING: Missing password argument for stream upload - are you really sure?\n"
	.align 8
.LC35:
	.string	"ERROR: user ID and/or password too long: %d (%d)\n       user ID: %s \npassword: <%s>\n"
	.align 8
.LC36:
	.string	"WARNING: Missing password argument for stream download - are you really sure?\n"
.LC37:
	.string	"http://%s:%d"
	.align 8
.LC38:
	.string	"ERROR: Destination caster name/port to long - length = %d (max: %d)\n"
.LC39:
	.string	":%d"
.LC40:
	.string	"ERROR: opening input file"
.LC41:
	.string	"file input: file = %s\n"
	.align 8
.LC42:
	.string	"serial input: device = %s, speed = %d\n"
.LC43:
	.string	"WARNING: sending init file"
.LC44:
	.string	"ERROR: reading init file"
	.align 8
.LC45:
	.string	"ERROR: can't read init file <%s>\n"
.LC46:
	.string	"131.176.49.142"
.LC47:
	.string	"localhost"
	.align 8
.LC48:
	.string	"ERROR: Input host <%s> unknown\n"
	.align 8
.LC49:
	.string	"ERROR: can't create socket for incoming data stream\n"
.LC50:
	.string	"binding mode"
.LC51:
	.string	", initfile = "
.LC52:
	.string	"stream = "
.LC53:
	.string	"127.0.0.1"
.LC54:
	.string	"tcp socket"
.LC55:
	.string	"udp socket"
	.align 8
.LC56:
	.string	"%s input: host = %s, port = %d, %s%s%s%s%s\n"
	.align 8
.LC57:
	.string	"ERROR: can't bind input to port %d\n"
	.align 8
.LC58:
	.string	"WARNING: can't connect input to %s at port %d\n"
.LC59:
	.string	"NTRIP NtripServerPOSIX"
	.align 8
.LC60:
	.string	"GET %s/%s HTTP/1.0\r\nUser-Agent: %s/%s\r\nConnection: close\r\nAuthorization: Basic "
	.align 8
.LC61:
	.string	"ERROR: Source caster request too long\n"
	.align 8
.LC62:
	.string	"ERROR: Source caster user ID and/or password too long\n"
	.align 8
.LC63:
	.string	"GET %s/%s HTTP/1.0\r\nUser-Agent: %s/%s\r\nConnection: close\r\n\r\n"
	.align 8
.LC64:
	.string	"WARNING: could not send Source caster request\n"
.LC65:
	.string	"\r\n"
.LC66:
	.string	"ICY 200 OK"
	.align 8
.LC67:
	.string	"ERROR: could not get requested data from Source caster: "
.LC68:
	.string	"SOURCETABLE 200 OK"
.LC69:
	.string	"AUTH,%s,%s\r\n"
.LC70:
	.string	"AUTH,%s,%s"
	.align 8
.LC71:
	.string	"WARNING: sending authentication for SISNeT data server"
.LC72:
	.string	"*AUTH"
	.align 8
.LC73:
	.string	"WARNING: SISNeT connect failed:"
.LC74:
	.string	"START\r\n"
	.align 8
.LC75:
	.string	"WARNING: sending Sisnet start command"
.LC76:
	.string	"ERROR: Receiver ID too long\n"
	.align 8
.LC77:
	.string	"Sending user ID for receiver...\n"
	.align 8
.LC78:
	.string	"WARNING: sending user ID for receiver"
	.align 8
.LC79:
	.string	"ERROR: Receiver password too long\n"
	.align 8
.LC80:
	.string	"Sending user password for receiver...\n"
	.align 8
.LC81:
	.string	"WARNING: sending user password for receiver"
	.align 8
.LC82:
	.string	"ERROR: Destination caster or proxy host <%s> unknown\n"
.LC83:
	.string	"ERROR: tcp socket"
	.align 8
.LC84:
	.string	"caster output: host = %s, port = %d, mountpoint = %s, mode = %s\n\n"
	.align 8
.LC85:
	.string	"WARNING: can't connect output to %s at port %d\n"
.LC86:
	.string	"\r\nSTR: "
.LC87:
	.string	"\r\nNtrip-STR: "
	.align 8
.LC88:
	.string	"POST /%s HTTP/1.1\r\nHost: %s\r\nNtrip-Version: Ntrip/2.0\r\nUser-Agent: %s/%s\r\nAuthorization: Basic %s%s%s\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n"
.LC89:
	.string	"Requested data too long\n"
.LC90:
	.string	"Could not send UDP packet"
.LC91:
	.string	"HTTP/1.1 200 OK\r\n"
.LC92:
	.string	"HTTP/1.0 200 OK\r\n"
.LC93:
	.string	"session: "
	.align 8
.LC94:
	.string	"Could not extract session number\n"
.LC95:
	.string	"Could not access mountpoint: "
	.align 8
.LC96:
	.string	"SOURCE %s %s/%s\r\nSource-Agent: %s/%s\r\n\r\n"
	.align 8
.LC97:
	.string	"ERROR: Destination caster request to long\n"
.LC98:
	.string	"OK"
	.align 8
.LC99:
	.string	"ERROR: Destination caster's or Proxy's reply is not OK: "
.LC100:
	.string	"."
.LC101:
	.string	"%.1s"
.LC102:
	.string	"ERROR - Bad Password"
.LC103:
	.string	"400 Bad Request"
	.align 8
.LC104:
	.string	"Destination caster response:\n%s\n"
	.align 8
.LC105:
	.string	"POST %s/%s HTTP/1.1\r\nHost: %s\r\nNtrip-Version: Ntrip/2.0\r\nUser-Agent: %s/%s\r\nAuthorization: Basic %s%s%s\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n"
.LC106:
	.string	"HTTP/1.1 200 OK"
.LC107:
	.string	" or Proxy's"
	.align 8
.LC108:
	.string	"ERROR: Destination caster's%s reply is not OK: "
.LC109:
	.string	"Ntrip-Version: Ntrip/2.0\r\n"
	.align 8
.LC110:
	.string	"       or HTTP/1.1 not implemented at Proxy\n"
.LC111:
	.string	">"
.LC112:
	.string	" or Proxy <"
	.align 8
.LC113:
	.string	"       Ntrip Version 2.0 not implemented at Destination caster <%s>%s%s%s\n%s\nntripserver falls back to Ntrip Version 1.0\n\n"
.LC114:
	.string	"HTTP/1.1 401 Unauthorized"
.LC115:
	.string	"501 Not Implemented"
.LC116:
	.string	"ERROR: udp socket"
.LC117:
	.string	"ERROR: udp bind"
.LC118:
	.string	"ERROR: getsockname(localhost)"
	.align 8
.LC119:
	.string	"SETUP rtsp://%s%s/%s RTSP/1.0\r\nCSeq: %d\r\nNtrip-Version: Ntrip/2.0\r\nNtrip-Component: Ntripserver\r\nUser-Agent: %s/%s\r\nTransport: RTP/GNSS;unicast;client_port=%u\r\nAuthorization: Basic %s%s%s\r\n\r\n"
.LC120:
	.string	"RTSP/1.0 200 OK"
.LC121:
	.string	"RTSP"
	.align 8
.LC122:
	.string	"       RTSP not implemented at Destination caster <%s>%s%s%s\n\nntripserver falls back to Ntrip Version 2.0 in TCP/IP mode\n\n"
.LC123:
	.string	" or Proxy"
	.align 8
.LC124:
	.string	" or HTTP/1.1 not implemented at Proxy\n"
	.align 8
.LC125:
	.string	"       Ntrip-Version 2.0 not implemented at Destination caster<%s>%s%s%s\n%s       or RTSP/1.0 not implemented at Destination caster%s\n\nntripserver falls back to Ntrip Version 1.0\n\n"
.LC126:
	.string	"RTSP/1.0 401 Unauthorized"
.LC127:
	.string	"RTSP/1.0 501 Not Implemented"
.LC128:
	.string	"RTSP/1.0 200 OK\r\n"
.LC129:
	.string	"CSeq: 1\r\n"
	.align 8
.LC130:
	.string	"RECORD rtsp://%s%s/%s RTSP/1.0\r\nCSeq: %d\r\nSession: %u\r\n\r\n"
.LC131:
	.string	"CSeq: 2\r\n"
	.align 8
.LC132:
	.string	"ERROR: Destination caster unknown\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	lea	r11, -94208[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -94324[rbp], edi
	mov	QWORD PTR -94336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -94320[rbp], 2048
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94200[rbp], rax
	mov	DWORD PTR -94312[rbp], 0
	mov	QWORD PTR -94192[rbp], 0
	mov	DWORD PTR -94308[rbp], 0
	mov	QWORD PTR -94184[rbp], 0
	mov	DWORD PTR -94304[rbp], 0
	mov	QWORD PTR -12032[rbp], 0
	mov	QWORD PTR -12024[rbp], 0
	mov	QWORD PTR -12016[rbp], 0
	mov	QWORD PTR -12008[rbp], 0
	mov	QWORD PTR -12000[rbp], 0
	mov	QWORD PTR -11992[rbp], 0
	mov	QWORD PTR -11984[rbp], 0
	mov	QWORD PTR -11976[rbp], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94176[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94168[rbp], rax
	mov	QWORD PTR -94160[rbp], 0
	mov	QWORD PTR -94152[rbp], 0
	mov	QWORD PTR -94144[rbp], 0
	mov	QWORD PTR -94136[rbp], 0
	mov	QWORD PTR -94128[rbp], 0
	mov	QWORD PTR -94120[rbp], 0
	mov	DWORD PTR -94300[rbp], 0
	mov	DWORD PTR -94296[rbp], 2101
	mov	QWORD PTR -94112[rbp], 0
	mov	DWORD PTR -94292[rbp], 0
	mov	QWORD PTR -11968[rbp], 0
	mov	QWORD PTR -11960[rbp], 0
	mov	QWORD PTR -11952[rbp], 0
	mov	QWORD PTR -11944[rbp], 0
	mov	QWORD PTR -11936[rbp], 0
	mov	QWORD PTR -11928[rbp], 0
	mov	QWORD PTR -11920[rbp], 0
	mov	QWORD PTR -11912[rbp], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94104[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94096[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -94088[rbp], rax
	mov	DWORD PTR -94288[rbp], 3
	mov	DWORD PTR -94224[rbp], 0
	mov	DWORD PTR -94284[rbp], 0
	mov	DWORD PTR -94280[rbp], 0
	mov	DWORD PTR -94316[rbp], 0
	mov	DWORD PTR -94276[rbp], 0
	mov	DWORD PTR -94272[rbp], 0
	lea	rax, .LC4[rip]
	mov	QWORD PTR -94040[rbp], rax
	mov	DWORD PTR -94268[rbp], 0
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	mov	DWORD PTR -94276[rbp], 2
	lea	rdx, .LC5[rip]
	mov	esi, 2
	lea	rdi, revision_str[rip]
	mov	eax, 0
	call	strcpy_s@PLT
	lea	rax, revision_str[rip+11]
	mov	QWORD PTR -94072[rbp], rax
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -94276[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94276[rbp], edx
	mov	rdx, QWORD PTR -94072[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	lea	rcx, revision_str[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	QWORD PTR -94072[rbp], 1
.L2:
	mov	rax, QWORD PTR -94072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -94072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L4
.L3:
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	lea	rdx, revision_str[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	DWORD PTR -94276[rbp], 0
	lea	rax, date_str[rip+7]
	mov	QWORD PTR -94072[rbp], rax
	jmp	.L5
.L7:
	mov	eax, DWORD PTR -94276[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94276[rbp], edx
	mov	rdx, QWORD PTR -94072[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	lea	rcx, date_str[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	QWORD PTR -94072[rbp], 1
.L5:
	mov	rax, QWORD PTR -94072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L6
	mov	rax, QWORD PTR -94072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L7
.L6:
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	lea	rdx, date_str[rip]
	mov	BYTE PTR [rax+rdx], 0
	lea	rsi, handle_sigint[rip]
	mov	edi, 2
	call	setup_signal_handler
	lea	rsi, handle_sigpipe[rip]
	mov	edi, 13
	call	setup_signal_handler
	lea	rsi, handle_alarm[rip]
	mov	edi, 14
	call	setup_signal_handler
	mov	edi, 120
	call	alarm@PLT
	cmp	DWORD PTR -94324[rbp], 1
	jg	.L9
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 2
	call	usage
.L68:
	mov	eax, DWORD PTR -94220[rbp]
	sub	eax, 63
	cmp	eax, 58
	ja	.L10
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L12[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L12[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L12:
	.long	.L21-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L38-.L12
	.long	.L10-.L12
	.long	.L37-.L12
	.long	.L36-.L12
	.long	.L35-.L12
	.long	.L10-.L12
	.long	.L34-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L33-.L12
	.long	.L32-.L12
	.long	.L31-.L12
	.long	.L30-.L12
	.long	.L10-.L12
	.long	.L29-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L28-.L12
	.long	.L27-.L12
	.long	.L26-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L25-.L12
	.long	.L24-.L12
	.long	.L23-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L22-.L12
	.long	.L10-.L12
	.long	.L21-.L12
	.long	.L20-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L19-.L12
	.long	.L18-.L12
	.long	.L17-.L12
	.long	.L10-.L12
	.long	.L16-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L15-.L12
	.long	.L10-.L12
	.long	.L14-.L12
	.long	.L10-.L12
	.long	.L10-.L12
	.long	.L13-.L12
	.long	.L11-.L12
	.text
.L33:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	DWORD PTR input_mode[rip], 1
	jmp	.L40
.L39:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
	mov	DWORD PTR input_mode[rip], 2
	jmp	.L40
.L41:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L42
	mov	DWORD PTR input_mode[rip], 3
	jmp	.L40
.L42:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	mov	DWORD PTR input_mode[rip], 4
	jmp	.L40
.L43:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	mov	DWORD PTR input_mode[rip], 5
	jmp	.L40
.L44:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	DWORD PTR input_mode[rip], 6
	jmp	.L40
.L45:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR input_mode[rip], eax
.L40:
	mov	eax, DWORD PTR input_mode[rip]
	test	eax, eax
	je	.L46
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 6
	jbe	.L9
.L46:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -1
	call	usage
.L20:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR tty_port[rip], rax
	jmp	.L9
.L38:
	mov	DWORD PTR -94300[rbp], 1
	jmp	.L9
.L27:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L48
	mov	DWORD PTR sisnet[rip], 30
	jmp	.L9
.L48:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L50
	mov	DWORD PTR sisnet[rip], 31
	jmp	.L9
.L50:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L51
	mov	DWORD PTR sisnet[rip], 21
	jmp	.L9
.L51:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -2
	call	usage
.L24:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR tty_baud[rip], eax
	mov	eax, DWORD PTR tty_baud[rip]
	cmp	eax, 1
	jg	.L9
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 1
	call	usage
.L25:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR caster_out_host[rip], rax
	jmp	.L9
.L16:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -94296[rbp], eax
	cmp	DWORD PTR -94296[rbp], 1
	jbe	.L53
	cmp	DWORD PTR -94296[rbp], 65535
	jbe	.L9
.L53:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 1
	call	usage
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR mountpoint[rip], rax
	jmp	.L9
.L15:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR file_path[rip], rax
	jmp	.L9
.L22:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94120[rbp], rax
	jmp	.L9
.L13:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94136[rbp], rax
	jmp	.L9
.L11:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94128[rbp], rax
	jmp	.L9
.L14:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94168[rbp], rax
	jmp	.L9
.L19:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94176[rbp], rax
	jmp	.L9
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94088[rbp], rax
	jmp	.L9
.L34:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94192[rbp], rax
	jmp	.L9
.L30:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -94308[rbp], eax
	cmp	DWORD PTR -94308[rbp], 1
	jbe	.L55
	cmp	DWORD PTR -94308[rbp], 65535
	jbe	.L9
.L55:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 1
	call	usage
.L37:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94160[rbp], rax
	jmp	.L9
.L28:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94152[rbp], rax
	jmp	.L9
.L26:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94144[rbp], rax
	jmp	.L9
.L36:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94200[rbp], rax
	jmp	.L9
.L35:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -94312[rbp], eax
	jmp	.L9
.L29:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -94268[rbp], eax
	jmp	.L9
.L31:
	mov	DWORD PTR -94288[rbp], 0
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L57
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
.L57:
	mov	DWORD PTR -94288[rbp], 3
	jmp	.L59
.L58:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
.L60:
	mov	DWORD PTR -94288[rbp], 1
	jmp	.L59
.L61:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L62
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L63
.L62:
	mov	DWORD PTR -94288[rbp], 2
	jmp	.L59
.L63:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L64
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L65
.L64:
	mov	DWORD PTR -94288[rbp], 4
	jmp	.L59
.L65:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -94288[rbp], eax
.L59:
	cmp	DWORD PTR -94288[rbp], 0
	je	.L66
	cmp	DWORD PTR -94288[rbp], 4
	jle	.L9
.L66:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -1
	call	usage
.L17:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94096[rbp], rax
	jmp	.L9
.L32:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -94104[rbp], rax
	jmp	.L9
.L21:
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 0
	call	usage
.L10:
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 2
	call	usage
.L9:
	mov	rcx, QWORD PTR -94336[rbp]
	mov	eax, DWORD PTR -94324[rbp]
	lea	rdx, .LC29[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -94220[rbp], eax
	cmp	DWORD PTR -94220[rbp], -1
	jne	.L68
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -94324[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -94336[rbp], rax
	cmp	DWORD PTR -94324[rbp], 0
	jle	.L69
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -94336[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -94336[rbp], rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sub	DWORD PTR -94324[rbp], 1
.L70:
	cmp	DWORD PTR -94324[rbp], 0
	jg	.L71
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, 1
	call	usage
.L69:
	cmp	DWORD PTR -94268[rbp], 0
	jle	.L72
	cmp	DWORD PTR -94268[rbp], 255
	jg	.L72
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94268[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -94268[rbp], 256
.L72:
	mov	rax, QWORD PTR mountpoint[rip]
	test	rax, rax
	jne	.L73
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L73:
	mov	rax, QWORD PTR -94088[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L74
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 76
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	jmp	.L75
.L74:
	mov	rcx, QWORD PTR -94088[rbp]
	mov	rdx, QWORD PTR -94096[rbp]
	lea	rax, -11904[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	encode
	add	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 64
	jle	.L75
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -94088[rbp]
	mov	rcx, QWORD PTR -94096[rbp]
	mov	edx, DWORD PTR -94272[rbp]
	mov	r9, rsi
	mov	r8, rcx
	mov	ecx, 64
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L75:
	cmp	QWORD PTR -94160[rbp], 0
	je	.L76
	cmp	QWORD PTR -94152[rbp], 0
	je	.L76
	cmp	QWORD PTR -94144[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 78
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
.L76:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L77
	mov	rax, QWORD PTR -94200[rbp]
	mov	QWORD PTR -94184[rbp], rax
	mov	rax, QWORD PTR -94184[rbp]
	mov	QWORD PTR -94112[rbp], rax
	mov	eax, DWORD PTR -94312[rbp]
	mov	DWORD PTR -94304[rbp], eax
	mov	eax, DWORD PTR -94304[rbp]
	mov	DWORD PTR -94292[rbp], eax
	mov	rdx, QWORD PTR caster_out_host[rip]
	mov	ecx, DWORD PTR -94296[rbp]
	lea	rax, -10304[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC37[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -94276[rbp], eax
	cmp	DWORD PTR -94276[rbp], 64
	jg	.L78
	cmp	DWORD PTR -94276[rbp], 0
	jns	.L79
.L78:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94276[rbp]
	mov	ecx, 64
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L79:
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	lea	rcx, -10304[rbp]
	lea	rax, -11968[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	BYTE PTR -10304[rbp], 0
	mov	edx, DWORD PTR -94296[rbp]
	lea	rax, -10304[rbp]
	mov	ecx, edx
	lea	rdx, .LC39[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -94276[rbp], eax
	lea	rax, -10304[rbp]
	mov	edx, 64
	mov	rsi, rax
	lea	rdi, rtsp_extension[rip]
	call	strncpy@PLT
	mov	BYTE PTR -10304[rbp], 0
	mov	DWORD PTR -94276[rbp], 0
	mov	ecx, DWORD PTR -94308[rbp]
	mov	rdx, QWORD PTR -94192[rbp]
	lea	rax, -10304[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	lea	rdx, .LC37[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -94276[rbp], eax
	cmp	DWORD PTR -94276[rbp], 64
	jg	.L80
	cmp	DWORD PTR -94276[rbp], 0
	jns	.L81
.L80:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94276[rbp]
	mov	ecx, 64
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	exit@PLT
.L81:
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	lea	rcx, -10304[rbp]
	lea	rax, -12032[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	BYTE PTR -10304[rbp], 0
	mov	DWORD PTR -94276[rbp], 0
	jmp	.L83
.L77:
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	QWORD PTR -94112[rbp], rax
	mov	eax, DWORD PTR -94296[rbp]
	mov	DWORD PTR -94292[rbp], eax
	mov	rax, QWORD PTR -94192[rbp]
	mov	QWORD PTR -94184[rbp], rax
	mov	eax, DWORD PTR -94308[rbp]
	mov	DWORD PTR -94304[rbp], eax
	jmp	.L83
.L299:
	mov	DWORD PTR -94264[rbp], 1
	mov	eax, DWORD PTR sigint_received[rip]
	test	eax, eax
	jne	.L303
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 6
	ja	.L86
	cmp	eax, 4
	jnb	.L87
	cmp	eax, 3
	je	.L88
	cmp	eax, 3
	ja	.L86
	cmp	eax, 1
	je	.L89
	cmp	eax, 2
	je	.L87
	jmp	.L86
.L88:
	mov	rax, QWORD PTR file_path[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR gps_file[rip], eax
	mov	eax, DWORD PTR gps_file[rip]
	test	eax, eax
	jns	.L90
	lea	rdi, .LC40[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L90:
	mov	eax, DWORD PTR gps_file[rip]
	mov	edx, 0
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	rax, QWORD PTR file_path[rip]
	mov	rsi, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L91
.L89:
	mov	edx, DWORD PTR tty_baud[rip]
	mov	rax, QWORD PTR tty_port[rip]
	mov	esi, 1
	mov	rdi, rax
	call	openserial
	mov	DWORD PTR gps_serial[rip], eax
	mov	eax, DWORD PTR gps_serial[rip]
	cmp	eax, -1
	jne	.L92
	mov	edi, 1
	call	exit@PLT
.L92:
	mov	edx, DWORD PTR tty_baud[rip]
	mov	rax, QWORD PTR tty_port[rip]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -94120[rbp], 0
	je	.L304
	mov	DWORD PTR -94276[rbp], 0
	mov	rax, QWORD PTR -94120[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -94016[rbp], rax
	cmp	QWORD PTR -94016[rbp], 0
	je	.L94
	jmp	.L95
.L97:
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_serial[rip]
	lea	rcx, -11840[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, DWORD PTR -94276[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L95
	lea	rdi, .LC43[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L96
.L95:
	mov	rdx, QWORD PTR -94016[rbp]
	lea	rax, -11840[rbp]
	mov	rcx, rdx
	mov	edx, 1024
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -94276[rbp], eax
	cmp	DWORD PTR -94276[rbp], 0
	jg	.L97
.L96:
	cmp	DWORD PTR -94276[rbp], 0
	jns	.L98
	lea	rdi, .LC44[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L98:
	mov	rax, QWORD PTR -94016[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L304
.L94:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -94120[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L87:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	jne	.L100
	cmp	QWORD PTR -94184[rbp], 0
	jne	.L101
	lea	rax, .LC46[rip]
	mov	QWORD PTR -94184[rbp], rax
.L101:
	cmp	DWORD PTR -94304[rbp], 0
	jne	.L102
	mov	DWORD PTR -94304[rbp], 7777
	jmp	.L102
.L100:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 6
	jne	.L103
	cmp	DWORD PTR -94304[rbp], 0
	jne	.L104
	mov	DWORD PTR -94304[rbp], 2101
.L104:
	cmp	QWORD PTR -94184[rbp], 0
	jne	.L102
	lea	rax, .LC2[rip]
	mov	QWORD PTR -94184[rbp], rax
	jmp	.L102
.L103:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 2
	je	.L105
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 5
	jne	.L102
.L105:
	cmp	DWORD PTR -94304[rbp], 0
	jne	.L106
	mov	DWORD PTR -94304[rbp], 2101
.L106:
	cmp	QWORD PTR -94184[rbp], 0
	jne	.L102
	lea	rax, .LC47[rip]
	mov	QWORD PTR -94184[rbp], rax
.L102:
	mov	rax, QWORD PTR -94184[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -94032[rbp], rax
	cmp	QWORD PTR -94032[rbp], 0
	jne	.L107
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -94184[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -2
	call	usage
.L107:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 5
	jne	.L108
	mov	eax, 2
	jmp	.L109
.L108:
	mov	eax, 1
.L109:
	mov	edx, 0
	mov	esi, eax
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR gps_socket[rip], eax
	mov	eax, DWORD PTR gps_socket[rip]
	cmp	eax, -1
	jne	.L110
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC49[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L110:
	lea	rax, -94000[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	DWORD PTR -94300[rbp], 0
	jne	.L111
	mov	rax, QWORD PTR -94032[rbp]
	mov	eax, DWORD PTR 20[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -94032[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -94000[rbp]
	add	rcx, 4
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L111:
	mov	WORD PTR -94000[rbp], 2
	mov	eax, DWORD PTR -94304[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -93998[rbp], ax
	cmp	DWORD PTR -94300[rbp], 0
	je	.L112
	lea	r14, .LC50[rip]
	jmp	.L113
.L112:
	lea	r14, .LC3[rip]
.L113:
	cmp	QWORD PTR -94120[rbp], 0
	je	.L114
	mov	r12, QWORD PTR -94120[rbp]
	jmp	.L115
.L114:
	lea	r12, .LC3[rip]
.L115:
	cmp	QWORD PTR -94120[rbp], 0
	je	.L116
	lea	r13, .LC51[rip]
	jmp	.L117
.L116:
	lea	r13, .LC3[rip]
.L117:
	cmp	QWORD PTR -94160[rbp], 0
	je	.L118
	mov	rbx, QWORD PTR -94160[rbp]
	jmp	.L119
.L118:
	lea	rbx, .LC3[rip]
.L119:
	cmp	QWORD PTR -94160[rbp], 0
	je	.L120
	lea	r15, .LC52[rip]
	jmp	.L121
.L120:
	lea	r15, .LC3[rip]
.L121:
	cmp	DWORD PTR -94300[rbp], 0
	jne	.L122
	mov	eax, DWORD PTR -93996[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rdx, rax
	jmp	.L123
.L122:
	lea	rdx, .LC53[rip]
.L123:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 6
	je	.L124
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	je	.L125
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 2
	jne	.L126
	lea	rax, .LC54[rip]
	jmp	.L129
.L126:
	lea	rax, .LC55[rip]
	jmp	.L129
.L125:
	lea	rax, .LC9[rip]
	jmp	.L129
.L124:
	lea	rax, .LC11[rip]
.L129:
	mov	rdi, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -94304[rbp]
	push	r14
	push	r12
	push	r13
	push	rbx
	mov	r9, r15
	mov	r8d, ecx
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC56[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 32
	cmp	DWORD PTR -94300[rbp], 0
	je	.L130
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rcx, -94000[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L131
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94304[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L130:
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rcx, -94000[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L131
	mov	eax, DWORD PTR -93996[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94304[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L131:
	cmp	QWORD PTR -94160[rbp], 0
	je	.L132
	mov	DWORD PTR -94260[rbp], 0
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rdx, -94320[rbp]
	mov	r8d, 8
	mov	rcx, rdx
	mov	edx, 7
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	QWORD PTR -94152[rbp], 0
	je	.L133
	cmp	QWORD PTR -94144[rbp], 0
	je	.L133
	mov	rsi, QWORD PTR -94160[rbp]
	lea	rdx, -12032[rbp]
	lea	rax, -10304[rbp]
	sub	rsp, 8
	lea	rcx, revision_str[rip]
	push	rcx
	lea	r9, .LC59[rip]
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, .LC60[rip]
	mov	esi, 10200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10200
	jg	.L134
	cmp	DWORD PTR -94272[rbp], 0
	jns	.L135
.L134:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC61[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94264[rbp], 0
	mov	DWORD PTR -94268[rbp], 0
	jmp	.L91
.L135:
	mov	edx, DWORD PTR -94272[rbp]
	mov	eax, 10236
	sub	eax, edx
	mov	esi, eax
	mov	eax, DWORD PTR -94272[rbp]
	cdqe
	lea	rdx, -10304[rbp]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -94144[rbp]
	mov	rax, QWORD PTR -94152[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	encode
	add	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10236
	jle	.L136
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 54
	mov	esi, 1
	lea	rdi, .LC62[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94264[rbp], 0
	mov	DWORD PTR -94268[rbp], 0
	jmp	.L91
.L136:
	mov	eax, DWORD PTR -94272[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94272[rbp], edx
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 13
	mov	eax, DWORD PTR -94272[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94272[rbp], edx
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 10
	mov	eax, DWORD PTR -94272[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94272[rbp], edx
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 13
	mov	eax, DWORD PTR -94272[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94272[rbp], edx
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 10
	jmp	.L137
.L133:
	mov	rsi, QWORD PTR -94160[rbp]
	lea	rdx, -12032[rbp]
	lea	rax, -10304[rbp]
	sub	rsp, 8
	lea	rcx, revision_str[rip]
	push	rcx
	lea	r9, .LC59[rip]
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, .LC63[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -94272[rbp], eax
.L137:
	mov	eax, DWORD PTR -94272[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -94272[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L138
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC64[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L138:
	mov	DWORD PTR -94272[rbp], 0
	jmp	.L139
.L147:
	lea	rax, -10304[rbp]
	lea	rsi, .LC65[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L139
	lea	rax, -10304[rbp]
	lea	rsi, .LC66[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L140
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC67[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94256[rbp], 0
	jmp	.L141
.L145:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -94256[rbp]
	cdqe
	movzx	eax, BYTE PTR -10304[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L142
	mov	eax, DWORD PTR -94256[rbp]
	cdqe
	movzx	eax, BYTE PTR -10304[rbp+rax]
	movsx	eax, al
	jmp	.L143
.L142:
	mov	eax, 46
.L143:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	DWORD PTR -94256[rbp], 1
.L141:
	mov	eax, DWORD PTR -94256[rbp]
	cmp	eax, DWORD PTR -94272[rbp]
	jge	.L144
	mov	eax, DWORD PTR -94256[rbp]
	cdqe
	movzx	eax, BYTE PTR -10304[rbp+rax]
	cmp	al, 10
	je	.L144
	mov	eax, DWORD PTR -94256[rbp]
	cdqe
	movzx	eax, BYTE PTR -10304[rbp+rax]
	cmp	al, 13
	jne	.L145
.L144:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -10304[rbp]
	lea	rsi, .LC68[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L146
	mov	DWORD PTR -94268[rbp], 0
.L146:
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L132
.L140:
	mov	DWORD PTR -94260[rbp], 1
.L139:
	cmp	DWORD PTR -94260[rbp], 0
	jne	.L132
	cmp	DWORD PTR -94272[rbp], 10239
	jg	.L132
	mov	eax, DWORD PTR -94272[rbp]
	cdqe
	mov	edx, 10240
	sub	rdx, rax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -94272[rbp]
	add	eax, edx
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 0
	jg	.L147
.L132:
	cmp	QWORD PTR -94120[rbp], 0
	je	.L148
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	je	.L148
	mov	rax, QWORD PTR -94120[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -94024[rbp], rax
	cmp	QWORD PTR -94024[rbp], 0
	je	.L149
	jmp	.L150
.L152:
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -94276[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L150
	lea	rdi, .LC43[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L151
.L150:
	mov	rdx, QWORD PTR -94024[rbp]
	lea	rax, -11840[rbp]
	mov	rcx, rdx
	mov	edx, 1024
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -94276[rbp], eax
	cmp	DWORD PTR -94276[rbp], 0
	jg	.L152
.L151:
	cmp	DWORD PTR -94276[rbp], 0
	jns	.L153
	lea	rdi, .LC44[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L153:
	mov	rax, QWORD PTR -94024[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L148
.L149:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -94120[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L148:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	jne	.L155
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 29
	jle	.L156
	lea	rax, .LC69[rip]
	jmp	.L157
.L156:
	lea	rax, .LC70[rip]
.L157:
	mov	rcx, QWORD PTR -94176[rbp]
	mov	rdx, QWORD PTR -94168[rbp]
	lea	rdi, -11840[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1024
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -94276[rbp], eax
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -94276[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L158
	lea	rdi, .LC71[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L158:
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 29
	jle	.L160
	mov	eax, 7
	jmp	.L161
.L160:
	mov	eax, 5
.L161:
	mov	DWORD PTR -94276[rbp], eax
	mov	eax, DWORD PTR -94276[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94216[rbp], eax
	mov	eax, DWORD PTR -94216[rbp]
	cmp	eax, DWORD PTR -94276[rbp]
	je	.L162
	lea	rax, -11840[rbp]
	mov	edx, 5
	mov	rsi, rax
	lea	rdi, .LC72[rip]
	call	strncmp@PLT
	test	eax, eax
	je	.L162
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC73[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94276[rbp], 0
	jmp	.L163
.L167:
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 13
	je	.L164
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 10
	je	.L164
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L165
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	eax, al
	jmp	.L166
.L165:
	mov	eax, 46
.L166:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
.L164:
	add	DWORD PTR -94276[rbp], 1
.L163:
	mov	eax, DWORD PTR -94276[rbp]
	cmp	eax, DWORD PTR -94216[rbp]
	jl	.L167
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L162:
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 30
	jle	.L155
	mov	eax, DWORD PTR gps_socket[rip]
	mov	ecx, 0
	mov	edx, 7
	lea	rsi, .LC74[rip]
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -94276[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L155
	lea	rdi, .LC75[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L155:
	cmp	QWORD PTR -94136[rbp], 0
	je	.L305
	cmp	QWORD PTR -94128[rbp], 0
	je	.L305
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 2
	je	.L170
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 5
	jne	.L305
.L170:
	mov	rax, QWORD PTR -94136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 10237
	jbe	.L171
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC76[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L171:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC77[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94272[rbp], eax
	mov	rdx, QWORD PTR -94136[rbp]
	lea	rax, -10304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -10304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -10304[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	lea	rax, -10304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	test	rax, rax
	jns	.L172
	lea	rdi, .LC78[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L172:
	mov	rax, QWORD PTR -94128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 10237
	jbe	.L173
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC79[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L173:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC80[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94272[rbp], eax
	mov	rdx, QWORD PTR -94128[rbp]
	lea	rax, -10304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -10304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -10304[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 2573
	mov	BYTE PTR 2[rax], 0
	lea	rax, -10304[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	test	rax, rax
	jns	.L305
	lea	rdi, .LC81[rip]
	call	perror@PLT
	mov	DWORD PTR -94264[rbp], 0
	jmp	.L91
.L86:
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -1
	call	usage
.L304:
	nop
	jmp	.L91
.L305:
	nop
.L91:
	mov	DWORD PTR -94252[rbp], 1
	mov	DWORD PTR -94248[rbp], 0
	jmp	.L174
.L296:
	mov	eax, DWORD PTR sigalarm_received[rip]
	test	eax, eax
	jne	.L175
	mov	eax, DWORD PTR sigint_received[rip]
	test	eax, eax
	jne	.L175
	mov	eax, DWORD PTR sigpipe_received[rip]
	test	eax, eax
	jne	.L175
	mov	rax, QWORD PTR -94112[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -94032[rbp], rax
	cmp	QWORD PTR -94032[rbp], 0
	jne	.L176
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -94112[rbp]
	lea	rsi, .LC82[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -94280[rbp]
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	r8d, 0
	lea	rcx, rtsp_extension[rip]
	mov	rdi, rax
	call	close_session
	mov	rax, QWORD PTR -94336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	mov	edi, -2
	call	usage
.L176:
	cmp	DWORD PTR -94288[rbp], 4
	jne	.L177
	mov	eax, 2
	jmp	.L178
.L177:
	mov	eax, 1
.L178:
	mov	edx, 0
	mov	esi, eax
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR socket_tcp[rip], eax
	mov	eax, DWORD PTR socket_tcp[rip]
	cmp	eax, -1
	jne	.L179
	lea	rdi, .LC83[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	jmp	.L175
.L179:
	lea	rax, -94000[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -94032[rbp]
	mov	eax, DWORD PTR 20[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -94032[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -94000[rbp]
	add	rcx, 4
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	WORD PTR -94000[rbp], 2
	mov	eax, DWORD PTR -94292[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -93998[rbp], ax
	cmp	DWORD PTR -94288[rbp], 3
	je	.L180
	cmp	DWORD PTR -94288[rbp], 1
	je	.L181
	cmp	DWORD PTR -94288[rbp], 4
	jne	.L182
	lea	rbx, .LC27[rip]
	jmp	.L185
.L182:
	lea	rbx, .LC25[rip]
	jmp	.L185
.L181:
	lea	rbx, .LC23[rip]
	jmp	.L185
.L180:
	lea	rbx, .LC21[rip]
.L185:
	mov	r12, QWORD PTR mountpoint[rip]
	mov	eax, DWORD PTR -93996[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94292[rbp]
	mov	r9, rbx
	mov	r8, r12
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC84[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rcx, -94000[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L186
	mov	eax, DWORD PTR -93996[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -94292[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	lea	rsi, .LC85[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L175
.L186:
	cmp	DWORD PTR -94288[rbp], 4
	je	.L187
	cmp	DWORD PTR -94288[rbp], 4
	jg	.L307
	cmp	DWORD PTR -94288[rbp], 3
	je	.L189
	cmp	DWORD PTR -94288[rbp], 3
	jg	.L307
	cmp	DWORD PTR -94288[rbp], 1
	je	.L190
	cmp	DWORD PTR -94288[rbp], 2
	je	.L191
	jmp	.L188
.L187:
	mov	DWORD PTR -94240[rbp], 12
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR udp_init[rip], eax
	mov	eax, DWORD PTR udp_init[rip]
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	mov	DWORD PTR -94244[rbp], eax
	call	rand@PLT
	mov	DWORD PTR udp_tim[rip], eax
	call	rand@PLT
	mov	DWORD PTR udp_seq[rip], eax
	mov	BYTE PTR -11840[rbp], -128
	mov	BYTE PTR -11839[rbp], 97
	mov	eax, DWORD PTR udp_seq[rip]
	sar	eax, 8
	mov	BYTE PTR -11838[rbp], al
	mov	eax, DWORD PTR udp_seq[rip]
	mov	BYTE PTR -11837[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	shr	eax, 24
	mov	BYTE PTR -11836[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 16
	mov	BYTE PTR -11835[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 8
	mov	BYTE PTR -11834[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	mov	BYTE PTR -11833[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 24
	mov	BYTE PTR -11832[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 16
	mov	BYTE PTR -11831[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 8
	mov	BYTE PTR -11830[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	mov	BYTE PTR -11829[rbp], al
	mov	eax, DWORD PTR udp_seq[rip]
	add	eax, 1
	mov	DWORD PTR udp_seq[rip], eax
	cmp	QWORD PTR -94104[rbp], 0
	je	.L192
	cmp	DWORD PTR -94288[rbp], 3
	jne	.L193
	lea	rax, .LC86[rip]
	jmp	.L195
.L193:
	lea	rax, .LC87[rip]
	jmp	.L195
.L192:
	lea	rax, .LC3[rip]
.L195:
	mov	r8, QWORD PTR caster_out_host[rip]
	mov	rdx, QWORD PTR mountpoint[rip]
	mov	ecx, DWORD PTR -94240[rbp]
	movsx	rcx, ecx
	mov	esi, 1486
	sub	rsi, rcx
	mov	ecx, DWORD PTR -94240[rbp]
	movsx	rcx, ecx
	lea	rdi, -11840[rbp]
	add	rdi, rcx
	push	QWORD PTR -94104[rbp]
	push	rax
	lea	rax, -11904[rbp]
	push	rax
	lea	rax, revision_str[rip]
	push	rax
	lea	r9, .LC59[rip]
	mov	rcx, rdx
	lea	rdx, .LC88[rip]
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 32
	mov	DWORD PTR -94212[rbp], eax
	mov	eax, DWORD PTR -94212[rbp]
	add	DWORD PTR -94240[rbp], eax
	cmp	DWORD PTR -94240[rbp], 1486
	jg	.L196
	cmp	DWORD PTR -94212[rbp], 0
	jns	.L197
.L196:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC89[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L197:
	mov	eax, DWORD PTR -94240[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94240[rbp], edx
	cdqe
	mov	BYTE PTR -11840[rbp+rax], 13
	mov	eax, DWORD PTR -94240[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94240[rbp], edx
	cdqe
	mov	BYTE PTR -11840[rbp+rax], 10
	mov	eax, DWORD PTR -94240[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94240[rbp], edx
	cdqe
	mov	BYTE PTR -11840[rbp+rax], 13
	mov	eax, DWORD PTR -94240[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94240[rbp], edx
	cdqe
	mov	BYTE PTR -11840[rbp+rax], 10
	mov	eax, DWORD PTR -94240[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -94240[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L199
	lea	rdi, .LC90[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L199:
	mov	DWORD PTR -94236[rbp], 0
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edx, 1525
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94208[rbp], eax
	cmp	DWORD PTR -94208[rbp], 0
	jle	.L200
	mov	eax, DWORD PTR -94208[rbp]
	cdqe
	mov	BYTE PTR -11840[rbp+rax], 0
	cmp	DWORD PTR -94208[rbp], 29
	jle	.L201
	lea	rax, -11840[rbp]
	add	rax, 12
	mov	edx, 17
	lea	rsi, .LC91[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L202
	lea	rax, -11840[rbp]
	add	rax, 12
	mov	edx, 17
	lea	rsi, .LC92[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L201
.L202:
	lea	rax, .LC93[rip]
	mov	QWORD PTR -94008[rbp], rax
	mov	rax, QWORD PTR -94008[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -94204[rbp], eax
	mov	DWORD PTR -94232[rbp], 0
	mov	DWORD PTR -94240[rbp], 12
	jmp	.L203
.L208:
	mov	DWORD PTR -94232[rbp], 0
	jmp	.L204
.L206:
	add	DWORD PTR -94232[rbp], 1
.L204:
	mov	eax, DWORD PTR -94232[rbp]
	cmp	eax, DWORD PTR -94204[rbp]
	jge	.L205
	mov	edx, DWORD PTR -94240[rbp]
	mov	eax, DWORD PTR -94232[rbp]
	add	eax, edx
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	edx, DWORD PTR -94232[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -94008[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	cmp	eax, edx
	je	.L206
.L205:
	add	DWORD PTR -94240[rbp], 1
.L203:
	mov	eax, DWORD PTR -94232[rbp]
	cmp	eax, DWORD PTR -94204[rbp]
	je	.L207
	mov	eax, DWORD PTR -94208[rbp]
	sub	eax, DWORD PTR -94204[rbp]
	cmp	DWORD PTR -94240[rbp], eax
	jl	.L208
.L207:
	mov	eax, DWORD PTR -94208[rbp]
	sub	eax, DWORD PTR -94204[rbp]
	cmp	DWORD PTR -94240[rbp], eax
	je	.L306
	mov	eax, DWORD PTR -94204[rbp]
	add	DWORD PTR -94240[rbp], eax
	mov	DWORD PTR -94244[rbp], 0
	jmp	.L210
.L212:
	mov	edx, DWORD PTR -94244[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	eax, DWORD PTR -94240[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -94240[rbp], edx
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	eax, al
	add	eax, ecx
	sub	eax, 48
	mov	DWORD PTR -94244[rbp], eax
.L210:
	mov	eax, DWORD PTR -94240[rbp]
	cmp	eax, DWORD PTR -94208[rbp]
	jge	.L211
	mov	eax, DWORD PTR -94240[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 47
	jle	.L211
	mov	eax, DWORD PTR -94240[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 57
	jle	.L212
.L211:
	mov	eax, DWORD PTR -94240[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 13
	je	.L306
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC94[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94236[rbp], 1
	jmp	.L306
.L201:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC95[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94228[rbp], 12
	jmp	.L213
.L217:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -94228[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L214
	mov	eax, DWORD PTR -94228[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	movsx	eax, al
	jmp	.L215
.L214:
	mov	eax, 46
.L215:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	DWORD PTR -94228[rbp], 1
.L213:
	mov	eax, DWORD PTR -94228[rbp]
	cmp	eax, DWORD PTR -94208[rbp]
	jge	.L216
	mov	eax, DWORD PTR -94228[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 10
	je	.L216
	mov	eax, DWORD PTR -94228[rbp]
	cdqe
	movzx	eax, BYTE PTR -11840[rbp+rax]
	cmp	al, 13
	jne	.L217
.L216:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -94236[rbp], 1
	jmp	.L200
.L306:
	nop
.L200:
	cmp	DWORD PTR -94236[rbp], 0
	jne	.L218
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -94244[rbp]
	mov	esi, DWORD PTR -94288[rbp]
	mov	r8d, edx
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	send_receive_loop
	mov	DWORD PTR -94252[rbp], 0
	mov	eax, DWORD PTR -94252[rbp]
	mov	DWORD PTR -94264[rbp], eax
	mov	edi, 0
	call	time@PLT
	mov	edx, DWORD PTR udp_init[rip]
	movsx	rdx, edx
	sub	rax, rdx
	imul	rax, rax, 8000
	mov	edx, eax
	mov	eax, DWORD PTR udp_tim[rip]
	add	eax, edx
	mov	DWORD PTR udp_tim[rip], eax
	mov	BYTE PTR -11840[rbp], -128
	mov	BYTE PTR -11839[rbp], 98
	mov	eax, DWORD PTR udp_seq[rip]
	sar	eax, 8
	mov	BYTE PTR -11838[rbp], al
	mov	eax, DWORD PTR udp_seq[rip]
	mov	BYTE PTR -11837[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	shr	eax, 24
	mov	BYTE PTR -11836[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 16
	mov	BYTE PTR -11835[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 8
	mov	BYTE PTR -11834[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	mov	BYTE PTR -11833[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 24
	mov	BYTE PTR -11832[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 16
	mov	BYTE PTR -11831[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	shr	eax, 8
	mov	BYTE PTR -11830[rbp], al
	mov	eax, DWORD PTR -94244[rbp]
	mov	BYTE PTR -11829[rbp], al
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -11840[rbp]
	mov	ecx, 0
	mov	edx, 12
	mov	edi, eax
	call	send@PLT
	jmp	.L174
.L218:
	mov	DWORD PTR -94268[rbp], 600
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L189:
	mov	DWORD PTR -94248[rbp], 0
	mov	rdi, QWORD PTR mountpoint[rip]
	lea	rsi, -11968[rbp]
	mov	rdx, QWORD PTR -94088[rbp]
	lea	rax, -10304[rbp]
	lea	rcx, revision_str[rip]
	push	rcx
	lea	rcx, .LC59[rip]
	push	rcx
	mov	r9, rdi
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, .LC96[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10240
	jg	.L220
	cmp	DWORD PTR -94272[rbp], 0
	jns	.L221
.L220:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC97[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L221:
	mov	ecx, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -94272[rbp]
	lea	rax, -10304[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	send_to_caster
	test	eax, eax
	jne	.L222
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L222:
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94272[rbp], eax
	mov	eax, DWORD PTR -94272[rbp]
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 0
	lea	rax, -10304[rbp]
	lea	rsi, .LC98[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L223
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC99[rip]
	call	fwrite@PLT
	lea	rax, -10304[rbp]
	mov	QWORD PTR -94064[rbp], rax
	jmp	.L224
.L228:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -94064[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L225
	mov	rax, QWORD PTR -94064[rbp]
	jmp	.L226
.L225:
	lea	rax, .LC100[rip]
.L226:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC101[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -94064[rbp], 1
.L224:
	mov	rax, QWORD PTR -94064[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L227
	mov	rax, QWORD PTR -94064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L227
	mov	rax, QWORD PTR -94064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L228
.L227:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -10304[rbp]
	lea	rsi, .LC102[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L229
	lea	rax, -10304[rbp]
	lea	rsi, .LC103[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L230
.L229:
	mov	DWORD PTR -94268[rbp], 0
.L230:
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L223:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -10304[rbp]
	lea	rsi, .LC104[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	esi, DWORD PTR -94288[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	send_receive_loop
	mov	DWORD PTR -94252[rbp], 0
	mov	eax, DWORD PTR -94252[rbp]
	mov	DWORD PTR -94264[rbp], eax
	jmp	.L174
.L190:
	cmp	QWORD PTR -94104[rbp], 0
	je	.L231
	lea	rax, .LC87[rip]
	jmp	.L232
.L231:
	lea	rax, .LC3[rip]
.L232:
	mov	rsi, QWORD PTR caster_out_host[rip]
	mov	rcx, QWORD PTR mountpoint[rip]
	lea	rdx, -11968[rbp]
	lea	rdi, -10304[rbp]
	sub	rsp, 8
	push	QWORD PTR -94104[rbp]
	push	rax
	lea	rax, -11904[rbp]
	push	rax
	lea	rax, revision_str[rip]
	push	rax
	lea	rax, .LC59[rip]
	push	rax
	mov	r9, rsi
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC105[rip]
	mov	esi, 10240
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 48
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10240
	jg	.L233
	cmp	DWORD PTR -94272[rbp], 0
	jns	.L234
.L233:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC97[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L234:
	mov	ecx, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -94272[rbp]
	lea	rax, -10304[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	send_to_caster
	test	eax, eax
	jne	.L235
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L235:
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94272[rbp], eax
	mov	eax, DWORD PTR -94272[rbp]
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 0
	lea	rax, -10304[rbp]
	lea	rsi, .LC106[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L236
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L237
	lea	rax, .LC107[rip]
	jmp	.L238
.L237:
	lea	rax, .LC3[rip]
.L238:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC108[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -10304[rbp]
	mov	QWORD PTR -94056[rbp], rax
	jmp	.L239
.L243:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -94056[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L240
	mov	rax, QWORD PTR -94056[rbp]
	jmp	.L241
.L240:
	lea	rax, .LC100[rip]
.L241:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC101[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -94056[rbp], 1
.L239:
	mov	rax, QWORD PTR -94056[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L242
	mov	rax, QWORD PTR -94056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L242
	mov	rax, QWORD PTR -94056[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L243
.L242:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -10304[rbp]
	lea	rsi, .LC109[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L244
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L245
	lea	rdx, .LC110[rip]
	jmp	.L246
.L245:
	lea	rdx, .LC3[rip]
.L246:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L247
	lea	rcx, .LC111[rip]
	jmp	.L248
.L247:
	lea	rcx, .LC3[rip]
.L248:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L249
	lea	rax, .LC112[rip]
	jmp	.L250
.L249:
	lea	rax, .LC3[rip]
.L250:
	mov	rsi, QWORD PTR caster_out_host[rip]
	mov	rdi, QWORD PTR stderr[rip]
	mov	r8, QWORD PTR -94200[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9, rcx
	mov	rcx, rax
	mov	rdx, rsi
	lea	rsi, .LC113[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edx, DWORD PTR -94280[rbp]
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	r8d, 1
	lea	rcx, rtsp_extension[rip]
	mov	rdi, rax
	call	close_session
	mov	DWORD PTR -94288[rbp], 3
	jmp	.L174
.L244:
	lea	rax, -10304[rbp]
	lea	rsi, .LC114[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L251
	lea	rax, -10304[rbp]
	lea	rsi, .LC115[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L252
.L251:
	mov	DWORD PTR -94268[rbp], 0
.L252:
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L236:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -10304[rbp]
	lea	rsi, .LC104[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	esi, DWORD PTR -94288[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	send_receive_loop
	mov	DWORD PTR -94252[rbp], 0
	mov	eax, DWORD PTR -94252[rbp]
	mov	DWORD PTR -94264[rbp], eax
	jmp	.L174
.L191:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR socket_udp[rip], eax
	mov	eax, DWORD PTR socket_udp[rip]
	cmp	eax, -1
	jne	.L253
	lea	rdi, .LC116[rip]
	call	perror@PLT
	mov	edi, 4
	call	exit@PLT
.L253:
	lea	rax, -93968[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -93968[rbp], 2
	mov	edi, 0
	call	htons@PLT
	mov	WORD PTR -93966[rbp], ax
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -93964[rbp], eax
	mov	DWORD PTR -94316[rbp], 16
	mov	edx, DWORD PTR -94316[rbp]
	mov	eax, DWORD PTR socket_udp[rip]
	lea	rcx, -93968[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L254
	lea	rdi, .LC117[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L254:
	mov	eax, DWORD PTR socket_udp[rip]
	lea	rdx, -94316[rbp]
	lea	rcx, -93968[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	cmp	eax, -1
	je	.L255
	movzx	eax, WORD PTR -93966[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	DWORD PTR -94224[rbp], eax
	cmp	QWORD PTR -94104[rbp], 0
	je	.L257
	jmp	.L302
.L255:
	lea	rdi, .LC118[rip]
	call	perror@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L302:
	lea	rdx, .LC87[rip]
	jmp	.L258
.L257:
	lea	rdx, .LC3[rip]
.L258:
	mov	eax, DWORD PTR udp_cseq[rip]
	lea	ecx, 1[rax]
	mov	DWORD PTR udp_cseq[rip], ecx
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rcx, QWORD PTR caster_out_host[rip]
	lea	rdi, -10304[rbp]
	sub	rsp, 8
	push	QWORD PTR -94104[rbp]
	push	rdx
	lea	rdx, -11904[rbp]
	push	rdx
	mov	edx, DWORD PTR -94224[rbp]
	push	rdx
	lea	rdx, revision_str[rip]
	push	rdx
	lea	rdx, .LC59[rip]
	push	rdx
	push	rax
	mov	r9, rsi
	lea	r8, rtsp_extension[rip]
	lea	rdx, .LC119[rip]
	mov	esi, 10240
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 64
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10240
	jg	.L259
	cmp	DWORD PTR -94272[rbp], 0
	jns	.L260
.L259:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC97[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L260:
	mov	ecx, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -94272[rbp]
	lea	rax, -10304[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	send_to_caster
	test	eax, eax
	jne	.L262
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L174
.L295:
	mov	eax, DWORD PTR -94272[rbp]
	cdqe
	mov	BYTE PTR -10304[rbp+rax], 0
	lea	rax, -10304[rbp]
	lea	rsi, .LC120[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L263
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L264
	lea	rax, .LC107[rip]
	jmp	.L265
.L264:
	lea	rax, .LC3[rip]
.L265:
	mov	rcx, QWORD PTR stderr[rip]
	mov	rdx, rax
	lea	rsi, .LC108[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -10304[rbp]
	mov	QWORD PTR -94048[rbp], rax
	jmp	.L266
.L270:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -94048[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L267
	mov	rax, QWORD PTR -94048[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	jmp	.L268
.L267:
	mov	eax, 46
.L268:
	mov	rdx, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	add	QWORD PTR -94048[rbp], 1
.L266:
	mov	rax, QWORD PTR -94048[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L269
	mov	rax, QWORD PTR -94048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L269
	mov	rax, QWORD PTR -94048[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L270
.L269:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	lea	rax, -10304[rbp]
	mov	edx, 4
	lea	rsi, .LC121[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L271
	lea	rax, -10304[rbp]
	lea	rsi, .LC109[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L272
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L273
	lea	rdx, .LC111[rip]
	jmp	.L274
.L273:
	lea	rdx, .LC3[rip]
.L274:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L275
	lea	rax, .LC112[rip]
	jmp	.L276
.L275:
	lea	rax, .LC3[rip]
.L276:
	mov	rsi, QWORD PTR caster_out_host[rip]
	mov	rdi, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -94200[rbp]
	mov	r9, rdx
	mov	r8, rcx
	mov	rcx, rax
	mov	rdx, rsi
	lea	rsi, .LC122[rip]
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -94280[rbp]
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	r8d, 1
	lea	rcx, rtsp_extension[rip]
	mov	rdi, rax
	call	close_session
	mov	DWORD PTR -94288[rbp], 1
	mov	DWORD PTR -94248[rbp], 1
	jmp	.L277
.L272:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L278
	lea	rcx, .LC123[rip]
	jmp	.L279
.L278:
	lea	rcx, .LC3[rip]
.L279:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L280
	lea	rdx, .LC124[rip]
	jmp	.L281
.L280:
	lea	rdx, .LC3[rip]
.L281:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L282
	lea	rsi, .LC111[rip]
	jmp	.L283
.L282:
	lea	rsi, .LC3[rip]
.L283:
	mov	rax, QWORD PTR -94200[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L284
	lea	rax, .LC112[rip]
	jmp	.L285
.L284:
	lea	rax, .LC3[rip]
.L285:
	mov	r10, QWORD PTR caster_out_host[rip]
	mov	rdi, QWORD PTR stderr[rip]
	mov	r8, QWORD PTR -94200[rbp]
	push	rcx
	push	rdx
	mov	r9, rsi
	mov	rcx, rax
	mov	rdx, r10
	lea	rsi, .LC125[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	edx, DWORD PTR -94280[rbp]
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	r8d, 1
	lea	rcx, rtsp_extension[rip]
	mov	rdi, rax
	call	close_session
	mov	DWORD PTR -94288[rbp], 3
	mov	DWORD PTR -94248[rbp], 1
	jmp	.L277
.L271:
	lea	rax, -10304[rbp]
	lea	rsi, .LC126[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L286
	lea	rax, -10304[rbp]
	lea	rsi, .LC127[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L287
.L286:
	mov	DWORD PTR -94268[rbp], 0
.L287:
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L277
.L263:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -10304[rbp]
	lea	rsi, .LC104[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -10304[rbp]
	lea	rsi, .LC128[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L288
	lea	rax, -10304[rbp]
	lea	rsi, .LC129[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L288
	mov	rdx, QWORD PTR -94040[rbp]
	lea	rax, -10304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -94080[rbp], rax
	jmp	.L289
.L290:
	mov	eax, DWORD PTR -94276[rbp]
	cdqe
	mov	rdx, QWORD PTR -94080[rbp]
	mov	QWORD PTR -93952[rbp+rax*8], rdx
	add	DWORD PTR -94276[rbp], 1
	mov	rax, QWORD PTR -94040[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -94080[rbp], rax
.L289:
	cmp	QWORD PTR -94080[rbp], 0
	jne	.L290
	mov	rax, QWORD PTR -93904[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -94280[rbp], eax
	mov	rax, QWORD PTR -93872[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -94284[rbp], eax
	mov	eax, DWORD PTR udp_cseq[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR udp_cseq[rip], edx
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rdx, QWORD PTR caster_out_host[rip]
	lea	rdi, -10304[rbp]
	mov	ecx, DWORD PTR -94280[rbp]
	push	rcx
	push	rax
	mov	r9, rsi
	lea	r8, rtsp_extension[rip]
	mov	rcx, rdx
	lea	rdx, .LC130[rip]
	mov	esi, 10240
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 10239
	jg	.L291
	cmp	DWORD PTR -94272[rbp], 0
	jns	.L292
.L291:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC97[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L277
.L292:
	mov	ecx, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -94272[rbp]
	lea	rax, -10304[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	send_to_caster
	test	eax, eax
	jne	.L262
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L277
.L288:
	lea	rax, -10304[rbp]
	lea	rsi, .LC128[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L277
	lea	rax, -10304[rbp]
	lea	rsi, .LC131[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L277
	lea	rax, -93984[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -93984[rbp], 2
	mov	eax, DWORD PTR -94284[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -93982[rbp], ax
	mov	rax, QWORD PTR -94112[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -94032[rbp], rax
	cmp	QWORD PTR -94032[rbp], 0
	jne	.L294
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC132[rip]
	call	fwrite@PLT
	mov	DWORD PTR -94268[rbp], 0
	mov	DWORD PTR -94252[rbp], 0
	jmp	.L277
.L294:
	mov	rax, QWORD PTR -94032[rbp]
	mov	eax, DWORD PTR 20[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -94032[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -93984[rbp]
	add	rcx, 4
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	DWORD PTR -94316[rbp], 16
	mov	ecx, DWORD PTR -94316[rbp]
	mov	eax, DWORD PTR socket_udp[rip]
	mov	edi, DWORD PTR -94280[rbp]
	lea	rdx, -93984[rbp]
	mov	esi, DWORD PTR -94288[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	send_receive_loop
	jmp	.L277
.L262:
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10304[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -94272[rbp], eax
	cmp	DWORD PTR -94272[rbp], 0
	jg	.L295
.L277:
	mov	DWORD PTR -94252[rbp], 0
	mov	eax, DWORD PTR -94252[rbp]
	mov	DWORD PTR -94264[rbp], eax
	jmp	.L174
.L188:
.L307:
	nop
.L174:
	cmp	DWORD PTR -94264[rbp], 0
	je	.L175
	cmp	DWORD PTR -94252[rbp], 0
	jne	.L296
.L175:
	mov	edx, DWORD PTR -94280[rbp]
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rax, QWORD PTR caster_out_host[rip]
	mov	r8d, 0
	lea	rcx, rtsp_extension[rip]
	mov	rdi, rax
	call	close_session
	cmp	DWORD PTR -94268[rbp], 0
	jne	.L297
	cmp	DWORD PTR -94248[rbp], 0
	je	.L298
.L297:
	mov	eax, DWORD PTR sigint_received[rip]
	test	eax, eax
	jne	.L298
	mov	eax, DWORD PTR reconnect_sec[rip]
	mov	edx, DWORD PTR -94268[rbp]
	mov	esi, edx
	mov	edi, eax
	call	reconnect
	mov	DWORD PTR reconnect_sec[rip], eax
	jmp	.L83
.L298:
	mov	DWORD PTR input_mode[rip], 7
.L83:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 7
	jne	.L299
	jmp	.L85
.L303:
	nop
.L85:
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L301
	call	__stack_chk_fail@PLT
.L301:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC133:
	.string	"Could not set nonblocking mode\n"
.LC134:
	.string	"transfering data ...\n"
.LC135:
	.string	"MSG\r\n"
	.align 8
.LC136:
	.string	"WARNING: sending SISNeT data request failed"
	.align 8
.LC137:
	.string	"WARNING: no data received from input\n"
.LC138:
	.string	"WARNING: reading input failed"
	.align 8
.LC139:
	.string	"WARNING: could not send data to Destination caster"
.LC140:
	.string	"Connection end\n"
.LC141:
	.string	"Timeout\n"
.LC142:
	.string	"%x\r\n"
	.align 8
.LC143:
	.string	"GET_PARAMETER rtsp://%s%s/%s RTSP/1.0\r\nCSeq: %d\r\nSession: %u\r\n\r\n"
.LC144:
	.string	"send"
.LC145:
	.string	"Control connection closed\n"
	.align 8
.LC146:
	.string	"Control connection read error\n"
	.text
	.type	send_receive_loop, @function
send_receive_loop:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -28672[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 2464
	mov	DWORD PTR -31108[rbp], edi
	mov	DWORD PTR -31112[rbp], esi
	mov	QWORD PTR -31120[rbp], rdx
	mov	DWORD PTR -31124[rbp], ecx
	mov	DWORD PTR -31128[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -31096[rbp], 0
	mov	QWORD PTR -30752[rbp], 0
	mov	QWORD PTR -30744[rbp], 0
	lea	rax, -30736[rbp]
	mov	edx, 10224
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -20512[rbp], 0
	mov	QWORD PTR -20504[rbp], 0
	lea	rax, -20496[rbp]
	mov	edx, 10224
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -31092[rbp], 0
	mov	DWORD PTR -31088[rbp], 0
	mov	DWORD PTR -31084[rbp], 1
	mov	QWORD PTR -30992[rbp], 0
	mov	QWORD PTR -30984[rbp], 0
	mov	DWORD PTR -31080[rbp], 0
	mov	DWORD PTR -31076[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -31032[rbp], rax
	cmp	DWORD PTR -31112[rbp], 4
	jne	.L309
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -31076[rbp], eax
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	edx, 2048
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	test	eax, eax
	jns	.L310
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC133[rip]
	call	fwrite@PLT
	jmp	.L308
.L309:
	cmp	DWORD PTR -31112[rbp], 2
	jne	.L310
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	edx, 2048
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	test	eax, eax
	jns	.L310
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC133[rip]
	call	fwrite@PLT
	jmp	.L308
.L310:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC134[rip]
	call	fwrite@PLT
	mov	DWORD PTR -31072[rbp], 0
.L360:
	cmp	DWORD PTR -31072[rbp], 2
	jg	.L312
	add	DWORD PTR -31072[rbp], 1
.L312:
	cmp	DWORD PTR -31096[rbp], 0
	jne	.L313
	mov	edi, 120
	call	alarm@PLT
	jmp	.L314
.L313:
	mov	DWORD PTR -31096[rbp], 0
.L314:
	mov	eax, DWORD PTR sigalarm_received[rip]
	test	eax, eax
	jne	.L308
	mov	eax, DWORD PTR sigint_received[rip]
	test	eax, eax
	jne	.L308
	mov	eax, DWORD PTR sigpipe_received[rip]
	test	eax, eax
	jne	.L308
	cmp	DWORD PTR -31092[rbp], 0
	jne	.L316
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	jne	.L317
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 30
	jg	.L317
	mov	QWORD PTR -30976[rbp], 0
	mov	QWORD PTR -30968[rbp], 700000
	lea	rax, -30976[rbp]
	mov	r8, rax
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	select@PLT
	mov	rax, QWORD PTR -30752[rbp]
	mov	rdx, QWORD PTR -30744[rbp]
	mov	QWORD PTR -30960[rbp], rax
	mov	QWORD PTR -30952[rbp], rdx
	mov	rax, QWORD PTR -30736[rbp]
	mov	rdx, QWORD PTR -30728[rbp]
	mov	QWORD PTR -30944[rbp], rax
	mov	QWORD PTR -30936[rbp], rdx
	mov	rax, QWORD PTR -30720[rbp]
	mov	rdx, QWORD PTR -30712[rbp]
	mov	QWORD PTR -30928[rbp], rax
	mov	QWORD PTR -30920[rbp], rdx
	mov	rax, QWORD PTR -30704[rbp]
	mov	rdx, QWORD PTR -30696[rbp]
	mov	QWORD PTR -30912[rbp], rax
	mov	QWORD PTR -30904[rbp], rdx
	mov	rax, QWORD PTR -30688[rbp]
	mov	rdx, QWORD PTR -30680[rbp]
	mov	QWORD PTR -30896[rbp], rax
	mov	QWORD PTR -30888[rbp], rdx
	mov	rax, QWORD PTR -30672[rbp]
	mov	rdx, QWORD PTR -30664[rbp]
	mov	QWORD PTR -30880[rbp], rax
	mov	QWORD PTR -30872[rbp], rdx
	mov	rax, QWORD PTR -30656[rbp]
	mov	rdx, QWORD PTR -30648[rbp]
	mov	QWORD PTR -30864[rbp], rax
	mov	QWORD PTR -30856[rbp], rdx
	mov	rax, QWORD PTR -30640[rbp]
	mov	rdx, QWORD PTR -30632[rbp]
	mov	QWORD PTR -30848[rbp], rax
	mov	QWORD PTR -30840[rbp], rdx
	mov	rax, QWORD PTR -30624[rbp]
	mov	rdx, QWORD PTR -30616[rbp]
	mov	QWORD PTR -30832[rbp], rax
	mov	QWORD PTR -30824[rbp], rdx
	mov	rax, QWORD PTR -30608[rbp]
	mov	rdx, QWORD PTR -30600[rbp]
	mov	QWORD PTR -30816[rbp], rax
	mov	QWORD PTR -30808[rbp], rdx
	mov	rax, QWORD PTR -30592[rbp]
	mov	rdx, QWORD PTR -30584[rbp]
	mov	QWORD PTR -30800[rbp], rax
	mov	QWORD PTR -30792[rbp], rdx
	mov	rax, QWORD PTR -30576[rbp]
	mov	rdx, QWORD PTR -30568[rbp]
	mov	QWORD PTR -30784[rbp], rax
	mov	QWORD PTR -30776[rbp], rdx
	mov	rax, QWORD PTR -30560[rbp]
	mov	QWORD PTR -30768[rbp], rax
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 29
	jle	.L318
	mov	eax, 5
	jmp	.L319
.L318:
	mov	eax, 3
.L319:
	mov	DWORD PTR -31064[rbp], eax
	mov	eax, DWORD PTR -31064[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR gps_socket[rip]
	mov	ecx, 0
	lea	rsi, .LC135[rip]
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -31064[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L317
	lea	rdi, .LC136[rip]
	call	perror@PLT
	jmp	.L308
.L317:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 3
	jne	.L321
	mov	eax, DWORD PTR gps_file[rip]
	lea	rcx, -30752[rbp]
	mov	edx, 10240
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -31092[rbp], eax
	jmp	.L322
.L321:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 1
	jne	.L323
	mov	eax, DWORD PTR gps_serial[rip]
	lea	rcx, -30752[rbp]
	mov	edx, 10240
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -31092[rbp], eax
	jmp	.L322
.L323:
	mov	eax, DWORD PTR gps_socket[rip]
	lea	rcx, -30752[rbp]
	mov	edx, 10240
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -31092[rbp], eax
.L322:
	cmp	DWORD PTR -31092[rbp], 0
	jne	.L324
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC137[rip]
	call	fwrite@PLT
	mov	DWORD PTR -31096[rbp], 1
	mov	edi, 3
	call	sleep@PLT
	jmp	.L325
.L324:
	cmp	DWORD PTR -31092[rbp], 0
	jns	.L326
	mov	eax, DWORD PTR sigint_received[rip]
	test	eax, eax
	jne	.L326
	lea	rdi, .LC138[rip]
	call	perror@PLT
	jmp	.L308
.L326:
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	jne	.L316
	mov	eax, DWORD PTR sisnet[rip]
	cmp	eax, 30
	jg	.L316
	lea	rcx, -30752[rbp]
	lea	rax, -30960[rbp]
	mov	edx, 200
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L316
	mov	DWORD PTR -31092[rbp], 0
.L316:
	cmp	DWORD PTR -31092[rbp], 0
	js	.L363
	cmp	DWORD PTR -31092[rbp], 0
	je	.L328
	cmp	DWORD PTR -31112[rbp], 3
	jne	.L328
	mov	eax, DWORD PTR -31092[rbp]
	movsx	rdx, eax
	lea	rsi, -30752[rbp]
	mov	eax, DWORD PTR -31108[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -31060[rbp], eax
	mov	eax, DWORD PTR -31060[rbp]
	cmp	eax, DWORD PTR -31092[rbp]
	je	.L329
	cmp	DWORD PTR -31060[rbp], 0
	jns	.L330
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L364
	lea	rdi, .LC139[rip]
	call	perror@PLT
	jmp	.L308
.L330:
	cmp	DWORD PTR -31060[rbp], 0
	je	.L364
	mov	eax, DWORD PTR -31092[rbp]
	sub	eax, DWORD PTR -31060[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -31060[rbp]
	cdqe
	lea	rcx, -30752[rbp]
	add	rcx, rax
	lea	rax, -30752[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR -31060[rbp]
	sub	DWORD PTR -31092[rbp], eax
	jmp	.L364
.L329:
	mov	DWORD PTR -31092[rbp], 0
	jmp	.L364
.L328:
	cmp	DWORD PTR -31092[rbp], 0
	je	.L333
	cmp	DWORD PTR -31112[rbp], 4
	jne	.L333
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -31056[rbp], eax
	mov	edx, DWORD PTR udp_init[rip]
	mov	eax, DWORD PTR -31056[rbp]
	sub	eax, edx
	imul	edx, eax, 8000
	mov	eax, DWORD PTR udp_tim[rip]
	add	eax, edx
	mov	DWORD PTR udp_tim[rip], eax
	mov	eax, DWORD PTR -31056[rbp]
	mov	DWORD PTR udp_init[rip], eax
	mov	BYTE PTR -10272[rbp], -128
	mov	BYTE PTR -10271[rbp], 96
	mov	eax, DWORD PTR udp_seq[rip]
	sar	eax, 8
	mov	BYTE PTR -10270[rbp], al
	mov	eax, DWORD PTR udp_seq[rip]
	mov	BYTE PTR -10269[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	shr	eax, 24
	mov	BYTE PTR -10268[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 16
	mov	BYTE PTR -10267[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	sar	eax, 8
	mov	BYTE PTR -10266[rbp], al
	mov	eax, DWORD PTR udp_tim[rip]
	mov	BYTE PTR -10265[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 24
	mov	BYTE PTR -10264[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 16
	mov	BYTE PTR -10263[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 8
	mov	BYTE PTR -10262[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	mov	BYTE PTR -10261[rbp], al
	mov	eax, DWORD PTR udp_seq[rip]
	add	eax, 1
	mov	DWORD PTR udp_seq[rip], eax
	mov	eax, DWORD PTR -31092[rbp]
	movsx	rdx, eax
	lea	rax, -10272[rbp]
	add	rax, 12
	lea	rcx, -30752[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -31092[rbp]
	cdqe
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10272[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -31052[rbp], eax
	mov	eax, DWORD PTR -31092[rbp]
	add	eax, 12
	cmp	DWORD PTR -31052[rbp], eax
	je	.L334
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L335
	lea	rdi, .LC139[rip]
	call	perror@PLT
	jmp	.L308
.L334:
	mov	DWORD PTR -31092[rbp], 0
.L335:
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10272[rbp]
	mov	ecx, 0
	mov	edx, 1592
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -31052[rbp], eax
	cmp	DWORD PTR -31052[rbp], 11
	jle	.L337
	movzx	eax, BYTE PTR -10272[rbp]
	cmp	al, -128
	jne	.L337
	movzx	eax, BYTE PTR -10264[rbp]
	movzx	eax, al
	sal	eax, 24
	mov	edx, eax
	movzx	eax, BYTE PTR -10263[rbp]
	movzx	eax, al
	sal	eax, 16
	add	edx, eax
	movzx	eax, BYTE PTR -10262[rbp]
	movzx	eax, al
	sal	eax, 8
	add	edx, eax
	movzx	eax, BYTE PTR -10261[rbp]
	movzx	eax, al
	add	eax, edx
	cmp	DWORD PTR -31128[rbp], eax
	jne	.L337
	movzx	eax, BYTE PTR -10271[rbp]
	cmp	al, 96
	jne	.L338
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -31076[rbp], eax
	jmp	.L365
.L338:
	movzx	eax, BYTE PTR -10271[rbp]
	cmp	al, 98
	jne	.L365
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC140[rip]
	call	fwrite@PLT
	jmp	.L308
.L337:
	mov	edi, 0
	call	time@PLT
	mov	edx, DWORD PTR -31076[rbp]
	add	edx, 60
	movsx	rdx, edx
	cmp	rax, rdx
	jle	.L366
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC141[rip]
	call	fwrite@PLT
	jmp	.L308
.L365:
	nop
	jmp	.L366
.L333:
	cmp	DWORD PTR -31092[rbp], 0
	je	.L341
	cmp	DWORD PTR -31112[rbp], 1
	jne	.L341
	cmp	DWORD PTR -31088[rbp], 0
	jne	.L342
	mov	edx, DWORD PTR -31092[rbp]
	lea	rax, -20512[rbp]
	mov	ecx, edx
	lea	rdx, .LC142[rip]
	mov	esi, 10240
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -31048[rbp], eax
	mov	eax, DWORD PTR -31048[rbp]
	movsx	rdx, eax
	lea	rsi, -20512[rbp]
	mov	eax, DWORD PTR -31108[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	eax, DWORD PTR -31092[rbp]
	mov	DWORD PTR -31088[rbp], eax
.L342:
	mov	eax, DWORD PTR -31088[rbp]
	movsx	rdx, eax
	lea	rsi, -30752[rbp]
	mov	eax, DWORD PTR -31108[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -31044[rbp], eax
	cmp	DWORD PTR -31044[rbp], 0
	jns	.L343
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L344
	lea	rdi, .LC139[rip]
	call	perror@PLT
	jmp	.L308
.L343:
	cmp	DWORD PTR -31044[rbp], 0
	je	.L344
	mov	eax, DWORD PTR -31092[rbp]
	sub	eax, DWORD PTR -31044[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -31044[rbp]
	cdqe
	lea	rcx, -30752[rbp]
	add	rcx, rax
	lea	rax, -30752[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR -31044[rbp]
	sub	DWORD PTR -31092[rbp], eax
	mov	eax, DWORD PTR -31044[rbp]
	sub	DWORD PTR -31088[rbp], eax
.L344:
	cmp	DWORD PTR -31088[rbp], 0
	jne	.L367
	mov	eax, DWORD PTR -31108[rbp]
	mov	ecx, 0
	mov	edx, 2
	lea	rsi, .LC65[rip]
	mov	edi, eax
	call	send@PLT
	jmp	.L367
.L341:
	cmp	DWORD PTR -31092[rbp], 0
	je	.L332
	cmp	DWORD PTR -31112[rbp], 2
	jne	.L332
	lea	rax, -31008[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	cmp	DWORD PTR -31084[rbp], 0
	je	.L346
	call	rand@PLT
	mov	DWORD PTR -31080[rbp], eax
	call	rand@PLT
	mov	DWORD PTR -31076[rbp], eax
	mov	rax, QWORD PTR -31008[rbp]
	mov	rdx, QWORD PTR -31000[rbp]
	mov	QWORD PTR -30992[rbp], rax
	mov	QWORD PTR -30984[rbp], rdx
	mov	DWORD PTR -31084[rbp], 0
	jmp	.L347
.L346:
	add	DWORD PTR -31080[rbp], 1
	mov	rax, QWORD PTR -31008[rbp]
	mov	rdx, QWORD PTR -30992[rbp]
	sub	rax, rdx
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -31000[rbp]
	mov	rcx, QWORD PTR -30984[rbp]
	sub	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -31024[rbp], rax
	mov	rcx, QWORD PTR -31024[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 4
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -31076[rbp]
	add	eax, edx
	mov	DWORD PTR -31076[rbp], eax
.L347:
	mov	BYTE PTR -10272[rbp], -128
	mov	BYTE PTR -10271[rbp], 96
	mov	eax, DWORD PTR -31080[rbp]
	sar	eax, 8
	mov	BYTE PTR -10270[rbp], al
	mov	eax, DWORD PTR -31080[rbp]
	mov	BYTE PTR -10269[rbp], al
	mov	eax, DWORD PTR -31076[rbp]
	sar	eax, 24
	mov	BYTE PTR -10268[rbp], al
	mov	eax, DWORD PTR -31076[rbp]
	sar	eax, 16
	mov	BYTE PTR -10267[rbp], al
	mov	eax, DWORD PTR -31076[rbp]
	sar	eax, 8
	mov	BYTE PTR -10266[rbp], al
	mov	eax, DWORD PTR -31076[rbp]
	mov	BYTE PTR -10265[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 24
	mov	BYTE PTR -10264[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 16
	mov	BYTE PTR -10263[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	shr	eax, 8
	mov	BYTE PTR -10262[rbp], al
	mov	eax, DWORD PTR -31128[rbp]
	mov	BYTE PTR -10261[rbp], al
	mov	DWORD PTR -31068[rbp], 0
	jmp	.L348
.L349:
	mov	eax, DWORD PTR -31068[rbp]
	lea	ecx, 12[rax]
	mov	eax, DWORD PTR -31068[rbp]
	cdqe
	movzx	edx, BYTE PTR -30752[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -10272[rbp+rax], dl
	add	DWORD PTR -31068[rbp], 1
.L348:
	mov	eax, DWORD PTR -31068[rbp]
	cmp	eax, DWORD PTR -31092[rbp]
	jl	.L349
	mov	rax, QWORD PTR -31008[rbp]
	mov	QWORD PTR -30992[rbp], rax
	mov	rax, QWORD PTR -31000[rbp]
	mov	QWORD PTR -30984[rbp], rax
	mov	eax, DWORD PTR -31092[rbp]
	add	eax, 12
	movsx	rdx, eax
	mov	edi, DWORD PTR -31124[rbp]
	mov	rcx, QWORD PTR -31120[rbp]
	lea	rsi, -10272[rbp]
	mov	eax, DWORD PTR -31108[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -31040[rbp], eax
	mov	eax, DWORD PTR -31092[rbp]
	add	eax, 12
	cmp	DWORD PTR -31040[rbp], eax
	je	.L350
	cmp	DWORD PTR -31040[rbp], 0
	jns	.L351
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L352
	lea	rdi, .LC139[rip]
	call	perror@PLT
	jmp	.L308
.L351:
	cmp	DWORD PTR -31040[rbp], 0
	je	.L352
	mov	eax, DWORD PTR -31040[rbp]
	lea	edx, -12[rax]
	mov	eax, DWORD PTR -31092[rbp]
	sub	eax, edx
	movsx	rdx, eax
	mov	eax, DWORD PTR -31040[rbp]
	cdqe
	lea	rcx, -12[rax]
	lea	rax, -30752[rbp]
	add	rcx, rax
	lea	rax, -30752[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR -31040[rbp]
	sub	eax, 12
	sub	DWORD PTR -31092[rbp], eax
	jmp	.L352
.L350:
	mov	DWORD PTR -31092[rbp], 0
.L352:
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -31016[rbp], rax
	mov	rax, QWORD PTR -31016[rbp]
	sub	rax, QWORD PTR -31032[rbp]
	cmp	rax, 15
	jle	.L354
	mov	eax, DWORD PTR udp_cseq[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR udp_cseq[rip], edx
	mov	rsi, QWORD PTR mountpoint[rip]
	mov	rdx, QWORD PTR caster_out_host[rip]
	lea	rdi, -30752[rbp]
	mov	ecx, DWORD PTR -31128[rbp]
	push	rcx
	push	rax
	mov	r9, rsi
	lea	r8, rtsp_extension[rip]
	mov	rcx, rdx
	lea	rdx, .LC143[rip]
	mov	esi, 10240
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -31040[rbp], eax
	cmp	DWORD PTR -31040[rbp], 10240
	jg	.L355
	cmp	DWORD PTR -31040[rbp], 0
	jns	.L356
.L355:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC89[rip]
	call	fwrite@PLT
	jmp	.L308
.L356:
	mov	eax, DWORD PTR -31040[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -30752[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -31040[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L357
	lea	rdi, .LC144[rip]
	call	perror@PLT
	jmp	.L308
.L357:
	mov	rax, QWORD PTR -31016[rbp]
	mov	QWORD PTR -31032[rbp], rax
.L354:
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -30752[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -31036[rbp], eax
	cmp	DWORD PTR -31036[rbp], 0
	jns	.L358
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L332
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC145[rip]
	call	fwrite@PLT
	jmp	.L308
.L358:
	cmp	DWORD PTR -31036[rbp], 0
	jne	.L332
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 30
	mov	esi, 1
	lea	rdi, .LC146[rip]
	call	fwrite@PLT
	jmp	.L308
.L364:
	nop
	jmp	.L332
.L366:
	nop
	jmp	.L332
.L367:
	nop
.L332:
	cmp	DWORD PTR -31072[rbp], 3
	jne	.L360
	mov	DWORD PTR reconnect_sec[rip], 1
.L325:
	jmp	.L360
.L363:
	nop
.L308:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L362
	call	__stack_chk_fail@PLT
.L362:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	send_receive_loop, .-send_receive_loop
	.section	.rodata
	.align 8
.LC147:
	.string	"ERROR: opening serial connection"
.LC148:
	.string	"ERROR: get serial attributes"
	.align 8
.LC149:
	.string	"WARNING: Baud settings not useful, using 19200\n"
	.align 8
.LC150:
	.string	"ERROR: setting serial speed with cfsetispeed"
	.align 8
.LC151:
	.string	"ERROR: setting serial speed with cfsetospeed"
	.align 8
.LC152:
	.string	"ERROR: setting serial attributes"
	.align 8
.LC153:
	.string	"WARNING: setting blocking inputmode failed"
	.text
	.type	openserial, @function
openserial:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	DWORD PTR -112[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 2050
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR gps_serial[rip], eax
	mov	eax, DWORD PTR gps_serial[rip]
	test	eax, eax
	jns	.L369
	lea	rdi, .LC147[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L390
.L369:
	mov	eax, DWORD PTR gps_serial[rip]
	lea	rdx, -80[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	test	eax, eax
	jns	.L371
	lea	rdi, .LC148[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L390
.L371:
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 2224
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L372
.L373:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	BYTE PTR -63[rbp+rax], -1
	add	DWORD PTR -84[rbp], 1
.L372:
	cmp	DWORD PTR -84[rbp], 31
	jle	.L373
	mov	eax, DWORD PTR -108[rbp]
	mov	BYTE PTR -57[rbp], al
	mov	BYTE PTR -58[rbp], 2
	cmp	DWORD PTR -112[rbp], 230400
	je	.L374
	cmp	DWORD PTR -112[rbp], 230400
	jg	.L375
	cmp	DWORD PTR -112[rbp], 115200
	je	.L376
	cmp	DWORD PTR -112[rbp], 115200
	jg	.L375
	cmp	DWORD PTR -112[rbp], 57600
	je	.L377
	cmp	DWORD PTR -112[rbp], 57600
	jg	.L375
	cmp	DWORD PTR -112[rbp], 38400
	je	.L378
	cmp	DWORD PTR -112[rbp], 38400
	jg	.L375
	cmp	DWORD PTR -112[rbp], 19200
	je	.L379
	cmp	DWORD PTR -112[rbp], 19200
	jg	.L375
	cmp	DWORD PTR -112[rbp], 9600
	je	.L380
	cmp	DWORD PTR -112[rbp], 9600
	jg	.L375
	cmp	DWORD PTR -112[rbp], 4800
	je	.L381
	cmp	DWORD PTR -112[rbp], 4800
	jg	.L375
	cmp	DWORD PTR -112[rbp], 2400
	je	.L382
	cmp	DWORD PTR -112[rbp], 2400
	jg	.L375
	cmp	DWORD PTR -112[rbp], 300
	je	.L383
	cmp	DWORD PTR -112[rbp], 1200
	je	.L384
	jmp	.L375
.L383:
	mov	DWORD PTR -112[rbp], 7
	jmp	.L385
.L384:
	mov	DWORD PTR -112[rbp], 9
	jmp	.L385
.L382:
	mov	DWORD PTR -112[rbp], 11
	jmp	.L385
.L381:
	mov	DWORD PTR -112[rbp], 12
	jmp	.L385
.L380:
	mov	DWORD PTR -112[rbp], 13
	jmp	.L385
.L379:
	mov	DWORD PTR -112[rbp], 14
	jmp	.L385
.L378:
	mov	DWORD PTR -112[rbp], 15
	jmp	.L385
.L377:
	mov	DWORD PTR -112[rbp], 4097
	jmp	.L385
.L376:
	mov	DWORD PTR -112[rbp], 4098
	jmp	.L385
.L374:
	mov	DWORD PTR -112[rbp], 4099
	jmp	.L385
.L375:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC149[rip]
	call	fwrite@PLT
	mov	DWORD PTR -112[rbp], 14
	nop
.L385:
	mov	edx, DWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetispeed@PLT
	test	eax, eax
	je	.L386
	lea	rdi, .LC150[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L390
.L386:
	mov	edx, DWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetospeed@PLT
	test	eax, eax
	je	.L387
	lea	rdi, .LC151[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L390
.L387:
	mov	eax, DWORD PTR gps_serial[rip]
	lea	rdx, -80[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	test	eax, eax
	jns	.L388
	lea	rdi, .LC152[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L390
.L388:
	mov	eax, DWORD PTR gps_serial[rip]
	mov	edx, 0
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	cmp	eax, -1
	jne	.L389
	lea	rdi, .LC153[rip]
	call	perror@PLT
.L389:
	mov	eax, DWORD PTR gps_serial[rip]
.L390:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L391
	call	__stack_chk_fail@PLT
.L391:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	openserial, .-openserial
	.section	.rodata
	.align 8
.LC154:
	.string	"Version %s (%s) GPL built Dec 18 2024\nUsage:\n%s [OPTIONS]\n"
.LC155:
	.string	"PURPOSE\n"
	.align 8
.LC156:
	.string	"   The purpose of this program is to pick up a GNSS data stream (Input, Source)\n"
.LC157:
	.string	"   from either\n\n"
.LC158:
	.string	"     1. a Serial port, or\n"
.LC159:
	.string	"     2. an IP server, or\n"
.LC160:
	.string	"     3. a File, or\n"
	.align 8
.LC161:
	.string	"     4. a SISNeT Data Server, or\n"
.LC162:
	.string	"     5. a UDP server, or\n"
	.align 8
.LC163:
	.string	"     6. an NTRIP Version 1.0 Caster\n\n"
	.align 8
.LC164:
	.string	"   and forward that incoming stream (Output, Destination) to either\n\n"
	.align 8
.LC165:
	.string	"     - an NTRIP Version 1.0 Caster, or\n"
	.align 8
.LC166:
	.string	"     - an NTRIP Version 2.0 Caster via TCP/IP or RTSP/RTP.\n\n\n"
.LC167:
	.string	"OPTIONS\n"
	.align 8
.LC168:
	.string	"   -h|? print this help screen\n\n"
	.align 8
.LC169:
	.string	"    -E <ProxyHost>       Proxy server host name or address, required i.e. when\n"
	.align 8
.LC170:
	.string	"                         running the program in a proxy server protected LAN,\n"
	.align 8
.LC171:
	.string	"                         optional\n"
	.align 8
.LC172:
	.string	"    -F <ProxyPort>       Proxy server IP port, required i.e. when running\n"
	.align 8
.LC173:
	.string	"                         the program in a proxy server protected LAN, optional\n"
	.align 8
.LC174:
	.string	"    -R <maxDelay>        Reconnect mechanism with maximum delay between reconnect\n"
	.align 8
.LC175:
	.string	"                         attemts in seconds, default: no reconnect activated,\n"
	.align 8
.LC176:
	.string	"                         optional\n\n"
	.align 8
.LC177:
	.string	"    -M <InputMode> Sets the input mode (1 = Serial Port, 2 = IP server,\n"
	.align 8
.LC178:
	.string	"       3 = File, 4 = SISNeT Data Server, 5 = UDP server, 6 = NTRIP Caster),\n"
.LC179:
	.string	"       mandatory\n\n"
	.align 8
.LC180:
	.string	"       <InputMode> = 1 (Serial Port):\n"
	.align 8
.LC181:
	.string	"       -i <Device>       Serial input device, default: %s, mandatory if\n"
	.align 8
.LC182:
	.string	"                         <InputMode>=1\n"
	.align 8
.LC183:
	.string	"       -b <BaudRate>     Serial input baud rate, default: 19200 bps, mandatory\n"
	.align 8
.LC184:
	.string	"                         if <InputMode>=1\n"
	.align 8
.LC185:
	.string	"       -f <InitFile>     Name of initialization file to be send to input device,\n"
	.align 8
.LC186:
	.string	"       <InputMode> = 2|5 (IP port | UDP port):\n"
	.align 8
.LC187:
	.string	"       -H <ServerHost>   Input host name or address, default: 127.0.0.1,\n"
	.align 8
.LC188:
	.string	"                         mandatory if <InputMode> = 2|5\n"
	.align 8
.LC189:
	.string	"       -P <ServerPort>   Input port, default: 1025, mandatory if <InputMode>= 2|5\n"
	.align 8
.LC190:
	.string	"       -f <ServerFile>   Name of initialization file to be send to server,\n"
	.align 8
.LC191:
	.string	"       -x <ServerUser>   User ID to access incoming stream, optional\n"
	.align 8
.LC192:
	.string	"       -y <ServerPass>   Password, to access incoming stream, optional\n"
	.align 8
.LC193:
	.string	"       -B Bind to incoming UDP stream, optional for <InputMode> = 5\n\n"
	.align 8
.LC194:
	.string	"       <InputMode> = 3 (File):\n"
	.align 8
.LC195:
	.string	"       -s <File>         File name to simulate stream by reading data from (log)\n"
	.align 8
.LC196:
	.string	"                         file, default is %s, mandatory for <InputMode> = 3\n\n"
	.align 8
.LC197:
	.string	"       <InputMode> = 4 (SISNeT Data Server):\n"
	.align 8
.LC198:
	.string	"       -H <SisnetHost>   SISNeT Data Server name or address,\n"
	.align 8
.LC199:
	.string	"                         default: 131.176.49.142, mandatory if <InputMode> = 4\n"
	.align 8
.LC200:
	.string	"       -P <SisnetPort>   SISNeT Data Server port, default: 7777, mandatory if\n"
	.align 8
.LC201:
	.string	"                         <InputMode> = 4\n"
	.align 8
.LC202:
	.string	"       -u <SisnetUser>   SISNeT Data Server user ID, mandatory if <InputMode> = 4\n"
	.align 8
.LC203:
	.string	"       -l <SisnetPass>   SISNeT Data Server password, mandatory if <InputMode> = 4\n"
	.align 8
.LC204:
	.string	"       -V <SisnetVers>   SISNeT Data Server Version number, options are 2.1, 3.0\n"
	.align 8
.LC205:
	.string	"                         or 3.1, default: 3.1, mandatory if <InputMode> = 4\n\n"
	.align 8
.LC206:
	.string	"       <InputMode> = 6 (NTRIP Version 1.0 Caster):\n"
	.align 8
.LC207:
	.string	"       -H <SourceHost>   Source caster name or address, default: 127.0.0.1,\n"
	.align 8
.LC208:
	.string	"                         mandatory if <InputMode> = 6\n"
	.align 8
.LC209:
	.string	"       -P <SourcePort>   Source caster port, default: 2101, mandatory if\n"
	.align 8
.LC210:
	.string	"                         <InputMode> = 6\n"
	.align 8
.LC211:
	.string	"       -D <SourceMount>  Source caster mountpoint for stream input, mandatory if\n"
	.align 8
.LC212:
	.string	"       -U <SourceUser>   Source caster user Id for input stream access, mandatory\n"
	.align 8
.LC213:
	.string	"                         for protected streams if <InputMode> = 6\n"
	.align 8
.LC214:
	.string	"       -W <SourcePass>   Source caster password for input stream access, mandatory\n"
	.align 8
.LC215:
	.string	"                         for protected streams if <InputMode> = 6\n\n"
	.align 8
.LC216:
	.string	"    -O <OutputMode> Sets output mode for communatation with destination caster\n"
	.align 8
.LC217:
	.string	"       1 = http: NTRIP Version 2.0 Caster in TCP/IP mode\n"
	.align 8
.LC218:
	.string	"       2 = rtsp: NTRIP Version 2.0 Caster in RTSP/RTP mode\n"
	.align 8
.LC219:
	.string	"       3 = ntrip1: NTRIP Version 1.0 Caster\n"
	.align 8
.LC220:
	.string	"       4 = udp: NTRIP Version 2.0 Caster in Plain UDP mode\n"
.LC221:
	.string	"       optional\n\n"
	.align 8
.LC222:
	.string	"       Defaults to NTRIP1.0, but will change to 2.0 in future versions\n"
	.align 8
.LC223:
	.string	"       Note that the program automatically falls back from mode rtsp to mode http and\n"
	.align 8
.LC224:
	.string	"       further to mode ntrip1 if necessary.\n\n"
	.align 8
.LC225:
	.string	"       -a <DestHost>     Destination caster name or address, default: 127.0.0.1,\n"
	.align 8
.LC226:
	.string	"                         mandatory\n"
	.align 8
.LC227:
	.string	"       -p <DestPort>     Destination caster port, default: 2101, mandatory\n"
	.align 8
.LC228:
	.string	"       -m <DestMount>    Destination caster mountpoint for stream upload,\n"
	.align 8
.LC229:
	.string	"       -n <DestUser>     Destination caster user ID for stream upload to\n"
	.align 8
.LC230:
	.string	"                         mountpoint, only for NTRIP Version 2.0 destination\n"
	.align 8
.LC231:
	.string	"                         casters, mandatory\n"
	.align 8
.LC232:
	.string	"       -c <DestPass>     Destination caster password for stream upload to\n"
	.align 8
.LC233:
	.string	"                         mountpoint, mandatory\n"
	.align 8
.LC234:
	.string	"       -N <STR-record>   Sourcetable STR-record\n"
	.align 8
.LC235:
	.string	"                         optional for NTRIP Version 2.0 in RTSP/RTP and TCP/IP mode\n\n"
	.text
	.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
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	r8, rdx
	lea	rcx, date_str[rip]
	lea	rdx, revision_str[rip]
	lea	rsi, .LC154[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC155[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 80
	mov	esi, 1
	lea	rdi, .LC156[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC157[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC158[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC159[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC160[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC161[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC162[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC163[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC164[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC165[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 61
	mov	esi, 1
	lea	rdi, .LC166[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC167[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC168[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC169[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 78
	mov	esi, 1
	lea	rdi, .LC170[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC171[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 74
	mov	esi, 1
	lea	rdi, .LC172[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC173[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC174[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 78
	mov	esi, 1
	lea	rdi, .LC175[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC176[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 72
	mov	esi, 1
	lea	rdi, .LC177[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 76
	mov	esi, 1
	lea	rdi, .LC178[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC179[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC180[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR tty_port[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC181[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC182[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC183[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC184[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC185[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC176[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC186[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC187[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC188[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC189[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 75
	mov	esi, 1
	lea	rdi, .LC190[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC171[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC191[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC192[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 69
	mov	esi, 1
	lea	rdi, .LC193[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC194[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC195[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR file_path[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC196[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC197[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 61
	mov	esi, 1
	lea	rdi, .LC198[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC199[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 78
	mov	esi, 1
	lea	rdi, .LC200[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC201[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC202[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 83
	mov	esi, 1
	lea	rdi, .LC203[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC204[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 77
	mov	esi, 1
	lea	rdi, .LC205[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC206[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 76
	mov	esi, 1
	lea	rdi, .LC207[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 54
	mov	esi, 1
	lea	rdi, .LC208[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC209[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC210[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC211[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC210[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 82
	mov	esi, 1
	lea	rdi, .LC212[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 66
	mov	esi, 1
	lea	rdi, .LC213[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 83
	mov	esi, 1
	lea	rdi, .LC214[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC215[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 79
	mov	esi, 1
	lea	rdi, .LC216[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC217[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 59
	mov	esi, 1
	lea	rdi, .LC218[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC219[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 59
	mov	esi, 1
	lea	rdi, .LC220[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC221[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC222[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 86
	mov	esi, 1
	lea	rdi, .LC223[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC224[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 81
	mov	esi, 1
	lea	rdi, .LC225[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC226[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 75
	mov	esi, 1
	lea	rdi, .LC227[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 74
	mov	esi, 1
	lea	rdi, .LC228[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 35
	mov	esi, 1
	lea	rdi, .LC226[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC229[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 76
	mov	esi, 1
	lea	rdi, .LC230[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC231[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 74
	mov	esi, 1
	lea	rdi, .LC232[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC233[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC234[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 85
	mov	esi, 1
	lea	rdi, .LC235[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.section	.rodata
	.align 8
.LC236:
	.string	"WARNING: SIGINT received - ntrip_server terminates\n"
	.text
	.type	handle_sigint, @function
handle_sigint:
.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	DWORD PTR sigint_received[rip], 1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC236[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	handle_sigint, .-handle_sigint
	.section	.rodata
	.align 8
.LC237:
	.string	"ERROR: more than %d seconds no activity\n"
	.text
	.type	handle_alarm, @function
handle_alarm:
.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	DWORD PTR sigalarm_received[rip], 1
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 120
	lea	rsi, .LC237[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	handle_alarm, .-handle_alarm
	.type	handle_sigpipe, @function
handle_sigpipe:
.LFB12:
	.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 -4[rbp], edi
	mov	DWORD PTR sigpipe_received[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	handle_sigpipe, .-handle_sigpipe
	.type	setup_signal_handler, @function
setup_signal_handler:
.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, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	mov	eax, DWORD PTR -164[rbp]
	lea	rdx, -160[rbp]
	add	rdx, 8
	mov	esi, eax
	mov	rdi, rdx
	call	sigaddset@PLT
	mov	DWORD PTR -24[rbp], 0
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sigaction@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L397
	call	__stack_chk_fail@PLT
.L397:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	setup_signal_handler, .-setup_signal_handler
	.section	.rodata
	.align 32
	.type	encodingTable, @object
	.size	encodingTable, 64
encodingTable:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01234567"
	.ascii	"89+/"
	.text
	.type	encode, @function
encode:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L399
.L415:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L400
.L402:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -11[rbp+rax], dl
.L400:
	cmp	DWORD PTR -40[rbp], 2
	jg	.L401
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L402
.L401:
	cmp	DWORD PTR -40[rbp], 2
	jg	.L404
	cmp	DWORD PTR -36[rbp], 0
	jne	.L404
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	cdqe
	mov	BYTE PTR -11[rbp+rax], 58
	add	DWORD PTR -36[rbp], 1
	jmp	.L404
.L406:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -80[rbp], rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -11[rbp+rax], dl
.L404:
	cmp	DWORD PTR -40[rbp], 2
	jg	.L407
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L406
	jmp	.L407
.L408:
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -40[rbp], edx
	cdqe
	mov	BYTE PTR -11[rbp+rax], 0
	add	DWORD PTR -32[rbp], 1
.L407:
	cmp	DWORD PTR -40[rbp], 2
	jle	.L408
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L409
	movzx	eax, BYTE PTR -11[rbp]
	shr	al, 2
	movzx	ecx, al
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, encodingTable[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
.L409:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L410
	movzx	eax, BYTE PTR -11[rbp]
	movzx	eax, al
	sal	eax, 4
	and	eax, 48
	mov	edx, eax
	movzx	eax, BYTE PTR -10[rbp]
	shr	al, 4
	movzx	eax, al
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, encodingTable[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
.L410:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L411
	cmp	DWORD PTR -32[rbp], 2
	jne	.L412
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 61
	jmp	.L411
.L412:
	movzx	eax, BYTE PTR -10[rbp]
	movzx	eax, al
	sal	eax, 2
	and	eax, 60
	mov	edx, eax
	movzx	eax, BYTE PTR -9[rbp]
	shr	al, 6
	movzx	eax, al
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, encodingTable[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
.L411:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L413
	cmp	DWORD PTR -32[rbp], 0
	jle	.L414
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 61
	jmp	.L413
.L414:
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	and	eax, 63
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movsx	rdx, ecx
	lea	rcx, encodingTable[rip]
	movzx	edx, BYTE PTR [rdx+rcx]
	mov	BYTE PTR [rax], dl
.L413:
	add	DWORD PTR -28[rbp], 4
.L399:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L415
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L415
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -56[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	cmp	rdx, rax
	jge	.L416
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
.L416:
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L418
	call	__stack_chk_fail@PLT
.L418:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	encode, .-encode
	.section	.rodata
	.align 8
.LC238:
	.string	"WARNING: could not send full header to Destination caster\n"
.LC239:
	.string	"\nDestination caster request:\n"
	.text
	.type	send_to_caster, @function
send_to_caster:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rsi, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L420
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 58
	mov	esi, 1
	lea	rdi, .LC238[rip]
	call	fwrite@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L421
.L420:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC239[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR stderr[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L421:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	send_to_caster, .-send_to_caster
	.section	.rodata
.LC240:
	.string	"reconnect in <%d> seconds\n\n"
	.text
	.type	reconnect, @function
reconnect:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC240[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sal	DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L424
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
.L424:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	sleep@PLT
	mov	DWORD PTR sigpipe_received[rip], 0
	mov	DWORD PTR sigalarm_received[rip], 0
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	reconnect, .-reconnect
	.section	.rodata
.LC241:
	.string	"ERROR: close input device "
	.align 8
.LC242:
	.string	"close input device: successful\n"
	.align 8
.LC243:
	.string	"TEARDOWN rtsp://%s%s/%s RTSP/1.0\r\nCSeq: %d\r\nSession: %u\r\n\r\n"
	.align 8
.LC244:
	.string	"Destination caster response:\n%s"
.LC245:
	.string	"ERROR: close udp socket"
.LC246:
	.string	"close udp socket: successful\n"
.LC247:
	.string	"ERROR: close tcp socket"
.LC248:
	.string	"close tcp socket: successful\n"
	.text
	.type	close_session, @function
close_session:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2112
	mov	QWORD PTR -10280[rbp], rdi
	mov	QWORD PTR -10288[rbp], rsi
	mov	DWORD PTR -10292[rbp], edx
	mov	QWORD PTR -10304[rbp], rcx
	mov	DWORD PTR -10296[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -10296[rbp], 0
	jne	.L427
	mov	eax, DWORD PTR gps_socket[rip]
	cmp	eax, -1
	je	.L428
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 2
	je	.L429
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 5
	je	.L429
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 6
	je	.L429
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 4
	jne	.L428
.L429:
	mov	eax, DWORD PTR gps_socket[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L430
	lea	rdi, .LC241[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L430:
	mov	DWORD PTR gps_socket[rip], -1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC242[rip]
	call	fwrite@PLT
	jmp	.L427
.L428:
	mov	eax, DWORD PTR gps_serial[rip]
	cmp	eax, -1
	je	.L431
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 1
	jne	.L431
	mov	eax, DWORD PTR gps_serial[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L432
	lea	rdi, .LC241[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L432:
	mov	DWORD PTR gps_serial[rip], -1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC242[rip]
	call	fwrite@PLT
	jmp	.L427
.L431:
	mov	eax, DWORD PTR gps_file[rip]
	cmp	eax, -1
	je	.L427
	mov	eax, DWORD PTR input_mode[rip]
	cmp	eax, 3
	jne	.L427
	mov	eax, DWORD PTR gps_file[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L433
	lea	rdi, .LC241[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L433:
	mov	DWORD PTR gps_file[rip], -1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC242[rip]
	call	fwrite@PLT
.L427:
	mov	eax, DWORD PTR socket_udp[rip]
	cmp	eax, -1
	je	.L434
	mov	eax, DWORD PTR udp_cseq[rip]
	cmp	eax, 2
	jle	.L435
	mov	eax, DWORD PTR udp_cseq[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR udp_cseq[rip], edx
	mov	r8, QWORD PTR -10288[rbp]
	mov	rsi, QWORD PTR -10304[rbp]
	mov	rdx, QWORD PTR -10280[rbp]
	lea	rdi, -10256[rbp]
	mov	ecx, DWORD PTR -10292[rbp]
	push	rcx
	push	rax
	mov	r9, r8
	mov	r8, rsi
	mov	rcx, rdx
	lea	rdx, .LC243[rip]
	mov	esi, 10240
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -10260[rbp], eax
	cmp	DWORD PTR -10260[rbp], 10239
	jg	.L436
	cmp	DWORD PTR -10260[rbp], 0
	jns	.L437
.L436:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC97[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L437:
	mov	ecx, DWORD PTR socket_tcp[rip]
	mov	edx, DWORD PTR -10260[rbp]
	lea	rax, -10256[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	send_to_caster
	mov	BYTE PTR -10256[rbp], 0
	mov	eax, DWORD PTR socket_tcp[rip]
	lea	rsi, -10256[rbp]
	mov	ecx, 0
	mov	edx, 10240
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -10260[rbp], eax
	mov	eax, DWORD PTR -10260[rbp]
	cdqe
	mov	BYTE PTR -10256[rbp+rax], 0
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -10256[rbp]
	lea	rsi, .LC244[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L435:
	mov	eax, DWORD PTR socket_udp[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L438
	lea	rdi, .LC245[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L438:
	mov	DWORD PTR socket_udp[rip], -1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC246[rip]
	call	fwrite@PLT
.L434:
	mov	eax, DWORD PTR socket_tcp[rip]
	cmp	eax, -1
	je	.L442
	mov	eax, DWORD PTR socket_tcp[rip]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L440
	lea	rdi, .LC247[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L440:
	mov	DWORD PTR socket_tcp[rip], -1
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC248[rip]
	call	fwrite@PLT
.L442:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L441
	call	__stack_chk_fail@PLT
.L441:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	close_session, .-close_session
	.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	"64199368.c"
	.text
	.data
	.align	2
	.type	revision_str, %object
	.size	revision_str, 18
revision_str:
	.ascii	"$Revision: 8789 $\000"
	.align	2
	.type	date_str, %object
	.size	date_str, 54
date_str:
	.ascii	"$Date: 2019-08-05 08:31:56 +0000 (Mon, 05 Aug 2019)"
	.ascii	" $\000"
	.align	2
	.type	tty_baud, %object
	.size	tty_baud, 4
tty_baud:
	.word	19200
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/gps\000"
	.data
	.align	2
	.type	tty_port, %object
	.size	tty_port, 4
tty_port:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"/dev/stdin\000"
	.data
	.align	2
	.type	file_path, %object
	.size	file_path, 4
file_path:
	.word	.LC1
	.align	2
	.type	input_mode, %object
	.size	input_mode, 4
input_mode:
	.word	3
	.align	2
	.type	sisnet, %object
	.size	sisnet, 4
sisnet:
	.word	31
	.align	2
	.type	gps_file, %object
	.size	gps_file, 4
gps_file:
	.word	-1
	.align	2
	.type	gps_socket, %object
	.size	gps_socket, 4
gps_socket:
	.word	-1
	.align	2
	.type	socket_tcp, %object
	.size	socket_tcp, 4
socket_tcp:
	.word	-1
	.align	2
	.type	socket_udp, %object
	.size	socket_udp, 4
socket_udp:
	.word	-1
	.align	2
	.type	gps_serial, %object
	.size	gps_serial, 4
gps_serial:
	.word	-1
	.local	sigpipe_received
	.comm	sigpipe_received,4,4
	.local	sigalarm_received
	.comm	sigalarm_received,4,4
	.local	sigint_received
	.comm	sigint_received,4,4
	.align	2
	.type	reconnect_sec, %object
	.size	reconnect_sec, 4
reconnect_sec:
	.word	1
	.section	.rodata
	.align	2
.LC2:
	.ascii	"www.euref-ip.net\000"
	.data
	.align	2
	.type	caster_out_host, %object
	.size	caster_out_host, 4
caster_out_host:
	.word	.LC2
	.local	rtsp_extension
	.comm	rtsp_extension,64,4
	.local	mountpoint
	.comm	mountpoint,4,4
	.align	2
	.type	udp_cseq, %object
	.size	udp_cseq, 4
udp_cseq:
	.word	1
	.local	udp_tim
	.comm	udp_tim,4,4
	.local	udp_seq
	.comm	udp_seq,4,4
	.local	udp_init
	.comm	udp_init,4,4
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	" \015\012=\000"
	.align	2
.LC5:
	.ascii	"1.\000"
	.align	2
.LC6:
	.ascii	"serial\000"
	.align	2
.LC7:
	.ascii	"tcpsocket\000"
	.align	2
.LC8:
	.ascii	"file\000"
	.align	2
.LC9:
	.ascii	"sisnet\000"
	.align	2
.LC10:
	.ascii	"udpsocket\000"
	.align	2
.LC11:
	.ascii	"caster\000"
	.align	2
.LC12:
	.ascii	"ERROR: can't convert <%s> to a valid InputMode\012\000"
	.align	2
.LC13:
	.ascii	"3.0\000"
	.align	2
.LC14:
	.ascii	"3.1\000"
	.align	2
.LC15:
	.ascii	"2.1\000"
	.align	2
.LC16:
	.ascii	"ERROR: unknown SISNeT version <%s>\012\000"
	.align	2
.LC17:
	.ascii	"ERROR: can't convert <%s> to valid serial baud rate"
	.ascii	"\012\000"
	.align	2
.LC18:
	.ascii	"ERROR: can't convert <%s> to a valid HTTP server po"
	.ascii	"rt\012\000"
	.align	2
.LC19:
	.ascii	"ERROR: can't convert <%s> to a valid port number\012"
	.ascii	"\000"
	.align	2
.LC20:
	.ascii	"n\000"
	.align	2
.LC21:
	.ascii	"ntrip1\000"
	.align	2
.LC22:
	.ascii	"h\000"
	.align	2
.LC23:
	.ascii	"http\000"
	.align	2
.LC24:
	.ascii	"r\000"
	.align	2
.LC25:
	.ascii	"rtsp\000"
	.align	2
.LC26:
	.ascii	"u\000"
	.align	2
.LC27:
	.ascii	"udp\000"
	.align	2
.LC28:
	.ascii	"ERROR: can't convert <%s> to a valid Output Mode\012"
	.ascii	"\000"
	.align	2
.LC29:
	.ascii	"M:i:h:b:p:s:a:m:c:H:P:f:x:y:l:u:V:D:U:W:O:E:F:R:N:n"
	.ascii	":B\000"
	.align	2
.LC30:
	.ascii	"ERROR: Extra args on command line: \000"
	.align	2
.LC31:
	.ascii	" %s\000"
	.align	2
.LC32:
	.ascii	"WARNING: maximum delay between reconnect attemts ch"
	.ascii	"anged from %d to 256 seconds\012\000"
	.align	2
.LC33:
	.ascii	"ERROR: Missing mountpoint argument for stream uploa"
	.ascii	"d\012\000"
	.align	2
.LC34:
	.ascii	"WARNING: Missing password argument for stream uploa"
	.ascii	"d - are you really sure?\012\000"
	.align	2
.LC35:
	.ascii	"ERROR: user ID and/or password too long: %d (%d)\012"
	.ascii	"       user ID: %s \012password: <%s>\012\000"
	.align	2
.LC36:
	.ascii	"WARNING: Missing password argument for stream downl"
	.ascii	"oad - are you really sure?\012\000"
	.align	2
.LC37:
	.ascii	"http://%s:%d\000"
	.align	2
.LC38:
	.ascii	"ERROR: Destination caster name/port to long - lengt"
	.ascii	"h = %d (max: %d)\012\000"
	.align	2
.LC39:
	.ascii	":%d\000"
	.align	2
.LC40:
	.ascii	"ERROR: opening input file\000"
	.align	2
.LC41:
	.ascii	"file input: file = %s\012\000"
	.align	2
.LC42:
	.ascii	"serial input: device = %s, speed = %d\012\000"
	.align	2
.LC43:
	.ascii	"WARNING: sending init file\000"
	.align	2
.LC44:
	.ascii	"ERROR: reading init file\000"
	.align	2
.LC45:
	.ascii	"ERROR: can't read init file <%s>\012\000"
	.align	2
.LC46:
	.ascii	"131.176.49.142\000"
	.align	2
.LC47:
	.ascii	"localhost\000"
	.align	2
.LC48:
	.ascii	"ERROR: Input host <%s> unknown\012\000"
	.align	2
.LC49:
	.ascii	"ERROR: can't create socket for incoming data stream"
	.ascii	"\012\000"
	.align	2
.LC50:
	.ascii	"tcp socket\000"
	.align	2
.LC51:
	.ascii	"udp socket\000"
	.align	2
.LC52:
	.ascii	"127.0.0.1\000"
	.align	2
.LC53:
	.ascii	"stream = \000"
	.align	2
.LC54:
	.ascii	", initfile = \000"
	.align	2
.LC55:
	.ascii	"binding mode\000"
	.align	2
.LC56:
	.ascii	"%s input: host = %s, port = %d, %s%s%s%s%s\012\000"
	.align	2
.LC57:
	.ascii	"ERROR: can't bind input to port %d\012\000"
	.align	2
.LC58:
	.ascii	"WARNING: can't connect input to %s at port %d\012\000"
	.align	2
.LC59:
	.ascii	"GET %s/%s HTTP/1.0\015\012User-Agent: %s/%s\015\012"
	.ascii	"Connection: close\015\012Authorization: Basic \000"
	.align	2
.LC60:
	.ascii	"NTRIP NtripServerPOSIX\000"
	.align	2
.LC61:
	.ascii	"ERROR: Source caster request too long\012\000"
	.align	2
.LC62:
	.ascii	"ERROR: Source caster user ID and/or password too lo"
	.ascii	"ng\012\000"
	.align	2
.LC63:
	.ascii	"GET %s/%s HTTP/1.0\015\012User-Agent: %s/%s\015\012"
	.ascii	"Connection: close\015\012\015\012\000"
	.align	2
.LC64:
	.ascii	"WARNING: could not send Source caster request\012\000"
	.align	2
.LC65:
	.ascii	"\015\012\000"
	.align	2
.LC66:
	.ascii	"ICY 200 OK\000"
	.align	2
.LC67:
	.ascii	"ERROR: could not get requested data from Source cas"
	.ascii	"ter: \000"
	.align	2
.LC68:
	.ascii	"SOURCETABLE 200 OK\000"
	.align	2
.LC69:
	.ascii	"AUTH,%s,%s\015\012\000"
	.align	2
.LC70:
	.ascii	"AUTH,%s,%s\000"
	.align	2
.LC71:
	.ascii	"WARNING: sending authentication for SISNeT data ser"
	.ascii	"ver\000"
	.align	2
.LC72:
	.ascii	"*AUTH\000"
	.align	2
.LC73:
	.ascii	"WARNING: SISNeT connect failed:\000"
	.align	2
.LC74:
	.ascii	"START\015\012\000"
	.align	2
.LC75:
	.ascii	"WARNING: sending Sisnet start command\000"
	.align	2
.LC76:
	.ascii	"ERROR: Receiver ID too long\012\000"
	.align	2
.LC77:
	.ascii	"Sending user ID for receiver...\012\000"
	.align	2
.LC78:
	.ascii	"WARNING: sending user ID for receiver\000"
	.align	2
.LC79:
	.ascii	"ERROR: Receiver password too long\012\000"
	.align	2
.LC80:
	.ascii	"Sending user password for receiver...\012\000"
	.align	2
.LC81:
	.ascii	"WARNING: sending user password for receiver\000"
	.align	2
.LC82:
	.ascii	"ERROR: Destination caster or proxy host <%s> unknow"
	.ascii	"n\012\000"
	.align	2
.LC83:
	.ascii	"ERROR: tcp socket\000"
	.align	2
.LC84:
	.ascii	"caster output: host = %s, port = %d, mountpoint = %"
	.ascii	"s, mode = %s\012\012\000"
	.align	2
.LC85:
	.ascii	"WARNING: can't connect output to %s at port %d\012\000"
	.align	2
.LC86:
	.ascii	"\015\012STR: \000"
	.align	2
.LC87:
	.ascii	"\015\012Ntrip-STR: \000"
	.align	2
.LC88:
	.ascii	"POST /%s HTTP/1.1\015\012Host: %s\015\012Ntrip-Vers"
	.ascii	"ion: Ntrip/2.0\015\012User-Agent: %s/%s\015\012Auth"
	.ascii	"orization: Basic %s%s%s\015\012Connection: close\015"
	.ascii	"\012Transfer-Encoding: chunked\015\012\015\012\000"
	.align	2
.LC89:
	.ascii	"Requested data too long\012\000"
	.align	2
.LC90:
	.ascii	"Could not send UDP packet\000"
	.align	2
.LC91:
	.ascii	"HTTP/1.1 200 OK\015\012\000"
	.align	2
.LC92:
	.ascii	"HTTP/1.0 200 OK\015\012\000"
	.align	2
.LC93:
	.ascii	"session: \000"
	.align	2
.LC94:
	.ascii	"Could not extract session number\012\000"
	.align	2
.LC95:
	.ascii	"Could not access mountpoint: \000"
	.align	2
.LC96:
	.ascii	"SOURCE %s %s/%s\015\012Source-Agent: %s/%s\015\012\015"
	.ascii	"\012\000"
	.align	2
.LC97:
	.ascii	"ERROR: Destination caster request to long\012\000"
	.align	2
.LC98:
	.ascii	"OK\000"
	.align	2
.LC99:
	.ascii	"ERROR: Destination caster's or Proxy's reply is not"
	.ascii	" OK: \000"
	.align	2
.LC100:
	.ascii	".\000"
	.align	2
.LC101:
	.ascii	"%.1s\000"
	.align	2
.LC102:
	.ascii	"ERROR - Bad Password\000"
	.align	2
.LC103:
	.ascii	"400 Bad Request\000"
	.align	2
.LC104:
	.ascii	"Destination caster response:\012%s\012\000"
	.align	2
.LC105:
	.ascii	"POST %s/%s HTTP/1.1\015\012Host: %s\015\012Ntrip-Ve"
	.ascii	"rsion: Ntrip/2.0\015\012User-Agent: %s/%s\015\012Au"
	.ascii	"thorization: Basic %s%s%s\015\012Connection: close\015"
	.ascii	"\012Transfer-Encoding: chunked\015\012\015\012\000"
	.align	2
.LC106:
	.ascii	"HTTP/1.1 200 OK\000"
	.align	2
.LC107:
	.ascii	" or Proxy's\000"
	.align	2
.LC108:
	.ascii	"ERROR: Destination caster's%s reply is not OK: \000"
	.align	2
.LC109:
	.ascii	"Ntrip-Version: Ntrip/2.0\015\012\000"
	.align	2
.LC110:
	.ascii	" or Proxy <\000"
	.align	2
.LC111:
	.ascii	">\000"
	.align	2
.LC112:
	.ascii	"       or HTTP/1.1 not implemented at Proxy\012\000"
	.align	2
.LC113:
	.ascii	"       Ntrip Version 2.0 not implemented at Destina"
	.ascii	"tion caster <%s>%s%s%s\012%s\012ntripserver falls b"
	.ascii	"ack to Ntrip Version 1.0\012\012\000"
	.align	2
.LC114:
	.ascii	"HTTP/1.1 401 Unauthorized\000"
	.align	2
.LC115:
	.ascii	"501 Not Implemented\000"
	.align	2
.LC116:
	.ascii	"ERROR: udp socket\000"
	.align	2
.LC117:
	.ascii	"ERROR: udp bind\000"
	.align	2
.LC118:
	.ascii	"ERROR: getsockname(localhost)\000"
	.align	2
.LC119:
	.ascii	"SETUP rtsp://%s%s/%s RTSP/1.0\015\012CSeq: %d\015\012"
	.ascii	"Ntrip-Version: Ntrip/2.0\015\012Ntrip-Component: Nt"
	.ascii	"ripserver\015\012User-Agent: %s/%s\015\012Transport"
	.ascii	": RTP/GNSS;unicast;client_port=%u\015\012Authorizat"
	.ascii	"ion: Basic %s%s%s\015\012\015\012\000"
	.align	2
.LC120:
	.ascii	"RTSP/1.0 200 OK\000"
	.align	2
.LC121:
	.ascii	"RTSP\000"
	.align	2
.LC122:
	.ascii	"       RTSP not implemented at Destination caster <"
	.ascii	"%s>%s%s%s\012\012ntripserver falls back to Ntrip Ve"
	.ascii	"rsion 2.0 in TCP/IP mode\012\012\000"
	.align	2
.LC123:
	.ascii	" or HTTP/1.1 not implemented at Proxy\012\000"
	.align	2
.LC124:
	.ascii	" or Proxy\000"
	.align	2
.LC125:
	.ascii	"       Ntrip-Version 2.0 not implemented at Destina"
	.ascii	"tion caster<%s>%s%s%s\012%s       or RTSP/1.0 not i"
	.ascii	"mplemented at Destination caster%s\012\012ntripserv"
	.ascii	"er falls back to Ntrip Version 1.0\012\012\000"
	.align	2
.LC126:
	.ascii	"RTSP/1.0 401 Unauthorized\000"
	.align	2
.LC127:
	.ascii	"RTSP/1.0 501 Not Implemented\000"
	.align	2
.LC128:
	.ascii	"RTSP/1.0 200 OK\015\012\000"
	.align	2
.LC129:
	.ascii	"CSeq: 1\015\012\000"
	.align	2
.LC130:
	.ascii	"RECORD rtsp://%s%s/%s RTSP/1.0\015\012CSeq: %d\015\012"
	.ascii	"Session: %u\015\012\015\012\000"
	.align	2
.LC131:
	.ascii	"CSeq: 2\015\012\000"
	.align	2
.LC132:
	.ascii	"ERROR: Destination caster unknown\012\000"
	.align	2
.LC133:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 53200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #52992
	sub	sp, sp, #248
	sub	r3, fp, #49152
	sub	r3, r3, #12
	str	r0, [r3, #-4044]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	str	r1, [r3, #-4048]
	ldr	r3, .L310
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2048
	str	r3, [r2, #-4040]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-4032]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4028]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4024]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4020]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4016]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4012]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-3772]
	sub	r3, r3, #3760
	sub	r3, r3, #8
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-4008]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-4004]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4000]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3996]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3992]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3988]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3984]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3980]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3976]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+260
	str	r3, [r2, #-3972]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3968]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3964]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-3708]
	sub	r3, r3, #3696
	sub	r3, r3, #8
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-3960]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-3956]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+4
	str	r3, [r2, #-3952]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3948]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3864]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3944]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3940]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4036]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+8
	str	r3, [r2, #-3860]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	ldr	r3, .L310+12
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L310+16
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	ldr	r3, .L310+356
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #0
	bl	setvbuf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3936]
	ldr	r2, .L310+20
	mov	r1, #2
	ldr	r0, .L310+332
	bl	strcpy_s
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+24
	str	r3, [r2, #-3920]
	b	.L2
.L4:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3936]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3920]
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L310+332
	strb	r1, [r2, r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	add	r3, r3, #1
	str	r3, [r2, #-3920]
.L2:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L4
.L3:
	ldr	r2, .L310+332
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+28
	str	r3, [r2, #-3920]
	b	.L5
.L7:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3936]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3920]
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, .L310+32
	strb	r1, [r2, r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	add	r3, r3, #1
	str	r3, [r2, #-3920]
.L5:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3920]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L7
.L6:
	ldr	r2, .L310+32
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L310+36
	mov	r0, #2
	bl	setup_signal_handler
	ldr	r1, .L310+40
	mov	r0, #13
	bl	setup_signal_handler
	ldr	r1, .L310+44
	mov	r0, #14
	bl	setup_signal_handler
	mov	r0, #120
	bl	alarm
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #1
	bgt	.L9
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #2
	bl	usage
.L68:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	sub	r3, r3, #63
	cmp	r3, #58
	ldrls	pc, [pc, r3, asl #2]
	b	.L10
.L12:
	.word	.L21
	.word	.L10
	.word	.L10
	.word	.L38
	.word	.L10
	.word	.L37
	.word	.L36
	.word	.L35
	.word	.L10
	.word	.L34
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L10
	.word	.L29
	.word	.L10
	.word	.L10
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L10
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L10
	.word	.L10
	.word	.L22
	.word	.L10
	.word	.L21
	.word	.L20
	.word	.L10
	.word	.L10
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L10
	.word	.L16
	.word	.L10
	.word	.L10
	.word	.L15
	.word	.L10
	.word	.L14
	.word	.L10
	.word	.L10
	.word	.L13
	.word	.L11
.L33:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L310+276
	mov	r2, #1
	str	r2, [r3]
	b	.L40
.L39:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L310+276
	mov	r2, #2
	str	r2, [r3]
	b	.L40
.L41:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L310+276
	mov	r2, #3
	str	r2, [r3]
	b	.L40
.L42:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+288
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L310+276
	mov	r2, #4
	str	r2, [r3]
	b	.L40
.L43:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L310+276
	mov	r2, #5
	str	r2, [r3]
	b	.L40
.L44:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+292
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L310+276
	mov	r2, #6
	str	r2, [r3]
	b	.L40
.L45:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L310+276
	str	r2, [r3]
.L40:
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #6
	bls	.L9
.L46:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+68
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #0
	bl	usage
.L20:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r2, .L310+216
	str	r3, [r2]
	b	.L9
.L38:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3976]
	b	.L9
.L27:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L310+72
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L310+76
	mov	r2, #30
	str	r2, [r3]
	b	.L9
.L48:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L310+80
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L310+76
	mov	r2, #31
	str	r2, [r3]
	b	.L9
.L50:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L310+84
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L310+76
	mov	r2, #21
	str	r2, [r3]
	b	.L9
.L51:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+88
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #1
	bl	usage
.L24:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L310+220
	str	r3, [r2]
	ldr	r3, .L310+220
	ldr	r3, [r3]
	cmp	r3, #1
	bgt	.L9
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+92
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #1
	bl	usage
.L25:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r2, .L310+192
	str	r3, [r2]
	b	.L9
.L16:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3972]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	cmp	r3, #1
	bls	.L53
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	cmp	r3, #65536
	bcc	.L9
.L53:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+96
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #1
	bl	usage
.L18:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r2, .L310+156
	str	r3, [r2]
	b	.L9
.L15:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r2, .L310+208
	str	r3, [r2]
	b	.L9
.L22:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3980]
	b	.L9
.L13:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3988]
	b	.L9
.L11:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3984]
	b	.L9
.L14:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-4004]
	b	.L9
.L19:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-4008]
	b	.L9
.L23:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3952]
	b	.L9
.L34:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-4024]
	b	.L9
.L30:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-4020]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4020]
	cmp	r3, #1
	bls	.L55
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4020]
	cmp	r3, #65536
	bcc	.L9
.L55:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+100
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #1
	bl	usage
.L37:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-4000]
	b	.L9
.L28:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3996]
	b	.L9
.L26:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3992]
	b	.L9
.L36:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-4032]
	b	.L9
.L35:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-4028]
	b	.L9
.L29:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [r4, #-3924]
	b	.L9
.L31:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3948]
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+104
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+108
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
.L57:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3948]
	b	.L59
.L58:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+112
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L60
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+116
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
.L60:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3948]
	b	.L59
.L61:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+228
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+120
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
.L62:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3948]
	b	.L59
.L63:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+124
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L310+48
	ldr	r3, [r3]
	ldr	r1, .L310+128
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
.L64:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #4
	str	r3, [r2, #-3948]
	b	.L59
.L65:
	ldr	r3, .L310+48
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [r4, #-3948]
.L59:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #0
	beq	.L66
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #4
	ble	.L9
.L66:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	ldr	r2, .L310+48
	ldr	r2, [r2]
	ldr	r1, .L310+132
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #0
	bl	usage
.L17:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3956]
	b	.L9
.L32:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+48
	ldr	r3, [r3]
	str	r3, [r2, #-3960]
	b	.L9
.L21:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #0
	bl	usage
.L10:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #2
	bl	usage
.L9:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, .L310+136
	ldr	r1, [r1, #-4048]
	ldr	r0, [r3, #-4044]
	bl	getopt
	str	r0, [r4, #-3856]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	cmn	r3, #1
	bne	.L68
	ldr	r3, .L310+140
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4044]
	sub	r3, r2, r3
	str	r3, [r1, #-4044]
	ldr	r3, .L310+140
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4048]
	add	r3, r2, r3
	str	r3, [r1, #-4048]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #0
	ble	.L69
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L310+144
	bl	fwrite
	b	.L70
.L71:
	ldr	r3, .L310+356
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #4
	str	r2, [r1, #-4048]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L310+148
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	sub	r3, r3, #1
	str	r3, [r2, #-4044]
.L70:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #0
	bgt	.L71
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #1
	bl	usage
.L311:
	.align	2
.L310:
	.word	.LC133
	.word	.LC3
	.word	.LC4
	.word	stdout
	.word	stdin
	.word	.LC5
	.word	revision_str+11
	.word	date_str+7
	.word	date_str
	.word	handle_sigint
	.word	handle_sigpipe
	.word	handle_alarm
	.word	optarg
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC10
	.word	.LC12
	.word	.LC13
	.word	sisnet
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	optind
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	mountpoint
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC39
	.word	rtsp_extension
	.word	.LC37
	.word	.LC38
	.word	caster_out_host
	.word	sigint_received
	.word	.LC40
	.word	gps_file
	.word	file_path
	.word	.LC41
	.word	tty_port
	.word	tty_baud
	.word	.LC42
	.word	.LC24
	.word	gps_serial
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	7777
	.word	.LC2
	.word	2101
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	input_mode
	.word	.LC50
	.word	.LC51
	.word	.LC9
	.word	.LC11
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC3
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	gps_socket
	.word	revision_str
	.word	.LC60
	.word	.LC59
	.word	10200
	.word	.LC61
	.word	10236
	.word	stderr
	.word	.LC62
.L69:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3924]
	cmp	r3, #0
	ble	.L72
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3924]
	cmp	r3, #255
	bgt	.L72
	ldr	r3, .L310+356
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3924]
	ldr	r1, .L310+152
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #256
	str	r3, [r2, #-3924]
.L72:
	ldr	r3, .L310+156
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L73
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L310+160
	bl	fwrite
	mov	r0, #1
	bl	exit
.L73:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3952]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L74
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #76
	mov	r1, #1
	ldr	r0, .L310+164
	bl	fwrite
	b	.L75
.L74:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r2, fp, #49152
	sub	r2, r2, #12
	sub	r0, fp, #11776
	sub	r0, r0, #12
	sub	r0, r0, #60
	ldr	r3, [r3, #-3952]
	ldr	r2, [r2, #-3956]
	mov	r1, #64
	bl	encode
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	str	r3, [r1, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #64
	ble	.L75
	ldr	r3, .L310+356
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3952]
	str	r3, [sp, #4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3956]
	str	r3, [sp]
	mov	r3, #64
	ldr	r2, [r2, #-3932]
	ldr	r1, .L310+168
	bl	fprintf
	mov	r0, #1
	bl	exit
.L75:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4000]
	cmp	r3, #0
	beq	.L76
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3996]
	cmp	r3, #0
	beq	.L76
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3992]
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #78
	mov	r1, #1
	ldr	r0, .L310+172
	bl	fwrite
.L76:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L77
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	str	r3, [r2, #-4016]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4016]
	str	r3, [r2, #-3968]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4028]
	str	r3, [r2, #-4012]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	str	r3, [r2, #-3964]
	ldr	r3, .L310+192
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L310+184
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #64
	bgt	.L78
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bge	.L79
.L78:
	ldr	r3, .L310+356
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #64
	ldr	r2, [r2, #-3936]
	ldr	r1, .L310+188
	bl	fprintf
	mov	r0, #0
	bl	exit
.L79:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #11840
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-3972]
	ldr	r2, .L310+176
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3936]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #64
	mov	r1, r3
	ldr	r0, .L310+180
	bl	strncpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4020]
	str	r3, [sp]
	ldr	r3, [r2, #-4024]
	ldr	r2, .L310+184
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #64
	bgt	.L80
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bge	.L81
.L80:
	ldr	r3, .L310+356
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #64
	ldr	r2, [r2, #-3936]
	ldr	r1, .L310+188
	bl	fprintf
	mov	r0, #0
	bl	exit
.L81:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r3, fp, #11904
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	b	.L83
.L77:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+192
	ldr	r3, [r3]
	str	r3, [r2, #-3968]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	str	r3, [r2, #-3964]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4024]
	str	r3, [r2, #-4016]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4020]
	str	r3, [r2, #-4012]
	b	.L83
.L301:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3916]
	ldr	r3, .L310+196
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L305
	ldr	r3, .L310+276
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L86
.L88:
	.word	.L90
	.word	.L87
	.word	.L89
	.word	.L87
	.word	.L87
	.word	.L87
.L89:
	ldr	r3, .L310+208
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r3, r0
	ldr	r2, .L310+204
	str	r3, [r2]
	ldr	r3, .L310+204
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L91
	ldr	r0, .L310+200
	bl	perror
	mov	r0, #1
	bl	exit
.L91:
	ldr	r3, .L310+204
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #4
	mov	r0, r3
	bl	fcntl
	ldr	r3, .L310+208
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L310+212
	bl	printf
	b	.L92
.L90:
	ldr	r3, .L310+216
	ldr	r3, [r3]
	ldr	r2, .L310+220
	ldr	r2, [r2]
	mov	r1, #1
	mov	r0, r3
	bl	openserial
	mov	r3, r0
	ldr	r2, .L310+232
	str	r3, [r2]
	ldr	r3, .L310+232
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L93
	mov	r0, #1
	bl	exit
.L93:
	ldr	r3, .L310+216
	ldr	r3, [r3]
	ldr	r2, .L310+220
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L310+224
	bl	printf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3980]
	cmp	r3, #0
	beq	.L306
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r1, .L310+228
	ldr	r0, [r3, #-3980]
	bl	fopen
	str	r0, [r4, #-3840]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	cmp	r3, #0
	beq	.L95
	b	.L96
.L98:
	ldr	r3, .L310+232
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r3, fp, #11712
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r1, r3
	bl	write
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, r2
	beq	.L96
	ldr	r0, .L310+236
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L97
.L96:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r0, fp, #11712
	sub	r0, r0, #12
	sub	r0, r0, #60
	ldr	r3, [r3, #-3840]
	mov	r2, #1024
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bgt	.L98
.L97:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bge	.L99
	ldr	r0, .L310+240
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L99:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3840]
	bl	fclose
	b	.L306
.L95:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3980]
	ldr	r1, .L310+244
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L87:
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L101
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4016]
	cmp	r3, #0
	bne	.L102
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+248
	str	r3, [r2, #-4016]
.L102:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	cmp	r3, #0
	bne	.L103
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+252
	str	r3, [r2, #-4012]
	b	.L103
.L101:
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #6
	bne	.L104
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	cmp	r3, #0
	bne	.L105
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+260
	str	r3, [r2, #-4012]
.L105:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4016]
	cmp	r3, #0
	bne	.L103
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+256
	str	r3, [r2, #-4016]
	b	.L103
.L104:
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L106
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L103
.L106:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	cmp	r3, #0
	bne	.L107
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+260
	str	r3, [r2, #-4012]
.L107:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4016]
	cmp	r3, #0
	bne	.L103
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L310+264
	str	r3, [r2, #-4016]
.L103:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-4016]
	bl	gethostbyname
	str	r0, [r4, #-3852]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L310+356
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4016]
	ldr	r1, .L310+268
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #1
	bl	usage
.L108:
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L109
	mov	r3, #2
	b	.L110
.L109:
	mov	r3, #1
.L110:
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L310+328
	str	r3, [r2]
	ldr	r3, .L310+328
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L111
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L310+272
	bl	fwrite
	mov	r0, #1
	bl	exit
.L111:
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3976]
	cmp	r3, #0
	bne	.L112
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #16]
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
.L112:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3808
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3808
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L310+356
	ldr	r5, [r3]
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #6
	beq	.L113
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L114
	ldr	r3, .L310+276
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L115
	ldr	r4, .L310+280
	b	.L118
.L115:
	ldr	r4, .L310+284
	b	.L118
.L114:
	ldr	r4, .L310+288
	b	.L118
.L113:
	ldr	r4, .L310+292
.L118:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3976]
	cmp	r3, #0
	bne	.L119
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3816]
	bl	inet_ntoa
	mov	r1, r0
	b	.L120
.L119:
	ldr	r1, .L310+296
.L120:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4000]
	cmp	r3, #0
	beq	.L121
	ldr	r0, .L310+300
	b	.L122
.L121:
	ldr	r0, .L310+312
.L122:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4000]
	cmp	r3, #0
	beq	.L123
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4000]
	b	.L124
.L123:
	ldr	r3, .L310+312
.L124:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3980]
	cmp	r2, #0
	beq	.L125
	ldr	ip, .L310+304
	b	.L126
.L125:
	ldr	ip, .L310+312
.L126:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3980]
	cmp	r2, #0
	beq	.L127
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3980]
	b	.L128
.L127:
	ldr	r2, .L310+312
.L128:
	sub	lr, fp, #49152
	sub	lr, lr, #12
	ldr	lr, [lr, #-3976]
	cmp	lr, #0
	beq	.L129
	ldr	lr, .L310+308
	b	.L130
.L129:
	ldr	lr, .L310+312
.L130:
	str	lr, [sp, #20]
	str	r2, [sp, #16]
	str	ip, [sp, #12]
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	str	r3, [sp]
	mov	r3, r1
	mov	r2, r4
	ldr	r1, .L310+316
	mov	r0, r5
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3976]
	cmp	r3, #0
	beq	.L131
	ldr	r3, .L310+328
	ldr	r0, [r3]
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r2, #16
	mov	r1, r3
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L132
	ldr	r3, .L310+356
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4012]
	ldr	r1, .L310+320
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L131:
	ldr	r3, .L310+328
	ldr	r0, [r3]
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r2, #16
	mov	r1, r3
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L132
	ldr	r3, .L310+356
	ldr	r4, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3816]
	bl	inet_ntoa
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4012]
	ldr	r1, .L310+324
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L132:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4000]
	cmp	r3, #0
	beq	.L133
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3912]
	ldr	r3, .L310+328
	ldr	r0, [r3]
	sub	r3, fp, #52992
	sub	r3, r3, #12
	sub	r3, r3, #200
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #7
	mov	r1, #1
	bl	setsockopt
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3996]
	cmp	r3, #0
	beq	.L134
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3992]
	cmp	r3, #0
	beq	.L134
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #11904
	sub	r3, r3, #12
	sub	r3, r3, #60
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L310+332
	str	r2, [sp, #8]
	ldr	r2, .L310+336
	str	r2, [sp, #4]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4000]
	str	r2, [sp]
	ldr	r2, .L310+340
	ldr	r1, .L310+344
	bl	snprintf
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	ldr	r2, .L310+344
	cmp	r3, r2
	bgt	.L135
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bge	.L136
.L135:
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L310+348
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	b	.L92
.L136:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3932]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r0, r3, r2
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	rsb	r3, r3, #10176
	add	r3, r3, #60
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r3, [r3, #-3992]
	ldr	r2, [r2, #-3996]
	bl	encode
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	str	r3, [r1, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	ldr	r2, .L310+352
	cmp	r3, r2
	ble	.L137
	ldr	r3, .L310+356
	ldr	r3, [r3]
	mov	r2, #54
	mov	r1, #1
	ldr	r0, .L310+360
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	b	.L92
.L137:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3932]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3932]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3932]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3, #-2052]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3932]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-2052]
	b	.L138
.L134:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #11904
	sub	r3, r3, #12
	sub	r3, r3, #60
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L312
	str	r2, [sp, #8]
	ldr	r2, .L312+4
	str	r2, [sp, #4]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4000]
	str	r2, [sp]
	ldr	r2, .L312+8
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3932]
.L138:
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3932]
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, r2
	beq	.L139
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L312+16
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L139:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3932]
	b	.L140
.L148:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+20
	mov	r0, r3
	bl	strstr
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3912]
	str	r3, [r1, #-3912]
	cmp	r2, #0
	beq	.L140
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+24
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L312+28
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3908]
	b	.L142
.L146:
	ldr	r3, .L312+280
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	add	r3, r1, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L143
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L144
.L143:
	mov	r3, #46
.L144:
	mov	r1, r4
	mov	r0, r3
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	add	r3, r3, #1
	str	r3, [r2, #-3908]
.L142:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3908]
	ldr	r3, [r3, #-3932]
	cmp	r2, r3
	bge	.L145
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L145
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L146
.L145:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+32
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L147
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
.L147:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L133
.L141:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3912]
.L140:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3912]
	cmp	r3, #0
	bne	.L133
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #10240
	bge	.L133
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	rsb	r2, r3, #10240
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	bl	recv
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	str	r3, [r1, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bgt	.L148
.L133:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3980]
	cmp	r3, #0
	beq	.L149
	ldr	r3, .L312+36
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L149
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r1, .L312+40
	ldr	r0, [r3, #-3980]
	bl	fopen
	str	r0, [r4, #-3848]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	cmp	r3, #0
	beq	.L150
	b	.L151
.L153:
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, r2
	beq	.L151
	ldr	r0, .L312+44
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L152
.L151:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r0, fp, #11712
	sub	r0, r0, #12
	sub	r0, r0, #60
	ldr	r3, [r3, #-3848]
	mov	r2, #1024
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bgt	.L153
.L152:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, #0
	bge	.L154
	ldr	r0, .L312+48
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L154:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3848]
	bl	fclose
	b	.L149
.L150:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3980]
	ldr	r1, .L312+52
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L149:
	ldr	r3, .L312+36
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L156
	ldr	r3, .L312+56
	ldr	r3, [r3]
	cmp	r3, #29
	ble	.L157
	ldr	r2, .L312+60
	b	.L158
.L157:
	ldr	r2, .L312+64
.L158:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #11712
	sub	r0, r0, #12
	sub	r0, r0, #60
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4008]
	str	r3, [sp]
	ldr	r3, [r1, #-4004]
	mov	r1, #1024
	bl	snprintf
	str	r0, [r4, #-3936]
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, r2
	beq	.L159
	ldr	r0, .L312+68
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L159:
	ldr	r3, .L312+56
	ldr	r3, [r3]
	cmp	r3, #29
	ble	.L161
	mov	r3, #7
	b	.L162
.L161:
	mov	r3, #5
.L162:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3936]
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	bl	recv
	str	r0, [r4, #-3844]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3844]
	ldr	r3, [r3, #-3936]
	cmp	r2, r3
	beq	.L163
	sub	r3, fp, #11712
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r2, #5
	mov	r1, r3
	ldr	r0, .L312+72
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L163
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L312+76
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3936]
	b	.L164
.L168:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L165
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L165
	ldr	r3, .L312+280
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r1, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L166
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L167
.L166:
	mov	r3, #46
.L167:
	mov	r1, r4
	mov	r0, r3
	bl	fputc
.L165:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r3, #1
	str	r3, [r2, #-3936]
.L164:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3936]
	ldr	r3, [r3, #-3844]
	cmp	r2, r3
	blt	.L168
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L163:
	ldr	r3, .L312+56
	ldr	r3, [r3]
	cmp	r3, #30
	ble	.L156
	ldr	r3, .L312+12
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #7
	ldr	r1, .L312+80
	bl	send
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	cmp	r3, r2
	beq	.L156
	ldr	r0, .L312+84
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L156:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3988]
	cmp	r3, #0
	beq	.L307
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #0
	beq	.L307
	ldr	r3, .L312+36
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L171
	ldr	r3, .L312+36
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L307
.L171:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3988]
	bl	strlen
	mov	r3, r0
	ldr	r2, .L312+88
	cmp	r3, r2
	bls	.L172
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L312+92
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L172:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L312+96
	bl	fwrite
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-3988]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L312+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L312+12
	ldr	r4, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #64
	mov	r0, r4
	bl	send
	mov	r3, r0
	cmp	r3, #0
	bge	.L173
	ldr	r0, .L312+100
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L173:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3984]
	bl	strlen
	mov	r3, r0
	ldr	r2, .L312+88
	cmp	r3, r2
	bls	.L174
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L312+104
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L174:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L312+108
	bl	fwrite
	ldr	r3, .L312+12
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-3984]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L312+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L312+12
	ldr	r4, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #64
	mov	r0, r4
	bl	send
	mov	r3, r0
	cmp	r3, #0
	bge	.L307
	ldr	r0, .L312+112
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3916]
	b	.L92
.L86:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #0
	bl	usage
.L306:
	nop
	b	.L92
.L307:
	nop
.L92:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3904]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3900]
	b	.L175
.L298:
	ldr	r3, .L312+116
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L176
	ldr	r3, .L312+120
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L176
	ldr	r3, .L312+124
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L176
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3968]
	bl	gethostbyname
	str	r0, [r4, #-3852]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #0
	bne	.L177
	ldr	r3, .L312+280
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3968]
	ldr	r1, .L312+128
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L312+164
	ldr	r0, [r3]
	ldr	r3, .L312+232
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3940]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L312+132
	bl	close_session
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	ldr	r3, [r3]
	mov	r1, r3
	mvn	r0, #1
	bl	usage
.L177:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #4
	bne	.L178
	mov	r3, #2
	b	.L179
.L178:
	mov	r3, #1
.L179:
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L312+252
	str	r3, [r2]
	ldr	r3, .L312+252
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L180
	ldr	r0, .L312+136
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	b	.L176
.L180:
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #16]
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3808
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3964]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3808
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L312+280
	ldr	r4, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3816]
	bl	inet_ntoa
	mov	r1, r0
	ldr	r3, .L312+232
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #3
	beq	.L181
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #1
	beq	.L182
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #4
	bne	.L183
	ldr	r3, .L312+140
	b	.L186
.L183:
	ldr	r3, .L312+144
	b	.L186
.L182:
	ldr	r3, .L312+148
	b	.L186
.L181:
	ldr	r3, .L312+152
.L186:
	sub	r0, fp, #49152
	sub	r0, r0, #12
	str	r3, [sp, #4]
	str	r2, [sp]
	ldr	r3, [r0, #-3964]
	mov	r2, r1
	ldr	r1, .L312+156
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #236
	mov	r2, #16
	mov	r1, r3
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L187
	ldr	r3, .L312+280
	ldr	r4, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3816]
	bl	inet_ntoa
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3964]
	ldr	r1, .L312+160
	mov	r0, r4
	bl	fprintf
	b	.L176
.L187:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L309
.L190:
	.word	.L193
	.word	.L192
	.word	.L191
	.word	.L189
.L313:
	.align	2
.L312:
	.word	revision_str
	.word	.LC60
	.word	.LC63
	.word	gps_socket
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	input_mode
	.word	.LC24
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	sisnet
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	10237
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	sigalarm_received
	.word	sigint_received
	.word	sigpipe_received
	.word	.LC82
	.word	rtsp_extension
	.word	.LC83
	.word	.LC27
	.word	.LC25
	.word	.LC23
	.word	.LC21
	.word	.LC84
	.word	.LC85
	.word	caster_out_host
	.word	.LC86
	.word	.LC87
	.word	.LC3
	.word	.LC88
	.word	1486
	.word	.LC89
	.word	.LC90
	.word	1525
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	udp_init
	.word	udp_seq
	.word	udp_tim
	.word	mountpoint
	.word	revision_str
	.word	.LC60
	.word	.LC96
	.word	.LC97
	.word	socket_tcp
	.word	.LC98
	.word	.LC99
	.word	.LC100
	.word	.LC101
	.word	.LC102
	.word	.LC103
	.word	stderr
.L189:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #12
	str	r3, [r2, #-3892]
	mov	r0, #0
	bl	time
	mov	r3, r0
	ldr	r2, .L312+220
	str	r3, [r2]
	ldr	r3, .L312+220
	ldr	r3, [r3]
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3896]
	bl	rand
	mov	r3, r0
	ldr	r2, .L312+228
	str	r3, [r2]
	bl	rand
	mov	r3, r0
	ldr	r2, .L312+224
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mvn	r2, #127
	strb	r2, [r3, #-3580]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #97
	strb	r2, [r3, #-3579]
	ldr	r3, .L312+224
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3578]
	ldr	r3, .L312+224
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3577]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3576]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	asr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3575]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3574]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3573]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3572]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3571]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3570]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3569]
	ldr	r3, .L312+224
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L312+224
	str	r3, [r2]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3892]
	sub	r3, fp, #11712
	sub	r3, r3, #12
	sub	r3, r3, #60
	add	ip, r3, r2
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	rsb	r1, r3, #1472
	add	r1, r1, #14
	ldr	r3, .L312+232
	ldr	lr, [r3]
	ldr	r3, .L312+164
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3960]
	cmp	r3, #0
	beq	.L194
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #3
	bne	.L195
	ldr	r3, .L312+168
	b	.L197
.L195:
	ldr	r3, .L312+172
	b	.L197
.L194:
	ldr	r3, .L312+176
.L197:
	sub	r0, fp, #49152
	sub	r0, r0, #12
	mov	r4, r0
	sub	r0, fp, #49152
	sub	r0, r0, #12
	ldr	r0, [r0, #-3960]
	str	r0, [sp, #20]
	str	r3, [sp, #16]
	sub	r3, fp, #11776
	sub	r3, r3, #12
	sub	r3, r3, #60
	str	r3, [sp, #12]
	ldr	r3, .L312+236
	str	r3, [sp, #8]
	ldr	r3, .L312+240
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, lr
	ldr	r2, .L312+180
	mov	r0, ip
	bl	snprintf
	str	r0, [r4, #-3836]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3892]
	ldr	r3, [r3, #-3836]
	add	r3, r2, r3
	str	r3, [r1, #-3892]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	ldr	r2, .L312+184
	cmp	r3, r2
	bgt	.L198
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3836]
	cmp	r3, #0
	bge	.L199
.L198:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L312+188
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L199:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3892]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3, #-3580]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3892]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-3580]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3892]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3, #-3580]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-3892]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-3580]
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3892]
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	cmp	r3, r2
	beq	.L201
	ldr	r0, .L312+192
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L201:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3888]
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	ldr	r2, .L312+196
	bl	recv
	str	r0, [r4, #-3832]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3832]
	cmp	r3, #0
	ble	.L202
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3832]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3832]
	cmp	r3, #29
	ble	.L203
	sub	r3, fp, #11712
	sub	r3, r3, #12
	sub	r3, r3, #60
	add	r3, r3, #12
	mov	r2, #17
	ldr	r1, .L312+200
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L204
	sub	r3, fp, #11712
	sub	r3, r3, #12
	sub	r3, r3, #60
	add	r3, r3, #12
	mov	r2, #17
	ldr	r1, .L312+204
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L203
.L204:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L312+208
	str	r3, [r2, #-3828]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3828]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3824]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3884]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #12
	str	r3, [r2, #-3892]
	b	.L205
.L210:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3884]
	b	.L206
.L208:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3884]
	add	r3, r3, #1
	str	r3, [r2, #-3884]
.L206:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3884]
	ldr	r3, [r3, #-3824]
	cmp	r2, r3
	bge	.L207
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3892]
	ldr	r3, [r3, #-3884]
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-3580]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r1, r0
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3884]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3828]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	beq	.L208
.L207:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	add	r3, r3, #1
	str	r3, [r2, #-3892]
.L205:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3884]
	ldr	r3, [r3, #-3824]
	cmp	r2, r3
	beq	.L209
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3832]
	ldr	r3, [r3, #-3824]
	sub	r3, r2, r3
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3892]
	cmp	r2, r3
	blt	.L210
.L209:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3832]
	ldr	r3, [r3, #-3824]
	sub	r3, r2, r3
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3892]
	cmp	r2, r3
	beq	.L308
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3892]
	ldr	r3, [r3, #-3824]
	add	r3, r2, r3
	str	r3, [r1, #-3892]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3896]
	b	.L212
.L214:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3896]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r0, r2
	add	r2, r3, #1
	str	r2, [r0, #-3892]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-3580]	@ zero_extendqisi2
	add	r3, r1, r3
	sub	r2, fp, #49152
	sub	r2, r2, #12
	sub	r3, r3, #48
	str	r3, [r2, #-3896]
.L212:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3892]
	ldr	r3, [r3, #-3832]
	cmp	r2, r3
	bge	.L213
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L213
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L214
.L213:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3892]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L308
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L312+212
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3888]
	b	.L308
.L203:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L312+216
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #12
	str	r3, [r2, #-3880]
	b	.L215
.L219:
	ldr	r3, .L312+280
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3880]
	add	r3, r1, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L216
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3880]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L217
.L216:
	mov	r3, #46
.L217:
	mov	r1, r4
	mov	r0, r3
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3880]
	add	r3, r3, #1
	str	r3, [r2, #-3880]
.L215:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r2, #-3880]
	ldr	r3, [r3, #-3832]
	cmp	r2, r3
	bge	.L218
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3880]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L218
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3880]
	add	r3, r2, r3
	sub	r3, r3, #3568
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L219
.L218:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3888]
	b	.L202
.L308:
	nop
.L202:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3888]
	cmp	r3, #0
	bne	.L220
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [r1, #-3948]
	bl	send_receive_loop
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3904]
	str	r3, [r2, #-3916]
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L312+220
	ldr	r3, [r3]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, .L312+228
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L312+228
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mvn	r2, #127
	strb	r2, [r3, #-3580]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #98
	strb	r2, [r3, #-3579]
	ldr	r3, .L312+224
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3578]
	ldr	r3, .L312+224
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3577]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3576]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	asr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3575]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3574]
	ldr	r3, .L312+228
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3573]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3572]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3571]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	lsr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3570]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3896]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-3569]
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r1, fp, #11712
	sub	r1, r1, #12
	sub	r1, r1, #60
	mov	r3, #0
	mov	r2, #12
	bl	send
	b	.L175
.L220:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #600
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L191:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3900]
	ldr	r3, .L312+232
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r1, r2
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r2, .L312+236
	str	r2, [sp, #12]
	ldr	r2, .L312+240
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #11840
	sub	r3, r3, #12
	sub	r3, r3, #60
	str	r3, [sp]
	ldr	r3, [r1, #-3952]
	ldr	r2, .L312+244
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #10240
	bgt	.L222
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bge	.L223
.L222:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L312+248
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L223:
	ldr	r3, .L312+252
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-3932]
	mov	r0, r3
	bl	send_to_caster
	mov	r3, r0
	cmp	r3, #0
	bne	.L224
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L224:
	ldr	r3, .L312+252
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-3932]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+256
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L225
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L312+260
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-3876]
	b	.L226
.L230:
	ldr	r3, .L312+280
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L227
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	b	.L228
.L227:
	ldr	r3, .L312+264
.L228:
	mov	r2, r3
	ldr	r1, .L312+268
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	add	r3, r3, #1
	str	r3, [r2, #-3876]
.L226:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L229
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L229
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L230
.L229:
	ldr	r3, .L312+280
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+272
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L231
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L312+276
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L232
.L231:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
.L232:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L225:
	ldr	r3, .L312+280
	ldr	r0, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L314
	bl	fprintf
	ldr	r3, .L314+4
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [r1, #-3948]
	bl	send_receive_loop
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3904]
	str	r3, [r2, #-3916]
	b	.L175
.L193:
	ldr	r3, .L314+168
	ldr	r1, [r3]
	ldr	r3, .L314+164
	ldr	ip, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3960]
	cmp	r3, #0
	beq	.L233
	ldr	r3, .L314+8
	b	.L234
.L233:
	ldr	r3, .L314+12
.L234:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #11840
	sub	r2, r2, #12
	sub	r2, r2, #60
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	lr, fp, #49152
	sub	lr, lr, #12
	ldr	lr, [lr, #-3960]
	str	lr, [sp, #24]
	str	r3, [sp, #20]
	sub	r3, fp, #11776
	sub	r3, r3, #12
	sub	r3, r3, #60
	str	r3, [sp, #16]
	ldr	r3, .L314+16
	str	r3, [sp, #12]
	ldr	r3, .L314+20
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	str	r1, [sp]
	mov	r3, r2
	ldr	r2, .L314+24
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #10240
	bgt	.L235
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bge	.L236
.L235:
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L314+28
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L236:
	ldr	r3, .L314+4
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-3932]
	mov	r0, r3
	bl	send_to_caster
	mov	r3, r0
	cmp	r3, #0
	bne	.L237
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L237:
	ldr	r3, .L314+4
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-3932]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+32
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L238
	ldr	r3, .L314+148
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L239
	ldr	r3, .L314+36
	b	.L240
.L239:
	ldr	r3, .L314+12
.L240:
	mov	r2, r3
	ldr	r1, .L314+40
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-3872]
	b	.L241
.L245:
	ldr	r3, .L314+148
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L242
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	b	.L243
.L242:
	ldr	r3, .L314+44
.L243:
	mov	r2, r3
	ldr	r1, .L314+48
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	add	r3, r3, #1
	str	r3, [r2, #-3872]
.L241:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L244
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L244
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3872]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L245
.L244:
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+52
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L246
	ldr	r3, .L314+148
	ldr	r0, [r3]
	ldr	r3, .L314+164
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L247
	ldr	ip, .L314+56
	b	.L248
.L247:
	ldr	ip, .L314+12
.L248:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L249
	ldr	r3, .L314+60
	b	.L250
.L249:
	ldr	r3, .L314+12
.L250:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4032]
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L251
	ldr	r2, .L314+64
	b	.L252
.L251:
	ldr	r2, .L314+12
.L252:
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L314+68
	bl	fprintf
	ldr	r3, .L314+164
	ldr	r0, [r3]
	ldr	r3, .L314+168
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3940]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L314+172
	bl	close_session
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3948]
	b	.L175
.L246:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+72
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L253
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+76
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L254
.L253:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
.L254:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L238:
	ldr	r3, .L314+148
	ldr	r0, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L314
	bl	fprintf
	ldr	r3, .L314+4
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [r1, #-3948]
	bl	send_receive_loop
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3904]
	str	r3, [r2, #-3916]
	b	.L175
.L192:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L314+156
	str	r3, [r2]
	ldr	r3, .L314+156
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L255
	ldr	r0, .L314+80
	bl	perror
	mov	r0, #4
	bl	exit
.L255:
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #204
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3776
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3776
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3784]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-4036]
	ldr	r3, .L314+156
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-4036]
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #204
	mov	r1, r3
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L256
	ldr	r0, .L314+84
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L256:
	ldr	r3, .L314+156
	ldr	r0, [r3]
	sub	r2, fp, #52992
	sub	r2, r2, #12
	sub	r2, r2, #196
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #204
	mov	r1, r3
	bl	getsockname
	mov	r3, r0
	cmn	r3, #1
	beq	.L257
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3776
	sub	r3, r3, #12
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	str	r2, [r3, #-3864]
	ldr	r3, .L314+164
	ldr	lr, [r3]
	ldr	r3, .L314+168
	ldr	r1, [r3]
	ldr	r3, .L314+88
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r0, .L314+88
	str	r3, [r0]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3960]
	cmp	r3, #0
	beq	.L259
	b	.L304
.L257:
	ldr	r0, .L314+92
	bl	perror
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L304:
	ldr	r3, .L314+8
	b	.L260
.L259:
	ldr	r3, .L314+12
.L260:
	sub	r0, fp, #49152
	sub	r0, r0, #12
	mov	r4, r0
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	ip, fp, #49152
	sub	ip, ip, #12
	ldr	ip, [ip, #-3960]
	str	ip, [sp, #32]
	str	r3, [sp, #28]
	sub	r3, fp, #11776
	sub	r3, r3, #12
	sub	r3, r3, #60
	str	r3, [sp, #24]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3864]
	str	r3, [sp, #20]
	ldr	r3, .L314+16
	str	r3, [sp, #16]
	ldr	r3, .L314+20
	str	r3, [sp, #12]
	str	r2, [sp, #8]
	str	r1, [sp, #4]
	ldr	r3, .L314+172
	str	r3, [sp]
	mov	r3, lr
	ldr	r2, .L314+96
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #10240
	bgt	.L261
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bge	.L262
.L261:
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L314+28
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L262:
	ldr	r3, .L314+4
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-3932]
	mov	r0, r3
	bl	send_to_caster
	mov	r3, r0
	cmp	r3, #0
	bne	.L264
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L175
.L297:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+100
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L265
	ldr	r3, .L314+148
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L266
	ldr	r3, .L314+36
	b	.L267
.L266:
	ldr	r3, .L314+12
.L267:
	mov	r2, r3
	ldr	r1, .L314+40
	bl	fprintf
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-3868]
	b	.L268
.L272:
	ldr	r3, .L314+148
	ldr	r4, [r3]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L269
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L270
.L269:
	mov	r3, #46
.L270:
	mov	r1, r4
	mov	r0, r3
	bl	fputc
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	add	r3, r3, #1
	str	r3, [r2, #-3868]
.L268:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L271
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L271
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3868]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L272
.L271:
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4
	ldr	r1, .L314+104
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L273
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+52
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L274
	ldr	r3, .L314+148
	ldr	r0, [r3]
	ldr	r3, .L314+164
	ldr	r2, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L275
	ldr	r1, .L314+56
	b	.L276
.L275:
	ldr	r1, .L314+12
.L276:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L277
	ldr	r3, .L314+60
	b	.L278
.L277:
	ldr	r3, .L314+12
.L278:
	str	r3, [sp, #4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L314+108
	bl	fprintf
	ldr	r3, .L314+164
	ldr	r0, [r3]
	ldr	r3, .L314+168
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3940]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L314+172
	bl	close_session
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3948]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3900]
	b	.L279
.L274:
	ldr	r3, .L314+148
	ldr	r0, [r3]
	ldr	r3, .L314+164
	ldr	ip, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L280
	ldr	lr, .L314+56
	b	.L281
.L280:
	ldr	lr, .L314+12
.L281:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L282
	ldr	r3, .L314+60
	b	.L283
.L282:
	ldr	r3, .L314+12
.L283:
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-4032]
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L284
	ldr	r2, .L314+112
	b	.L285
.L284:
	ldr	r2, .L314+12
.L285:
	sub	r1, fp, #49152
	sub	r1, r1, #12
	ldr	r1, [r1, #-4032]
	ldrb	r1, [r1]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L286
	ldr	r1, .L314+116
	b	.L287
.L286:
	ldr	r1, .L314+12
.L287:
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-4032]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, .L314+120
	bl	fprintf
	ldr	r3, .L314+164
	ldr	r0, [r3]
	ldr	r3, .L314+168
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3940]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, .L314+172
	bl	close_session
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3948]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3900]
	b	.L279
.L273:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+124
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L288
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+128
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L289
.L288:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
.L289:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L279
.L265:
	ldr	r3, .L314+148
	ldr	r0, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L314
	bl	fprintf
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+140
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L290
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+132
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L290
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-3860]
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-3928]
	b	.L291
.L292:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r2, [r2, #-3928]
	str	r2, [r3, #-3772]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3936]
	add	r3, r3, #1
	str	r3, [r2, #-3936]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r1, [r3, #-3860]
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3928]
.L291:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3928]
	cmp	r3, #0
	bne	.L292
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3748]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	sub	r2, fp, #49152
	sub	r2, r2, #12
	str	r3, [r2, #-3940]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3732]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-3944]
	ldr	r3, .L314+164
	ldr	ip, [r3]
	ldr	r3, .L314+168
	ldr	r2, [r3]
	ldr	r3, .L314+88
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L314+88
	str	r1, [r0]
	sub	r1, fp, #49152
	sub	r1, r1, #12
	mov	r4, r1
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r1, fp, #49152
	sub	r1, r1, #12
	ldr	r1, [r1, #-3940]
	str	r1, [sp, #12]
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	ldr	r3, .L314+172
	str	r3, [sp]
	mov	r3, ip
	ldr	r2, .L314+136
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #10240
	bge	.L293
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bge	.L294
.L293:
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L314+28
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L279
.L294:
	ldr	r3, .L314+4
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-3932]
	mov	r0, r3
	bl	send_to_caster
	mov	r3, r0
	cmp	r3, #0
	bne	.L264
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L279
.L315:
	.align	2
.L314:
	.word	.LC104
	.word	socket_tcp
	.word	.LC87
	.word	.LC3
	.word	revision_str
	.word	.LC60
	.word	.LC105
	.word	.LC97
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC100
	.word	.LC101
	.word	.LC109
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	.LC114
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	udp_cseq
	.word	.LC118
	.word	.LC119
	.word	.LC120
	.word	.LC121
	.word	.LC122
	.word	.LC123
	.word	.LC124
	.word	.LC125
	.word	.LC126
	.word	.LC127
	.word	.LC129
	.word	.LC130
	.word	.LC128
	.word	.LC131
	.word	stderr
	.word	.LC132
	.word	socket_udp
	.word	socket_tcp
	.word	caster_out_host
	.word	mountpoint
	.word	rtsp_extension
	.word	sigint_received
	.word	reconnect_sec
	.word	input_mode
	.word	.LC133
.L290:
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+140
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L279
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L314+144
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L279
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #220
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3792
	sub	r3, r3, #12
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3944]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	sub	r3, r3, #3792
	sub	r3, r3, #12
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r0, [r3, #-3968]
	bl	gethostbyname
	str	r0, [r4, #-3852]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #0
	bne	.L296
	ldr	r3, .L314+148
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L314+152
	bl	fwrite
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3924]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	b	.L279
.L296:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #16]
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	ldr	r3, [r3, #12]
	mov	r2, r3
	sub	r3, fp, #52736
	sub	r3, r3, #12
	sub	r3, r3, #220
	add	r3, r3, #4
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-4036]
	ldr	r3, .L314+156
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r1, [r3, #-4036]
	sub	r2, fp, #52736
	sub	r2, r2, #12
	sub	r2, r2, #220
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3940]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-3948]
	bl	send_receive_loop
	b	.L279
.L264:
	ldr	r3, .L314+160
	ldr	r0, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-3932]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	cmp	r3, #0
	bgt	.L297
.L279:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3904]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3904]
	str	r3, [r2, #-3916]
	b	.L175
.L309:
	nop
.L175:
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3916]
	cmp	r3, #0
	beq	.L176
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3904]
	cmp	r3, #0
	bne	.L298
.L176:
	ldr	r3, .L314+164
	ldr	r0, [r3]
	ldr	r3, .L314+168
	ldr	r1, [r3]
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r2, [r3, #-3940]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L314+172
	bl	close_session
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3924]
	cmp	r3, #0
	bne	.L299
	sub	r3, fp, #49152
	sub	r3, r3, #12
	ldr	r3, [r3, #-3900]
	cmp	r3, #0
	beq	.L300
.L299:
	ldr	r3, .L314+176
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L300
	ldr	r3, .L314+180
	ldr	r3, [r3]
	sub	r2, fp, #49152
	sub	r2, r2, #12
	ldr	r1, [r2, #-3924]
	mov	r0, r3
	bl	reconnect
	mov	r3, r0
	ldr	r2, .L314+180
	str	r3, [r2]
	b	.L83
.L300:
	ldr	r3, .L314+184
	mov	r2, #7
	str	r2, [r3]
.L83:
	ldr	r3, .L314+184
	ldr	r3, [r3]
	cmp	r3, #7
	bne	.L301
	b	.L85
.L305:
	nop
.L85:
	mov	r3, #0
	ldr	r2, .L314+188
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L303
	bl	__stack_chk_fail
.L303:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC134:
	.ascii	"Could not set nonblocking mode\012\000"
	.align	2
.LC135:
	.ascii	"transfering data ...\012\000"
	.align	2
.LC136:
	.ascii	"MSG\015\012\000"
	.align	2
.LC137:
	.ascii	"WARNING: sending SISNeT data request failed\000"
	.align	2
.LC138:
	.ascii	"WARNING: no data received from input\012\000"
	.align	2
.LC139:
	.ascii	"WARNING: reading input failed\000"
	.align	2
.LC140:
	.ascii	"WARNING: could not send data to Destination caster\000"
	.align	2
.LC141:
	.ascii	"Connection end\012\000"
	.align	2
.LC142:
	.ascii	"Timeout\012\000"
	.align	2
.LC143:
	.ascii	"%x\015\012\000"
	.align	2
.LC144:
	.ascii	"GET_PARAMETER rtsp://%s%s/%s RTSP/1.0\015\012CSeq: "
	.ascii	"%d\015\012Session: %u\015\012\015\012\000"
	.align	2
.LC145:
	.ascii	"send\000"
	.align	2
.LC146:
	.ascii	"Control connection closed\012\000"
	.align	2
.LC147:
	.ascii	"Control connection read error\012\000"
	.align	2
.LC148:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_receive_loop, %function
send_receive_loop:
	@ args = 4, pretend = 0, frame = 31056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #30976
	sub	sp, sp, #100
	sub	ip, fp, #28672
	sub	ip, ip, #12
	str	r0, [ip, #-2372]
	sub	r0, fp, #28672
	sub	r0, r0, #12
	str	r1, [r0, #-2376]
	sub	r1, fp, #28672
	sub	r1, r1, #12
	str	r2, [r1, #-2380]
	sub	r2, fp, #28672
	sub	r2, r2, #12
	str	r3, [r2, #-2384]
	ldr	r3, .L376
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2364]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-2064]
	sub	r3, r3, #2048
	sub	r3, r3, #12
	ldr	r2, .L376+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20480
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3, #-16]
	sub	r3, r3, #12
	ldr	r2, .L376+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2356]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2352]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2280]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2276]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2348]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2344]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #0
	bl	time
	str	r0, [r4, #-2340]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #4
	bne	.L317
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #0
	bl	time
	str	r0, [r4, #-2344]
	ldr	r3, .L376+136
	ldr	r3, [r3]
	mov	r2, #2048
	mov	r1, #4
	mov	r0, r3
	bl	fcntl
	mov	r3, r0
	cmp	r3, #0
	bge	.L318
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L376+8
	bl	fwrite
	b	.L316
.L317:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #2
	bne	.L318
	ldr	r3, .L376+136
	ldr	r3, [r3]
	mov	r2, #2048
	mov	r1, #4
	mov	r0, r3
	bl	fcntl
	mov	r3, r0
	cmp	r3, #0
	bge	.L318
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L376+8
	bl	fwrite
	b	.L316
.L318:
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L376+12
	bl	fwrite
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2336]
.L368:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	cmp	r3, #2
	bgt	.L320
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	add	r3, r3, #1
	str	r3, [r2, #-2336]
.L320:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2364]
	cmp	r3, #0
	bne	.L321
	mov	r0, #120
	bl	alarm
	b	.L322
.L321:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2364]
.L322:
	ldr	r3, .L376+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L316
	ldr	r3, .L376+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L316
	ldr	r3, .L376+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L316
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	bne	.L324
	ldr	r3, .L376+28
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L325
	ldr	r3, .L376+32
	ldr	r3, [r3]
	cmp	r3, #30
	bgt	.L325
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2272]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L376+36
	str	r3, [r2, #-2268]
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #224
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	select
	sub	r3, fp, #28672
	sub	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	sub	r3, r3, #2256
	sub	r3, r3, #8
	sub	r1, r2, #2064
	mov	r2, #200
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L376+32
	ldr	r3, [r3]
	cmp	r3, #29
	ble	.L326
	mov	r3, #5
	b	.L327
.L326:
	mov	r3, #3
.L327:
	sub	r2, fp, #28672
	sub	r2, r2, #12
	str	r3, [r2, #-2328]
	ldr	r3, .L376+40
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2328]
	mov	r3, #0
	ldr	r1, .L376+44
	bl	send
	mov	r2, r0
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2328]
	cmp	r3, r2
	beq	.L325
	ldr	r0, .L376+48
	bl	perror
	b	.L316
.L325:
	ldr	r3, .L376+28
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L329
	ldr	r3, .L376+52
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #10240
	mov	r1, r3
	bl	read
	str	r0, [r4, #-2360]
	b	.L330
.L329:
	ldr	r3, .L376+28
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L331
	ldr	r3, .L376+56
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #10240
	mov	r1, r3
	bl	read
	str	r0, [r4, #-2360]
	b	.L330
.L331:
	ldr	r3, .L376+40
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r2, #10240
	mov	r1, r3
	bl	read
	str	r0, [r4, #-2360]
.L330:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	bne	.L332
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L376+60
	bl	fwrite
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2364]
	mov	r0, #3
	bl	sleep
	b	.L333
.L332:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	bge	.L334
	ldr	r3, .L376+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L334
	ldr	r0, .L376+64
	bl	perror
	b	.L316
.L334:
	ldr	r3, .L376+28
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L324
	ldr	r3, .L376+32
	ldr	r3, [r3]
	cmp	r3, #30
	bgt	.L324
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #216
	mov	r2, #200
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L324
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
.L324:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	blt	.L371
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	beq	.L336
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #3
	bne	.L336
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2360]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #64
	ldr	r0, [r0, #-2372]
	bl	send
	str	r0, [r4, #-2324]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2324]
	ldr	r3, [r3, #-2360]
	cmp	r2, r3
	beq	.L337
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2324]
	cmp	r3, #0
	bge	.L338
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L372
	ldr	r0, .L376+104
	bl	perror
	b	.L316
.L338:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2324]
	cmp	r3, #0
	beq	.L372
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2324]
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	add	r1, r3, r2
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2360]
	ldr	r3, [r3, #-2324]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2360]
	ldr	r3, [r3, #-2324]
	sub	r3, r2, r3
	str	r3, [r1, #-2360]
	b	.L372
.L337:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
	b	.L372
.L336:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	beq	.L341
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #4
	bne	.L341
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #0
	bl	time
	str	r0, [r4, #-2320]
	ldr	r3, .L376+68
	ldr	r3, [r3]
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2320]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, .L376+72
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L376+72
	str	r3, [r2]
	ldr	r2, .L376+68
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2320]
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mvn	r2, #127
	strb	r2, [r3, #-2064]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #96
	strb	r2, [r3, #-2063]
	ldr	r3, .L376+76
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2062]
	ldr	r3, .L376+76
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2061]
	ldr	r3, .L376+72
	ldr	r3, [r3]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2060]
	ldr	r3, .L376+72
	ldr	r3, [r3]
	asr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2059]
	ldr	r3, .L376+72
	ldr	r3, [r3]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2058]
	ldr	r3, .L376+72
	ldr	r3, [r3]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2057]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2056]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2055]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2054]
	ldr	r3, [fp, #4]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2053]
	ldr	r3, .L376+76
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L376+76
	str	r3, [r2]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #16
	add	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L376+136
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r2, r3, #12
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #64
	bl	send
	str	r0, [r4, #-2316]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2316]
	cmp	r2, r3
	beq	.L342
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L343
	ldr	r0, .L376+104
	bl	perror
	b	.L316
.L342:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
.L343:
	ldr	r3, .L376+136
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #0
	ldr	r2, .L376+80
	bl	recv
	str	r0, [r4, #-2316]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2316]
	cmp	r3, #11
	ble	.L345
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2064]	@ zero_extendqisi2
	cmp	r3, #128
	bne	.L345
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2056]	@ zero_extendqisi2
	lsl	r2, r3, #24
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2055]	@ zero_extendqisi2
	lsl	r3, r3, #16
	add	r2, r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2054]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldrb	r2, [r2, #-2053]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r2, r3
	ldr	r3, [fp, #4]
	cmp	r3, r2
	bne	.L345
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2063]	@ zero_extendqisi2
	cmp	r3, #96
	bne	.L346
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #0
	bl	time
	str	r0, [r4, #-2344]
	b	.L373
.L346:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-2063]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L373
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L376+84
	bl	fwrite
	b	.L316
.L345:
	mov	r0, #0
	bl	time
	mov	r2, r0
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2344]
	add	r3, r3, #60
	cmp	r2, r3
	ble	.L374
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L376+88
	bl	fwrite
	b	.L316
.L373:
	nop
	b	.L374
.L341:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	beq	.L349
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #1
	bne	.L349
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2356]
	cmp	r3, #0
	bne	.L350
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	sub	r0, fp, #20480
	sub	r0, r0, #12
	sub	r0, r0, #16
	ldr	r3, [r3, #-2360]
	ldr	r2, .L376+92
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-2312]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2312]
	sub	r1, fp, #20480
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-2372]
	bl	send
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	str	r3, [r2, #-2356]
.L350:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2356]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #64
	ldr	r0, [r0, #-2372]
	bl	send
	str	r0, [r4, #-2308]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2308]
	cmp	r3, #0
	bge	.L351
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L352
	ldr	r0, .L376+104
	bl	perror
	b	.L316
.L351:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2308]
	cmp	r3, #0
	beq	.L352
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2308]
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	add	r1, r3, r2
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2360]
	ldr	r3, [r3, #-2308]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2360]
	ldr	r3, [r3, #-2308]
	sub	r3, r2, r3
	str	r3, [r1, #-2360]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2356]
	ldr	r3, [r3, #-2308]
	sub	r3, r2, r3
	str	r3, [r1, #-2356]
.L352:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2356]
	cmp	r3, #0
	bne	.L375
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	mov	r2, #2
	ldr	r1, .L376+96
	ldr	r0, [r0, #-2372]
	bl	send
	b	.L375
.L349:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	cmp	r3, #0
	beq	.L340
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2376]
	cmp	r3, #2
	bne	.L340
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #240
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2352]
	cmp	r3, #0
	beq	.L354
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	bl	rand
	str	r0, [r4, #-2348]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	bl	rand
	str	r0, [r4, #-2344]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	sub	r3, r3, #2272
	sub	r3, r3, #8
	sub	r2, r2, #2288
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2352]
	b	.L355
.L354:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2348]
	add	r3, r3, #1
	str	r3, [r2, #-2348]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2288]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2280]
	sub	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r1, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2284]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2276]
	sub	r3, r2, r3
	sub	r2, fp, #28672
	sub	r2, r2, #12
	add	r3, r1, r3
	str	r3, [r2, #-2304]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2304]
	ldr	r2, .L376+100
	smull	r1, r2, r3, r2
	asr	r2, r2, #3
	asr	r3, r3, #31
	sub	r3, r2, r3
	sub	r2, fp, #28672
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2344]
	add	r3, r2, r3
	str	r3, [r1, #-2344]
.L355:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mvn	r2, #127
	strb	r2, [r3, #-2064]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #96
	strb	r2, [r3, #-2063]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2348]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2062]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2348]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2061]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2344]
	asr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2060]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2344]
	asr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2059]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2344]
	asr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2058]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2344]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2057]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #24
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2056]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #16
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2055]
	ldr	r3, [fp, #4]
	lsr	r3, r3, #8
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2054]
	ldr	r3, [fp, #4]
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	strb	r2, [r3, #-2053]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2332]
	b	.L356
.L377:
	.align	2
.L376:
	.word	.LC148
	.word	10236
	.word	.LC134
	.word	.LC135
	.word	sigalarm_received
	.word	sigint_received
	.word	sigpipe_received
	.word	input_mode
	.word	sisnet
	.word	700000
	.word	gps_socket
	.word	.LC136
	.word	.LC137
	.word	gps_file
	.word	gps_serial
	.word	.LC138
	.word	.LC139
	.word	udp_init
	.word	udp_tim
	.word	udp_seq
	.word	1592
	.word	.LC141
	.word	.LC142
	.word	.LC143
	.word	.LC65
	.word	274877907
	.word	.LC140
	.word	caster_out_host
	.word	mountpoint
	.word	udp_cseq
	.word	rtsp_extension
	.word	.LC144
	.word	.LC89
	.word	.LC145
	.word	socket_tcp
	.word	.LC146
	.word	stderr
	.word	.LC147
	.word	reconnect_sec
	.word	.LC148
.L357:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	add	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2332]
	add	r2, r1, r2
	sub	r2, r2, #2064
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #8192
	sub	r1, r1, #12
	add	r3, r1, r3
	strb	r2, [r3, #-2064]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2332]
	add	r3, r3, #1
	str	r3, [r2, #-2332]
.L356:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2332]
	ldr	r3, [r3, #-2360]
	cmp	r2, r3
	blt	.L357
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2288]
	sub	r2, fp, #28672
	sub	r2, r2, #12
	str	r3, [r2, #-2280]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2284]
	sub	r2, fp, #28672
	sub	r2, r2, #12
	str	r3, [r2, #-2276]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #16
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2384]
	str	r3, [sp, #4]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2380]
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [r0, #-2372]
	bl	sendto
	str	r0, [r4, #-2300]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2360]
	add	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2300]
	cmp	r2, r3
	beq	.L358
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	cmp	r3, #0
	bge	.L359
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L360
	ldr	r0, .L376+104
	bl	perror
	b	.L316
.L359:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	cmp	r3, #0
	beq	.L360
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	sub	r2, r3, #12
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	add	r1, r3, r2
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	sub	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #30720
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	sub	r3, r3, #12
	sub	r2, fp, #28672
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #28672
	sub	r2, r2, #12
	ldr	r2, [r2, #-2360]
	sub	r3, r2, r3
	str	r3, [r1, #-2360]
	b	.L360
.L358:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2360]
.L360:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #0
	bl	time
	str	r0, [r4, #-2296]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r2, #-2296]
	ldr	r3, [r3, #-2340]
	sub	r3, r2, r3
	cmp	r3, #15
	ble	.L362
	ldr	r3, .L376+108
	ldr	ip, [r3]
	ldr	r3, .L376+112
	ldr	r2, [r3]
	ldr	r3, .L376+116
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L376+116
	str	r1, [r0]
	sub	r1, fp, #28672
	sub	r1, r1, #12
	mov	r4, r1
	sub	r0, fp, #30720
	sub	r0, r0, #12
	sub	r0, r0, #16
	ldr	r1, [fp, #4]
	str	r1, [sp, #12]
	str	r3, [sp, #8]
	str	r2, [sp, #4]
	ldr	r3, .L376+120
	str	r3, [sp]
	mov	r3, ip
	ldr	r2, .L376+124
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-2300]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	cmp	r3, #10240
	bgt	.L363
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	cmp	r3, #0
	bge	.L364
.L363:
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L376+128
	bl	fwrite
	b	.L316
.L364:
	ldr	r3, .L376+136
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r2, [r3, #-2300]
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #0
	bl	send
	mov	r2, r0
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2300]
	cmp	r3, r2
	beq	.L365
	ldr	r0, .L376+132
	bl	perror
	b	.L316
.L365:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2296]
	str	r3, [r2, #-2340]
.L362:
	ldr	r3, .L376+136
	ldr	r0, [r3]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #30720
	sub	r1, r1, #12
	sub	r1, r1, #16
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-2292]
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2292]
	cmp	r3, #0
	bge	.L366
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L340
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L376+140
	bl	fwrite
	b	.L316
.L366:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2292]
	cmp	r3, #0
	bne	.L340
	ldr	r3, .L376+144
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L376+148
	bl	fwrite
	b	.L316
.L372:
	nop
	b	.L340
.L374:
	nop
	b	.L340
.L375:
	nop
.L340:
	sub	r3, fp, #28672
	sub	r3, r3, #12
	ldr	r3, [r3, #-2336]
	cmp	r3, #3
	bne	.L368
	ldr	r3, .L376+152
	mov	r2, #1
	str	r2, [r3]
.L333:
	b	.L368
.L371:
	nop
.L316:
	ldr	r3, .L376+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L370
	bl	__stack_chk_fail
.L370:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	send_receive_loop, .-send_receive_loop
	.section	.rodata
	.align	2
.LC149:
	.ascii	"ERROR: opening serial connection\000"
	.align	2
.LC150:
	.ascii	"ERROR: get serial attributes\000"
	.align	2
.LC151:
	.ascii	"WARNING: Baud settings not useful, using 19200\012\000"
	.align	2
.LC152:
	.ascii	"ERROR: setting serial speed with cfsetispeed\000"
	.align	2
.LC153:
	.ascii	"ERROR: setting serial speed with cfsetospeed\000"
	.align	2
.LC154:
	.ascii	"ERROR: setting serial attributes\000"
	.align	2
.LC155:
	.ascii	"WARNING: setting blocking inputmode failed\000"
	.align	2
.LC156:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	openserial, %function
openserial:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	ldr	r3, .L402
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L402+4
	ldr	r0, [fp, #-80]
	bl	open
	mov	r3, r0
	ldr	r2, .L402+8
	str	r3, [r2]
	ldr	r3, .L402+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L379
	ldr	r0, .L402+12
	bl	perror
	mvn	r3, #0
	b	.L400
.L379:
	ldr	r3, .L402+8
	ldr	r3, [r3]
	sub	r2, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	tcgetattr
	mov	r3, r0
	cmp	r3, #0
	bge	.L381
	ldr	r0, .L402+16
	bl	perror
	mvn	r3, #0
	b	.L400
.L381:
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #2224
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L382
.L383:
	sub	r2, fp, #51
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L382:
	ldr	r3, [fp, #-72]
	cmp	r3, #31
	ble	.L383
	ldr	r3, [fp, #-84]
	and	r3, r3, #255
	strb	r3, [fp, #-45]
	mov	r3, #2
	strb	r3, [fp, #-46]
	ldr	r3, [fp, #-88]
	cmp	r3, #230400
	beq	.L384
	ldr	r3, [fp, #-88]
	cmp	r3, #230400
	bgt	.L385
	ldr	r3, [fp, #-88]
	ldr	r2, .L402+20
	cmp	r3, r2
	beq	.L386
	ldr	r3, [fp, #-88]
	ldr	r2, .L402+20
	cmp	r3, r2
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #57600
	beq	.L387
	ldr	r3, [fp, #-88]
	cmp	r3, #57600
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #38400
	beq	.L388
	ldr	r3, [fp, #-88]
	cmp	r3, #38400
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #19200
	beq	.L389
	ldr	r3, [fp, #-88]
	cmp	r3, #19200
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #9600
	beq	.L390
	ldr	r3, [fp, #-88]
	cmp	r3, #9600
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #4800
	beq	.L391
	ldr	r3, [fp, #-88]
	cmp	r3, #4800
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #2400
	beq	.L392
	ldr	r3, [fp, #-88]
	cmp	r3, #2400
	bgt	.L385
	ldr	r3, [fp, #-88]
	cmp	r3, #300
	beq	.L393
	ldr	r3, [fp, #-88]
	cmp	r3, #1200
	beq	.L394
	b	.L385
.L393:
	mov	r3, #7
	str	r3, [fp, #-88]
	b	.L395
.L394:
	mov	r3, #9
	str	r3, [fp, #-88]
	b	.L395
.L392:
	mov	r3, #11
	str	r3, [fp, #-88]
	b	.L395
.L391:
	mov	r3, #12
	str	r3, [fp, #-88]
	b	.L395
.L390:
	mov	r3, #13
	str	r3, [fp, #-88]
	b	.L395
.L389:
	mov	r3, #14
	str	r3, [fp, #-88]
	b	.L395
.L388:
	mov	r3, #15
	str	r3, [fp, #-88]
	b	.L395
.L387:
	ldr	r3, .L402+24
	str	r3, [fp, #-88]
	b	.L395
.L386:
	ldr	r3, .L402+28
	str	r3, [fp, #-88]
	b	.L395
.L384:
	ldr	r3, .L402+32
	str	r3, [fp, #-88]
	b	.L395
.L385:
	ldr	r3, .L402+36
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L402+40
	bl	fwrite
	mov	r3, #14
	str	r3, [fp, #-88]
	nop
.L395:
	ldr	r2, [fp, #-88]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetispeed
	mov	r3, r0
	cmp	r3, #0
	beq	.L396
	ldr	r0, .L402+44
	bl	perror
	mvn	r3, #0
	b	.L400
.L396:
	ldr	r2, [fp, #-88]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetospeed
	mov	r3, r0
	cmp	r3, #0
	beq	.L397
	ldr	r0, .L402+48
	bl	perror
	mvn	r3, #0
	b	.L400
.L397:
	ldr	r3, .L402+8
	ldr	r3, [r3]
	sub	r2, fp, #68
	mov	r1, #0
	mov	r0, r3
	bl	tcsetattr
	mov	r3, r0
	cmp	r3, #0
	bge	.L398
	ldr	r0, .L402+52
	bl	perror
	mvn	r3, #0
	b	.L400
.L398:
	ldr	r3, .L402+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #4
	mov	r0, r3
	bl	fcntl
	mov	r3, r0
	cmn	r3, #1
	bne	.L399
	ldr	r0, .L402+56
	bl	perror
.L399:
	ldr	r3, .L402+8
	ldr	r3, [r3]
.L400:
	ldr	r2, .L402
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L401
	bl	__stack_chk_fail
.L401:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L403:
	.align	2
.L402:
	.word	.LC156
	.word	2050
	.word	gps_serial
	.word	.LC149
	.word	.LC150
	.word	115200
	.word	4097
	.word	4098
	.word	4099
	.word	stderr
	.word	.LC151
	.word	.LC152
	.word	.LC153
	.word	.LC154
	.word	.LC155
	.size	openserial, .-openserial
	.section	.rodata
	.align	2
.LC157:
	.ascii	"Version %s (%s) GPL built Dec 18 2024\012Usage:\012"
	.ascii	"%s [OPTIONS]\012\000"
	.align	2
.LC158:
	.ascii	"PURPOSE\012\000"
	.align	2
.LC159:
	.ascii	"   The purpose of this program is to pick up a GNSS"
	.ascii	" data stream (Input, Source)\012\000"
	.align	2
.LC160:
	.ascii	"   from either\012\012\000"
	.align	2
.LC161:
	.ascii	"     1. a Serial port, or\012\000"
	.align	2
.LC162:
	.ascii	"     2. an IP server, or\012\000"
	.align	2
.LC163:
	.ascii	"     3. a File, or\012\000"
	.align	2
.LC164:
	.ascii	"     4. a SISNeT Data Server, or\012\000"
	.align	2
.LC165:
	.ascii	"     5. a UDP server, or\012\000"
	.align	2
.LC166:
	.ascii	"     6. an NTRIP Version 1.0 Caster\012\012\000"
	.align	2
.LC167:
	.ascii	"   and forward that incoming stream (Output, Destin"
	.ascii	"ation) to either\012\012\000"
	.align	2
.LC168:
	.ascii	"     - an NTRIP Version 1.0 Caster, or\012\000"
	.align	2
.LC169:
	.ascii	"     - an NTRIP Version 2.0 Caster via TCP/IP or RT"
	.ascii	"SP/RTP.\012\012\012\000"
	.align	2
.LC170:
	.ascii	"OPTIONS\012\000"
	.align	2
.LC171:
	.ascii	"   -h|? print this help screen\012\012\000"
	.align	2
.LC172:
	.ascii	"    -E <ProxyHost>       Proxy server host name or "
	.ascii	"address, required i.e. when\012\000"
	.align	2
.LC173:
	.ascii	"                         running the program in a p"
	.ascii	"roxy server protected LAN,\012\000"
	.align	2
.LC174:
	.ascii	"                         optional\012\000"
	.align	2
.LC175:
	.ascii	"    -F <ProxyPort>       Proxy server IP port, requ"
	.ascii	"ired i.e. when running\012\000"
	.align	2
.LC176:
	.ascii	"                         the program in a proxy ser"
	.ascii	"ver protected LAN, optional\012\000"
	.align	2
.LC177:
	.ascii	"    -R <maxDelay>        Reconnect mechanism with m"
	.ascii	"aximum delay between reconnect\012\000"
	.align	2
.LC178:
	.ascii	"                         attemts in seconds, defaul"
	.ascii	"t: no reconnect activated,\012\000"
	.align	2
.LC179:
	.ascii	"                         optional\012\012\000"
	.align	2
.LC180:
	.ascii	"    -M <InputMode> Sets the input mode (1 = Serial "
	.ascii	"Port, 2 = IP server,\012\000"
	.align	2
.LC181:
	.ascii	"       3 = File, 4 = SISNeT Data Server, 5 = UDP se"
	.ascii	"rver, 6 = NTRIP Caster),\012\000"
	.align	2
.LC182:
	.ascii	"       mandatory\012\012\000"
	.align	2
.LC183:
	.ascii	"       <InputMode> = 1 (Serial Port):\012\000"
	.align	2
.LC184:
	.ascii	"       -i <Device>       Serial input device, defau"
	.ascii	"lt: %s, mandatory if\012\000"
	.align	2
.LC185:
	.ascii	"                         <InputMode>=1\012\000"
	.align	2
.LC186:
	.ascii	"       -b <BaudRate>     Serial input baud rate, de"
	.ascii	"fault: 19200 bps, mandatory\012\000"
	.align	2
.LC187:
	.ascii	"                         if <InputMode>=1\012\000"
	.align	2
.LC188:
	.ascii	"       -f <InitFile>     Name of initialization fil"
	.ascii	"e to be send to input device,\012\000"
	.align	2
.LC189:
	.ascii	"       <InputMode> = 2|5 (IP port | UDP port):\012\000"
	.align	2
.LC190:
	.ascii	"       -H <ServerHost>   Input host name or address"
	.ascii	", default: 127.0.0.1,\012\000"
	.align	2
.LC191:
	.ascii	"                         mandatory if <InputMode> ="
	.ascii	" 2|5\012\000"
	.align	2
.LC192:
	.ascii	"       -P <ServerPort>   Input port, default: 1025,"
	.ascii	" mandatory if <InputMode>= 2|5\012\000"
	.align	2
.LC193:
	.ascii	"       -f <ServerFile>   Name of initialization fil"
	.ascii	"e to be send to server,\012\000"
	.align	2
.LC194:
	.ascii	"       -x <ServerUser>   User ID to access incoming"
	.ascii	" stream, optional\012\000"
	.align	2
.LC195:
	.ascii	"       -y <ServerPass>   Password, to access incomi"
	.ascii	"ng stream, optional\012\000"
	.align	2
.LC196:
	.ascii	"       -B Bind to incoming UDP stream, optional for"
	.ascii	" <InputMode> = 5\012\012\000"
	.align	2
.LC197:
	.ascii	"       <InputMode> = 3 (File):\012\000"
	.align	2
.LC198:
	.ascii	"       -s <File>         File name to simulate stre"
	.ascii	"am by reading data from (log)\012\000"
	.align	2
.LC199:
	.ascii	"                         file, default is %s, manda"
	.ascii	"tory for <InputMode> = 3\012\012\000"
	.align	2
.LC200:
	.ascii	"       <InputMode> = 4 (SISNeT Data Server):\012\000"
	.align	2
.LC201:
	.ascii	"       -H <SisnetHost>   SISNeT Data Server name or"
	.ascii	" address,\012\000"
	.align	2
.LC202:
	.ascii	"                         default: 131.176.49.142, m"
	.ascii	"andatory if <InputMode> = 4\012\000"
	.align	2
.LC203:
	.ascii	"       -P <SisnetPort>   SISNeT Data Server port, d"
	.ascii	"efault: 7777, mandatory if\012\000"
	.align	2
.LC204:
	.ascii	"                         <InputMode> = 4\012\000"
	.align	2
.LC205:
	.ascii	"       -u <SisnetUser>   SISNeT Data Server user ID"
	.ascii	", mandatory if <InputMode> = 4\012\000"
	.align	2
.LC206:
	.ascii	"       -l <SisnetPass>   SISNeT Data Server passwor"
	.ascii	"d, mandatory if <InputMode> = 4\012\000"
	.align	2
.LC207:
	.ascii	"       -V <SisnetVers>   SISNeT Data Server Version"
	.ascii	" number, options are 2.1, 3.0\012\000"
	.align	2
.LC208:
	.ascii	"                         or 3.1, default: 3.1, mand"
	.ascii	"atory if <InputMode> = 4\012\012\000"
	.align	2
.LC209:
	.ascii	"       <InputMode> = 6 (NTRIP Version 1.0 Caster):\012"
	.ascii	"\000"
	.align	2
.LC210:
	.ascii	"       -H <SourceHost>   Source caster name or addr"
	.ascii	"ess, default: 127.0.0.1,\012\000"
	.align	2
.LC211:
	.ascii	"                         mandatory if <InputMode> ="
	.ascii	" 6\012\000"
	.align	2
.LC212:
	.ascii	"       -P <SourcePort>   Source caster port, defaul"
	.ascii	"t: 2101, mandatory if\012\000"
	.align	2
.LC213:
	.ascii	"                         <InputMode> = 6\012\000"
	.align	2
.LC214:
	.ascii	"       -D <SourceMount>  Source caster mountpoint f"
	.ascii	"or stream input, mandatory if\012\000"
	.align	2
.LC215:
	.ascii	"       -U <SourceUser>   Source caster user Id for "
	.ascii	"input stream access, mandatory\012\000"
	.align	2
.LC216:
	.ascii	"                         for protected streams if <"
	.ascii	"InputMode> = 6\012\000"
	.align	2
.LC217:
	.ascii	"       -W <SourcePass>   Source caster password for"
	.ascii	" input stream access, mandatory\012\000"
	.align	2
.LC218:
	.ascii	"                         for protected streams if <"
	.ascii	"InputMode> = 6\012\012\000"
	.align	2
.LC219:
	.ascii	"    -O <OutputMode> Sets output mode for communatat"
	.ascii	"ion with destination caster\012\000"
	.align	2
.LC220:
	.ascii	"       1 = http: NTRIP Version 2.0 Caster in TCP/IP"
	.ascii	" mode\012\000"
	.align	2
.LC221:
	.ascii	"       2 = rtsp: NTRIP Version 2.0 Caster in RTSP/R"
	.ascii	"TP mode\012\000"
	.align	2
.LC222:
	.ascii	"       3 = ntrip1: NTRIP Version 1.0 Caster\012\000"
	.align	2
.LC223:
	.ascii	"       4 = udp: NTRIP Version 2.0 Caster in Plain U"
	.ascii	"DP mode\012\000"
	.align	2
.LC224:
	.ascii	"       optional\012\012\000"
	.align	2
.LC225:
	.ascii	"       Defaults to NTRIP1.0, but will change to 2.0"
	.ascii	" in future versions\012\000"
	.align	2
.LC226:
	.ascii	"       Note that the program automatically falls ba"
	.ascii	"ck from mode rtsp to mode http and\012\000"
	.align	2
.LC227:
	.ascii	"       further to mode ntrip1 if necessary.\012\012"
	.ascii	"\000"
	.align	2
.LC228:
	.ascii	"       -a <DestHost>     Destination caster name or"
	.ascii	" address, default: 127.0.0.1,\012\000"
	.align	2
.LC229:
	.ascii	"                         mandatory\012\000"
	.align	2
.LC230:
	.ascii	"       -p <DestPort>     Destination caster port, d"
	.ascii	"efault: 2101, mandatory\012\000"
	.align	2
.LC231:
	.ascii	"       -m <DestMount>    Destination caster mountpo"
	.ascii	"int for stream upload,\012\000"
	.align	2
.LC232:
	.ascii	"       -n <DestUser>     Destination caster user ID"
	.ascii	" for stream upload to\012\000"
	.align	2
.LC233:
	.ascii	"                         mountpoint, only for NTRIP"
	.ascii	" Version 2.0 destination\012\000"
	.align	2
.LC234:
	.ascii	"                         casters, mandatory\012\000"
	.align	2
.LC235:
	.ascii	"       -c <DestPass>     Destination caster passwor"
	.ascii	"d for stream upload to\012\000"
	.align	2
.LC236:
	.ascii	"                         mountpoint, mandatory\012\000"
	.align	2
.LC237:
	.ascii	"       -N <STR-record>   Sourcetable STR-record\012"
	.ascii	"\000"
	.align	2
.LC238:
	.ascii	"                         optional for NTRIP Version"
	.ascii	" 2.0 in RTSP/RTP and TCP/IP mode\012\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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, .L405
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, .L405+4
	ldr	r2, .L405+8
	ldr	r1, .L405+12
	bl	fprintf
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L405+16
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #80
	mov	r1, #1
	ldr	r0, .L405+20
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L405+24
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L405+28
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L405+32
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L405+36
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L405+40
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L405+44
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L405+48
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L405+52
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L405+56
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #61
	mov	r1, #1
	ldr	r0, .L405+60
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L405+64
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L405+68
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L405+72
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #78
	mov	r1, #1
	ldr	r0, .L405+76
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L405+80
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #74
	mov	r1, #1
	ldr	r0, .L405+84
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L405+88
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L405+92
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #78
	mov	r1, #1
	ldr	r0, .L405+96
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L405+100
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #72
	mov	r1, #1
	ldr	r0, .L405+104
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #76
	mov	r1, #1
	ldr	r0, .L405+108
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L405+112
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L405+116
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	ldr	r2, .L405+120
	ldr	r2, [r2]
	ldr	r1, .L405+124
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L405+128
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L405+132
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L405+136
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L405+140
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L405+100
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L405+144
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L405+148
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L405+152
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L405+156
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #75
	mov	r1, #1
	ldr	r0, .L405+160
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L405+80
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L405+164
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L405+168
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #69
	mov	r1, #1
	ldr	r0, .L405+172
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L405+176
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L405+180
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	ldr	r2, .L405+184
	ldr	r2, [r2]
	ldr	r1, .L405+188
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L405+192
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #61
	mov	r1, #1
	ldr	r0, .L405+196
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L405+200
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #78
	mov	r1, #1
	ldr	r0, .L405+204
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L405+208
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L405+212
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #83
	mov	r1, #1
	ldr	r0, .L405+216
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L405+220
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #77
	mov	r1, #1
	ldr	r0, .L405+224
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L405+228
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #76
	mov	r1, #1
	ldr	r0, .L405+232
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #54
	mov	r1, #1
	ldr	r0, .L405+236
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L405+240
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L405+244
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L405+248
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L405+244
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #82
	mov	r1, #1
	ldr	r0, .L405+252
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #66
	mov	r1, #1
	ldr	r0, .L405+256
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #83
	mov	r1, #1
	ldr	r0, .L405+260
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L405+264
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #79
	mov	r1, #1
	ldr	r0, .L405+268
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L405+272
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #59
	mov	r1, #1
	ldr	r0, .L405+276
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L405+280
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #59
	mov	r1, #1
	ldr	r0, .L405+284
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L405+288
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L405+292
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #86
	mov	r1, #1
	ldr	r0, .L405+296
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L405+300
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #81
	mov	r1, #1
	ldr	r0, .L405+304
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L405+308
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #75
	mov	r1, #1
	ldr	r0, .L405+312
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #74
	mov	r1, #1
	ldr	r0, .L405+316
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #35
	mov	r1, #1
	ldr	r0, .L405+308
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L405+320
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #76
	mov	r1, #1
	ldr	r0, .L405+324
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L405+328
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #74
	mov	r1, #1
	ldr	r0, .L405+332
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L405+336
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L405+340
	bl	fwrite
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r2, #85
	mov	r1, #1
	ldr	r0, .L405+344
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	exit
.L406:
	.align	2
.L405:
	.word	stderr
	.word	date_str
	.word	revision_str
	.word	.LC157
	.word	.LC158
	.word	.LC159
	.word	.LC160
	.word	.LC161
	.word	.LC162
	.word	.LC163
	.word	.LC164
	.word	.LC165
	.word	.LC166
	.word	.LC167
	.word	.LC168
	.word	.LC169
	.word	.LC170
	.word	.LC171
	.word	.LC172
	.word	.LC173
	.word	.LC174
	.word	.LC175
	.word	.LC176
	.word	.LC177
	.word	.LC178
	.word	.LC179
	.word	.LC180
	.word	.LC181
	.word	.LC182
	.word	.LC183
	.word	tty_port
	.word	.LC184
	.word	.LC185
	.word	.LC186
	.word	.LC187
	.word	.LC188
	.word	.LC189
	.word	.LC190
	.word	.LC191
	.word	.LC192
	.word	.LC193
	.word	.LC194
	.word	.LC195
	.word	.LC196
	.word	.LC197
	.word	.LC198
	.word	file_path
	.word	.LC199
	.word	.LC200
	.word	.LC201
	.word	.LC202
	.word	.LC203
	.word	.LC204
	.word	.LC205
	.word	.LC206
	.word	.LC207
	.word	.LC208
	.word	.LC209
	.word	.LC210
	.word	.LC211
	.word	.LC212
	.word	.LC213
	.word	.LC214
	.word	.LC215
	.word	.LC216
	.word	.LC217
	.word	.LC218
	.word	.LC219
	.word	.LC220
	.word	.LC221
	.word	.LC222
	.word	.LC223
	.word	.LC224
	.word	.LC225
	.word	.LC226
	.word	.LC227
	.word	.LC228
	.word	.LC229
	.word	.LC230
	.word	.LC231
	.word	.LC232
	.word	.LC233
	.word	.LC234
	.word	.LC235
	.word	.LC236
	.word	.LC237
	.word	.LC238
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC239:
	.ascii	"WARNING: SIGINT received - ntrip_server terminates\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_sigint, %function
handle_sigint:
	@ 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	r3, .L408
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L408+4
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L408+8
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L409:
	.align	2
.L408:
	.word	sigint_received
	.word	stderr
	.word	.LC239
	.size	handle_sigint, .-handle_sigint
	.section	.rodata
	.align	2
.LC240:
	.ascii	"ERROR: more than %d seconds no activity\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_alarm, %function
handle_alarm:
	@ 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	r3, .L411
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L411+4
	ldr	r3, [r3]
	mov	r2, #120
	ldr	r1, .L411+8
	mov	r0, r3
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L412:
	.align	2
.L411:
	.word	sigalarm_received
	.word	stderr
	.word	.LC240
	.size	handle_alarm, .-handle_alarm
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_sigpipe, %function
handle_sigpipe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L414
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L415:
	.align	2
.L414:
	.word	sigpipe_received
	.size	handle_sigpipe, .-handle_sigpipe
	.section	.rodata
	.align	2
.LC241:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_signal_handler, %function
setup_signal_handler:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-152]
	str	r1, [fp, #-156]
	ldr	r3, .L418
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-156]
	str	r3, [fp, #-148]
	sub	r3, fp, #148
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #148
	add	r3, r3, #4
	ldr	r1, [fp, #-152]
	mov	r0, r3
	bl	sigaddset
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #148
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-152]
	bl	sigaction
	nop
	ldr	r3, .L418
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L417
	bl	__stack_chk_fail
.L417:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L419:
	.align	2
.L418:
	.word	.LC241
	.size	setup_signal_handler, .-setup_signal_handler
	.section	.rodata
	.align	2
	.type	encodingTable, %object
	.size	encodingTable, 64
encodingTable:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxy"
	.ascii	"z0123456789+/"
	.align	2
.LC242:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode, %function
encode:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L441
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L421
.L437:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L422
.L424:
	ldr	r2, [fp, #-48]
	add	r3, r2, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-8]
.L422:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bgt	.L423
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L424
.L423:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bgt	.L426
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L426
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L426
.L428:
	ldr	r2, [fp, #-52]
	add	r3, r2, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	str	r1, [fp, #-28]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-8]
.L426:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bgt	.L429
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L428
	b	.L429
.L430:
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L429:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	ble	.L430
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r2, r2, r3
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L431
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, .L441+4
	ldrb	r2, [r2, r1]	@ zero_extendqisi2
	strb	r2, [r3]
.L431:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r2, r2, r3
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L432
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r3, r3, #48
	ldrb	r2, [fp, #-11]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r2, r2, #255
	orr	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	ldr	r1, .L441+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L432:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r2, r2, r3
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L433
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L434
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #61
	strb	r2, [r3]
	b	.L433
.L434:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #2
	and	r3, r3, #60
	ldrb	r2, [fp, #-10]	@ zero_extendqisi2
	lsr	r2, r2, #6
	and	r2, r2, #255
	orr	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	ldr	r1, .L441+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L433:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r2, r2, r3
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L435
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L436
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #61
	strb	r2, [r3]
	b	.L435
.L436:
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	and	r2, r3, #63
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	str	r1, [fp, #-32]
	ldr	r1, .L441+4
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L435:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L421:
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L437
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L437
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	ble	.L438
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
.L438:
	ldr	r3, [fp, #-16]
	ldr	r2, .L441
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L440
	bl	__stack_chk_fail
.L440:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L442:
	.align	2
.L441:
	.word	.LC242
	.word	encodingTable
	.size	encode, .-encode
	.section	.rodata
	.align	2
.LC243:
	.ascii	"WARNING: could not send full header to Destination "
	.ascii	"caster\012\000"
	.align	2
.LC244:
	.ascii	"\012Destination caster request:\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_to_caster, %function
send_to_caster:
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	mov	r3, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	send
	mov	r2, r0
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	beq	.L444
	ldr	r3, .L447
	ldr	r3, [r3]
	mov	r2, #58
	mov	r1, #1
	ldr	r0, .L447+4
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L445
.L444:
	ldr	r3, .L447
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L447+8
	bl	fwrite
	ldr	r3, .L447
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fputs
.L445:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L448:
	.align	2
.L447:
	.word	stderr
	.word	.LC243
	.word	.LC244
	.size	send_to_caster, .-send_to_caster
	.section	.rodata
	.align	2
.LC245:
	.ascii	"reconnect in <%d> seconds\012\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reconnect, %function
reconnect:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L452
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L452+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L450
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L450:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	sleep
	ldr	r3, .L452+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L452+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L453:
	.align	2
.L452:
	.word	stderr
	.word	.LC245
	.word	sigpipe_received
	.word	sigalarm_received
	.size	reconnect, .-reconnect
	.section	.rodata
	.align	2
.LC246:
	.ascii	"ERROR: close input device \000"
	.align	2
.LC247:
	.ascii	"close input device: successful\012\000"
	.align	2
.LC248:
	.ascii	"TEARDOWN rtsp://%s%s/%s RTSP/1.0\015\012CSeq: %d\015"
	.ascii	"\012Session: %u\015\012\015\012\000"
	.align	2
.LC249:
	.ascii	"Destination caster response:\012%s\000"
	.align	2
.LC250:
	.ascii	"ERROR: close udp socket\000"
	.align	2
.LC251:
	.ascii	"close udp socket: successful\012\000"
	.align	2
.LC252:
	.ascii	"ERROR: close tcp socket\000"
	.align	2
.LC253:
	.ascii	"close tcp socket: successful\012\000"
	.align	2
.LC254:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_session, %function
close_session:
	@ args = 4, pretend = 0, frame = 10264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #10240
	sub	sp, sp, #44
	sub	ip, fp, #8192
	sub	ip, ip, #12
	str	r0, [ip, #-2060]
	sub	r0, fp, #8192
	sub	r0, r0, #12
	str	r1, [r0, #-2064]
	sub	r1, fp, #8192
	sub	r1, r1, #12
	str	r2, [r1, #-2068]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-2072]
	ldr	r3, .L471
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L455
	ldr	r3, .L471+4
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L456
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L457
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #5
	beq	.L457
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #6
	beq	.L457
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L456
.L457:
	ldr	r3, .L471+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L458
	ldr	r0, .L471+12
	bl	perror
	mov	r0, #0
	bl	exit
.L458:
	ldr	r3, .L471+4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L471+20
	bl	fwrite
	b	.L455
.L456:
	ldr	r3, .L471+24
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L459
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L459
	ldr	r3, .L471+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L460
	ldr	r0, .L471+12
	bl	perror
	mov	r0, #0
	bl	exit
.L460:
	ldr	r3, .L471+24
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L471+20
	bl	fwrite
	b	.L455
.L459:
	ldr	r3, .L471+28
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L455
	ldr	r3, .L471+8
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L455
	ldr	r3, .L471+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L461
	ldr	r0, .L471+12
	bl	perror
	mov	r0, #0
	bl	exit
.L461:
	ldr	r3, .L471+28
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L471+20
	bl	fwrite
.L455:
	ldr	r3, .L471+32
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L462
	ldr	r3, .L471+36
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L463
	ldr	r3, .L471+36
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L471+36
	str	r2, [r1]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r0, fp, #10240
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-2068]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2064]
	str	r3, [sp, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2072]
	str	r3, [sp]
	ldr	r3, [r1, #-2060]
	ldr	r2, .L471+40
	mov	r1, #10240
	bl	snprintf
	str	r0, [r4, #-2056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2056]
	cmp	r3, #10240
	bge	.L464
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2056]
	cmp	r3, #0
	bge	.L465
.L464:
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L471+44
	bl	fwrite
	mov	r0, #0
	bl	exit
.L465:
	ldr	r3, .L471+48
	ldr	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-2056]
	mov	r0, r3
	bl	send_to_caster
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2052]
	ldr	r3, .L471+48
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #10240
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #10240
	bl	recv
	str	r0, [r4, #-2056]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-2056]
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L471+16
	ldr	r0, [r3]
	sub	r3, fp, #10240
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L471+52
	bl	fprintf
.L463:
	ldr	r3, .L471+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L466
	ldr	r0, .L471+56
	bl	perror
	mov	r0, #0
	bl	exit
.L466:
	ldr	r3, .L471+32
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L471+60
	bl	fwrite
.L462:
	ldr	r3, .L471+48
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L470
	ldr	r3, .L471+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L468
	ldr	r0, .L471+64
	bl	perror
	mov	r0, #0
	bl	exit
.L468:
	ldr	r3, .L471+48
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L471+16
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L471+68
	bl	fwrite
.L470:
	nop
	ldr	r3, .L471
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L469
	bl	__stack_chk_fail
.L469:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L472:
	.align	2
.L471:
	.word	.LC254
	.word	gps_socket
	.word	input_mode
	.word	.LC246
	.word	stderr
	.word	.LC247
	.word	gps_serial
	.word	gps_file
	.word	socket_udp
	.word	udp_cseq
	.word	.LC248
	.word	.LC97
	.word	socket_tcp
	.word	.LC249
	.word	.LC250
	.word	.LC251
	.word	.LC252
	.word	.LC253
	.size	close_session, .-close_session
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
