	.file	"extr_matmul_c.c_mm_mul.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mm_mul
	.type	mm_mul, @function
mm_mul:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	mm_init@PLT
	mov	edi, ebp
	mov	r12, rax
	call	mm_init@PLT
	mov	r9, rax
	test	ebp, ebp
	jle	.L2
	lea	ecx, -1[rbp]
	xor	esi, esi
	lea	r8, 8[0+rcx*8]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR [r9+rsi]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR 0[r13+rax*8]
	movsd	xmm0, QWORD PTR [rdx+rsi]
	mov	rdx, rax
	movsd	QWORD PTR [rdi+rax*8], xmm0
	add	rax, 1
	cmp	rcx, rdx
	jne	.L4
	add	rsi, 8
	cmp	r8, rsi
	jne	.L3
	xor	r11d, r11d
	pxor	xmm2, xmm2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rbx+r11*8]
	mov	r10, QWORD PTR [r12+r11*8]
	xor	r8d, r8d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR [r9+r8*8]
	xor	eax, eax
	movapd	xmm1, xmm2
	.p2align 4,,10
	.p2align 3
.L6:
	movsd	xmm0, QWORD PTR [rdi+rax*8]
	mulsd	xmm0, QWORD PTR [rsi+rax*8]
	mov	rdx, rax
	add	rax, 1
	addsd	xmm1, xmm0
	cmp	rcx, rdx
	jne	.L6
	movsd	QWORD PTR [r10+r8*8], xmm1
	lea	rax, 1[r8]
	cmp	rcx, r8
	je	.L15
	mov	r8, rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rax, 1[r11]
	cmp	rcx, r11
	je	.L2
	mov	r11, rax
	jmp	.L5
.L2:
	mov	edi, ebp
	mov	rsi, r9
	call	mm_destroy@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mm_mul, .-mm_mul
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_matmul_c.c_mm_mul.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	mm_mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	mm_mul, %function
mm_mul:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #44
	mov	r5, r0
	mov	r4, r1
	mov	r8, r2
	str	r0, [sp, #36]
	bl	mm_init
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #32]
	bl	mm_init
	cmp	r5, #0
	str	r0, [sp, #28]
	ble	.L2
	mov	ip, #0
	lsl	r6, r5, #2
	sub	r8, r8, #4
	sub	r5, r6, #4
	sub	r7, r0, #4
	str	r7, [sp, #24]
	add	r9, r0, r5
	add	lr, r8, r6
.L3:
	mov	r2, r8
	ldr	r1, [r7, #4]!
.L4:
	ldr	r3, [r2, #4]!
	add	r3, r3, ip
	cmp	r2, lr
	ldmia	r3, {r10-fp}
	stm	r1!, {r10-fp}
	bne	.L4
	cmp	r9, r7
	add	ip, ip, #8
	bne	.L3
	sub	r3, r4, #4
	str	r3, [sp, #8]
	add	r3, r3, r6
	str	r3, [sp, #16]
	ldr	r3, [sp, #28]
	add	r3, r3, r5
	str	r3, [sp, #4]
	ldr	r3, [sp, #32]
	sub	r3, r3, #4
	str	r3, [sp, #12]
	ldr	r3, [sp, #36]
	lsl	r3, r3, #3
	str	r3, [sp, #20]
.L8:
	ldr	r3, [sp, #8]
	ldr	r9, [sp, #24]
	ldr	fp, [r3, #4]!
	str	r3, [sp, #8]
	ldr	r3, [sp, #12]
	ldr	r10, [r3, #4]!
	str	r3, [sp, #12]
	ldr	r3, [sp, #20]
	add	r8, fp, r3
.L7:
	mov	r6, fp
	mov	r4, #0
	mov	r5, #0
	ldr	r7, [r9, #4]!
.L6:
	ldmia	r7!, {r2-r3}
	ldmia	r6!, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	cmp	r8, r6
	mov	r4, r0
	mov	r5, r1
	bne	.L6
	ldr	r3, [sp, #4]
	stm	r10!, {r4-r5}
	cmp	r3, r9
	bne	.L7
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #8]
	cmp	r3, r2
	bne	.L8
.L2:
	ldr	r1, [sp, #28]
	ldr	r0, [sp, #36]
	bl	mm_destroy
	ldr	r0, [sp, #32]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	mm_mul, .-mm_mul
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
