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

```c
/* ex 7_1
   yy8332 */
#include <stdio.h>

//構造体宣言
typedef struct point{
  int x_elem;
  int y_elem;
}point;

//(+x,+y)移動する関数
point shift_point(point p, int x, int y){
  point q;
  q.x_elem = p.x_elem + x;
  q.y_elem = p.y_elem + y;

  return q;
}

int main(void){
  point p1, p2, p3, p4;
  int x, y;

  //入力読み取り
  scanf("%d %d %d %d", &p1.x_elem, &p1.y_elem, &p2.x_elem, &p2.y_elem);

  x = -p2.y_elem + p1.y_elem;
  y = -p1.x_elem + p2.x_elem;

  p3 = shift_point(p2, x, y);
  p4 = shift_point(p1, x, y);

  //出力
  printf("%d %d %d %d\n", p3.x_elem, p3.y_elem, p4.x_elem, p4.y_elem);

  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	shift_point
	.type	shift_point, @function
shift_point:
.LFB23:
	.cfi_startproc
	endbr64
	movd	%esi, %xmm0
	movd	%edx, %xmm2
	movq	%rdi, %xmm1
	punpckldq	%xmm2, %xmm0
	paddd	%xmm0, %xmm1
	movq	%xmm1, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	shift_point, .-shift_point
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d %d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %edx
	movl	12(%rsp), %r8d
	movl	8(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%edx, %edi
	movl	%r8d, %eax
	subl	20(%rsp), %eax
	subl	%esi, %edi
	addl	%eax, %edx
	addl	%edi, %ecx
	leal	(%r8,%rdi), %r9d
	leal	(%rsi,%rax), %r8d
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L6
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	shift_point
	.type	shift_point, @function
shift_point:
.LFB23:
	.cfi_startproc
	endbr64
	movd	%esi, %xmm0
	movd	%edx, %xmm2
	movq	%rdi, %xmm1
	punpckldq	%xmm2, %xmm0
	paddd	%xmm0, %xmm1
	movq	%xmm1, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	shift_point, .-shift_point
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d %d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %edx
	movl	12(%rsp), %r8d
	movl	8(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%edx, %edi
	movl	%r8d, %eax
	subl	20(%rsp), %eax
	subl	%esi, %edi
	addl	%eax, %edx
	addl	%edi, %ecx
	leal	(%r8,%rdi), %r9d
	leal	(%rsi,%rax), %r8d
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L6
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	shift_point
	.type	shift_point, @function
shift_point:
.LFB23:
	.cfi_startproc
	endbr64
	movd	%esi, %xmm0
	movd	%edx, %xmm2
	movq	%rdi, %xmm1
	punpckldq	%xmm2, %xmm0
	paddd	%xmm0, %xmm1
	movq	%xmm1, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	shift_point, .-shift_point
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d %d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %edx
	movl	12(%rsp), %r8d
	movl	8(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%edx, %edi
	movl	%r8d, %eax
	subl	20(%rsp), %eax
	subl	%esi, %edi
	addl	%eax, %edx
	addl	%edi, %ecx
	leal	(%r8,%rdi), %r9d
	leal	(%rsi,%rax), %r8d
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L6
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
/* ex 7_1
   yy8332 */
#include <stdio.h>

//構造体宣言
typedef struct point{
  int x_elem;
  int y_elem;
}point;

//(+x,+y)移動する関数
point shift_point(point p, int x, int y){
  point q;
  q.x_elem = p.x_elem + x;
  q.y_elem = p.y_elem + y;

  return q;
}

int main(void){
  point p1, p2, p3, p4;
  int x, y;

  //入力読み取り
  scanf("%d %d %d %d", &p1.x_elem, &p1.y_elem, &p2.x_elem, &p2.y_elem);

  x = -p2.y_elem + p1.y_elem;
  y = -p1.x_elem + p2.x_elem;

  p3 = shift_point(p2, x, y);
  p4 = shift_point(p1, x, y);

  //出力
  printf("%d %d %d %d\n", p3.x_elem, p3.y_elem, p4.x_elem, p4.y_elem);

  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
/* ex 7_1
   yy8332 */
#include <stdio.h>

//構造体宣言
typedef struct point{
  int x_elem;
  int y_elem;
}point;

//(+x,+y)移動する関数
point shift_point(point p, int x, int y){
  point q;
  q.x_elem = p.x_elem + x;
  q.y_elem = p.y_elem + y;

  return q;
}

int main(void){
  point p1, p2, p3, p4;
  int x, y;

  //入力読み取り
  scanf("%d %d %d %d", &p1.x_elem, &p1.y_elem, &p2.x_elem, &p2.y_elem);

  x = -p2.y_elem + p1.y_elem;
  y = -p1.x_elem + p2.x_elem;

  p3 = shift_point(p2, x, y);
  p4 = shift_point(p1, x, y);

  //出力
  printf("%d %d %d %d\n", p3.x_elem, p3.y_elem, p4.x_elem, p4.y_elem);

  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:

2 1 6 6
 0 0 -1 1
 1 -41 -59 26
 2 2 6 6
 0 0 -1 2
 1 -46 -59 26
 2 2 6 2
 0 -1 -1 2
 1 -46 -59 12
 2 2 6 1

1 10 -3 5
 -2 0 -1 -1
 -126 -34 -66 -101
 2 10 -2 6
 -3 1 -2 -1
 -131 -34 -71 -106
 6 6 2 6
 -4 1 -3 -2
 -117 -48 -57 -106
 7 5 3 6

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

```c
/* ex 7_1
   yy8332 */
