	.file	"154831250.c"
	.intel_syntax noprefix
	.text
	.globl	value
	.bss
	.align 4
	.type	value, @object
	.size	value, 4
value:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.section	.rodata
.LC0:
	.string	"number = "
.LC1:
	.string	"%u"
.LC2:
	.string	"pow = "
.LC3:
	.string	"\n\nResult of 1st task = %u\n"
.LC4:
	.string	"\nProduct of matrices="
.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
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	power2
	mov	DWORD PTR -36[rbp], eax
	mov	eax, 0
	call	multiplicationOfMatrix
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	mov	eax, DWORD PTR -32[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L3:
	cmp	DWORD PTR -40[rbp], 1
	jle	.L4
	add	DWORD PTR -44[rbp], 1
.L2:
	cmp	DWORD PTR -44[rbp], 1
	jle	.L5
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	power2
	.type	power2, @function
power2:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	power2, .-power2
	.section	.rodata
.LC6:
	.string	"Elements of 1st matrix="
.LC7:
	.string	"%d"
.LC8:
	.string	"Elements of 2nd matrix="
	.text
	.globl	multiplicationOfMatrix
	.type	multiplicationOfMatrix, @function
multiplicationOfMatrix:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L11
.L14:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L12
.L13:
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -72[rbp], 1
.L12:
	cmp	DWORD PTR -72[rbp], 1
	jle	.L13
	add	DWORD PTR -76[rbp], 1
.L11:
	cmp	DWORD PTR -76[rbp], 1
	jle	.L14
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L15
.L18:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L16
.L17:
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -72[rbp], 1
.L16:
	cmp	DWORD PTR -72[rbp], 1
	jle	.L17
	add	DWORD PTR -76[rbp], 1
.L15:
	cmp	DWORD PTR -76[rbp], 1
	jle	.L18
	mov	DWORD PTR -76[rbp], 0
	jmp	.L19
.L22:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	mov	DWORD PTR -32[rbp+rax*4], 0
	add	DWORD PTR -72[rbp], 1
.L20:
	cmp	DWORD PTR -72[rbp], 1
	jle	.L21
	add	DWORD PTR -76[rbp], 1
.L19:
	cmp	DWORD PTR -76[rbp], 1
	jle	.L22
	mov	DWORD PTR -76[rbp], 0
	jmp	.L23
.L28:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L24
.L27:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	mov	ecx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	add	rax, rax
	add	rax, rsi
	mov	eax, DWORD PTR -48[rbp+rax*4]
	imul	eax, edx
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, rax
	add	rax, rcx
	mov	DWORD PTR -32[rbp+rax*4], edx
	add	DWORD PTR -68[rbp], 1
.L25:
	cmp	DWORD PTR -68[rbp], 1
	jle	.L26
	add	DWORD PTR -72[rbp], 1
.L24:
	cmp	DWORD PTR -72[rbp], 1
	jle	.L27
	add	DWORD PTR -76[rbp], 1
.L23:
	cmp	DWORD PTR -76[rbp], 1
	jle	.L28
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	multiplicationOfMatrix, .-multiplicationOfMatrix
	.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	"154831250.c"
	.text
	.comm	value,4,4
	.comm	n,4,4
	.comm	p,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"number = \000"
	.align	2
.LC1:
	.ascii	"%u\000"
	.align	2
.LC2:
	.ascii	"pow = \000"
	.align	2
.LC3:
	.ascii	"\012\012Result of 1st task = %u\012\000"
	.align	2
.LC4:
	.ascii	"\012Product of matrices=\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 = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L8+4
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+12
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	power2
	str	r0, [fp, #-28]
	bl	multiplicationOfMatrix
	ldr	r1, [fp, #-28]
	ldr	r0, .L8+16
	bl	printf
	ldr	r0, .L8+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L4:
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	mov	r1, r3
	ldr	r0, .L8+24
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	ble	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L2:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L5
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.align	2
	.global	power2
	.syntax unified
	.arm
	.fpu softvfp
	.type	power2, %function
power2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	power2, .-power2
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Elements of 1st matrix=\000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"Elements of 2nd matrix=\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiplicationOfMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiplicationOfMatrix, %function
multiplicationOfMatrix:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L32+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L13
.L16:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L14
.L15:
	sub	r2, fp, #56
	ldr	r3, [fp, #-68]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L14:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L15
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	ble	.L16
	ldr	r0, .L32+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L18
.L19:
	sub	r2, fp, #40
	ldr	r3, [fp, #-68]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L18:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L19
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L17:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	ble	.L20
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L21
.L24:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L22
.L23:
	ldr	r3, [fp, #-68]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L22:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L23
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L21:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	ble	.L24
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L25
.L30:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L26
.L29:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L27
.L28:
	ldr	r3, [fp, #-68]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-20]
	ldr	r3, [fp, #-68]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-60]
	add	r3, r1, r3
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-52]
	ldr	r3, [fp, #-60]
	lsl	r0, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r0, r3
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-36]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-64]
	add	r3, r1, r3
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L27:
	ldr	r3, [fp, #-60]
	cmp	r3, #1
	ble	.L28
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L26:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L29
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L25:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	ble	.L30
	nop
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	multiplicationOfMatrix, .-multiplicationOfMatrix
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
