	.file	"497667.c"
	.intel_syntax noprefix
	.text
	.globl	FB
	.type	FB, @function
FB:
.LFB6:
	.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
	ja	.L2
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edi, eax
	call	FB
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	mov	edi, eax
	call	FB
	add	eax, ebx
.L3:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	FB, .-FB
	.section	.rodata
	.align 8
.LC0:
	.string	"================ The program starts ================"
.LC1:
	.string	"Please enter a number: "
.LC2:
	.string	"%d"
.LC3:
	.string	"FB(%d) = %d\n"
	.align 8
.LC4:
	.string	"================= The program ends ================="
	.align 8
.LC5:
	.string	"Would you like to try it again [y|n] "
.LC6:
	.string	"%c"
	.align 8
.LC7:
	.string	"Wrong selection! Please try 'y' or 'n' : "
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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 -12[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L5
.L13:
	cmp	DWORD PTR -12[rbp], -1
	je	.L6
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	FB
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 110
	jne	.L10
	jmp	.L16
.L6:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L8
.L16:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L8
.L12:
	call	getchar@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 110
	jne	.L11
	mov	DWORD PTR -12[rbp], -1
	jmp	.L10
.L11:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 121
	jne	.L10
	mov	DWORD PTR -12[rbp], -2
.L10:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 121
	je	.L5
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 110
	je	.L5
	cmp	DWORD PTR -12[rbp], -2
	jne	.L12
.L5:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jne	.L13
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"497667.c"
	.text
	.align	2
	.global	FB
	.syntax unified
	.arm
	.fpu softvfp
	.type	FB, %function
FB:
	@ 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
	bhi	.L2
	ldr	r3, [fp, #-16]
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r0, r3
	bl	FB
	mov	r4, r0
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	mov	r0, r3
	bl	FB
	mov	r3, r0
	add	r3, r4, r3
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	FB, .-FB
	.section	.rodata
	.align	2
.LC0:
	.ascii	"================ The program starts ==============="
	.ascii	"=\000"
	.align	2
.LC1:
	.ascii	"Please enter a number: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"FB(%d) = %d\012\000"
	.align	2
.LC4:
	.ascii	"================= The program ends ================"
	.ascii	"=\000"
	.align	2
.LC5:
	.ascii	"Would you like to try it again [y|n] \000"
	.align	2
.LC6:
	.ascii	"%c\000"
	.align	2
.LC7:
	.ascii	"Wrong selection! Please try 'y' or 'n' : \000"
	.align	2
.LC8:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, .L17+4
	bl	puts
	b	.L5
.L13:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L6
	ldr	r0, .L17+8
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L17+12
	bl	__isoc99_scanf
	ldr	r4, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	FB
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L17+16
	bl	printf
	bl	getchar
	ldr	r0, .L17+20
	bl	printf
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L17+24
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L10
	b	.L16
.L6:
	ldr	r0, .L17+28
	bl	puts
	b	.L8
.L16:
	ldr	r0, .L17+28
	bl	puts
	b	.L8
.L12:
	bl	getchar
	ldr	r0, .L17+32
	bl	printf
	sub	r3, fp, #25
	mov	r1, r3
	ldr	r0, .L17+24
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L11
	mvn	r3, #0
	str	r3, [fp, #-20]
	b	.L10
.L11:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L10
	mvn	r3, #1
	str	r3, [fp, #-20]
.L10:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L5
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L5
	ldr	r3, [fp, #-20]
	cmn	r3, #2
	bne	.L12
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L13
.L8:
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC6
	.word	.LC4
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
