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

```c
/*No.1192 Tax Rate Changed*/

#include <stdio.h>

int main(void)
{
  FILE *fp;  
  int X_tax;        /*?¶?????¨???? ?????´???*/
  int Y_tax;        /*?¶?????¨???? ?????´???*/
  int X_price;      /*?????´????¨???????????¨??????????*/
  int Y_price;      /*?????´????¨???????????¨??????????*/
  int price_sum;    /*?¶?????¨?????????´???????????????????¨????????¨???????*/
  int max_price=0;  /*??°?¶?????¨??????§????¨????????¨???????????????§*/
  int price_A;      /*??????????????????????¨??????????????£?*/;
  int price_B ;     /*??????????????????????¨??????????????£?*/;

    while(1)
   {
      scanf("%d%d%d",&X_tax,&Y_tax,&price_sum);
      if( X_tax<0 || X_tax>=100 || Y_tax<0 || Y_tax>=100 || price_sum<10 || price_sum>=1000 || X_tax==Y_tax)
        {
	  break;
        }

      for(price_A=1;price_A<1000;price_A++){ 
          for(price_B=999;price_B>0;price_B--){
	    X_price=(price_A*(100+X_tax)/100)+(price_B*(100+X_tax)/100);

          if(X_price==price_sum){
	    Y_price= (price_A*(100+Y_tax)/100)+(price_B*(100+Y_tax)/100);
	    if(max_price<Y_price){
	       max_price=Y_price;
              }
            }
         }
     } 
      printf("%d\n",max_price);
      max_price=0;
   }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -28(%rbp)
.L8:
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-40(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-36(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-32(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-32(%rbp), %eax
	cmpl	$999, %eax
	jg	.L2
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	je	.L2
	movl	$1, -24(%rbp)
	jmp	.L3
.L7:
	movl	$999, -20(%rbp)
	jmp	.L4
.L6:
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L5
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L5
	movl	-12(%rbp), %eax
	movl	%eax, -28(%rbp)
.L5:
	subl	$1, -20(%rbp)
.L4:
	cmpl	$0, -20(%rbp)
	jg	.L6
	addl	$1, -24(%rbp)
.L3:
	cmpl	$999, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -28(%rbp)
	jmp	.L8
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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%d"
.LC1:
	.string	"%d\n"
	.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
	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	52(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movq	%rax, 8(%rsp)
.L6:
	movq	24(%rsp), %rcx
	movq	16(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r9d
	cmpl	$99, %r9d
	ja	.L2
	movl	48(%rsp), %r10d
	cmpl	$99, %r10d
	ja	.L2
	movl	52(%rsp), %r11d
	leal	-10(%r11), %eax
	cmpl	$989, %eax
	ja	.L2
	cmpl	%r10d, %r9d
	je	.L2
	addl	$100, %r9d
	addl	$100, %r10d
	movl	$999, %r13d
	xorl	%r8d, %r8d
	imull	$998, %r9d, %r15d
	movl	%r10d, %r12d
	movl	%r9d, %ebp
	imull	$998, %r10d, %r14d
.L5:
	movslq	%ebp, %rdi
	movslq	%r12d, %rbx
	movl	%ebp, %eax
	movl	%r14d, %esi
	imulq	$1374389535, %rdi, %rdi
	sarl	$31, %eax
	movl	%r15d, %ecx
	movl	$998, %edx
	imulq	$1374389535, %rbx, %rbx
	sarq	$37, %rdi
	subl	%eax, %edi
	movl	%r12d, %eax
	sarq	$37, %rbx
	sarl	$31, %eax
	subl	%eax, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ecx, %eax
	imulq	$1374389535, %rax, %rax
	shrq	$37, %rax
	addl	%edi, %eax
	cmpl	%eax, %r11d
	jne	.L3
	movl	%esi, %eax
	imulq	$1374389535, %rax, %rax
	shrq	$37, %rax
	addl	%ebx, %eax
	cmpl	%eax, %r8d
	cmovl	%eax, %r8d
.L3:
	subl	%r9d, %ecx
	subl	%r10d, %esi
	subl	$1, %edx
	jne	.L4
	addl	%r9d, %ebp
	addl	%r10d, %r12d
	subl	$1, %r13d
	jne	.L5
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L2:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	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
.L12:
	.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%d"
.LC1:
	.string	"%d\n"
	.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
	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	52(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	44(%rsp), %rax
	movq	%rax, 8(%rsp)
.L6:
	movq	24(%rsp), %rcx
	movq	16(%rsp), %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	movq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %r9d
	cmpl	$99, %r9d
	ja	.L2
	movl	48(%rsp), %r10d
	cmpl	$99, %r10d
	ja	.L2
	movl	52(%rsp), %r11d
	leal	-10(%r11), %eax
	cmpl	$989, %eax
	ja	.L2
	cmpl	%r10d, %r9d
	je	.L2
	addl	$100, %r9d
	addl	$100, %r10d
	movl	$999, %r13d
	xorl	%r8d, %r8d
	imull	$998, %r9d, %r15d
	movl	%r10d, %r12d
	movl	%r9d, %ebp
	imull	$998, %r10d, %r14d
.L5:
	movslq	%ebp, %rdi
	movslq	%r12d, %rbx
	movl	%ebp, %eax
	movl	%r14d, %esi
	imulq	$1374389535, %rdi, %rdi
	sarl	$31, %eax
	movl	%r15d, %ecx
	movl	$998, %edx
	imulq	$1374389535, %rbx, %rbx
	sarq	$37, %rdi
	subl	%eax, %edi
	movl	%r12d, %eax
	sarq	$37, %rbx
	sarl	$31, %eax
	subl	%eax, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	%ecx, %eax
	imulq	$1374389535, %rax, %rax
	shrq	$37, %rax
	addl	%edi, %eax
	cmpl	%eax, %r11d
	jne	.L3
	movl	%esi, %eax
	imulq	$1374389535, %rax, %rax
	shrq	$37, %rax
	addl	%ebx, %eax
	cmpl	%eax, %r8d
	cmovl	%eax, %r8d
.L3:
	subl	%r9d, %ecx
	subl	%r10d, %esi
	subl	$1, %edx
	jne	.L4
	addl	%r9d, %ebp
	addl	%r10d, %r12d
	subl	$1, %r13d
	jne	.L5
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L2:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L12
	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
.L12:
	.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:

/*No.1192 Tax Rate Changed*/

#include <stdio.h>

int main(void)
{
  FILE *fp;  
  int X_tax;        /*?¶?????¨???? ?????´???*/
  int Y_tax;        /*?¶?????¨???? ?????´???*/
  int X_price;      /*?????´????¨???????????¨??????????*/
  int Y_price;      /*?????´????¨???????????¨??????????*/
  int price_sum;    /*?¶?????¨?????????´???????????????????¨????????¨???????*/
  int max_price=0;  /*??°?¶?????¨??????§????¨????????¨???????????????§*/
  int price_A;      /*??????????????????????¨??????????????£?*/;
  int price_B ;     /*??????????????????????¨??????????????£?*/;

    while(1)
   {
      scanf("%d%d%d",&X_tax,&Y_tax,&price_sum);
      if( X_tax<0 || X_tax>=100 || Y_tax<0 || Y_tax>=100 || price_sum<10 || price_sum>=1000 || X_tax==Y_tax)
        {
	  break;
        }

      for(price_A=1;price_A<1000;price_A++){ 
          for(price_B=999;price_B>0;price_B--){
	    X_price=(price_A*(100+X_tax)/100)+(price_B*(100+X_tax)/100);

          if(X_price==price_sum){
	    Y_price= (price_A*(100+Y_tax)/100)+(price_B*(100+Y_tax)/100);
	    if(max_price<Y_price){
	       max_price=Y_price;
              }
            }
         }
     } 
      printf("%d\n",max_price);
      max_price=0;
   }
  return 0;
}
5 8 105
8 5 105
1 2 24
4 98 24
12 13 26
1 22 23
1 13 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
12 13 26
1 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
3 24 50
1 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 99 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 112
3 24 50
2 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 50
1 82 61
1 84 125
1 2 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
4 98 24
12 5 26
1 22 23
1 13 201
13 13 28
3 24 50
2 82 61
1 84 125
1 99 999
99 2 999
98 99 999
1 99 11
99 1 12
0 0 0
 5 8 105
8 5 105
1 2 24
99 98 24
11 13 26
2 22 23
1 19 201
13 16 112
2 24 14
1 82 61
1 84 125
1 2 999
99 1 999
98 99 999
2 99 11
99 1 12
0 0 0

109
103
24
46
26
27
225
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
116
62
111
230
1972
508
1004
20
7
 109
103
24
24
26
27
237
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
 109
103
24
46
25
27
225
 109
103
24
24
28
27
237
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
 109
103
24
24
28
27
237
116
62
111
230
1009
508
1004
20
7
 109
103
24
46
25
27
225
 109
103
24
24
28
27
237
116
17
111
230
1009
508
1004
20
7

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

```c
/*No.1192 Tax Rate Changed*/

