	.file	"632809.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"openblas_get_num_threads =  %d \n"
	.align 8
.LC3:
	.string	"m=%d,n=%d,k=%d,alpha=%lf,beta=%lf,sizeofc=%d\n"
.LC6:
	.string	"%dx%dx%d\t%lf s\t%lf MFLOPS\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
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -132[rbp], 1000
	mov	DWORD PTR -128[rbp], 1000
	mov	DWORD PTR -124[rbp], 1000
	mov	eax, 0
	call	openblas_get_num_threads@PLT
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -124[rbp]
	imul	eax, edx
	mov	DWORD PTR -116[rbp], eax
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -128[rbp]
	imul	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -128[rbp]
	imul	eax, edx
	mov	DWORD PTR -108[rbp], eax
	mov	BYTE PTR -134[rbp], 78
	mov	BYTE PTR -133[rbp], 78
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -96[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -120[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -120[rbp], 1
.L2:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L3
	mov	DWORD PTR -120[rbp], 0
	jmp	.L4
.L5:
	mov	edx, DWORD PTR -120[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -120[rbp], 1
.L4:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -112[rbp]
	jl	.L5
	mov	DWORD PTR -120[rbp], 0
	jmp	.L6
.L7:
	mov	edx, DWORD PTR -120[rbp]
	movsx	rax, edx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	add	ecx, ecx
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -120[rbp], 1
.L6:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L7
	movsd	xmm0, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -104[rbp]
	mov	ecx, DWORD PTR -124[rbp]
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	edi, DWORD PTR -108[rbp]
	mov	r8d, edi
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	lea	r9, -104[rbp]
	lea	r8, -124[rbp]
	lea	rcx, -128[rbp]
	lea	rdx, -132[rbp]
	lea	rsi, -133[rbp]
	lea	rax, -134[rbp]
	sub	rsp, 8
	lea	rdi, -132[rbp]
	push	rdi
	push	QWORD PTR -72[rbp]
	lea	rdi, -96[rbp]
	push	rdi
	lea	rdi, -124[rbp]
	push	rdi
	push	QWORD PTR -80[rbp]
	lea	rdi, -132[rbp]
	push	rdi
	push	QWORD PTR -88[rbp]
	mov	rdi, rax
	call	dgemm_@PLT
	add	rsp, 64
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -132[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -128[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -124[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	ecx, DWORD PTR -124[rbp]
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	858993459
	.long	1072902963
	.align 8
.LC2:
	.long	-755914244
	.long	1062232653
	.align 8
.LC4:
	.long	0
	.long	1093567616
	.align 8
.LC5:
	.long	-1598689907
	.long	1051772663
	.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	"632809.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"openblas_get_num_threads =  %d \012\000"
	.global	__aeabi_i2d
	.align	2
.LC1:
	.ascii	"m=%d,n=%d,k=%d,alpha=%lf,beta=%lf,sizeofc=%d\012\000"
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"%dx%dx%d\011%lf s\011%lf MFLOPS\012\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 = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #152
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1000
	str	r3, [fp, #-108]
	mov	r3, #1000
	str	r3, [fp, #-104]
	mov	r3, #1000
	str	r3, [fp, #-100]
	bl	openblas_get_num_threads
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L10+4
	bl	printf
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-100]
	mul	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	mul	r3, r2, r3
	str	r3, [fp, #-84]
	mov	r3, #78
	strb	r3, [fp, #-110]
	mov	r3, #78
	strb	r3, [fp, #-109]
	ldr	r2, .L10+8
	ldr	r3, .L10+12
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r2, .L10+16
	ldr	r3, .L10+20
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-72]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L2
.L3:
	ldr	r1, [fp, #-96]
	ldr	r3, .L10+24
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r1, r2, #1
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L2:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L4
.L5:
	ldr	r1, [fp, #-96]
	ldr	r3, .L10+24
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r1, r2, #1
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L4:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L6
.L7:
	ldr	r1, [fp, #-96]
	ldr	r3, .L10+24
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r1, r2, #1
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r4, r2, r3
	mov	r0, r1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L6:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L7
	ldr	lr, [fp, #-108]
	ldr	r4, [fp, #-104]
	ldr	r5, [fp, #-100]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-84]
	str	ip, [sp, #16]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	mov	r3, r5
	mov	r2, r4
	mov	r1, lr
	ldr	r0, .L10+28
	bl	printf
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	ip, fp, #104
	sub	r2, fp, #108
	sub	r1, fp, #109
	sub	r0, fp, #110
	sub	r3, fp, #108
	str	r3, [sp, #32]
	ldr	r3, [fp, #-72]
	str	r3, [sp, #28]
	sub	r3, fp, #60
	str	r3, [sp, #24]
	sub	r3, fp, #100
	str	r3, [sp, #20]
	ldr	r3, [fp, #-76]
	str	r3, [sp, #16]
	sub	r3, fp, #108
	str	r3, [sp, #12]
	ldr	r3, [fp, #-80]
	str	r3, [sp, #8]
	sub	r3, fp, #68
	str	r3, [sp, #4]
	sub	r3, fp, #100
	str	r3, [sp]
	mov	r3, ip
	bl	dgemm_
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L10+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-108]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L10+36
	ldr	r3, .L10+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	ldr	ip, [fp, #-100]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L10+44
	bl	printf
	ldr	r0, [fp, #-80]
	bl	free
	ldr	r0, [fp, #-76]
	bl	free
	ldr	r0, [fp, #-72]
	bl	free
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	858993459
	.word	1072902963
	.word	-755914244
	.word	1062232653
	.word	1431655766
	.word	.LC1
	.word	1093567616
	.word	-1598689907
	.word	1051772663
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
