	.file	"42918.c"
	.intel_syntax noprefix
	.text
	.globl	BMMultiply
	.type	BMMultiply, @function
BMMultiply:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 100
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L13:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L3
.L12:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L11:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L5
.L10:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L8
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L9
	add	DWORD PTR -16[rbp], 1
.L5:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L10
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -20[rbp], eax
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L11
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -24[rbp], eax
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L12
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -28[rbp], eax
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L13
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	BMMultiply, .-BMMultiply
	.section	.rodata
.LC1:
	.string	"malloc failed"
	.align 8
.LC4:
	.string	"Multiply matrices %d times...\n"
.LC6:
	.string	"Time = %lf \n"
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -112[rbp], 10
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -104[rbp], xmm0
	mov	DWORD PTR -108[rbp], 500
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	jne	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -2
	call	exit@PLT
.L15:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -96[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -120[rbp], 1
.L16:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L17
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L18
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -2
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -80[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -120[rbp], 1
.L19:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L20
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, eax
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L21
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -2
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -108[rbp]
	imul	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -120[rbp], 1
.L22:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L23
	mov	DWORD PTR -120[rbp], 0
	jmp	.L24
.L27:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -116[rbp], 1
.L25:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L26
	add	DWORD PTR -120[rbp], 1
.L24:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L27
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L28
.L29:
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	edi, eax
	call	BMMultiply
	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
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -104[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -104[rbp], xmm0
	add	DWORD PTR -120[rbp], 1
.L28:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -112[rbp]
	jl	.L29
	mov	rax, QWORD PTR -104[rbp]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@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	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.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	"42918.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	BMMultiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	BMMultiply, %function
BMMultiply:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r8, r9, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #52
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #100
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L13:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L12:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L4
.L11:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L5
.L10:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L8:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-36]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	ip, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r6, r2, r3
	mov	r2, r8
	mov	r3, r9
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L6:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L5:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L10
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L4:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L11
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L3:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L12
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L2:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L13
	nop
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r8, r9, fp, pc}
	.size	BMMultiply, .-BMMultiply
	.section	.rodata
	.align	2
.LC0:
	.ascii	"malloc failed\000"
	.align	2
.LC1:
	.ascii	"Multiply matrices %d times...\012\000"
	.global	__aeabi_i2d
	.align	2
.LC2:
	.ascii	"Time = %lf \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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #500
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L32+4
	bl	puts
	mvn	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L16
.L17:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-84]
	mul	r3, r2, r3
	lsl	r2, r3, #3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-64]
	add	r3, r1, r3
	ldr	r1, [fp, #-68]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L16:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-72]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L32+4
	bl	puts
	mvn	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L19
.L20:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-84]
	mul	r3, r2, r3
	lsl	r2, r3, #3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-56]
	add	r3, r1, r3
	ldr	r1, [fp, #-60]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L19:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-72]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L32+4
	bl	puts
	mvn	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L22
.L23:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-84]
	mul	r3, r2, r3
	lsl	r2, r3, #3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r1, [fp, #-52]
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L22:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L23
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L24
.L27:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L25
.L26:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L32+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #1073741824
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L25:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L24:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L27
	ldr	r1, [fp, #-76]
	ldr	r0, .L32+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L28
.L29:
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-72]
	bl	BMMultiply
	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	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L32+16
	ldr	r3, .L32+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L28:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	blt	.L29
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+24
	bl	printf
	ldr	r0, [fp, #-64]
	bl	free
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-48]
	bl	free
	ldr	r0, [fp, #-68]
	bl	free
	ldr	r0, [fp, #-60]
	bl	free
	ldr	r0, [fp, #-52]
	bl	free
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC3
	.word	.LC0
	.word	1072693248
	.word	.LC1
	.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
