	.file	"169617.c"
	.intel_syntax noprefix
	.text
	.globl	matrixMult
	.type	matrixMult, @function
matrixMult:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 8[rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rdx]
	movsx	rsi, edx
	movsx	rdx, ecx
	sal	rdx, 2
	add	rdx, rsi
	add	rdx, 32
	mov	DWORD PTR [rax+rdx*4], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 8[rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rdx]
	movsx	rsi, edx
	movsx	rdx, ecx
	sal	rdx, 2
	add	rdx, rsi
	add	rdx, 32
	mov	edi, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rdx]
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rdx]
	movsx	rsi, edx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rsi
	add	rdx, 16
	mov	eax, DWORD PTR [rax+rdx*4]
	imul	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR 8[rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rdx]
	add	ecx, edi
	movsx	rdi, edx
	movsx	rdx, esi
	sal	rdx, 2
	add	rdx, rdi
	add	rdx, 32
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L3
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE6:
	.size	matrixMult, .-matrixMult
	.section	.rodata
.LC0:
	.string	"Enter %dx%d matrix 1\n:"
.LC1:
	.string	"%d"
.LC2:
	.string	"Enter %dx%d matrix 2\n:"
.LC3:
	.string	"Result:"
.LC4:
	.string	"%d "
	.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, 624
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -464[rbp]
	mov	eax, 0
	mov	ecx, 24
	mov	rdi, rdx
	rep stosq
	mov	edx, 4
	mov	esi, 4
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -624[rbp], 0
	jmp	.L5
