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

```c
int x, y, a;
int main(){
  scanf("%d%d", &x, &y);
  a=0;
  if(x<=3){
    a+=(4-x)*100000;
  }
  if(y<=3){
    a+=(4-y)*100000;
  }
  if(x*y==1){
    a+=400000;
  }
  printf("%d\n", a);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	$0, a(%rip)
	cmpl	$3, %eax
	jg	.L2
	movl	$4, %edx
	subl	%eax, %edx
	imull	$100000, %edx, %edx
	movl	%edx, a(%rip)
.L2:
	movl	y(%rip), %edx
	cmpl	$3, %edx
	jg	.L3
	movl	$4, %ecx
	subl	%edx, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, a(%rip)
.L3:
	imull	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	addl	$400000, a(%rip)
.L4:
	movl	a(%rip), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	$0, a(%rip)
	cmpl	$3, %eax
	jg	.L2
	movl	$4, %edx
	subl	%eax, %edx
	imull	$100000, %edx, %edx
	movl	%edx, a(%rip)
.L2:
	movl	y(%rip), %edx
	cmpl	$3, %edx
	jg	.L3
	movl	$4, %ecx
	subl	%edx, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, a(%rip)
.L3:
	imull	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	addl	$400000, a(%rip)
.L4:
	movl	a(%rip), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	$0, a(%rip)
	cmpl	$3, %eax
	jg	.L2
	movl	$4, %edx
	subl	%eax, %edx
	imull	$100000, %edx, %edx
	movl	%edx, a(%rip)
.L2:
	movl	y(%rip), %edx
	cmpl	$3, %edx
	jg	.L3
	movl	$4, %ecx
	subl	%edx, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, a(%rip)
.L3:
	imull	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	addl	$400000, a(%rip)
.L4:
	movl	a(%rip), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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
int x, y, a;
int main(){
  scanf("%d%d", &x, &y);
  a=0;
  if(x<=3){
    a+=(4-x)*100000;
  }
  if(y<=3){
    a+=(4-y)*100000;
  }
  if(x*y==1){
    a+=400000;
  }
  printf("%d\n", a);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
int x, y, a;
int main(){
  scanf("%d%d", &x, &y);
  a=0;
  if(x<=3){
    a+=(4-x)*100000;
  }
  if(y<=3){
    a+=(4-y)*100000;
  }
  if(x*y==1){
    a+=400000;
  }
  printf("%d\n", a);
}```

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:

3 001
 1 2
 4 5
 5 001
 57 3
 4 2
 1 001
 2 2
 4 10
 10 001

400000
 500000
 0
 300000
 100000
 200000
 1000000
 400000
 0
 300000

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

```c
int x, y, a;
int main(){
  scanf("%d%d", &x, &y);
  a=0;
  if(x<=3){
    a+=(4-x)*100000;
  }
  if(y<=3){
    a+=(4-y)*100000;
  }
  if(x*y==1){
    a+=400000;
  }
  printf("%d\n", a);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	$0, a(%rip)
	cmpl	$3, %eax
	jg	.L2
	movl	$4, %edx
	subl	%eax, %edx
	imull	$100000, %edx, %edx
	movl	%edx, a(%rip)
.L2:
	movl	y(%rip), %edx
	cmpl	$3, %edx
	jg	.L3
	movl	$4, %ecx
	subl	%edx, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, a(%rip)
.L3:
	imull	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	addl	$400000, a(%rip)
.L4:
	movl	a(%rip), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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	"%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	y(%rip), %rdx
	leaq	x(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC0(%rip), %rdi
	call	scanf@PLT
	movl	x(%rip), %eax
	movl	$0, a(%rip)
	cmpl	$3, %eax
	jg	.L2
	movl	$4, %edx
	subl	%eax, %edx
	imull	$100000, %edx, %edx
	movl	%edx, a(%rip)
.L2:
	movl	y(%rip), %edx
	cmpl	$3, %edx
	jg	.L3
	movl	$4, %ecx
	subl	%edx, %ecx
	imull	$100000, %ecx, %ecx
	addl	%ecx, a(%rip)
.L3:
	imull	%edx, %eax
	cmpl	$1, %eax
	jne	.L4
	addl	$400000, a(%rip)
.L4:
	movl	a(%rip), %esi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	printf@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.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:
```