	.file	"225142181.c"
	.intel_syntax noprefix
	.text
	.globl	fact
	.type	fact, @function
fact:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	fld1
	fld	TBYTE PTR 16[rbp]
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L2
	fld	TBYTE PTR 16[rbp]
	fld1
	fsubp	st(1), st
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	call	fact
	add	rsp, 16
	fld	TBYTE PTR 16[rbp]
	fmulp	st(1), st
	fstp	TBYTE PTR 16[rbp]
.L2:
	fld	TBYTE PTR 16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fact, .-fact
	.section	.rodata
.LC3:
	.string	"%.6LF\n"
.LC4:
	.string	"%LF %d"
	.text
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L7
.L17:
	fstp	st(0)
.L14:
	fldz
	fstp	TBYTE PTR -32[rbp]
	jmp	.L8
.L12:
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	add	eax, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	fld	TBYTE PTR -48[rbp]
	fstp	QWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	call	pow@PLT
	movsd	QWORD PTR -80[rbp], xmm0
	fld	QWORD PTR -80[rbp]
	fstp	TBYTE PTR -80[rbp]
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -84[rbp], eax
	fild	DWORD PTR -84[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	call	fact
	add	rsp, 16
	fld	TBYTE PTR -80[rbp]
	fdivrp	st(1), st
	fld	TBYTE PTR -32[rbp]
	fsubrp	st(1), st
	fstp	TBYTE PTR -32[rbp]
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 1
	jle	.L11
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	add	eax, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	fld	TBYTE PTR -48[rbp]
	fstp	QWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -80[rbp]
	call	pow@PLT
	movsd	QWORD PTR -80[rbp], xmm0
	fld	QWORD PTR -80[rbp]
	fstp	TBYTE PTR -80[rbp]
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -84[rbp], eax
	fild	DWORD PTR -84[rbp]
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	call	fact
	add	rsp, 16
	fld	TBYTE PTR -80[rbp]
	fdivrp	st(1), st
	fld	TBYTE PTR -32[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -32[rbp]
	jmp	.L10
.L11:
	fld	TBYTE PTR -48[rbp]
	fld	TBYTE PTR -32[rbp]
	faddp	st(1), st
	fstp	TBYTE PTR -32[rbp]
.L10:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -52[rbp], eax
.L8:
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jg	.L12
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
.L7:
	lea	rdx, -52[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L13
	fld	TBYTE PTR -48[rbp]
	fldz
	fucomip	st, st(1)
	jp	.L17
	fldz
	fcomip	st, st(1)
	fstp	st(0)
	jne	.L14
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jne	.L14
.L13:
	fldz
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	fstp	st(0)
	call	__stack_chk_fail@PLT
.L16:
	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	"225142181.c"
	.text
	.global	__aeabi_dcmpgt
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.align	2
	.global	fact
	.syntax unified
	.arm
	.fpu softvfp
	.type	fact, %function
fact:
	@ 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, #-12]
	str	r1, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L6
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	mov	r2, #0
	ldr	r3, .L6
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
.L2:
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	1072693248
	.size	fact, .-fact
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%.6LF\012\000"
	.align	2
.LC1:
	.ascii	"%LF %d\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L9
.L16:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L10
.L14:
	ldr	r3, [fp, #-40]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L11
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L12
.L11:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L13
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	lsl	r3, r3, #1
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	fact
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L12
.L13:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bgt	.L14
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L19+4
	bl	printf
.L9:
	sub	r2, fp, #40
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L19+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L16
.L15:
	mov	r2, #0
	mov	r3, #0
	ldr	r1, .L19
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
