	.file	"660128.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"socket creation failed"
.LC1:
	.string	"127.0.0.1"
.LC2:
	.string	"192.168.42.8"
.LC3:
	.string	"bind failed"
.LC5:
	.string	"Length = %d\n"
.LC6:
	.string	"Receive noise = %8.3f\n"
.LC7:
	.string	"Receive time step = %8.3f\n"
.LC8:
	.string	"Receive frequency = %8.3f\n"
.LC9:
	.string	"Receive debug = %8.3f\n"
.LC10:
	.string	"Python address = %s\n"
.LC11:
	.string	"Python port = %d\n"
.LC12:
	.string	"Send noise = %8.3f\n"
.LC13:
	.string	"Send time step = %8.3f\n"
.LC14:
	.string	"Send frequency = %8.3f\n"
.LC15:
	.string	"Send debug = %8.3f\n"
.LC16:
	.string	"Generator address = %s\n"
.LC17:
	.string	"Generator port = %d\n"
	.align 8
.LC18:
	.string	"Phase values : %8.3f | %8.3f | %8.3f | Time (s): %8.2f\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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	js	.L2
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -208[rbp], eax
	cmp	DWORD PTR -208[rbp], 0
	jns	.L3
.L2:
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -160[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -144[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -128[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -160[rbp], 2
	mov	edi, 6367
	call	htons@PLT
	mov	WORD PTR -158[rbp], ax
	mov	DWORD PTR -156[rbp], 0
	mov	WORD PTR -128[rbp], 2
	mov	edi, 5367
	call	htons@PLT
	mov	WORD PTR -126[rbp], ax
	lea	rax, -128[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	inet_aton@PLT
	mov	WORD PTR -112[rbp], 2
	mov	edi, 6367
	call	htons@PLT
	mov	WORD PTR -110[rbp], ax
	lea	rax, -112[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	inet_aton@PLT
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	DWORD PTR -220[rbp], 16
	mov	DWORD PTR -204[rbp], 16
	mov	DWORD PTR -216[rbp], 16
	mov	DWORD PTR -200[rbp], 16
	lea	rcx, -220[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, -176[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 16
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -196[rbp], eax
	lea	rax, -96[rbp]
	lea	rdx, -144[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 40
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	movss	xmm0, DWORD PTR -164[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L5
	mov	eax, DWORD PTR -196[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR -176[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -172[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -168[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -164[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -142[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	eax, DWORD PTR -216[rbp]
	mov	ecx, eax
	lea	rdx, -128[rbp]
	lea	rsi, -176[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 16
	mov	edi, eax
	call	sendto@PLT
	lea	rax, -48[rbp]
	lea	rdx, -128[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 40
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	movss	xmm0, DWORD PTR -164[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L11
	movss	xmm0, DWORD PTR -176[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -172[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -168[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -164[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -126[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	lea	rcx, -216[rbp]
	lea	rdx, -128[rbp]
	lea	rsi, -192[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 16
	mov	edi, eax
	call	recvfrom@PLT
	mov	DWORD PTR -196[rbp], eax
	mov	ecx, DWORD PTR -200[rbp]
	lea	rdx, -112[rbp]
	lea	rsi, -192[rbp]
	mov	eax, DWORD PTR -208[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 16
	mov	edi, eax
	call	sendto@PLT
	movss	xmm0, DWORD PTR -164[rbp]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L9
	movss	xmm0, DWORD PTR -180[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -184[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -188[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm3, DWORD PTR -192[rbp]
	cvtss2sd	xmm3, xmm3
	movq	rax, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 4
	call	printf@PLT
.L9:
	movss	xmm0, DWORD PTR -168[rbp]
	movss	xmm2, DWORD PTR .LC19[rip]
	movaps	xmm1, xmm0
	subss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC20[rip]
	mulss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	edi, eax
	call	usleep@PLT
	jmp	.L11
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC19:
	.long	1084227584
	.align 4
.LC20:
	.long	1148846080
	.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	"660128.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"socket creation failed\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.ascii	"192.168.42.8\000"
	.align	2
.LC3:
	.ascii	"bind failed\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC4:
	.ascii	"Length = %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"Receive noise = %8.3f\012\000"
	.align	2
.LC6:
	.ascii	"Receive time step = %8.3f\012\000"
	.align	2
.LC7:
	.ascii	"Receive frequency = %8.3f\012\000"
	.align	2
.LC8:
	.ascii	"Receive debug = %8.3f\012\000"
	.align	2
.LC9:
	.ascii	"Python address = %s\012\000"
	.align	2
.LC10:
	.ascii	"Python port = %d\012\000"
	.align	2
.LC11:
	.ascii	"Send noise = %8.3f\012\000"
	.align	2
.LC12:
	.ascii	"Send time step = %8.3f\012\000"
	.align	2
.LC13:
	.ascii	"Send frequency = %8.3f\012\000"
	.align	2
.LC14:
	.ascii	"Send debug = %8.3f\012\000"
	.align	2
.LC15:
	.ascii	"Generator address = %s\012\000"
	.align	2
.LC16:
	.ascii	"Generator port = %d\012\000"
	.align	2
.LC17:
	.ascii	"Phase values : %8.3f | %8.3f | %8.3f | Time (s): %8"
	.ascii	".2f\012\000"
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_f2uiz
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #232
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmp	r3, #0
	blt	.L2
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bge	.L3
.L2:
	ldr	r0, .L16+4
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #176
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #160
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #144
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-176]	@ movhi
	ldr	r0, .L16+8
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-174]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r3, #2
	strh	r3, [fp, #-144]	@ movhi
	ldr	r0, .L16+12
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-142]	@ movhi
	sub	r3, fp, #144
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L16+16
	bl	inet_aton
	mov	r3, #2
	strh	r3, [fp, #-128]	@ movhi
	ldr	r0, .L16+8
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-126]	@ movhi
	sub	r3, fp, #128
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L16+20
	bl	inet_aton
	sub	r3, fp, #176
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-224]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L16+24
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	mov	r3, #16
	str	r3, [fp, #-236]
	mov	r3, #16
	str	r3, [fp, #-220]
	mov	r3, #16
	str	r3, [fp, #-232]
	mov	r3, #16
	str	r3, [fp, #-216]
	sub	r1, fp, #192
	sub	r3, fp, #236
	str	r3, [sp, #4]
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #16
	ldr	r0, [fp, #-224]
	bl	recvfrom
	str	r0, [fp, #-212]
	sub	r2, fp, #112
	sub	r3, fp, #160
	add	r1, r3, #4
	mov	r3, #40
	mov	r0, #2
	bl	inet_ntop
	ldr	r3, [fp, #-180]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r1, [fp, #-212]
	ldr	r0, .L16+28
	bl	printf
	ldr	r3, [fp, #-192]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+32
	bl	printf
	ldr	r3, [fp, #-188]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+36
	bl	printf
	ldr	r3, [fp, #-184]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, [fp, #-180]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+44
	bl	printf
	sub	r3, fp, #112
	mov	r1, r3
	ldr	r0, .L16+48
	bl	printf
	ldrh	r3, [fp, #-158]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L16+52
	bl	printf
.L5:
	ldr	r3, [fp, #-232]
	sub	r1, fp, #192
	str	r3, [sp, #4]
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #16
	ldr	r0, [fp, #-228]
	bl	sendto
	sub	r2, fp, #72
	sub	r3, fp, #144
	add	r1, r3, #4
	mov	r3, #40
	mov	r0, #2
	bl	inet_ntop
	ldr	r3, [fp, #-180]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-192]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+56
	bl	printf
	ldr	r3, [fp, #-188]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+60
	bl	printf
	ldr	r3, [fp, #-184]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+64
	bl	printf
	ldr	r3, [fp, #-180]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+68
	bl	printf
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L16+72
	bl	printf
	ldrh	r3, [fp, #-142]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L16+76
	bl	printf
.L11:
	sub	r1, fp, #208
	sub	r3, fp, #232
	str	r3, [sp, #4]
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #16
	ldr	r0, [fp, #-228]
	bl	recvfrom
	str	r0, [fp, #-212]
	ldr	r3, [fp, #-216]
	sub	r1, fp, #208
	str	r3, [sp, #4]
	sub	r3, fp, #128
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #16
	ldr	r0, [fp, #-224]
	bl	sendto
	ldr	r3, [fp, #-180]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-208]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, [fp, #-204]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-200]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-196]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	ldr	r0, .L16+80
	bl	printf
.L9:
	ldr	r3, [fp, #-184]	@ float
	ldr	r1, .L16+84
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	ldr	r1, .L16+88
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	mov	r0, r3
	bl	usleep
	b	.L11
.L17:
	.align	2
.L16:
	.word	.LC18
	.word	.LC0
	.word	6367
	.word	5367
	.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	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	1084227584
	.word	1148846080
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
