	.file	"173577690.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Introduce correctamente los par\303\241metros"
	.align 8
.LC1:
	.string	"Uso: %s <direcci\303\263n> <puerto>\n"
	.align 8
.LC2:
	.string	"argv[0]: %s, argv[1]: %s, argv[2]: %s\n"
.LC3:
	.string	"Error getaddrinfo() %d: %s\n"
.LC4:
	.string	"Error socket() %d: %s\n"
.LC5:
	.string	"Error bind() %d: %s\n"
.LC6:
	.string	"Error select() %d: %s\n"
.LC7:
	.string	"%H:%M:%S\n"
.LC8:
	.string	"Lectura desde terminal"
.LC9:
	.string	"Error read() %d: %s\n"
	.align 8
.LC10:
	.string	"Se ha leido desde terminal: %s\n"
.LC11:
	.string	"Hora: %s\n"
.LC12:
	.string	"Error recvfrom() %d: %s\n"
.LC13:
	.string	"El servidor ha leido: %s\n"
.LC14:
	.string	"Error getnameinfo() %d: %s\n"
	.align 8
.LC15:
	.string	"Conexi\303\263n desde Host: %s, Puerto: %s\n"
.LC16:
	.string	"Error sendto() %d: %s\n"
.LC17:
	.string	"Servidor ha enviado: %s\n"
	.align 8
