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>

char s[100010];
char t[100010];

int ans[100010];
int main(){
	scanf("%s %s",s,t);
	int sm=(s[0]=='-'),tm=(t[0]=='-');
	int sn=strlen(s+sm),tn=strlen(t+tm);
	for(int i=0;i<sn;i++){
		if(sm)ans[i]-=s[sn+sm-1-i]-'0';
		else ans[i]+=s[sn-1-i]-'0';
	}
	for(int i=0;i<tn;i++){
		if(tm)ans[i]+=t[tn+tm-1-i]-'0';
		else ans[i]-=t[tn-1-i]-'0';
	}
	for(int i=0;i<100005;i++){
		while(ans[i]<0)ans[i]+=10,ans[i+1]--;
		while(ans[i]>9)ans[i]-=10,ans[i+1]++;
	}
	if(ans[100005]<0){
		printf("-");
		for(int i=0;i<100005;i++)ans[i]=9-ans[i];
		ans[0]++;
		int crr=0;
		while(ans[crr]==10)ans[crr]=0,ans[++crr]++;
	}
	int digit=0;
	for(int i=0;i<100005;i++)if(ans[i])digit=i;
	for(int i=digit;i>=0;i--)printf("%d",ans[i]);
	puts("");
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 100010
t:
	.zero	100010
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 400040
ans:
	.zero	400040
	.section	.rodata
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d"
.LC2:
	.string	""
	.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	$48, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	s(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -16(%rbp)
	movzbl	t(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L2
.L5:
	cmpl	$0, -16(%rbp)
	je	.L3
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L4
.L3:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	addl	$1, -48(%rbp)
.L2:
	movl	-48(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L5
	movl	$0, -44(%rbp)
	jmp	.L6
.L9:
	cmpl	$0, -12(%rbp)
	je	.L7
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L8
.L7:
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-4(%rbp), %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -44(%rbp)
.L6:
	movl	-44(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L9
	movl	$0, -40(%rbp)
	jmp	.L10
.L12:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	-1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	js	.L12
	jmp	.L13
.L14:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L13:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$9, %eax
	jg	.L14
	addl	$1, -40(%rbp)
.L10:
	cmpl	$100004, -40(%rbp)
	jle	.L11
	movl	400020+ans(%rip), %eax
	testl	%eax, %eax
	jns	.L16
	movl	$45, %edi
	call	putchar@PLT
	movl	$0, -36(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$9, %edx
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L17:
	cmpl	$100004, -36(%rbp)
	jle	.L18
	movl	ans(%rip), %eax
	addl	$1, %eax
	movl	%eax, ans(%rip)
	movl	$0, -32(%rbp)
	jmp	.L19
.L20:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -32(%rbp)
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L19:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$10, %eax
	je	.L20
.L16:
	movl	$0, -28(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L21
.L23:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L22
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L22:
	addl	$1, -24(%rbp)
.L21:
	cmpl	$100004, -24(%rbp)
	jle	.L23
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L24
.L25:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	subl	$1, -20(%rbp)
.L24:
	cmpl	$0, -20(%rbp)
	jns	.L25
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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
.LC1:
	.string	"%s %s"
.LC13:
	.string	"%d"
.LC14:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	s(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%r13, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movzbl	s(%rip), %r14d
	xorl	%edi, %edi
	movzbl	t(%rip), %ebx
	cmpb	$45, %r14b
	sete	%dil
	addq	%r13, %rdi
	call	strlen@PLT
	xorl	%edi, %edi
	cmpb	$45, %bl
	sete	%dil
	movq	%rax, %r12
	addq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, %rsi
	testl	%r12d, %r12d
	jle	.L7
	leaq	ans(%rip), %rax
	movslq	%r12d, %rdx
	cmpb	$45, %r14b
	je	.L5
	leaq	-1(%r13,%rdx), %rcx
	leal	-1(%r12), %edi
	leaq	4(%rax), %rdx
	leaq	(%rdx,%rdi,4), %rdi
.L6:
	movsbl	(%rcx), %edx
	subq	$1, %rcx
	subl	$48, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L6
.L7:
	testl	%esi, %esi
	jle	.L4
	leaq	ans(%rip), %rax
	movslq	%esi, %rdx
	cmpb	$45, %bl
	je	.L10
	leaq	-1(%rbp,%rdx), %rcx
	subl	$1, %esi
	leaq	4(%rax), %rdx
	leaq	(%rdx,%rsi,4), %rsi
.L11:
	movsbl	(%rcx), %edx
	subq	$1, %rcx
	subl	$48, %edx
	subl	%edx, (%rax)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L11
.L4:
	leaq	400020+ans(%rip), %r9
	movl	$3435973837, %r8d
	movdqa	.LC0(%rip), %xmm9
	movdqa	.LC8(%rip), %xmm2
	leaq	-400020(%r9), %rbx
	movdqa	.LC2(%rip), %xmm12
	movdqa	.LC3(%rip), %xmm11
	movdqa	.LC4(%rip), %xmm8
	movq	%rbx, %rsi
	movdqa	.LC5(%rip), %xmm7
	movdqa	.LC6(%rip), %xmm6
	movdqa	.LC9(%rip), %xmm5
	movdqa	.LC10(%rip), %xmm4
	movdqa	.LC11(%rip), %xmm3
	movdqa	.LC7(%rip), %xmm10
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rsi), %ecx
	movl	%ecx, %edx
	testl	%ecx, %ecx
	jns	.L22
	movl	%ecx, %edi
	movl	4(%rsi), %r10d
	notl	%edi
	imulq	%r8, %rdi
	shrq	$35, %rdi
	addl	$1, %edi
	cmpl	$-41, %ecx
	ja	.L13
	movd	%ecx, %xmm1
	movl	%edi, %edx
	pcmpeqd	%xmm15, %xmm15
	xorl	%eax, %eax
	pshufd	$0, %xmm1, %xmm14
	movd	%r10d, %xmm1
	shrl	$2, %edx
	pshufd	$0, %xmm1, %xmm13
	paddd	%xmm12, %xmm14
	paddd	%xmm11, %xmm13
	.p2align 4,,10
	.p2align 3
.L14:
	movdqa	%xmm13, %xmm1
	movdqa	%xmm14, %xmm0
	addl	$1, %eax
	paddd	%xmm8, %xmm13
	paddd	%xmm7, %xmm14
	paddd	%xmm6, %xmm0
	paddd	%xmm15, %xmm1
	cmpl	%eax, %edx
	jne	.L14
	movl	%edi, %r11d
	pshufd	$255, %xmm1, %xmm1
	pshufd	$255, %xmm0, %xmm0
	andl	$-4, %r11d
	movd	%xmm1, %eax
	movd	%xmm0, %edx
	leal	(%r11,%r11,4), %ebp
	subl	%r11d, %r10d
	leal	(%rcx,%rbp,2), %ecx
	cmpl	%r11d, %edi
	je	.L15
.L13:
	movl	%ecx, %edx
	leal	-1(%r10), %eax
	addl	$10, %edx
	jns	.L15
	movl	%ecx, %edx
	leal	-2(%r10), %eax
	addl	$20, %edx
	jns	.L15
	movl	%ecx, %edx
	leal	-3(%r10), %eax
	addl	$30, %edx
	jns	.L15
	leal	40(%rcx), %edx
	leal	-4(%r10), %eax
.L15:
	movl	%edx, (%rsi)
	movl	%eax, 4(%rsi)
.L22:
	cmpl	$9, %edx
	jle	.L16
	leal	-10(%rdx), %edi
	movl	4(%rsi), %r10d
	movq	%rdi, %rcx
	imulq	%r8, %rdi
	shrq	$35, %rdi
	addl	$1, %edi
	cmpl	$39, %ecx
	jbe	.L17
	movd	%edx, %xmm1
	movl	%edi, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm1, %xmm14
	movd	%r10d, %xmm1
	shrl	$2, %ecx
	pshufd	$0, %xmm1, %xmm13
	paddd	%xmm10, %xmm14
	paddd	%xmm9, %xmm13
	.p2align 4,,10
	.p2align 3
.L18:
	movdqa	%xmm13, %xmm0
	movdqa	%xmm14, %xmm1
	addl	$1, %eax
	paddd	%xmm2, %xmm13
	paddd	%xmm5, %xmm14
	paddd	%xmm4, %xmm1
	paddd	%xmm3, %xmm0
	cmpl	%ecx, %eax
	jne	.L18
	movl	%edi, %r11d
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %r11d
	movd	%xmm0, %eax
	movd	%xmm1, %ecx
	imull	$-10, %r11d, %ebp
	addl	%r11d, %r10d
	addl	%ebp, %edx
	cmpl	%r11d, %edi
	je	.L19
	leal	-10(%rdx), %ecx
.L17:
	leal	1(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-20(%rdx), %ecx
	leal	2(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-30(%rdx), %ecx
	leal	3(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-40(%rdx), %ecx
	leal	4(%r10), %eax
.L19:
	movl	%ecx, (%rsi)
	movl	%eax, 4(%rsi)
.L16:
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	.L9
	movl	400020+ans(%rip), %ecx
	testl	%ecx, %ecx
	js	.L23
	leaq	400016+ans(%rip), %rdx
.L26:
	leaq	ans(%rip), %rax
	pcmpeqd	%xmm3, %xmm3
	pxor	%xmm4, %xmm4
	.p2align 4,,10
	.p2align 3
.L24:
	movdqa	%xmm4, %xmm0
	movdqa	%xmm9, %xmm1
	addq	$16, %rax
	pcmpeqd	-16(%rax), %xmm0
	paddd	%xmm2, %xmm9
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	por	%xmm0, %xmm3
	cmpq	%rax, %rdx
	jne	.L24
	movdqa	%xmm3, %xmm0
	xorl	%edx, %edx
	leaq	-4+ans(%rip), %r12
	psrldq	$8, %xmm0
	leaq	.LC13(%rip), %rbp
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm2
	pandn	%xmm1, %xmm0
	por	%xmm2, %xmm0
	movd	%xmm0, %eax
	cmpl	$-1, %eax
	cmove	%edx, %eax
	movl	400016+ans(%rip), %edx
	testl	%edx, %edx
	movl	$100004, %edx
	cmovne	%edx, %eax
	cltq
	leaq	(%rbx,%rax,4), %rbx
.L29:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$4, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L29
	leaq	.LC14(%rip), %rdi
	call	puts@PLT
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	leal	-1(%r12), %edi
	leaq	4(%rax), %rcx
	addq	%r13, %rdx
	leaq	(%rcx,%rdi,4), %rdi
.L8:
	movsbl	(%rdx), %ecx
	subq	$1, %rdx
	subl	$48, %ecx
	subl	%ecx, (%rax)
	addq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L8
	jmp	.L7
.L23:
	movl	$45, %edi
	call	putchar@PLT
	leaq	400016+ans(%rip), %rdx
	movdqa	.LC12(%rip), %xmm1
	movdqa	.LC8(%rip), %xmm2
	movdqa	.LC0(%rip), %xmm9
	leaq	-400016(%rdx), %rax
.L25:
	movdqa	%xmm1, %xmm0
	psubd	(%rax), %xmm0
	addq	$16, %rax
	movaps	%xmm0, -16(%rax)
	cmpq	%rax, %rdx
	jne	.L25
	movl	$9, %eax
	subl	400016+ans(%rip), %eax
	movl	%eax, 400016+ans(%rip)
	movl	ans(%rip), %eax
	addl	$1, %eax
	movl	%eax, ans(%rip)
	cmpl	$10, %eax
	jne	.L26
	leaq	4+ans(%rip), %rax
.L27:
	movl	(%rax), %esi
	movl	$0, -4(%rax)
	addq	$4, %rax
	leal	1(%rsi), %ecx
	movl	%ecx, -4(%rax)
	cmpl	$10, %ecx
	je	.L27
	jmp	.L26
.L10:
	subl	$1, %esi
	leaq	4(%rax), %rcx
	addq	%rbp, %rdx
	leaq	(%rcx,%rsi,4), %rsi
.L12:
	movsbl	(%rdx), %ecx
	subq	$1, %rdx
	subl	$48, %ecx
	addl	%ecx, (%rax)
	addq	$4, %rax
	cmpq	%rax, %rsi
	jne	.L12
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 400040
ans:
	.zero	400040
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 100010
t:
	.zero	100010
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	10
	.long	20
	.long	30
	.align 16
.LC3:
	.long	0
	.long	-1
	.long	-2
	.long	-3
	.align 16
.LC4:
	.long	-4
	.long	-4
	.long	-4
	.long	-4
	.align 16
.LC5:
	.long	40
	.long	40
	.long	40
	.long	40
	.align 16
.LC6:
	.long	10
	.long	10
	.long	10
	.long	10
	.align 16
.LC7:
	.long	0
	.long	-10
	.long	-20
	.long	-30
	.align 16
.LC8:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC9:
	.long	-40
	.long	-40
	.long	-40
	.long	-40
	.align 16
.LC10:
	.long	-10
	.long	-10
	.long	-10
	.long	-10
	.align 16
.LC11:
	.long	1
	.long	1
	.long	1
	.long	1
	.align 16
.LC12:
	.long	9
	.long	9
	.long	9
	.long	9
	.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
.LC1:
	.string	"%s %s"
.LC13:
	.string	"%d"
.LC14:
	.string	""
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	s(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%r13, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rbp, %rdx
	call	__isoc99_scanf@PLT
	movzbl	s(%rip), %r14d
	xorl	%edi, %edi
	movzbl	t(%rip), %ebx
	cmpb	$45, %r14b
	sete	%dil
	addq	%r13, %rdi
	call	strlen@PLT
	xorl	%edi, %edi
	cmpb	$45, %bl
	sete	%dil
	movq	%rax, %r12
	addq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, %rsi
	testl	%r12d, %r12d
	jle	.L7
	leaq	ans(%rip), %rax
	movslq	%r12d, %rdx
	cmpb	$45, %r14b
	je	.L5
	leaq	-1(%r13,%rdx), %rcx
	leal	-1(%r12), %edi
	leaq	4(%rax), %rdx
	leaq	(%rdx,%rdi,4), %rdi
.L6:
	movsbl	(%rcx), %edx
	subq	$1, %rcx
	subl	$48, %edx
	addl	%edx, (%rax)
	addq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L6
.L7:
	testl	%esi, %esi
	jle	.L4
	leaq	ans(%rip), %rax
	movslq	%esi, %rdx
	cmpb	$45, %bl
	je	.L10
	leaq	-1(%rbp,%rdx), %rcx
	subl	$1, %esi
	leaq	4(%rax), %rdx
	leaq	(%rdx,%rsi,4), %rsi
.L11:
	movsbl	(%rcx), %edx
	subq	$1, %rcx
	subl	$48, %edx
	subl	%edx, (%rax)
	addq	$4, %rax
	cmpq	%rsi, %rax
	jne	.L11
.L4:
	leaq	400020+ans(%rip), %r9
	movl	$3435973837, %r8d
	movdqa	.LC0(%rip), %xmm9
	movdqa	.LC8(%rip), %xmm2
	leaq	-400020(%r9), %rbx
	movdqa	.LC2(%rip), %xmm12
	movdqa	.LC3(%rip), %xmm11
	movdqa	.LC4(%rip), %xmm8
	movq	%rbx, %rsi
	movdqa	.LC5(%rip), %xmm7
	movdqa	.LC6(%rip), %xmm6
	movdqa	.LC9(%rip), %xmm5
	movdqa	.LC10(%rip), %xmm4
	movdqa	.LC11(%rip), %xmm3
	movdqa	.LC7(%rip), %xmm10
	.p2align 4,,10
	.p2align 3
.L9:
	movl	(%rsi), %ecx
	movl	%ecx, %edx
	testl	%ecx, %ecx
	jns	.L22
	movl	%ecx, %edi
	movl	4(%rsi), %r10d
	notl	%edi
	imulq	%r8, %rdi
	shrq	$35, %rdi
	addl	$1, %edi
	cmpl	$-41, %ecx
	ja	.L13
	movd	%ecx, %xmm1
	movl	%edi, %edx
	pcmpeqd	%xmm15, %xmm15
	xorl	%eax, %eax
	pshufd	$0, %xmm1, %xmm14
	movd	%r10d, %xmm1
	shrl	$2, %edx
	pshufd	$0, %xmm1, %xmm13
	paddd	%xmm12, %xmm14
	paddd	%xmm11, %xmm13
	.p2align 4,,10
	.p2align 3
.L14:
	movdqa	%xmm13, %xmm1
	movdqa	%xmm14, %xmm0
	addl	$1, %eax
	paddd	%xmm8, %xmm13
	paddd	%xmm7, %xmm14
	paddd	%xmm6, %xmm0
	paddd	%xmm15, %xmm1
	cmpl	%eax, %edx
	jne	.L14
	movl	%edi, %r11d
	pshufd	$255, %xmm1, %xmm1
	pshufd	$255, %xmm0, %xmm0
	andl	$-4, %r11d
	movd	%xmm1, %eax
	movd	%xmm0, %edx
	leal	(%r11,%r11,4), %ebp
	subl	%r11d, %r10d
	leal	(%rcx,%rbp,2), %ecx
	cmpl	%r11d, %edi
	je	.L15
.L13:
	movl	%ecx, %edx
	leal	-1(%r10), %eax
	addl	$10, %edx
	jns	.L15
	movl	%ecx, %edx
	leal	-2(%r10), %eax
	addl	$20, %edx
	jns	.L15
	movl	%ecx, %edx
	leal	-3(%r10), %eax
	addl	$30, %edx
	jns	.L15
	leal	40(%rcx), %edx
	leal	-4(%r10), %eax
.L15:
	movl	%edx, (%rsi)
	movl	%eax, 4(%rsi)
.L22:
	cmpl	$9, %edx
	jle	.L16
	leal	-10(%rdx), %edi
	movl	4(%rsi), %r10d
	movq	%rdi, %rcx
	imulq	%r8, %rdi
	shrq	$35, %rdi
	addl	$1, %edi
	cmpl	$39, %ecx
	jbe	.L17
	movd	%edx, %xmm1
	movl	%edi, %ecx
	xorl	%eax, %eax
	pshufd	$0, %xmm1, %xmm14
	movd	%r10d, %xmm1
	shrl	$2, %ecx
	pshufd	$0, %xmm1, %xmm13
	paddd	%xmm10, %xmm14
	paddd	%xmm9, %xmm13
	.p2align 4,,10
	.p2align 3
.L18:
	movdqa	%xmm13, %xmm0
	movdqa	%xmm14, %xmm1
	addl	$1, %eax
	paddd	%xmm2, %xmm13
	paddd	%xmm5, %xmm14
	paddd	%xmm4, %xmm1
	paddd	%xmm3, %xmm0
	cmpl	%ecx, %eax
	jne	.L18
	movl	%edi, %r11d
	pshufd	$255, %xmm0, %xmm0
	pshufd	$255, %xmm1, %xmm1
	andl	$-4, %r11d
	movd	%xmm0, %eax
	movd	%xmm1, %ecx
	imull	$-10, %r11d, %ebp
	addl	%r11d, %r10d
	addl	%ebp, %edx
	cmpl	%r11d, %edi
	je	.L19
	leal	-10(%rdx), %ecx
.L17:
	leal	1(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-20(%rdx), %ecx
	leal	2(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-30(%rdx), %ecx
	leal	3(%r10), %eax
	cmpl	$9, %ecx
	jle	.L19
	leal	-40(%rdx), %ecx
	leal	4(%r10), %eax
.L19:
	movl	%ecx, (%rsi)
	movl	%eax, 4(%rsi)
.L16:
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	.L9
	movl	400020+ans(%rip), %ecx
	testl	%ecx, %ecx
	js	.L23
	leaq	400016+ans(%rip), %rdx
.L26:
	leaq	ans(%rip), %rax
	pcmpeqd	%xmm3, %xmm3
	pxor	%xmm4, %xmm4
	.p2align 4,,10
	.p2align 3
.L24:
	movdqa	%xmm4, %xmm0
	movdqa	%xmm9, %xmm1
	addq	$16, %rax
	pcmpeqd	-16(%rax), %xmm0
	paddd	%xmm2, %xmm9
	pand	%xmm0, %xmm3
	pandn	%xmm1, %xmm0
	por	%xmm0, %xmm3
	cmpq	%rax, %rdx
	jne	.L24
	movdqa	%xmm3, %xmm0
	xorl	%edx, %edx
	leaq	-4+ans(%rip), %r12
	psrldq	$8, %xmm0
	leaq	.LC13(%rip), %rbp
	movdqa	%xmm0, %xmm1
	pcmpgtd	%xmm3, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm3, %xmm1
	por	%xmm0, %xmm1
	movdqa	%xmm1, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm2
	pandn	%xmm1, %xmm0
	por	%xmm2, %xmm0
	movd	%xmm0, %eax
	cmpl	$-1, %eax
	cmove	%edx, %eax
	movl	400016+ans(%rip), %edx
	testl	%edx, %edx
	movl	$100004, %edx
	cmovne	%edx, %eax
	cltq
	leaq	(%rbx,%rax,4), %rbx
.L29:
	movl	(%rbx), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$4, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L29
	leaq	.LC14(%rip), %rdi
	call	puts@PLT
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	leal	-1(%r12), %edi
	leaq	4(%rax), %rcx
	addq	%r13, %rdx
	leaq	(%rcx,%rdi,4), %rdi
.L8:
	movsbl	(%rdx), %ecx
	subq	$1, %rdx
	subl	$48, %ecx
	subl	%ecx, (%rax)
	addq	$4, %rax
	cmpq	%rdi, %rax
	jne	.L8
	jmp	.L7
.L23:
	movl	$45, %edi
	call	putchar@PLT
	leaq	400016+ans(%rip), %rdx
	movdqa	.LC12(%rip), %xmm1
	movdqa	.LC8(%rip), %xmm2
	movdqa	.LC0(%rip), %xmm9
	leaq	-400016(%rdx), %rax
.L25:
	movdqa	%xmm1, %xmm0
	psubd	(%rax), %xmm0
	addq	$16, %rax
	movaps	%xmm0, -16(%rax)
	cmpq	%rax, %rdx
	jne	.L25
	movl	$9, %eax
	subl	400016+ans(%rip), %eax
	movl	%eax, 400016+ans(%rip)
	movl	ans(%rip), %eax
	addl	$1, %eax
	movl	%eax, ans(%rip)
	cmpl	$10, %eax
	jne	.L26
	leaq	4+ans(%rip), %rax
.L27:
	movl	(%rax), %esi
	movl	$0, -4(%rax)
	addq	$4, %rax
	leal	1(%rsi), %ecx
	movl	%ecx, -4(%rax)
	cmpl	$10, %ecx
	je	.L27
	jmp	.L26
.L10:
	subl	$1, %esi
	leaq	4(%rax), %rcx
	addq	%rbp, %rdx
	leaq	(%rcx,%rsi,4), %rsi
.L12:
	movsbl	(%rdx), %ecx
	subq	$1, %rdx
	subl	$48, %ecx
	addl	%ecx, (%rax)
	addq	$4, %rax
	cmpq	%rax, %rsi
	jne	.L12
	jmp	.L4
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 400040
ans:
	.zero	400040
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 100010
t:
	.zero	100010
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	0
	.long	10
	.long	20
	.long	30
	.align 16
.LC3:
	.long	0
	.long	-1
	.long	-2
	.long	-3
	.align 16
.LC4:
	.long	-4
	.long	-4
	.long	-4
	.long	-4
	.align 16
.LC5:
	.long	40
	.long	40
	.long	40
	.long	40
	.align 16
.LC6:
	.long	10
	.long	10
	.long	10
	.long	10
	.align 16
.LC7:
	.long	0
	.long	-10
	.long	-20
	.long	-30
	.align 16
.LC8:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC9:
	.long	-40
	.long	-40
	.long	-40
	.long	-40
	.align 16
.LC10:
	.long	-10
	.long	-10
	.long	-10
	.long	-10
	.align 16
.LC11:
	.long	1
	.long	1
	.long	1
	.long	1
	.align 16
.LC12:
	.long	9
	.long	9
	.long	9
	.long	9
	.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>

char s[100010];
char t[100010];

int ans[100010];
int main(){
	scanf("%s %s",s,t);
	int sm=(s[0]=='-'),tm=(t[0]=='-');
	int sn=strlen(s+sm),tn=strlen(t+tm);
	for(int i=0;i<sn;i++){
		if(sm)ans[i]-=s[sn+sm-1-i]-'0';
		else ans[i]+=s[sn-1-i]-'0';
	}
	for(int i=0;i<tn;i++){
		if(tm)ans[i]+=t[tn+tm-1-i]-'0';
		else ans[i]-=t[tn-1-i]-'0';
	}
	for(int i=0;i<100005;i++){
		while(ans[i]<0)ans[i]+=10,ans[i+1]--;
		while(ans[i]>9)ans[i]-=10,ans[i+1]++;
	}
	if(ans[100005]<0){
		printf("-");
		for(int i=0;i<100005;i++)ans[i]=9-ans[i];
		ans[0]++;
		int crr=0;
		while(ans[crr]==10)ans[crr]=0,ans[++crr]++;
	}
	int digit=0;
	for(int i=0;i<100005;i++)if(ans[i])digit=i;
	for(int i=digit;i>=0;i--)printf("%d",ans[i]);
	puts("");
}

5 4
 5 5
 5 1
 4 1
 2 0
 8 0
 15 0
 15 1
 8 1
 0 1

1
 0
 4
 3
 2
 8
 15
 14
 7
 -1

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>

char s[100010];
char t[100010];

int ans[100010];
int main(){
	scanf("%s %s",s,t);
	int sm=(s[0]=='-'),tm=(t[0]=='-');
	int sn=strlen(s+sm),tn=strlen(t+tm);
	for(int i=0;i<sn;i++){
		if(sm)ans[i]-=s[sn+sm-1-i]-'0';
		else ans[i]+=s[sn-1-i]-'0';
	}
	for(int i=0;i<tn;i++){
		if(tm)ans[i]+=t[tn+tm-1-i]-'0';
		else ans[i]-=t[tn-1-i]-'0';
	}
	for(int i=0;i<100005;i++){
		while(ans[i]<0)ans[i]+=10,ans[i+1]--;
		while(ans[i]>9)ans[i]-=10,ans[i+1]++;
	}
	if(ans[100005]<0){
		printf("-");
		for(int i=0;i<100005;i++)ans[i]=9-ans[i];
		ans[0]++;
		int crr=0;
		while(ans[crr]==10)ans[crr]=0,ans[++crr]++;
	}
	int digit=0;
	for(int i=0;i<100005;i++)if(ans[i])digit=i;
	for(int i=digit;i>=0;i--)printf("%d",ans[i]);
	puts("");
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 100010
t:
	.zero	100010
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 400040
ans:
	.zero	400040
	.section	.rodata
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d"
.LC2:
	.string	""
	.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	$48, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	s(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -16(%rbp)
	movzbl	t(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L2
.L5:
	cmpl	$0, -16(%rbp)
	je	.L3
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L4
.L3:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	addl	$1, -48(%rbp)
.L2:
	movl	-48(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L5
	movl	$0, -44(%rbp)
	jmp	.L6
.L9:
	cmpl	$0, -12(%rbp)
	je	.L7
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L8
.L7:
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-4(%rbp), %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -44(%rbp)
.L6:
	movl	-44(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L9
	movl	$0, -40(%rbp)
	jmp	.L10
.L12:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	-1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	js	.L12
	jmp	.L13
.L14:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L13:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$9, %eax
	jg	.L14
	addl	$1, -40(%rbp)
.L10:
	cmpl	$100004, -40(%rbp)
	jle	.L11
	movl	400020+ans(%rip), %eax
	testl	%eax, %eax
	jns	.L16
	movl	$45, %edi
	call	putchar@PLT
	movl	$0, -36(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$9, %edx
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L17:
	cmpl	$100004, -36(%rbp)
	jle	.L18
	movl	ans(%rip), %eax
	addl	$1, %eax
	movl	%eax, ans(%rip)
	movl	$0, -32(%rbp)
	jmp	.L19
.L20:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -32(%rbp)
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L19:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$10, %eax
	je	.L20
.L16:
	movl	$0, -28(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L21
.L23:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L22
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L22:
	addl	$1, -24(%rbp)
.L21:
	cmpl	$100004, -24(%rbp)
	jle	.L23
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L24
.L25:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	subl	$1, -20(%rbp)
.L24:
	cmpl	$0, -20(%rbp)
	jns	.L25
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 100010
t:
	.zero	100010
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 400040
ans:
	.zero	400040
	.section	.rodata
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d"
.LC2:
	.string	""
	.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	$48, %rsp
	leaq	t(%rip), %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	s(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -16(%rbp)
	movzbl	t(%rip), %eax
	cmpb	$45, %al
	sete	%al
	movzbl	%al, %eax
	movl	%eax, -12(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -8(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -4(%rbp)
	movl	$0, -48(%rbp)
	jmp	.L2
.L5:
	cmpl	$0, -16(%rbp)
	je	.L3
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %ecx
	movl	-16(%rbp), %eax
	addl	%ecx, %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L4
.L3:
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	subl	$1, %eax
	subl	-48(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-48(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L4:
	addl	$1, -48(%rbp)
.L2:
	movl	-48(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L5
	movl	$0, -44(%rbp)
	jmp	.L6
.L9:
	cmpl	$0, -12(%rbp)
	je	.L7
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-4(%rbp), %edx
	movl	-12(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	addl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L8
.L7:
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-4(%rbp), %eax
	subl	$1, %eax
	subl	-44(%rbp), %eax
	cltq
	leaq	t(%rip), %rcx
	movzbl	(%rax,%rcx), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-44(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L8:
	addl	$1, -44(%rbp)
.L6:
	movl	-44(%rbp), %eax
	cmpl	-4(%rbp), %eax
	jl	.L9
	movl	$0, -40(%rbp)
	jmp	.L10
.L12:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	-1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L11:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	js	.L12
	jmp	.L13
.L14:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-10(%rax), %ecx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-40(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	ans(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L13:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$9, %eax
	jg	.L14
	addl	$1, -40(%rbp)
.L10:
	cmpl	$100004, -40(%rbp)
	jle	.L11
	movl	400020+ans(%rip), %eax
	testl	%eax, %eax
	jns	.L16
	movl	$45, %edi
	call	putchar@PLT
	movl	$0, -36(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	$9, %edx
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -36(%rbp)
.L17:
	cmpl	$100004, -36(%rbp)
	jle	.L18
	movl	ans(%rip), %eax
	addl	$1, %eax
	movl	%eax, ans(%rip)
	movl	$0, -32(%rbp)
	jmp	.L19
.L20:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	$0, (%rdx,%rax)
	addl	$1, -32(%rbp)
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L19:
	movl	-32(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	$10, %eax
	je	.L20
.L16:
	movl	$0, -28(%rbp)
	movl	$0, -24(%rbp)
	jmp	.L21
.L23:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L22
	movl	-24(%rbp), %eax
	movl	%eax, -28(%rbp)
.L22:
	addl	$1, -24(%rbp)
.L21:
	cmpl	$100004, -24(%rbp)
	jle	.L23
	movl	-28(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L24
.L25:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	subl	$1, -20(%rbp)
.L24:
	cmpl	$0, -20(%rbp)
	jns	.L25
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	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:
