	.file	"440929.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"*************"
.LC2:
	.string	"*   Menu    *"
.LC3:
	.string	"1. Summation"
.LC4:
	.string	"2. Factorial"
.LC5:
	.string	"3. Fibonacci"
.LC6:
	.string	"4. GCD"
.LC7:
	.string	"5. Power"
	.align 8
.LC8:
	.string	"Please select the number index of your operation e.g 1 \nEnter -1 to quit (ERROR prints upon exit)"
.LC9:
	.string	"Input: "
.LC10:
	.string	"%s"
.LC11:
	.string	"%d"
.LC12:
	.string	" is: "
.LC13:
	.string	"Summation of "
.LC14:
	.string	"%s %d %s %llu"
.LC15:
	.string	"Invalid input!"
.LC16:
	.string	"Factorial of "
.LC17:
	.string	"Fibonacci of "
.LC18:
	.string	"is: "
.LC19:
	.string	"GCD of "
.LC20:
	.string	"%s%d %d %s%d"
.LC21:
	.string	"Power of "
.LC22:
	.string	"%s%d %d %s%llu"
	.align 8
.LC23:
	.string	"ERROR: selection must be from the menu shown"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	jmp	.L2
.L21:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rsi, .LC9[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L3-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L9:
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L10
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	summation
	mov	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	r8, rdx
	lea	rcx, .LC12[rip]
	mov	edx, eax
	lea	rsi, .LC13[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L12
.L10:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	jmp	.L12
.L8:
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	js	.L13
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	factorial
	mov	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	r8, rdx
	lea	rcx, .LC12[rip]
	mov	edx, eax
	lea	rsi, .LC16[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L12
.L13:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	jmp	.L12
.L7:
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	js	.L15
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	fibonacci
	mov	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	r8, rdx
	lea	rcx, .LC12[rip]
	mov	edx, eax
	lea	rsi, .LC17[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L12
.L15:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	jmp	.L12
.L6:
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	js	.L17
	cmp	DWORD PTR -12[rbp], 0
	js	.L17
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	gcd
	mov	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	r9d, ecx
	lea	r8, .LC18[rip]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC19[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L12
.L17:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	jmp	.L12
.L4:
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 0
	call	prompt
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L19
	cmp	DWORD PTR -12[rbp], 0
	js	.L19
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	power
	mov	rcx, rax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	r9, rcx
	lea	r8, .LC18[rip]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC21[rip]
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	jmp	.L12
.L19:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	jmp	.L12
.L3:
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L12:
	call	getchar@PLT
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, -1
	jne	.L21
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC24:
	.string	"Please enter a positive integer: "
	.text
	.globl	prompt
	.type	prompt, @function
prompt:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC24[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	prompt, .-prompt
	.globl	summation
	.type	summation, @function
summation:
.LFB8:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -8[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jne	.L28
	mov	QWORD PTR -8[rbp], 1
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	edi, eax
	call	summation
	mov	edx, DWORD PTR -20[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
.L29:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	summation, .-summation
	.globl	factorial
	.type	factorial, @function
factorial:
.LFB9:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -24[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jne	.L32
	mov	eax, 1
	jmp	.L33
.L32:
	mov	ebx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	edi, eax
	call	factorial
	imul	rax, rbx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
.L33:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	factorial, .-factorial
	.globl	fibonacci
	.type	fibonacci, @function
fibonacci:
.LFB10:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -24[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	je	.L35
	cmp	DWORD PTR -36[rbp], 1
	jne	.L36
.L35:
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L37
.L36:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	mov	edi, eax
	call	fibonacci
	mov	rbx, rax
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 2
	mov	edi, eax
	call	fibonacci
	add	rax, rbx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
.L37:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	fibonacci, .-fibonacci
	.globl	gcd
	.type	gcd, @function
gcd:
.LFB11:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -24[rbp], 0
	jne	.L39
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L40
.L39:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	gcd
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gcd, .-gcd
	.globl	power
	.type	power, @function
power:
.LFB12:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -24[rbp], 0
	jne	.L42
	mov	eax, 1
	jmp	.L43
.L42:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	power
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	power, .-power
	.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	"440929.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"*************\000"
	.align	2
.LC2:
	.ascii	"*   Menu    *\000"
	.align	2
.LC3:
	.ascii	"1. Summation\000"
	.align	2
.LC4:
	.ascii	"2. Factorial\000"
	.align	2
.LC5:
	.ascii	"3. Fibonacci\000"
	.align	2
.LC6:
	.ascii	"4. GCD\000"
	.align	2
.LC7:
	.ascii	"5. Power\000"
	.align	2
.LC8:
	.ascii	"Please select the number index of your operation e."
	.ascii	"g 1 \012Enter -1 to quit (ERROR prints upon exit)\000"
	.align	2
.LC9:
	.ascii	"Input: \000"
	.align	2
.LC10:
	.ascii	"%s\000"
	.align	2
.LC11:
	.ascii	"%d\000"
	.align	2
.LC12:
	.ascii	" is: \000"
	.align	2
.LC13:
	.ascii	"Summation of \000"
	.align	2
.LC14:
	.ascii	"%s %d %s %llu\000"
	.align	2
.LC15:
	.ascii	"Invalid input!\000"
	.align	2
.LC16:
	.ascii	"Factorial of \000"
	.align	2
.LC17:
	.ascii	"Fibonacci of \000"
	.align	2
.LC18:
	.ascii	"GCD of \000"
	.align	2
.LC19:
	.ascii	"%s%d %d %s%d\000"
	.align	2
.LC20:
	.ascii	"is: \000"
	.align	2
.LC21:
	.ascii	"Power of \000"
	.align	2
.LC22:
	.ascii	"%s%d %d %s%llu\000"
	.align	2
.LC23:
	.ascii	"ERROR: selection must be from the menu shown\000"
	.align	2
.LC24:
	.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, #32
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L21:
	ldr	r0, .L24+4
	bl	puts
	ldr	r0, .L24+8
	bl	puts
	ldr	r0, .L24+12
	bl	puts
	ldr	r0, .L24+8
	bl	puts
	ldr	r0, .L24+16
	bl	puts
	ldr	r0, .L24+20
	bl	puts
	ldr	r0, .L24+24
	bl	puts
	ldr	r0, .L24+28
	bl	puts
	ldr	r0, .L24+32
	bl	puts
	ldr	r0, .L24+4
	bl	puts
	ldr	r0, .L24+36
	bl	puts
	ldr	r1, .L24+40
	ldr	r0, .L24+44
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L24+48
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L9:
	bl	prompt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	summation
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r3, .L24+52
	ldr	r2, [fp, #-16]
	ldr	r1, .L24+56
	ldr	r0, .L24+60
	bl	printf
	bl	getchar
	b	.L12
.L10:
	ldr	r0, .L24+64
	bl	puts
	bl	getchar
	b	.L12
.L8:
	bl	prompt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L13
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	factorial
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r3, .L24+52
	ldr	r2, [fp, #-16]
	ldr	r1, .L24+68
	ldr	r0, .L24+60
	bl	printf
	bl	getchar
	b	.L12
.L13:
	ldr	r0, .L24+64
	bl	puts
	bl	getchar
	b	.L12
.L7:
	bl	prompt
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L15
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	fibonacci
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r3, .L24+52
	ldr	r2, [fp, #-16]
	ldr	r1, .L24+72
	ldr	r0, .L24+60
	bl	printf
	bl	getchar
	b	.L12
.L15:
	ldr	r0, .L24+64
	bl	puts
	bl	getchar
	b	.L12
.L6:
	bl	prompt
	str	r0, [fp, #-16]
	bl	prompt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L17
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L17
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	gcd
	mov	r3, r0
	str	r3, [sp, #4]
	ldr	r3, .L24+76
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, .L24+80
	ldr	r0, .L24+84
	bl	printf
	bl	getchar
	b	.L12
.L17:
	ldr	r0, .L24+64
	bl	puts
	bl	getchar
	b	.L12
.L4:
	bl	prompt
	str	r0, [fp, #-16]
	bl	prompt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	power
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, .L24+76
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, .L24+88
	ldr	r0, .L24+92
	bl	printf
	bl	getchar
	b	.L12
.L19:
	ldr	r0, .L24+64
	bl	puts
	bl	getchar
	b	.L12
.L3:
	ldr	r0, .L24+96
	bl	puts
.L12:
	bl	getchar
.L2:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC24
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC20
	.word	.LC18
	.word	.LC19
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	main, .-main
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Please enter a positive integer: \000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prompt
	.syntax unified
	.arm
	.fpu softvfp
	.type	prompt, %function
prompt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L29+4
	ldr	r0, .L29+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC26
	.word	.LC25
	.word	.LC10
	.word	.LC11
	.size	prompt, .-prompt
	.align	2
	.global	summation
	.syntax unified
	.arm
	.fpu softvfp
	.type	summation, %function
summation:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L32
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L33
.L32:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	mov	r0, r3
	bl	summation
	ldr	r3, [fp, #-24]
	mov	r2, r3
	mov	r3, #0
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-20]
	str	r5, [fp, #-16]
.L33:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	summation, .-summation
	.align	2
	.global	factorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	factorial, %function
factorial:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L36
	mov	r2, #1
	mov	r3, #0
	b	.L37
.L36:
	ldr	r3, [fp, #-24]
	mov	r4, r3
	mov	r5, #0
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
.L37:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	factorial, .-factorial
	.align	2
	.global	fibonacci
	.syntax unified
	.arm
	.fpu softvfp
	.type	fibonacci, %function
fibonacci:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L40
.L39:
	ldr	r3, [fp, #-32]
	mov	r2, r3
	mov	r3, #0
	b	.L41
.L40:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	mov	r0, r3
	bl	fibonacci
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	sub	r3, r3, #2
	mov	r0, r3
	bl	fibonacci
	mov	r2, r0
	mov	r3, r1
	adds	r6, r4, r2
	adc	r7, r5, r3
	str	r6, [fp, #-28]
	str	r7, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L41:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	fibonacci, .-fibonacci
	.global	__aeabi_uidivmod
	.align	2
	.global	gcd
	.syntax unified
	.arm
	.fpu softvfp
	.type	gcd, %function
gcd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-16]
	b	.L44
.L43:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	gcd
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gcd, .-gcd
	.align	2
	.global	power
	.syntax unified
	.arm
	.fpu softvfp
	.type	power, %function
power:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L46
	mov	r2, #1
	mov	r3, #0
	b	.L47
.L46:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	power
	mov	r2, r0
	mov	r3, r1
	ldr	r3, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, r3
	asr	r3, r2, #31
.L47:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	power, .-power
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
