	.file	"517623.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \320\270\320\274\321\217 \321\204\320\260\320\271\320\273\320\260 \320\274\320\260\321\202\321\200\320\270\321\206\321\213: "
.LC1:
	.string	"%s"
.LC2:
	.string	"rb+"
	.align 8
.LC3:
	.string	"\320\235\320\265 \320\274\320\276\320\266\320\265\320\274 \320\276\321\202\320\272\321\200\321\213\321\202\321\214 \321\204\320\260\320\271\320\273 '%s'\n"
	.align 8
.LC4:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260: \320\235\320\265 \321\201\320\274\320\276\320\263\320\273\320\270 \320\264\320\260\320\266\320\265 \320\277\321\200\320\276\321\207\320\270\321\202\320\260\321\202\321\214 \321\200\320\260\320\267\320\274\320\265\321\200 \320\274\320\260\321\202\321\200\320\270\321\206\321\213"
	.align 8
.LC5:
	.string	"\320\244\320\260\320\271\320\273 \320\277\320\276\320\262\321\200\320\265\320\266\320\264\320\265\320\275, \321\202\320\260\320\272 \320\272\320\260\320\272 \320\275\320\265 \321\201\320\276\320\276\321\202\320\262\320\265\321\202\321\201\321\202\320\262\321\203\320\265\321\202 \320\270\320\275\321\202\320\265\321\200\321\204\320\265\320\271\321\201\321\203"
	.align 8
.LC6:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\277\321\200\320\270 \321\207\321\202\320\265\320\275\320\270\320\270 \320\264\320\260\320\275\320\275\321\213\321\205 \320\276 \320\274\320\260\321\202\321\200\320\270\321\206\320\265"
	.align 8
.LC7:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260: \320\275\320\265\320\262\320\265\321\200\320\275\321\213\320\271 \321\200\320\260\320\267\320\274\320\265\321\200 \320\274\320\260\321\202\321\200\320\270\321\206\321\213"
.LC8:
	.string	"\320\237\320\276\320\273\321\203\321\207\320\265\320\275\320\276 num = %d\n"
.LC9:
	.string	"\320\236\320\266\320\270\320\264\320\260\320\273\320\276\321\201\321\214 n*n = %d \n"
	.align 8
.LC10:
	.string	"\320\235\320\265 \321\201\320\274\320\276\320\263\320\273\320\270 \320\277\321\200\320\276\321\207\320\270\321\202\320\260\321\202\321\214 \320\262\321\201\320\265 \321\215\320\273\320\265\320\274\320\265\320\275\321\202\321\213 \320\274\320\260\321\202\321\200\320\270\321\206\321\213"
	.align 8
.LC11:
	.string	"\320\237\320\276\321\200\321\217\320\264\320\276\320\272 \320\272\320\262\320\260\320\264\321\200\320\260\321\202\320\275\320\276\320\271 \320\274\320\260\321\202\321\200\320\270\321\206\321\213: %d\n"
	.align 8
.LC12:
	.string	"\320\247\320\270\321\201\320\273\320\276 \320\277\321\200\320\276\321\207\320\270\321\202\320\260\320\275\320\275\321\213\321\205 \321\215\320\273\320\265\320\274\320\265\320\275\321\202\320\276\320\262: %d\n"
.LC13:
	.string	"%7.2f"
	.align 8
