	.file	"864409.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"matrica1.txt"
	.align 8
.LC2:
	.string	"Datotekata matrica1.txt ne se otvora!"
.LC3:
	.string	"%d %d"
.LC4:
	.string	"Mnogu golema matrica!"
.LC5:
	.string	"%f"
	.align 8
.LC6:
	.string	"Nema dovolno podatoci vo datotekata!"
.LC7:
	.string	"w"
.LC8:
	.string	"matrica2.txt"
	.align 8
.LC9:
	.string	"Datotekata matrica2.txt ne se otvora!"
.LC10:
	.string	"%d %d\n"
.LC11:
	.string	"%7.2f\n"
	.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
	lea	r11, -77824[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 2224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -80032[rbp], rax
	cmp	QWORD PTR -80032[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -80032[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L3
	lea	rcx, -80044[rbp]
	lea	rdx, -80048[rbp]
	mov	rax, QWORD PTR -80032[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
.L3:
	mov	eax, DWORD PTR -80048[rbp]
	cmp	eax, 100
	jg	.L4
	mov	eax, DWORD PTR -80044[rbp]
	cmp	eax, 100
	jle	.L5
.L4:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L24
.L5:
	mov	DWORD PTR -80040[rbp], 0
	jmp	.L7
.L12:
	mov	DWORD PTR -80036[rbp], 0
	jmp	.L8
.L10:
	lea	rcx, -80016[rbp]
	mov	eax, DWORD PTR -80036[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -80040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -80032[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -80036[rbp], 1
.L8:
	mov	eax, DWORD PTR -80044[rbp]
	cmp	DWORD PTR -80036[rbp], eax
	jge	.L9
	mov	rax, QWORD PTR -80032[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L10
.L9:
	add	DWORD PTR -80040[rbp], 1
.L7:
	mov	eax, DWORD PTR -80048[rbp]
	cmp	DWORD PTR -80040[rbp], eax
	jge	.L11
	mov	rax, QWORD PTR -80032[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L12
.L11:
	mov	rax, QWORD PTR -80032[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -80048[rbp]
	cmp	DWORD PTR -80040[rbp], eax
	jne	.L13
	mov	eax, DWORD PTR -80044[rbp]
	cmp	DWORD PTR -80036[rbp], eax
	je	.L14
.L13:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L24
.L14:
	mov	DWORD PTR -80040[rbp], 0
	jmp	.L15
.L18:
	mov	DWORD PTR -80036[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -80036[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -80040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR -80016[rbp+rax*4]
	mov	eax, DWORD PTR -80040[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -80036[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movss	DWORD PTR -40016[rbp+rax*4], xmm0
	add	DWORD PTR -80036[rbp], 1
.L16:
	mov	eax, DWORD PTR -80044[rbp]
	cmp	DWORD PTR -80036[rbp], eax
	jl	.L17
	add	DWORD PTR -80040[rbp], 1
.L15:
	mov	eax, DWORD PTR -80048[rbp]
	cmp	DWORD PTR -80040[rbp], eax
	jl	.L18
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -80024[rbp], rax
	cmp	QWORD PTR -80024[rbp], 0
	jne	.L19
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	ecx, DWORD PTR -80048[rbp]
	mov	edx, DWORD PTR -80044[rbp]
	mov	rax, QWORD PTR -80024[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -80040[rbp], 0
	jmp	.L20
.L23:
	mov	DWORD PTR -80036[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -80036[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -80040[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR -40016[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -80024[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -80036[rbp], 1
.L21:
	mov	eax, DWORD PTR -80048[rbp]
	cmp	DWORD PTR -80036[rbp], eax
	jl	.L22
	add	DWORD PTR -80040[rbp], 1
.L20:
	mov	eax, DWORD PTR -80044[rbp]
	cmp	DWORD PTR -80040[rbp], eax
	jl	.L23
	mov	rax, QWORD PTR -80024[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L24:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	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	"864409.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"matrica1.txt\000"
	.align	2
.LC2:
	.ascii	"Datotekata matrica1.txt ne se otvora!\000"
	.align	2
.LC3:
	.ascii	"%d %d\000"
	.align	2
.LC4:
	.ascii	"Mnogu golema matrica!\000"
	.align	2
.LC5:
	.ascii	"%f\000"
	.align	2
.LC6:
	.ascii	"Nema dovolno podatoci vo datotekata!\000"
	.align	2
.LC7:
	.ascii	"w\000"
	.align	2
.LC8:
	.ascii	"matrica2.txt\000"
	.align	2
.LC9:
	.ascii	"Datotekata matrica2.txt ne se otvora!\000"
	.align	2
.LC10:
	.ascii	"%d %d\012\000"
	.global	__aeabi_f2d
	.align	2
.LC11:
	.ascii	"%7.2f\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #79872
	sub	sp, sp, #164
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	fopen
	str	r0, [r4, #-2188]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2188]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L26+12
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r0, [r3, #-2188]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	sub	r3, fp, #79872
	sub	r3, r3, #12
	sub	r3, r3, #152
	sub	r2, fp, #79872
	sub	r2, r2, #12
	sub	r2, r2, #156
	sub	r1, fp, #77824
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L26+16
	ldr	r0, [r0, #-2188]
	bl	__isoc99_fscanf
.L3:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	cmp	r3, #100
	bgt	.L4
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	cmp	r3, #100
	ble	.L5
.L4:
	ldr	r0, .L26+20
	bl	printf
	mvn	r3, #0
	b	.L24
.L5:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2196]
	b	.L7
.L12:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2192]
	b	.L8
.L10:
	sub	r2, fp, #79872
	sub	r2, r2, #12
	sub	r2, r2, #132
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r1, [r3, #-2196]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #77824
	sub	r1, r1, #12
	ldr	r1, [r1, #-2192]
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #77824
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L26+24
	ldr	r0, [r0, #-2188]
	bl	__isoc99_fscanf
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
.L8:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	cmp	r2, r3
	bge	.L9
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r0, [r3, #-2188]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
.L9:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	add	r3, r3, #1
	str	r3, [r2, #-2196]
.L7:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2196]
	cmp	r2, r3
	bge	.L11
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r0, [r3, #-2188]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
.L11:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r0, [r3, #-2188]
	bl	fclose
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2196]
	cmp	r2, r3
	bne	.L13
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	cmp	r2, r3
	beq	.L14
.L13:
	ldr	r0, .L26+28
	bl	printf
	mvn	r3, #0
	b	.L24
.L14:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2196]
	b	.L15
.L18:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2192]
	b	.L16
.L17:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r2, [r3, #-2196]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-2180]	@ float
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r2, [r3, #-2192]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2196]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-3140]	@ float
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
.L16:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	cmp	r2, r3
	blt	.L17
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	add	r3, r3, #1
	str	r3, [r2, #-2196]
.L15:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2196]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L26+32
	ldr	r0, .L26+36
	bl	fopen
	str	r0, [r4, #-2184]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2184]
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L26+40
	bl	puts
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r2, [r3, #-2200]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r1, fp, #77824
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L26+44
	ldr	r0, [r0, #-2184]
	bl	fprintf
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2196]
	b	.L20
.L23:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2192]
	b	.L21
.L22:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r2, [r3, #-2196]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3140]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #77824
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L26+48
	ldr	r0, [r0, #-2184]
	bl	fprintf
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	add	r3, r3, #1
	str	r3, [r2, #-2192]
.L21:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	cmp	r2, r3
	blt	.L22
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	add	r3, r3, #1
	str	r3, [r2, #-2196]
.L20:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2196]
	cmp	r2, r3
	blt	.L23
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r0, [r3, #-2184]
	bl	fclose
	mov	r3, #0
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
