	.file	"762555.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the rows,cols and height of the array"
.LC1:
	.string	"%d %d %d"
.LC2:
	.string	"%d"
.LC3:
	.string	"Entered elments of the array"
.LC4:
	.string	"----"
.LC5:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	push	rbx
	sub	rsp, 200
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -232[rbp], rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rcx, -92[rbp]
	lea	rdx, -96[rbp]
	lea	rax, -100[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, DWORD PTR -92[rbp]
	mov	r8d, DWORD PTR -96[rbp]
	mov	r9d, DWORD PTR -100[rbp]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	movsx	rax, edi
	sal	rax, 2
	mov	QWORD PTR -224[rbp], rax
	movsx	rax, r8d
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, edi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, r8d
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, edi
	movsx	rax, r8d
	imul	rax, rdx
	lea	r14, 0[0+rax*4]
	movsx	rax, r9d
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	movsx	rax, r8d
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	rdx, rbx
	mov	r10, QWORD PTR -144[rbp]
	mov	r11, QWORD PTR -136[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, rcx
	lea	rsi, [rdx+rax]
	mov	rax, rcx
	mul	r10
	mov	rcx, rax
	mov	rbx, rdx
	lea	rax, [rsi+rbx]
	mov	rbx, rax
	movsx	rax, r9d
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	mov	r10, QWORD PTR -160[rbp]
	mov	r11, QWORD PTR -152[rbp]
	mov	rdx, r10
	imul	rdx, rbx
	mov	rax, r11
	imul	rax, rcx
	lea	rsi, [rdx+rax]
	mov	rax, r10
	mul	rcx
	lea	rcx, [rsi+rdx]
	mov	rdx, rcx
	movsx	rax, edi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	movsx	rax, r8d
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	mov	rbx, QWORD PTR -176[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	mov	rdx, rsi
	mov	r10, QWORD PTR -192[rbp]
	mov	r11, QWORD PTR -184[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, rbx
	lea	rcx, [rdx+rax]
	mov	rax, rbx
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rcx, r9d
	mov	QWORD PTR -208[rbp], rcx
	mov	QWORD PTR -200[rbp], 0
	mov	r10, QWORD PTR -208[rbp]
	mov	r11, QWORD PTR -200[rbp]
	mov	rsi, r10
	imul	rsi, rdx
	mov	rcx, r11
	imul	rcx, rax
	add	rcx, rsi
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, edi
	movsx	rax, r8d
	imul	rdx, rax
	movsx	rax, r9d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	ebx, 0
	jmp	.L5
.L10:
	mov	r12d, 0
	jmp	.L6
.L9:
	mov	r13d, 0
	jmp	.L7
.L8:
	mov	rcx, r14
	shr	rcx, 2
	mov	rdx, QWORD PTR -224[rbp]
	shr	rdx, 2
	movsx	rsi, r13d
	movsx	rax, ebx
	imul	rcx, rax
	movsx	rax, r12d
	imul	rax, rdx
	add	rax, rcx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	r13d, 1
.L7:
	mov	eax, DWORD PTR -92[rbp]
	cmp	r13d, eax
	jl	.L8
	add	r12d, 1
.L6:
	mov	eax, DWORD PTR -96[rbp]
	cmp	r12d, eax
	jl	.L9
	add	ebx, 1
.L5:
	mov	eax, DWORD PTR -100[rbp]
	cmp	ebx, eax
	jl	.L10
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	ebx, 0
	jmp	.L11
.L16:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	r12d, 0
	jmp	.L12
.L15:
	mov	r13d, 0
	jmp	.L13
.L14:
	mov	rsi, r14
	shr	rsi, 2
	mov	rcx, QWORD PTR -224[rbp]
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	movsx	rdi, r13d
	movsx	rdx, ebx
	imul	rsi, rdx
	movsx	rdx, r12d
	imul	rdx, rcx
	lea	rcx, [rdi+rsi]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	r13d, 1
.L13:
	mov	eax, DWORD PTR -92[rbp]
	cmp	r13d, eax
	jl	.L14
	mov	edi, 10
	call	putchar@PLT
	add	r12d, 1
.L12:
	mov	eax, DWORD PTR -96[rbp]
	cmp	r12d, eax
	jl	.L15
	add	ebx, 1
.L11:
	mov	eax, DWORD PTR -100[rbp]
	cmp	ebx, eax
	jl	.L16
	mov	rsp, QWORD PTR -232[rbp]
	mov	eax, 0
	mov	rdi, QWORD PTR -56[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"762555.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the rows,cols and height of the array\000"
	.align	2
.LC1:
	.ascii	"%d %d %d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Entered elments of the array\000"
	.align	2
.LC4:
	.ascii	"----\000"
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #36
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	mov	r10, r3
	ldr	r0, .L16+4
	bl	puts
	sub	r3, fp, #60
	sub	r2, fp, #64
	sub	r1, fp, #68
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	ip, [fp, #-60]
	ldr	lr, [fp, #-64]
	ldr	r6, [fp, #-68]
	sub	r3, ip, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r7, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-52]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r8, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r8, r3, #2
	sub	r3, r6, #1
	str	r3, [fp, #-48]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r2, r3
	mov	r3, #0
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	r9, r0, r1
	umull	r0, r1, r4, r2
	add	r3, r9, r1
	mov	r1, r3
	mov	r3, r6
	mov	r4, r3
	mov	r5, #0
	mul	r2, r4, r1
	mul	r3, r0, r5
	add	r9, r2, r3
	umull	r2, r3, r0, r4
	add	r1, r9, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r2, r3
	mov	r3, #0
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	r9, r0, r1
	umull	r0, r1, r4, r2
	add	r3, r9, r1
	mov	r1, r3
	mov	r3, r6
	mov	r4, r3
	mov	r5, #0
	mul	r2, r4, r1
	mul	r3, r0, r5
	add	r9, r2, r3
	umull	r2, r3, r0, r4
	add	r1, r9, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	mov	r2, r6
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	mov	r4, #0
	b	.L2
.L7:
	mov	r5, #0
	b	.L3
.L6:
	mov	r6, #0
	b	.L4
.L5:
	lsr	r3, r8, #2
	lsr	r2, r7, #2
	mul	r2, r5, r2
	mul	r3, r4, r3
	add	r3, r2, r3
	add	r3, r3, r6
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L16+12
	bl	__isoc99_scanf
	add	r6, r6, #1
.L4:
	ldr	r3, [fp, #-60]
	cmp	r6, r3
	blt	.L5
	add	r5, r5, #1
.L3:
	ldr	r3, [fp, #-64]
	cmp	r5, r3
	blt	.L6
	add	r4, r4, #1
.L2:
	ldr	r3, [fp, #-68]
	cmp	r4, r3
	blt	.L7
	ldr	r0, .L16+16
	bl	puts
	mov	r4, #0
	b	.L8
.L13:
	ldr	r0, .L16+20
	bl	puts
	mov	r5, #0
	b	.L9
.L12:
	mov	r6, #0
	b	.L10
.L11:
	lsr	r2, r8, #2
	lsr	r1, r7, #2
	ldr	r3, [fp, #-44]
	mul	r1, r5, r1
	mul	r2, r4, r2
	add	r1, r6, r1
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L16+24
	bl	printf
	add	r6, r6, #1
.L10:
	ldr	r3, [fp, #-60]
	cmp	r6, r3
	blt	.L11
	mov	r0, #10
	bl	putchar
	add	r5, r5, #1
.L9:
	ldr	r3, [fp, #-64]
	cmp	r5, r3
	blt	.L12
	add	r4, r4, #1
.L8:
	ldr	r3, [fp, #-68]
	cmp	r4, r3
	blt	.L13
	mov	sp, r10
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
