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(void)
 {
     char N[11];
     int i,n=0,S[11],s=0,m=0;

     scanf("%s",N);
     s=strlen(N);

     for(i=0;i<s;i++){
       S[i]=N[i]-'0';
       m+=N[i]-'0';
     }

     if(s==1) n=S[0];
     if(s==2) n=S[0]*10+S[1];
     if(s==3) n=S[0]*100+S[1]+S[2];
     if(s==4) n=S[0]*1000+S[1]*100+S[2]*10+S[3];
     if(s==5) n=S[0]*10000+S[1]*1000+S[2]*100+S[3]*10+S[4];
     if(s==6) n=S[0]*100000+S[1]*10000+S[2]*1000+S[3]*100+S[4]*10+S[5];
     if(s==7){
      n=S[0]*1000000+S[1]*100000+S[2]*10000+S[3]*1000+S[4]*100+S[5]*10+S[6];
     }
     if(s==8){
      n=S[0]*10000000+S[1]*1000000+S[2]*100000+S[3]*10000+S[4]*1000+S[5]*100+S[6]*10+S[7];
     }
     if(s==9){
      n=S[0]*100000000+S[1]*10000000+S[2]*1000000+S[3]*100000+S[4]*10000+S[5]*1000+S[6]*100+S[7]*10+S[8];
     }
     if(s==10){
      n=S[0]*1000000000+S[1]*100000000+S[2]*10000000+S[3]*1000000+S[4]*100000+S[5]*10000+S[6]*1000+S[7]*100+S[8]*10+S[9];
     }

     if(n%m==0) printf("Yes\n");
     else printf("No\n");
   
     return 0;
 }
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -76(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -72(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -68(%rbp)
	movl	$0, -80(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-80(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, -72(%rbp)
	addl	$1, -80(%rbp)
.L2:
	movl	-80(%rbp), %eax
	cmpl	-68(%rbp), %eax
	jl	.L3
	cmpl	$1, -68(%rbp)
	jne	.L4
	movl	-64(%rbp), %eax
	movl	%eax, -76(%rbp)
.L4:
	cmpl	$2, -68(%rbp)
	jne	.L5
	movl	-64(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L5:
	cmpl	$3, -68(%rbp)
	jne	.L6
	movl	-64(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L6:
	cmpl	$4, -68(%rbp)
	jne	.L7
	movl	-64(%rbp), %eax
	imull	$1000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L7:
	cmpl	$5, -68(%rbp)
	jne	.L8
	movl	-64(%rbp), %eax
	imull	$10000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L8:
	cmpl	$6, -68(%rbp)
	jne	.L9
	movl	-64(%rbp), %eax
	imull	$100000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L9:
	cmpl	$7, -68(%rbp)
	jne	.L10
	movl	-64(%rbp), %eax
	imull	$1000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-44(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-40(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L10:
	cmpl	$8, -68(%rbp)
	jne	.L11
	movl	-64(%rbp), %eax
	imull	$10000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-40(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L11:
	cmpl	$9, -68(%rbp)
	jne	.L12
	movl	-64(%rbp), %eax
	imull	$100000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L12:
	cmpl	$10, -68(%rbp)
	jne	.L13
	movl	-64(%rbp), %eax
	imull	$1000000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-32(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L13:
	movl	-76(%rbp), %eax
	cltd
	idivl	-72(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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	$64, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	45(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, %rdx
	testq	%rax, %rax
	je	.L18
	movsbl	45(%rsp), %ecx
	subl	$48, %ecx
	movl	%ecx, (%rsp)
	cmpl	$1, %eax
	je	.L3
	movsbl	46(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 4(%rsp)
	addl	%eax, %ecx
	cmpl	$2, %edx
	je	.L4
	movsbl	47(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 8(%rsp)
	addl	%eax, %ecx
	cmpl	$3, %edx
	je	.L7
	movsbl	48(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 12(%rsp)
	addl	%eax, %ecx
	cmpl	$4, %edx
	je	.L7
	movsbl	49(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 16(%rsp)
	addl	%eax, %ecx
	cmpl	$5, %edx
	je	.L7
	movsbl	50(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 20(%rsp)
	addl	%eax, %ecx
	cmpl	$6, %edx
	je	.L7
	movsbl	51(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 24(%rsp)
	addl	%eax, %ecx
	cmpl	$7, %edx
	je	.L7
	movsbl	52(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 28(%rsp)
	addl	%eax, %ecx
	cmpl	$8, %edx
	je	.L7
	movsbl	53(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 32(%rsp)
	addl	%eax, %ecx
	cmpl	$10, %edx
	jne	.L7
	movsbl	54(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 36(%rsp)
	addl	%eax, %ecx
.L7:
	cmpq	$3, %rdx
	jne	.L9
	imull	$100, (%rsp), %eax
	addl	4(%rsp), %eax
	addl	8(%rsp), %eax
	.p2align 4,,10
	.p2align 3
.L14:
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L15
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L16:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$64, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L3:
	cmpq	$1, %rax
	jne	.L4
	movl	%ecx, %eax
	jmp	.L14
.L9:
	cmpq	$4, %rdx
	jne	.L19
	imull	$100, 4(%rsp), %edx
	imull	$1000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10, 8(%rsp), %edx
	addl	%edx, %eax
	addl	12(%rsp), %eax
	jmp	.L14
.L4:
	cmpq	$2, %rdx
	jne	.L7
	imull	$10, (%rsp), %eax
	addl	4(%rsp), %eax
	jmp	.L14
.L18:
	xorl	%ecx, %ecx
.L19:
	xorl	%eax, %eax
	cmpq	$5, %rdx
	jne	.L8
	imull	$1000, 4(%rsp), %edx
	imull	$10000, (%rsp), %eax
	addl	%edx, %eax
	imull	$100, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 12(%rsp), %edx
	addl	%edx, %eax
	addl	16(%rsp), %eax
	jmp	.L14
.L8:
	cmpq	$6, %rdx
	jne	.L10
	imull	$10000, 4(%rsp), %edx
	imull	$100000, (%rsp), %eax
	addl	%edx, %eax
	imull	$1000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 16(%rsp), %edx
	addl	%edx, %eax
	addl	20(%rsp), %eax
	jmp	.L14
.L10:
	cmpq	$7, %rdx
	jne	.L11
	imull	$100000, 4(%rsp), %edx
	imull	$1000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 20(%rsp), %edx
	addl	%edx, %eax
	addl	24(%rsp), %eax
	jmp	.L14
.L11:
	cmpq	$8, %rdx
	jne	.L12
	imull	$1000000, 4(%rsp), %edx
	imull	$10000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$100000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 24(%rsp), %edx
	addl	%edx, %eax
	addl	28(%rsp), %eax
	jmp	.L14
.L12:
	cmpq	$9, %rdx
	jne	.L13
	imull	$10000000, 4(%rsp), %edx
	imull	$100000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$1000000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$100000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 24(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 28(%rsp), %edx
	addl	%edx, %eax
	addl	32(%rsp), %eax
	jmp	.L14
.L13:
	cmpq	$10, %rdx
	jne	.L14
	imull	$100000000, 4(%rsp), %edx
	imull	$1000000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10000000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$1000000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$100000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 24(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 28(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 32(%rsp), %edx
	addl	%edx, %eax
	addl	36(%rsp), %eax
	jmp	.L14
.L22:
	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	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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	$64, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	45(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, %rdx
	testq	%rax, %rax
	je	.L18
	movsbl	45(%rsp), %ecx
	subl	$48, %ecx
	movl	%ecx, (%rsp)
	cmpl	$1, %eax
	je	.L3
	movsbl	46(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 4(%rsp)
	addl	%eax, %ecx
	cmpl	$2, %edx
	je	.L4
	movsbl	47(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 8(%rsp)
	addl	%eax, %ecx
	cmpl	$3, %edx
	je	.L7
	movsbl	48(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 12(%rsp)
	addl	%eax, %ecx
	cmpl	$4, %edx
	je	.L7
	movsbl	49(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 16(%rsp)
	addl	%eax, %ecx
	cmpl	$5, %edx
	je	.L7
	movsbl	50(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 20(%rsp)
	addl	%eax, %ecx
	cmpl	$6, %edx
	je	.L7
	movsbl	51(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 24(%rsp)
	addl	%eax, %ecx
	cmpl	$7, %edx
	je	.L7
	movsbl	52(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 28(%rsp)
	addl	%eax, %ecx
	cmpl	$8, %edx
	je	.L7
	movsbl	53(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 32(%rsp)
	addl	%eax, %ecx
	cmpl	$10, %edx
	jne	.L7
	movsbl	54(%rsp), %eax
	subl	$48, %eax
	movl	%eax, 36(%rsp)
	addl	%eax, %ecx
.L7:
	cmpq	$3, %rdx
	jne	.L9
	imull	$100, (%rsp), %eax
	addl	4(%rsp), %eax
	addl	8(%rsp), %eax
	.p2align 4,,10
	.p2align 3
.L14:
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L15
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L16:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$64, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L16
.L3:
	cmpq	$1, %rax
	jne	.L4
	movl	%ecx, %eax
	jmp	.L14
.L9:
	cmpq	$4, %rdx
	jne	.L19
	imull	$100, 4(%rsp), %edx
	imull	$1000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10, 8(%rsp), %edx
	addl	%edx, %eax
	addl	12(%rsp), %eax
	jmp	.L14
.L4:
	cmpq	$2, %rdx
	jne	.L7
	imull	$10, (%rsp), %eax
	addl	4(%rsp), %eax
	jmp	.L14
.L18:
	xorl	%ecx, %ecx
.L19:
	xorl	%eax, %eax
	cmpq	$5, %rdx
	jne	.L8
	imull	$1000, 4(%rsp), %edx
	imull	$10000, (%rsp), %eax
	addl	%edx, %eax
	imull	$100, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 12(%rsp), %edx
	addl	%edx, %eax
	addl	16(%rsp), %eax
	jmp	.L14
.L8:
	cmpq	$6, %rdx
	jne	.L10
	imull	$10000, 4(%rsp), %edx
	imull	$100000, (%rsp), %eax
	addl	%edx, %eax
	imull	$1000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 16(%rsp), %edx
	addl	%edx, %eax
	addl	20(%rsp), %eax
	jmp	.L14
.L10:
	cmpq	$7, %rdx
	jne	.L11
	imull	$100000, 4(%rsp), %edx
	imull	$1000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 20(%rsp), %edx
	addl	%edx, %eax
	addl	24(%rsp), %eax
	jmp	.L14
.L11:
	cmpq	$8, %rdx
	jne	.L12
	imull	$1000000, 4(%rsp), %edx
	imull	$10000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$100000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 24(%rsp), %edx
	addl	%edx, %eax
	addl	28(%rsp), %eax
	jmp	.L14
.L12:
	cmpq	$9, %rdx
	jne	.L13
	imull	$10000000, 4(%rsp), %edx
	imull	$100000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$1000000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$100000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 24(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 28(%rsp), %edx
	addl	%edx, %eax
	addl	32(%rsp), %eax
	jmp	.L14
.L13:
	cmpq	$10, %rdx
	jne	.L14
	imull	$100000000, 4(%rsp), %edx
	imull	$1000000000, (%rsp), %eax
	addl	%edx, %eax
	imull	$10000000, 8(%rsp), %edx
	addl	%edx, %eax
	imull	$1000000, 12(%rsp), %edx
	addl	%edx, %eax
	imull	$100000, 16(%rsp), %edx
	addl	%edx, %eax
	imull	$10000, 20(%rsp), %edx
	addl	%edx, %eax
	imull	$1000, 24(%rsp), %edx
	addl	%edx, %eax
	imull	$100, 28(%rsp), %edx
	addl	%edx, %eax
	imull	$10, 32(%rsp), %edx
	addl	%edx, %eax
	addl	36(%rsp), %eax
	jmp	.L14
.L22:
	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(void)
 {
     char N[11];
     int i,n=0,S[11],s=0,m=0;

     scanf("%s",N);
     s=strlen(N);

     for(i=0;i<s;i++){
       S[i]=N[i]-'0';
       m+=N[i]-'0';
     }

     if(s==1) n=S[0];
     if(s==2) n=S[0]*10+S[1];
     if(s==3) n=S[0]*100+S[1]+S[2];
     if(s==4) n=S[0]*1000+S[1]*100+S[2]*10+S[3];
     if(s==5) n=S[0]*10000+S[1]*1000+S[2]*100+S[3]*10+S[4];
     if(s==6) n=S[0]*100000+S[1]*10000+S[2]*1000+S[3]*100+S[4]*10+S[5];
     if(s==7){
      n=S[0]*1000000+S[1]*100000+S[2]*10000+S[3]*1000+S[4]*100+S[5]*10+S[6];
     }
     if(s==8){
      n=S[0]*10000000+S[1]*1000000+S[2]*100000+S[3]*10000+S[4]*1000+S[5]*100+S[6]*10+S[7];
     }
     if(s==9){
      n=S[0]*100000000+S[1]*10000000+S[2]*1000000+S[3]*100000+S[4]*10000+S[5]*1000+S[6]*100+S[7]*10+S[8];
     }
     if(s==10){
      n=S[0]*1000000000+S[1]*100000000+S[2]*10000000+S[3]*1000000+S[4]*100000+S[5]*10000+S[6]*1000+S[7]*100+S[8]*10+S[9];
     }

     if(n%m==0) printf("Yes\n");
     else printf("No\n");
   
     return 0;
 }

12

Yes

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(void)
 {
     char N[11];
     int i,n=0,S[11],s=0,m=0;

     scanf("%s",N);
     s=strlen(N);

     for(i=0;i<s;i++){
       S[i]=N[i]-'0';
       m+=N[i]-'0';
     }

     if(s==1) n=S[0];
     if(s==2) n=S[0]*10+S[1];
     if(s==3) n=S[0]*100+S[1]+S[2];
     if(s==4) n=S[0]*1000+S[1]*100+S[2]*10+S[3];
     if(s==5) n=S[0]*10000+S[1]*1000+S[2]*100+S[3]*10+S[4];
     if(s==6) n=S[0]*100000+S[1]*10000+S[2]*1000+S[3]*100+S[4]*10+S[5];
     if(s==7){
      n=S[0]*1000000+S[1]*100000+S[2]*10000+S[3]*1000+S[4]*100+S[5]*10+S[6];
     }
     if(s==8){
      n=S[0]*10000000+S[1]*1000000+S[2]*100000+S[3]*10000+S[4]*1000+S[5]*100+S[6]*10+S[7];
     }
     if(s==9){
      n=S[0]*100000000+S[1]*10000000+S[2]*1000000+S[3]*100000+S[4]*10000+S[5]*1000+S[6]*100+S[7]*10+S[8];
     }
     if(s==10){
      n=S[0]*1000000000+S[1]*100000000+S[2]*10000000+S[3]*1000000+S[4]*100000+S[5]*10000+S[6]*1000+S[7]*100+S[8]*10+S[9];
     }

     if(n%m==0) printf("Yes\n");
     else printf("No\n");
   
     return 0;
 }
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -76(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -72(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -68(%rbp)
	movl	$0, -80(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-80(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, -72(%rbp)
	addl	$1, -80(%rbp)
.L2:
	movl	-80(%rbp), %eax
	cmpl	-68(%rbp), %eax
	jl	.L3
	cmpl	$1, -68(%rbp)
	jne	.L4
	movl	-64(%rbp), %eax
	movl	%eax, -76(%rbp)
.L4:
	cmpl	$2, -68(%rbp)
	jne	.L5
	movl	-64(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L5:
	cmpl	$3, -68(%rbp)
	jne	.L6
	movl	-64(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L6:
	cmpl	$4, -68(%rbp)
	jne	.L7
	movl	-64(%rbp), %eax
	imull	$1000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L7:
	cmpl	$5, -68(%rbp)
	jne	.L8
	movl	-64(%rbp), %eax
	imull	$10000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L8:
	cmpl	$6, -68(%rbp)
	jne	.L9
	movl	-64(%rbp), %eax
	imull	$100000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L9:
	cmpl	$7, -68(%rbp)
	jne	.L10
	movl	-64(%rbp), %eax
	imull	$1000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-44(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-40(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L10:
	cmpl	$8, -68(%rbp)
	jne	.L11
	movl	-64(%rbp), %eax
	imull	$10000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-40(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L11:
	cmpl	$9, -68(%rbp)
	jne	.L12
	movl	-64(%rbp), %eax
	imull	$100000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L12:
	cmpl	$10, -68(%rbp)
	jne	.L13
	movl	-64(%rbp), %eax
	imull	$1000000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-32(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L13:
	movl	-76(%rbp), %eax
	cltd
	idivl	-72(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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	"%s"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -76(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -72(%rbp)
	leaq	-19(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-19(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -68(%rbp)
	movl	$0, -80(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-80(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	cltq
	movzbl	-19(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, -72(%rbp)
	addl	$1, -80(%rbp)
.L2:
	movl	-80(%rbp), %eax
	cmpl	-68(%rbp), %eax
	jl	.L3
	cmpl	$1, -68(%rbp)
	jne	.L4
	movl	-64(%rbp), %eax
	movl	%eax, -76(%rbp)
.L4:
	cmpl	$2, -68(%rbp)
	jne	.L5
	movl	-64(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L5:
	cmpl	$3, -68(%rbp)
	jne	.L6
	movl	-64(%rbp), %eax
	imull	$100, %eax, %edx
	movl	-60(%rbp), %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L6:
	cmpl	$4, -68(%rbp)
	jne	.L7
	movl	-64(%rbp), %eax
	imull	$1000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-56(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L7:
	cmpl	$5, -68(%rbp)
	jne	.L8
	movl	-64(%rbp), %eax
	imull	$10000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L8:
	cmpl	$6, -68(%rbp)
	jne	.L9
	movl	-64(%rbp), %eax
	imull	$100000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-48(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-44(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L9:
	cmpl	$7, -68(%rbp)
	jne	.L10
	movl	-64(%rbp), %eax
	imull	$1000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-44(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-40(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L10:
	cmpl	$8, -68(%rbp)
	jne	.L11
	movl	-64(%rbp), %eax
	imull	$10000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-40(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-36(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L11:
	cmpl	$9, -68(%rbp)
	jne	.L12
	movl	-64(%rbp), %eax
	imull	$100000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-36(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L12:
	cmpl	$10, -68(%rbp)
	jne	.L13
	movl	-64(%rbp), %eax
	imull	$1000000000, %eax, %edx
	movl	-60(%rbp), %eax
	imull	$100000000, %eax, %eax
	addl	%eax, %edx
	movl	-56(%rbp), %eax
	imull	$10000000, %eax, %eax
	addl	%eax, %edx
	movl	-52(%rbp), %eax
	imull	$1000000, %eax, %eax
	addl	%eax, %edx
	movl	-48(%rbp), %eax
	imull	$100000, %eax, %eax
	addl	%eax, %edx
	movl	-44(%rbp), %eax
	imull	$10000, %eax, %eax
	addl	%eax, %edx
	movl	-40(%rbp), %eax
	imull	$1000, %eax, %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	imull	$100, %eax, %eax
	leal	(%rdx,%rax), %ecx
	movl	-32(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rcx,%rax), %edx
	movl	-28(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -76(%rbp)
.L13:
	movl	-76(%rbp), %eax
	cltd
	idivl	-72(%rbp)
	movl	%edx, %eax
	testl	%eax, %eax
	jne	.L14
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L14:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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:
