	.file	"538317.c"
	.intel_syntax noprefix
	.text
	.globl	processNumber
	.bss
	.align 4
	.type	processNumber, @object
	.size	processNumber, 4
processNumber:
	.zero	4
	.globl	procId
	.align 4
	.type	procId, @object
	.size	procId, 4
procId:
	.zero	4
	.globl	xCoordinate
	.align 4
	.type	xCoordinate, @object
	.size	xCoordinate, 4
xCoordinate:
	.zero	4
	.globl	yCoordinate
	.align 4
	.type	yCoordinate, @object
	.size	yCoordinate, 4
yCoordinate:
	.zero	4
	.globl	name
	.align 8
	.type	name, @object
	.size	name, 8
name:
	.zero	8
	.globl	own
	.align 8
	.type	own, @object
	.size	own, 8
own:
	.zero	8
	.section	.rodata
.LC0:
	.string	"antenna1"
.LC1:
	.string	"antenna2"
.LC2:
	.string	"r"
.LC3:
	.string	"scenario.txt"
	.align 8
.LC4:
	.string	"Couldn't open scenario.txt for reading"
.LC5:
	.string	"nunki.usc.edu"
.LC6:
	.string	"gethostbyname"
	.align 8
.LC7:
	.string	"Antenna %d has TCP port %d and IP address \"%s\"\n"
.LC8:
	.string	"socket"
	.align 8
.LC9:
	.string	"Couldn't bind a socket to a port number"
.LC10:
	.string	"listen"
	.align 8
.LC11:
	.string	"Antenna %d is now connected to RP rover\n"
.LC12:
	.string	"recv"
.LC13:
	.string	" Data "
.LC14:
	.string	"antenna "
.LC15:
	.string	"%d"
.LC16:
	.string	"send"
	.align 8
.LC17:
	.string	"Antenna %d: Completed transfer of TCP Packets to RP rover\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, 384
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR procId[rip], eax
	mov	eax, DWORD PTR procId[rip]
	test	eax, eax
	jne	.L2
	lea	rax, .LC0[rip]
	mov	QWORD PTR name[rip], rax
	mov	DWORD PTR processNumber[rip], 1
	jmp	.L3
.L2:
	lea	rax, .LC1[rip]
	mov	QWORD PTR name[rip], rax
	mov	DWORD PTR processNumber[rip], 2
