	.file	"219662.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"!!| Error in file reading"
	.align 8
.LC2:
	.string	"==| Current congestion control algorithm: %s\n"
.LC3:
	.string	"!!| Error in reading file."
.LC4:
	.string	"!!| Error in sending file."
	.align 8
.LC6:
	.string	"==| %s sending time - %f Seconds\n"
	.align 8
.LC7:
	.string	"==| Number of iterations in %s algorithm = %d\n"
.LC8:
	.string	"==| Bytes Sent in %s %d\n"
	.text
	.globl	send_file
	.type	send_file, @function
send_file:
.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, 1568
	mov	DWORD PTR -1556[rbp], edi
	mov	QWORD PTR -1568[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1472[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -1568[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1504[rbp], rax
	cmp	QWORD PTR -1504[rbp], 0
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdx, -1440[rbp]
	mov	rax, QWORD PTR -1568[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	rax, QWORD PTR -1392[rbp]
	mov	DWORD PTR -1524[rbp], eax
	mov	eax, DWORD PTR -1524[rbp]
	lea	edx, 1023[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 10
	mov	DWORD PTR -1520[rbp], eax
	mov	eax, DWORD PTR -1524[rbp]
	cdq
	shr	edx, 22
	add	eax, edx
	and	eax, 1023
	sub	eax, edx
	mov	DWORD PTR -1516[rbp], eax
	mov	DWORD PTR -1512[rbp], 0
	mov	DWORD PTR -1544[rbp], 0
	mov	DWORD PTR -1540[rbp], 0
	mov	DWORD PTR -1508[rbp], 0
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1536[rbp], 0
	mov	DWORD PTR -1548[rbp], 256
	lea	rcx, -1548[rbp]
	lea	rdx, -1296[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	mov	edx, 13
	mov	esi, 6
	mov	edi, eax
	call	getsockopt@PLT
	lea	rax, -1296[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1532[rbp], 0
	jmp	.L3
.L11:
	mov	DWORD PTR -1528[rbp], 0
	jmp	.L4
.L7:
	mov	rdx, QWORD PTR -1504[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1024
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -1512[rbp], eax
	cmp	DWORD PTR -1512[rbp], 0
	jns	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	mov	ecx, 0
	mov	edx, 1024
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -1508[rbp], eax
	mov	eax, DWORD PTR -1508[rbp]
	add	DWORD PTR -1544[rbp], eax
	cmp	DWORD PTR -1508[rbp], -1
	jne	.L6
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	add	DWORD PTR -1536[rbp], 1
	add	DWORD PTR -1528[rbp], 1
.L4:
	mov	eax, DWORD PTR -1528[rbp]
	cmp	eax, DWORD PTR -1520[rbp]
	jl	.L7
	cmp	DWORD PTR -1516[rbp], 0
	jle	.L8
	mov	eax, DWORD PTR -1516[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -1504[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -1512[rbp], eax
	cmp	DWORD PTR -1512[rbp], 0
	jns	.L9
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR -1516[rbp]
	movsx	rdx, eax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	DWORD PTR -1508[rbp], eax
	mov	eax, DWORD PTR -1508[rbp]
	add	DWORD PTR -1544[rbp], eax
	cmp	DWORD PTR -1508[rbp], -1
	jne	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	add	DWORD PTR -1536[rbp], 1
.L8:
	add	DWORD PTR -1540[rbp], 1
	mov	rax, QWORD PTR -1504[rbp]
	mov	rdi, rax
	call	rewind@PLT
	add	DWORD PTR -1532[rbp], 1
.L3:
	cmp	DWORD PTR -1532[rbp], 4
	jle	.L11
	lea	rax, -1456[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -1472[rbp]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -1464[rbp]
	add	rax, rdx
	mov	QWORD PTR -1496[rbp], rax
	mov	rax, QWORD PTR -1456[rbp]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -1448[rbp]
	add	rax, rdx
	mov	QWORD PTR -1488[rbp], rax
	mov	rax, QWORD PTR -1488[rbp]
	sub	rax, QWORD PTR -1496[rbp]
	test	rax, rax
	js	.L12
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L13
.L12:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L13:
	movsd	xmm1, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -1480[rbp], xmm0
	mov	rdx, QWORD PTR -1480[rbp]
	lea	rax, -1296[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -1536[rbp]
	lea	rax, -1296[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -1544[rbp]
	lea	rax, -1296[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1504[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -1540[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	send_file, .-send_file
	.section	.rodata
.LC9:
	.string	"127.0.0.1"
.LC10:
	.string	"input/1mb.txt"
	.align 8
.LC11:
	.string	"_____________________________Sender (Client)_____________________________"
.LC12:
	.string	"!!| Error in socket"
	.align 8
.LC13:
	.string	"==| Server socket created successfully."
.LC14:
	.string	"==| Connected to Server."
	.align 8
.LC15:
	.string	"==| Sending received file size: %d Bytes\n"
	.align 8
.LC16:
	.string	"==| File was sent a total of %d times successfully\n"
.LC17:
	.string	"!!| Set CC to reno Problem"
	.align 8
.LC18:
	.string	"==| Congestion Control Algorithm changed to %s, Resending files\n"
	.align 8
.LC19:
	.string	"==|__________Total sending process time = %f__________|\n"
	.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, 528
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -464[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	DWORD PTR -520[rbp], 256
	mov	DWORD PTR -516[rbp], 0
	lea	rax, .LC9[rip]
	mov	QWORD PTR -504[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -496[rbp], rax
	lea	rdx, -416[rbp]
	mov	rax, QWORD PTR -496[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	DWORD PTR -524[rbp], eax
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -512[rbp], eax
	cmp	DWORD PTR -512[rbp], 0
	jns	.L17
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	WORD PTR -432[rbp], 2
	mov	WORD PTR -430[rbp], 9010
	mov	rax, QWORD PTR -504[rbp]
	mov	rdi, rax
	call	inet_addr@PLT
	mov	DWORD PTR -428[rbp], eax
	lea	rcx, -432[rbp]
	mov	eax, DWORD PTR -512[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -508[rbp], eax
	cmp	DWORD PTR -508[rbp], -1
	jne	.L18
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -524[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -524[rbp]
	mov	eax, DWORD PTR -512[rbp]
	mov	ecx, 0
	mov	edx, 4
	mov	edi, eax
	call	send@PLT
	mov	rdx, QWORD PTR -496[rbp]
	mov	eax, DWORD PTR -512[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	send_file
	add	DWORD PTR -516[rbp], eax
	mov	eax, DWORD PTR -516[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	DWORD PTR [rax], 1869505906
	mov	BYTE PTR 4[rax], 0
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -520[rbp], eax
	mov	ecx, DWORD PTR -520[rbp]
	lea	rdx, -272[rbp]
	mov	eax, DWORD PTR -512[rbp]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, 13
	mov	esi, 6
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	je	.L19
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L23
.L19:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -496[rbp]
	mov	eax, DWORD PTR -512[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	send_file
	add	DWORD PTR -516[rbp], eax
	mov	eax, DWORD PTR -516[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -512[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rax, -448[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -464[rbp]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -456[rbp]
	add	rax, rdx
	mov	QWORD PTR -488[rbp], rax
	mov	rax, QWORD PTR -448[rbp]
	imul	rdx, rax, 1000000000
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	mov	QWORD PTR -480[rbp], rax
	mov	rax, QWORD PTR -480[rbp]
	sub	rax, QWORD PTR -488[rbp]
	test	rax, rax
	js	.L21
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L22
.L21:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L22:
	movsd	xmm1, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -472[rbp], xmm0
	mov	rax, QWORD PTR -472[rbp]
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	-400107883
	.long	1041313291
	.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	"219662.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"!!| Error in file reading\000"
	.align	2
.LC2:
	.ascii	"==| Current congestion control algorithm: %s\012\000"
	.align	2
.LC3:
	.ascii	"!!| Error in reading file.\000"
	.align	2
.LC4:
	.ascii	"!!| Error in sending file.\000"
	.global	__aeabi_ul2d
	.global	__aeabi_dmul
	.align	2
.LC5:
	.ascii	"==| %s sending time - %f Seconds\012\000"
	.align	2
.LC6:
	.ascii	"==| Number of iterations in %s algorithm = %d\012\000"
	.align	2
.LC7:
	.ascii	"==| Bytes Sent in %s %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	send_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_file, %function
send_file:
	@ args = 0, pretend = 0, frame = 1472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #1472
	sub	sp, sp, #8
	str	r0, [fp, #-1480]
	str	r1, [fp, #-1484]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #1392
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	ldr	r1, .L14+4
	ldr	r0, [fp, #-1484]
	bl	fopen
	str	r0, [fp, #-1452]
	ldr	r3, [fp, #-1452]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L14+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #1376
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-1484]
	bl	stat
	ldr	r3, [fp, #-1344]
	str	r3, [fp, #-1448]
	ldr	r3, [fp, #-1448]
	add	r2, r3, #1020
	add	r2, r2, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #10
	str	r3, [fp, #-1444]
	ldr	r3, [fp, #-1448]
	rsbs	r2, r3, #0
	lsl	r3, r3, #22
	lsr	r3, r3, #22
	lsl	r2, r2, #22
	lsr	r2, r2, #22
	rsbpl	r3, r2, #0
	str	r3, [fp, #-1440]
	mov	r3, #0
	str	r3, [fp, #-1436]
	mov	r3, #0
	str	r3, [fp, #-1472]
	mov	r3, #0
	str	r3, [fp, #-1468]
	mov	r3, #0
	str	r3, [fp, #-1432]
	mov	r3, #0
	str	r3, [fp, #-1040]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1464]
	mov	r3, #256
	str	r3, [fp, #-1476]
	sub	r2, fp, #1280
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1456
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #13
	mov	r1, #6
	ldr	r0, [fp, #-1480]
	bl	getsockopt
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L14+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1460]
	b	.L3
.L11:
	mov	r3, #0
	str	r3, [fp, #-1456]
	b	.L4
.L7:
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [fp, #-1452]
	mov	r2, #1
	mov	r1, #1024
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-1436]
	ldr	r3, [fp, #-1436]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L14+16
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	mov	r2, #1024
	ldr	r0, [fp, #-1480]
	bl	send
	str	r0, [fp, #-1432]
	ldr	r2, [fp, #-1472]
	ldr	r3, [fp, #-1432]
	add	r3, r2, r3
	str	r3, [fp, #-1472]
	ldr	r3, [fp, #-1432]
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L14+20
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-1464]
	add	r3, r3, #1
	str	r3, [fp, #-1464]
	ldr	r3, [fp, #-1456]
	add	r3, r3, #1
	str	r3, [fp, #-1456]
.L4:
	ldr	r2, [fp, #-1456]
	ldr	r3, [fp, #-1444]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-1440]
	cmp	r3, #0
	ble	.L8
	ldr	r1, [fp, #-1440]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [fp, #-1452]
	mov	r2, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-1436]
	ldr	r3, [fp, #-1436]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L14+16
	bl	perror
	mov	r0, #1
	bl	exit
.L9:
	ldr	r2, [fp, #-1440]
	sub	r1, fp, #1024
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1480]
	bl	send
	str	r0, [fp, #-1432]
	ldr	r2, [fp, #-1472]
	ldr	r3, [fp, #-1432]
	add	r3, r2, r3
	str	r3, [fp, #-1472]
	ldr	r3, [fp, #-1432]
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L14+20
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-1464]
	add	r3, r3, #1
	str	r3, [fp, #-1464]
.L8:
	ldr	r3, [fp, #-1468]
	add	r3, r3, #1
	str	r3, [fp, #-1468]
	ldr	r0, [fp, #-1452]
	bl	rewind
	ldr	r3, [fp, #-1460]
	add	r3, r3, #1
	str	r3, [fp, #-1460]
.L3:
	ldr	r3, [fp, #-1460]
	cmp	r3, #4
	ble	.L11
	sub	r3, fp, #1376
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	ldr	r3, [fp, #-1404]
	ldr	r2, .L14+24
	mul	r2, r3, r2
	ldr	r3, [fp, #-1400]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-1428]
	str	r3, [fp, #-1424]
	ldr	r3, [fp, #-1396]
	ldr	r2, .L14+24
	mul	r2, r3, r2
	ldr	r3, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-1420]
	str	r3, [fp, #-1416]
	ldr	r0, [fp, #-1420]
	ldr	r1, [fp, #-1416]
	ldr	r2, [fp, #-1428]
	ldr	r3, [fp, #-1424]
	subs	r4, r0, r2
	sbc	r5, r1, r3
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ul2d
	ldr	r2, .L14+28
	ldr	r3, .L14+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-1412]
	str	r3, [fp, #-1408]
	sub	r1, fp, #1280
	sub	r1, r1, #12
	sub	r1, r1, #4
	ldr	r2, [fp, #-1412]
	ldr	r3, [fp, #-1408]
	ldr	r0, .L14+36
	bl	printf
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1464]
	mov	r1, r3
	ldr	r0, .L14+40
	bl	printf
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1472]
	mov	r1, r3
	ldr	r0, .L14+44
	bl	printf
	ldr	r0, [fp, #-1452]
	bl	fclose
	ldr	r3, [fp, #-1468]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	1000000000
	.word	-400107883
	.word	1041313291
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	send_file, .-send_file
	.section	.rodata
	.align	2
.LC9:
	.ascii	"127.0.0.1\000"
	.align	2
.LC10:
	.ascii	"input/1mb.txt\000"
	.align	2
.LC11:
	.ascii	"_____________________________Sender (Client)_______"
	.ascii	"______________________\000"
	.align	2
.LC12:
	.ascii	"!!| Error in socket\000"
	.align	2
.LC13:
	.ascii	"==| Server socket created successfully.\000"
	.align	2
.LC14:
	.ascii	"==| Connected to Server.\000"
	.align	2
.LC15:
	.ascii	"==| Sending received file size: %d Bytes\012\000"
	.align	2
.LC16:
	.ascii	"==| File was sent a total of %d times successfully\012"
	.ascii	"\000"
	.align	2
.LC17:
	.ascii	"reno\000"
	.align	2
.LC18:
	.ascii	"!!| Set CC to reno Problem\000"
	.align	2
.LC19:
	.ascii	"==| Congestion Control Algorithm changed to %s, Res"
	.ascii	"ending files\012\000"
	.align	2
.LC20:
	.ascii	"==|__________Total sending process time = %f_______"
	.ascii	"___|\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 = 440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #448
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #396
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	mov	r3, #256
	str	r3, [fp, #-444]
	mov	r3, #0
	str	r3, [fp, #-440]
	ldr	r3, .L23+4
	str	r3, [fp, #-436]
	ldr	r3, .L23+8
	str	r3, [fp, #-432]
	sub	r3, fp, #380
	mov	r1, r3
	ldr	r0, [fp, #-432]
	bl	stat
	ldr	r3, [fp, #-336]
	str	r3, [fp, #-448]
	ldr	r0, .L23+12
	bl	puts
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-428]
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L23+16
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	ldr	r0, .L23+20
	bl	puts
	sub	r3, fp, #12
	sub	r3, r3, #276
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #276
	ldr	r2, .L23+24
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, [fp, #-436]
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-284]
	sub	r3, fp, #288
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-428]
	bl	connect
	str	r0, [fp, #-424]
	ldr	r3, [fp, #-424]
	cmn	r3, #1
	bne	.L18
	ldr	r0, .L23+16
	bl	perror
	mov	r0, #1
	bl	exit
.L18:
	ldr	r0, .L23+28
	bl	puts
	ldr	r3, [fp, #-448]
	mov	r1, r3
	ldr	r0, .L23+32
	bl	printf
	sub	r1, fp, #448
	mov	r3, #0
	mov	r2, #4
	ldr	r0, [fp, #-428]
	bl	send
	ldr	r1, [fp, #-432]
	ldr	r0, [fp, #-428]
	bl	send_file
	mov	r2, r0
	ldr	r3, [fp, #-440]
	add	r3, r3, r2
	str	r3, [fp, #-440]
	ldr	r1, [fp, #-440]
	ldr	r0, .L23+36
	bl	printf
	sub	r3, fp, #272
	ldr	r2, .L23+40
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	sub	r3, fp, #272
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-444]
	sub	r2, fp, #272
	ldr	r3, [fp, #-444]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #13
	mov	r1, #6
	ldr	r0, [fp, #-428]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L23+44
	bl	perror
	mvn	r3, #0
	b	.L21
.L19:
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L23+48
	bl	printf
	ldr	r1, [fp, #-432]
	ldr	r0, [fp, #-428]
	bl	send_file
	mov	r2, r0
	ldr	r3, [fp, #-440]
	add	r3, r3, r2
	str	r3, [fp, #-440]
	ldr	r1, [fp, #-440]
	ldr	r0, .L23+36
	bl	printf
	ldr	r0, [fp, #-428]
	bl	close
	sub	r3, fp, #388
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	ldr	r3, [fp, #-396]
	ldr	r2, .L23+52
	mul	r2, r3, r2
	ldr	r3, [fp, #-392]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-420]
	str	r3, [fp, #-416]
	ldr	r3, [fp, #-388]
	ldr	r2, .L23+52
	mul	r2, r3, r2
	ldr	r3, [fp, #-384]
	add	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-412]
	str	r3, [fp, #-408]
	sub	r1, fp, #412
	ldmia	r1, {r0-r1}
	sub	r3, fp, #420
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ul2d
	ldr	r2, .L23+56
	ldr	r3, .L23+60
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-404]
	str	r3, [fp, #-400]
	sub	r3, fp, #404
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+64
	bl	printf
	mov	r3, #0
.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, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC21
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	9010
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	1000000000
	.word	-400107883
	.word	1041313291
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
