	.file	"221589.c"
	.intel_syntax noprefix
	.text
	.globl	ifib
	.type	ifib, @function
ifib:
.LFB0:
	.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 -20[rbp], edi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	mov	DWORD PTR -8[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jg	.L2
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L3
.L2:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L4
.L5:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L5
	mov	eax, DWORD PTR -8[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ifib, .-ifib
	.globl	rfib
	.type	rfib, @function
rfib:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L7
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	mov	edi, eax
	call	rfib
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edi, eax
	call	rfib
	add	eax, ebx
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	rfib, .-rfib
	.globl	F
	.bss
	.align 32
	.type	F, @object
	.size	F, 84
F:
	.zero	84
	.text
	.globl	mfib
	.type	mfib, @function
mfib:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L10
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, F[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L12
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	mov	edx, DWORD PTR -20[rbp]
	lea	ebx, -2[rdx]
	mov	edi, eax
	call	mfib
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, F[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L12:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L13
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edx, DWORD PTR -20[rbp]
	lea	ebx, -1[rdx]
	mov	edi, eax
	call	mfib
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, F[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L13:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
.L11:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mfib, .-mfib
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the number upto which you want to calculate the fibonacci series:- "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"The fibonacci series using iterative method sum is:- %d \n"
	.align 8
.LC3:
	.string	"The fibonacci series using recursion method is:- %d \n"
	.align 8
.LC4:
	.string	"The fibonacci series using memoization recursion is:- %d"
	.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, 16
	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, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	ifib
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	rfib
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	DWORD PTR [rdx+rax], -1
	add	DWORD PTR -12[rbp], 1
.L15:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L16
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	mfib
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"221589.c"
	.text
	.align	2
	.global	ifib
	.syntax unified
	.arm
	.fpu softvfp
	.type	ifib, %function
ifib:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, [fp, #-24]
	b	.L3
.L2:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L4
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L5
	ldr	r3, [fp, #-12]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ifib, .-ifib
	.align	2
	.global	rfib
	.syntax unified
	.arm
	.fpu softvfp
	.type	rfib, %function
rfib:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L7
	ldr	r3, [fp, #-16]
	b	.L8
.L7:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	mov	r0, r3
	bl	rfib
	mov	r4, r0
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	rfib
	mov	r3, r0
	add	r3, r4, r3
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	rfib, .-rfib
	.comm	F,84,4
	.align	2
	.global	mfib
	.syntax unified
	.arm
	.fpu softvfp
	.type	mfib, %function
mfib:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L10
	ldr	r1, .L14
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	b	.L11
.L10:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, .L14
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L12
	ldr	r3, [fp, #-16]
	sub	r2, r3, #2
	ldr	r3, [fp, #-16]
	sub	r4, r3, #2
	mov	r0, r2
	bl	mfib
	mov	r3, r0
	ldr	r2, .L14
	str	r3, [r2, r4, lsl #2]
.L12:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, .L14
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L13
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r4, r3, #1
	mov	r0, r2
	bl	mfib
	mov	r3, r0
	ldr	r2, .L14
	str	r3, [r2, r4, lsl #2]
.L13:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, .L14
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, .L14
	ldr	r3, [r1, r3, lsl #2]
	add	r2, r2, r3
	ldr	r1, .L14
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, .L14
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r1, .L14
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
.L11:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	F
	.size	mfib, .-mfib
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the number upto which you want to calculate t"
	.ascii	"he fibonacci series:- \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"The fibonacci series using iterative method sum is:"
	.ascii	"- %d \012\000"
	.align	2
.LC3:
	.ascii	"The fibonacci series using recursion method is:- %d"
	.ascii	" \012\000"
	.align	2
.LC4:
	.ascii	"The fibonacci series using memoization recursion is"
	.ascii	":- %d\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.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	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	ifib
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L21+12
	bl	printf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	rfib
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L21+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L17
.L18:
	ldr	r2, .L21+20
	ldr	r3, [fp, #-12]
	mvn	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	mfib
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	F
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
