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 <stdbool.h>

int main(void)
{

  int c[9];

  for (int i = 0; i < 9; i++) {
    scanf("%d", &c[i]);
  }

  int min = 1000;
  for (int i = 0; i < 3; i++) {
    if (min > c[i]) {
      min = c[i];
    }
    
  }

  int b[3];

  for (int i = 0; i < 3; i++) {
    b[i] = c[i] - min;
  }

  int min2=1000;
  int min3=1000;

  for (int i = 0; i < 3; i++) {
    if (min2 > c[3+i]) {
      min2 = c[i+3];
    }
    if (min3 > c[6+i]) {
      min3 = c[i+6];
    }
  }
  for (int i = 0; i < 3; i++) {
  }

  bool flag = true;

  for (int i = 0; i < 3; i++) {
    if (c[3+i] - min2 != b[i] ) {
       flag = false;
    }
    if (c[6+i] - min3 != b[i] ) {
       flag = false;
    }

  }
  

  if (flag == true) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	8(%rsp), %r10d
	movl	$1000, %eax
	movq	(%rsp), %xmm0
	movl	$1000, %r8d
	movl	12(%rsp), %edi
	movl	16(%rsp), %ecx
	movl	$1000, %r12d
	cmpl	%eax, %r10d
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm2, %edx
	movl	20(%rsp), %r11d
	cmovle	%r10d, %eax
	movl	24(%rsp), %esi
	movl	28(%rsp), %r9d
	movl	32(%rsp), %ebp
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%xmm0, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%eax, %xmm3
	subl	%eax, %r10d
	cmpl	%ecx, %edi
	movl	%ecx, %eax
	cmovle	%edi, %eax
	pshufd	$0xe0, %xmm3, %xmm1
	psubd	%xmm1, %xmm0
	cmpl	%r8d, %eax
	cmovg	%r8d, %eax
	movl	%r9d, %r8d
	movd	%xmm0, %edx
	pshufd	$0xe5, %xmm0, %xmm4
	movd	%xmm4, %ebx
	cmpl	%r11d, %eax
	cmovg	%r11d, %eax
	cmpl	%r9d, %esi
	cmovle	%esi, %r8d
	cmpl	%r12d, %r8d
	cmovg	%r12d, %r8d
	cmpl	%ebp, %r8d
	cmovg	%ebp, %r8d
	subl	%eax, %edi
	cmpl	%edx, %edi
	sete	%dil
	subl	%r8d, %esi
	xorl	%r12d, %r12d
	cmpl	%esi, %edx
	movl	%r9d, %edx
	cmovne	%r12d, %edi
	subl	%eax, %ecx
	cmpl	%ebx, %ecx
	cmovne	%r12d, %edi
	subl	%r8d, %edx
	cmpl	%edx, %ebx
	je	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	subl	%eax, %r11d
	cmpl	%r10d, %r11d
	jne	.L5
	subl	%r8d, %ebp
	cmpl	%r11d, %ebp
	jne	.L5
	testb	%dil, %dil
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L17:
	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	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	8(%rsp), %r10d
	movl	$1000, %eax
	movq	(%rsp), %xmm0
	movl	$1000, %r8d
	movl	12(%rsp), %edi
	movl	16(%rsp), %ecx
	movl	$1000, %r12d
	cmpl	%eax, %r10d
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm2, %edx
	movl	20(%rsp), %r11d
	cmovle	%r10d, %eax
	movl	24(%rsp), %esi
	movl	28(%rsp), %r9d
	movl	32(%rsp), %ebp
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%xmm0, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%eax, %xmm3
	subl	%eax, %r10d
	cmpl	%ecx, %edi
	movl	%ecx, %eax
	cmovle	%edi, %eax
	pshufd	$0xe0, %xmm3, %xmm1
	psubd	%xmm1, %xmm0
	cmpl	%r8d, %eax
	cmovg	%r8d, %eax
	movl	%r9d, %r8d
	movd	%xmm0, %edx
	pshufd	$0xe5, %xmm0, %xmm4
	movd	%xmm4, %ebx
	cmpl	%r11d, %eax
	cmovg	%r11d, %eax
	cmpl	%r9d, %esi
	cmovle	%esi, %r8d
	cmpl	%r12d, %r8d
	cmovg	%r12d, %r8d
	cmpl	%ebp, %r8d
	cmovg	%ebp, %r8d
	subl	%eax, %edi
	cmpl	%edx, %edi
	sete	%dil
	subl	%r8d, %esi
	xorl	%r12d, %r12d
	cmpl	%esi, %edx
	movl	%r9d, %edx
	cmovne	%r12d, %edi
	subl	%eax, %ecx
	cmpl	%ebx, %ecx
	cmovne	%r12d, %edi
	subl	%r8d, %edx
	cmpl	%edx, %ebx
	je	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	subl	%eax, %r11d
	cmpl	%r10d, %r11d
	jne	.L5
	subl	%r8d, %ebp
	cmpl	%r11d, %ebp
	jne	.L5
	testb	%dil, %dil
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L17:
	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	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	8(%rsp), %r10d
	movl	$1000, %eax
	movq	(%rsp), %xmm0
	movl	$1000, %r8d
	movl	12(%rsp), %edi
	movl	16(%rsp), %ecx
	movl	$1000, %r12d
	cmpl	%eax, %r10d
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm2, %edx
	movl	20(%rsp), %r11d
	cmovle	%r10d, %eax
	movl	24(%rsp), %esi
	movl	28(%rsp), %r9d
	movl	32(%rsp), %ebp
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%xmm0, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%eax, %xmm3
	subl	%eax, %r10d
	cmpl	%ecx, %edi
	movl	%ecx, %eax
	cmovle	%edi, %eax
	pshufd	$0xe0, %xmm3, %xmm1
	psubd	%xmm1, %xmm0
	cmpl	%r8d, %eax
	cmovg	%r8d, %eax
	movl	%r9d, %r8d
	movd	%xmm0, %edx
	pshufd	$0xe5, %xmm0, %xmm4
	movd	%xmm4, %ebx
	cmpl	%r11d, %eax
	cmovg	%r11d, %eax
	cmpl	%r9d, %esi
	cmovle	%esi, %r8d
	cmpl	%r12d, %r8d
	cmovg	%r12d, %r8d
	cmpl	%ebp, %r8d
	cmovg	%ebp, %r8d
	subl	%eax, %edi
	cmpl	%edx, %edi
	sete	%dil
	subl	%r8d, %esi
	xorl	%r12d, %r12d
	cmpl	%esi, %edx
	movl	%r9d, %edx
	cmovne	%r12d, %edi
	subl	%eax, %ecx
	cmpl	%ebx, %ecx
	cmovne	%r12d, %edi
	subl	%r8d, %edx
	cmpl	%edx, %ebx
	je	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	subl	%eax, %r11d
	cmpl	%r10d, %r11d
	jne	.L5
	subl	%r8d, %ebp
	cmpl	%r11d, %ebp
	jne	.L5
	testb	%dil, %dil
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L17:
	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>
#include <stdbool.h>

int main(void)
{

  int c[9];

  for (int i = 0; i < 9; i++) {
    scanf("%d", &c[i]);
  }

  int min = 1000;
  for (int i = 0; i < 3; i++) {
    if (min > c[i]) {
      min = c[i];
    }
    
  }

  int b[3];

  for (int i = 0; i < 3; i++) {
    b[i] = c[i] - min;
  }

  int min2=1000;
  int min3=1000;

  for (int i = 0; i < 3; i++) {
    if (min2 > c[3+i]) {
      min2 = c[i+3];
    }
    if (min3 > c[6+i]) {
      min3 = c[i+6];
    }
  }
  for (int i = 0; i < 3; i++) {
  }

  bool flag = true;

  for (int i = 0; i < 3; i++) {
    if (c[3+i] - min2 != b[i] ) {
       flag = false;
    }
    if (c[6+i] - min3 != b[i] ) {
       flag = false;
    }

  }
  

  if (flag == true) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  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 <stdbool.h>

int main(void)
{

  int c[9];

  for (int i = 0; i < 9; i++) {
    scanf("%d", &c[i]);
  }

  int min = 1000;
  for (int i = 0; i < 3; i++) {
    if (min > c[i]) {
      min = c[i];
    }
    
  }

  int b[3];

  for (int i = 0; i < 3; i++) {
    b[i] = c[i] - min;
  }

  int min2=1000;
  int min3=1000;

  for (int i = 0; i < 3; i++) {
    if (min2 > c[3+i]) {
      min2 = c[i+3];
    }
    if (min3 > c[6+i]) {
      min3 = c[i+6];
    }
  }
  for (int i = 0; i < 3; i++) {
  }

  bool flag = true;

  for (int i = 0; i < 3; i++) {
    if (c[3+i] - min2 != b[i] ) {
       flag = false;
    }
    if (c[6+i] - min3 != b[i] ) {
       flag = false;
    }

  }
  

  if (flag == true) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  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:

1 0 1
4 1 2
1 0 1
 1 8 6
2 9 7
1 7 7
 0 8 8
0 8 8
0 0 8
 2 2 2
2 1 0
2 2 2
 1 0 1
4 1 2
0 0 1
 1 8 6
4 9 7
1 7 7
 0 8 2
0 8 8
0 0 8
 2 2 2
2 1 -1
2 2 2
 1 0 1
4 1 4
0 0 1
 1 8 6
6 9 7
1 7 7

No
 No
 No
 No
 No
 No
 No
 No
 No
 No

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 <stdbool.h>

int main(void)
{

  int c[9];

  for (int i = 0; i < 9; i++) {
    scanf("%d", &c[i]);
  }

  int min = 1000;
  for (int i = 0; i < 3; i++) {
    if (min > c[i]) {
      min = c[i];
    }
    
  }

  int b[3];

  for (int i = 0; i < 3; i++) {
    b[i] = c[i] - min;
  }

  int min2=1000;
  int min3=1000;

  for (int i = 0; i < 3; i++) {
    if (min2 > c[3+i]) {
      min2 = c[i+3];
    }
    if (min3 > c[6+i]) {
      min3 = c[i+6];
    }
  }
  for (int i = 0; i < 3; i++) {
  }

  bool flag = true;

  for (int i = 0; i < 3; i++) {
    if (c[3+i] - min2 != b[i] ) {
       flag = false;
    }
    if (c[6+i] - min3 != b[i] ) {
       flag = false;
    }

  }
  

  if (flag == true) {
    printf("Yes\n");
  } else {
    printf("No\n");
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	8(%rsp), %r10d
	movl	$1000, %eax
	movq	(%rsp), %xmm0
	movl	$1000, %r8d
	movl	12(%rsp), %edi
	movl	16(%rsp), %ecx
	movl	$1000, %r12d
	cmpl	%eax, %r10d
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm2, %edx
	movl	20(%rsp), %r11d
	cmovle	%r10d, %eax
	movl	24(%rsp), %esi
	movl	28(%rsp), %r9d
	movl	32(%rsp), %ebp
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%xmm0, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%eax, %xmm3
	subl	%eax, %r10d
	cmpl	%ecx, %edi
	movl	%ecx, %eax
	cmovle	%edi, %eax
	pshufd	$0xe0, %xmm3, %xmm1
	psubd	%xmm1, %xmm0
	cmpl	%r8d, %eax
	cmovg	%r8d, %eax
	movl	%r9d, %r8d
	movd	%xmm0, %edx
	pshufd	$0xe5, %xmm0, %xmm4
	movd	%xmm4, %ebx
	cmpl	%r11d, %eax
	cmovg	%r11d, %eax
	cmpl	%r9d, %esi
	cmovle	%esi, %r8d
	cmpl	%r12d, %r8d
	cmovg	%r12d, %r8d
	cmpl	%ebp, %r8d
	cmovg	%ebp, %r8d
	subl	%eax, %edi
	cmpl	%edx, %edi
	sete	%dil
	subl	%r8d, %esi
	xorl	%r12d, %r12d
	cmpl	%esi, %edx
	movl	%r9d, %edx
	cmovne	%r12d, %edi
	subl	%eax, %ecx
	cmpl	%ebx, %ecx
	cmovne	%r12d, %edi
	subl	%r8d, %edx
	cmpl	%edx, %ebx
	je	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	subl	%eax, %r11d
	cmpl	%r10d, %r11d
	jne	.L5
	subl	%r8d, %ebp
	cmpl	%r11d, %ebp
	jne	.L5
	testb	%dil, %dil
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L17:
	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	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$48, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	36(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addq	$4, %rbx
	call	__isoc99_scanf@PLT
	cmpq	%rbx, %r12
	jne	.L2
	movl	8(%rsp), %r10d
	movl	$1000, %eax
	movq	(%rsp), %xmm0
	movl	$1000, %r8d
	movl	12(%rsp), %edi
	movl	16(%rsp), %ecx
	movl	$1000, %r12d
	cmpl	%eax, %r10d
	pshufd	$0xe5, %xmm0, %xmm2
	movd	%xmm2, %edx
	movl	20(%rsp), %r11d
	cmovle	%r10d, %eax
	movl	24(%rsp), %esi
	movl	28(%rsp), %r9d
	movl	32(%rsp), %ebp
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%xmm0, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	movd	%eax, %xmm3
	subl	%eax, %r10d
	cmpl	%ecx, %edi
	movl	%ecx, %eax
	cmovle	%edi, %eax
	pshufd	$0xe0, %xmm3, %xmm1
	psubd	%xmm1, %xmm0
	cmpl	%r8d, %eax
	cmovg	%r8d, %eax
	movl	%r9d, %r8d
	movd	%xmm0, %edx
	pshufd	$0xe5, %xmm0, %xmm4
	movd	%xmm4, %ebx
	cmpl	%r11d, %eax
	cmovg	%r11d, %eax
	cmpl	%r9d, %esi
	cmovle	%esi, %r8d
	cmpl	%r12d, %r8d
	cmovg	%r12d, %r8d
	cmpl	%ebp, %r8d
	cmovg	%ebp, %r8d
	subl	%eax, %edi
	cmpl	%edx, %edi
	sete	%dil
	subl	%r8d, %esi
	xorl	%r12d, %r12d
	cmpl	%esi, %edx
	movl	%r9d, %edx
	cmovne	%r12d, %edi
	subl	%eax, %ecx
	cmpl	%ebx, %ecx
	cmovne	%r12d, %edi
	subl	%r8d, %edx
	cmpl	%edx, %ebx
	je	.L16
.L5:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L6:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$48, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	subl	%eax, %r11d
	cmpl	%r10d, %r11d
	jne	.L5
	subl	%r8d, %ebp
	cmpl	%r11d, %ebp
	jne	.L5
	testb	%dil, %dil
	je	.L5
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L6
.L17:
	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:
```