	.file	"12231.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"can't open file <%s> \n"
.LC2:
	.string	"Error reading file."
.LC3:
	.string	"%d %d %d"
	.align 8
.LC4:
	.string	"Rows: %d, Columns: %d, Non-zeros: %d\n"
	.text
	.globl	get_matrix_size
	.type	get_matrix_size, @function
get_matrix_size:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	QWORD PTR -128[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	mov	rax, QWORD PTR -104[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rdx, QWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rsi, QWORD PTR -128[rbp]
	mov	rcx, QWORD PTR -120[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	lea	rax, -80[rbp]
	mov	r8, rsi
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_matrix_size, .-get_matrix_size
	.section	.rodata
.LC5:
	.string	"can't open input file <%s> \n"
.LC6:
	.string	"here"
.LC7:
	.string	"w"
.LC8:
	.string	"matrix_in.csr"
.LC9:
	.string	"can't open output file <%s> \n"
.LC10:
	.string	"%d %d %lf"
.LC11:
	.string	"%d %d %d\n"
.LC12:
	.string	"%f\n"
.LC13:
	.string	"%d\n"
	.text
	.globl	mm_to_csr
	.type	mm_to_csr, @function
mm_to_csr:
.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, 208
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	DWORD PTR -176[rbp], edx
	mov	DWORD PTR -180[rbp], ecx
	mov	QWORD PTR -192[rbp], r8
	mov	QWORD PTR -200[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -112[rbp], rax
	cmp	QWORD PTR -112[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	fgets@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L10
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	DWORD PTR -132[rbp], 1
	mov	DWORD PTR -148[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -192[rbp]
	add	rdx, rax
	lea	rax, -80[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -192[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -200[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -148[rbp], 1
.L11:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -80[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L12
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -140[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -208[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -136[rbp], 1
	mov	DWORD PTR -144[rbp], 1
	jmp	.L13
.L17:
	mov	DWORD PTR -148[rbp], 1
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -140[rbp], eax
	jne	.L15
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -96[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -136[rbp], 1
.L15:
	add	DWORD PTR -148[rbp], 1
.L14:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L16
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -140[rbp], 1
	add	DWORD PTR -144[rbp], 1
.L13:
	mov	eax, DWORD PTR -144[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L17
	mov	eax, DWORD PTR -172[rbp]
	lea	esi, 1[rax]
	mov	ecx, DWORD PTR -180[rbp]
	mov	edx, DWORD PTR -180[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	r8d, esi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -148[rbp], 1
.L18:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L19
	mov	DWORD PTR -148[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -200[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -148[rbp], 1
.L20:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -180[rbp]
	jl	.L21
	mov	DWORD PTR -148[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -148[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -192[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -112[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -148[rbp], 1
.L22:
	mov	eax, DWORD PTR -148[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jle	.L23
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mm_to_csr, .-mm_to_csr
	.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	"12231.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"can't open file <%s> \012\000"
	.align	2
.LC2:
	.ascii	"%d %d %d\000"
	.align	2
.LC3:
	.ascii	"Rows: %d, Columns: %d, Non-zeros: %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_matrix_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_matrix_size, %function
get_matrix_size:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r1, .L4+4
	ldr	r0, [fp, #-88]
	bl	fopen
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L2
	ldr	r1, [fp, #-88]
	ldr	r0, .L4+8
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #72
	ldr	r2, [fp, #-76]
	mov	r1, #64
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-80]
	sub	r3, fp, #72
	ldr	r2, [fp, #-76]
	mov	r1, #64
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-80]
	sub	r0, fp, #72
	ldr	r3, [fp, #-100]
	str	r3, [sp]
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	ldr	r1, .L4+12
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-92]
	ldr	r1, [r3]
	ldr	r3, [fp, #-96]
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	ldr	r0, .L4+16
	bl	printf
	ldr	r0, [fp, #-76]
	bl	fclose
	nop
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	get_matrix_size, .-get_matrix_size
	.section	.rodata
	.align	2
.LC5:
	.ascii	"can't open input file <%s> \012\000"
	.align	2
.LC6:
	.ascii	"here\000"
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"matrix_in.csr\000"
	.align	2
.LC9:
	.ascii	"can't open output file <%s> \012\000"
	.align	2
.LC10:
	.ascii	"%d %d %lf\000"
	.align	2
.LC11:
	.ascii	"%d %d %d\012\000"
	.align	2
.LC12:
	.ascii	"%f\012\000"
	.align	2
.LC13:
	.ascii	"%d\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mm_to_csr
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_to_csr, %function
mm_to_csr:
	@ args = 12, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	str	r2, [fp, #-128]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-144]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r1, .L23+4
	ldr	r0, [fp, #-120]
	bl	fopen
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L7
	ldr	r1, [fp, #-120]
	ldr	r0, .L23+8
	bl	printf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r0, .L23+12
	bl	puts
	ldr	r1, .L23+16
	ldr	r0, .L23+20
	bl	fopen
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L8
	ldr	r1, [fp, #-120]
	ldr	r0, .L23+24
	bl	printf
	mov	r0, #1
	bl	exit
.L8:
	sub	r3, fp, #72
	ldr	r2, [fp, #-96]
	mov	r1, #64
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-100]
	sub	r3, fp, #72
	ldr	r2, [fp, #-96]
	mov	r1, #64
	mov	r0, r3
	bl	fgets
	str	r0, [fp, #-100]
	mov	r3, #1
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L9
.L10:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r1, r2, r3
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	ip, r2, r3
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	sub	r0, fp, #72
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L23+28
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r2, [fp, #-88]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldr	r2, [fp, #-88]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L9:
	sub	r3, fp, #72
	ldr	r2, [fp, #-96]
	mov	r1, #64
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-96]
	bl	fclose
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-136]
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	str	r2, [r3]
	ldr	r3, [fp, #-140]
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	str	r2, [r3]
	ldr	r3, [fp, #-144]
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-76]
	stm	r1, {r2-r3}
	mov	r3, #1
	str	r3, [fp, #-104]
	mov	r3, #1
	str	r3, [fp, #-112]
	b	.L11
.L15:
	mov	r3, #1
	str	r3, [fp, #-116]
	b	.L12
.L14:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	bne	.L13
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldr	r2, [fp, #-104]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-76]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-140]
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-80]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L13:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L12:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [fp, #-104]
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L11:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-132]
	ldr	r1, .L23+32
	ldr	r0, [fp, #-92]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L16
.L17:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r2, [fp, #-116]
	lsl	r2, r2, #3
	ldr	r1, [fp, #-144]
	add	r1, r1, r2
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L23+36
	ldr	r0, [fp, #-92]
	bl	fprintf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L16:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L17
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L18
.L19:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-80]
	add	r2, r2, r3
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-140]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L23+40
	ldr	r0, [fp, #-92]
	bl	fprintf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L18:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	blt	.L19
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L20
.L21:
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r2, r2, r3
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-136]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L23+40
	ldr	r0, [fp, #-92]
	bl	fprintf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L20:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	ble	.L21
	ldr	r0, [fp, #-84]
	bl	free
	ldr	r0, [fp, #-80]
	bl	free
	ldr	r0, [fp, #-76]
	bl	free
	ldr	r0, [fp, #-92]
	bl	fclose
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC14
	.word	.LC0
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	mm_to_csr, .-mm_to_csr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
