	.file	"640404.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%.0lf "
	.text
	.globl	print_matrix
	.type	print_matrix, @function
print_matrix:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, DWORD PTR -40[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -24[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	movq	xmm0, rax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -32[rbp], 1
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L4
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L5
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_matrix, .-print_matrix
	.globl	multiply
	.type	multiply, @function
multiply:
.LFB7:
	.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	DWORD PTR -92[rbp], edx
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -112[rbp], r8
	mov	QWORD PTR -120[rbp], r9
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	mov	edx, DWORD PTR -92[rbp]
	movsx	rcx, edx
	sub	rcx, 1
	mov	QWORD PTR -48[rbp], rcx
	movsx	rcx, edx
	mov	r12, rcx
	mov	r13d, 0
	mov	ecx, DWORD PTR -92[rbp]
	movsx	rsi, ecx
	sub	rsi, 1
	mov	QWORD PTR -40[rbp], rsi
	movsx	rsi, ecx
	mov	r10, rsi
	mov	r11d, 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L7
.L12:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L8
.L11:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L9
.L10:
	mov	esi, DWORD PTR -68[rbp]
	movsx	rdi, esi
	movsx	rsi, eax
	imul	rsi, rdi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -104[rbp]
	add	rdi, rsi
	mov	esi, DWORD PTR -72[rbp]
	movsx	rsi, esi
	movsd	xmm1, QWORD PTR [rdi+rsi*8]
	mov	esi, DWORD PTR -72[rbp]
	movsx	rdi, esi
	movsx	rsi, edx
	imul	rsi, rdi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -112[rbp]
	add	rdi, rsi
	mov	esi, DWORD PTR -76[rbp]
	movsx	rsi, esi
	movsd	xmm0, QWORD PTR [rdi+rsi*8]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	add	DWORD PTR -72[rbp], 1
.L9:
	mov	esi, DWORD PTR -72[rbp]
	cmp	esi, DWORD PTR -88[rbp]
	jl	.L10
	mov	esi, DWORD PTR -68[rbp]
	movsx	rdi, esi
	movsx	rsi, ecx
	imul	rsi, rdi
	lea	rdi, 0[0+rsi*8]
	mov	rsi, QWORD PTR -120[rbp]
	add	rdi, rsi
	mov	esi, DWORD PTR -76[rbp]
	movsx	rsi, esi
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR [rdi+rsi*8], xmm0
	add	DWORD PTR -68[rbp], 1
.L8:
	mov	esi, DWORD PTR -68[rbp]
	cmp	esi, DWORD PTR -84[rbp]
	jl	.L11
	add	DWORD PTR -76[rbp], 1
.L7:
	mov	esi, DWORD PTR -76[rbp]
	cmp	esi, DWORD PTR -92[rbp]
	jl	.L12
	nop
	nop
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	multiply, .-multiply
	.section	.rodata
.LC2:
	.string	"Matrix1:"
.LC3:
	.string	"Matrix2:"
.LC4:
	.string	"Matrix3:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	DWORD PTR -244[rbp], edi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -232[rbp], 0
	jmp	.L14
.L17:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L15
.L16:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -232[rbp]
	mov	eax, DWORD PTR -228[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movsd	QWORD PTR -224[rbp+rax*8], xmm0
	add	DWORD PTR -228[rbp], 1
.L15:
	cmp	DWORD PTR -228[rbp], 1
	jle	.L16
	add	DWORD PTR -232[rbp], 1
.L14:
	cmp	DWORD PTR -232[rbp], 2
	jle	.L17
	mov	DWORD PTR -232[rbp], 0
	jmp	.L18
.L21:
	mov	DWORD PTR -228[rbp], 0
	jmp	.L19
.L20:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -228[rbp]
	mov	eax, DWORD PTR -228[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movsd	QWORD PTR -176[rbp+rax*8], xmm0
	add	DWORD PTR -228[rbp], 1
.L19:
	cmp	DWORD PTR -228[rbp], 3
	jle	.L20
	add	DWORD PTR -232[rbp], 1
.L18:
	cmp	DWORD PTR -232[rbp], 1
	jle	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -224[rbp]
	mov	rdx, rax
	mov	esi, 2
	mov	edi, 3
	call	print_matrix
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -176[rbp]
	mov	rdx, rax
	mov	esi, 4
	mov	edi, 2
	call	print_matrix
	lea	rcx, -112[rbp]
	lea	rdx, -176[rbp]
	lea	rax, -224[rbp]
	mov	r9, rcx
	mov	r8, rdx
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 2
	mov	edi, 3
	call	multiply
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -112[rbp]
	mov	rdx, rax
	mov	esi, 4
	mov	edi, 3
	call	print_matrix
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"640404.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.0lf \000"
	.text
	.align	2
	.global	print_matrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_matrix, %function
print_matrix:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r4, [fp, #-36]
	sub	r3, r4, #1
	str	r3, [fp, #-16]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L3
.L4:
	mov	r2, r4
	ldr	r3, [fp, #-20]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L6
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L3:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L4
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L5
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	print_matrix, .-print_matrix
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	multiply
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiply, %function
multiply:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r4, [fp, #-60]
	sub	r3, r4, #1
	str	r3, [fp, #-52]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r5, [fp, #-64]
	sub	r3, r5, #1
	str	r3, [fp, #-36]
	mov	r3, r5
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	ldr	r6, [fp, #-64]
	sub	r3, r6, #1
	str	r3, [fp, #-32]
	mov	r3, r6
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L9
.L14:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L10
.L13:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L11
.L12:
	mov	r2, r4
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r5
	ldr	r3, [fp, #-44]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L11:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L12
	mov	r2, r6
	ldr	r3, [fp, #-40]
	mul	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L9:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
	.size	multiply, .-multiply
	.global	__aeabi_i2d
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Matrix1:\000"
	.align	2
.LC2:
	.ascii	"Matrix2:\000"
	.align	2
.LC3:
	.ascii	"Matrix3:\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L16
.L19:
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L17
.L18:
	ldr	r0, [fp, #-228]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-228]
	lsl	r0, r1, #1
	ldr	r1, [fp, #-224]
	add	r1, r0, r1
	lsl	r1, r1, #3
	sub	r0, fp, #4
	add	r1, r0, r1
	sub	r1, r1, #216
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L17:
	ldr	r3, [fp, #-224]
	cmp	r3, #1
	ble	.L18
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L16:
	ldr	r3, [fp, #-228]
	cmp	r3, #2
	ble	.L19
	mov	r3, #0
	str	r3, [fp, #-228]
	b	.L20
.L23:
	mov	r3, #0
	str	r3, [fp, #-224]
	b	.L21
.L22:
	ldr	r0, [fp, #-224]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-228]
	lsl	r0, r1, #2
	ldr	r1, [fp, #-224]
	add	r1, r0, r1
	lsl	r1, r1, #3
	sub	r0, fp, #4
	add	r1, r0, r1
	sub	r1, r1, #168
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
.L21:
	ldr	r3, [fp, #-224]
	cmp	r3, #3
	ble	.L22
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
.L20:
	ldr	r3, [fp, #-228]
	cmp	r3, #1
	ble	.L23
	ldr	r0, .L26+4
	bl	puts
	sub	r3, fp, #220
	mov	r2, r3
	mov	r1, #2
	mov	r0, #3
	bl	print_matrix
	ldr	r0, .L26+8
	bl	puts
	sub	r3, fp, #172
	mov	r2, r3
	mov	r1, #4
	mov	r0, #2
	bl	print_matrix
	sub	r2, fp, #220
	sub	r3, fp, #108
	str	r3, [sp, #4]
	sub	r3, fp, #172
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #4
	mov	r1, #2
	mov	r0, #3
	bl	multiply
	ldr	r0, .L26+12
	bl	puts
	sub	r3, fp, #108
	mov	r2, r3
	mov	r1, #4
	mov	r0, #3
	bl	print_matrix
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