.L3:
	mov	edi, 10
	call	sleep@PLT
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -336[rbp], rax
	cmp	QWORD PTR -336[rbp], 0
	jne	.L4
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rdx, -256[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
	mov	eax, DWORD PTR processNumber[rip]
	cmp	eax, 1
	jne	.L5
	lea	rdx, -256[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rcx, rdx
	lea	rdx, own[rip]
	mov	rsi, rax
	mov	edi, 0
	call	getData
	jmp	.L6
.L5:
	lea	rdx, -256[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rcx, rdx
	lea	rdx, own[rip]
	mov	rsi, rax
	mov	edi, 1
	call	getData
.L6:
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, .LC5[rip]
	call	gethostbyname@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	jne	.L7
	lea	rdi, .LC6[rip]
	call	herror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	DWORD PTR -376[rbp], 4232
	mov	eax, DWORD PTR processNumber[rip]
	cmp	eax, 2
	jne	.L8
	mov	DWORD PTR -376[rbp], 4332
.L8:
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	inet_ntoa@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR processNumber[rip]
	mov	edx, DWORD PTR -376[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -364[rbp], eax
	cmp	DWORD PTR -364[rbp], -1
	jne	.L9
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	WORD PTR -240[rbp], 2
	mov	eax, DWORD PTR processNumber[rip]
	cmp	eax, 1
	jne	.L10
	mov	edi, 4232
	call	htons@PLT
	mov	WORD PTR -238[rbp], ax
	jmp	.L11
.L10:
	mov	edi, 4332
	call	htons@PLT
	mov	WORD PTR -238[rbp], ax
.L11:
	mov	rax, QWORD PTR -328[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -236[rbp], eax
	lea	rax, -240[rbp]
	add	rax, 8
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -364[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L12
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -364[rbp]
	mov	esi, 10
	mov	edi, eax
	call	listen@PLT
	cmp	eax, -1
	jne	.L13
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	DWORD PTR -380[rbp], 16
	lea	rdx, -380[rbp]
	lea	rcx, -224[rbp]
	mov	eax, DWORD PTR -364[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -360[rbp], eax
	mov	eax, DWORD PTR processNumber[rip]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	ecx, 0
	mov	edx, 99
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -356[rbp], eax
	cmp	DWORD PTR -356[rbp], -1
	jne	.L14
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
	mov	WORD PTR -193[rbp], 32
	lea	rdx, -193[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -320[rbp], rax
	lea	rax, -193[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -352[rbp], eax
	lea	rax, -193[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -304[rbp], rax
	lea	rax, -193[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -348[rbp], eax
	lea	rax, -193[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -344[rbp], eax
	lea	rax, -193[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -340[rbp], eax
	cmp	DWORD PTR -348[rbp], 0
	jne	.L15
	mov	edx, DWORD PTR own[rip]
	mov	eax, DWORD PTR -344[rbp]
	add	eax, edx
	mov	DWORD PTR -372[rbp], eax
	mov	edx, DWORD PTR own[rip+4]
	mov	eax, DWORD PTR -340[rbp]
	add	eax, edx
	mov	DWORD PTR -368[rbp], eax
.L15:
	cmp	DWORD PTR -348[rbp], 1
	jne	.L16
	mov	eax, DWORD PTR own[rip]
	sub	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR -372[rbp], eax
	mov	edx, DWORD PTR own[rip+4]
	mov	eax, DWORD PTR -340[rbp]
	add	eax, edx
	mov	DWORD PTR -368[rbp], eax
.L16:
	cmp	DWORD PTR -348[rbp], 2
	jne	.L17
	mov	eax, DWORD PTR own[rip+4]
	sub	eax, DWORD PTR -340[rbp]
	mov	DWORD PTR -368[rbp], eax
	mov	edx, DWORD PTR own[rip]
	mov	eax, DWORD PTR -344[rbp]
	add	eax, edx
	mov	DWORD PTR -372[rbp], eax
.L17:
	cmp	DWORD PTR -348[rbp], 3
	jne	.L18
	mov	eax, DWORD PTR own[rip+4]
	sub	eax, DWORD PTR -340[rbp]
	mov	DWORD PTR -368[rbp], eax
	mov	eax, DWORD PTR own[rip]
	sub	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR -372[rbp], eax
.L18:
	lea	rax, .LC13[rip]
	mov	QWORD PTR -272[rbp], rax
	mov	BYTE PTR -176[rbp], 0
	lea	rax, .LC14[rip]
	mov	QWORD PTR -264[rbp], rax
	mov	edx, DWORD PTR processNumber[rip]
	lea	rax, -191[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -372[rbp]
	lea	rax, -186[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	edx, DWORD PTR -368[rbp]
	lea	rax, -181[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rdx, QWORD PTR -264[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rdx, -191[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -272[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rdx, -176[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -186[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -176[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	lea	rdx, -181[rbp]
	lea	rax, -176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -176[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	cmp	rax, -1
	jne	.L19
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	lea	rsi, -112[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	ecx, 0
	mov	edx, 99
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -356[rbp], eax
	cmp	DWORD PTR -356[rbp], -1
	jne	.L20
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	BYTE PTR -112[rbp+rax], 0
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -144[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 65
	lea	rdx, -191[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -144[rbp]
	add	rax, rdx
	movabs	rcx, 8314035669885219426
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1735289204
	mov	BYTE PTR 12[rax], 0
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -144[rbp]
	mov	eax, DWORD PTR -360[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	cmp	rax, -1
	jne	.L21
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR processNumber[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -360[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -364[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	getData
	.type	getData, @function
getData:
.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, 112
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fsetpos@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -72[rbp], eax
	jmp	.L25
.L27:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -73[rbp], al
.L26:
	cmp	BYTE PTR -73[rbp], 10
	jne	.L27
	sub	DWORD PTR -72[rbp], 1
	mov	BYTE PTR -73[rbp], 97
.L25:
	cmp	DWORD PTR -72[rbp], 0
	jne	.L26
	mov	rdx, QWORD PTR -96[rbp]
	lea	rax, -32[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	WORD PTR -34[rbp], 32
	lea	rdx, -34[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -64[rbp], rax
	lea	rax, -34[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rax, -34[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	DWORD PTR 4[rdx], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getData, .-getData
	.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	"538317.c"
	.text
	.comm	processNumber,4,4
	.comm	procId,4,4
	.comm	xCoordinate,4,4
	.comm	yCoordinate,4,4
	.comm	name,4,4
	.comm	own,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"antenna1\000"
	.align	2
.LC1:
	.ascii	"antenna2\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"scenario.txt\000"
	.align	2
.LC4:
	.ascii	"Couldn't open scenario.txt for reading\000"
	.align	2
.LC5:
	.ascii	"nunki.usc.edu\000"
	.align	2
.LC6:
	.ascii	"gethostbyname\000"
	.align	2
.LC7:
	.ascii	"Antenna %d has TCP port %d and IP address \"%s\"\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"socket\000"
	.align	2
.LC9:
	.ascii	"Couldn't bind a socket to a port number\000"
	.align	2
.LC10:
	.ascii	"listen\000"
	.align	2
.LC11:
	.ascii	"Antenna %d is now connected to RP rover\012\000"
	.align	2
.LC12:
	.ascii	"recv\000"
	.align	2
.LC13:
	.ascii	" Data \000"
	.align	2
.LC14:
	.ascii	"antenna \000"
	.align	2
.LC15:
	.ascii	"%d\000"
	.align	2
.LC16:
	.ascii	" \000"
	.align	2
.LC17:
	.ascii	"send\000"
	.align	2
.LC18:
	.ascii	"A\000"
	.align	2
.LC19:
	.ascii	"broadcasting\000"
	.align	2
.LC20:
	.ascii	"Antenna %d: Completed transfer of TCP Packets to RP"
	.ascii	" rover\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 = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #332
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L24+4
	str	r2, [r3]
	ldr	r3, .L24+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L24+8
	ldr	r2, .L24+12
	str	r2, [r3]
	ldr	r3, .L24+16
	mov	r2, #1
	str	r2, [r3]
	b	.L3
.L2:
	ldr	r3, .L24+8
	ldr	r2, .L24+20
	str	r2, [r3]
	ldr	r3, .L24+16
	mov	r2, #2
	str	r2, [r3]
.L3:
	mov	r0, #10
	bl	sleep
	ldr	r1, .L24+24
	ldr	r0, .L24+28
	bl	fopen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L24+32
	bl	puts
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #252
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	fgetpos
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L5
	sub	r3, fp, #252
	ldr	r2, .L24+36
	ldr	r1, [fp, #-320]
	mov	r0, #0
	bl	getData
	b	.L6
.L5:
	sub	r3, fp, #252
	ldr	r2, .L24+36
	ldr	r1, [fp, #-320]
	mov	r0, #1
	bl	getData
.L6:
	mov	r0, #1
	bl	sleep
	ldr	r0, .L24+40
	bl	gethostbyname
	str	r0, [fp, #-316]
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L24+44
	bl	herror
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, .L24+48
	str	r3, [fp, #-332]
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L8
	ldr	r3, .L24+52
	str	r3, [fp, #-332]
.L8:
	ldr	r3, .L24+16
	ldr	r4, [r3]
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	inet_ntoa
	mov	r3, r0
	ldr	r2, [fp, #-332]
	mov	r1, r4
	ldr	r0, .L24+56
	bl	printf
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmn	r3, #1
	bne	.L9
	ldr	r0, .L24+60
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	mov	r3, #2
	strh	r3, [fp, #-240]	@ movhi
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	ldr	r0, .L24+48
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-238]	@ movhi
	b	.L11
.L10:
	ldr	r0, .L24+52
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-238]	@ movhi
.L11:
	ldr	r3, [fp, #-316]
	ldr	r3, [r3, #16]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-236]
	sub	r3, fp, #240
	add	r3, r3, #8
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #240
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-312]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L24+64
	bl	puts
	mov	r0, #1
	bl	exit
.L12:
	mov	r1, #10
	ldr	r0, [fp, #-312]
	bl	listen
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L24+68
	bl	perror
	mov	r0, #1
	bl	exit
.L13:
	mov	r3, #16
	str	r3, [fp, #-336]
	sub	r2, fp, #336
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, [fp, #-312]
	bl	accept
	str	r0, [fp, #-308]
	ldr	r3, .L24+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+72
	bl	printf
	sub	r1, fp, #116
	mov	r3, #0
	mov	r2, #99
	ldr	r0, [fp, #-308]
	bl	recv
	str	r0, [fp, #-304]
	ldr	r3, [fp, #-304]
	cmn	r3, #1
	bne	.L14
	ldr	r0, .L24+76
	bl	perror
	mov	r0, #1
	bl	exit
.L14:
	sub	r2, fp, #116
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #32
	strh	r3, [fp, #-208]	@ movhi
	sub	r2, fp, #208
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-300]
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-296]
	ldr	r0, [fp, #-296]
	bl	atoi
	str	r0, [fp, #-292]
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-288]
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-284]
	ldr	r0, [fp, #-284]
	bl	atoi
	str	r0, [fp, #-280]
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-276]
	ldr	r0, [fp, #-276]
	bl	atoi
	str	r0, [fp, #-272]
	sub	r3, fp, #208
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-268]
	ldr	r0, [fp, #-268]
	bl	atoi
	str	r0, [fp, #-264]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L24+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	str	r3, [fp, #-328]
	ldr	r3, .L24+36
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-264]
	add	r3, r2, r3
	str	r3, [fp, #-324]
.L15:
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	bne	.L16
	ldr	r3, .L24+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-272]
	sub	r3, r2, r3
	str	r3, [fp, #-328]
	ldr	r3, .L24+36
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-264]
	add	r3, r2, r3
	str	r3, [fp, #-324]
.L16:
	ldr	r3, [fp, #-280]
	cmp	r3, #2
	bne	.L17
	ldr	r3, .L24+36
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-264]
	sub	r3, r2, r3
	str	r3, [fp, #-324]
	ldr	r3, .L24+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-272]
	add	r3, r2, r3
	str	r3, [fp, #-328]
.L17:
	ldr	r3, [fp, #-280]
	cmp	r3, #3
	bne	.L18
	ldr	r3, .L24+36
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-264]
	sub	r3, r2, r3
	str	r3, [fp, #-324]
	ldr	r3, .L24+36
	ldr	r2, [r3]
	ldr	r3, [fp, #-272]
	sub	r3, r2, r3
	str	r3, [fp, #-328]
.L18:
	ldr	r3, .L24+80
	str	r3, [fp, #-260]
	mov	r3, #0
	strb	r3, [fp, #-180]
	ldr	r3, .L24+84
	str	r3, [fp, #-256]
	ldr	r3, .L24+16
	ldr	r2, [r3]
	sub	r3, fp, #204
	ldr	r1, .L24+88
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #196
	ldr	r2, [fp, #-328]
	ldr	r1, .L24+88
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #188
	ldr	r2, [fp, #-324]
	ldr	r1, .L24+88
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #180
	ldr	r1, [fp, #-256]
	mov	r0, r3
	bl	strcat
	sub	r2, fp, #204
	sub	r3, fp, #180
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #180
	ldr	r1, [fp, #-260]
	mov	r0, r3
	bl	strcat
	sub	r2, fp, #180
	sub	r3, fp, #148
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r2, fp, #196
	sub	r3, fp, #180
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #180
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #180
	add	r3, r3, r2
	ldr	r2, .L24+92
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r2, fp, #188
	sub	r3, fp, #180
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #180
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #180
	mov	r3, #0
	ldr	r0, [fp, #-308]
	bl	send
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r0, .L24+96
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	sub	r1, fp, #116
	mov	r3, #0
	mov	r2, #99
	ldr	r0, [fp, #-308]
	bl	recv
	str	r0, [fp, #-304]
	ldr	r3, [fp, #-304]
	cmn	r3, #1
	bne	.L20
	ldr	r0, .L24+76
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	sub	r2, fp, #116
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #148
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #148
	add	r3, r3, r2
	ldr	r2, .L24+100
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r2, fp, #204
	sub	r3, fp, #148
	mov	r1, r2
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #148
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #148
	add	r3, r3, r2
	ldr	r2, .L24+104
	mov	r0, r3
	mov	r1, r2
	mov	r3, #13
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #148
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #148
	mov	r3, #0
	ldr	r0, [fp, #-308]
	bl	send
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	ldr	r0, .L24+96
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L24+108
	bl	printf
	ldr	r0, [fp, #-308]
	bl	close
	ldr	r0, [fp, #-312]
	bl	close
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC21
	.word	procId
	.word	name
	.word	.LC0
	.word	processNumber
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	own
	.word	.LC5
	.word	.LC6
	.word	4232
	.word	4332
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.section	.rodata
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getData
	.syntax unified
	.arm
	.fpu softvfp
	.type	getData, %function
getData:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-60]
	bl	fsetpos
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-48]
	b	.L27
.L29:
	ldr	r0, [fp, #-60]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-49]
.L28:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L29
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	mov	r3, #97
	strb	r3, [fp, #-49]
.L27:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #24
	ldr	r2, [fp, #-60]
	mov	r1, #16
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #24
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r3, #32
	strh	r3, [fp, #-28]	@ movhi
	sub	r2, fp, #28
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-40]
	sub	r3, fp, #28
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-36]
	ldr	r0, [fp, #-36]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	sub	r3, fp, #28
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-64]
	str	r2, [r3, #4]
	nop
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC22
	.size	getData, .-getData
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