.LC14:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\277\321\200\320\270 \320\267\320\260\320\272\321\200\321\213\321\202\320\270\320\270 \321\204\320\260\320\271\320\273\320\260"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L5:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -48[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L20
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L20:
	nop
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -80[rbp], 0
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -88[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	mov	DWORD PTR -80[rbp], eax
	cmp	DWORD PTR -80[rbp], 1
	je	.L6
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	edx, DWORD PTR -88[rbp]
	movsx	rdx, edx
	add	rdx, 2
	sal	rdx, 2
	cmp	rax, rdx
	je	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	edi, 2
	call	exit@PLT
.L7:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -84[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	mov	DWORD PTR -80[rbp], eax
	cmp	DWORD PTR -80[rbp], 2
	je	.L8
	lea	rdi, .LC6[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -84[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -88[rbp]
	cmp	edx, eax
	je	.L9
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -84[rbp]
	imul	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	edi, 2
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -80[rbp]
	add	eax, edx
	mov	DWORD PTR -80[rbp], eax
	add	DWORD PTR -76[rbp], 1
.L10:
	mov	eax, DWORD PTR -88[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L11
	mov	eax, DWORD PTR -88[rbp]
	cmp	DWORD PTR -80[rbp], eax
	je	.L12
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	edi, 3
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -84[rbp]
	imul	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -72[rbp], 1
.L14:
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L15
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -76[rbp], 1
.L13:
	mov	eax, DWORD PTR -84[rbp]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L16
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	eax, -1
	jne	.L17
	lea	rdi, .LC14[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	edi, 4
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	call	getchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"517623.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\320\222\320\262\320\265\320\264\320\270\321\202\320"
	.ascii	"\265 \320\270\320\274\321\217 \321\204\320\260\320\271"
	.ascii	"\320\273\320\260 \320\274\320\260\321\202\321\200\320"
	.ascii	"\270\321\206\321\213: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"rb+\000"
	.align	2
.LC3:
	.ascii	"\320\235\320\265 \320\274\320\276\320\266\320\265\320"
	.ascii	"\274 \320\276\321\202\320\272\321\200\321\213\321\202"
	.ascii	"\321\214 \321\204\320\260\320\271\320\273 '%s'\012\000"
	.align	2
.LC4:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260: \320"
	.ascii	"\235\320\265 \321\201\320\274\320\276\320\263\320\273"
	.ascii	"\320\270 \320\264\320\260\320\266\320\265 \320\277\321"
	.ascii	"\200\320\276\321\207\320\270\321\202\320\260\321\202"
	.ascii	"\321\214 \321\200\320\260\320\267\320\274\320\265\321"
	.ascii	"\200 \320\274\320\260\321\202\321\200\320\270\321\206"
	.ascii	"\321\213\000"
	.align	2
.LC5:
	.ascii	"\320\244\320\260\320\271\320\273 \320\277\320\276\320"
	.ascii	"\262\321\200\320\265\320\266\320\264\320\265\320\275"
	.ascii	", \321\202\320\260\320\272 \320\272\320\260\320\272"
	.ascii	" \320\275\320\265 \321\201\320\276\320\276\321\202\320"
	.ascii	"\262\320\265\321\202\321\201\321\202\320\262\321\203"
	.ascii	"\320\265\321\202 \320\270\320\275\321\202\320\265\321"
	.ascii	"\200\321\204\320\265\320\271\321\201\321\203\000"
	.align	2
.LC6:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\277\321\200\320\270 \321\207\321\202\320\265\320\275"
	.ascii	"\320\270\320\270 \320\264\320\260\320\275\320\275\321"
	.ascii	"\213\321\205 \320\276 \320\274\320\260\321\202\321\200"
	.ascii	"\320\270\321\206\320\265\000"
	.align	2
.LC7:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260: \320"
	.ascii	"\275\320\265\320\262\320\265\321\200\320\275\321\213"
	.ascii	"\320\271 \321\200\320\260\320\267\320\274\320\265\321"
	.ascii	"\200 \320\274\320\260\321\202\321\200\320\270\321\206"
	.ascii	"\321\213\000"
	.align	2
.LC8:
	.ascii	"\320\237\320\276\320\273\321\203\321\207\320\265\320"
	.ascii	"\275\320\276 num = %d\012\000"
	.align	2
.LC9:
	.ascii	"\320\236\320\266\320\270\320\264\320\260\320\273\320"
	.ascii	"\276\321\201\321\214 n*n = %d \012\000"
	.align	2
.LC10:
	.ascii	"\320\235\320\265 \321\201\320\274\320\276\320\263\320"
	.ascii	"\273\320\270 \320\277\321\200\320\276\321\207\320\270"
	.ascii	"\321\202\320\260\321\202\321\214 \320\262\321\201\320"
	.ascii	"\265 \321\215\320\273\320\265\320\274\320\265\320\275"
	.ascii	"\321\202\321\213 \320\274\320\260\321\202\321\200\320"
	.ascii	"\270\321\206\321\213\000"
	.align	2
.LC11:
	.ascii	"\320\237\320\276\321\200\321\217\320\264\320\276\320"
	.ascii	"\272 \320\272\320\262\320\260\320\264\321\200\320\260"
	.ascii	"\321\202\320\275\320\276\320\271 \320\274\320\260\321"
	.ascii	"\202\321\200\320\270\321\206\321\213: %d\012\000"
	.align	2
.LC12:
	.ascii	"\320\247\320\270\321\201\320\273\320\276 \320\277\321"
	.ascii	"\200\320\276\321\207\320\270\321\202\320\260\320\275"
	.ascii	"\320\275\321\213\321\205 \321\215\320\273\320\265\320"
	.ascii	"\274\320\265\320\275\321\202\320\276\320\262: %d\012"
	.ascii	"\000"
	.global	__aeabi_f2d
	.align	2
.LC13:
	.ascii	"%7.2f\000"
	.align	2
.LC14:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\277\321\200\320\270 \320\267\320\260\320\272\321\200"
	.ascii	"\321\213\321\202\320\270\320\270 \321\204\320\260\320"
	.ascii	"\271\320\273\320\260\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L5:
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	sub	r3, fp, #40
	ldr	r1, .L21+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L21+16
	bl	printf
	b	.L5
.L20:
	nop
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	fseek
	ldr	r0, [fp, #-52]
	bl	ftell
	str	r0, [fp, #-48]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r0, fp, #72
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	beq	.L6
	ldr	r0, .L21+20
	bl	printf
	bl	getchar
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-72]
	add	r3, r3, #2
	lsl	r2, r3, #2
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	beq	.L7
	ldr	r0, .L21+24
	bl	puts
	bl	getchar
	mov	r0, #2
	bl	exit
.L7:
	sub	r0, fp, #68
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	beq	.L8
	ldr	r0, .L21+28
	bl	puts
	bl	getchar
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	mul	r2, r3, r2
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	beq	.L9
	ldr	r0, .L21+32
	bl	puts
	ldr	r3, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L21+36
	bl	printf
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-68]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L21+40
	bl	printf
	bl	getchar
	mov	r0, #2
	bl	exit
.L9:
	ldr	r3, [fp, #-72]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L10
.L11:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r0, r2, r3
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, r0
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L10:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	beq	.L12
	ldr	r0, .L21+44
	bl	printf
	bl	getchar
	mov	r0, #3
	bl	exit
.L12:
	ldr	r3, [fp, #-68]
	mov	r1, r3
	ldr	r0, .L21+48
	bl	printf
	ldr	r1, [fp, #-64]
	ldr	r0, .L21+52
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L14
.L15:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-60]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L21+56
	bl	printf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L14:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L15
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L13:
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L16
	ldr	r0, [fp, #-52]
	bl	fclose
	mov	r3, r0
	cmn	r3, #1
	bne	.L17
	ldr	r0, .L21+60
	bl	puts
	bl	getchar
	mov	r0, #4
	bl	exit
.L17:
	ldr	r0, [fp, #-44]
	bl	free
	bl	getchar
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
