Given the following C code and 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>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int main(void){
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  long long int x,y,z,w;
  x = a*c;
  y = b*c;
  z = a*d;
  w = b*d;
  if(x<y) x=y;
  if(x<z) x=z;
  if(x<w) x=w;
  printf("%lld",x);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rax
	movq	32(%rsp), %rdi
	movq	%rcx, %rdx
	imulq	%rsi, %rdx
	imulq	%rax, %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	imulq	%rdi, %rcx
	leaq	.LC1(%rip), %rsi
	cmpq	%rcx, %rdx
	cmovl	%rcx, %rdx
	imulq	%rdi, %rax
	movl	$1, %edi
	cmpq	%rax, %rdx
	cmovl	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L5
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rax
	movq	32(%rsp), %rdi
	movq	%rcx, %rdx
	imulq	%rsi, %rdx
	imulq	%rax, %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	imulq	%rdi, %rcx
	leaq	.LC1(%rip), %rsi
	cmpq	%rcx, %rdx
	cmovl	%rcx, %rdx
	imulq	%rdi, %rax
	movl	$1, %edi
	cmpq	%rax, %rdx
	cmovl	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L5
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rax
	movq	32(%rsp), %rdi
	movq	%rcx, %rdx
	imulq	%rsi, %rdx
	imulq	%rax, %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	imulq	%rdi, %rcx
	leaq	.LC1(%rip), %rsi
	cmpq	%rcx, %rdx
	cmovl	%rcx, %rdx
	imulq	%rdi, %rax
	movl	$1, %edi
	cmpq	%rax, %rdx
	cmovl	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L5
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	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:
```
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int main(void){
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  long long int x,y,z,w;
  x = a*c;
  y = b*c;
  z = a*d;
  w = b*d;
  if(x<y) x=y;
  if(x<z) x=z;
  if(x<w) x=w;
  printf("%lld",x);
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int main(void){
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  long long int x,y,z,w;
  x = a*c;
  y = b*c;
  z = a*d;
  w = b*d;
  if(x<y) x=y;
  if(x<z) x=z;
  if(x<w) x=w;
  printf("%lld",x);
  return 0;
}
```

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.
Optimized Assembly Code:

-452063450 0 -1000000000 0
 1 0 1 1
 5 5 -4 -2
 -452063450 0 -1763699314 0
 5 5 -4 -4
 -452063450 0 -1612807650 0
 0 0 0 1
 -452063450 0 -1164863873 0
 5 5 -1 -4
 -452063450 -1 -2145079035 0

452063450000000000 1 -10 797303996649473300 -20 729091390445392500 0 526592381208741850 -5 969711829084770750
Given the following C code and 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>
#include <math.h>
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int main(void){
  long long int a,b,c,d;
  scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
  long long int x,y,z,w;
  x = a*c;
  y = b*c;
  z = a*d;
  w = b*d;
  if(x<y) x=y;
  if(x<z) x=z;
  if(x<w) x=w;
  printf("%lld",x);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rax
	movq	32(%rsp), %rdi
	movq	%rcx, %rdx
	imulq	%rsi, %rdx
	imulq	%rax, %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	imulq	%rdi, %rcx
	leaq	.LC1(%rip), %rsi
	cmpq	%rcx, %rdx
	cmovl	%rcx, %rdx
	imulq	%rdi, %rax
	movl	$1, %edi
	cmpq	%rax, %rdx
	cmovl	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L5
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	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:
```

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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld"
.LC1:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	32(%rsp), %r8
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rax
	movq	32(%rsp), %rdi
	movq	%rcx, %rdx
	imulq	%rsi, %rdx
	imulq	%rax, %rsi
	cmpq	%rsi, %rdx
	cmovl	%rsi, %rdx
	imulq	%rdi, %rcx
	leaq	.LC1(%rip), %rsi
	cmpq	%rcx, %rdx
	cmovl	%rcx, %rdx
	imulq	%rdi, %rax
	movl	$1, %edi
	cmpq	%rax, %rdx
	cmovl	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L5
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	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:
```