	.file	"90767.c"
	.intel_syntax noprefix
	.text
	.globl	mm_alloc
	.type	mm_alloc, @function
mm_alloc:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mm_alloc, .-mm_alloc
	.globl	mm_free
	.type	mm_free, @function
mm_free:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L7
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mm_free, .-mm_free
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"%i"
.LC2:
	.string	"%lf"
	.text
	.globl	mm_read
	.type	mm_read, @function
mm_read:
.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, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -264[rbp], 0
	mov	DWORD PTR -260[rbp], 0
	mov	WORD PTR -227[rbp], 29477
	mov	BYTE PTR -225[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	rdx, QWORD PTR -280[rbp]
	lea	rcx, -227[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -240[rbp], rax
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	fgets@PLT
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -224[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	mm_alloc
	mov	QWORD PTR -248[rbp], rax
	jmp	.L9
.L12:
	lea	rdx, -256[rbp]
	lea	rax, -224[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -256[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -260[rbp], 1
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -260[rbp], eax
	jne	.L10
	mov	DWORD PTR -260[rbp], 0
	add	DWORD PTR -264[rbp], 1
.L10:
	mov	rax, QWORD PTR -288[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -264[rbp], eax
	je	.L15
.L9:
	mov	rdx, QWORD PTR -240[rbp]
	lea	rax, -224[rbp]
	mov	esi, 40
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L12
	jmp	.L11
.L15:
	nop
.L11:
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mm_read, .-mm_read
	.section	.rodata
.LC3:
	.string	"w"
.LC4:
	.string	"test_matrix.dat"
.LC5:
	.string	"Output of Result Matrix\n"
	.align 8
.LC6:
	.string	"/********** Start of 2D Matrix *********\n"
.LC7:
	.string	"%f\t\t"
.LC8:
	.string	"  \n"
	.align 8
.LC9:
	.string	"********** End of matrix ***********\n"
	.text
	.globl	mm_print
	.type	mm_print, @function
mm_print:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC3[rip]
	lea	rdi, .LC4[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	DWORD PTR -16[rbp], 0
	jmp	.L17
.L20:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L18:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	add	DWORD PTR -16[rbp], 1
.L17:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mm_print, .-mm_print
	.globl	mm_swap
	.type	mm_swap, @function
mm_swap:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	mm_alloc
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L22
.L27:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 2
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L23:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L24
	mov	DWORD PTR -12[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 2
	sal	rax, 3
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -12[rbp], 1
.L25:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L26
	add	DWORD PTR -16[rbp], 1
.L22:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cmp	DWORD PTR -16[rbp], eax
	jl	.L27
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mm_swap, .-mm_swap
	.globl	mm_matrix_mult
	.type	mm_matrix_mult, @function
mm_matrix_mult:
.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, 80
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	mm_alloc
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L30
.L35:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L31
.L34:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	add	DWORD PTR -28[rbp], 1
.L32:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L33
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L31:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L34
	add	DWORD PTR -36[rbp], 1
.L30:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L35
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	mm_matrix_mult, .-mm_matrix_mult
	.section	.rodata
	.align 8
.LC11:
	.string	"Please enter the matrix data file name: "
.LC12:
	.string	"%s"
	.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, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	DWORD PTR -300[rbp], 0
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -300[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mm_read
	mov	QWORD PTR -296[rbp], rax
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mm_swap
	mov	QWORD PTR -288[rbp], rax
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -288[rbp]
	mov	rcx, QWORD PTR -296[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	mm_matrix_mult
	mov	QWORD PTR -280[rbp], rax
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mm_print
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mm_free
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mm_free
	mov	eax, DWORD PTR -300[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mm_free
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"90767.c"
	.text
	.align	2
	.global	mm_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_alloc, %function
mm_alloc:
	@ args = 0, 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, #-24]
	ldr	r3, [fp, #-24]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L3:
	ldr	r0, [fp, #-24]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r1, #8
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	mm_alloc, .-mm_alloc
	.align	2
	.global	mm_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_free, %function
mm_free:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	ldr	r0, [fp, #-20]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mm_free, .-mm_free
	.section	.rodata
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"%i\000"
	.align	2
.LC3:
	.ascii	"%lf\000"
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mm_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_read, %function
mm_read:
	@ args = 0, pretend = 0, frame = 248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #248
	str	r0, [fp, #-248]
	str	r1, [fp, #-252]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-240]
	ldr	r2, .L16+4
	sub	r3, fp, #216
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-236]
	sub	r1, fp, #216
	sub	r3, fp, #112
	ldr	r2, [fp, #-248]
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #112
	ldr	r1, .L16+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-232]
	sub	r3, fp, #212
	ldr	r2, [fp, #-232]
	mov	r1, #10
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #212
	ldr	r2, [fp, #-252]
	ldr	r1, .L16+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	mov	r0, r3
	bl	mm_alloc
	str	r0, [fp, #-236]
	b	.L9
.L12:
	sub	r2, fp, #228
	sub	r3, fp, #212
	ldr	r1, .L16+16
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-244]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-236]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	ldr	r2, [fp, #-240]
	cmp	r2, r3
	bne	.L10
	mov	r3, #0
	str	r3, [fp, #-240]
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
.L10:
	ldr	r3, [fp, #-252]
	ldr	r3, [r3]
	ldr	r2, [fp, #-244]
	cmp	r2, r3
	beq	.L15
.L9:
	sub	r3, fp, #212
	ldr	r2, [fp, #-232]
	mov	r1, #40
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	b	.L11
.L15:
	nop
.L11:
	ldr	r0, [fp, #-232]
	bl	fclose
	ldr	r3, [fp, #-236]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	mm_read, .-mm_read
	.section	.rodata
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"test_matrix.dat\000"
	.align	2
.LC7:
	.ascii	"Output of Result Matrix\012\000"
	.align	2
.LC8:
	.ascii	"/********** Start of 2D Matrix *********\012\000"
	.align	2
.LC9:
	.ascii	"%f\011\011\000"
	.align	2
.LC10:
	.ascii	"  \012\000"
	.align	2
.LC11:
	.ascii	"********** End of matrix ***********\012\000"
	.text
	.align	2
	.global	mm_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_print, %function
mm_print:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L23
	ldr	r0, .L23+4
	bl	fopen
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L23+8
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L23+12
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L19
.L22:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L21:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L23+16
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-8]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L23+20
	bl	fwrite
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-8]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L23+24
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	mm_print, .-mm_print
	.align	2
	.global	mm_swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_swap, %function
mm_swap:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	mm_alloc
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L26
.L31:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L27
.L28:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	lsl	r2, r2, #3
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L27:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L28
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L29
.L30:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	add	r2, r2, #2
	lsl	r2, r2, #3
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L29:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mm_swap, .-mm_swap
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	mm_matrix_mult
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_matrix_mult, %function
mm_matrix_mult:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	mm_alloc
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L39:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L35
.L38:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L36
.L37:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L36:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L37
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L35:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L38
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mm_matrix_mult, .-mm_matrix_mult
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Please enter the matrix data file name: \000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-280]
	ldr	r0, .L44+4
	bl	printf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L44+8
	bl	__isoc99_scanf
	sub	r2, fp, #280
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	mm_read
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-280]
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	mm_swap
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-272]
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	mm_matrix_mult
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-280]
	ldr	r1, [fp, #-268]
	mov	r0, r3
	bl	mm_print
	ldr	r3, [fp, #-280]
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	mm_free
	ldr	r3, [fp, #-280]
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	mm_free
	ldr	r3, [fp, #-280]
	ldr	r1, [fp, #-268]
	mov	r0, r3
	bl	mm_free
	mov	r3, #0
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC13
	.word	.LC12
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
