	.file	"730896.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"r"
.LC2:
	.string	"Config_StevenPalma.config"
.LC3:
	.string	"fopen"
.LC4:
	.string	"socket"
.LC5:
	.string	"setsockopt"
.LC6:
	.string	"bind"
.LC8:
	.string	"gettimeofday"
.LC9:
	.string	"%f\n%ld.%06ld\n"
.LC10:
	.string	"mypipe2"
.LC11:
	.string	"open"
.LC12:
	.string	"write"
.LC13:
	.string	"close"
.LC14:
	.string	"(G): I sent>\n%s"
.LC15:
	.string	"(G): Waiting for a reply"
.LC16:
	.string	"listen"
.LC17:
	.string	"accept"
.LC18:
	.string	"(G): Reply accepted"
.LC19:
	.string	"read"
.LC20:
	.string	"(G): I read>\n%s"
.LC21:
	.string	"\n"
.LC22:
	.string	"%f\n%f\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, 528
	mov	DWORD PTR -516[rbp], edi
	mov	QWORD PTR -528[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	DWORD PTR -496[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -492[rbp], xmm0
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -440[rbp], rax
	cmp	QWORD PTR -440[rbp], 0
	jne	.L2
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L2:
	mov	rdx, QWORD PTR -440[rbp]
	lea	rcx, -464[rbp]
	lea	rax, -472[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], -1
	je	.L4
	mov	rax, QWORD PTR -472[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -496[rbp], eax
.L4:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -504[rbp], 1
	mov	DWORD PTR -500[rbp], 16
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -484[rbp], eax
	cmp	DWORD PTR -484[rbp], 0
	jns	.L5
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L5:
	lea	rdx, -504[rbp]
	mov	eax, DWORD PTR -484[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 15
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L6:
	mov	WORD PTR -400[rbp], 2
	mov	DWORD PTR -396[rbp], 0
	mov	eax, DWORD PTR -496[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -398[rbp], ax
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -484[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L7
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L7:
	mov	edi, 10
	call	sleep@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -432[rbp], xmm0
	lea	rax, -432[rbp]
	add	rax, 16
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], 0
	jns	.L8
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L8:
	mov	rcx, QWORD PTR -408[rbp]
	mov	rdx, QWORD PTR -416[rbp]
	mov	rsi, QWORD PTR -432[rbp]
	lea	rax, -384[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 1
	call	sprintf@PLT
.L17:
	mov	esi, 1
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -480[rbp], eax
	cmp	DWORD PTR -480[rbp], 0
	jns	.L9
	lea	rdi, .LC11[rip]
	call	perror@PLT
.L9:
	lea	rax, -384[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	lea	rcx, -384[rbp]
	mov	eax, DWORD PTR -480[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], 0
	jns	.L10
	lea	rdi, .LC12[rip]
	call	perror@PLT
.L10:
	mov	eax, DWORD PTR -480[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], 0
	jns	.L11
	lea	rdi, .LC13[rip]
	call	perror@PLT
.L11:
	lea	rax, -384[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -484[rbp]
	mov	esi, 3
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L12
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L12:
	lea	rdx, -500[rbp]
	lea	rcx, -400[rbp]
	mov	eax, DWORD PTR -484[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -476[rbp], eax
	cmp	DWORD PTR -476[rbp], 0
	jns	.L13
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L13:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -476[rbp]
	mov	edx, 255
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], 0
	jns	.L14
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L18
.L14:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -432[rbp], rax
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -456[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -424[rbp], rax
	lea	rsi, .LC21[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -456[rbp], rax
.L15:
	cmp	QWORD PTR -456[rbp], 0
	jne	.L16
	movsd	xmm0, QWORD PTR -424[rbp]
	mov	rdx, QWORD PTR -432[rbp]
	lea	rax, -384[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 2
	call	sprintf@PLT
	jmp	.L17
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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	"730896.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"Config_StevenPalma.config\000"
	.align	2
.LC2:
	.ascii	"fopen\000"
	.align	2
.LC3:
	.ascii	"socket\000"
	.align	2
.LC4:
	.ascii	"setsockopt\000"
	.align	2
.LC5:
	.ascii	"bind\000"
	.align	2
.LC6:
	.ascii	"gettimeofday\000"
	.align	2
.LC7:
	.ascii	"%f\012%ld.%06ld\012\000"
	.align	2
.LC8:
	.ascii	"mypipe2\000"
	.align	2
.LC9:
	.ascii	"open\000"
	.align	2
.LC10:
	.ascii	"write\000"
	.align	2
.LC11:
	.ascii	"close\000"
	.align	2
.LC12:
	.ascii	"(G): I sent>\012%s\000"
	.align	2
.LC13:
	.ascii	"(G): Waiting for a reply\000"
	.align	2
.LC14:
	.ascii	"listen\000"
	.align	2
.LC15:
	.ascii	"accept\000"
	.align	2
.LC16:
	.ascii	"(G): Reply accepted\000"
	.align	2
.LC17:
	.ascii	"read\000"
	.align	2
.LC18:
	.ascii	"(G): I read>\012%s\000"
	.align	2
.LC19:
	.ascii	"\012\000"
	.align	2
.LC20:
	.ascii	"%f\012%f\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 464
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #472
	str	r0, [fp, #-464]
	str	r1, [fp, #-468]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-456]
	mov	r3, #0
	str	r3, [fp, #-452]
	mov	r3, #0
	str	r3, [fp, #-432]
	mov	r3, #0
	str	r3, [fp, #-440]
	mov	r3, #0
	str	r3, [fp, #-428]	@ float
	ldr	r1, .L20+4
	ldr	r0, .L20+8
	bl	fopen
	str	r0, [fp, #-424]
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L20+12
	bl	perror
	mvn	r3, #0
	b	.L18
.L2:
	sub	r1, fp, #452
	sub	r3, fp, #456
	ldr	r2, [fp, #-424]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmn	r3, #1
	beq	.L4
	ldr	r3, [fp, #-456]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-440]
.L4:
	ldr	r0, [fp, #-424]
	bl	fclose
	mov	r3, #1
	str	r3, [fp, #-448]
	mov	r3, #16
	str	r3, [fp, #-444]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L20+16
	bl	perror
	mvn	r3, #0
	b	.L18
.L5:
	sub	r3, fp, #448
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, [fp, #-416]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r0, .L20+20
	bl	perror
	mvn	r3, #0
	b	.L18
.L6:
	sub	r3, fp, #4
	sub	r3, r3, #376
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-376]
	ldr	r3, [fp, #-440]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #376
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #380
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-416]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L20+24
	bl	perror
	mvn	r3, #0
	b	.L18
.L7:
	mov	r0, #10
	bl	sleep
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	sub	r3, fp, #404
	add	r3, r3, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L8
	ldr	r0, .L20+28
	bl	perror
	mvn	r3, #0
	b	.L18
.L8:
	sub	r3, fp, #404
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-388]
	ldr	r0, [fp, #-384]
	sub	ip, fp, #364
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r1, .L20+32
	mov	r0, ip
	bl	sprintf
.L17:
	mov	r1, #1
	ldr	r0, .L20+36
	bl	open
	str	r0, [fp, #-412]
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L20+40
	bl	perror
.L9:
	sub	r3, fp, #364
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r2, r3, #1
	sub	r3, fp, #364
	mov	r1, r3
	ldr	r0, [fp, #-412]
	bl	write
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L20+44
	bl	perror
.L10:
	ldr	r0, [fp, #-412]
	bl	close
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L20+48
	bl	perror
.L11:
	sub	r3, fp, #364
	mov	r1, r3
	ldr	r0, .L20+52
	bl	printf
	ldr	r3, .L20+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L20+60
	bl	puts
	ldr	r3, .L20+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #3
	ldr	r0, [fp, #-416]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L12
	ldr	r0, .L20+64
	bl	perror
	mvn	r3, #0
	b	.L18
.L12:
	sub	r2, fp, #444
	sub	r3, fp, #380
	mov	r1, r3
	ldr	r0, [fp, #-416]
	bl	accept
	str	r0, [fp, #-408]
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L20+68
	bl	perror
	mvn	r3, #0
	b	.L18
.L13:
	ldr	r0, .L20+72
	bl	puts
	ldr	r3, .L20+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #264
	mov	r2, #255
	mov	r1, r3
	ldr	r0, [fp, #-408]
	bl	read
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L20+76
	bl	perror
	mvn	r3, #0
	b	.L18
.L14:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L20+80
	bl	printf
	ldr	r3, .L20+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #264
	ldr	r1, .L20+84
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-436]
	ldr	r0, [fp, #-436]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	b	.L15
.L16:
	ldr	r0, [fp, #-436]
	bl	atof
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-396]
	str	r3, [fp, #-392]
	ldr	r1, .L20+84
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-436]
.L15:
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	bne	.L16
	sub	r1, fp, #404
	ldmia	r1, {r0-r1}
	sub	r3, fp, #396
	ldmia	r3, {r2-r3}
	sub	ip, fp, #364
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L20+88
	mov	r0, ip
	bl	sprintf
	b	.L17
.L18:
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC21
	.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	stdout
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
