	.file	"90766070.c"
	.intel_syntax noprefix
	.text
	.globl	Matrix
	.bss
	.align 8
	.type	Matrix, @object
	.size	Matrix, 8
Matrix:
	.zero	8
	.text
	.globl	Process
	.type	Process, @function
Process:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L4
	mov	eax, DWORD PTR -32[rbp]
	imul	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -36[rbp], eax
.L4:
	add	DWORD PTR -28[rbp], 1
.L3:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L6
	add	DWORD PTR -32[rbp], 1
.L2:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L7
	mov	DWORD PTR -24[rbp], 0
	jmp	.L8
.L12:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L10
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L10:
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L11
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -64[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -24[rbp], 1
.L8:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L12
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Process, .-Process
	.section	.rodata
.LC1:
	.string	"\320\235\320\220\320\247\320\220\320\233\320\236"
.LC2:
	.string	"r"
.LC3:
	.string	"input.txt"
.LC4:
	.string	"w"
.LC5:
	.string	"output.txt"
.LC6:
	.string	"%d"
.LC7:
	.string	"%lf"
.LC8:
	.string	"%lf "
.LC9:
	.string	"\320\232\320\236\320\235\320\225\320\246!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -52[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -56[rbp], eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L16
	cmp	QWORD PTR -16[rbp], 0
	jne	.L17
.L16:
	mov	eax, -1
	jmp	.L30
.L17:
	lea	rdx, -56[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	jne	.L19
	lea	rdx, -52[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L20
.L19:
	mov	eax, -1
	jmp	.L30
.L20:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, edx
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR Matrix[rip], rax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L21
.L25:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L22
.L24:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L23
	mov	rax, QWORD PTR Matrix[rip]
	mov	rdi, rax
	call	free@PLT
	mov	eax, -1
	jmp	.L30
.L23:
	mov	rdx, QWORD PTR Matrix[rip]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -44[rbp], 1
.L22:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L24
	add	DWORD PTR -48[rbp], 1
.L21:
	mov	eax, DWORD PTR -56[rbp]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L25
	mov	edx, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR Matrix[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	Process
	mov	DWORD PTR -40[rbp], 0
	jmp	.L26
.L29:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L27
.L28:
	mov	rdx, QWORD PTR Matrix[rip]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -36[rbp], 1
.L27:
	mov	eax, DWORD PTR -52[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L28
	add	DWORD PTR -40[rbp], 1
.L26:
	mov	eax, DWORD PTR -56[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L29
	mov	rax, QWORD PTR Matrix[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"90766070.c"
	.text
	.comm	Matrix,4,4
	.global	__aeabi_dcmplt
	.global	__aeabi_dadd
	.align	2
	.global	Process
	.syntax unified
	.arm
	.fpu softvfp
	.type	Process, %function
Process:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L6:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
.L4:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L8
.L12:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L9
.L11:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	beq	.L10
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.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	.L11
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	mul	r2, r3, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L8:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L12
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Process, .-Process
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\235\320\220\320\247\320\220\320\233\320\236\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"input.txt\000"
	.align	2
.LC3:
	.ascii	"w\000"
	.align	2
.LC4:
	.ascii	"output.txt\000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.align	2
.LC7:
	.ascii	"%lf \000"
	.align	2
.LC8:
	.ascii	"\320\232\320\236\320\235\320\225\320\246!\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L32+4
	bl	printf
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r1, .L32+8
	ldr	r0, .L32+12
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r1, .L32+16
	ldr	r0, .L32+20
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L17
.L16:
	mvn	r3, #0
	b	.L30
.L17:
	sub	r3, fp, #52
	mov	r2, r3
	ldr	r1, .L32+24
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L19
	sub	r3, fp, #48
	mov	r2, r3
	ldr	r1, .L32+24
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L20
.L19:
	mvn	r3, #0
	b	.L30
.L20:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L32+28
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L21
.L25:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L22
.L24:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L32+32
	ldr	r0, [fp, #-28]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L23
	ldr	r3, .L32+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mvn	r3, #0
	b	.L30
.L23:
	ldr	r3, .L32+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-44]
	mul	r1, r3, r1
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L22:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L21:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L25
	ldr	r3, .L32+28
	ldr	r3, [r3]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r0, r3
	bl	Process
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L26
.L29:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L27
.L28:
	ldr	r3, .L32+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r1, [fp, #-36]
	mul	r1, r3, r1
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L32+36
	ldr	r0, [fp, #-24]
	bl	fprintf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L27:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L28
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L26:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L29
	ldr	r3, .L32+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, .L32+40
	bl	printf
	mov	r3, #0
.L30:
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	Matrix
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
