	.file	"115765175.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nShmID: %d ShmData: %d \n"
	.align 8
.LC1:
	.string	"Enter the rows and columns of matrix 1:"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"Enter the matrix 1: "
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"\nEnter the rows and columns of matrix 2:"
.LC6:
	.string	"Enter the matrix 2: "
.LC7:
	.string	"\nCannot Multiply"
	.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, 896
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 1920
	mov	esi, 100
	mov	edi, 31
	call	shmget@PLT
	mov	DWORD PTR -860[rbp], eax
	mov	eax, DWORD PTR -860[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	shmat@PLT
	mov	QWORD PTR -848[rbp], rax
	mov	rax, QWORD PTR -848[rbp]
	mov	QWORD PTR -840[rbp], rax
	mov	rax, QWORD PTR -848[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -860[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -880[rbp]
	lea	rax, -888[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -872[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -868[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -868[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -872[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -868[rbp], 1
.L3:
	mov	eax, DWORD PTR -880[rbp]
	cmp	DWORD PTR -868[rbp], eax
	jl	.L4
	add	DWORD PTR -872[rbp], 1
.L2:
	mov	eax, DWORD PTR -888[rbp]
	cmp	DWORD PTR -872[rbp], eax
	jl	.L5
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -876[rbp]
	lea	rax, -884[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -872[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -868[rbp], 0
	jmp	.L7
.L8:
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -868[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -872[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -868[rbp], 1
.L7:
	mov	eax, DWORD PTR -876[rbp]
	cmp	DWORD PTR -868[rbp], eax
	jl	.L8
	add	DWORD PTR -872[rbp], 1
.L6:
	mov	eax, DWORD PTR -884[rbp]
	cmp	DWORD PTR -872[rbp], eax
	jl	.L9
	mov	edx, DWORD PTR -884[rbp]
	mov	eax, DWORD PTR -880[rbp]
	cmp	edx, eax
	je	.L10
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L26
.L10:
	mov	DWORD PTR -872[rbp], 0
	jmp	.L12
.L17:
	mov	DWORD PTR -868[rbp], 0
	jmp	.L13
.L16:
	mov	rax, QWORD PTR -848[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -864[rbp], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -848[rbp]
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -864[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -872[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	ecx, DWORD PTR -816[rbp+rax*4]
	mov	eax, DWORD PTR -868[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -864[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	eax, DWORD PTR -416[rbp+rax*4]
	imul	eax, ecx
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR -848[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -864[rbp], 1
.L14:
	mov	eax, DWORD PTR -880[rbp]
	cmp	DWORD PTR -864[rbp], eax
	jl	.L15
	add	QWORD PTR -848[rbp], 16
	add	DWORD PTR -868[rbp], 1
.L13:
	mov	eax, DWORD PTR -880[rbp]
	cmp	DWORD PTR -868[rbp], eax
	jl	.L16
	add	DWORD PTR -872[rbp], 1
.L12:
	mov	eax, DWORD PTR -888[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -872[rbp], eax
	jl	.L17
	call	fork@PLT
	mov	DWORD PTR -856[rbp], eax
	cmp	DWORD PTR -856[rbp], 0
	jne	.L28
	mov	eax, DWORD PTR -888[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -872[rbp], eax
	jmp	.L19
.L24:
	mov	DWORD PTR -868[rbp], 0
	jmp	.L20
.L23:
	mov	rax, QWORD PTR -848[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -864[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -848[rbp]
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -864[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -872[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	ecx, DWORD PTR -816[rbp+rax*4]
	mov	eax, DWORD PTR -868[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -864[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	eax, DWORD PTR -416[rbp+rax*4]
	imul	eax, ecx
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR -848[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -864[rbp], 1
.L21:
	mov	eax, DWORD PTR -880[rbp]
	cmp	DWORD PTR -864[rbp], eax
	jl	.L22
	add	QWORD PTR -848[rbp], 16
	add	DWORD PTR -868[rbp], 1
.L20:
	mov	eax, DWORD PTR -876[rbp]
	cmp	DWORD PTR -868[rbp], eax
	jl	.L23
	add	DWORD PTR -872[rbp], 1
.L19:
	mov	eax, DWORD PTR -888[rbp]
	cmp	DWORD PTR -872[rbp], eax
	jl	.L24
.L28:
	nop
.L25:
	lea	rax, -892[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -856[rbp], eax
	cmp	DWORD PTR -856[rbp], -1
	jne	.L25
	mov	rax, QWORD PTR -840[rbp]
	mov	QWORD PTR -848[rbp], rax
	mov	rax, QWORD PTR -848[rbp]
	mov	rdi, rax
	call	shmdt@PLT
	mov	rax, QWORD PTR -832[rbp]
	mov	rdi, rax
	call	shmdt@PLT
	mov	rdx, QWORD PTR -824[rbp]
	mov	eax, DWORD PTR -860[rbp]
	mov	esi, 0
	mov	edi, eax
	call	shmctl@PLT
	mov	rdx, QWORD PTR -824[rbp]
	mov	eax, DWORD PTR -852[rbp]
	mov	esi, 0
	mov	edi, eax
	call	shmctl@PLT
	mov	eax, 1
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"115765175.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012ShmID: %d ShmData: %d \012\000"
	.align	2
.LC1:
	.ascii	"Enter the rows and columns of matrix 1:\000"
	.align	2
.LC2:
	.ascii	"%d%d\000"
	.align	2
.LC3:
	.ascii	"Enter the matrix 1: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"\012Enter the rows and columns of matrix 2:\000"
	.align	2
.LC6:
	.ascii	"Enter the matrix 2: \000"
	.align	2
.LC7:
	.ascii	"\012Cannot Multiply\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 864
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #864
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #1920
	mov	r1, #100
	mov	r0, #31
	bl	shmget
	str	r0, [fp, #-832]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-832]
	bl	shmat
	str	r0, [fp, #-848]
	ldr	r3, [fp, #-848]
	str	r3, [fp, #-828]
	ldr	r3, [fp, #-848]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-832]
	ldr	r0, .L29+4
	bl	printf
	ldr	r0, .L29+8
	bl	printf
	sub	r2, fp, #856
	sub	r3, fp, #864
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r0, .L29+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-844]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L3
.L4:
	sub	r1, fp, #808
	ldr	r2, [fp, #-844]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-840]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L29+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L3:
	ldr	r3, [fp, #-856]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L2:
	ldr	r3, [fp, #-864]
	ldr	r2, [fp, #-844]
	cmp	r2, r3
	blt	.L5
	ldr	r0, .L29+24
	bl	printf
	sub	r2, fp, #852
	sub	r3, fp, #860
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r0, .L29+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-844]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L7
.L8:
	sub	r1, fp, #408
	ldr	r2, [fp, #-844]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-840]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L29+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L7:
	ldr	r3, [fp, #-852]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L6:
	ldr	r3, [fp, #-860]
	ldr	r2, [fp, #-844]
	cmp	r2, r3
	blt	.L9
	ldr	r2, [fp, #-860]
	ldr	r3, [fp, #-856]
	cmp	r2, r3
	beq	.L10
	ldr	r0, .L29+32
	bl	printf
	mov	r3, #0
	b	.L26
.L10:
	mov	r3, #0
	str	r3, [fp, #-844]
	b	.L12
.L17:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L13
.L16:
	ldr	r3, [fp, #-848]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-836]
	b	.L14
.L15:
	ldr	r3, [fp, #-848]
	ldr	r1, [r3]
	ldr	r2, [fp, #-844]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-836]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [r3, #-804]
	ldr	r2, [fp, #-836]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-840]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mul	r3, r0, r3
	add	r2, r1, r3
	ldr	r3, [fp, #-848]
	str	r2, [r3]
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	str	r3, [fp, #-836]
.L14:
	ldr	r3, [fp, #-856]
	ldr	r2, [fp, #-836]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-848]
	add	r3, r3, #16
	str	r3, [fp, #-848]
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L13:
	ldr	r3, [fp, #-856]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L12:
	ldr	r3, [fp, #-864]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-844]
	cmp	r3, r2
	blt	.L17
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-824]
	ldr	r3, [fp, #-824]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-864]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-844]
	b	.L19
.L24:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L20
.L23:
	ldr	r3, [fp, #-848]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-836]
	b	.L21
.L22:
	ldr	r3, [fp, #-848]
	ldr	r1, [r3]
	ldr	r2, [fp, #-844]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-836]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [r3, #-804]
	ldr	r2, [fp, #-836]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-840]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mul	r3, r0, r3
	add	r2, r1, r3
	ldr	r3, [fp, #-848]
	str	r2, [r3]
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	str	r3, [fp, #-836]
.L21:
	ldr	r3, [fp, #-856]
	ldr	r2, [fp, #-836]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-848]
	add	r3, r3, #16
	str	r3, [fp, #-848]
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L20:
	ldr	r3, [fp, #-852]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-844]
	add	r3, r3, #1
	str	r3, [fp, #-844]
.L19:
	ldr	r3, [fp, #-864]
	ldr	r2, [fp, #-844]
	cmp	r2, r3
	blt	.L24
.L28:
	nop
.L25:
	sub	r3, fp, #868
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-824]
	ldr	r3, [fp, #-824]
	cmn	r3, #1
	bne	.L25
	ldr	r3, [fp, #-828]
	str	r3, [fp, #-848]
	ldr	r0, [fp, #-848]
	bl	shmdt
	ldr	r0, [fp, #-820]
	bl	shmdt
	ldr	r2, [fp, #-816]
	mov	r1, #0
	ldr	r0, [fp, #-832]
	bl	shmctl
	ldr	r2, [fp, #-816]
	mov	r1, #0
	ldr	r0, [fp, #-812]
	bl	shmctl
	mov	r3, #1
.L26:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