.LC18:
	.string	"Ning\303\272n dato le\303\255do en los \303\272ltimos 10 segundos"
	.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
	push	rbx
	sub	rsp, 1912
	.cfi_offset 3, -24
	mov	DWORD PTR -1908[rbp], edi
	mov	QWORD PTR -1920[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1908[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1920[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L19
.L2:
	mov	rax, QWORD PTR -1920[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1920[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1920[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1824[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -1820[rbp], 0
	mov	DWORD PTR -1816[rbp], 2
	mov	DWORD PTR -1824[rbp], 1
	mov	DWORD PTR -1812[rbp], 0
	mov	QWORD PTR -1792[rbp], 0
	mov	QWORD PTR -1800[rbp], 0
	mov	QWORD PTR -1784[rbp], 0
	mov	rax, QWORD PTR -1920[rbp]
	add	rax, 16
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -1920[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -1856[rbp]
	lea	rdx, -1824[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	test	eax, eax
	je	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L19
.L4:
	mov	rax, QWORD PTR -1856[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -1856[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -1856[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -1892[rbp], eax
	cmp	DWORD PTR -1892[rbp], -1
	jne	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L19
.L5:
	mov	rax, QWORD PTR -1856[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -1856[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -1892[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1892[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L19
.L6:
	mov	rax, QWORD PTR -1856[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
.L18:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -1712[rbp]
	mov	rdi, rdx
#APP
# 79 "the_stack_data/173577690.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -1888[rbp], edx
	mov	DWORD PTR -1884[rbp], eax
	mov	rax, QWORD PTR -1712[rbp]
	or	rax, 1
	mov	QWORD PTR -1712[rbp], rax
	mov	eax, DWORD PTR -1892[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1712[rbp+rax*8]
	mov	eax, DWORD PTR -1892[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1712[rbp+rax*8], rdx
	mov	QWORD PTR -1840[rbp], 10
	mov	QWORD PTR -1832[rbp], 0
	mov	eax, DWORD PTR -1892[rbp]
	lea	edi, 1[rax]
	lea	rdx, -1840[rbp]
	lea	rax, -1712[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -1880[rbp], eax
	cmp	DWORD PTR -1880[rbp], -1
	jne	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L19
.L7:
	cmp	DWORD PTR -1880[rbp], 0
	je	.L8
	lea	rax, -1848[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -1848[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -1776[rbp], rcx
	mov	QWORD PTR -1768[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -1760[rbp], rcx
	mov	QWORD PTR -1752[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -1744[rbp], rcx
	mov	QWORD PTR -1736[rbp], rbx
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -1728[rbp], rax
	lea	rdx, -1776[rbp]
	lea	rax, -1424[rbp]
	mov	rcx, rdx
	lea	rdx, .LC7[rip]
	mov	esi, 100
	mov	rdi, rax
	call	strftime@PLT
	mov	DWORD PTR -1876[rbp], eax
	mov	rax, QWORD PTR -1712[rbp]
	and	eax, 1
	test	rax, rax
	je	.L9
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rax, -1056[rbp]
	mov	edx, 100
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -1872[rbp], eax
	cmp	DWORD PTR -1872[rbp], -1
	jne	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L19
.L10:
	mov	eax, DWORD PTR -1872[rbp]
	cdqe
	mov	BYTE PTR -1056[rbp+rax], 0
	lea	rax, -1056[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1424[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, DWORD PTR -1892[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1712[rbp+rax*8]
	mov	eax, DWORD PTR -1892[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L18
	mov	DWORD PTR -1896[rbp], 128
	lea	rcx, -1896[rbp]
	lea	rdx, -1584[rbp]
	lea	rsi, -1312[rbp]
	mov	eax, DWORD PTR -1892[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 256
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -1868[rbp], eax
	cmp	DWORD PTR -1868[rbp], -1
	jne	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1892[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L19
.L13:
	mov	eax, DWORD PTR -1868[rbp]
	cdqe
	mov	BYTE PTR -1312[rbp+rax], 0
	lea	rax, -1312[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR -1896[rbp]
	lea	rcx, -1456[rbp]
	lea	rdx, -1056[rbp]
	lea	rax, -1584[rbp]
	sub	rsp, 8
	push	3
	mov	r9d, 32
	mov	r8, rcx
	mov	ecx, 1025
	mov	rdi, rax
	call	getnameinfo@PLT
	add	rsp, 16
	mov	DWORD PTR -1864[rbp], eax
	cmp	DWORD PTR -1864[rbp], -1
	jne	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1892[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L19
.L15:
	lea	rdx, -1456[rbp]
	lea	rax, -1056[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, DWORD PTR -1896[rbp]
	mov	eax, DWORD PTR -1876[rbp]
	movsx	rdx, eax
	lea	rcx, -1584[rbp]
	lea	rsi, -1424[rbp]
	mov	eax, DWORD PTR -1892[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -1860[rbp], eax
	cmp	DWORD PTR -1860[rbp], -1
	jne	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1892[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L19
.L16:
	lea	rax, -1424[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L8:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	jmp	.L18
.L19:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"173577690.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Introduce correctamente los par\303\241metros\000"
	.align	2
.LC1:
	.ascii	"Uso: %s <direcci\303\263n> <puerto>\012\000"
	.align	2
.LC2:
	.ascii	"argv[0]: %s, argv[1]: %s, argv[2]: %s\012\000"
	.align	2
.LC3:
	.ascii	"Error getaddrinfo() %d: %s\012\000"
	.align	2
.LC4:
	.ascii	"Error socket() %d: %s\012\000"
	.align	2
.LC5:
	.ascii	"Error bind() %d: %s\012\000"
	.align	2
.LC6:
	.ascii	"Error select() %d: %s\012\000"
	.align	2
.LC7:
	.ascii	"%H:%M:%S\012\000"
	.align	2
.LC8:
	.ascii	"Lectura desde terminal\000"
	.align	2
.LC9:
	.ascii	"Error read() %d: %s\012\000"
	.align	2
.LC10:
	.ascii	"Se ha leido desde terminal: %s\012\000"
	.align	2
.LC11:
	.ascii	"Hora: %s\012\000"
	.align	2
.LC12:
	.ascii	"Error recvfrom() %d: %s\012\000"
	.align	2
.LC13:
	.ascii	"El servidor ha leido: %s\012\000"
	.align	2
.LC14:
	.ascii	"Error getnameinfo() %d: %s\012\000"
	.align	2
.LC15:
	.ascii	"Conexi\303\263n desde Host: %s, Puerto: %s\012\000"
	.align	2
.LC16:
	.ascii	"Error sendto() %d: %s\012\000"
	.align	2
.LC17:
	.ascii	"Servidor ha enviado: %s\012\000"
	.align	2
.LC18:
	.ascii	"Ning\303\272n dato le\303\255do en los \303\272ltim"
	.ascii	"os 10 segundos\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1816
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1824
	sub	sp, sp, #12
	str	r0, [fp, #-1824]
	str	r1, [fp, #-1828]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-1824]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L23+4
	bl	puts
	ldr	r3, [fp, #-1828]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+8
	bl	printf
	mvn	r3, #0
	b	.L21
.L2:
	ldr	r3, [fp, #-1828]
	ldr	r1, [r3]
	ldr	r3, [fp, #-1828]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1828]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #1744
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1760]
	mov	r3, #2
	str	r3, [fp, #-1756]
	mov	r3, #1
	str	r3, [fp, #-1764]
	mov	r3, #0
	str	r3, [fp, #-1752]
	mov	r3, #0
	str	r3, [fp, #-1740]
	mov	r3, #0
	str	r3, [fp, #-1744]
	mov	r3, #0
	str	r3, [fp, #-1736]
	ldr	r3, [fp, #-1828]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1828]
	add	r3, r3, #8
	ldr	r1, [r3]
	sub	r3, fp, #1808
	sub	r3, r3, #12
	sub	r2, fp, #1744
	sub	r2, r2, #12
	sub	r2, r2, #8
	bl	getaddrinfo
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+16
	bl	printf
	mvn	r3, #0
	b	.L21
.L4:
	ldr	r3, [fp, #-1820]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-1820]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-1820]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-1804]
	ldr	r3, [fp, #-1804]
	cmn	r3, #1
	bne	.L5
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+20
	bl	printf
	mvn	r3, #0
	b	.L21
.L5:
	ldr	r3, [fp, #-1820]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-1820]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-1804]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+24
	bl	printf
	ldr	r0, [fp, #-1804]
	bl	close
	mvn	r3, #0
	b	.L21
.L6:
	ldr	r3, [fp, #-1820]
	mov	r0, r3
	bl	freeaddrinfo
.L20:
	sub	r3, fp, #1664
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [fp, #-1800]
	mov	r3, #0
	str	r3, [fp, #-1808]
	b	.L7
.L8:
	ldr	r3, [fp, #-1800]
	ldr	r2, [fp, #-1808]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1808]
	add	r3, r3, #1
	str	r3, [fp, #-1808]
.L7:
	ldr	r3, [fp, #-1808]
	cmp	r3, #31
	bls	.L8
	ldr	r3, [fp, #-1688]
	orr	r3, r3, #1
	str	r3, [fp, #-1688]
	ldr	r3, [fp, #-1804]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-1676]
	ldr	r3, [fp, #-1804]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-1676]
	mov	r3, #10
	str	r3, [fp, #-1772]
	mov	r3, #0
	str	r3, [fp, #-1768]
	ldr	r3, [fp, #-1804]
	add	r0, r3, #1
	sub	r1, fp, #1664
	sub	r1, r1, #12
	sub	r1, r1, #12
	sub	r3, fp, #1760
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	str	r0, [fp, #-1796]
	ldr	r3, [fp, #-1796]
	cmn	r3, #1
	bne	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+28
	bl	printf
	mvn	r3, #0
	b	.L21
.L9:
	ldr	r3, [fp, #-1796]
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	time
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	localtime
	mov	r3, r0
	sub	ip, fp, #1712
	sub	ip, ip, #12
	sub	ip, ip, #8
	mov	lr, r3
	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}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #1712
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r0, fp, #1376
	sub	r0, r0, #12
	sub	r0, r0, #12
	ldr	r2, .L23+32
	mov	r1, #100
	bl	strftime
	mov	r3, r0
	str	r3, [fp, #-1792]
	ldr	r3, [fp, #-1688]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L23+36
	bl	puts
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #100
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-1788]
	ldr	r3, [fp, #-1788]
	cmn	r3, #1
	bne	.L12
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+40
	bl	printf
	mvn	r3, #0
	b	.L21
.L12:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1788]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L23+44
	bl	printf
	sub	r3, fp, #1376
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L23+48
	bl	printf
.L11:
	ldr	r3, [fp, #-1804]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-1676]
	ldr	r3, [fp, #-1804]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L20
	mov	r3, #128
	str	r3, [fp, #-1812]
	sub	r1, fp, #1280
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #1792
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [sp, #4]
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #256
	ldr	r0, [fp, #-1804]
	bl	recvfrom
	str	r0, [fp, #-1784]
	ldr	r3, [fp, #-1784]
	cmn	r3, #1
	bne	.L15
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+52
	bl	printf
	ldr	r0, [fp, #-1804]
	bl	close
	mvn	r3, #0
	b	.L21
.L15:
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1784]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L23+56
	bl	printf
	ldr	r1, [fp, #-1812]
	sub	r2, fp, #1024
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r0, fp, #1536
	sub	r0, r0, #12
	sub	r0, r0, #12
	mov	r3, #3
	str	r3, [sp, #8]
	mov	r3, #32
	str	r3, [sp, #4]
	sub	r3, fp, #1408
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [sp]
	ldr	r3, .L23+60
	bl	getnameinfo
	str	r0, [fp, #-1780]
	ldr	r3, [fp, #-1780]
	cmn	r3, #1
	bne	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+64
	bl	printf
	ldr	r0, [fp, #-1804]
	bl	close
	mvn	r3, #0
	b	.L21
.L17:
	sub	r2, fp, #1408
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L23+68
	bl	printf
	ldr	r2, [fp, #-1792]
	ldr	r3, [fp, #-1812]
	sub	r1, fp, #1376
	sub	r1, r1, #12
	sub	r1, r1, #12
	str	r3, [sp, #4]
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-1804]
	bl	sendto
	str	r0, [fp, #-1776]
	ldr	r3, [fp, #-1776]
	cmn	r3, #1
	bne	.L18
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L23+72
	bl	printf
	ldr	r0, [fp, #-1804]
	bl	close
	mvn	r3, #0
	b	.L21
.L18:
	sub	r3, fp, #1376
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L23+76
	bl	printf
	b	.L20
.L10:
	ldr	r0, .L23+80
	bl	puts
	b	.L20
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC19
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	1025
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
