	.file	"958527.c"
	.intel_syntax noprefix
	.text
	.globl	recursFactorial
	.type	recursFactorial, @function
recursFactorial:
.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L2
	mov	eax, 1
	jmp	.L6
.L2:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L4
	mov	eax, 1
	jmp	.L6
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L5
	mov	eax, 2
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, 1
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rbx, eax
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	recursFactorial
	imul	rax, rbx
.L6:
	mov	rdx, QWORD PTR -24[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	recursFactorial, .-recursFactorial
	.globl	iteratFactorial
	.type	iteratFactorial, @function
iteratFactorial:
.LFB7:
	.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 -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 1
	mov	DWORD PTR -12[rbp], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L10
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	iteratFactorial, .-iteratFactorial
	.globl	estimaFactorial
	.type	estimaFactorial, @function
estimaFactorial:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movsd	xmm0, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -32[rbp], xmm0
	fld	QWORD PTR -32[rbp]
	fstp	TBYTE PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -16[rbp], xmm0
	fld	QWORD PTR -16[rbp]
	fld	TBYTE PTR -32[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	neg	eax
	pxor	xmm3, xmm3
	cvtsi2sd	xmm3, eax
	movq	rax, xmm3
	movq	xmm0, rax
	call	exp@PLT
	movsd	QWORD PTR -16[rbp], xmm0
	fld	QWORD PTR -16[rbp]
	fld	TBYTE PTR -32[rbp]
	fmulp	st(1), st
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	estimaFactorial, .-estimaFactorial
	.section	.rodata
	.align 8
.LC4:
	.string	"usage %s <Integer Number> <Integer Number> <Integer Number>"
.LC5:
	.string	"%lld\n"
.LC6:
	.string	"%Lf\n"
.LC7:
	.string	""
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -36[rbp], 4
	je	.L15
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L17
.L15:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -12[rbp], eax
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	recursFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	iteratFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	estimaFactorial
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	recursFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	iteratFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	estimaFactorial
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	recursFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	iteratFactorial
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rdi, rax
	call	estimaFactorial
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
.L17:
	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
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	1431655765
	.long	1070945621
	.align 8
.LC1:
	.long	1413754136
	.long	1074340347
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.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	"958527.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	recursFactorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	recursFactorial, %function
recursFactorial:
	@ 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]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r0, #1
	mov	r1, #0
	b	.L6
.L2:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L4
	mov	r0, #1
	mov	r1, #0
	b	.L6
.L4:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L5
	mov	r0, #2
	mov	r1, #0
	b	.L6
.L5:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r4, r3
	asr	r5, r4, #31
	sub	r3, fp, #20
	mov	r0, r3
	bl	recursFactorial
	mov	r2, r0
	mov	r3, r1
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	ip, r0, r1
	umull	r0, r1, r4, r2
	add	r3, ip, r1
	mov	r1, r3
.L6:
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L8
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	recursFactorial, .-recursFactorial
	.align	2
	.global	iteratFactorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	iteratFactorial, %function
iteratFactorial:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L11
.L12:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-8]
	mul	r2, r0, r3
	ldr	r3, [fp, #-12]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-12]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L11:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L12
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	iteratFactorial, .-iteratFactorial
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.align	2
	.global	estimaFactorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	estimaFactorial, %function
estimaFactorial:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L16
	ldr	r3, .L16+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L16+8
	ldr	r3, .L16+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+16
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	1431655765
	.word	1070945621
	.word	1413754136
	.word	1074340347
	.word	1071644672
	.size	estimaFactorial, .-estimaFactorial
	.section	.rodata
	.align	2
.LC1:
	.ascii	"usage %s <Integer Number> <Integer Number> <Integer"
	.ascii	" Number>\000"
	.align	2
.LC2:
	.ascii	"%lld\012\000"
	.align	2
.LC3:
	.ascii	"%Lf\012\000"
	.align	2
.LC4:
	.ascii	"\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #4
	beq	.L19
	ldr	r3, .L23+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L23+8
	bl	fprintf
	mov	r3, #1
	b	.L21
.L19:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-12]
	sub	r3, fp, #20
	mov	r0, r3
	bl	recursFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #20
	mov	r0, r3
	bl	iteratFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #20
	mov	r0, r3
	bl	estimaFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+16
	bl	printf
	ldr	r0, .L23+20
	bl	puts
	sub	r3, fp, #16
	mov	r0, r3
	bl	recursFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #16
	mov	r0, r3
	bl	iteratFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #16
	mov	r0, r3
	bl	estimaFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+16
	bl	printf
	ldr	r0, .L23+20
	bl	puts
	sub	r3, fp, #12
	mov	r0, r3
	bl	recursFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #12
	mov	r0, r3
	bl	iteratFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+12
	bl	printf
	sub	r3, fp, #12
	mov	r0, r3
	bl	estimaFactorial
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+16
	bl	printf
	ldr	r0, .L23+20
	bl	puts
	mov	r3, #0
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
