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 <stdlib.h>
#include <string.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
#define MAXSIZE 20
int main(int argc, char *argv[]) {
//	

	
	char A[MAXSIZE], B[5];
	scanf("%s %s", A, B);
	int i;
	int j;
	int lenA = strlen(A);
	int lenB = strlen(B);
//	if (lenA < 10)
//	{
////		int A1[lenA], B1 = (int)
//		int resa = A* B;
//		printf("%d",resa);
//		return;
//	}
	char temp;
	for (i = 0; i < lenA/2; ++i)
	{
		temp = A[i];
		A[i] = A[lenA-1-i];
		A[lenA - 1 - i] = temp;
		
	}
//	printf("%d", 100000000);
	
	for ( i = 1; i < 3; i++)
	{
		B[i] = B[i + 1];
	}
	B[3] = '\0';
	
	temp = B[0];
	B[0] = B[2];
	B[2] = temp;
//	printf("%s\n", B);
	lenB = strlen(B);
	int *res = (int *)malloc((lenA + lenB) * sizeof(int));
	for (i = 0; i < lenA + lenB; ++i)
	{
		res[i] = 0;
	}
//	char *res = (char *)calloc(lenA + lenB , sizeof(char));
//	int res[lenA + 2] = 0;
	
	
	for ( i = 0; i < lenB; ++i)
	{
		for (j = 0; j < lenA; ++j)
		{
			res[i + j] += (A[j] - '0') * (B[i] - '0'); 
//			printf("%d", res[i + j]);
			if (res[i + j] > 9)
			{
				res[i + j + 1] += (res[i + j] / 10);
				res[i + j] %= 10;  
			}
		}
	}
	
	
	i =  lenA + lenB - 1;
	
	while (res[i] == 0)
	{
		i--;
	}
//	printf("%d\n", i);
	if (i < 2)
	{
		printf("%d", 0);
		
	}
	else
	{
//		printf("%d\n", res[i]);
	
		while (i >=  2)
		{
			printf("%d", res[i--]);
		}
		
	}
//1000 0000  0000 0000
//9990 0000  0000 0000
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movl	%edi, -84(%rbp)
	movq	%rsi, -96(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-37(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -56(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L3:
	movl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movb	%al, -65(%rbp)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -32(%rbp,%rax)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-65(%rbp), %edx
	movb	%dl, -32(%rbp,%rax)
	addl	$1, -64(%rbp)
.L2:
	movl	-56(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -64(%rbp)
	jl	.L3
	movl	$1, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-37(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -37(%rbp,%rax)
	addl	$1, -64(%rbp)
.L4:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movb	$0, -34(%rbp)
	movzbl	-37(%rbp), %eax
	movb	%al, -65(%rbp)
	movzbl	-35(%rbp), %eax
	movb	%al, -37(%rbp)
	movzbl	-65(%rbp), %eax
	movb	%al, -35(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L6
.L7:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	$0, (%rax)
	addl	$1, -64(%rbp)
.L6:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -64(%rbp)
	jl	.L7
	movl	$0, -64(%rbp)
	jmp	.L8
.L12:
	movl	$0, -60(%rbp)
	jmp	.L9
.L11:
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-60(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movzbl	-37(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	%eax, %edx
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %eax
	addl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rsi
	movq	-48(%rbp), %rax
	addq	%rsi, %rax
	addl	%ecx, %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$9, %eax
	jle	.L10
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	leal	(%rcx,%rsi), %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	leaq	(%rdx,%rax), %rsi
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, (%rsi)
.L10:
	addl	$1, -60(%rbp)
.L9:
	movl	-60(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jl	.L11
	addl	$1, -64(%rbp)
.L8:
	movl	-64(%rbp), %eax
	cmpl	-52(%rbp), %eax
	jl	.L12
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -64(%rbp)
	jmp	.L13
.L14:
	subl	$1, -64(%rbp)
.L13:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L14
	cmpl	$1, -64(%rbp)
	jg	.L17
	movl	$0, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L16
.L18:
	movl	-64(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -64(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	cmpl	$1, -64(%rbp)
	jg	.L18
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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 %s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %r13
	leaq	26(%rsp), %r12
	movq	%r12, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%rax, %r15
	sarl	%eax
	je	.L5
	leal	-1(%r15), %edx
	movzbl	32(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%cl, 32(%rsp,%rdx)
	movb	%sil, 32(%rsp)
	cmpl	$1, %eax
	je	.L5
	leal	-2(%r15), %edx
	movzbl	33(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 33(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$2, %eax
	je	.L5
	leal	-3(%r15), %edx
	movzbl	34(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 34(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$3, %eax
	je	.L5
	leal	-4(%r15), %edx
	movzbl	35(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 35(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$4, %eax
	je	.L5
	leal	-5(%r15), %edx
	movzbl	36(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 36(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$5, %eax
	je	.L5
	leal	-6(%r15), %edx
	movzbl	37(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 37(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$6, %eax
	je	.L5
	leal	-7(%r15), %edx
	movzbl	38(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 38(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$7, %eax
	je	.L5
	leal	-8(%r15), %edx
	movzbl	39(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 39(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$9, %eax
	jne	.L5
	leal	-9(%r15), %eax
	movzbl	40(%rsp), %edx
	cltq
	movzbl	32(%rsp,%rax), %ecx
	movb	%cl, 40(%rsp)
	movb	%dl, 32(%rsp,%rax)
.L5:
	movzwl	28(%rsp), %eax
	movzbl	26(%rsp), %edx
	movq	%r12, %rdi
	movb	$0, 29(%rsp)
	rolw	$8, %ax
	movb	%dl, 28(%rsp)
	movw	%ax, 26(%rsp)
	call	strlen@PLT
	leal	(%rax,%r15), %ebx
	movq	%rax, 8(%rsp)
	movl	%eax, %r14d
	movslq	%ebx, %rdx
	salq	$2, %rdx
	movq	%rdx, %rdi
	movq	%rdx, (%rsp)
	call	malloc@PLT
	testl	%ebx, %ebx
	movq	(%rsp), %rdx
	movq	8(%rsp), %rsi
	movq	%rax, %rbp
	je	.L4
	cmpl	$8, %edx
	jnb	.L9
	testb	$4, %dl
	jne	.L55
	testl	%edx, %edx
	je	.L4
	movb	$0, (%rax)
.L4:
	testq	%rsi, %rsi
	je	.L6
	testq	%r15, %r15
	je	.L6
	leaq	0(%rbp,%r15,4), %rdi
	xorl	%r8d, %r8d
.L8:
	movsbl	(%r12,%r8), %esi
	leaq	0(%rbp,%r8,4), %rdx
	movq	%r13, %rcx
	subl	$48, %esi
	.p2align 4,,10
	.p2align 3
.L14:
	movsbl	(%rcx), %eax
	subl	$48, %eax
	imull	%esi, %eax
	addl	(%rdx), %eax
	movl	%eax, (%rdx)
	cmpl	$9, %eax
	jle	.L13
	movslq	%eax, %r9
	movl	%eax, %r10d
	imulq	$1717986919, %r9, %r9
	sarl	$31, %r10d
	sarq	$34, %r9
	subl	%r10d, %r9d
	addl	%r9d, 4(%rdx)
	leal	(%r9,%r9,4), %r9d
	addl	%r9d, %r9d
	subl	%r9d, %eax
	movl	%eax, (%rdx)
.L13:
	addq	$4, %rdx
	addq	$1, %rcx
	cmpq	%rdx, %rdi
	jne	.L14
	addq	$1, %r8
	addq	$4, %rdi
	cmpl	%r8d, %r14d
	jg	.L8
.L6:
	leal	-1(%rbx), %eax
	movslq	%eax, %rdx
	movl	0(%rbp,%rdx,4), %ecx
	testl	%ecx, %ecx
	jne	.L15
	subl	$2, %ebx
	movslq	%ebx, %rbx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ebx, %eax
	subq	$1, %rbx
	movl	4(%rbp,%rbx,4), %edx
	testl	%edx, %edx
	je	.L16
.L15:
	movslq	%eax, %rbx
	leaq	.LC1(%rip), %r12
	cmpl	$1, %eax
	jle	.L56
	.p2align 4,,10
	.p2align 3
.L19:
	movl	0(%rbp,%rbx,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	$1, %ebx
	jne	.L19
.L18:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L57
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	movl	%edx, %eax
	subl	$1, %edx
	movq	%rbp, %rdi
	movq	$0, -8(%rbp,%rax)
	shrl	$3, %edx
	xorl	%eax, %eax
	movl	%edx, %ecx
	rep stosq
	jmp	.L4
.L56:
	xorl	%edx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L18
.L55:
	movl	%edx, %edx
	movl	$0, (%rax)
	movl	$0, -4(%rax,%rdx)
	jmp	.L4
.L57:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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 %s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %r13
	leaq	26(%rsp), %r12
	movq	%r12, %rdx
	movq	%r13, %rsi
	call	__isoc99_scanf@PLT
	movq	%r13, %rdi
	call	strlen@PLT
	movq	%rax, %r15
	sarl	%eax
	je	.L5
	leal	-1(%r15), %edx
	movzbl	32(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%cl, 32(%rsp,%rdx)
	movb	%sil, 32(%rsp)
	cmpl	$1, %eax
	je	.L5
	leal	-2(%r15), %edx
	movzbl	33(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 33(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$2, %eax
	je	.L5
	leal	-3(%r15), %edx
	movzbl	34(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 34(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$3, %eax
	je	.L5
	leal	-4(%r15), %edx
	movzbl	35(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 35(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$4, %eax
	je	.L5
	leal	-5(%r15), %edx
	movzbl	36(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 36(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$5, %eax
	je	.L5
	leal	-6(%r15), %edx
	movzbl	37(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 37(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$6, %eax
	je	.L5
	leal	-7(%r15), %edx
	movzbl	38(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 38(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$7, %eax
	je	.L5
	leal	-8(%r15), %edx
	movzbl	39(%rsp), %ecx
	movslq	%edx, %rdx
	movzbl	32(%rsp,%rdx), %esi
	movb	%sil, 39(%rsp)
	movb	%cl, 32(%rsp,%rdx)
	cmpl	$9, %eax
	jne	.L5
	leal	-9(%r15), %eax
	movzbl	40(%rsp), %edx
	cltq
	movzbl	32(%rsp,%rax), %ecx
	movb	%cl, 40(%rsp)
	movb	%dl, 32(%rsp,%rax)
.L5:
	movzwl	28(%rsp), %eax
	movzbl	26(%rsp), %edx
	movq	%r12, %rdi
	movb	$0, 29(%rsp)
	rolw	$8, %ax
	movb	%dl, 28(%rsp)
	movw	%ax, 26(%rsp)
	call	strlen@PLT
	leal	(%rax,%r15), %ebx
	movq	%rax, 8(%rsp)
	movl	%eax, %r14d
	movslq	%ebx, %rdx
	salq	$2, %rdx
	movq	%rdx, %rdi
	movq	%rdx, (%rsp)
	call	malloc@PLT
	testl	%ebx, %ebx
	movq	(%rsp), %rdx
	movq	8(%rsp), %rsi
	movq	%rax, %rbp
	je	.L4
	cmpl	$8, %edx
	jnb	.L9
	testb	$4, %dl
	jne	.L55
	testl	%edx, %edx
	je	.L4
	movb	$0, (%rax)
.L4:
	testq	%rsi, %rsi
	je	.L6
	testq	%r15, %r15
	je	.L6
	leaq	0(%rbp,%r15,4), %rdi
	xorl	%r8d, %r8d
.L8:
	movsbl	(%r12,%r8), %esi
	leaq	0(%rbp,%r8,4), %rdx
	movq	%r13, %rcx
	subl	$48, %esi
	.p2align 4,,10
	.p2align 3
.L14:
	movsbl	(%rcx), %eax
	subl	$48, %eax
	imull	%esi, %eax
	addl	(%rdx), %eax
	movl	%eax, (%rdx)
	cmpl	$9, %eax
	jle	.L13
	movslq	%eax, %r9
	movl	%eax, %r10d
	imulq	$1717986919, %r9, %r9
	sarl	$31, %r10d
	sarq	$34, %r9
	subl	%r10d, %r9d
	addl	%r9d, 4(%rdx)
	leal	(%r9,%r9,4), %r9d
	addl	%r9d, %r9d
	subl	%r9d, %eax
	movl	%eax, (%rdx)
.L13:
	addq	$4, %rdx
	addq	$1, %rcx
	cmpq	%rdx, %rdi
	jne	.L14
	addq	$1, %r8
	addq	$4, %rdi
	cmpl	%r8d, %r14d
	jg	.L8
.L6:
	leal	-1(%rbx), %eax
	movslq	%eax, %rdx
	movl	0(%rbp,%rdx,4), %ecx
	testl	%ecx, %ecx
	jne	.L15
	subl	$2, %ebx
	movslq	%ebx, %rbx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%ebx, %eax
	subq	$1, %rbx
	movl	4(%rbp,%rbx,4), %edx
	testl	%edx, %edx
	je	.L16
.L15:
	movslq	%eax, %rbx
	leaq	.LC1(%rip), %r12
	cmpl	$1, %eax
	jle	.L56
	.p2align 4,,10
	.p2align 3
.L19:
	movl	0(%rbp,%rbx,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	subq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	$1, %ebx
	jne	.L19
.L18:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L57
	addq	$72, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	movl	%edx, %eax
	subl	$1, %edx
	movq	%rbp, %rdi
	movq	$0, -8(%rbp,%rax)
	shrl	$3, %edx
	xorl	%eax, %eax
	movl	%edx, %ecx
	rep stosq
	jmp	.L4
.L56:
	xorl	%edx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L18
.L55:
	movl	%edx, %edx
	movl	$0, (%rax)
	movl	$0, -4(%rax,%rdx)
	jmp	.L4
.L57:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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 <stdlib.h>
#include <string.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
#define MAXSIZE 20
int main(int argc, char *argv[]) {
//	

	
	char A[MAXSIZE], B[5];
	scanf("%s %s", A, B);
	int i;
	int j;
	int lenA = strlen(A);
	int lenB = strlen(B);
//	if (lenA < 10)
//	{
////		int A1[lenA], B1 = (int)
//		int resa = A* B;
//		printf("%d",resa);
//		return;
//	}
	char temp;
	for (i = 0; i < lenA/2; ++i)
	{
		temp = A[i];
		A[i] = A[lenA-1-i];
		A[lenA - 1 - i] = temp;
		
	}
//	printf("%d", 100000000);
	
	for ( i = 1; i < 3; i++)
	{
		B[i] = B[i + 1];
	}
	B[3] = '\0';
	
	temp = B[0];
	B[0] = B[2];
	B[2] = temp;
//	printf("%s\n", B);
	lenB = strlen(B);
	int *res = (int *)malloc((lenA + lenB) * sizeof(int));
	for (i = 0; i < lenA + lenB; ++i)
	{
		res[i] = 0;
	}
//	char *res = (char *)calloc(lenA + lenB , sizeof(char));
//	int res[lenA + 2] = 0;
	
	
	for ( i = 0; i < lenB; ++i)
	{
		for (j = 0; j < lenA; ++j)
		{
			res[i + j] += (A[j] - '0') * (B[i] - '0'); 
//			printf("%d", res[i + j]);
			if (res[i + j] > 9)
			{
				res[i + j + 1] += (res[i + j] / 10);
				res[i + j] %= 10;  
			}
		}
	}
	
	
	i =  lenA + lenB - 1;
	
	while (res[i] == 0)
	{
		i--;
	}
//	printf("%d\n", i);
	if (i < 2)
	{
		printf("%d", 0);
		
	}
	else
	{
//		printf("%d\n", res[i]);
	
		while (i >=  2)
		{
			printf("%d", res[i--]);
		}
		
	}
//1000 0000  0000 0000
//9990 0000  0000 0000
	
	return 0;
}
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 <stdlib.h>
#include <string.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
#define MAXSIZE 20
int main(int argc, char *argv[]) {
//	

	
	char A[MAXSIZE], B[5];
	scanf("%s %s", A, B);
	int i;
	int j;
	int lenA = strlen(A);
	int lenB = strlen(B);
//	if (lenA < 10)
//	{
////		int A1[lenA], B1 = (int)
//		int resa = A* B;
//		printf("%d",resa);
//		return;
//	}
	char temp;
	for (i = 0; i < lenA/2; ++i)
	{
		temp = A[i];
		A[i] = A[lenA-1-i];
		A[lenA - 1 - i] = temp;
		
	}
//	printf("%d", 100000000);
	
	for ( i = 1; i < 3; i++)
	{
		B[i] = B[i + 1];
	}
	B[3] = '\0';
	
	temp = B[0];
	B[0] = B[2];
	B[2] = temp;
//	printf("%s\n", B);
	lenB = strlen(B);
	int *res = (int *)malloc((lenA + lenB) * sizeof(int));
	for (i = 0; i < lenA + lenB; ++i)
	{
		res[i] = 0;
	}
//	char *res = (char *)calloc(lenA + lenB , sizeof(char));
//	int res[lenA + 2] = 0;
	
	
	for ( i = 0; i < lenB; ++i)
	{
		for (j = 0; j < lenA; ++j)
		{
			res[i + j] += (A[j] - '0') * (B[i] - '0'); 
//			printf("%d", res[i + j]);
			if (res[i + j] > 9)
			{
				res[i + j + 1] += (res[i + j] / 10);
				res[i + j] %= 10;  
			}
		}
	}
	
	
	i =  lenA + lenB - 1;
	
	while (res[i] == 0)
	{
		i--;
	}
//	printf("%d\n", i);
	if (i < 2)
	{
		printf("%d", 0);
		
	}
	else
	{
//		printf("%d\n", res[i]);
	
		while (i >=  2)
		{
			printf("%d", res[i--]);
		}
		
	}
//1000 0000  0000 0000
//9990 0000  0000 0000
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movl	%edi, -84(%rbp)
	movq	%rsi, -96(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-37(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -56(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L3:
	movl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movb	%al, -65(%rbp)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -32(%rbp,%rax)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-65(%rbp), %edx
	movb	%dl, -32(%rbp,%rax)
	addl	$1, -64(%rbp)
.L2:
	movl	-56(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -64(%rbp)
	jl	.L3
	movl	$1, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-37(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -37(%rbp,%rax)
	addl	$1, -64(%rbp)
.L4:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movb	$0, -34(%rbp)
	movzbl	-37(%rbp), %eax
	movb	%al, -65(%rbp)
	movzbl	-35(%rbp), %eax
	movb	%al, -37(%rbp)
	movzbl	-65(%rbp), %eax
	movb	%al, -35(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L6
.L7:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	$0, (%rax)
	addl	$1, -64(%rbp)
.L6:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -64(%rbp)
	jl	.L7
	movl	$0, -64(%rbp)
	jmp	.L8
.L12:
	movl	$0, -60(%rbp)
	jmp	.L9
.L11:
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-60(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movzbl	-37(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	%eax, %edx
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %eax
	addl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rsi
	movq	-48(%rbp), %rax
	addq	%rsi, %rax
	addl	%ecx, %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$9, %eax
	jle	.L10
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	leal	(%rcx,%rsi), %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	leaq	(%rdx,%rax), %rsi
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, (%rsi)
.L10:
	addl	$1, -60(%rbp)
.L9:
	movl	-60(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jl	.L11
	addl	$1, -64(%rbp)
.L8:
	movl	-64(%rbp), %eax
	cmpl	-52(%rbp), %eax
	jl	.L12
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -64(%rbp)
	jmp	.L13
.L14:
	subl	$1, -64(%rbp)
.L13:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L14
	cmpl	$1, -64(%rbp)
	jg	.L17
	movl	$0, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L16
.L18:
	movl	-64(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -64(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	cmpl	$1, -64(%rbp)
	jg	.L18
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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 %s"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$96, %rsp
	movl	%edi, -84(%rbp)
	movq	%rsi, -96(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-37(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -56(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L2
.L3:
	movl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movb	%al, -65(%rbp)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -32(%rbp,%rax)
	movl	-56(%rbp), %eax
	subl	$1, %eax
	subl	-64(%rbp), %eax
	cltq
	movzbl	-65(%rbp), %edx
	movb	%dl, -32(%rbp,%rax)
	addl	$1, -64(%rbp)
.L2:
	movl	-56(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cmpl	%eax, -64(%rbp)
	jl	.L3
	movl	$1, -64(%rbp)
	jmp	.L4
.L5:
	movl	-64(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-37(%rbp,%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movb	%dl, -37(%rbp,%rax)
	addl	$1, -64(%rbp)
.L4:
	cmpl	$2, -64(%rbp)
	jle	.L5
	movb	$0, -34(%rbp)
	movzbl	-37(%rbp), %eax
	movb	%al, -65(%rbp)
	movzbl	-35(%rbp), %eax
	movb	%al, -37(%rbp)
	movzbl	-65(%rbp), %eax
	movb	%al, -35(%rbp)
	leaq	-37(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -52(%rbp)
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cltq
	salq	$2, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, -48(%rbp)
	movl	$0, -64(%rbp)
	jmp	.L6
.L7:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	$0, (%rax)
	addl	$1, -64(%rbp)
.L6:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -64(%rbp)
	jl	.L7
	movl	$0, -64(%rbp)
	jmp	.L8
.L12:
	movl	$0, -60(%rbp)
	jmp	.L9
.L11:
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-60(%rbp), %eax
	cltq
	movzbl	-32(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-64(%rbp), %eax
	cltq
	movzbl	-37(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	imull	%eax, %edx
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %eax
	addl	%esi, %eax
	cltq
	leaq	0(,%rax,4), %rsi
	movq	-48(%rbp), %rax
	addq	%rsi, %rax
	addl	%ecx, %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$9, %eax
	jle	.L10
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%edx, %esi
	subl	%eax, %esi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	addq	$1, %rax
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	leal	(%rcx,%rsi), %edx
	movl	%edx, (%rax)
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %ecx
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	leaq	(%rdx,%rax), %rsi
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, (%rsi)
.L10:
	addl	$1, -60(%rbp)
.L9:
	movl	-60(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jl	.L11
	addl	$1, -64(%rbp)
.L8:
	movl	-64(%rbp), %eax
	cmpl	-52(%rbp), %eax
	jl	.L12
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -64(%rbp)
	jmp	.L13
.L14:
	subl	$1, -64(%rbp)
.L13:
	movl	-64(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L14
	cmpl	$1, -64(%rbp)
	jg	.L17
	movl	$0, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L16
.L18:
	movl	-64(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -64(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-48(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L17:
	cmpl	$1, -64(%rbp)
	jg	.L18
.L16:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
