	.file	"848845.c"
	.intel_syntax noprefix
	.text
	.globl	findSlopeAndIntercept
	.type	findSlopeAndIntercept, @function
findSlopeAndIntercept:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	DWORD PTR -12[rbp], xmm2
	movss	DWORD PTR -16[rbp], xmm3
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	movss	xmm0, DWORD PTR -16[rbp]
	subss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR -12[rbp]
	subss	xmm1, DWORD PTR -4[rbp]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR [rax]
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR -8[rbp]
	subss	xmm0, xmm1
	mov	rax, QWORD PTR -32[rbp]
	movss	DWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	findSlopeAndIntercept, .-findSlopeAndIntercept
	.globl	findSumOfDistanceOfPointsFromLine
	.type	findSumOfDistanceOfPointsFromLine, @function
findSumOfDistanceOfPointsFromLine:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	movss	DWORD PTR -56[rbp], xmm0
	movss	DWORD PTR -60[rbp], xmm1
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -60[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	je	.L4
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	je	.L4
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movaps	xmm1, xmm0
	mulss	xmm1, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	addss	xmm0, DWORD PTR -4[rbp]
	movss	xmm1, DWORD PTR .LC3[rip]
	andps	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -72[rbp], xmm2
	movss	xmm0, DWORD PTR -12[rbp]
	mulss	xmm0, xmm0
	movaps	xmm1, xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, xmm0
	addss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR -72[rbp]
	divsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -20[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
.L4:
	add	DWORD PTR -16[rbp], 1
.L3:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L5
	movss	xmm0, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	findSumOfDistanceOfPointsFromLine, .-findSumOfDistanceOfPointsFromLine
	.globl	findSAR
	.type	findSAR, @function
findSAR:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC4[rip]
	movss	DWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -28[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L8
.L13:
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	pxor	xmm4, xmm4
	cvtsi2ss	xmm4, eax
	movd	eax, xmm4
	lea	rcx, -28[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rdx
	movaps	xmm3, xmm2
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	findSlopeAndIntercept
	movss	xmm0, DWORD PTR -28[rbp]
	mov	edi, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, edi
	mov	rdi, rax
	call	findSumOfDistanceOfPointsFromLine
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L10
	movss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -64[rbp]
	movss	DWORD PTR [rax], xmm0
.L10:
	add	DWORD PTR -16[rbp], 1
.L9:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L12
	add	DWORD PTR -20[rbp], 1
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L13
	movss	xmm0, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	findSAR, .-findSAR
	.section	.rodata
.LC5:
	.string	","
.LC6:
	.string	",\n"
	.text
	.globl	getfield
	.type	getfield, @function
getfield:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L18
.L22:
	sub	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L20
.L19:
	lea	rsi, .LC6[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
.L18:
	cmp	QWORD PTR -8[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L22
.L21:
	mov	eax, 0
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getfield, .-getfield
	.section	.rodata
.LC7:
	.string	"r"
	.align 8
.LC8:
	.string	"Internal Error: Memory allocation failed while reading input.\n"
	.text
	.globl	getValuesFromCSVFile
	.type	getValuesFromCSVFile, @function
getValuesFromCSVFile:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1088
	mov	QWORD PTR -1080[rbp], rdi
	mov	QWORD PTR -1088[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1088[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	mov	DWORD PTR -1072[rbp], 0
	mov	DWORD PTR -1068[rbp], 1024
	mov	eax, DWORD PTR -1068[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	DWORD PTR -1072[rbp], 0
	jne	.L26
	add	DWORD PTR -1072[rbp], 1
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -1048[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	getfield
	mov	rdi, rax
	call	atof@PLT
	mov	eax, DWORD PTR -1072[rbp]
	cdqe
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -1064[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -1072[rbp], 1
	mov	eax, DWORD PTR -1072[rbp]
	cmp	eax, DWORD PTR -1068[rbp]
	jl	.L27
	add	DWORD PTR -1068[rbp], 1024
	mov	eax, DWORD PTR -1068[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	free@PLT
.L25:
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L28
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1080[rbp]
	mov	edx, DWORD PTR -1072[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -1064[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getValuesFromCSVFile, .-getValuesFromCSVFile
	.section	.rodata
	.align 8
.LC9:
	.string	"-----------------------------------------"
	.align 8
.LC10:
	.string	"Calculated Values for %d data points\n"
.LC11:
	.string	"SAR: %f\n"
.LC12:
	.string	"Slope: %f\n"
.LC13:
	.string	"Intercept: %f\n"
.LC14:
	.string	"-----------------------------"
.LC15:
	.string	"Number of threads used: %d.\n"
.LC16:
	.string	"Time elpased: %.2f sec.\n"
	.align 8
.LC17:
	.string	"------------------------------------------------------------------------------------------------------------\n"
	.text
	.globl	printValues
	.type	printValues, @function
printValues:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	movss	DWORD PTR -4[rbp], xmm0
	movss	DWORD PTR -8[rbp], xmm1
	movss	DWORD PTR -12[rbp], xmm2
	mov	DWORD PTR -16[rbp], edi
	mov	DWORD PTR -20[rbp], esi
	movss	DWORD PTR -24[rbp], xmm3
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -4[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -8[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -12[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, DWORD PTR -24[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printValues, .-printValues
	.section	.rodata
	.align 8
.LC19:
	.string	"Hello, we will be calculating SAR value, slope and intercept for the best fit line in the given data.\n"
.LC20:
	.string	"sample_data.csv"
.LC21:
	.string	"Reading values from: %s.\n"
	.align 8
.LC22:
	.string	"Successfully retrieved values form the file."
	.align 8
.LC23:
	.string	"Starting to calculate values from the data retrieved, please be patient as this could take time.\n"
.LC25:
	.string	"stremflow_time_series.csv"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	mov	DWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	call	clock@PLT
	mov	QWORD PTR -32[rbp], rax
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rsi, .LC20[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	getValuesFromCSVFile
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 6
	mov	rdi, rax
	call	findSAR
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	add	DWORD PTR -48[rbp], 1
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movaps	xmm3, xmm2
	mov	esi, 6
	mov	edi, edx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	printValues
	mov	DWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	findSAR
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	add	DWORD PTR -48[rbp], 1
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movaps	xmm3, xmm2
	mov	esi, 10
	mov	edi, edx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	printValues
	mov	DWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 14
	mov	rdi, rax
	call	findSAR
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	add	DWORD PTR -48[rbp], 1
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movaps	xmm3, xmm2
	mov	esi, 14
	mov	edi, edx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	printValues
	mov	DWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 18
	mov	rdi, rax
	call	findSAR
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	add	DWORD PTR -48[rbp], 1
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, QWORD PTR -40[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movaps	xmm3, xmm2
	mov	esi, 18
	mov	edi, edx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	printValues
	mov	DWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -16[rbp], 0
	lea	rsi, .LC25[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	getValuesFromCSVFile
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	esi, DWORD PTR -64[rbp]
	lea	rcx, -56[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	findSAR
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	add	DWORD PTR -48[rbp], 1
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -32[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -60[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movaps	xmm3, xmm2
	mov	esi, ecx
	mov	edi, edx
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	printValues
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC2:
	.long	1065353216
	.align 16
.LC3:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 4
.LC4:
	.long	2139095039
	.align 8
.LC24:
	.long	0
	.long	1093567616
	.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	"848845.c"
	.text
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.align	2
	.global	findSlopeAndIntercept
	.syntax unified
	.arm
	.fpu softvfp
	.type	findSlopeAndIntercept, %function
findSlopeAndIntercept:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]	@ float
	str	r1, [fp, #-20]	@ float
	str	r2, [fp, #-24]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #4]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r2, [r3]	@ float
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	findSlopeAndIntercept, .-findSlopeAndIntercept
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
	.global	findSumOfDistanceOfPointsFromLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	findSumOfDistanceOfPointsFromLine, %function
findSumOfDistanceOfPointsFromLine:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #4]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-32]	@ float
	mov	r3, #1065353216
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #8]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L5:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	beq	.L4
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	beq	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	bic	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r6, r3
	ldr	r1, [fp, #-28]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
.L4:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	findSumOfDistanceOfPointsFromLine, .-findSumOfDistanceOfPointsFromLine
	.global	__aeabi_fcmplt
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findSAR
	.syntax unified
	.arm
	.fpu softvfp
	.type	findSAR, %function
findSAR:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L17+4
	str	r3, [fp, #-32]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]	@ float
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L8
.L13:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L9
.L12:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r4, [r3]	@ float
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r1, r0
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]	@ float
	sub	r3, fp, #36
	str	r3, [sp, #4]
	sub	r3, fp, #40
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	mov	r1, r4
	mov	r0, r5
	bl	findSlopeAndIntercept
	ldr	r3, [fp, #-40]	@ float
	ldr	r2, [fp, #-36]	@ float
	str	r2, [sp, #4]	@ float
	str	r3, [sp]	@ float
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	findSumOfDistanceOfPointsFromLine
	str	r0, [fp, #-20]	@ float
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-20]	@ float
	str	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-40]	@ float
	ldr	r3, [fp, #-56]
	str	r2, [r3]	@ float
	ldr	r2, [fp, #-36]	@ float
	ldr	r3, [fp, #-60]
	str	r2, [r3]	@ float
.L10:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L9:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L8:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	2139095039
	.size	findSAR, .-findSAR
	.section	.rodata
	.align	2
.LC1:
	.ascii	",\000"
	.align	2
.LC2:
	.ascii	",\012\000"
	.text
	.align	2
	.global	getfield
	.syntax unified
	.arm
	.fpu softvfp
	.type	getfield, %function
getfield:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, .L25
	ldr	r0, [fp, #-16]
	bl	strtok
	str	r0, [fp, #-8]
	b	.L20
.L24:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-8]
	b	.L22
.L21:
	ldr	r1, .L25+4
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L24
.L23:
	mov	r3, #0
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC2
	.size	getfield, .-getfield
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"Internal Error: Memory allocation failed while read"
	.ascii	"ing input.\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getValuesFromCSVFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	getValuesFromCSVFile, %function
getValuesFromCSVFile:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1056
	sub	sp, sp, #4
	str	r0, [fp, #-1064]
	str	r1, [fp, #-1068]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L35+4
	ldr	r0, [fp, #-1068]
	bl	fopen
	str	r0, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1060]
	mov	r3, #1024
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L35+8
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L35+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L32:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-1044]
	ldr	r3, [fp, #-1060]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
	b	.L29
.L30:
	mov	r1, #2
	ldr	r0, [fp, #-1044]
	bl	getfield
	mov	r3, r0
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-1060]
	sub	r1, r1, #-1073741823
	lsl	r1, r1, #2
	ldr	r0, [fp, #-1052]
	add	r4, r0, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
	ldr	r2, [fp, #-1060]
	ldr	r3, [fp, #-1056]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1024
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-1052]
	bl	realloc
	str	r0, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L35+8
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L35+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L31:
	ldr	r0, [fp, #-1044]
	bl	free
.L29:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-1048]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-1048]
	bl	fclose
	ldr	r3, [fp, #-1064]
	ldr	r2, [fp, #-1060]
	str	r2, [r3]
	ldr	r3, [fp, #-1052]
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC5
	.word	.LC3
	.word	stderr
	.word	.LC4
	.size	getValuesFromCSVFile, .-getValuesFromCSVFile
	.section	.rodata
	.align	2
.LC6:
	.ascii	"-----------------------------------------\000"
	.align	2
.LC7:
	.ascii	"Calculated Values for %d data points\012\000"
	.align	2
.LC8:
	.ascii	"SAR: %f\012\000"
	.align	2
.LC9:
	.ascii	"Slope: %f\012\000"
	.align	2
.LC10:
	.ascii	"Intercept: %f\012\000"
	.align	2
.LC11:
	.ascii	"-----------------------------\000"
	.align	2
.LC12:
	.ascii	"Number of threads used: %d.\012\000"
	.align	2
.LC13:
	.ascii	"Time elpased: %.2f sec.\012\000"
	.align	2
.LC14:
	.ascii	"---------------------------------------------------"
	.ascii	"---------------------------------------------------"
	.ascii	"------\012\000"
	.text
	.align	2
	.global	printValues
	.syntax unified
	.arm
	.fpu softvfp
	.type	printValues, %function
printValues:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]	@ float
	str	r1, [fp, #-12]	@ float
	str	r2, [fp, #-16]	@ float
	str	r3, [fp, #-20]
	ldr	r0, .L38
	bl	puts
	ldr	r1, [fp, #4]
	ldr	r0, .L38+4
	bl	printf
	ldr	r0, .L38
	bl	puts
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+8
	bl	printf
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+12
	bl	printf
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+16
	bl	printf
	ldr	r0, .L38+20
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-20]
	ldr	r0, .L38+24
	bl	printf
	ldr	r0, [fp, #8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+28
	bl	printf
	ldr	r0, .L38+32
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	printValues, .-printValues
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Hello, we will be calculating SAR value, slope and "
	.ascii	"intercept for the best fit line in the given data.\012"
	.ascii	"\000"
	.align	2
.LC16:
	.ascii	"sample_data.csv\000"
	.align	2
.LC17:
	.ascii	"Reading values from: %s.\012\000"
	.align	2
.LC18:
	.ascii	"Successfully retrieved values form the file.\000"
	.align	2
.LC19:
	.ascii	"Starting to calculate values from the data retrieve"
	.ascii	"d, please be patient as this could take time.\012\000"
	.global	__aeabi_i2d
	.align	2
.LC20:
	.ascii	"stremflow_time_series.csv\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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]	@ float
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	bl	clock
	str	r0, [fp, #-52]
	ldr	r0, .L43+4
	bl	puts
	ldr	r1, .L43+8
	ldr	r0, .L43+12
	bl	printf
	sub	r3, fp, #72
	ldr	r1, .L43+8
	mov	r0, r3
	bl	getValuesFromCSVFile
	str	r0, [fp, #-48]
	ldr	r0, .L43+16
	bl	puts
	ldr	r0, .L43+20
	bl	puts
	sub	r3, fp, #64
	sub	r2, fp, #68
	mov	r1, #6
	ldr	r0, [fp, #-48]
	bl	findSAR
	str	r0, [fp, #-60]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	bl	clock
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L43+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-68]	@ float
	ldr	r5, [fp, #-64]	@ float
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [sp, #4]	@ float
	mov	r3, #6
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [fp, #-60]	@ float
	bl	printValues
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r0, .L43+20
	bl	puts
	sub	r3, fp, #64
	sub	r2, fp, #68
	mov	r1, #10
	ldr	r0, [fp, #-48]
	bl	findSAR
	str	r0, [fp, #-60]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	bl	clock
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L43+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-68]	@ float
	ldr	r5, [fp, #-64]	@ float
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [sp, #4]	@ float
	mov	r3, #10
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [fp, #-60]	@ float
	bl	printValues
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r0, .L43+20
	bl	puts
	sub	r3, fp, #64
	sub	r2, fp, #68
	mov	r1, #14
	ldr	r0, [fp, #-48]
	bl	findSAR
	str	r0, [fp, #-60]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	bl	clock
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L43+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-68]	@ float
	ldr	r5, [fp, #-64]	@ float
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [sp, #4]	@ float
	mov	r3, #14
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [fp, #-60]	@ float
	bl	printValues
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r0, .L43+20
	bl	puts
	sub	r3, fp, #64
	sub	r2, fp, #68
	mov	r1, #18
	ldr	r0, [fp, #-48]
	bl	findSAR
	str	r0, [fp, #-60]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	bl	clock
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L43+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-68]	@ float
	ldr	r5, [fp, #-64]	@ float
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [sp, #4]	@ float
	mov	r3, #18
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [fp, #-60]	@ float
	bl	printValues
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r1, .L43+28
	ldr	r0, .L43+12
	bl	printf
	sub	r3, fp, #72
	ldr	r1, .L43+28
	mov	r0, r3
	bl	getValuesFromCSVFile
	str	r0, [fp, #-48]
	ldr	r0, .L43+16
	bl	puts
	ldr	r0, .L43+20
	bl	puts
	bl	omp_get_thread_num
	str	r0, [fp, #-40]
	ldr	r1, [fp, #-72]
	sub	r3, fp, #64
	sub	r2, fp, #68
	ldr	r0, [fp, #-48]
	bl	findSAR
	str	r0, [fp, #-60]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	bl	clock
	str	r0, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L43+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r5, [fp, #-68]	@ float
	ldr	r6, [fp, #-64]	@ float
	ldr	r4, [fp, #-72]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [sp, #4]	@ float
	str	r4, [sp]
	ldr	r3, [fp, #-56]
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [fp, #-60]	@ float
	bl	printValues
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC21
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	1093567616
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