.L8:
	mov	DWORD PTR -620[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -464[rbp]
	mov	eax, DWORD PTR -620[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -624[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -620[rbp], 1
.L6:
	cmp	DWORD PTR -620[rbp], 3
	jle	.L7
	add	DWORD PTR -624[rbp], 1
.L5:
	cmp	DWORD PTR -624[rbp], 3
	jle	.L8
	mov	edx, 4
	mov	esi, 4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -616[rbp], 0
	jmp	.L9
.L12:
	mov	DWORD PTR -612[rbp], 0
	jmp	.L10
.L11:
	lea	rdx, -464[rbp]
	mov	eax, DWORD PTR -612[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	add	rax, 16
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -612[rbp], 1
.L10:
	cmp	DWORD PTR -612[rbp], 3
	jle	.L11
	add	DWORD PTR -616[rbp], 1
.L9:
	cmp	DWORD PTR -616[rbp], 3
	jle	.L12
	mov	DWORD PTR -608[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -604[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -604[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -272[rax]
	lea	rax, -464[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -604[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -264[rax]
	mov	eax, DWORD PTR -608[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -604[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -260[rax]
	mov	eax, DWORD PTR -604[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rdx, -272[rbp]
	mov	eax, DWORD PTR -604[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rcx, -592[rbp]
	mov	eax, DWORD PTR -604[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -608[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, matrixMult[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -604[rbp], 1
.L14:
	cmp	DWORD PTR -604[rbp], 3
	jle	.L15
	add	DWORD PTR -608[rbp], 1
.L13:
	cmp	DWORD PTR -608[rbp], 3
	jle	.L16
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -600[rbp], 0
	jmp	.L17
.L20:
	mov	DWORD PTR -596[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -600[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rax, QWORD PTR -592[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -596[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -600[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	add	rax, 32
	mov	eax, DWORD PTR -464[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -596[rbp], 1
.L18:
	cmp	DWORD PTR -596[rbp], 3
	jle	.L19
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -600[rbp], 1
.L17:
	cmp	DWORD PTR -600[rbp], 3
	jle	.L20
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"169617.c"
	.text
	.align	2
	.global	matrixMult
	.syntax unified
	.arm
	.fpu softvfp
	.type	matrixMult, %function
matrixMult:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [r2, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #8]
	lsl	r1, r1, #2
	add	r2, r1, r2
	add	r2, r2, #32
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [r2, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #8]
	lsl	r1, r1, #2
	add	r2, r1, r2
	add	r2, r2, #32
	ldr	ip, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	lsl	r1, r2, #2
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	ldr	r1, [fp, #-8]
	ldr	r1, [r1, #8]
	ldr	r0, [fp, #-12]
	lsl	r0, r0, #2
	add	r1, r0, r1
	add	r1, r1, #16
	ldr	r2, [r2, r1, lsl #2]
	mul	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r0, [r2, #4]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #8]
	add	r1, ip, r1
	lsl	r0, r0, #2
	add	r2, r0, r2
	add	r2, r2, #32
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L3
	mov	r0, #0
	bl	pthread_exit
	.size	matrixMult, .-matrixMult
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter %dx%d matrix 1\012:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter %dx%d matrix 2\012:\000"
	.align	2
.LC3:
	.ascii	"Result:\000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 488
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #488
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #392
	mov	r2, #192
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #4
	mov	r1, #4
	ldr	r0, .L23+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L5
.L8:
	mov	r3, #0
	str	r3, [fp, #-484]
	b	.L6
.L7:
	sub	r2, fp, #392
	ldr	r3, [fp, #-488]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-484]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-484]
.L6:
	ldr	r3, [fp, #-484]
	cmp	r3, #3
	ble	.L7
	ldr	r3, [fp, #-488]
	add	r3, r3, #1
	str	r3, [fp, #-488]
.L5:
	ldr	r3, [fp, #-488]
	cmp	r3, #3
	ble	.L8
	mov	r2, #4
	mov	r1, #4
	ldr	r0, .L23+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-480]
	b	.L9
.L12:
	mov	r3, #0
	str	r3, [fp, #-476]
	b	.L10
.L11:
	sub	r2, fp, #392
	ldr	r3, [fp, #-480]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-476]
	add	r3, r1, r3
	add	r3, r3, #16
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L10:
	ldr	r3, [fp, #-476]
	cmp	r3, #3
	ble	.L11
	ldr	r3, [fp, #-480]
	add	r3, r3, #1
	str	r3, [fp, #-480]
.L9:
	ldr	r3, [fp, #-480]
	cmp	r3, #3
	ble	.L12
	mov	r3, #0
	str	r3, [fp, #-472]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-468]
	b	.L14
.L15:
	ldr	r3, [fp, #-468]
	ldr	r1, [fp, #-472]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #196
	sub	r2, fp, #392
	str	r2, [r3]
	ldr	r3, [fp, #-468]
	ldr	r1, [fp, #-472]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #192
	ldr	r2, [fp, #-472]
	str	r2, [r3]
	ldr	r3, [fp, #-468]
	ldr	r1, [fp, #-472]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #188
	ldr	r2, [fp, #-468]
	str	r2, [r3]
	sub	r2, fp, #456
	ldr	r3, [fp, #-472]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-468]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	ip, r2, r3
	sub	r0, fp, #200
	ldr	r3, [fp, #-468]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r1, [fp, #-472]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r0, r3
	ldr	r2, .L23+16
	mov	r1, #0
	mov	r0, ip
	bl	pthread_create
	ldr	r3, [fp, #-468]
	add	r3, r3, #1
	str	r3, [fp, #-468]
.L14:
	ldr	r3, [fp, #-468]
	cmp	r3, #3
	ble	.L15
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L13:
	ldr	r3, [fp, #-472]
	cmp	r3, #3
	ble	.L16
	ldr	r0, .L23+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-464]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-460]
	b	.L18
.L19:
	ldr	r3, [fp, #-464]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-460]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-452]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-464]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-460]
	add	r3, r2, r3
	add	r3, r3, #32
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-388]
	mov	r1, r3
	ldr	r0, .L23+24
	bl	printf
	ldr	r3, [fp, #-460]
	add	r3, r3, #1
	str	r3, [fp, #-460]
.L18:
	ldr	r3, [fp, #-460]
	cmp	r3, #3
	ble	.L19
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-464]
	add	r3, r3, #1
	str	r3, [fp, #-464]
.L17:
	ldr	r3, [fp, #-464]
	cmp	r3, #3
	ble	.L20
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	matrixMult
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
