	.file	"22013388.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"*************"
.LC1:
	.string	"Node : %d\n"
.LC2:
	.string	"Cmd : %s\n"
	.text
	.globl	print_cmd_struct
	.type	print_cmd_struct, @function
print_cmd_struct:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_cmd_struct, .-print_cmd_struct
	.section	.rodata
.LC3:
	.string	"Closed socket %d...\n"
	.text
	.globl	err_exit
	.type	err_exit, @function
err_exit:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	cmp	DWORD PTR -12[rbp], 0
	jle	.L3
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	err_exit, .-err_exit
	.section	.rodata
.LC4:
	.string	"r"
	.align 8
.LC5:
	.string	"Error opening config. Exiting...\n"
.LC6:
	.string	" %s"
	.text
	.globl	read_config
	.type	read_config, @function
read_config:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 520
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L6
	mov	esi, -1
	lea	rdi, .LC5[rip]
	call	err_exit
	jmp	.L6
.L7:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	lea	rax, -60[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR 8[rbx], rax
	add	QWORD PTR -88[rbp], 1
.L6:
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L7
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_config, .-read_config
	.globl	free_config
	.type	free_config, @function
free_config:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -8[rbp], 1
.L11:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	free_config, .-free_config
	.section	.rodata
.LC7:
	.string	"Error in socket. Exiting...\n"
	.align 8
.LC8:
	.string	"Error in setsockopt. Exiting...\n"
.LC9:
	.string	"Error in bind. Exiting...\n"
.LC10:
	.string	"Error in listen. Exiting...\n"
	.text
	.globl	server_init
	.type	server_init, @function
server_init:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L14
	mov	esi, -1
	lea	rdi, .LC7[rip]
	call	err_exit
.L14:
	mov	DWORD PTR -40[rbp], 1
	lea	rdx, -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L15
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	call	err_exit
.L15:
	mov	WORD PTR -32[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L16
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	call	err_exit
.L16:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L17
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	call	err_exit
.L17:
	mov	eax, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	server_init, .-server_init
	.section	.rodata
.LC11:
	.string	"Error in connect. Exiting...\n"
	.text
	.globl	client_init
	.type	client_init, @function
client_init:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -32[rbp], 2
	cmp	QWORD PTR -56[rbp], 0
	jne	.L21
	mov	DWORD PTR -28[rbp], 0
	jmp	.L22
.L21:
	lea	rax, -32[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	inet_aton@PLT
.L22:
	mov	eax, DWORD PTR -60[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -36[rbp], eax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	jns	.L23
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	call	err_exit
.L23:
	mov	eax, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	client_init, .-client_init
	.globl	parse_single_cmd
	.type	parse_single_cmd, @function
parse_single_cmd:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L28
.L29:
	add	QWORD PTR -32[rbp], 1
.L28:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L29
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L30
.L31:
	sub	QWORD PTR -24[rbp], 1
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L30:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L31
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	jmp	.L33
.L34:
	add	QWORD PTR -48[rbp], 1
.L33:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L34
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L35
.L36:
	sub	QWORD PTR -24[rbp], 1
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L35:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L36
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L37
.L32:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
.L39:
	add	QWORD PTR -40[rbp], 1
	jmp	.L40
.L41:
	add	QWORD PTR -40[rbp], 1
.L40:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L41
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L42
.L43:
	sub	QWORD PTR -24[rbp], 1
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L42:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L43
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L44
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	jmp	.L45
.L46:
	add	QWORD PTR -48[rbp], 1
.L45:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L46
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L47
.L48:
	sub	QWORD PTR -16[rbp], 1
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L47:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L48
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L44:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	parse_single_cmd, .-parse_single_cmd
	.section	.rodata
.LC12:
	.string	"|"
	.text
	.globl	parse_multiple_pipe_cmd
	.type	parse_multiple_pipe_cmd, @function
parse_multiple_pipe_cmd:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -80[rbp], 0
	mov	QWORD PTR -64[rbp], 1
	jmp	.L51
.L54:
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	jne	.L53
	add	QWORD PTR -64[rbp], 1
.L53:
	add	DWORD PTR -80[rbp], 1
.L51:
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L54
	mov	rax, QWORD PTR -64[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -76[rbp], 0
	lea	rdx, -72[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -48[rbp], rax
	jmp	.L55
.L57:
	add	QWORD PTR -48[rbp], 1
.L56:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L57
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -56[rbp], rax
	jmp	.L58
.L59:
	sub	QWORD PTR -56[rbp], 1
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L58:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L59
	mov	eax, DWORD PTR -76[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -76[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	parse_single_cmd
	mov	QWORD PTR [rbx], rax
	lea	rax, -72[rbp]
	mov	rdx, rax
	lea	rsi, .LC12[rip]
	mov	edi, 0
	call	strtok_r@PLT
	mov	QWORD PTR -48[rbp], rax
.L55:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L56
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	parse_multiple_pipe_cmd, .-parse_multiple_pipe_cmd
	.section	.rodata
.LC13:
	.string	"clustershell.cfg"
.LC14:
	.string	"Server started at port '%d'\n"
.LC15:
	.string	"Error in accept. Exiting...\n"
.LC16:
	.string	"Client Connected: %s:%d\n"
.LC17:
	.string	"Error in fork. Exiting...\n"
.LC18:
	.string	"Error in read. Exiting...\n"
.LC19:
	.string	"'%s:%d' sent '%s'\n"
.LC20:
	.string	"nodes"
.LC21:
	.string	"Error in writing. Exiting...\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2264
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 5200
	call	server_init
	mov	DWORD PTR -18644[rbp], eax
	mov	DWORD PTR -18652[rbp], 16
	mov	eax, DWORD PTR -18652[rbp]
	mov	DWORD PTR -18652[rbp], eax
	lea	rdi, .LC13[rip]
	call	read_config
	mov	QWORD PTR -18584[rbp], rax
	mov	esi, 5200
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L81:
	lea	rdx, -18652[rbp]
	lea	rcx, -18528[rbp]
	mov	eax, DWORD PTR -18644[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -18640[rbp], eax
	cmp	DWORD PTR -18640[rbp], 0
	jns	.L64
	mov	eax, DWORD PTR -18640[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	call	err_exit
.L64:
	movzx	eax, WORD PTR -18526[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -18524[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	call	fork@PLT
	mov	DWORD PTR -18636[rbp], eax
	cmp	DWORD PTR -18636[rbp], 0
	jns	.L65
	mov	esi, -1
	lea	rdi, .LC17[rip]
	call	err_exit
	jmp	.L66
.L65:
	cmp	DWORD PTR -18636[rbp], 0
	jne	.L66
	mov	eax, DWORD PTR -18644[rbp]
	mov	edi, eax
	call	close@PLT
.L80:
	lea	rcx, -18512[rbp]
	mov	eax, DWORD PTR -18640[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -18632[rbp], eax
	cmp	DWORD PTR -18632[rbp], 0
	jns	.L67
	mov	esi, -1
	lea	rdi, .LC18[rip]
	call	err_exit
.L67:
	mov	eax, DWORD PTR -18632[rbp]
	cdqe
	mov	BYTE PTR -18512[rbp+rax], 0
	movzx	eax, WORD PTR -18526[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	ebx, ax
	mov	eax, DWORD PTR -18524[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	lea	rax, -18512[rbp]
	mov	rcx, rax
	mov	edx, ebx
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -18512[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L68
	lea	rsi, .LC4[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -18552[rbp], rax
	mov	rax, QWORD PTR -18552[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -18552[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -18544[rbp], rax
	mov	rax, QWORD PTR -18544[rbp]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -18536[rbp], rax
	mov	rax, QWORD PTR -18552[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rcx, QWORD PTR -18552[rbp]
	mov	rdx, QWORD PTR -18544[rbp]
	mov	rax, QWORD PTR -18536[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -18544[rbp], rax
	mov	rdx, QWORD PTR -18536[rbp]
	mov	rax, QWORD PTR -18544[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -18544[rbp], 1
	mov	rdx, QWORD PTR -18544[rbp]
	mov	rcx, QWORD PTR -18536[rbp]
	mov	eax, DWORD PTR -18640[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -18536[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L80
.L68:
	lea	rax, -13376[rbp]
	mov	edx, 4097
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -18608[rbp], 0
	lea	rdx, -18616[rbp]
	lea	rax, -18512[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	parse_multiple_pipe_cmd
	mov	QWORD PTR -18576[rbp], rax
	mov	QWORD PTR -18600[rbp], 0
	jmp	.L70
.L79:
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L71
	lea	rax, -17472[rbp]
	mov	edx, 4097
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -18584[rbp]
	mov	QWORD PTR -18592[rbp], rax
	jmp	.L72
.L74:
	mov	rax, QWORD PTR -18592[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, 5100
	mov	rdi, rax
	call	client_init
	mov	DWORD PTR -18624[rbp], eax
	lea	rax, -5152[rbp]
	mov	edx, 5122
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	lea	rax, -5152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rax, -5152[rbp]
	add	rdx, rax
	lea	rax, -13376[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	lea	rax, -13376[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 2
	mov	QWORD PTR -18560[rbp], rax
	mov	rdx, QWORD PTR -18560[rbp]
	lea	rcx, -5152[rbp]
	mov	eax, DWORD PTR -18624[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -18620[rbp], eax
	mov	eax, DWORD PTR -18620[rbp]
	cdqe
	cmp	QWORD PTR -18560[rbp], rax
	je	.L73
	mov	eax, DWORD PTR -18624[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	call	err_exit
.L73:
	lea	rcx, -9264[rbp]
	mov	eax, DWORD PTR -18624[rbp]
	mov	edx, 4097
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -18620[rbp], eax
	mov	eax, DWORD PTR -18620[rbp]
	cdqe
	mov	BYTE PTR -9264[rbp+rax], 0
	lea	rdx, -9264[rbp]
	lea	rax, -17472[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	eax, DWORD PTR -18624[rbp]
	mov	edi, eax
	call	close@PLT
	add	QWORD PTR -18592[rbp], 8
.L72:
	mov	rax, QWORD PTR -18592[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L74
	lea	rdx, -17472[rbp]
	lea	rax, -13376[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -17472[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	QWORD PTR -18608[rbp], rax
	jmp	.L75
.L71:
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L76
	mov	eax, DWORD PTR -18524[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	esi, 5100
	mov	rdi, rax
	call	client_init
	mov	DWORD PTR -18648[rbp], eax
	jmp	.L77
.L76:
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -18584[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, 5100
	mov	rdi, rax
	call	client_init
	mov	DWORD PTR -18648[rbp], eax
.L77:
	lea	rax, -5152[rbp]
	mov	edx, 5122
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	lea	rax, -5152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rax, -5152[rbp]
	add	rdx, rax
	lea	rax, -13376[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -18600[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -18576[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	lea	rax, -13376[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	add	rax, 2
	mov	QWORD PTR -18568[rbp], rax
	mov	rdx, QWORD PTR -18568[rbp]
	lea	rcx, -5152[rbp]
	mov	eax, DWORD PTR -18648[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -18628[rbp], eax
	mov	eax, DWORD PTR -18628[rbp]
	cdqe
	cmp	QWORD PTR -18568[rbp], rax
	je	.L78
	mov	eax, DWORD PTR -18648[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	call	err_exit
.L78:
	lea	rcx, -13376[rbp]
	mov	eax, DWORD PTR -18648[rbp]
	mov	edx, 4097
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -18608[rbp], rax
	mov	eax, DWORD PTR -18648[rbp]
	mov	edi, eax
	call	close@PLT
.L75:
	add	QWORD PTR -18600[rbp], 1
.L70:
	mov	rax, QWORD PTR -18616[rbp]
	cmp	QWORD PTR -18600[rbp], rax
	jb	.L79
	mov	rax, QWORD PTR -18608[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -18608[rbp], rdx
	mov	BYTE PTR -13376[rbp+rax], 0
	mov	rdx, QWORD PTR -18608[rbp]
	lea	rcx, -13376[rbp]
	mov	eax, DWORD PTR -18640[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L80
.L66:
	mov	eax, DWORD PTR -18640[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L81
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.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	"22013388.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"*************\000"
	.align	2
.LC1:
	.ascii	"Node : %d\012\000"
	.align	2
.LC2:
	.ascii	"Cmd : %s\012\000"
	.text
	.align	2
	.global	print_cmd_struct
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_cmd_struct, %function
print_cmd_struct:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L2
	bl	puts
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L2+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L2+8
	bl	printf
	ldr	r0, .L2
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	print_cmd_struct, .-print_cmd_struct
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Closed socket %d...\012\000"
	.text
	.align	2
	.global	err_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	err_exit, %function
err_exit:
	@ 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	r0, [fp, #-8]
	bl	perror
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L5
	ldr	r0, [fp, #-12]
	bl	close
	ldr	r1, [fp, #-12]
	ldr	r0, .L6
	bl	printf
.L5:
	mov	r0, #1
	bl	exit
.L7:
	.align	2
.L6:
	.word	.LC3
	.size	err_exit, .-err_exit
	.section	.rodata
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"Error opening config. Exiting...\012\000"
	.align	2
.LC6:
	.ascii	" %s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_config, %function
read_config:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #260
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r1, .L14+4
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L10
	mvn	r1, #0
	ldr	r0, .L14+8
	bl	err_exit
	b	.L10
.L11:
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L14+12
	ldr	r0, [fp, #-52]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r4, r2, r3
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r4, [r3]
	sub	r3, fp, #48
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r4, [r3]
	sub	r3, fp, #36
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L10:
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L14+12
	ldr	r0, [fp, #-52]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L11
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	read_config, .-read_config
	.align	2
	.global	free_config
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_config, %function
free_config:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L17
.L18:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_config, .-free_config
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Error in socket. Exiting...\012\000"
	.align	2
.LC9:
	.ascii	"Error in setsockopt. Exiting...\012\000"
	.align	2
.LC10:
	.ascii	"Error in bind. Exiting...\012\000"
	.align	2
.LC11:
	.ascii	"Error in listen. Exiting...\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	server_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	server_init, %function
server_init:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L20
	mvn	r1, #0
	ldr	r0, .L26+4
	bl	err_exit
.L20:
	mov	r3, #1
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L21
	ldr	r1, [fp, #-28]
	ldr	r0, .L26+8
	bl	err_exit
.L21:
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L22
	ldr	r1, [fp, #-28]
	ldr	r0, .L26+12
	bl	err_exit
.L22:
	mov	r1, #5
	ldr	r0, [fp, #-28]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L23
	ldr	r1, [fp, #-28]
	ldr	r0, .L26+16
	bl	err_exit
.L23:
	ldr	r3, [fp, #-28]
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC12
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	server_init, .-server_init
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Error in connect. Exiting...\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	client_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_init, %function
client_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L29
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L30
.L29:
	sub	r3, fp, #24
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	inet_aton
.L30:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	bge	.L31
	ldr	r1, [fp, #-28]
	ldr	r0, .L34+4
	bl	err_exit
.L31:
	ldr	r3, [fp, #-28]
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC14
	.word	.LC13
	.size	client_init, .-client_init
	.align	2
	.global	parse_single_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_single_cmd, %function
parse_single_cmd:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r1, #46
	ldr	r0, [fp, #-28]
	bl	strchr
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L37
	ldr	r0, [fp, #-32]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-20]
	bl	strncpy
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L38
.L39:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L38:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L39
	ldr	r0, [fp, #-20]
	bl	strlen
	str	r0, [fp, #-16]
	b	.L40
.L41:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L40:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L41
	mov	r1, #32
	ldr	r0, [fp, #-20]
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	b	.L43
.L44:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L43:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L44
	ldr	r0, [fp, #-28]
	bl	strlen
	str	r0, [fp, #-16]
	b	.L45
.L46:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L45:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L46
	ldr	r0, [fp, #-28]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	b	.L47
.L42:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L48
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	b	.L49
.L48:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
.L49:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L50
.L51:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L50:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L51
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-16]
	b	.L52
.L53:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L52:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L53
	ldr	r0, [fp, #-24]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L47:
	ldr	r0, [fp, #-20]
	bl	free
	b	.L54
.L37:
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	b	.L55
.L56:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L55:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L56
	ldr	r0, [fp, #-28]
	bl	strlen
	str	r0, [fp, #-12]
	b	.L57
.L58:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L57:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L58
	ldr	r0, [fp, #-28]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L54:
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_single_cmd, .-parse_single_cmd
	.section	.rodata
	.align	2
.LC15:
	.ascii	"|\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_multiple_pipe_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_multiple_pipe_cmd, %function
parse_multiple_pipe_cmd:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-56]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L61
.L64:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L63
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L63:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L61:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L64
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L73+4
	ldr	r0, [fp, #-24]
	bl	strtok_r
	str	r0, [fp, #-28]
	b	.L65
.L67:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L66:
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L67
	ldr	r0, [fp, #-28]
	bl	strlen
	str	r0, [fp, #-32]
	b	.L68
.L69:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L68:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L69
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r4, r2, r3
	ldr	r0, [fp, #-28]
	bl	parse_single_cmd
	mov	r3, r0
	str	r3, [r4]
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L73+4
	mov	r0, #0
	bl	strtok_r
	str	r0, [fp, #-28]
.L65:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L66
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-20]
	ldr	r2, .L73
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC16
	.word	.LC15
	.size	parse_multiple_pipe_cmd, .-parse_multiple_pipe_cmd
	.section	.rodata
	.align	2
.LC17:
	.ascii	"clustershell.cfg\000"
	.align	2
.LC18:
	.ascii	"Server started at port '%d'\012\000"
	.align	2
.LC19:
	.ascii	"Error in accept. Exiting...\012\000"
	.align	2
.LC20:
	.ascii	"Client Connected: %s:%d\012\000"
	.align	2
.LC21:
	.ascii	"Error in fork. Exiting...\012\000"
	.align	2
.LC22:
	.ascii	"Error in read. Exiting...\012\000"
	.align	2
.LC23:
	.ascii	"'%s:%d' sent '%s'\012\000"
	.align	2
.LC24:
	.ascii	"nodes\000"
	.align	2
.LC25:
	.ascii	"Error in writing. Exiting...\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 18552
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #18432
	sub	sp, sp, #124
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L95+4
	bl	server_init
	str	r0, [r4, #-2140]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-2164]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2164]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-2164]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L95+8
	bl	read_config
	str	r0, [r4, #-2136]
	ldr	r1, .L95+4
	ldr	r0, .L95+12
	bl	printf
.L93:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #18432
	sub	r2, r2, #12
	sub	r2, r2, #116
	sub	r3, fp, #18432
	sub	r3, r3, #12
	sub	r3, r3, #36
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-2140]
	bl	accept
	str	r0, [r4, #-2132]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2132]
	cmp	r3, #0
	bge	.L76
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r1, [r3, #-2132]
	ldr	r0, .L95+16
	bl	err_exit
.L76:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2080]
	bl	inet_ntoa
	mov	r4, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #2080
	sub	r3, r3, #4
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L95+20
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-2128]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2128]
	cmp	r3, #0
	bge	.L77
	mvn	r1, #0
	ldr	r0, .L95+24
	bl	err_exit
	b	.L78
.L77:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2128]
	cmp	r3, #0
	bne	.L78
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2140]
	bl	close
.L92:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #18432
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [r0, #-2132]
	bl	read
	str	r0, [r4, #-2124]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2124]
	cmp	r3, #0
	bge	.L79
	mvn	r1, #0
	ldr	r0, .L95+28
	bl	err_exit
.L79:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2124]
	add	r3, r2, r3
	sub	r3, r3, #2064
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2080]
	bl	inet_ntoa
	mov	r4, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #2080
	sub	r3, r3, #4
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #18432
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r1, r4
	ldr	r0, .L95+32
	bl	printf
	sub	r3, fp, #18432
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, .L95+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L80
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L95+40
	ldr	r0, .L95+8
	bl	fopen
	str	r0, [r4, #-2096]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [r3, #-2096]
	bl	fseek
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2096]
	bl	ftell
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-2092]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2092]
	add	r3, r3, #1
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-2088]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2096]
	bl	rewind
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r2, fp, #16384
	sub	r2, r2, #12
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r3, [r3, #-2096]
	ldr	r2, [r2, #-2092]
	mov	r1, #1
	ldr	r0, [r0, #-2088]
	bl	fread
	str	r0, [r4, #-2092]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r2, #-2088]
	ldr	r3, [r3, #-2092]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2092]
	add	r3, r3, #1
	str	r3, [r2, #-2092]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r2, #-2092]
	ldr	r1, [r1, #-2088]
	ldr	r0, [r3, #-2132]
	bl	write
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2088]
	bl	free
	b	.L92
.L80:
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldr	r2, .L95+44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2156]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #18432
	sub	r2, r2, #12
	sub	r2, r2, #112
	sub	r3, fp, #18432
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r1, r2
	mov	r0, r3
	bl	parse_multiple_pipe_cmd
	str	r0, [r4, #-2120]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2152]
	b	.L82
.L91:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L83
	sub	r3, fp, #17408
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldr	r2, .L95+44
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2136]
	str	r3, [r2, #-2148]
	b	.L84
.L86:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2148]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L95+48
	mov	r0, r3
	bl	client_init
	str	r0, [r4, #-2108]
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, .L95+52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r2, r3, r2
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r3, #2
	str	r3, [r2, #-2104]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-2104]
	mov	r1, r3
	ldr	r0, [r0, #-2108]
	bl	write
	str	r0, [r4, #-2100]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2104]
	cmp	r2, r3
	beq	.L85
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r1, [r3, #-2108]
	ldr	r0, .L95+56
	bl	err_exit
.L85:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #9216
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L95+44
	mov	r1, r3
	ldr	r0, [r0, #-2108]
	bl	read
	str	r0, [r4, #-2100]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2100]
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3]
	sub	r2, fp, #9216
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #17408
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2108]
	bl	close
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2148]
	add	r3, r3, #4
	str	r3, [r2, #-2148]
.L84:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2148]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L86
	sub	r2, fp, #17408
	sub	r2, r2, #12
	sub	r2, r2, #16
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #17408
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r3, #1
	str	r3, [r2, #-2156]
	b	.L87
.L83:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L88
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2080]
	bl	inet_ntoa
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L95+48
	mov	r0, r3
	bl	client_init
	str	r0, [r4, #-2144]
	b	.L89
.L88:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2136]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L95+48
	mov	r0, r3
	bl	client_init
	str	r0, [r4, #-2144]
.L89:
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, .L95+52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	add	r2, r3, r2
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2120]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	strlen
	mov	r4, r0
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	sub	r2, fp, #16384
	sub	r2, r2, #12
	add	r3, r3, #2
	str	r3, [r2, #-2116]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-2116]
	mov	r1, r3
	ldr	r0, [r0, #-2144]
	bl	write
	str	r0, [r4, #-2112]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2112]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2116]
	cmp	r2, r3
	beq	.L90
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r1, [r3, #-2144]
	ldr	r0, .L95+56
	bl	err_exit
.L90:
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	ldr	r2, .L95+44
	mov	r1, r3
	ldr	r0, [r0, #-2144]
	bl	read
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-2156]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2144]
	bl	close
.L87:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2152]
	add	r3, r3, #1
	str	r3, [r2, #-2152]
.L82:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2160]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-2152]
	cmp	r2, r3
	bcc	.L91
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-2156]
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-2156]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1040]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #13312
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-2156]
	mov	r1, r3
	ldr	r0, [r0, #-2132]
	bl	write
	b	.L92
.L78:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-2132]
	bl	close
	b	.L93
.L96:
	.align	2
.L95:
	.word	.LC26
	.word	5200
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC4
	.word	4097
	.word	5100
	.word	5122
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
