	.file	"7951484.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"entered main function!"
.LC1:
	.string	"const set-up done!"
.LC2:
	.string	"matrix initialization done!"
.LC3:
	.string	"matrix multiplication done!"
.LC4:
	.string	"%f\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 152
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 1024
	mov	r12d, DWORD PTR -116[rbp]
	movsx	rax, r12d
	sub	rax, 1
	mov	QWORD PTR -112[rbp], rax
	movsx	rax, r12d
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	r13d, DWORD PTR -116[rbp]
	movsx	rax, r13d
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movsx	rax, r13d
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	ebx, DWORD PTR -116[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ebx
	mov	r14, rax
	mov	r15d, 0
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -116[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	movsx	rax, r12d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	r14, [rdx+rax]
	call	rand@PLT
	mov	edx, DWORD PTR -124[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [r14+rdx*4], eax
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	movsx	rax, r13d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	lea	r14, [rdx+rax]
	call	rand@PLT
	mov	edx, DWORD PTR -124[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [r14+rdx*4], eax
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -124[rbp], 1
.L3:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L4
	add	DWORD PTR -120[rbp], 1
.L2:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L5
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	edi, 16
	call	omp_set_num_threads@PLT
	mov	DWORD PTR -128[rbp], 0
	jmp	.L6
.L11:
	mov	DWORD PTR -132[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -136[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	movsx	rax, r12d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -136[rbp]
	movsx	rcx, eax
	movsx	rax, r13d
	imul	rax, rcx
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	mov	esi, edx
	imul	esi, eax
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	add	ecx, esi
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	add	DWORD PTR -136[rbp], 1
.L8:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L9
	add	DWORD PTR -132[rbp], 1
.L7:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L10
	add	DWORD PTR -128[rbp], 1
.L6:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L11
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -56[rbp], rax
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -64[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	add	rsp, 152
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"7951484.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"entered main function!\000"
	.align	2
.LC1:
	.ascii	"const set-up done!\000"
	.align	2
.LC2:
	.ascii	"matrix initialization done!\000"
	.align	2
.LC3:
	.ascii	"matrix multiplication done!\000"
	.global	__aeabi_dsub
	.align	2
.LC4:
	.ascii	"%f\012\000"
	.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	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #72
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r0, .L13
	bl	printf
	mov	r3, #1024
	str	r3, [fp, #-64]
	ldr	r5, [fp, #-64]
	sub	r3, r5, #1
	str	r3, [fp, #-60]
	mov	r3, r5
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r6, [fp, #-64]
	sub	r3, r6, #1
	str	r3, [fp, #-52]
	mov	r3, r6
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r4, [fp, #-64]
	sub	r3, r4, #1
	str	r3, [fp, #-44]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r0, .L13+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L3
.L4:
	mov	r2, r5
	ldr	r3, [fp, #-68]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r7, r2, r3
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-72]
	str	r2, [r7, r3, lsl #2]
	mov	r2, r6
	ldr	r3, [fp, #-68]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r7, r2, r3
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-72]
	str	r2, [r7, r3, lsl #2]
	mov	r2, r4
	ldr	r3, [fp, #-68]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L3:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L2:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L5
	ldr	r0, .L13+8
	bl	printf
	bl	omp_get_wtime
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	mov	r0, #16
	bl	omp_set_num_threads
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L6
.L11:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L7
.L10:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L8
.L9:
	mov	r2, r5
	ldr	r3, [fp, #-76]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [fp, #-84]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r6
	ldr	r2, [fp, #-84]
	mul	r2, r1, r2
	lsl	r2, r2, #2
	ldr	r1, [fp, #-48]
	add	r2, r1, r2
	ldr	r1, [fp, #-80]
	ldr	r2, [r2, r1, lsl #2]
	mul	r1, r2, r3
	mov	r2, r4
	ldr	r3, [fp, #-76]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-80]
	ldr	r2, [r3, r2, lsl #2]
	mov	r0, r4
	ldr	r3, [fp, #-76]
	mul	r3, r0, r3
	lsl	r3, r3, #2
	ldr	r0, [fp, #-40]
	add	r3, r0, r3
	add	r1, r1, r2
	ldr	r2, [fp, #-80]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L8:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L7:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L6:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L11
	ldr	r0, .L13+12
	bl	printf
	bl	omp_get_wtime
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L13+16
	bl	printf
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
