	.file	"274102.c"
	.intel_syntax noprefix
	.text
	.globl	factorial
	.type	factorial, @function
factorial:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 1
	mov	rdi, rax
	call	factorial
	imul	rax, QWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	factorial, .-factorial
	.globl	main
	.type	main, @function
main:
.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -176[rbp], 1
	mov	QWORD PTR -168[rbp], 1
	mov	QWORD PTR -160[rbp], 2
	mov	QWORD PTR -152[rbp], 6
	mov	QWORD PTR -144[rbp], 24
	mov	QWORD PTR -136[rbp], 120
	mov	QWORD PTR -128[rbp], 720
	mov	QWORD PTR -120[rbp], 5040
	mov	QWORD PTR -112[rbp], 40320
	mov	QWORD PTR -104[rbp], 362880
	mov	QWORD PTR -96[rbp], 3628800
	mov	QWORD PTR -88[rbp], 39916800
	mov	QWORD PTR -80[rbp], 479001600
	movabs	rax, 6227020800
	mov	QWORD PTR -72[rbp], rax
	movabs	rax, 87178291200
	mov	QWORD PTR -64[rbp], rax
	movabs	rax, 1307674368000
	mov	QWORD PTR -56[rbp], rax
	movabs	rax, 20922789888000
	mov	QWORD PTR -48[rbp], rax
	movabs	rax, 355687428096000
	mov	QWORD PTR -40[rbp], rax
	movabs	rax, 6402373705728000
	mov	QWORD PTR -32[rbp], rax
	movabs	rax, 121645100408832000
	mov	QWORD PTR -24[rbp], rax
	movabs	rax, 2432902008176640000
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -188[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -188[rbp]
	mov	rdi, rax
	call	factorial
	mov	QWORD PTR -184[rbp], rax
	mov	eax, DWORD PTR -188[rbp]
	mov	rax, QWORD PTR -176[rbp+rax*8]
	cmp	QWORD PTR -184[rbp], rax
	je	.L6
	mov	eax, DWORD PTR -188[rbp]
	add	eax, 1
	jmp	.L9
.L6:
	add	DWORD PTR -188[rbp], 1
.L5:
	cmp	DWORD PTR -188[rbp], 20
	jbe	.L8
	mov	eax, 0
.L9:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"274102.c"
	.text
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L2
	mov	r0, #1
	mov	r1, #0
	b	.L3
.L2:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	mov	r0, r4
	mov	r1, r5
	bl	factorial
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-20]
	mul	r0, r3, r1
	ldr	r1, [fp, #-16]
	mul	r1, r2, r1
	add	ip, r0, r1
	ldr	lr, [fp, #-20]
	umull	r0, r1, lr, r2
	add	r3, ip, r1
	mov	r1, r3
.L3:
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	factorial, .-factorial
	.section	.rodata
	.align	3
.LC0:
	.word	1
	.word	0
	.word	1
	.word	0
	.word	2
	.word	0
	.word	6
	.word	0
	.word	24
	.word	0
	.word	120
	.word	0
	.word	720
	.word	0
	.word	5040
	.word	0
	.word	40320
	.word	0
	.word	362880
	.word	0
	.word	3628800
	.word	0
	.word	39916800
	.word	0
	.word	479001600
	.word	0
	.word	1932053504
	.word	1
	.word	1278945280
	.word	20
	.word	2004310016
	.word	304
	.word	2004189184
	.word	4871
	.word	-288522240
	.word	82814
	.word	-898433024
	.word	1490668
	.word	109641728
	.word	28322707
	.word	-2102132736
	.word	566454140
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L11+4
	sub	r3, fp, #180
	mov	r1, r2
	mov	r2, #168
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-192]
	b	.L5
.L8:
	ldr	r3, [fp, #-192]
	mov	r2, r3
	mov	r3, #0
	mov	r0, r2
	mov	r1, r3
	bl	factorial
	str	r0, [fp, #-188]
	str	r1, [fp, #-184]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #176
	ldmia	r3, {r2-r3}
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	beq	.L6
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	b	.L9
.L6:
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L5:
	ldr	r3, [fp, #-192]
	cmp	r3, #20
	bls	.L8
	mov	r3, #0
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