#include <stdio.h>

int main(void)
{
  FILE *fp;  
  int X_tax;        /*?¶?????¨???? ?????´???*/
  int Y_tax;        /*?¶?????¨???? ?????´???*/
  int X_price;      /*?????´????¨???????????¨??????????*/
  int Y_price;      /*?????´????¨???????????¨??????????*/
  int price_sum;    /*?¶?????¨?????????´???????????????????¨????????¨???????*/
  int max_price=0;  /*??°?¶?????¨??????§????¨????????¨???????????????§*/
  int price_A;      /*??????????????????????¨??????????????£?*/;
  int price_B ;     /*??????????????????????¨??????????????£?*/;

    while(1)
   {
      scanf("%d%d%d",&X_tax,&Y_tax,&price_sum);
      if( X_tax<0 || X_tax>=100 || Y_tax<0 || Y_tax>=100 || price_sum<10 || price_sum>=1000 || X_tax==Y_tax)
        {
	  break;
        }

      for(price_A=1;price_A<1000;price_A++){ 
          for(price_B=999;price_B>0;price_B--){
	    X_price=(price_A*(100+X_tax)/100)+(price_B*(100+X_tax)/100);

          if(X_price==price_sum){
	    Y_price= (price_A*(100+Y_tax)/100)+(price_B*(100+Y_tax)/100);
	    if(max_price<Y_price){
	       max_price=Y_price;
              }
            }
         }
     } 
      printf("%d\n",max_price);
      max_price=0;
   }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -28(%rbp)
.L8:
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-40(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-36(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-32(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-32(%rbp), %eax
	cmpl	$999, %eax
	jg	.L2
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	je	.L2
	movl	$1, -24(%rbp)
	jmp	.L3
.L7:
	movl	$999, -20(%rbp)
	jmp	.L4
.L6:
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L5
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L5
	movl	-12(%rbp), %eax
	movl	%eax, -28(%rbp)
.L5:
	subl	$1, -20(%rbp)
.L4:
	cmpl	$0, -20(%rbp)
	jg	.L6
	addl	$1, -24(%rbp)
.L3:
	cmpl	$999, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -28(%rbp)
	jmp	.L8
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -28(%rbp)
.L8:
	leaq	-32(%rbp), %rcx
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-40(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-36(%rbp), %eax
	testl	%eax, %eax
	js	.L2
	movl	-36(%rbp), %eax
	cmpl	$99, %eax
	jg	.L2
	movl	-32(%rbp), %eax
	cmpl	$9, %eax
	jle	.L2
	movl	-32(%rbp), %eax
	cmpl	$999, %eax
	jg	.L2
	movl	-40(%rbp), %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	je	.L2
	movl	$1, -24(%rbp)
	jmp	.L3
.L7:
	movl	$999, -20(%rbp)
	jmp	.L4
.L6:
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-32(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jne	.L5
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-24(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	-36(%rbp), %eax
	addl	$100, %eax
	imull	-20(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%ecx, %eax
	movl	%eax, -12(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-12(%rbp), %eax
	jge	.L5
	movl	-12(%rbp), %eax
	movl	%eax, -28(%rbp)
.L5:
	subl	$1, -20(%rbp)
.L4:
	cmpl	$0, -20(%rbp)
	jg	.L6
	addl	$1, -24(%rbp)
.L3:
	cmpl	$999, -24(%rbp)
	jle	.L7
	movl	-28(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -28(%rbp)
	jmp	.L8
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	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:
