	.file	"716252.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Connecting to the socket..."
.LC1:
	.string	"Erreur de liaison 1\n"
.LC2:
	.string	"Socket connected"
.LC3:
	.string	"Connecting to Server..."
.LC4:
	.string	"192.168.0.124"
.LC5:
	.string	"Server connected"
.LC6:
	.string	"Waiting for Client Py..."
.LC7:
	.string	"Client Py Connected..."
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -76[rbp], eax
	mov	WORD PTR -64[rbp], 2
	mov	edi, 700
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	mov	DWORD PTR -60[rbp], 0
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -72[rbp], eax
	mov	WORD PTR -48[rbp], 2
	mov	edi, 600
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	lea	rdi, .LC4[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -44[rbp], eax
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, 1
	mov	edi, eax
	call	listen@PLT
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -68[rbp], eax
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L18:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, 21
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -32[rbp]
	mov	ecx, 0
	cmp	eax, 8
	jnb	.L3
	mov	esi, eax
	and	esi, 4
	test	esi, esi
	je	.L5
	mov	DWORD PTR [rdx], ecx
	mov	eax, eax
	add	rax, rdx
	add	rax, 4
	mov	DWORD PTR -8[rax], ecx
	jmp	.L4
.L5:
	test	eax, eax
	je	.L4
	mov	BYTE PTR [rdx], cl
	mov	esi, eax
	and	esi, 2
	test	esi, esi
	je	.L4
	mov	eax, eax
	add	rax, rdx
	mov	WORD PTR -2[rax], cx
	jmp	.L4
.L3:
	mov	esi, eax
	add	rsi, rdx
	mov	QWORD PTR -8[rsi], rcx
	sub	eax, 1
	cmp	eax, 8
	jb	.L4
	and	eax, -8
	mov	esi, eax
	mov	eax, 0
.L7:
	mov	edi, eax
	mov	QWORD PTR [rdx+rdi], rcx
	add	eax, 8
	cmp	eax, esi
	jb	.L7
	mov	eax, eax
	add	rdx, rax
.L4:
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 21
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	cmp	al, 64
	jne	.L10
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -32[rbp+rax], 0
.L10:
	add	DWORD PTR -80[rbp], 1
.L9:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	test	al, al
	jne	.L11
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -32[rbp]
	mov	ecx, 0
	cmp	eax, 8
	jnb	.L12
	mov	esi, eax
	and	esi, 4
	test	esi, esi
	je	.L14
	mov	DWORD PTR [rdx], ecx
	mov	eax, eax
	add	rax, rdx
	add	rax, 4
	mov	DWORD PTR -8[rax], ecx
	jmp	.L18
.L14:
	test	eax, eax
	je	.L18
	mov	BYTE PTR [rdx], cl
	mov	esi, eax
	and	esi, 2
	test	esi, esi
	je	.L13
	mov	eax, eax
	add	rax, rdx
	mov	WORD PTR -2[rax], cx
	jmp	.L18
.L12:
	mov	esi, eax
	add	rsi, rdx
	mov	QWORD PTR -8[rsi], rcx
	sub	eax, 1
	cmp	eax, 8
	jb	.L18
	and	eax, -8
	mov	esi, eax
	mov	eax, 0
.L16:
	mov	edi, eax
	mov	QWORD PTR [rdx+rdi], rcx
	add	eax, 8
	cmp	eax, esi
	jb	.L16
	mov	eax, eax
	add	rdx, rax
.L13:
	jmp	.L18
	.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	"716252.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Connecting to the socket...\000"
	.align	2
.LC1:
	.ascii	"Erreur de liaison 1\012\000"
	.align	2
.LC2:
	.ascii	"Socket connected\000"
	.align	2
.LC3:
	.ascii	"Connecting to Server...\000"
	.align	2
.LC4:
	.ascii	"192.168.0.124\000"
	.align	2
.LC5:
	.ascii	"Server connected\000"
	.align	2
.LC6:
	.ascii	"Waiting for Client Py...\000"
	.align	2
.LC7:
	.ascii	"Client Py Connected...\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 = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L8+4
	bl	puts
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-76]
	mov	r3, #2
	strh	r3, [fp, #-64]	@ movhi
	mov	r0, #700
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-62]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #64
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-76]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L8+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, .L8+12
	bl	puts
	ldr	r0, .L8+16
	bl	puts
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-72]
	mov	r3, #2
	strh	r3, [fp, #-48]	@ movhi
	mov	r0, #600
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-46]	@ movhi
	ldr	r0, .L8+20
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-44]
	sub	r3, fp, #48
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	connect
	ldr	r0, .L8+24
	bl	puts
	ldr	r0, .L8+28
	bl	puts
	mov	r1, #1
	ldr	r0, [fp, #-76]
	bl	listen
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-76]
	bl	accept
	str	r0, [fp, #-68]
	ldr	r0, .L8+32
	bl	puts
.L6:
	sub	r3, fp, #32
	mov	r2, #21
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	read
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	write
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #32
	mov	r2, #21
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L3
.L5:
	sub	r2, fp, #32
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bne	.L4
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-28]
.L4:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L3:
	sub	r2, fp, #32
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	write
	sub	r3, fp, #32
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L6
.L9:
	.align	2
.L8:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
