	.file	"50139116.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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, 120
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 65
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR -96[rbp+rax]
	cmp	al, 10
	jne	.L2
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, 1
	mov	BYTE PTR -96[rbp+rax], 0
.L2:
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -112[rbp], 0
	mov	rax, QWORD PTR -104[rbp]
	sub	eax, 1
	mov	DWORD PTR -120[rbp], eax
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, DWORD PTR -120[rbp]
	sub	eax, edx
	sub	eax, 1
	mov	esi, eax
	mov	edi, 2
	call	power
	imul	rax, rbx
	add	QWORD PTR -112[rbp], rax
	sub	DWORD PTR -120[rbp], 1
.L3:
	cmp	DWORD PTR -120[rbp], 0
	jns	.L4
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	power
	.type	power, @function
power:
.LFB1:
	.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 -24[rbp], esi
	mov	QWORD PTR -8[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L9
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	power, .-power
	.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	"50139116.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\012\000"
	.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 = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #96
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L7+4
	ldr	r2, [r3]
	sub	r3, fp, #84
	mov	r1, #65
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #84
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-72]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L2
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-72]
.L2:
	sub	r3, fp, #84
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-100]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
	b	.L3
.L4:
	sub	r2, fp, #84
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-104]
	ldr	r2, [fp, #-100]
	sub	r3, r2, r3
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, #2
	bl	power
	mov	r2, r0
	ldr	r3, [fp, #-96]
	mul	r3, r2, r3
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-92]
	str	r5, [fp, #-88]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
.L3:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L4
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	stdin
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	power
	.syntax unified
	.arm
	.fpu softvfp
	.type	power, %function
power:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L10
.L11:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	power, .-power
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