#include <stdio.h>

//構造体宣言
typedef struct point{
  int x_elem;
  int y_elem;
}point;

//(+x,+y)移動する関数
point shift_point(point p, int x, int y){
  point q;
  q.x_elem = p.x_elem + x;
  q.y_elem = p.y_elem + y;

  return q;
}

int main(void){
  point p1, p2, p3, p4;
  int x, y;

  //入力読み取り
  scanf("%d %d %d %d", &p1.x_elem, &p1.y_elem, &p2.x_elem, &p2.y_elem);

  x = -p2.y_elem + p1.y_elem;
  y = -p1.x_elem + p2.x_elem;

  p3 = shift_point(p2, x, y);
  p4 = shift_point(p1, x, y);

  //出力
  printf("%d %d %d %d\n", p3.x_elem, p3.y_elem, p4.x_elem, p4.y_elem);

  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	shift_point
	.type	shift_point, @function
shift_point:
.LFB23:
	.cfi_startproc
	endbr64
	movd	%esi, %xmm0
	movd	%edx, %xmm2
	movq	%rdi, %xmm1
	punpckldq	%xmm2, %xmm0
	paddd	%xmm0, %xmm1
	movq	%xmm1, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	shift_point, .-shift_point
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d %d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %edx
	movl	12(%rsp), %r8d
	movl	8(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%edx, %edi
	movl	%r8d, %eax
	subl	20(%rsp), %eax
	subl	%esi, %edi
	addl	%eax, %edx
	addl	%edi, %ecx
	leal	(%r8,%rdi), %r9d
	leal	(%rsi,%rax), %r8d
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L6
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	shift_point
	.type	shift_point, @function
shift_point:
.LFB23:
	.cfi_startproc
	endbr64
	movd	%esi, %xmm0
	movd	%edx, %xmm2
	movq	%rdi, %xmm1
	punpckldq	%xmm2, %xmm0
	paddd	%xmm0, %xmm1
	movq	%xmm1, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	shift_point, .-shift_point
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"%d %d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	8(%rsp), %rsi
	leaq	12(%rsp), %rdx
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %edx
	movl	12(%rsp), %r8d
	movl	8(%rsp), %esi
	movl	20(%rsp), %ecx
	movl	%edx, %edi
	movl	%r8d, %eax
	subl	20(%rsp), %eax
	subl	%esi, %edi
	addl	%eax, %edx
	addl	%edi, %ecx
	leal	(%r8,%rdi), %r9d
	leal	(%rsi,%rax), %r8d
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L6
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```