	.file	"798816.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Pleas specify file name [test_matrix.csv]: "
.LC1:
	.string	"\n"
.LC2:
	.string	"r"
.LC3:
	.string	"%s"
	.align 8
.LC4:
	.string	"File could not be opened. Retry input or exit by typing 'e'"
	.text
	.globl	csv_reader
	.type	csv_reader, @function
csv_reader:
.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, 688
	mov	QWORD PTR -680[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	lea	rdx, -496[rbp]
	mov	eax, 0
	mov	ecx, 60
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -664[rbp], 0
.L8:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -640[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -640[rbp]
	cmp	al, 10
	jne	.L2
	lea	rax, -640[rbp]
	movabs	rsi, 8386104237883614580
	movabs	rdi, 33340917070457202
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	jmp	.L3
.L2:
	movzx	eax, BYTE PTR -640[rbp]
	cmp	al, 101
	jne	.L3
	mov	eax, -1
	jmp	.L1
.L3:
	lea	rax, -640[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strtok@PLT
	lea	rax, -640[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -648[rbp], rax
	cmp	QWORD PTR -648[rbp], 0
	jne	.L18
	lea	rax, -640[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L8
.L18:
	nop
	jmp	.L9
.L15:
	lea	rax, -512[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -652[rbp], eax
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	WORD PTR -528[rbp], 0
	mov	DWORD PTR -660[rbp], 0
	mov	DWORD PTR -656[rbp], 0
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	movzx	eax, BYTE PTR -512[rbp+rax]
	cmp	al, 44
	je	.L11
	mov	eax, DWORD PTR -652[rbp]
	sub	eax, 1
	cmp	DWORD PTR -656[rbp], eax
	je	.L11
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	movzx	edx, BYTE PTR -512[rbp+rax]
	mov	eax, DWORD PTR -660[rbp]
	cdqe
	mov	BYTE PTR -576[rbp+rax], dl
	add	DWORD PTR -660[rbp], 1
.L11:
	mov	eax, DWORD PTR -652[rbp]
	sub	eax, 1
	cmp	DWORD PTR -656[rbp], eax
	jne	.L12
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	movzx	edx, BYTE PTR -512[rbp+rax]
	mov	eax, DWORD PTR -660[rbp]
	cdqe
	mov	BYTE PTR -576[rbp+rax], dl
	lea	rax, -576[rbp]
	mov	rdi, rax
	call	atof@PLT
	mov	eax, DWORD PTR -664[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -680[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	lea	rax, -576[rbp]
	mov	edx, 50
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -660[rbp], 0
	add	DWORD PTR -664[rbp], 1
.L12:
	mov	eax, DWORD PTR -656[rbp]
	cdqe
	movzx	eax, BYTE PTR -512[rbp+rax]
	cmp	al, 44
	jne	.L13
	lea	rax, -576[rbp]
	mov	rdi, rax
	call	atof@PLT
	mov	eax, DWORD PTR -664[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -680[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	lea	rax, -576[rbp]
	mov	edx, 50
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -660[rbp], 0
	add	DWORD PTR -664[rbp], 1
.L13:
	add	DWORD PTR -656[rbp], 1
.L10:
	mov	eax, DWORD PTR -656[rbp]
	cmp	eax, DWORD PTR -652[rbp]
	jl	.L14
.L9:
	mov	rdx, QWORD PTR -648[rbp]
	lea	rax, -512[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L15
.L1:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	csv_reader, .-csv_reader
	.section	.rodata
.LC5:
	.string	"Error on matrix dimension"
	.text
	.globl	matrix_multiplication
	.type	matrix_multiplication, @function
matrix_multiplication:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -48[rbp], r8d
	mov	DWORD PTR -52[rbp], r9d
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	je	.L20
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L28
.L20:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L22
.L27:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR 16[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR 16[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR 16[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, DWORD PTR 16[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	addss	xmm0, xmm1
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L25
	add	DWORD PTR -8[rbp], 1
.L23:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jl	.L26
	add	DWORD PTR -12[rbp], 1
.L22:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L27
.L28:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	matrix_multiplication, .-matrix_multiplication
	.section	.rodata
	.align 8
.LC7:
	.string	"Please select Adjacency matrix input method (1 for csv file input, 2 for manual input)[1]: "
.LC8:
	.string	"Program exit on user command."
.LC9:
	.string	"Exit on lack of memory"
	.align 8
.LC10:
	.string	"Please input Adjacency matrix:"
.LC11:
	.string	"%f %f %f %f %f %f %f %f %f %f"
	.align 8
.LC12:
	.string	"Please input starting point and steps:"
.LC13:
	.string	"%d %d"
.LC15:
	.string	"The next input vector is:"
.LC16:
	.string	"%f "
.LC17:
	.string	"The result vector is:"
	.align 8
.LC18:
	.string	"Input 'e' to exit and others to re-run:"
.LC19:
	.string	" %c"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 744
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -765[rbp], 0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -64[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -64[rbp]
	cmp	al, 10
	je	.L30
	movzx	eax, BYTE PTR -64[rbp]
	cmp	al, 49
	jne	.L31
.L30:
	lea	rax, -640[rbp]
	mov	rdi, rax
	call	csv_reader
	mov	DWORD PTR -740[rbp], eax
	cmp	DWORD PTR -740[rbp], -1
	jne	.L32
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L32:
	cmp	DWORD PTR -740[rbp], -2
	jne	.L47
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -2
	call	exit@PLT
.L31:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -756[rbp], 0
	jmp	.L35
.L36:
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 36
	lea	r11, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 32
	lea	r10, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 28
	lea	r9, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 24
	lea	r8, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 20
	lea	rdi, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 16
	lea	r12, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 12
	lea	rbx, [rcx+rax]
	lea	rcx, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 8
	add	rcx, rax
	lea	rsi, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, 4
	lea	rdx, [rsi+rax]
	lea	r13, -640[rbp]
	mov	eax, DWORD PTR -756[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 4
	add	rax, r13
	sub	rsp, 8
	push	r11
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9, r12
	mov	r8, rbx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 48
	add	DWORD PTR -756[rbp], 1
.L35:
	cmp	DWORD PTR -756[rbp], 9
	jle	.L36
	jmp	.L37
.L47:
	nop
	jmp	.L37
.L44:
	mov	QWORD PTR -736[rbp], 0
	mov	QWORD PTR -728[rbp], 0
	mov	QWORD PTR -720[rbp], 0
	mov	QWORD PTR -712[rbp], 0
	mov	QWORD PTR -704[rbp], 0
	mov	QWORD PTR -696[rbp], 0
	mov	QWORD PTR -688[rbp], 0
	mov	QWORD PTR -680[rbp], 0
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	QWORD PTR -656[rbp], 0
	mov	QWORD PTR -648[rbp], 0
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdx, -760[rbp]
	lea	rax, -764[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -764[rbp]
	cdqe
	movss	xmm0, DWORD PTR .LC14[rip]
	movss	DWORD PTR -736[rbp+rax*4], xmm0
	mov	DWORD PTR -752[rbp], 0
	jmp	.L38
.L41:
	lea	rdx, -688[rbp]
	lea	rsi, -640[rbp]
	lea	rax, -736[rbp]
	sub	rsp, 8
	push	12
	mov	r9d, 12
	mov	r8d, 12
	mov	ecx, 1
	mov	rdi, rax
	call	matrix_multiplication
	add	rsp, 16
	lea	rcx, -688[rbp]
	lea	rax, -736[rbp]
	mov	edx, 48
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	DWORD PTR -748[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -748[rbp]
	cdqe
	movss	xmm0, DWORD PTR -736[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -748[rbp], 1
.L39:
	cmp	DWORD PTR -748[rbp], 11
	jle	.L40
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -752[rbp], 1
.L38:
	mov	eax, DWORD PTR -760[rbp]
	cmp	DWORD PTR -752[rbp], eax
	jl	.L41
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	DWORD PTR -744[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -744[rbp]
	cdqe
	movss	xmm0, DWORD PTR -688[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -744[rbp], 1
.L42:
	cmp	DWORD PTR -744[rbp], 11
	jle	.L43
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rax, -765[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L37:
	movzx	eax, BYTE PTR -765[rbp]
	cmp	al, 101
	jne	.L44
	mov	eax, 0
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC14:
	.long	1065353216
	.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	"798816.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Pleas specify file name [test_matrix.csv]: \000"
	.align	2
.LC1:
	.ascii	"test_matrix.csv\000"
	.align	2
.LC2:
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.ascii	"File could not be opened. Retry input or exit by ty"
	.ascii	"ping 'e'\000"
	.global	__aeabi_d2f
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	csv_reader
	.syntax unified
	.arm
	.fpu softvfp
	.type	csv_reader, %function
csv_reader:
	@ args = 0, pretend = 0, frame = 640
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #644
	str	r0, [fp, #-648]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-516]
	sub	r3, fp, #512
	mov	r2, #496
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-640]
.L8:
	ldr	r0, .L19+4
	bl	puts
	ldr	r3, .L19+8
	ldr	r2, [r3]
	sub	r3, fp, #620
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	ldrb	r3, [fp, #-620]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L2
	sub	r3, fp, #620
	ldr	r2, .L19+12
	mov	ip, r3
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L3
.L2:
	ldrb	r3, [fp, #-620]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L3
	mvn	r3, #0
	b	.L1
.L3:
	sub	r3, fp, #620
	ldr	r1, .L19+16
	mov	r0, r3
	bl	strtok
	sub	r3, fp, #620
	ldr	r1, .L19+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-628]
	ldr	r3, [fp, #-628]
	cmp	r3, #0
	bne	.L18
	sub	r3, fp, #620
	mov	r1, r3
	ldr	r0, .L19+24
	bl	printf
	ldr	r0, .L19+28
	bl	puts
	b	.L8
.L18:
	nop
	b	.L9
.L15:
	sub	r3, fp, #516
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-624]
	mov	r3, #0
	str	r3, [fp, #-568]
	sub	r3, fp, #564
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-636]
	mov	r3, #0
	str	r3, [fp, #-632]
	b	.L10
.L14:
	sub	r2, fp, #516
	ldr	r3, [fp, #-632]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L11
	ldr	r3, [fp, #-624]
	sub	r3, r3, #1
	ldr	r2, [fp, #-632]
	cmp	r2, r3
	beq	.L11
	sub	r2, fp, #516
	ldr	r3, [fp, #-632]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #568
	ldr	r3, [fp, #-636]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-636]
	add	r3, r3, #1
	str	r3, [fp, #-636]
.L11:
	ldr	r3, [fp, #-624]
	sub	r3, r3, #1
	ldr	r2, [fp, #-632]
	cmp	r2, r3
	bne	.L12
	sub	r2, fp, #516
	ldr	r3, [fp, #-632]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #568
	ldr	r3, [fp, #-636]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	sub	r3, fp, #568
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-640]
	lsl	r1, r1, #2
	ldr	r0, [fp, #-648]
	add	r4, r0, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	sub	r3, fp, #568
	mov	r2, #50
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-636]
	ldr	r3, [fp, #-640]
	add	r3, r3, #1
	str	r3, [fp, #-640]
.L12:
	sub	r2, fp, #516
	ldr	r3, [fp, #-632]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L13
	sub	r3, fp, #568
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-640]
	lsl	r1, r1, #2
	ldr	r0, [fp, #-648]
	add	r4, r0, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	sub	r3, fp, #568
	mov	r2, #50
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-636]
	ldr	r3, [fp, #-640]
	add	r3, r3, #1
	str	r3, [fp, #-640]
.L13:
	ldr	r3, [fp, #-632]
	add	r3, r3, #1
	str	r3, [fp, #-632]
.L10:
	ldr	r2, [fp, #-632]
	ldr	r3, [fp, #-624]
	cmp	r2, r3
	blt	.L14
.L9:
	sub	r3, fp, #516
	ldr	r2, [fp, #-628]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
.L1:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC6
	.word	.LC0
	.word	stdin
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	csv_reader, .-csv_reader
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Error on matrix dimension\000"
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.text
	.align	2
	.global	matrix_multiplication
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrix_multiplication, %function
matrix_multiplication:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	beq	.L22
	ldr	r0, .L31
	bl	puts
	b	.L30
.L22:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L24
.L29:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L25
.L28:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L26
.L27:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r5, [r3]	@ float
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r4, r2, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L25:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L24:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L29
.L30:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC7
	.size	matrix_multiplication, .-matrix_multiplication
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Please select Adjacency matrix input method (1 for "
	.ascii	"csv file input, 2 for manual input)[1]: \000"
	.align	2
.LC9:
	.ascii	"Program exit on user command.\000"
	.align	2
.LC10:
	.ascii	"Exit on lack of memory\000"
	.align	2
.LC11:
	.ascii	"Please input Adjacency matrix:\000"
	.align	2
.LC12:
	.ascii	"%f %f %f %f %f %f %f %f %f %f\000"
	.align	2
.LC13:
	.ascii	"Please input starting point and steps:\000"
	.align	2
.LC14:
	.ascii	"%d %d\000"
	.align	2
.LC15:
	.ascii	"The next input vector is:\000"
	.global	__aeabi_f2d
	.align	2
.LC16:
	.ascii	"%f \000"
	.align	2
.LC17:
	.ascii	"The result vector is:\000"
	.align	2
.LC18:
	.ascii	"Input 'e' to exit and others to re-run:\000"
	.align	2
.LC19:
	.ascii	" %c\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 728
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #760
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-753]
	ldr	r0, .L52+4
	bl	puts
	ldr	r3, .L52+8
	ldr	r2, [r3]
	sub	r3, fp, #52
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L34
	ldrb	r3, [fp, #-52]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L35
.L34:
	sub	r3, fp, #628
	mov	r0, r3
	bl	csv_reader
	str	r0, [fp, #-728]
	ldr	r3, [fp, #-728]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L52+12
	bl	printf
	mvn	r0, #0
	bl	exit
.L36:
	ldr	r3, [fp, #-728]
	cmn	r3, #2
	bne	.L51
	ldr	r0, .L52+16
	bl	printf
	mvn	r0, #1
	bl	exit
.L35:
	ldr	r0, .L52+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-744]
	b	.L39
.L40:
	sub	r1, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r7, r1, r3
	sub	r1, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #4
	add	r8, r1, r3
	sub	r1, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #8
	add	r9, r1, r3
	sub	r1, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #12
	add	r1, r1, r3
	sub	r0, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #16
	add	r0, r0, r3
	sub	ip, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #20
	add	ip, ip, r3
	sub	lr, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #24
	add	lr, lr, r3
	sub	r4, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #28
	add	r4, r4, r3
	sub	r5, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #32
	add	r5, r5, r3
	sub	r6, fp, #628
	ldr	r2, [fp, #-744]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #36
	add	r3, r6, r3
	str	r3, [sp, #24]
	str	r5, [sp, #20]
	str	r4, [sp, #16]
	str	lr, [sp, #12]
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, r9
	mov	r2, r8
	mov	r1, r7
	ldr	r0, .L52+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-744]
	add	r3, r3, #1
	str	r3, [fp, #-744]
.L39:
	ldr	r3, [fp, #-744]
	cmp	r3, #9
	ble	.L40
	b	.L41
.L51:
	nop
	b	.L41
.L48:
	sub	r3, fp, #724
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #676
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L52+28
	bl	puts
	sub	r2, fp, #748
	sub	r3, fp, #752
	mov	r1, r3
	ldr	r0, .L52+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-752]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	mov	r2, #1065353216
	str	r2, [r3, #-696]	@ float
	mov	r3, #0
	str	r3, [fp, #-740]
	b	.L42
.L45:
	sub	r2, fp, #676
	sub	r1, fp, #628
	sub	r0, fp, #724
	mov	r3, #12
	str	r3, [sp, #8]
	mov	r3, #12
	str	r3, [sp, #4]
	mov	r3, #12
	str	r3, [sp]
	mov	r3, #1
	bl	matrix_multiplication
	sub	r1, fp, #676
	sub	r3, fp, #724
	mov	r2, #48
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L52+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-736]
	b	.L43
.L44:
	ldr	r3, [fp, #-736]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-696]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L52+40
	bl	printf
	ldr	r3, [fp, #-736]
	add	r3, r3, #1
	str	r3, [fp, #-736]
.L43:
	ldr	r3, [fp, #-736]
	cmp	r3, #11
	ble	.L44
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-740]
	add	r3, r3, #1
	str	r3, [fp, #-740]
.L42:
	ldr	r3, [fp, #-748]
	ldr	r2, [fp, #-740]
	cmp	r2, r3
	blt	.L45
	ldr	r0, .L52+44
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-732]
	b	.L46
.L47:
	ldr	r3, [fp, #-732]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-648]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L52+40
	bl	printf
	ldr	r3, [fp, #-732]
	add	r3, r3, #1
	str	r3, [fp, #-732]
.L46:
	ldr	r3, [fp, #-732]
	cmp	r3, #11
	ble	.L47
	mov	r0, #10
	bl	putchar
	ldr	r0, .L52+48
	bl	puts
	sub	r3, fp, #752
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L52+52
	bl	__isoc99_scanf
.L41:
	ldrb	r3, [fp, #-753]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L48
	mov	r3, #0
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC20
	.word	.LC8
	.word	stdin
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
