	.file	"785093.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"server is running\342\200\246"
.LC1:
	.string	"Receive from the client:%s\n"
.LC2:
	.string	"Enter the input data:"
.LC3:
	.string	"Data sent"
	.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
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3696
	mov	DWORD PTR -20068[rbp], edi
	mov	QWORD PTR -20080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -20048[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -20048[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -20044[rbp], eax
	mov	edi, 5000
	call	htons@PLT
	mov	WORD PTR -20046[rbp], ax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -20056[rbp], eax
	lea	rcx, -20048[rbp]
	mov	eax, DWORD PTR -20056[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR -20056[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdx, -20064[rbp]
	lea	rcx, -20032[rbp]
	mov	eax, DWORD PTR -20056[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -20052[rbp], eax
.L4:
	lea	rax, -20016[rbp]
	mov	edx, 10000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rsi, -20016[rbp]
	mov	eax, DWORD PTR -20052[rbp]
	mov	ecx, 0
	mov	edx, 10000
	mov	edi, eax
	call	recv@PLT
	lea	rax, -20016[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -20060[rbp], 1
	jmp	.L2
.L3:
	lea	rax, -10016[rbp]
	mov	edx, 10000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -10016[rbp]
	mov	esi, 10000
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -10016[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rsi, -10016[rbp]
	mov	eax, DWORD PTR -20052[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	add	DWORD PTR -20060[rbp], 1
.L2:
	cmp	DWORD PTR -20060[rbp], 1
	je	.L3
	jmp	.L4
	.cfi_endproc
.LFE6:
	.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	"785093.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"server is running\342\200\246\000"
	.align	2
.LC1:
	.ascii	"Receive from the client:%s\012\000"
	.align	2
.LC2:
	.ascii	"Enter the input data:\000"
	.align	2
.LC3:
	.ascii	"Data sent\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 20064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #19968
	sub	sp, sp, #100
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r0, [r3, #-3676]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r1, [r3, #-3680]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #19968
	sub	r3, r3, #12
	sub	r3, r3, #68
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #3648
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-3648]
	ldr	r0, .L6+4
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #3648
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-3660]
	sub	r3, fp, #19968
	sub	r3, r3, #12
	sub	r3, r3, #68
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-3660]
	bl	bind
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r1, #5
	ldr	r0, [r3, #-3660]
	bl	listen
	ldr	r0, .L6+8
	bl	puts
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #19968
	sub	r2, r2, #12
	sub	r2, r2, #84
	sub	r3, fp, #19968
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #16384
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-3660]
	bl	accept
	str	r0, [r4, #-3656]
.L4:
	sub	r3, fp, #19968
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	ldr	r3, .L6+12
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r1, fp, #19968
	sub	r1, r1, #12
	sub	r1, r1, #36
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r2, .L6+12
	ldr	r0, [r0, #-3656]
	bl	recv
	sub	r3, fp, #19968
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3664]
	b	.L2
.L3:
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r0, r3
	ldr	r3, .L6+12
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r0, .L6+20
	bl	puts
	ldr	r3, .L6+24
	ldr	r2, [r3]
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #20
	ldr	r1, .L6+12
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #9984
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r1, fp, #9984
	sub	r1, r1, #12
	sub	r1, r1, #20
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, #0
	ldr	r0, [r0, #-3656]
	bl	send
	ldr	r0, .L6+28
	bl	puts
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	add	r3, r3, #1
	str	r3, [r2, #-3664]
.L2:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-3664]
	cmp	r3, #1
	beq	.L3
	b	.L4
.L7:
	.align	2
.L6:
	.word	.LC4
	.word	5000
	.word	.LC0
	.word	10000
	.word	.LC1
	.word	.LC2
	.word	stdin
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
