	.file	"220455442.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Conexion desde Host: %s  Puerto: %s\n"
.LC1:
	.string	"Mensaje: %s\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
	sub	rsp, 1808
	mov	DWORD PTR -1796[rbp], edi
	mov	QWORD PTR -1808[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1760[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1756[rbp], 0
	mov	DWORD PTR -1752[rbp], 1
	mov	DWORD PTR -1760[rbp], 0
	mov	rax, QWORD PTR -1808[rbp]
	add	rax, 16
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -1808[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -1768[rbp]
	lea	rdx, -1760[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	rax, QWORD PTR -1768[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -1768[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -1780[rbp], eax
	mov	rax, QWORD PTR -1768[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -1768[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1780[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	eax, DWORD PTR -1780[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -1784[rbp], 128
.L4:
	lea	rdx, -1784[rbp]
	lea	rcx, -1712[rbp]
	mov	eax, DWORD PTR -1780[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1776[rbp], eax
	mov	esi, DWORD PTR -1784[rbp]
	lea	rcx, -1584[rbp]
	lea	rdx, -1040[rbp]
	lea	rax, -1712[rbp]
	sub	rsp, 8
	push	3
	mov	r9d, 32
	mov	r8, rcx
	mov	ecx, 1025
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	lea	rdx, -1584[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -1772[rbp]
	cdqe
	mov	BYTE PTR -1552[rbp+rax], 0
	lea	rax, -1552[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1772[rbp]
	movsx	rdx, eax
	lea	rsi, -1552[rbp]
	mov	eax, DWORD PTR -1776[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
.L2:
	lea	rsi, -1552[rbp]
	mov	eax, DWORD PTR -1776[rbp]
	mov	ecx, 0
	mov	edx, 500
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -1772[rbp], eax
	cmp	DWORD PTR -1772[rbp], 0
	jne	.L3
	mov	eax, DWORD PTR -1776[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	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	"220455442.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Conexion desde Host: %s  Puerto: %s\012\000"
	.align	2
.LC1:
	.ascii	"Mensaje: %s\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1752
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1760
	sub	sp, sp, #8
	str	r0, [fp, #-1752]
	str	r1, [fp, #-1756]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1712
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1724]
	mov	r3, #1
	str	r3, [fp, #-1720]
	mov	r3, #0
	str	r3, [fp, #-1728]
	ldr	r3, [fp, #-1756]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1756]
	add	r3, r3, #8
	ldr	r1, [r3]
	sub	r3, fp, #1744
	sub	r3, r3, #4
	sub	r2, fp, #1712
	sub	r2, r2, #4
	sub	r2, r2, #12
	bl	getaddrinfo
	ldr	r3, [fp, #-1748]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-1748]
	ldr	r3, [r3, #8]
	mov	r2, #0
	mov	r1, r3
	bl	socket
	str	r0, [fp, #-1740]
	ldr	r3, [fp, #-1748]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-1748]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-1740]
	bl	bind
	mov	r1, #5
	ldr	r0, [fp, #-1740]
	bl	listen
	mov	r3, #128
	str	r3, [fp, #-1744]
.L4:
	sub	r2, fp, #1728
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1680
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-1740]
	bl	accept
	str	r0, [fp, #-1736]
	ldr	r1, [fp, #-1744]
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	r0, fp, #1680
	sub	r0, r0, #4
	sub	r0, r0, #12
	mov	r3, #3
	str	r3, [sp, #8]
	mov	r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #1552
	sub	r3, r3, #4
	sub	r3, r3, #12
	str	r3, [sp]
	ldr	r3, .L6+4
	bl	getnameinfo
	sub	r2, fp, #1552
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L6+8
	bl	printf
	b	.L2
.L3:
	sub	r3, fp, #1520
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1732]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1520
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldr	r2, [fp, #-1732]
	sub	r1, fp, #1520
	sub	r1, r1, #4
	sub	r1, r1, #12
	mov	r3, #0
	ldr	r0, [fp, #-1736]
	bl	send
.L2:
	sub	r1, fp, #1520
	sub	r1, r1, #4
	sub	r1, r1, #12
	mov	r3, #0
	mov	r2, #500
	ldr	r0, [fp, #-1736]
	bl	recv
	str	r0, [fp, #-1732]
	ldr	r3, [fp, #-1732]
	cmp	r3, #0
	bne	.L3
	ldr	r0, [fp, #-1736]
	bl	close
	b	.L4
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	1025
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
