	.file	"607183.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"No se puede abrir socket servidor"
.LC1:
	.string	"Recibido %d, envio %d\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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	WORD PTR -48[rbp], 2
	mov	edi, 2000
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L3
	mov	eax, DWORD PTR -60[rbp]
	mov	edi, eax
	mov	eax, 0
	call	close@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	mov	DWORD PTR -64[rbp], 16
.L5:
	lea	rcx, -64[rbp]
	lea	rdx, -32[rbp]
	lea	rsi, -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jle	.L5
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	add	eax, 1
	mov	DWORD PTR -68[rbp], eax
	mov	ecx, DWORD PTR -64[rbp]
	lea	rdx, -32[rbp]
	lea	rsi, -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -52[rbp], eax
	jmp	.L5
	.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	"607183.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"No se puede abrir socket servidor\000"
	.align	2
.LC1:
	.ascii	"Recibido %d, envio %d\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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L7+4
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	mov	r3, #2
	strh	r3, [fp, #-40]	@ movhi
	mov	r0, #2000
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-38]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-36]
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	ldr	r0, [fp, #-52]
	bl	close
	mvn	r0, #0
	bl	exit
.L3:
	mov	r3, #16
	str	r3, [fp, #-56]
.L5:
	sub	r1, fp, #60
	sub	r3, fp, #56
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-52]
	bl	recvfrom
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	ble	.L5
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L7+8
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	sub	r1, fp, #60
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-52]
	bl	sendto
	str	r0, [fp, #-44]
	b	.L5
.L8:
	.align	2
.L7:
	.word	.LC2
	.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
