	.file	"605579.c"
	.intel_syntax noprefix
	.text
	.globl	dim
	.data
	.align 4
	.type	dim, @object
	.size	dim, 4
dim:
	.long	2
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 32
a:
	.zero	32
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 32
b:
	.zero	32
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 32
c:
	.zero	32
	.section	.rodata
.LC0:
	.string	" "
.LC1:
	.string	"\n"
	.text
	.globl	print
	.type	print, @function
print:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, c[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L5
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -8[rbp], 1
.L3:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L7
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print, .-print
	.globl	arraymult
	.type	arraymult, @function
arraymult:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -16[rbp], 0
	jmp	.L9
.L14:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	eax, DWORD PTR [rcx+rax]
	imul	eax, edx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rdx, rdx
	add	rdx, rcx
	add	rdx, rdx
	add	rdx, rsi
	lea	rcx, 0[0+rdx*4]
	lea	rdx, c[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	ecx, DWORD PTR -12[rbp]
	movsx	rcx, ecx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	eax, DWORD PTR [rcx+rax]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, c[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	write@PLT
	add	DWORD PTR -8[rbp], 1
.L11:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L12
	add	DWORD PTR -12[rbp], 1
.L10:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L13
	add	DWORD PTR -16[rbp], 1
.L9:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L14
	mov	eax, 0
	call	print
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	arraymult, .-arraymult
	.section	.rodata
	.align 8
.LC2:
	.string	"Enter matrix 1 of dim 2 x 2 x 2: \n"
	.align 8
.LC3:
	.string	"Enter matrix 2 of dim 2 x 2 x 2 : \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	write@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L21:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L17
.L20:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L18
.L19:
	mov	eax, 0
	call	read@PLT
	mov	edx, DWORD PTR -4[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	add	rdx, rdx
	add	rdx, rcx
	add	rdx, rdx
	add	rdx, rsi
	lea	rcx, 0[0+rdx*4]
	lea	rdx, a[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -4[rbp], 1
.L18:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L19
	add	DWORD PTR -8[rbp], 1
.L17:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L20
	add	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L21
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	write@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L22
.L27:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L23
.L26:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	eax, 0
	call	read@PLT
	mov	edx, DWORD PTR -4[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	add	rdx, rdx
	add	rdx, rcx
	add	rdx, rdx
	add	rdx, rsi
	lea	rcx, 0[0+rdx*4]
	lea	rdx, b[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L25
	add	DWORD PTR -8[rbp], 1
.L23:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L26
	add	DWORD PTR -12[rbp], 1
.L22:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L27
	mov	eax, 0
	call	arraymult
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"605579.c"
	.text
	.global	dim
	.data
	.align	2
	.type	dim, %object
	.size	dim, 4
dim:
	.word	2
	.comm	a,32,4
	.comm	b,32,4
	.comm	c,32,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	" \000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldr	r1, .L8
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r0, r3
	bl	write
	ldr	r0, .L8+4
	bl	write
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L5
	ldr	r0, .L8+12
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L6
	ldr	r0, .L8+12
	bl	write
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	c
	.word	.LC0
	.word	dim
	.word	.LC1
	.size	print, .-print
	.align	2
	.global	arraymult
	.syntax unified
	.arm
	.fpu softvfp
	.type	arraymult, %function
arraymult:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L11
.L16:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L14:
	ldr	r1, .L17
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	ldr	r0, .L17+4
	ldr	r2, [fp, #-20]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	lsl	r1, r2, #1
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	ldr	r2, [r0, r2, lsl #2]
	mul	r2, r3, r2
	ldr	r0, .L17+8
	ldr	r3, [fp, #-20]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	lsl	r1, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r1, r3
	str	r2, [r0, r3, lsl #2]
	ldr	r1, .L17
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	ldr	r0, .L17+4
	ldr	r2, [fp, #-20]
	lsl	r1, r2, #1
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	lsl	r1, r2, #1
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	ldr	r2, [r0, r2, lsl #2]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, .L17+8
	ldr	r3, [fp, #-20]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	mov	r0, r3
	bl	write
	ldr	r0, .L17+12
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L16
	bl	print
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	a
	.word	b
	.word	c
	.word	.LC1
	.word	dim
	.size	arraymult, .-arraymult
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter matrix 1 of dim 2 x 2 x 2: \012\000"
	.align	2
.LC3:
	.ascii	"Enter matrix 2 of dim 2 x 2 x 2 : \012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r0, .L33
	bl	write
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L20
.L25:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L21
.L24:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	bl	read
	mov	r1, r0
	ldr	r0, .L33+4
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L25
	ldr	r0, .L33+12
	bl	write
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L26
.L31:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L27
.L30:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L29:
	bl	read
	mov	r1, r0
	ldr	r0, .L33+16
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	lsl	r2, r3, #1
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L27:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L31
	bl	arraymult
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	a
	.word	dim
	.word	.LC3
	.word	b
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
