	.file	"90764511.c"
	.intel_syntax noprefix
	.text
	.globl	qerror
	.type	qerror, @function
qerror:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	qerror, .-qerror
	.section	.rodata
	.align 8
.LC0:
	.string	"Erro , argumentos = %s <portOrador> <ipBroadcast> <portOuvinte>\n"
.LC1:
	.string	"Aguarda UDP no porto %d\n"
.LC2:
	.string	"Recebido de: %s\n"
.LC3:
	.string	"Porto: %d\n"
.LC4:
	.string	"Bytes lidos: %d\n"
.LC5:
	.string	"Dados: %s\n"
.LC6:
	.string	"Bytes enviados: %d\n"
.LC7:
	.string	"Aguarda UDP "
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -296[rbp], 1
	cmp	DWORD PTR -308[rbp], 4
	je	.L3
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	eax, 2000
	jle	.L3
	mov	rax, QWORD PTR -320[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -292[rbp], eax
	lea	rdx, -296[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 6
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -288[rbp], eax
	lea	rax, -256[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -256[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -252[rbp], eax
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -254[rbp], ax
	lea	rcx, -256[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -288[rbp], eax
.L4:
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -300[rbp], 16
	lea	rcx, -300[rbp]
	lea	rdx, -272[rbp]
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 99
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -284[rbp], eax
	lea	rax, -240[rbp]
	lea	rdx, -272[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 16
	mov	rdx, rax
	mov	edi, 2
	mov	eax, 0
	call	inet_ntop@PLT
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -270[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -272[rbp]
	lea	rsi, -224[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -268[rbp]
	mov	DWORD PTR -280[rbp], eax
	movzx	eax, WORD PTR -270[rbp]
	movzx	eax, ax
	mov	DWORD PTR -276[rbp], eax
	lea	rax, -272[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -272[rbp], 2
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	inet_addr@PLT
	mov	DWORD PTR -268[rbp], eax
	mov	rax, QWORD PTR -320[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -270[rbp], ax
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -272[rbp]
	lea	rsi, -224[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	DWORD PTR -300[rbp], 16
	lea	rcx, -300[rbp]
	lea	rdx, -272[rbp]
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 99
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -284[rbp], eax
	lea	rax, -240[rbp]
	lea	rdx, -272[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 16
	mov	rdx, rax
	mov	edi, 2
	mov	eax, 0
	call	inet_ntop@PLT
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -270[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	BYTE PTR -224[rbp+rax], 0
	lea	rax, -224[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -272[rbp], 2
	mov	eax, DWORD PTR -268[rbp]
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -280[rbp]
	mov	DWORD PTR -268[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	mov	WORD PTR -270[rbp], ax
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -272[rbp]
	lea	rsi, -224[rbp]
	mov	eax, DWORD PTR -292[rbp]
	mov	r9d, 16
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -256[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	jmp	.L4
	.cfi_endproc
.LFE7:
	.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	"90764511.c"
	.text
	.align	2
	.global	qerror
	.syntax unified
	.arm
	.fpu softvfp
	.type	qerror, %function
qerror:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
	.size	qerror, .-qerror
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Erro , argumentos = %s <portOrador> <ipBroadcast> <"
	.ascii	"portOuvinte>\012\000"
	.align	2
.LC1:
	.ascii	"Aguarda UDP no porto %d\012\000"
	.align	2
.LC2:
	.ascii	"Recebido de: %s\012\000"
	.align	2
.LC3:
	.ascii	"Porto: %d\012\000"
	.align	2
.LC4:
	.ascii	"Bytes lidos: %d\012\000"
	.align	2
.LC5:
	.ascii	"Dados: %s\012\000"
	.align	2
.LC6:
	.ascii	"Bytes enviados: %d\012\000"
	.align	2
.LC7:
	.ascii	"Aguarda UDP \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 = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-288]
	cmp	r3, #4
	beq	.L3
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-292]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #2000
	ble	.L3
	ldr	r3, [fp, #-292]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L6+4
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-276]
	sub	r3, fp, #280
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #6
	mov	r1, #1
	ldr	r0, [fp, #-276]
	bl	setsockopt
	str	r0, [fp, #-272]
	sub	r3, fp, #240
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	strh	r3, [fp, #-240]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-236]
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-238]	@ movhi
	sub	r3, fp, #240
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	bind
	str	r0, [fp, #-272]
.L4:
	ldr	r3, [fp, #-292]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+8
	bl	printf
	mov	r3, #16
	str	r3, [fp, #-284]
	sub	r1, fp, #108
	sub	r3, fp, #284
	str	r3, [sp, #4]
	sub	r3, fp, #256
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #99
	ldr	r0, [fp, #-276]
	bl	recvfrom
	str	r0, [fp, #-268]
	sub	r2, fp, #224
	sub	r3, fp, #256
	add	r1, r3, #4
	mov	r3, #16
	mov	r0, #2
	bl	inet_ntop
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldrh	r3, [fp, #-254]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r1, [fp, #-268]
	ldr	r0, .L6+20
	bl	printf
	sub	r2, fp, #208
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L6+24
	bl	printf
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #208
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #256
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-276]
	bl	sendto
	str	r0, [fp, #-268]
	ldr	r1, [fp, #-268]
	ldr	r0, .L6+28
	bl	printf
	ldr	r3, [fp, #-252]
	str	r3, [fp, #-264]
	ldrh	r3, [fp, #-254]
	str	r3, [fp, #-260]
	sub	r3, fp, #256
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	sub	r2, fp, #256
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-292]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-292]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-254]	@ movhi
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #208
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #256
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-276]
	bl	sendto
	str	r0, [fp, #-268]
	ldr	r1, [fp, #-268]
	ldr	r0, .L6+28
	bl	printf
	ldr	r0, .L6+32
	bl	puts
	mov	r3, #16
	str	r3, [fp, #-284]
	sub	r1, fp, #108
	sub	r3, fp, #284
	str	r3, [sp, #4]
	sub	r3, fp, #256
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #99
	ldr	r0, [fp, #-276]
	bl	recvfrom
	str	r0, [fp, #-268]
	sub	r2, fp, #224
	sub	r3, fp, #256
	add	r1, r3, #4
	mov	r3, #16
	mov	r0, #2
	bl	inet_ntop
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L6+12
	bl	printf
	ldrh	r3, [fp, #-254]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6+16
	bl	printf
	ldr	r1, [fp, #-268]
	ldr	r0, .L6+20
	bl	printf
	sub	r2, fp, #208
	ldr	r3, [fp, #-268]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L6+24
	bl	printf
	sub	r3, fp, #256
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	sub	r2, fp, #256
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-252]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-252]
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-254]	@ movhi
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #208
	mov	r3, #16
	str	r3, [sp, #4]
	sub	r3, fp, #256
	str	r3, [sp]
	mov	r3, #0
	ldr	r0, [fp, #-276]
	bl	sendto
	str	r0, [fp, #-268]
	ldr	r1, [fp, #-268]
	ldr	r0, .L6+28
	bl	printf
	sub	r3, fp, #240
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	b	.L4
.L7:
	.align	2
.L6:
	.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
