	.file	"34513643.c"
	.intel_syntax noprefix
	.text
	.globl	M
	.data
	.align 4
	.type	M, @object
	.size	M, 4
M:
	.long	1024
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.long	1024
	.text
	.globl	generate_random_dense_matrix
	.type	generate_random_dense_matrix, @function
generate_random_dense_matrix:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L3
.L4:
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -32[rbp], 1
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L4
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L5
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	generate_random_dense_matrix, .-generate_random_dense_matrix
	.section	.rodata
.LC4:
	.string	"N"
.LC5:
	.string	"%2.2f "
.LC6:
	.string	"..."
	.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	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -48[rbp], xmm0
	movss	xmm0, DWORD PTR .LC3[rip]
	movss	DWORD PTR -44[rbp], xmm0
	mov	edi, 9384
	call	srand@PLT
	mov	ecx, DWORD PTR N[rip]
	mov	eax, DWORD PTR M[rip]
	lea	rdx, -32[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	generate_random_dense_matrix
	mov	ecx, DWORD PTR M[rip]
	mov	eax, DWORD PTR N[rip]
	lea	rdx, -24[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	generate_random_dense_matrix
	mov	ecx, DWORD PTR N[rip]
	mov	eax, DWORD PTR M[rip]
	lea	rdx, -16[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	generate_random_dense_matrix
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rdi, -48[rbp]
	sub	rsp, 8
	lea	rsi, M[rip]
	push	rsi
	push	rcx
	lea	rcx, -44[rbp]
	push	rcx
	lea	rcx, N[rip]
	push	rcx
	push	rdx
	lea	rdx, M[rip]
	push	rdx
	push	rax
	mov	r9, rdi
	lea	r8, N[rip]
	lea	rcx, M[rip]
	lea	rdx, M[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC4[rip]
	call	sgemm_@PLT
	add	rsp, 64
	mov	DWORD PTR -40[rbp], 0
	jmp	.L7
.L10:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L8
.L9:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR M[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L8:
	cmp	DWORD PTR -36[rbp], 9
	jle	.L9
	lea	rdi, .LC6[rip]
	call	puts@PLT
	add	DWORD PTR -40[rbp], 1
.L7:
	cmp	DWORD PTR -40[rbp], 9
	jle	.L10
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-4194304
	.long	1105199103
	.align 8
.LC1:
	.long	0
	.long	1079574528
	.align 4
.LC2:
	.long	1077936128
	.align 4
.LC3:
	.long	1082130432
	.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	"34513643.c"
	.text
	.global	M
	.data
	.align	2
	.type	M, %object
	.size	M, 4
M:
	.word	1024
	.global	N
	.align	2
	.type	N, %object
	.size	N, 4
N:
	.word	1024
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.text
	.align	2
	.global	generate_random_dense_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	generate_random_dense_matrix, %function
generate_random_dense_matrix:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r2, .L6
	ldr	r3, .L6+4
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L3
.L4:
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L6+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-48]
	mul	r2, r3, r2
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L3:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L4
	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	.L5
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	-4194304
	.word	1105199103
	.word	1079574528
	.size	generate_random_dense_matrix, .-generate_random_dense_matrix
	.section	.rodata
	.align	2
.LC0:
	.ascii	"N\000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%2.2f \000"
	.align	2
.LC2:
	.ascii	"...\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	str	r3, [fp, #-24]	@ float
	ldr	r3, .L15+8
	str	r3, [fp, #-20]	@ float
	ldr	r0, .L15+12
	bl	srand
	ldr	r3, .L15+16
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r1, [r2]
	sub	r2, fp, #36
	mov	r0, r3
	bl	generate_random_dense_matrix
	ldr	r3, .L15+20
	ldr	r3, [r3]
	ldr	r2, .L15+16
	ldr	r1, [r2]
	sub	r2, fp, #32
	mov	r0, r3
	bl	generate_random_dense_matrix
	ldr	r3, .L15+16
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r1, [r2]
	sub	r2, fp, #28
	mov	r0, r3
	bl	generate_random_dense_matrix
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, .L15+16
	str	r0, [sp, #32]
	str	r1, [sp, #28]
	sub	r1, fp, #20
	str	r1, [sp, #24]
	ldr	r1, .L15+20
	str	r1, [sp, #20]
	str	r2, [sp, #16]
	ldr	r2, .L15+16
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	sub	r3, fp, #24
	str	r3, [sp, #4]
	ldr	r3, .L15+20
	str	r3, [sp]
	ldr	r3, .L15+16
	ldr	r2, .L15+16
	ldr	r1, .L15+24
	ldr	r0, .L15+24
	bl	sgemm_
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r2, [fp, #-28]
	ldr	r3, .L15+16
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mul	r1, r3, r1
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L15+28
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L11
	ldr	r0, .L15+32
	bl	puts
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r3, [fp, #-16]
	cmp	r3, #9
	ble	.L12
	ldr	r0, .L15+32
	bl	puts
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	1077936128
	.word	1082130432
	.word	9384
	.word	M
	.word	N
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
