	.file	"325565.c"
	.intel_syntax noprefix
	.text
	.globl	childs
	.bss
	.align 4
	.type	childs, @object
	.size	childs, 4
childs:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Wrong command"
	.align 8
.LC1:
	.string	"ECHOserver <TCP port to liste to>"
	.align 8
.LC2:
	.string	"ERROR registering for signals\n"
.LC3:
	.string	"ERROR opening socket"
.LC4:
	.string	"0.0.0.0"
.LC5:
	.string	"ERROR binding socket"
.LC6:
	.string	"Client connected"
.LC7:
	.string	"ERROR forking process"
	.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
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 1
	cmp	DWORD PTR -68[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 9
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -48[rbp], eax
	lea	rsi, sig_handler[rip]
	mov	edi, 17
	call	signal@PLT
	cmp	rax, -1
	jne	.L3
	lea	rdi, .LC2[rip]
	call	perror@PLT
.L3:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jns	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 11
	jmp	.L12
.L4:
	lea	rdx, -52[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	ecx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -44[rbp]
	lea	rdx, .LC4[rip]
	mov	esi, ecx
	mov	edi, eax
	call	bind_tcp
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, 12
	jmp	.L12
.L6:
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -56[rbp], 16
.L11:
	lea	rdx, -56[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -40[rbp], eax
	lea	rdi, .LC6[rip]
	call	puts@PLT
	call	fork@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	je	.L7
	cmp	DWORD PTR -36[rbp], 0
	je	.L8
	jmp	.L14
.L7:
	lea	rdi, .LC7[rip]
	call	perror@PLT
	jmp	.L10
.L8:
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	echo_server
	mov	eax, 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR childs[rip]
	add	eax, 1
	mov	DWORD PTR childs[rip], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	close@PLT
	nop
.L10:
	jmp	.L11
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	bind_tcp
	.type	bind_tcp, @function
bind_tcp:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	gethostbyname@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	WORD PTR -32[rbp], 2
	mov	eax, DWORD PTR -56[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bind_tcp, .-bind_tcp
	.section	.rodata
.LC8:
	.string	"Client said: %s"
	.text
	.globl	echo_server
	.type	echo_server, @function
echo_server:
.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, 320
	mov	DWORD PTR -308[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -308[rbp]
	mov	DWORD PTR -284[rbp], eax
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	lea	rax, -272[rbp]
	movabs	rsi, 2334392307038315863
	movabs	rdi, 5701668627550334836
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rsi, 8534995651518612296
	movabs	rdi, 8155826682601697893
	mov	QWORD PTR 16[rax], rsi
	mov	QWORD PTR 24[rax], rdi
	movabs	rcx, 7599104330380353577
	mov	QWORD PTR 32[rax], rcx
	mov	WORD PTR 40[rax], 2676
	mov	BYTE PTR 42[rax], 0
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -280[rbp]
	movsx	rdx, eax
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	jmp	.L19
.L26:
	mov	DWORD PTR -288[rbp], 0
	movzx	eax, BYTE PTR -272[rbp]
	cmp	al, 81
	je	.L20
	movzx	eax, BYTE PTR -272[rbp]
	cmp	al, 113
	jne	.L21
.L20:
	cmp	DWORD PTR -276[rbp], 3
	jne	.L21
	mov	eax, DWORD PTR -284[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L22
.L21:
	cmp	DWORD PTR -276[rbp], 1
	jle	.L23
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 2
	sub	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	mov	BYTE PTR -289[rbp], al
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 2
	sub	eax, DWORD PTR -288[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	edx, BYTE PTR -272[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -272[rbp+rax], dl
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	edx, BYTE PTR -289[rbp]
	mov	BYTE PTR -272[rbp+rax], dl
	add	DWORD PTR -288[rbp], 1
.L24:
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 2
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -288[rbp], eax
	jle	.L25
.L23:
	mov	eax, DWORD PTR -276[rbp]
	add	eax, 2
	movsx	rdx, eax
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 32
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
.L19:
	lea	rsi, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -276[rbp], eax
	cmp	DWORD PTR -276[rbp], 0
	jne	.L26
.L22:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	echo_server, .-echo_server
	.section	.rodata
.LC9:
	.string	"Client disconnected"
	.text
	.globl	sig_handler
	.type	sig_handler, @function
sig_handler:
.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	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -20[rbp], 17
	jne	.L32
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR childs[rip]
	sub	eax, 1
	mov	DWORD PTR childs[rip], eax
	mov	eax, DWORD PTR childs[rip]
	test	eax, eax
	jne	.L30
	mov	edi, 0
	call	exit@PLT
.L30:
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	wait@PLT
.L32:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sig_handler, .-sig_handler
	.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	"325565.c"
	.text
	.global	childs
	.bss
	.align	2
	.type	childs, %object
	.size	childs, 4
childs:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Wrong command\000"
	.align	2
.LC1:
	.ascii	"ECHOserver <TCP port to liste to>\000"
	.align	2
.LC2:
	.ascii	"ERROR registering for signals\012\000"
	.align	2
.LC3:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC4:
	.ascii	"0.0.0.0\000"
	.align	2
.LC5:
	.ascii	"ERROR binding socket\000"
	.align	2
.LC6:
	.ascii	"Client connected\000"
	.align	2
.LC7:
	.ascii	"ERROR forking process\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L15+4
	bl	puts
	ldr	r0, .L15+8
	bl	puts
	mov	r0, #9
	bl	exit
.L2:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-40]
	ldr	r1, .L15+12
	mov	r0, #17
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r0, .L15+16
	bl	perror
.L3:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L15+20
	bl	perror
	mov	r3, #11
	b	.L12
.L4:
	sub	r3, fp, #44
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	setsockopt
	ldr	r2, .L15+24
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	bl	bind_tcp
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L15+28
	bl	perror
	mov	r3, #12
	b	.L12
.L6:
	mov	r1, #5
	ldr	r0, [fp, #-36]
	bl	listen
	mov	r3, #16
	str	r3, [fp, #-48]
.L11:
	sub	r2, fp, #48
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	accept
	str	r0, [fp, #-32]
	ldr	r0, .L15+32
	bl	puts
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	beq	.L7
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L8
	b	.L14
.L7:
	ldr	r0, .L15+36
	bl	perror
	b	.L10
.L8:
	ldr	r0, [fp, #-32]
	bl	echo_server
	mov	r3, #0
	b	.L12
.L14:
	ldr	r3, .L15+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+40
	str	r3, [r2]
	ldr	r0, [fp, #-32]
	bl	close
	nop
.L10:
	b	.L11
.L12:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	sig_handler
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	childs
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bind_tcp
	.syntax unified
	.arm
	.fpu softvfp
	.type	bind_tcp, %function
bind_tcp:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-40]
	bl	gethostbyname
	str	r0, [fp, #-28]
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	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
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	bind
	mov	r3, r0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC9
	.size	bind_tcp, .-bind_tcp
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Welcome to the OHCE Server \012(Q/q) to quit\012\000"
	.align	2
.LC11:
	.ascii	"Client said: %s\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	echo_server
	.syntax unified
	.arm
	.fpu softvfp
	.type	echo_server, %function
echo_server:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-276]
	sub	r3, fp, #264
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #264
	ldr	r2, .L32+4
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-272]
	ldr	r2, [fp, #-272]
	sub	r1, fp, #264
	mov	r3, #0
	ldr	r0, [fp, #-276]
	bl	send
	sub	r3, fp, #264
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
	b	.L23
.L30:
	mov	r3, #0
	str	r3, [fp, #-280]
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #81
	beq	.L24
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	cmp	r3, #113
	bne	.L25
.L24:
	ldr	r3, [fp, #-268]
	cmp	r3, #3
	bne	.L25
	ldr	r0, [fp, #-276]
	bl	close
	b	.L26
.L25:
	ldr	r3, [fp, #-268]
	cmp	r3, #1
	ble	.L27
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L32+8
	bl	printf
	b	.L28
.L29:
	ldr	r3, [fp, #-268]
	sub	r2, r3, #2
	ldr	r3, [fp, #-280]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-260]
	strb	r3, [fp, #-281]
	ldr	r3, [fp, #-268]
	sub	r2, r3, #2
	ldr	r3, [fp, #-280]
	sub	r3, r2, r3
	sub	r1, fp, #264
	ldr	r2, [fp, #-280]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	sub	r2, fp, #264
	ldr	r3, [fp, #-280]
	add	r3, r2, r3
	ldrb	r2, [fp, #-281]
	strb	r2, [r3]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L28:
	ldr	r3, [fp, #-268]
	sub	r3, r3, #2
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-280]
	cmp	r3, r2
	ble	.L29
.L27:
	ldr	r3, [fp, #-268]
	add	r3, r3, #2
	mov	r2, r3
	sub	r1, fp, #264
	mov	r3, #0
	ldr	r0, [fp, #-276]
	bl	send
	sub	r3, fp, #264
	mov	r0, r3
	mov	r3, #256
	mov	r2, r3
	mov	r1, #0
	bl	memset
.L23:
	sub	r1, fp, #264
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [fp, #-276]
	bl	recv
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L30
.L26:
	nop
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC12
	.word	.LC10
	.word	.LC11
	.size	echo_server, .-echo_server
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Client disconnected\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sig_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sig_handler, %function
sig_handler:
	@ 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]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-16]
	cmp	r3, #17
	bne	.L38
	ldr	r0, .L39+4
	bl	puts
	ldr	r3, .L39+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L39+8
	str	r3, [r2]
	ldr	r3, .L39+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L36
	mov	r0, #0
	bl	exit
.L36:
	sub	r3, fp, #12
	mov	r0, r3
	bl	wait
.L38:
	nop
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC14
	.word	.LC13
	.word	childs
	.size	sig_handler, .-sig_handler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
