	.file	"127947.c"
	.intel_syntax noprefix
	.text
	.globl	displayNumber
	.type	displayNumber, @function
displayNumber:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	DWORD PTR -228[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -208[rbp]
	mov	eax, 0
	mov	ecx, 25
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -216[rbp], 0
	cmp	DWORD PTR -228[rbp], 0
	jns	.L3
	mov	edi, 45
	call	putchar@PLT
	neg	DWORD PTR -228[rbp]
	jmp	.L3
.L4:
	mov	ecx, DWORD PTR -228[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	mov	DWORD PTR -208[rbp+rax*4], edx
	mov	eax, DWORD PTR -228[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -228[rbp], eax
	add	DWORD PTR -216[rbp], 1
.L3:
	cmp	DWORD PTR -228[rbp], 0
	jg	.L4
	cmp	DWORD PTR -216[rbp], 0
	jne	.L5
	mov	DWORD PTR -216[rbp], 1
.L5:
	mov	eax, DWORD PTR -216[rbp]
	mov	DWORD PTR -212[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -212[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -208[rbp+rax*4]
	add	eax, 48
	mov	edi, eax
	call	putchar@PLT
	sub	DWORD PTR -212[rbp], 1
.L6:
	cmp	DWORD PTR -212[rbp], 0
	jg	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	displayNumber, .-displayNumber
	.globl	factorial
	.type	factorial, @function
factorial:
.LFB1:
	.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	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	jne	.L10
	mov	eax, 1
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	mov	edi, eax
	call	factorial
	imul	eax, DWORD PTR -4[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	factorial, .-factorial
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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	edi, 69
	call	putchar@PLT
	mov	edi, 110
	call	putchar@PLT
	mov	edi, 116
	call	putchar@PLT
	mov	edi, 101
	call	putchar@PLT
	mov	edi, 114
	call	putchar@PLT
	mov	edi, 32
	call	putchar@PLT
	mov	edi, 97
	call	putchar@PLT
	mov	edi, 32
	call	putchar@PLT
	mov	edi, 100
	call	putchar@PLT
	mov	edi, 105
	call	putchar@PLT
	mov	edi, 103
	call	putchar@PLT
	mov	edi, 105
	call	putchar@PLT
	mov	edi, 116
	call	putchar@PLT
	mov	edi, 58
	call	putchar@PLT
	mov	edi, 32
	call	putchar@PLT
	call	getchar@PLT
	sub	eax, 48
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	factorial
	mov	DWORD PTR -4[rbp], eax
	mov	edi, 82
	call	putchar@PLT
	mov	edi, 101
	call	putchar@PLT
	mov	edi, 115
	call	putchar@PLT
	mov	edi, 117
	call	putchar@PLT
	mov	edi, 108
	call	putchar@PLT
	mov	edi, 116
	call	putchar@PLT
	mov	edi, 58
	call	putchar@PLT
	mov	edi, 32
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	displayNumber
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"127947.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	displayNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	displayNumber, %function
displayNumber:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #208
	mov	r2, #200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bge	.L3
	mov	r0, #45
	bl	putchar
	ldr	r3, [fp, #-224]
	rsb	r3, r3, #0
	str	r3, [fp, #-224]
	b	.L3
.L4:
	ldr	r1, [fp, #-224]
	ldr	r3, .L9+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-204]
	ldr	r3, [fp, #-224]
	ldr	r2, .L9+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-224]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L3:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bgt	.L4
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L5
	mov	r3, #1
	str	r3, [fp, #-216]
.L5:
	ldr	r3, [fp, #-216]
	str	r3, [fp, #-212]
	b	.L6
.L7:
	ldr	r3, [fp, #-212]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-204]
	add	r3, r3, #48
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-212]
	sub	r3, r3, #1
	str	r3, [fp, #-212]
.L6:
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bgt	.L7
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	1717986919
	.size	displayNumber, .-displayNumber
	.align	2
	.global	factorial
	.syntax unified
	.arm
	.fpu softvfp
	.type	factorial, %function
factorial:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	mov	r3, #1
	b	.L13
.L12:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r0, r3
	bl	factorial
	mov	r2, r0
	ldr	r3, [fp, #-8]
	mul	r3, r2, r3
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	factorial, .-factorial
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #69
	bl	putchar
	mov	r0, #110
	bl	putchar
	mov	r0, #116
	bl	putchar
	mov	r0, #101
	bl	putchar
	mov	r0, #114
	bl	putchar
	mov	r0, #32
	bl	putchar
	mov	r0, #97
	bl	putchar
	mov	r0, #32
	bl	putchar
	mov	r0, #100
	bl	putchar
	mov	r0, #105
	bl	putchar
	mov	r0, #103
	bl	putchar
	mov	r0, #105
	bl	putchar
	mov	r0, #116
	bl	putchar
	mov	r0, #58
	bl	putchar
	mov	r0, #32
	bl	putchar
	bl	getchar
	mov	r3, r0
	sub	r3, r3, #48
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	factorial
	str	r0, [fp, #-8]
	mov	r0, #82
	bl	putchar
	mov	r0, #101
	bl	putchar
	mov	r0, #115
	bl	putchar
	mov	r0, #117
	bl	putchar
	mov	r0, #108
	bl	putchar
	mov	r0, #116
	bl	putchar
	mov	r0, #58
	bl	putchar
	mov	r0, #32
	bl	putchar
	ldr	r0, [fp, #-8]
	bl	displayNumber
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
