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)
{
  for(;;){
  int p,q;

  int x, y, s;
  int n;
  int i,j,t=0;
  int go;

    

  scanf("%d %d %d",&x,&y,&s);
  // 前率,後率,前合計
  if(x==0)
	break;

  for(i=1;i<=s-1;i++)
    {
      for(j=1;j<=s-1;j++)
	{
            p=i*(100+x)/100;
	    q=j*(100+x)/100;
	    if(p+q==s)
	      {
                  go=i*(100+y)/100+j*(100+y)/100;
                  if(go>t)
                   {
	              t=go;
                   }
	      }
	}
   }
   printf("%d\n",t);
    }
      






  
   /*
  n = 100*s/(100+x);

  for(i=1;i<=n-1;i++)
   {
     go[i]=i*(100+y)/100+(n-i)*(100+y)/100;
     if(go[i]>go[i-1])
       {
	 t=go[i];
       }
   }
   printf("%d\n",t);
   */	 
    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
.L9:
	movl	$0, -24(%rbp)
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	jmp	.L11
.L2:
	movl	$1, -32(%rbp)
	jmp	.L4
.L8:
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-32(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-28(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-32(%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	-28(%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	-12(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-12(%rbp), %eax
	movl	%eax, -24(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-36(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L7
	addl	$1, -32(%rbp)
.L4:
	movl	-36(%rbp), %eax
	cmpl	%eax, -32(%rbp)
	jl	.L8
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L9
.L11:
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	leaq	36(%rsp), %rbx
	movq	%rax, 8(%rsp)
	leaq	28(%rsp), %rax
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movq	8(%rsp), %rdx
	movq	(%rsp), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r10d
	testl	%r10d, %r10d
	je	.L2
	movl	36(%rsp), %edi
	cmpl	$1, %edi
	jle	.L11
	movl	32(%rsp), %eax
	addl	$100, %r10d
	xorl	%r12d, %r12d
	movl	$1, %r15d
	movl	%r10d, %r13d
	leal	100(%rax), %r11d
	movl	%r11d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	%r13d, %r8
	movslq	%r14d, %r9
	movl	%r13d, %eax
	movl	%r11d, %esi
	imulq	$1374389535, %r8, %r8
	sarl	$31, %eax
	movl	%r10d, %edx
	movl	$1, %ecx
	imulq	$1374389535, %r9, %r9
	sarq	$37, %r8
	subl	%eax, %r8d
	movl	%r14d, %eax
	sarq	$37, %r9
	sarl	$31, %eax
	subl	%eax, %r9d
	.p2align 4,,10
	.p2align 3
.L7:
	movslq	%edx, %rax
	movl	%edx, %ebp
	imulq	$1374389535, %rax, %rax
	sarl	$31, %ebp
	sarq	$37, %rax
	subl	%ebp, %eax
	addl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L4
	movslq	%esi, %rax
	movl	%esi, %ebp
	imulq	$1374389535, %rax, %rax
	sarl	$31, %ebp
	sarq	$37, %rax
	subl	%ebp, %eax
	addl	%r9d, %eax
	cmpl	%eax, %r12d
	cmovl	%eax, %r12d
.L4:
	addl	$1, %ecx
	addl	%r10d, %edx
	addl	%r11d, %esi
	cmpl	%ecx, %edi
	jne	.L7
	addl	$1, %r15d
	addl	%r10d, %r13d
	addl	%r11d, %r14d
	cmpl	%r15d, %edi
	jne	.L8
.L3:
	movl	%r12d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$56, %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
.L11:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L15:
	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	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	leaq	36(%rsp), %rbx
	movq	%rax, 8(%rsp)
	leaq	28(%rsp), %rax
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movq	8(%rsp), %rdx
	movq	(%rsp), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r10d
	testl	%r10d, %r10d
	je	.L2
	movl	36(%rsp), %edi
	cmpl	$1, %edi
	jle	.L11
	movl	32(%rsp), %eax
	addl	$100, %r10d
	xorl	%r12d, %r12d
	movl	$1, %r15d
	movl	%r10d, %r13d
	leal	100(%rax), %r11d
	movl	%r11d, %r14d
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	%r13d, %r8
	movslq	%r14d, %r9
	movl	%r13d, %eax
	movl	%r11d, %esi
	imulq	$1374389535, %r8, %r8
	sarl	$31, %eax
	movl	%r10d, %edx
	movl	$1, %ecx
	imulq	$1374389535, %r9, %r9
	sarq	$37, %r8
	subl	%eax, %r8d
	movl	%r14d, %eax
	sarq	$37, %r9
	sarl	$31, %eax
	subl	%eax, %r9d
	.p2align 4,,10
	.p2align 3
.L7:
	movslq	%edx, %rax
	movl	%edx, %ebp
	imulq	$1374389535, %rax, %rax
	sarl	$31, %ebp
	sarq	$37, %rax
	subl	%ebp, %eax
	addl	%r8d, %eax
	cmpl	%eax, %edi
	jne	.L4
	movslq	%esi, %rax
	movl	%esi, %ebp
	imulq	$1374389535, %rax, %rax
	sarl	$31, %ebp
	sarq	$37, %rax
	subl	%ebp, %eax
	addl	%r9d, %eax
	cmpl	%eax, %r12d
	cmovl	%eax, %r12d
.L4:
	addl	$1, %ecx
	addl	%r10d, %edx
	addl	%r11d, %esi
	cmpl	%ecx, %edi
	jne	.L7
	addl	$1, %r15d
	addl	%r10d, %r13d
	addl	%r11d, %r14d
	cmpl	%r15d, %edi
	jne	.L8
.L3:
	movl	%r12d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$56, %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
.L11:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L15:
	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)
{
  for(;;){
  int p,q;

  int x, y, s;
  int n;
  int i,j,t=0;
  int go;

    

  scanf("%d %d %d",&x,&y,&s);
  // 前率,後率,前合計
  if(x==0)
	break;

  for(i=1;i<=s-1;i++)
    {
      for(j=1;j<=s-1;j++)
	{
            p=i*(100+x)/100;
	    q=j*(100+x)/100;
	    if(p+q==s)
	      {
                  go=i*(100+y)/100+j*(100+y)/100;
                  if(go>t)
                   {
	              t=go;
                   }
	      }
	}
   }
   printf("%d\n",t);
    }
      






  
   /*
  n = 100*s/(100+x);

  for(i=1;i<=n-1;i++)
   {
     go[i]=i*(100+y)/100+(n-i)*(100+y)/100;
     if(go[i]>go[i-1])
       {
	 t=go[i];
       }
   }
   printf("%d\n",t);
   */	 
    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
112
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
112
62
111
230
1972
513
1004
20
7
 109
103
24
24
28
27
237
116
62
111
230
1972
508
1004
20
7
 109
103
24
46
25
27
225
112
62
110
230
1972
513
1004
20
7
 109
103
24
24
28
27
237
116
62
111
230
1009
508
1004
20
7
 109
103
24
46
25
27
225
28
62
110
230
1972
513
1004
20
7
 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
#include<stdio.h>


int main(void)
{
  for(;;){
  int p,q;

  int x, y, s;
  int n;
  int i,j,t=0;
  int go;

    

  scanf("%d %d %d",&x,&y,&s);
  // 前率,後率,前合計
  if(x==0)
	break;

  for(i=1;i<=s-1;i++)
    {
      for(j=1;j<=s-1;j++)
	{
            p=i*(100+x)/100;
	    q=j*(100+x)/100;
	    if(p+q==s)
	      {
                  go=i*(100+y)/100+j*(100+y)/100;
                  if(go>t)
                   {
	              t=go;
                   }
	      }
	}
   }
   printf("%d\n",t);
    }
      






  
   /*
  n = 100*s/(100+x);

  for(i=1;i<=n-1;i++)
   {
     go[i]=i*(100+y)/100+(n-i)*(100+y)/100;
     if(go[i]>go[i-1])
       {
	 t=go[i];
       }
   }
   printf("%d\n",t);
   */	 
    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
.L9:
	movl	$0, -24(%rbp)
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	jmp	.L11
.L2:
	movl	$1, -32(%rbp)
	jmp	.L4
.L8:
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-32(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-28(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-32(%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	-28(%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	-12(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-12(%rbp), %eax
	movl	%eax, -24(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-36(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L7
	addl	$1, -32(%rbp)
.L4:
	movl	-36(%rbp), %eax
	cmpl	%eax, -32(%rbp)
	jl	.L8
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L9
.L11:
	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
.L9:
	movl	$0, -24(%rbp)
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jne	.L2
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	jmp	.L11
.L2:
	movl	$1, -32(%rbp)
	jmp	.L4
.L8:
	movl	$1, -28(%rbp)
	jmp	.L5
.L7:
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-32(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -20(%rbp)
	movl	-44(%rbp), %eax
	addl	$100, %eax
	imull	-28(%rbp), %eax
	movslq	%eax, %rdx
	imulq	$1374389535, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$5, %edx
	sarl	$31, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	movl	%eax, -16(%rbp)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%eax, %edx
	movl	-36(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L6
	movl	-40(%rbp), %eax
	addl	$100, %eax
	imull	-32(%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	-28(%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	-12(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jle	.L6
	movl	-12(%rbp), %eax
	movl	%eax, -24(%rbp)
.L6:
	addl	$1, -28(%rbp)
.L5:
	movl	-36(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L7
	addl	$1, -32(%rbp)
.L4:
	movl	-36(%rbp), %eax
	cmpl	%eax, -32(%rbp)
	jl	.L8
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L9
.L11:
	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:
