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() {
  int i,n,m,h[100002],ma[100002];

  scanf("%d %d",&n,&m);

  int a[m + 1],b[m + 1];
  
  for (i = 1;i <= n;i ++) {
    int height;
    scanf("%d",&height);
    h[i] = height;
    ma[i] = 0;
  }

  for (i = 1;i <= m;i ++) {
    int scana,scanb;
    scanf("%d %d",&scana,&scanb);
    a[i] = scana;
    b[i] = scanb;
  }
  for (i = 1;i <= m;i ++) {
    if (ma[a[i]] <= h[b[i]]) {
      ma[a[i]] = h[b[i]];
    }
    if (ma[b[i]] <= h[a[i]]) {
      ma[b[i]] = h[a[i]];
    }
  }
  int x = 0;
  for (i = 1;i <= n;i ++) {
    if (h[i] > ma[i]) {
      x ++;
    }
  }
  printf("%d",x);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1416, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-800132(%rbp), %rdx
	leaq	-800136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800112(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800160(%rbp)
	movq	$0, -800152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800176(%rbp)
	movq	$0, -800168(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800104(%rbp)
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800096(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800088(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L8
.L9:
	leaq	-800124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800124(%rbp), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	%edx, -800080(%rbp,%rax,4)
	movl	-800120(%rbp), %eax
	cltq
	movl	$0, -400064(%rbp,%rax,4)
	addl	$1, -800120(%rbp)
.L8:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L9
	movl	$1, -800120(%rbp)
	jmp	.L10
.L11:
	leaq	-800124(%rbp), %rdx
	leaq	-800128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800128(%rbp), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	movl	-800124(%rbp), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	addl	$1, -800120(%rbp)
.L10:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L11
	movl	$1, -800120(%rbp)
	jmp	.L12
.L15:
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L13
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L13:
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L14
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L14:
	addl	$1, -800120(%rbp)
.L12:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L15
	movl	$0, -800116(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L16
.L18:
	movl	-800120(%rbp), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L17
	addl	$1, -800116(%rbp)
.L17:
	addl	$1, -800120(%rbp)
.L16:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L18
	movl	-800116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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 %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1352, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-800092(%rbp), %rdx
	leaq	-800096(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-800092(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rsi
	movq	%rax, %rdx
	andq	$-4096, %rsi
	andq	$-16, %rdx
	subq	%rsi, %rcx
	cmpq	%rcx, %rsp
	je	.L3
.L45:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L45
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L46
.L4:
	movq	%rax, %rdx
	movq	%rsp, %rcx
	andq	$-4096, %rax
	movq	%rsp, %r12
	andq	$-16, %rdx
	subq	%rax, %rcx
.L5:
	cmpq	%rcx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L46:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L47
.L7:
	cmpl	$0, -800096(%rbp)
	movq	%rsp, %r13
	jle	.L48
	movl	$1, %edx
	leaq	-800084(%rbp), %rbx
	leaq	.LC1(%rip), %r15
	leaq	-800080(%rbp), %r8
	leaq	-400064(%rbp), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	movq	%r8, -800112(%rbp)
	movq	%rdx, -800104(%rbp)
	call	__isoc99_scanf@PLT
	movq	-800104(%rbp), %rdx
	movl	-800084(%rbp), %eax
	movq	-800112(%rbp), %r8
	movl	$0, (%r14,%rdx,4)
	movl	%eax, (%r8,%rdx,4)
	addq	$1, %rdx
	cmpl	%edx, -800096(%rbp)
	jge	.L8
	movl	-800092(%rbp), %eax
	testl	%eax, %eax
	jle	.L11
.L10:
	leaq	-800088(%rbp), %rax
	movl	$1, %r14d
	movq	%rax, -800104(%rbp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	-800104(%rbp), %rsi
	movq	%rbx, %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-800088(%rbp), %eax
	movl	%eax, (%r12,%r14,4)
	movl	-800084(%rbp), %eax
	movl	%eax, 0(%r13,%r14,4)
	movl	-800092(%rbp), %eax
	addq	$1, %r14
	cmpl	%r14d, %eax
	jge	.L15
	testl	%eax, %eax
	jle	.L11
	leal	1(%rax), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L16:
	movslq	(%r12,%rax,4), %rsi
	movslq	0(%r13,%rax,4), %rcx
	movl	-400064(%rbp,%rsi,4), %edi
	movl	-800080(%rbp,%rcx,4), %edx
	cmpl	%edi, %edx
	cmovl	%edi, %edx
	movl	%edx, -400064(%rbp,%rsi,4)
	movl	-800080(%rbp,%rsi,4), %edx
	movl	-400064(%rbp,%rcx,4), %esi
	cmpl	%esi, %edx
	cmovl	%esi, %edx
	addq	$1, %rax
	movl	%edx, -400064(%rbp,%rcx,4)
	cmpq	%rax, %r8
	jne	.L16
.L11:
	movl	-800096(%rbp), %esi
	testl	%esi, %esi
	jle	.L43
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L27
	movl	%esi, %eax
	pxor	%xmm0, %xmm0
	leaq	-800080(%rbp), %r8
	shrl	$2, %eax
	leaq	-400064(%rbp), %r14
	leal	-1(%rax), %edx
	movl	$4, %eax
	salq	$4, %rdx
	addq	$20, %rdx
	.p2align 4,,10
	.p2align 3
.L18:
	movdqu	(%r8,%rax), %xmm1
	movdqu	(%r14,%rax), %xmm2
	addq	$16, %rax
	pcmpgtd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	cmpq	%rax, %rdx
	jne	.L18
	movdqa	%xmm0, %xmm1
	movl	%esi, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	leal	1(%rcx), %eax
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%ecx, %esi
	je	.L14
.L17:
	movslq	%eax, %rcx
	movl	-800080(%rbp,%rcx,4), %ebx
	cmpl	%ebx, -400064(%rbp,%rcx,4)
	jge	.L21
	addl	$1, %edx
.L21:
	leal	1(%rax), %ecx
	cmpl	%esi, %ecx
	jg	.L14
	movslq	%ecx, %rcx
	movl	-800080(%rbp,%rcx,4), %ebx
	cmpl	%ebx, -400064(%rbp,%rcx,4)
	jge	.L22
	addl	$1, %edx
.L22:
	addl	$2, %eax
	cmpl	%eax, %esi
	jl	.L14
	cltq
	movl	-400064(%rbp,%rax,4), %ebx
	cmpl	%ebx, -800080(%rbp,%rax,4)
	jle	.L14
	addl	$1, %edx
.L14:
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L49
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L48:
	.cfi_restore_state
	cmpl	$0, -800092(%rbp)
	leaq	-800084(%rbp), %rbx
	leaq	.LC1(%rip), %r15
	jg	.L10
.L43:
	xorl	%edx, %edx
	jmp	.L14
.L27:
	xorl	%edx, %edx
	movl	$1, %eax
	jmp	.L17
.L47:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L49:
	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 %d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1352, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-800092(%rbp), %rdx
	leaq	-800096(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-800092(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rsi
	movq	%rax, %rdx
	andq	$-4096, %rsi
	andq	$-16, %rdx
	subq	%rsi, %rcx
	cmpq	%rcx, %rsp
	je	.L3
.L45:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L45
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L46
.L4:
	movq	%rax, %rdx
	movq	%rsp, %rcx
	andq	$-4096, %rax
	movq	%rsp, %r12
	andq	$-16, %rdx
	subq	%rax, %rcx
.L5:
	cmpq	%rcx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L46:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L47
.L7:
	cmpl	$0, -800096(%rbp)
	movq	%rsp, %r13
	jle	.L48
	movl	$1, %edx
	leaq	-800084(%rbp), %rbx
	leaq	.LC1(%rip), %r15
	leaq	-800080(%rbp), %r8
	leaq	-400064(%rbp), %r14
	.p2align 4,,10
	.p2align 3
.L8:
	movq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	movq	%r8, -800112(%rbp)
	movq	%rdx, -800104(%rbp)
	call	__isoc99_scanf@PLT
	movq	-800104(%rbp), %rdx
	movl	-800084(%rbp), %eax
	movq	-800112(%rbp), %r8
	movl	$0, (%r14,%rdx,4)
	movl	%eax, (%r8,%rdx,4)
	addq	$1, %rdx
	cmpl	%edx, -800096(%rbp)
	jge	.L8
	movl	-800092(%rbp), %eax
	testl	%eax, %eax
	jle	.L11
.L10:
	leaq	-800088(%rbp), %rax
	movl	$1, %r14d
	movq	%rax, -800104(%rbp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	-800104(%rbp), %rsi
	movq	%rbx, %rdx
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-800088(%rbp), %eax
	movl	%eax, (%r12,%r14,4)
	movl	-800084(%rbp), %eax
	movl	%eax, 0(%r13,%r14,4)
	movl	-800092(%rbp), %eax
	addq	$1, %r14
	cmpl	%r14d, %eax
	jge	.L15
	testl	%eax, %eax
	jle	.L11
	leal	1(%rax), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L16:
	movslq	(%r12,%rax,4), %rsi
	movslq	0(%r13,%rax,4), %rcx
	movl	-400064(%rbp,%rsi,4), %edi
	movl	-800080(%rbp,%rcx,4), %edx
	cmpl	%edi, %edx
	cmovl	%edi, %edx
	movl	%edx, -400064(%rbp,%rsi,4)
	movl	-800080(%rbp,%rsi,4), %edx
	movl	-400064(%rbp,%rcx,4), %esi
	cmpl	%esi, %edx
	cmovl	%esi, %edx
	addq	$1, %rax
	movl	%edx, -400064(%rbp,%rcx,4)
	cmpq	%rax, %r8
	jne	.L16
.L11:
	movl	-800096(%rbp), %esi
	testl	%esi, %esi
	jle	.L43
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L27
	movl	%esi, %eax
	pxor	%xmm0, %xmm0
	leaq	-800080(%rbp), %r8
	shrl	$2, %eax
	leaq	-400064(%rbp), %r14
	leal	-1(%rax), %edx
	movl	$4, %eax
	salq	$4, %rdx
	addq	$20, %rdx
	.p2align 4,,10
	.p2align 3
.L18:
	movdqu	(%r8,%rax), %xmm1
	movdqu	(%r14,%rax), %xmm2
	addq	$16, %rax
	pcmpgtd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	cmpq	%rax, %rdx
	jne	.L18
	movdqa	%xmm0, %xmm1
	movl	%esi, %ecx
	psrldq	$8, %xmm1
	andl	$-4, %ecx
	paddd	%xmm1, %xmm0
	leal	1(%rcx), %eax
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%ecx, %esi
	je	.L14
.L17:
	movslq	%eax, %rcx
	movl	-800080(%rbp,%rcx,4), %ebx
	cmpl	%ebx, -400064(%rbp,%rcx,4)
	jge	.L21
	addl	$1, %edx
.L21:
	leal	1(%rax), %ecx
	cmpl	%esi, %ecx
	jg	.L14
	movslq	%ecx, %rcx
	movl	-800080(%rbp,%rcx,4), %ebx
	cmpl	%ebx, -400064(%rbp,%rcx,4)
	jge	.L22
	addl	$1, %edx
.L22:
	addl	$2, %eax
	cmpl	%eax, %esi
	jl	.L14
	cltq
	movl	-400064(%rbp,%rax,4), %ebx
	cmpl	%ebx, -800080(%rbp,%rax,4)
	jle	.L14
	addl	$1, %edx
.L14:
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L49
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L48:
	.cfi_restore_state
	cmpl	$0, -800092(%rbp)
	leaq	-800084(%rbp), %rbx
	leaq	.LC1(%rip), %r15
	jg	.L10
.L43:
	xorl	%edx, %edx
	jmp	.L14
.L27:
	xorl	%edx, %edx
	movl	$1, %eax
	jmp	.L17
.L47:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L49:
	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() {
  int i,n,m,h[100002],ma[100002];

  scanf("%d %d",&n,&m);

  int a[m + 1],b[m + 1];
  
  for (i = 1;i <= n;i ++) {
    int height;
    scanf("%d",&height);
    h[i] = height;
    ma[i] = 0;
  }

  for (i = 1;i <= m;i ++) {
    int scana,scanb;
    scanf("%d %d",&scana,&scanb);
    a[i] = scana;
    b[i] = scanb;
  }
  for (i = 1;i <= m;i ++) {
    if (ma[a[i]] <= h[b[i]]) {
      ma[a[i]] = h[b[i]];
    }
    if (ma[b[i]] <= h[a[i]]) {
      ma[b[i]] = h[a[i]];
    }
  }
  int x = 0;
  for (i = 1;i <= n;i ++) {
    if (h[i] > ma[i]) {
      x ++;
    }
  }
  printf("%d",x);
}

6 5
8 6 9 1 2 1
1 3
4 2
4 0
4 6
4 6
 4 3
1 2 3 4
1 3
3 3
2 4
 4 2
2 4 3 5
1 3
3 3
2 4
 4 0
2 4 3 5
1 3
3 3
4 4
 6 0
9 6 8 1 1 1
0 3
3 0
4 1
4 2
1 6
 6 5
8 6 9 1 2 0
0 3
4 0
4 0
2 6
4 6
 4 3
1 6 3 3
1 3
2 2
3 4
 6 5
8 6 9 1 2 1
1 3
4 1
4 0
4 6
4 6
 4 3
1 2 3 5
1 3
3 3
2 4
 6 5
8 6 9 1 2 1
1 3
4 1
4 0
4 3
4 6

3 1 2 4 6 5 0 3 1 3
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() {
  int i,n,m,h[100002],ma[100002];

  scanf("%d %d",&n,&m);

  int a[m + 1],b[m + 1];
  
  for (i = 1;i <= n;i ++) {
    int height;
    scanf("%d",&height);
    h[i] = height;
    ma[i] = 0;
  }

  for (i = 1;i <= m;i ++) {
    int scana,scanb;
    scanf("%d %d",&scana,&scanb);
    a[i] = scana;
    b[i] = scanb;
  }
  for (i = 1;i <= m;i ++) {
    if (ma[a[i]] <= h[b[i]]) {
      ma[a[i]] = h[b[i]];
    }
    if (ma[b[i]] <= h[a[i]]) {
      ma[b[i]] = h[a[i]];
    }
  }
  int x = 0;
  for (i = 1;i <= n;i ++) {
    if (h[i] > ma[i]) {
      x ++;
    }
  }
  printf("%d",x);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1416, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-800132(%rbp), %rdx
	leaq	-800136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800112(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800160(%rbp)
	movq	$0, -800152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800176(%rbp)
	movq	$0, -800168(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800104(%rbp)
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800096(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800088(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L8
.L9:
	leaq	-800124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800124(%rbp), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	%edx, -800080(%rbp,%rax,4)
	movl	-800120(%rbp), %eax
	cltq
	movl	$0, -400064(%rbp,%rax,4)
	addl	$1, -800120(%rbp)
.L8:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L9
	movl	$1, -800120(%rbp)
	jmp	.L10
.L11:
	leaq	-800124(%rbp), %rdx
	leaq	-800128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800128(%rbp), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	movl	-800124(%rbp), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	addl	$1, -800120(%rbp)
.L10:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L11
	movl	$1, -800120(%rbp)
	jmp	.L12
.L15:
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L13
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L13:
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L14
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L14:
	addl	$1, -800120(%rbp)
.L12:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L15
	movl	$0, -800116(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L16
.L18:
	movl	-800120(%rbp), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L17
	addl	$1, -800116(%rbp)
.L17:
	addl	$1, -800120(%rbp)
.L16:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L18
	movl	-800116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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 %d"
.LC1:
	.string	"%d"
	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1416, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-800132(%rbp), %rdx
	leaq	-800136(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800112(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800160(%rbp)
	movq	$0, -800152(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -800176(%rbp)
	movq	$0, -800168(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800104(%rbp)
	movl	-800132(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -800096(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movslq	%eax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -800088(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L8
.L9:
	leaq	-800124(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800124(%rbp), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	%edx, -800080(%rbp,%rax,4)
	movl	-800120(%rbp), %eax
	cltq
	movl	$0, -400064(%rbp,%rax,4)
	addl	$1, -800120(%rbp)
.L8:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L9
	movl	$1, -800120(%rbp)
	jmp	.L10
.L11:
	leaq	-800124(%rbp), %rdx
	leaq	-800128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800128(%rbp), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	movl	-800124(%rbp), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	addl	$1, -800120(%rbp)
.L10:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L11
	movl	$1, -800120(%rbp)
	jmp	.L12
.L15:
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L13
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L13:
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %ecx
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	jg	.L14
	movq	-800104(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %esi
	movq	-800088(%rbp), %rax
	movl	-800120(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movslq	%esi, %rax
	movl	-800080(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -400064(%rbp,%rax,4)
.L14:
	addl	$1, -800120(%rbp)
.L12:
	movl	-800132(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L15
	movl	$0, -800116(%rbp)
	movl	$1, -800120(%rbp)
	jmp	.L16
.L18:
	movl	-800120(%rbp), %eax
	cltq
	movl	-800080(%rbp,%rax,4), %edx
	movl	-800120(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L17
	addl	$1, -800116(%rbp)
.L17:
	addl	$1, -800120(%rbp)
.L16:
	movl	-800136(%rbp), %eax
	cmpl	%eax, -800120(%rbp)
	jle	.L18
	movl	-800116(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	%rbx, %rsp
	movl	$0, %eax
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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:
