	.file	"97012181.c"
	.intel_syntax noprefix
	.text
	.globl	multiplyMatrix
	.type	multiplyMatrix, @function
multiplyMatrix:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, rdx
	imul	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	imul	rax, rdx
	add	rax, rcx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, rdx
	imul	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR 8[rax]
	imul	rax, rdx
	add	rax, rcx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, rdx
	imul	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	imul	rax, rdx
	add	rax, rcx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, rdx
	imul	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR 8[rax]
	imul	rax, rdx
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rdx], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	multiplyMatrix, .-multiplyMatrix
	.globl	powerMatrix
	.type	powerMatrix, @function
powerMatrix:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 1
	mov	QWORD PTR -40[rbp], 1
	mov	QWORD PTR -32[rbp], 1
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -52[rbp], 2
	jmp	.L3
.L4:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	multiplyMatrix
	add	DWORD PTR -52[rbp], 1
.L3:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jle	.L4
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	powerMatrix, .-powerMatrix
	.globl	fibonacci
	.type	fibonacci, @function
fibonacci:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 1
	mov	QWORD PTR -40[rbp], 1
	mov	QWORD PTR -32[rbp], 1
	mov	QWORD PTR -24[rbp], 0
	cmp	DWORD PTR -52[rbp], 0
	js	.L7
	cmp	DWORD PTR -52[rbp], 90
	jle	.L8
.L7:
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 1
	mov	rax, -1
	jmp	.L11
.L8:
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -52[rbp], 0
	jne	.L10
	mov	eax, 0
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, -1[rax]
	lea	rax, -48[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	powerMatrix
	mov	rax, QWORD PTR -48[rbp]
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	fibonacci, .-fibonacci
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter your index for Fibonacci number:"
.LC1:
	.string	"%d"
.LC2:
	.string	"This index i too large!"
.LC3:
	.string	"F_%d = %llu"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	mov	BYTE PTR -21[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, -21[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fibonacci
	mov	QWORD PTR -16[rbp], rax
	movzx	eax, BYTE PTR -21[rbp]
	test	al, al
	je	.L14
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L15:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"97012181.c"
	.text
	.align	2
	.global	multiplyMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiplyMatrix, %function
multiplyMatrix:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-64]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	mul	lr, r2, r1
	mul	ip, r0, r3
	add	ip, lr, ip
	umull	r6, r7, r0, r2
	add	r3, ip, r7
	mov	r7, r3
	ldr	r3, [fp, #-64]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	ldmia	r3, {r4-r5}
	mul	r2, r4, r1
	mul	r3, r0, r5
	add	ip, r2, r3
	umull	r2, r3, r0, r4
	add	r1, ip, r3
	mov	r3, r1
	adds	r1, r6, r2
	str	r1, [fp, #-76]
	adc	r3, r7, r3
	str	r3, [fp, #-72]
	sub	r4, fp, #76
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-60]
	str	r4, [fp, #-56]
	ldr	r3, [fp, #-64]
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	ip, r0, r1
	umull	r0, r1, r4, r2
	add	r3, ip, r1
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r7, r3, #8
	ldmia	r7, {r6-r7}
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	mul	r2, r4, r7
	mul	r3, r6, r5
	add	ip, r2, r3
	umull	r2, r3, r6, r4
	add	ip, ip, r3
	mov	r3, ip
	adds	ip, r0, r2
	str	ip, [fp, #-84]
	adc	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r4, fp, #84
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-52]
	str	r4, [fp, #-48]
	ldr	r3, [fp, #-64]
	add	r3, r3, #16
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	ip, r0, r1
	umull	r0, r1, r4, r2
	add	r3, ip, r1
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #16
	add	r7, r3, #8
	ldmia	r7, {r6-r7}
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	ldmia	r3, {r4-r5}
	mul	r2, r4, r7
	mul	r3, r6, r5
	add	ip, r2, r3
	umull	r2, r3, r6, r4
	add	ip, ip, r3
	mov	r3, ip
	adds	ip, r0, r2
	str	ip, [fp, #-92]
	adc	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r4, fp, #92
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
	ldr	r3, [fp, #-64]
	add	r3, r3, #16
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	ip, r0, r1
	umull	r0, r1, r4, r2
	add	r3, ip, r1
	mov	r1, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, #16
	add	r7, r3, #8
	ldmia	r7, {r6-r7}
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	mul	r2, r4, r7
	mul	r3, r6, r5
	add	ip, r2, r3
	umull	r2, r3, r6, r4
	add	ip, ip, r3
	mov	r3, ip
	adds	r8, r0, r2
	adc	r9, r1, r3
	str	r8, [fp, #-36]
	str	r9, [fp, #-32]
	ldr	r1, [fp, #-64]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-64]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-64]
	add	r1, r3, #16
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-64]
	add	r1, r3, #16
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	multiplyMatrix, .-multiplyMatrix
	.section	.rodata
	.align	3
.LC0:
	.word	1
	.word	0
	.word	1
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	powerMatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	powerMatrix, %function
powerMatrix:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #2
	str	r3, [fp, #-48]
	b	.L3
.L4:
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	multiplyMatrix
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L3:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	ble	.L4
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	powerMatrix, .-powerMatrix
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fibonacci
	.syntax unified
	.arm
	.fpu softvfp
	.type	fibonacci, %function
fibonacci:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	sub	ip, fp, #44
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L9
	ldr	r3, [fp, #-48]
	cmp	r3, #90
	ble	.L10
.L9:
	ldr	r3, [fp, #-52]
	mov	r2, #1
	strb	r2, [r3]
	mvn	r2, #0
	mvn	r3, #0
	b	.L13
.L10:
	ldr	r3, [fp, #-52]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L12
	mov	r2, #0
	mov	r3, #0
	b	.L13
.L12:
	ldr	r3, [fp, #-48]
	sub	r2, r3, #1
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	powerMatrix
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
.L13:
	ldr	r1, .L15
	ldr	r0, [r1]
	ldr	r1, [fp, #-8]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC2
	.word	.LC0
	.size	fibonacci, .-fibonacci
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter your index for Fibonacci number:\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"This index i too large!\000"
	.align	2
.LC6:
	.ascii	"F_%d = %llu\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	strb	r3, [fp, #-25]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r0, .L22+4
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	sub	r2, fp, #25
	mov	r1, r2
	mov	r0, r3
	bl	fibonacci
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L22+12
	bl	printf
	b	.L19
.L18:
	ldr	r1, [fp, #-24]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L22+16
	bl	printf
.L19:
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC7
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
