	.file	"474603.c"
	.intel_syntax noprefix
	.text
	.globl	functionToRun
	.bss
	.align 16
	.type	functionToRun, @object
	.size	functionToRun, 24
functionToRun:
	.zero	24
	.text
	.globl	factorial
	.type	factorial, @function
factorial:
.LFB6:
	.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 -8[rbp], 1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L3
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	factorial, .-factorial
	.section	.rodata
.LC0:
	.string	"Inverse found!"
	.text
	.globl	inverseFactorial
	.type	inverseFactorial, @function
inverseFactorial:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 1
	jmp	.L6
.L7:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L7
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inverseFactorial, .-inverseFactorial
	.section	.rodata
	.align 8
.LC1:
	.string	"Write the function to execute (1 for factorial, 2 for inverse of factorial) and pass the parameter n:"
.LC2:
	.string	"%d %d"
.LC3:
	.string	"factorial"
.LC4:
	.string	"inverse factorial"
.LC5:
	.string	"outside function"
.LC6:
	.string	"the_stack_data/474603.c"
.LC7:
	.string	"f == factorial"
.LC8:
	.string	"Factorial of %d is %d\n"
.LC9:
	.string	"f == inverseFactorial"
.LC10:
	.string	"Exiting with code %d...\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdx, -52[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 1
	jne	.L10
	mov	DWORD PTR functionToRun[rip+16], 1
	lea	rax, .LC3[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, factorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 2
	jne	.L12
	mov	DWORD PTR functionToRun[rip+16], 2
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 3
	jne	.L13
	mov	DWORD PTR functionToRun[rip+16], 3
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 4
	jne	.L14
	mov	DWORD PTR functionToRun[rip+16], 4
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 5
	jne	.L15
	mov	DWORD PTR functionToRun[rip+16], 5
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 6
	jne	.L16
	mov	DWORD PTR functionToRun[rip+16], 6
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 7
	jne	.L17
	mov	DWORD PTR functionToRun[rip+16], 7
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L17:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 8
	jne	.L18
	mov	DWORD PTR functionToRun[rip+16], 8
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L18:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 9
	jne	.L19
	mov	DWORD PTR functionToRun[rip+16], 9
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L19:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 10
	jne	.L20
	mov	DWORD PTR functionToRun[rip+16], 10
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L20:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 11
	jne	.L21
	mov	DWORD PTR functionToRun[rip+16], 11
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L21:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 12
	jne	.L22
	mov	DWORD PTR functionToRun[rip+16], 12
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L22:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 13
	jne	.L23
	mov	DWORD PTR functionToRun[rip+16], 13
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L23:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 14
	jne	.L24
	mov	DWORD PTR functionToRun[rip+16], 14
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L24:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 15
	jne	.L25
	mov	DWORD PTR functionToRun[rip+16], 15
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L25:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 16
	jne	.L26
	mov	DWORD PTR functionToRun[rip+16], 16
	lea	rax, .LC4[rip]
	mov	QWORD PTR functionToRun[rip], rax
	lea	rax, inverseFactorial[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
	jmp	.L11
.L26:
	mov	DWORD PTR functionToRun[rip+16], 3
	lea	rax, .LC5[rip]
	mov	QWORD PTR functionToRun[rip], rax
	mov	rax, QWORD PTR exit@GOTPCREL[rip]
	mov	QWORD PTR functionToRun[rip+8], rax
.L11:
	mov	eax, DWORD PTR functionToRun[rip+16]
	cmp	eax, 1
	jne	.L27
	mov	rax, QWORD PTR functionToRun[rip+8]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, factorial[rip]
	cmp	QWORD PTR -16[rbp], rax
	je	.L28
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 118
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L28:
	mov	eax, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	edi, eax
	call	rdx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L27:
	mov	eax, DWORD PTR functionToRun[rip+16]
	cmp	eax, 2
	jne	.L30
	mov	rax, QWORD PTR functionToRun[rip+8]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, inverseFactorial[rip]
	cmp	QWORD PTR -24[rbp], rax
	je	.L31
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 123
	lea	rsi, .LC6[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L31:
	mov	eax, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	edi, eax
	call	rdx
	mov	DWORD PTR -40[rbp], eax
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L30:
	mov	rax, QWORD PTR functionToRun[rip+8]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	edi, eax
	call	rdx
	mov	DWORD PTR -44[rbp], eax
.L29:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"474603.c"
	.text
	.comm	functionToRun,12,4
	.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
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L3
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	factorial, .-factorial
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Inverse found!\000"
	.text
	.align	2
	.global	inverseFactorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	inverseFactorial, %function
inverseFactorial:
	@ 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]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	str	r3, [fp, #-12]
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	ldr	r0, .L9
	bl	puts
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	inverseFactorial, .-inverseFactorial
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Write the function to execute (1 for factorial, 2 f"
	.ascii	"or inverse of factorial) and pass the parameter n:\000"
	.align	2
.LC2:
	.ascii	"%d %d\000"
	.align	2
.LC3:
	.ascii	"factorial\000"
	.align	2
.LC4:
	.ascii	"inverse factorial\000"
	.align	2
.LC5:
	.ascii	"outside function\000"
	.align	2
.LC6:
	.ascii	"the_stack_data/474603.c\000"
	.align	2
.LC7:
	.ascii	"f == factorial\000"
	.align	2
.LC8:
	.ascii	"Factorial of %d is %d\012\000"
	.align	2
.LC9:
	.ascii	"f == inverseFactorial\000"
	.align	2
.LC10:
	.ascii	"Exiting with code %d...\012\000"
	.align	2
.LC11:
	.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, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L36+4
	bl	puts
	sub	r2, fp, #40
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L36+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bne	.L12
	ldr	r3, .L36+12
	mov	r2, #1
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+16
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+20
	str	r2, [r3, #4]
	b	.L13
.L12:
	ldr	r3, [fp, #-36]
	cmp	r3, #2
	bne	.L14
	ldr	r3, .L36+12
	mov	r2, #2
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L14:
	ldr	r3, [fp, #-36]
	cmp	r3, #3
	bne	.L15
	ldr	r3, .L36+12
	mov	r2, #3
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L15:
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	bne	.L16
	ldr	r3, .L36+12
	mov	r2, #4
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L16:
	ldr	r3, [fp, #-36]
	cmp	r3, #5
	bne	.L17
	ldr	r3, .L36+12
	mov	r2, #5
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L17:
	ldr	r3, [fp, #-36]
	cmp	r3, #6
	bne	.L18
	ldr	r3, .L36+12
	mov	r2, #6
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L18:
	ldr	r3, [fp, #-36]
	cmp	r3, #7
	bne	.L19
	ldr	r3, .L36+12
	mov	r2, #7
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L19:
	ldr	r3, [fp, #-36]
	cmp	r3, #8
	bne	.L20
	ldr	r3, .L36+12
	mov	r2, #8
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L20:
	ldr	r3, [fp, #-36]
	cmp	r3, #9
	bne	.L21
	ldr	r3, .L36+12
	mov	r2, #9
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L21:
	ldr	r3, [fp, #-36]
	cmp	r3, #10
	bne	.L22
	ldr	r3, .L36+12
	mov	r2, #10
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L22:
	ldr	r3, [fp, #-36]
	cmp	r3, #11
	bne	.L23
	ldr	r3, .L36+12
	mov	r2, #11
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L23:
	ldr	r3, [fp, #-36]
	cmp	r3, #12
	bne	.L24
	ldr	r3, .L36+12
	mov	r2, #12
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L24:
	ldr	r3, [fp, #-36]
	cmp	r3, #13
	bne	.L25
	ldr	r3, .L36+12
	mov	r2, #13
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L25:
	ldr	r3, [fp, #-36]
	cmp	r3, #14
	bne	.L26
	ldr	r3, .L36+12
	mov	r2, #14
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L26:
	ldr	r3, [fp, #-36]
	cmp	r3, #15
	bne	.L27
	ldr	r3, .L36+12
	mov	r2, #15
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L27:
	ldr	r3, [fp, #-36]
	cmp	r3, #16
	bne	.L28
	ldr	r3, .L36+12
	mov	r2, #16
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+24
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+28
	str	r2, [r3, #4]
	b	.L13
.L28:
	ldr	r3, .L36+12
	mov	r2, #3
	str	r2, [r3, #8]
	ldr	r3, .L36+12
	ldr	r2, .L36+32
	str	r2, [r3]
	ldr	r3, .L36+12
	ldr	r2, .L36+36
	str	r2, [r3, #4]
.L13:
	ldr	r3, .L36+12
	ldr	r3, [r3, #8]
	cmp	r3, #1
	bne	.L29
	ldr	r3, .L36+12
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L36+20
	cmp	r3, r2
	beq	.L30
	ldr	r3, .L36+40
	mov	r2, #118
	ldr	r1, .L36+44
	ldr	r0, .L36+48
	bl	__assert_fail
.L30:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L36+52
	bl	printf
	b	.L31
.L29:
	ldr	r3, .L36+12
	ldr	r3, [r3, #8]
	cmp	r3, #2
	bne	.L32
	ldr	r3, .L36+12
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L36+28
	cmp	r3, r2
	beq	.L33
	ldr	r3, .L36+40
	mov	r2, #123
	ldr	r1, .L36+44
	ldr	r0, .L36+56
	bl	__assert_fail
.L33:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-40]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L36+52
	bl	printf
	b	.L31
.L32:
	ldr	r3, .L36+12
	ldr	r3, [r3, #4]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L36+60
	bl	printf
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-28]
.L31:
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC11
	.word	.LC1
	.word	.LC2
	.word	functionToRun
	.word	.LC3
	.word	factorial
	.word	.LC4
	.word	inverseFactorial
	.word	.LC5
	.word	exit
	.word	__PRETTY_FUNCTION__.5337
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5337, %object
	.size	__PRETTY_FUNCTION__.5337, 5
__PRETTY_FUNCTION__.5337:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
