Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
	long long a;
	char b[11];
	scanf("%lld%s",&a,b);
	int bb=0,cc=0,i,sum=1;
	for(i=strlen(b)-1;b[i]!='.';i--){
		cc+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=1;
	for(i--;i>=0;i--){
		if(i<0)break;
		bb+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=bb*100+cc;
	printf("%lld\n",(sum*a)/100);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld%s"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movl	%edi, -52(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-19(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	$1, -36(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L2
.L3:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -44(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L2:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L3
	movl	$1, -36(%rbp)
	subl	$1, -40(%rbp)
	jmp	.L4
.L7:
	cmpl	$0, -40(%rbp)
	js	.L10
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -48(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L4:
	cmpl	$0, -40(%rbp)
	jns	.L7
	jmp	.L6
.L10:
	nop
.L6:
	movl	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -36(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$6, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%s"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rbp
	movq	%rsp, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leal	-1(%rax), %edx
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %esi
	cmpb	$46, %sil
	je	.L8
	leal	-2(%rax), %edx
	subl	$48, %esi
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	leal	-240(%rcx,%rcx,4), %edx
	leal	(%rsi,%rdx,2), %esi
	leal	-3(%rax), %edx
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	subl	$48, %ecx
	leal	-4(%rax), %edx
	imull	$100, %ecx, %ecx
	addl	%ecx, %esi
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	subl	$48, %ecx
	leal	-5(%rax), %edx
	imull	$1000, %ecx, %ecx
	addl	%ecx, %esi
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$10000, %edx, %edx
	addl	%edx, %esi
	leal	-6(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$100000, %edx, %edx
	addl	%edx, %esi
	leal	-7(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$1000000, %edx, %edx
	addl	%edx, %esi
	leal	-8(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$10000000, %edx, %edx
	addl	%edx, %esi
	leal	-9(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$10, %eax
	subl	$48, %edx
	cltq
	imull	$100000000, %edx, %edx
	movsbl	13(%rsp,%rax), %eax
	addl	%edx, %esi
	cmpb	$46, %al
	je	.L9
	subl	$48, %eax
	imull	$1000000000, %eax, %eax
	addl	%eax, %esi
.L9:
	xorl	%eax, %eax
.L5:
	imull	$100, %eax, %ecx
	movl	$1, %edi
	movabsq	$-6640827866535438581, %rdx
	addl	%esi, %ecx
	leaq	.LC1(%rip), %rsi
	movslq	%ecx, %rcx
	imulq	(%rsp), %rcx
	movq	%rcx, %rax
	imulq	%rdx
	xorl	%eax, %eax
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$6, %rdx
	subq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L64
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%edx, %eax
	subl	$1, %eax
	js	.L9
	cltq
	leal	-2(%rdx), %ecx
	movsbl	13(%rsp,%rax), %eax
	subl	$48, %eax
	cmpl	$1, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	leal	-240(%rcx,%rcx,4), %ecx
	leal	(%rax,%rcx,2), %eax
	leal	-3(%rdx), %ecx
	cmpl	$2, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$100, %ecx, %ecx
	addl	%ecx, %eax
	leal	-4(%rdx), %ecx
	cmpl	$3, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$1000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-5(%rdx), %ecx
	cmpl	$4, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$10000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-6(%rdx), %ecx
	cmpl	$5, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-7(%rdx), %ecx
	cmpl	$6, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$1000000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-8(%rdx), %ecx
	cmpl	$7, %edx
	je	.L5
	movslq	%ecx, %rdx
	movsbl	13(%rsp,%rdx), %edx
	subl	$48, %edx
	imull	$10000000, %edx, %edx
	addl	%edx, %eax
	testl	%ecx, %ecx
	je	.L5
	movsbl	13(%rsp), %edx
	subl	$48, %edx
	imull	$100000000, %edx, %edx
	addl	%edx, %eax
	jmp	.L5
.L64:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%s"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rbp
	movq	%rsp, %rsi
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leal	-1(%rax), %edx
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %esi
	cmpb	$46, %sil
	je	.L8
	leal	-2(%rax), %edx
	subl	$48, %esi
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	leal	-240(%rcx,%rcx,4), %edx
	leal	(%rsi,%rdx,2), %esi
	leal	-3(%rax), %edx
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	subl	$48, %ecx
	leal	-4(%rax), %edx
	imull	$100, %ecx, %ecx
	addl	%ecx, %esi
	movslq	%edx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	subl	$48, %ecx
	leal	-5(%rax), %edx
	imull	$1000, %ecx, %ecx
	addl	%ecx, %esi
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$10000, %edx, %edx
	addl	%edx, %esi
	leal	-6(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$100000, %edx, %edx
	addl	%edx, %esi
	leal	-7(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$1000000, %edx, %edx
	addl	%edx, %esi
	leal	-8(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$48, %edx
	imull	$10000000, %edx, %edx
	addl	%edx, %esi
	leal	-9(%rax), %edx
	movslq	%edx, %rcx
	movzbl	13(%rsp,%rcx), %ecx
	cmpb	$46, %cl
	je	.L2
	movsbl	%cl, %edx
	subl	$10, %eax
	subl	$48, %edx
	cltq
	imull	$100000000, %edx, %edx
	movsbl	13(%rsp,%rax), %eax
	addl	%edx, %esi
	cmpb	$46, %al
	je	.L9
	subl	$48, %eax
	imull	$1000000000, %eax, %eax
	addl	%eax, %esi
.L9:
	xorl	%eax, %eax
.L5:
	imull	$100, %eax, %ecx
	movl	$1, %edi
	movabsq	$-6640827866535438581, %rdx
	addl	%esi, %ecx
	leaq	.LC1(%rip), %rsi
	movslq	%ecx, %rcx
	imulq	(%rsp), %rcx
	movq	%rcx, %rax
	imulq	%rdx
	xorl	%eax, %eax
	addq	%rcx, %rdx
	sarq	$63, %rcx
	sarq	$6, %rdx
	subq	%rcx, %rdx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L64
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	xorl	%esi, %esi
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%edx, %eax
	subl	$1, %eax
	js	.L9
	cltq
	leal	-2(%rdx), %ecx
	movsbl	13(%rsp,%rax), %eax
	subl	$48, %eax
	cmpl	$1, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	leal	-240(%rcx,%rcx,4), %ecx
	leal	(%rax,%rcx,2), %eax
	leal	-3(%rdx), %ecx
	cmpl	$2, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$100, %ecx, %ecx
	addl	%ecx, %eax
	leal	-4(%rdx), %ecx
	cmpl	$3, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$1000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-5(%rdx), %ecx
	cmpl	$4, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$10000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-6(%rdx), %ecx
	cmpl	$5, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-7(%rdx), %ecx
	cmpl	$6, %edx
	je	.L5
	movslq	%ecx, %rcx
	movsbl	13(%rsp,%rcx), %ecx
	subl	$48, %ecx
	imull	$1000000, %ecx, %ecx
	addl	%ecx, %eax
	leal	-8(%rdx), %ecx
	cmpl	$7, %edx
	je	.L5
	movslq	%ecx, %rdx
	movsbl	13(%rsp,%rdx), %edx
	subl	$48, %edx
	imull	$10000000, %edx, %edx
	addl	%edx, %eax
	testl	%ecx, %ecx
	je	.L5
	movsbl	13(%rsp), %edx
	subl	$48, %edx
	imull	$100000000, %edx, %edx
	addl	%edx, %eax
	jmp	.L5
.L64:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
	long long a;
	char b[11];
	scanf("%lld%s",&a,b);
	int bb=0,cc=0,i,sum=1;
	for(i=strlen(b)-1;b[i]!='.';i--){
		cc+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=1;
	for(i--;i>=0;i--){
		if(i<0)break;
		bb+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=bb*100+cc;
	printf("%lld\n",(sum*a)/100);
}
1000000000000001 9.99
 2 0.01
 74 1.10
 1000000000000101 9.99
 1000001000000000 9.99
 1010000000000101 9.99
 1010000000100101 9.99
 1000000001000000 9.99
 1000010000000001 9.99
 1000010100000001 9.99

9990000000000009
 0
 81
 9990000000001008
 9990009990000000
 10089900000001008
 10089900001000008
 9990000009990000
 9990099900000009
 9990100899000009

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[])
{
	long long a;
	char b[11];
	scanf("%lld%s",&a,b);
	int bb=0,cc=0,i,sum=1;
	for(i=strlen(b)-1;b[i]!='.';i--){
		cc+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=1;
	for(i--;i>=0;i--){
		if(i<0)break;
		bb+=(b[i]-'0')*sum;
		sum*=10;
	}
	sum=bb*100+cc;
	printf("%lld\n",(sum*a)/100);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld%s"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movl	%edi, -52(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-19(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	$1, -36(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L2
.L3:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -44(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L2:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L3
	movl	$1, -36(%rbp)
	subl	$1, -40(%rbp)
	jmp	.L4
.L7:
	cmpl	$0, -40(%rbp)
	js	.L10
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -48(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L4:
	cmpl	$0, -40(%rbp)
	jns	.L7
	jmp	.L6
.L10:
	nop
.L6:
	movl	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -36(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$6, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld%s"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movl	%edi, -52(%rbp)
	movq	%rsi, -64(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-19(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	$1, -36(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	subl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L2
.L3:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -44(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L2:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L3
	movl	$1, -36(%rbp)
	subl	$1, -40(%rbp)
	jmp	.L4
.L7:
	cmpl	$0, -40(%rbp)
	js	.L10
	movl	-40(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	-36(%rbp), %eax
	addl	%eax, -48(%rbp)
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -36(%rbp)
	subl	$1, -40(%rbp)
.L4:
	cmpl	$0, -40(%rbp)
	jns	.L7
	jmp	.L6
.L10:
	nop
.L6:
	movl	-48(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -36(%rbp)
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movq	-32(%rbp), %rax
	movq	%rdx, %rcx
	imulq	%rax, %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$6, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
