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>

int main(void){
  int A, B, i, count = 0, digit_A[5], digit_B[5];
  scanf("%d %d", &A, &B);
  for(i=0; i<5; i++){
    digit_A[i] = A % 10;
    A = A / 10;
    digit_B[i] = B % 10;
    B = B / 10;
  }
  count = (digit_B[4] - digit_A[4]) * 100 + 
          (digit_B[3] - digit_A[3] - 1) * 10 +
          9 - digit_A[2] + digit_B[2];
  if(digit_A[1] * 10 + digit_A[0] <= digit_A[3] * 10 + digit_A[4])
    count++;
  if(digit_B[1] * 10 + digit_B[0] >= digit_B[3] * 10 + digit_B[4])
    count++;
  printf("%d",count);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
	.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, -68(%rbp)
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -80(%rbp)
	movl	-76(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -76(%rbp)
	addl	$1, -72(%rbp)
.L2:
	cmpl	$4, -72(%rbp)
	jle	.L3
	movl	-16(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	imull	$100, %eax, %ecx
	movl	-20(%rbp), %eax
	movl	-52(%rbp), %edx
	subl	%edx, %eax
	leal	-1(%rax), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	addl	%ecx, %eax
	addl	$9, %eax
	movl	-56(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movl	-60(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-64(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, -68(%rbp)
.L4:
	movl	-28(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-32(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jl	.L5
	addl	$1, -68(%rbp)
.L5:
	movl	-68(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%d %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rcx
	movslq	20(%rsp), %rbx
	movq	%rcx, %r12
	imulq	$1717986919, %rcx, %rcx
	movq	%rbx, %rsi
	movl	%r12d, %eax
	imulq	$1717986919, %rbx, %rbx
	sarl	$31, %eax
	sarq	$34, %rcx
	subl	%eax, %ecx
	movl	%esi, %eax
	sarq	$34, %rbx
	sarl	$31, %eax
	subl	%eax, %ebx
	movslq	%ebx, %r10
	movl	%esi, %ebx
	movslq	%ecx, %rsi
	imulq	$1717986919, %rsi, %rsi
	leal	(%r10,%r10,4), %edx
	movq	%r10, %rax
	addl	%edx, %edx
	imulq	$1717986919, %r10, %r10
	subl	%edx, %ebx
	movl	%ecx, %edx
	sarl	$31, %edx
	sarq	$34, %rsi
	subl	%edx, %esi
	sarq	$34, %r10
	cltd
	subl	%edx, %r10d
	movslq	%esi, %r8
	movslq	%r10d, %rdi
	imulq	$1717986919, %r8, %r8
	leal	(%rdi,%rdi,4), %edx
	movq	%rdi, %rbp
	addl	%edx, %edx
	imulq	$1717986919, %rdi, %rdi
	subl	%edx, %eax
	sarq	$34, %r8
	movl	%eax, %r10d
	movl	%esi, %eax
	sarl	$31, %eax
	sarq	$34, %rdi
	subl	%eax, %r8d
	movl	%ebp, %eax
	movslq	%r8d, %rdx
	sarl	$31, %eax
	imulq	$1717986919, %rdx, %rdx
	subl	%eax, %edi
	movl	%r8d, %eax
	movl	%edi, %r11d
	sarq	$34, %rdx
	sarl	$31, %eax
	subl	%eax, %edx
	sarl	$31, %r11d
	leal	(%rdx,%rdx,4), %eax
	movl	%edx, %r9d
	movl	%r8d, %edx
	addl	%eax, %eax
	movl	%r9d, %r14d
	subl	%eax, %edx
	movslq	%edi, %rax
	sarl	$31, %r14d
	imulq	$1717986919, %rax, %rax
	sarq	$34, %rax
	subl	%r11d, %eax
	leal	(%rax,%rax,4), %r11d
	movl	%eax, %r13d
	movl	%edi, %eax
	addl	%r11d, %r11d
	leal	(%rdi,%rdi,4), %edi
	subl	%r11d, %eax
	movslq	%r9d, %r11
	addl	%edi, %edi
	imulq	$1717986919, %r11, %r11
	subl	%edi, %ebp
	movl	%ecx, %edi
	leal	(%rcx,%rcx,4), %ecx
	sarq	$34, %r11
	subl	%r14d, %r11d
	leal	(%r11,%r11,4), %r14d
	movl	%r11d, %r15d
	addl	%r14d, %r14d
	movl	%r15d, 16(%rsp)
	movl	%esi, %r15d
	leal	(%rsi,%rsi,4), %esi
	subl	%r14d, %r9d
	movl	%r13d, %r14d
	movl	%r9d, %r11d
	movslq	%r13d, %r9
	sarl	$31, %r14d
	imulq	$1717986919, %r9, %r9
	sarq	$34, %r9
	subl	%r14d, %r9d
	movl	%r9d, %r14d
	leal	(%r9,%r9,4), %r9d
	addl	%r9d, %r9d
	movl	%r14d, 20(%rsp)
	movl	%r9d, 12(%rsp)
	movl	%r13d, %r9d
	movl	%eax, %r13d
	subl	12(%rsp), %r9d
	subl	%edx, %r13d
	leal	(%rdx,%rdx,4), %edx
	leal	(%rax,%rax,4), %eax
	leal	-5(%r13,%r13,4), %r14d
	movl	%r9d, %r13d
	leal	(%r11,%rdx,2), %edx
	subl	%r11d, %r13d
	leal	(%r9,%rax,2), %eax
	imull	$100, %r13d, %r13d
	leal	9(%r13,%r14,2), %r14d
	leal	(%r8,%r8,4), %r13d
	addl	%r13d, %r13d
	movl	%r14d, %r8d
	subl	%r13d, %r15d
	subl	%r15d, %r8d
	addl	%ebp, %r8d
	addl	%esi, %esi
	addl	%ecx, %ecx
	subl	%esi, %edi
	subl	%ecx, %r12d
	leal	(%rdi,%rdi,4), %esi
	movl	$1, %edi
	leal	(%r12,%rsi,2), %ecx
	leaq	.LC1(%rip), %rsi
	cmpl	%edx, %ecx
	setle	%dl
	movzbl	%dl, %edx
	addl	%edx, %r8d
	leal	(%r10,%r10,4), %edx
	leal	(%rbx,%rdx,2), %edx
	cmpl	%eax, %edx
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	xorl	%eax, %eax
	movl	%r8d, %edx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L7
	addq	$40, %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
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rdx
	leaq	16(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rcx
	movslq	20(%rsp), %rbx
	movq	%rcx, %r12
	imulq	$1717986919, %rcx, %rcx
	movq	%rbx, %rsi
	movl	%r12d, %eax
	imulq	$1717986919, %rbx, %rbx
	sarl	$31, %eax
	sarq	$34, %rcx
	subl	%eax, %ecx
	movl	%esi, %eax
	sarq	$34, %rbx
	sarl	$31, %eax
	subl	%eax, %ebx
	movslq	%ebx, %r10
	movl	%esi, %ebx
	movslq	%ecx, %rsi
	imulq	$1717986919, %rsi, %rsi
	leal	(%r10,%r10,4), %edx
	movq	%r10, %rax
	addl	%edx, %edx
	imulq	$1717986919, %r10, %r10
	subl	%edx, %ebx
	movl	%ecx, %edx
	sarl	$31, %edx
	sarq	$34, %rsi
	subl	%edx, %esi
	sarq	$34, %r10
	cltd
	subl	%edx, %r10d
	movslq	%esi, %r8
	movslq	%r10d, %rdi
	imulq	$1717986919, %r8, %r8
	leal	(%rdi,%rdi,4), %edx
	movq	%rdi, %rbp
	addl	%edx, %edx
	imulq	$1717986919, %rdi, %rdi
	subl	%edx, %eax
	sarq	$34, %r8
	movl	%eax, %r10d
	movl	%esi, %eax
	sarl	$31, %eax
	sarq	$34, %rdi
	subl	%eax, %r8d
	movl	%ebp, %eax
	movslq	%r8d, %rdx
	sarl	$31, %eax
	imulq	$1717986919, %rdx, %rdx
	subl	%eax, %edi
	movl	%r8d, %eax
	movl	%edi, %r11d
	sarq	$34, %rdx
	sarl	$31, %eax
	subl	%eax, %edx
	sarl	$31, %r11d
	leal	(%rdx,%rdx,4), %eax
	movl	%edx, %r9d
	movl	%r8d, %edx
	addl	%eax, %eax
	movl	%r9d, %r14d
	subl	%eax, %edx
	movslq	%edi, %rax
	sarl	$31, %r14d
	imulq	$1717986919, %rax, %rax
	sarq	$34, %rax
	subl	%r11d, %eax
	leal	(%rax,%rax,4), %r11d
	movl	%eax, %r13d
	movl	%edi, %eax
	addl	%r11d, %r11d
	leal	(%rdi,%rdi,4), %edi
	subl	%r11d, %eax
	movslq	%r9d, %r11
	addl	%edi, %edi
	imulq	$1717986919, %r11, %r11
	subl	%edi, %ebp
	movl	%ecx, %edi
	leal	(%rcx,%rcx,4), %ecx
	sarq	$34, %r11
	subl	%r14d, %r11d
	leal	(%r11,%r11,4), %r14d
	movl	%r11d, %r15d
	addl	%r14d, %r14d
	movl	%r15d, 16(%rsp)
	movl	%esi, %r15d
	leal	(%rsi,%rsi,4), %esi
	subl	%r14d, %r9d
	movl	%r13d, %r14d
	movl	%r9d, %r11d
	movslq	%r13d, %r9
	sarl	$31, %r14d
	imulq	$1717986919, %r9, %r9
	sarq	$34, %r9
	subl	%r14d, %r9d
	movl	%r9d, %r14d
	leal	(%r9,%r9,4), %r9d
	addl	%r9d, %r9d
	movl	%r14d, 20(%rsp)
	movl	%r9d, 12(%rsp)
	movl	%r13d, %r9d
	movl	%eax, %r13d
	subl	12(%rsp), %r9d
	subl	%edx, %r13d
	leal	(%rdx,%rdx,4), %edx
	leal	(%rax,%rax,4), %eax
	leal	-5(%r13,%r13,4), %r14d
	movl	%r9d, %r13d
	leal	(%r11,%rdx,2), %edx
	subl	%r11d, %r13d
	leal	(%r9,%rax,2), %eax
	imull	$100, %r13d, %r13d
	leal	9(%r13,%r14,2), %r14d
	leal	(%r8,%r8,4), %r13d
	addl	%r13d, %r13d
	movl	%r14d, %r8d
	subl	%r13d, %r15d
	subl	%r15d, %r8d
	addl	%ebp, %r8d
	addl	%esi, %esi
	addl	%ecx, %ecx
	subl	%esi, %edi
	subl	%ecx, %r12d
	leal	(%rdi,%rdi,4), %esi
	movl	$1, %edi
	leal	(%r12,%rsi,2), %ecx
	leaq	.LC1(%rip), %rsi
	cmpl	%edx, %ecx
	setle	%dl
	movzbl	%dl, %edx
	addl	%edx, %r8d
	leal	(%r10,%r10,4), %edx
	leal	(%rbx,%rdx,2), %edx
	cmpl	%eax, %edx
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	xorl	%eax, %eax
	movl	%r8d, %edx
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L7
	addq	$40, %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
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>

int main(void){
  int A, B, i, count = 0, digit_A[5], digit_B[5];
  scanf("%d %d", &A, &B);
  for(i=0; i<5; i++){
    digit_A[i] = A % 10;
    A = A / 10;
    digit_B[i] = B % 10;
    B = B / 10;
  }
  count = (digit_B[4] - digit_A[4]) * 100 + 
          (digit_B[3] - digit_A[3] - 1) * 10 +
          9 - digit_A[2] + digit_B[2];
  if(digit_A[1] * 10 + digit_A[0] <= digit_A[3] * 10 + digit_A[4])
    count++;
  if(digit_B[1] * 10 + digit_B[0] >= digit_B[3] * 10 + digit_B[4])
    count++;
  printf("%d",count);
  return 0;
}
31415 27129
 31415 97709
 31415 41187
 38168 41187
 53417 77120
 44323 77120
 18202 20736
 44323 83416
 15858 24247
 44323 46102

-44 662 97 31 237 328 26 391 84 18
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>

int main(void){
  int A, B, i, count = 0, digit_A[5], digit_B[5];
  scanf("%d %d", &A, &B);
  for(i=0; i<5; i++){
    digit_A[i] = A % 10;
    A = A / 10;
    digit_B[i] = B % 10;
    B = B / 10;
  }
  count = (digit_B[4] - digit_A[4]) * 100 + 
          (digit_B[3] - digit_A[3] - 1) * 10 +
          9 - digit_A[2] + digit_B[2];
  if(digit_A[1] * 10 + digit_A[0] <= digit_A[3] * 10 + digit_A[4])
    count++;
  if(digit_B[1] * 10 + digit_B[0] >= digit_B[3] * 10 + digit_B[4])
    count++;
  printf("%d",count);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
	.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, -68(%rbp)
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -80(%rbp)
	movl	-76(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -76(%rbp)
	addl	$1, -72(%rbp)
.L2:
	cmpl	$4, -72(%rbp)
	jle	.L3
	movl	-16(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	imull	$100, %eax, %ecx
	movl	-20(%rbp), %eax
	movl	-52(%rbp), %edx
	subl	%edx, %eax
	leal	-1(%rax), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	addl	%ecx, %eax
	addl	$9, %eax
	movl	-56(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movl	-60(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-64(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, -68(%rbp)
.L4:
	movl	-28(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-32(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jl	.L5
	addl	$1, -68(%rbp)
.L5:
	movl	-68(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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	"%d %d"
.LC1:
	.string	"%d"
	.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, -68(%rbp)
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -72(%rbp)
	jmp	.L2
.L3:
	movl	-80(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -64(%rbp,%rax,4)
	movl	-80(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -80(%rbp)
	movl	-76(%rbp), %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rax
	shrq	$32, %rax
	sarl	$2, %eax
	movl	%ecx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	-72(%rbp), %eax
	cltq
	movl	%edx, -32(%rbp,%rax,4)
	movl	-76(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1717986919, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$2, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -76(%rbp)
	addl	$1, -72(%rbp)
.L2:
	cmpl	$4, -72(%rbp)
	jle	.L3
	movl	-16(%rbp), %eax
	movl	-48(%rbp), %edx
	subl	%edx, %eax
	imull	$100, %eax, %ecx
	movl	-20(%rbp), %eax
	movl	-52(%rbp), %edx
	subl	%edx, %eax
	leal	-1(%rax), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	addl	%ecx, %eax
	addl	$9, %eax
	movl	-56(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %ecx
	movl	-24(%rbp), %eax
	addl	%ecx, %eax
	movl	%eax, -68(%rbp)
	movl	-60(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-64(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jg	.L4
	addl	$1, -68(%rbp)
.L4:
	movl	-28(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-32(%rbp), %eax
	leal	(%rdx,%rax), %ecx
	movl	-20(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, %ecx
	jl	.L5
	addl	$1, -68(%rbp)
.L5:
	movl	-68(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	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:
