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>

int main() {
    int n, x0, y0, x1, y1, x2, y2, x3, y3;
    scanf("%d", &n);
    while(n--) {
        scanf("%d%d%d%d%d%d%d%d", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3);
        if ((x1-x0) * (y3-y2) - (y1-y0) * (x3-x2) == 0) puts("2");
        else if ((x1-x0) * (x3-x2) + (y1-y0) * (y3-y2) == 0) puts("1");
        else puts("0");
    }
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"2"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
	.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
	leaq	.LC0(%rip), %rdi
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	52(%rsp), %r14
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r12
	leaq	40(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
.L6:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	call	__isoc99_scanf@PLT
	movl	80(%rsp), %eax
	movl	84(%rsp), %ecx
	subl	72(%rsp), %eax
	subl	76(%rsp), %ecx
	movl	100(%rsp), %edx
	movl	96(%rsp), %esi
	movl	%eax, %r8d
	movl	%ecx, %edi
	subl	92(%rsp), %edx
	subl	88(%rsp), %esi
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%edx, %r8d
	imull	%esi, %edi
	cmpl	%edi, %r8d
	je	.L14
	imull	%esi, %eax
	imull	%ecx, %edx
	addl	%edx, %eax
	je	.L15
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	jne	.L6
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L16:
	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:
```

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"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"2"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
	.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
	leaq	.LC0(%rip), %rdi
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	52(%rsp), %r14
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r12
	leaq	40(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
.L6:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	call	__isoc99_scanf@PLT
	movl	80(%rsp), %eax
	movl	84(%rsp), %ecx
	subl	72(%rsp), %eax
	subl	76(%rsp), %ecx
	movl	100(%rsp), %edx
	movl	96(%rsp), %esi
	movl	%eax, %r8d
	movl	%ecx, %edi
	subl	92(%rsp), %edx
	subl	88(%rsp), %esi
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%edx, %r8d
	imull	%esi, %edi
	cmpl	%edi, %r8d
	je	.L14
	imull	%esi, %eax
	imull	%ecx, %edx
	addl	%edx, %eax
	je	.L15
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	jne	.L6
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L16:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"2"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
	.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
	leaq	.LC0(%rip), %rdi
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	52(%rsp), %r14
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r12
	leaq	40(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
.L6:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	call	__isoc99_scanf@PLT
	movl	80(%rsp), %eax
	movl	84(%rsp), %ecx
	subl	72(%rsp), %eax
	subl	76(%rsp), %ecx
	movl	100(%rsp), %edx
	movl	96(%rsp), %esi
	movl	%eax, %r8d
	movl	%ecx, %edi
	subl	92(%rsp), %edx
	subl	88(%rsp), %esi
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%edx, %r8d
	imull	%esi, %edi
	cmpl	%edi, %r8d
	je	.L14
	imull	%esi, %eax
	imull	%ecx, %edx
	addl	%edx, %eax
	je	.L15
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	jne	.L6
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L16:
	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:
```
```c
#include <stdio.h>

int main() {
    int n, x0, y0, x1, y1, x2, y2, x3, y3;
    scanf("%d", &n);
    while(n--) {
        scanf("%d%d%d%d%d%d%d%d", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3);
        if ((x1-x0) * (y3-y2) - (y1-y0) * (x3-x2) == 0) puts("2");
        else if ((x1-x0) * (x3-x2) + (y1-y0) * (y3-y2) == 0) puts("1");
        else puts("0");
    }
}

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

```c
#include <stdio.h>

int main() {
    int n, x0, y0, x1, y1, x2, y2, x3, y3;
    scanf("%d", &n);
    while(n--) {
        scanf("%d%d%d%d%d%d%d%d", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3);
        if ((x1-x0) * (y3-y2) - (y1-y0) * (x3-x2) == 0) puts("2");
        else if ((x1-x0) * (x3-x2) + (y1-y0) * (y3-y2) == 0) puts("1");
        else puts("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:

3
0 0 3 0 0 2 3 2
0 0 3 0 1 1 1 7
0 0 3 0 1 1 2 2
 3
0 0 3 1 0 2 3 2
0 0 3 0 1 1 1 7
0 0 3 0 1 1 2 2
 3
0 0 3 0 0 2 3 2
0 0 3 -1 1 1 1 4
0 0 3 0 1 1 2 2
 3
0 0 3 1 0 2 3 2
0 1 3 0 1 1 1 7
0 0 3 0 1 1 2 2
 3
0 0 3 1 0 2 3 2
0 1 3 0 1 0 1 7
0 0 3 0 1 1 2 1
 3
0 -1 3 0 0 4 3 2
1 0 3 -1 1 0 1 16
0 0 1 0 0 1 0 0
 3
-1 1 1 5 4 -1 0 1
0 1 4 0 0 0 -1 11
-2 -2 1 1 0 0 -1 0
 3
-1 1 1 5 4 -1 0 1
0 1 4 0 0 0 -1 11
-2 -2 1 1 0 0 -1 -1
 3
0 0 2 5 4 0 -2 0
1 0 6 0 2 1 -2 1
-1 -6 0 1 -1 0 -1 -3
 3
0 -1 2 1 0 4 3 1
1 0 3 -2 1 -1 0 16
0 0 1 0 0 1 0 0

2
1
0
 0
1
0
 2
0
0
 0
0
0
 0
0
2
 0
0
1
 1
0
0
 1
0
2
 0
2
0
 1
0
1

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>

int main() {
    int n, x0, y0, x1, y1, x2, y2, x3, y3;
    scanf("%d", &n);
    while(n--) {
        scanf("%d%d%d%d%d%d%d%d", &x0, &y0, &x1, &y1, &x2, &y2, &x3, &y3);
        if ((x1-x0) * (y3-y2) - (y1-y0) * (x3-x2) == 0) puts("2");
        else if ((x1-x0) * (x3-x2) + (y1-y0) * (y3-y2) == 0) puts("1");
        else puts("0");
    }
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"2"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
	.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
	leaq	.LC0(%rip), %rdi
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	52(%rsp), %r14
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r12
	leaq	40(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
.L6:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	call	__isoc99_scanf@PLT
	movl	80(%rsp), %eax
	movl	84(%rsp), %ecx
	subl	72(%rsp), %eax
	subl	76(%rsp), %ecx
	movl	100(%rsp), %edx
	movl	96(%rsp), %esi
	movl	%eax, %r8d
	movl	%ecx, %edi
	subl	92(%rsp), %edx
	subl	88(%rsp), %esi
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%edx, %r8d
	imull	%esi, %edi
	cmpl	%edi, %r8d
	je	.L14
	imull	%esi, %eax
	imull	%ecx, %edx
	addl	%edx, %eax
	je	.L15
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	jne	.L6
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L16:
	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:
```

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"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"2"
.LC3:
	.string	"1"
.LC4:
	.string	"0"
	.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
	leaq	.LC0(%rip), %rdi
	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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	56(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	52(%rsp), %r14
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r13
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r12
	leaq	40(%rsp), %rbp
	leaq	.LC1(%rip), %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L4:
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
.L6:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r14, %r8
	movq	%r13, %rcx
	movq	%r12, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	call	__isoc99_scanf@PLT
	movl	80(%rsp), %eax
	movl	84(%rsp), %ecx
	subl	72(%rsp), %eax
	subl	76(%rsp), %ecx
	movl	100(%rsp), %edx
	movl	96(%rsp), %esi
	movl	%eax, %r8d
	movl	%ecx, %edi
	subl	92(%rsp), %edx
	subl	88(%rsp), %esi
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%edx, %r8d
	imull	%esi, %edi
	cmpl	%edi, %r8d
	je	.L14
	imull	%esi, %eax
	imull	%ecx, %edx
	addl	%edx, %eax
	je	.L15
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	jne	.L6
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$88, %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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L16:
	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:
```