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)
{
	int n;
	int x1, y1, z1, w1;
	int x2, y2, z2, w2;
	int a, i, j, k;
	int loop;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		
		for (loop = 0; loop < n; loop++){
			scanf("%d%d%d%d", &x1, &y1, &z1, &w1);
			scanf("%d%d%d%d", &x2, &y2, &z2, &w2);
		
			a  = x1 * x2;
			i  = x1 * y2;
			j  = x1 * z2;
			k  = x1 * w2;
			
			i += y1 * x2;
			a -= y1 * y2;
			k += y1 * z2;
			j -= y1 * w2;
			
			j += z1 * x2;
			k -= z1 * y2;
			a -= z1 * z2;
			i += z1 * w2;
			
			k += w1 * x2;
			j += w1 * y2;
			i -= w1 * z2;
			a -= w1 * w2;
	
			printf("%d %d %d %d\n", a, i, j, k);
		}
	}
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d"
.LC2:
	.string	"%d %d %d %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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L6:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L10
	movl	$0, -28(%rbp)
	jmp	.L4
.L5:
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rsi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-60(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-60(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-60(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-56(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-56(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -12(%rbp)
	movl	-52(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-52(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-12(%rbp), %esi
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%esi, %r8d
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -28(%rbp)
.L4:
	movl	-64(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L5
	jmp	.L6
.L10:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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"
.LC1:
	.string	"%d%d%d%d"
.LC2:
	.string	"%d %d %d %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
	leaq	.LC1(%rip), %rbx
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rax
	movq	%rax, 40(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movq	40(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L5
	leaq	80(%rsp), %rax
	xorl	%r14d, %r14d
	leaq	60(%rsp), %r13
	movq	%rax, 16(%rsp)
	leaq	76(%rsp), %rax
	leaq	56(%rsp), %r12
	movq	%rax, 8(%rsp)
	leaq	72(%rsp), %rax
	leaq	84(%rsp), %rbp
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	24(%rsp), %r8
	movq	32(%rsp), %rcx
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rcx
	movq	(%rsp), %rsi
	xorl	%eax, %eax
	movq	8(%rsp), %rdx
	movq	%rbp, %r8
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	56(%rsp), %r15d
	movl	72(%rsp), %edi
	movl	76(%rsp), %esi
	movl	60(%rsp), %ecx
	movl	%r15d, %r9d
	movl	%edi, %r11d
	movl	%r15d, %edx
	movl	80(%rsp), %eax
	imull	%esi, %r9d
	movl	84(%rsp), %r8d
	movl	%r15d, %r10d
	imull	%ecx, %r11d
	imull	%edi, %edx
	imull	%eax, %r10d
	addl	%r9d, %r11d
	imull	%r8d, %r15d
	movl	%esi, %r9d
	imull	%ecx, %r9d
	subl	%r9d, %edx
	movl	%eax, %r9d
	imull	%ecx, %r9d
	imull	%r8d, %ecx
	addl	%r15d, %r9d
	movl	%edi, %r15d
	subl	%ecx, %r10d
	movl	64(%rsp), %ecx
	imull	%ecx, %r15d
	addl	%r15d, %r10d
	movl	%esi, %r15d
	imull	%ecx, %r15d
	subl	%r15d, %r9d
	movl	%eax, %r15d
	imull	%ecx, %r15d
	imull	%r8d, %ecx
	subl	%r15d, %edx
	addl	%r11d, %ecx
	movl	68(%rsp), %r11d
	imull	%r11d, %edi
	imull	%r11d, %esi
	imull	%r11d, %eax
	imull	%r11d, %r8d
	addl	%edi, %r9d
	movl	$1, %edi
	subl	%eax, %ecx
	xorl	%eax, %eax
	subl	%r8d, %edx
	leal	(%rsi,%r10), %r8d
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	addl	$1, %r14d
	cmpl	%r14d, 52(%rsp)
	jg	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$104, %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
.L10:
	.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"
.LC1:
	.string	"%d%d%d%d"
.LC2:
	.string	"%d %d %d %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
	leaq	.LC1(%rip), %rbx
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	52(%rsp), %rax
	movq	%rax, 40(%rsp)
	leaq	68(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movq	40(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L5
	leaq	80(%rsp), %rax
	xorl	%r14d, %r14d
	leaq	60(%rsp), %r13
	movq	%rax, 16(%rsp)
	leaq	76(%rsp), %rax
	leaq	56(%rsp), %r12
	movq	%rax, 8(%rsp)
	leaq	72(%rsp), %rax
	leaq	84(%rsp), %rbp
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	24(%rsp), %r8
	movq	32(%rsp), %rcx
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rcx
	movq	(%rsp), %rsi
	xorl	%eax, %eax
	movq	8(%rsp), %rdx
	movq	%rbp, %r8
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	movl	56(%rsp), %r15d
	movl	72(%rsp), %edi
	movl	76(%rsp), %esi
	movl	60(%rsp), %ecx
	movl	%r15d, %r9d
	movl	%edi, %r11d
	movl	%r15d, %edx
	movl	80(%rsp), %eax
	imull	%esi, %r9d
	movl	84(%rsp), %r8d
	movl	%r15d, %r10d
	imull	%ecx, %r11d
	imull	%edi, %edx
	imull	%eax, %r10d
	addl	%r9d, %r11d
	imull	%r8d, %r15d
	movl	%esi, %r9d
	imull	%ecx, %r9d
	subl	%r9d, %edx
	movl	%eax, %r9d
	imull	%ecx, %r9d
	imull	%r8d, %ecx
	addl	%r15d, %r9d
	movl	%edi, %r15d
	subl	%ecx, %r10d
	movl	64(%rsp), %ecx
	imull	%ecx, %r15d
	addl	%r15d, %r10d
	movl	%esi, %r15d
	imull	%ecx, %r15d
	subl	%r15d, %r9d
	movl	%eax, %r15d
	imull	%ecx, %r15d
	imull	%r8d, %ecx
	subl	%r15d, %edx
	addl	%r11d, %ecx
	movl	68(%rsp), %r11d
	imull	%r11d, %edi
	imull	%r11d, %esi
	imull	%r11d, %eax
	imull	%r11d, %r8d
	addl	%edi, %r9d
	movl	$1, %edi
	subl	%eax, %ecx
	xorl	%eax, %eax
	subl	%r8d, %edx
	leal	(%rsi,%r10), %r8d
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	addl	$1, %r14d
	cmpl	%r14d, 52(%rsp)
	jg	.L4
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$104, %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
.L10:
	.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:

#include <stdio.h>


int main(void)
{
	int n;
	int x1, y1, z1, w1;
	int x2, y2, z2, w2;
	int a, i, j, k;
	int loop;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		
		for (loop = 0; loop < n; loop++){
			scanf("%d%d%d%d", &x1, &y1, &z1, &w1);
			scanf("%d%d%d%d", &x2, &y2, &z2, &w2);
		
			a  = x1 * x2;
			i  = x1 * y2;
			j  = x1 * z2;
			k  = x1 * w2;
			
			i += y1 * x2;
			a -= y1 * y2;
			k += y1 * z2;
			j -= y1 * w2;
			
			j += z1 * x2;
			k -= z1 * y2;
			a -= z1 * z2;
			i += z1 * w2;
			
			k += w1 * x2;
			j += w1 * y2;
			i -= w1 * z2;
			a -= w1 * w2;
	
			printf("%d %d %d %d\n", a, i, j, k);
		}
	}
	return (0);
}
2
1 2 3 4 7 6 7 8
5 6 4 8 3 2 3 4
0
 2
1 2 3 4 7 6 14 8
5 6 4 8 3 2 3 4
0
 2
1 3 3 4 7 6 14 8
5 6 4 8 3 2 3 4
0
 2
1 3 3 4 7 6 14 8
5 11 4 8 3 2 3 4
0
 2
1 3 3 7 7 6 14 8
5 11 4 8 3 2 3 4
0
 2
1 3 3 7 7 6 14 8
5 11 4 5 3 2 3 4
0
 2
1 3 3 7 7 6 14 8
5 11 7 5 3 2 3 4
0
 2
1 3 3 7 7 6 14 8
5 11 7 5 3 2 3 6
0
 2
1 1 3 7 7 6 14 8
5 11 7 5 3 2 3 6
0
 2
1 1 3 7 7 6 14 8
5 4 7 5 3 2 3 6
0

-58 16 36 32
-41 20 19 54
 -79 -12 43 46
-41 20 19 54
 -85 -5 35 60
-41 20 19 54
 -85 -5 35 60
-51 35 -1 69
 -109 -47 53 81
-51 35 -1 69
 -109 -47 53 81
-39 44 -7 60
 -109 -47 53 81
-48 56 2 54
 -109 -47 53 81
-58 70 -20 64
 -97 -61 69 53
-58 70 -20 64
 -97 -61 69 53
-44 49 22 43

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)
{
	int n;
	int x1, y1, z1, w1;
	int x2, y2, z2, w2;
	int a, i, j, k;
	int loop;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		
		for (loop = 0; loop < n; loop++){
			scanf("%d%d%d%d", &x1, &y1, &z1, &w1);
			scanf("%d%d%d%d", &x2, &y2, &z2, &w2);
		
			a  = x1 * x2;
			i  = x1 * y2;
			j  = x1 * z2;
			k  = x1 * w2;
			
			i += y1 * x2;
			a -= y1 * y2;
			k += y1 * z2;
			j -= y1 * w2;
			
			j += z1 * x2;
			k -= z1 * y2;
			a -= z1 * z2;
			i += z1 * w2;
			
			k += w1 * x2;
			j += w1 * y2;
			i -= w1 * z2;
			a -= w1 * w2;
	
			printf("%d %d %d %d\n", a, i, j, k);
		}
	}
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d"
.LC2:
	.string	"%d %d %d %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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L6:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L10
	movl	$0, -28(%rbp)
	jmp	.L4
.L5:
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rsi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-60(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-60(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-60(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-56(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-56(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -12(%rbp)
	movl	-52(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-52(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-12(%rbp), %esi
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%esi, %r8d
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -28(%rbp)
.L4:
	movl	-64(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L5
	jmp	.L6
.L10:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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"
.LC1:
	.string	"%d%d%d%d"
.LC2:
	.string	"%d %d %d %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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L6:
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-64(%rbp), %eax
	testl	%eax, %eax
	je	.L10
	movl	$0, -28(%rbp)
	jmp	.L4
.L5:
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rcx
	leaq	-56(%rbp), %rdx
	leaq	-60(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-32(%rbp), %rsi
	leaq	-36(%rbp), %rcx
	leaq	-40(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -24(%rbp)
	movl	-60(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -20(%rbp)
	movl	-60(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -16(%rbp)
	movl	-60(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-56(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-56(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-56(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-52(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -12(%rbp)
	movl	-52(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-52(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -12(%rbp)
	movl	-48(%rbp), %edx
	movl	-40(%rbp), %eax
	imull	%edx, %eax
	addl	%eax, -16(%rbp)
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -20(%rbp)
	movl	-48(%rbp), %edx
	movl	-32(%rbp), %eax
	imull	%edx, %eax
	subl	%eax, -24(%rbp)
	movl	-12(%rbp), %esi
	movl	-16(%rbp), %ecx
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	movl	%esi, %r8d
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -28(%rbp)
.L4:
	movl	-64(%rbp), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L5
	jmp	.L6
.L10:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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:
