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>
#include <stdlib.h>

typedef unsigned char bool;
int main(){
  int n;
  scanf("%d",&n);
  int a[n+1],b[n+1],i;
  bool flag=1;
  for(i=1;i<=n;i++)
    {
      scanf("%d",&a[i]);
      if(a[i]>i)flag=0;
      b[i]=0;
    }
  if(flag==0)
    {
      printf("-1\n");
      return 0;
    }
  //  printf("1\n");
  int j,temp,count;
  for(i=n;i>0;i--)
    {
      count=0;
      for(j=i+1;j<=n;j++)
	{
	  if(a[i]>=a[j]) count++;
	}
      //      printf("%2d ",count);
      for(j=0;j<count;j++)
	{
	  if(b[a[i]+j]>a[i])
	    count++;
	  //	  printf("%d:%d:%d ",b[i+j],a[i],count);
	}
      j=a[i]+count;
      //      printf("%2d\n",j);
      while(b[j]!=0)j++;
      b[j]=a[i];
    }
  //  printf("\n",j);
  for(i=1;i<=n;i++)
    printf("%d\n",b[i]);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	subq	$104, %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	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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, -80(%rbp)
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%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, -64(%rbp)
	movb	$1, -105(%rbp)
	movl	$1, -100(%rbp)
	jmp	.L8
.L10:
	movl	-100(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, -100(%rbp)
	jge	.L9
	movb	$0, -105(%rbp)
.L9:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -100(%rbp)
.L8:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L10
	cmpb	$0, -105(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L11:
	movl	-104(%rbp), %eax
	movl	%eax, -100(%rbp)
	jmp	.L13
.L22:
	movl	$0, -92(%rbp)
	movl	-100(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -96(%rbp)
	jmp	.L14
.L16:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jl	.L15
	addl	$1, -92(%rbp)
.L15:
	addl	$1, -96(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jle	.L16
	movl	$0, -96(%rbp)
	jmp	.L17
.L19:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-96(%rbp), %eax
	addl	%eax, %edx
	movq	-64(%rbp), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jle	.L18
	addl	$1, -92(%rbp)
.L18:
	addl	$1, -96(%rbp)
.L17:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jl	.L19
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-92(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -96(%rbp)
	jmp	.L20
.L21:
	addl	$1, -96(%rbp)
.L20:
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	testl	%eax, %eax
	jne	.L21
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	subl	$1, -100(%rbp)
.L13:
	cmpl	$0, -100(%rbp)
	jg	.L22
	movl	$1, -100(%rbp)
	jmp	.L23
.L24:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -100(%rbp)
.L23:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L24
	movl	$0, %eax
.L12:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"-1"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %ecx
	movq	%rsp, %rsi
	leal	1(%rcx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdi
	movq	%rax, %rdx
	andq	$-4096, %rdi
	andq	$-16, %rdx
	subq	%rdi, %rsi
	cmpq	%rsi, %rsp
	je	.L3
.L50:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L50
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L51
.L4:
	movq	%rsp, -72(%rbp)
	movq	%rax, %rdx
	movq	%rsp, %rsi
	andq	$-4096, %rax
	andq	$-16, %rdx
	subq	%rax, %rsi
.L5:
	cmpq	%rsi, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L51:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L52
.L7:
	movq	%rsp, %r12
	testl	%ecx, %ecx
	jle	.L13
	movq	-72(%rbp), %rax
	movl	$1, %r13d
	movl	$1, %ebx
	leaq	4(%rax), %r15
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%r15, %rsi
	xorl	%eax, %eax
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	cmpl	%r13d, (%r15)
	movl	-60(%rbp), %r8d
	cmovg	%eax, %ebx
	movl	$0, (%r12,%r13,4)
	addq	$1, %r13
	addq	$4, %r15
	cmpl	%r13d, %r8d
	jge	.L10
	testb	%bl, %bl
	je	.L11
	testl	%r8d, %r8d
	jle	.L13
	movq	-72(%rbp), %rbx
	movslq	%r8d, %rax
	leal	1(%r8), %r9d
	xorl	%edi, %edi
	pxor	%xmm3, %xmm3
	leaq	4(%rbx,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L29:
	movl	-4(%r10), %ecx
	movl	%r9d, %edx
	cmpl	%r9d, %r8d
	jl	.L34
	leal	-1(%rdi), %eax
	cmpl	$2, %eax
	jbe	.L35
	movl	%edi, %eax
	movd	%ecx, %xmm4
	pxor	%xmm1, %xmm1
	shrl	$2, %eax
	pshufd	$0, %xmm4, %xmm2
	subl	$1, %eax
	salq	$4, %rax
	leaq	16(%r10,%rax), %rdx
	movq	%r10, %rax
	.p2align 4,,10
	.p2align 3
.L16:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	pcmpgtd	%xmm2, %xmm0
	pcmpeqd	%xmm3, %xmm0
	psubd	%xmm0, %xmm1
	cmpq	%rdx, %rax
	jne	.L16
	movdqa	%xmm1, %xmm0
	movl	%edi, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm1
	leal	(%r9,%rsi), %edx
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%esi, %edi
	je	.L17
.L15:
	movq	-72(%rbp), %rbx
	movslq	%edx, %rsi
	leaq	(%rbx,%rsi,4), %rsi
	cmpl	(%rsi), %ecx
	jl	.L18
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %r8d
	jl	.L20
	cmpl	4(%rsi), %ecx
	jl	.L21
.L54:
	addl	$1, %eax
	cmpl	%edx, %r8d
	jle	.L20
.L22:
	xorl	%edx, %edx
	cmpl	%ecx, 8(%rsi)
	setle	%dl
	addl	%edx, %eax
.L17:
	testl	%eax, %eax
	jle	.L14
.L20:
	movslq	%ecx, %rdx
	leaq	(%r12,%rdx,4), %rsi
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L26:
	cmpl	%ecx, (%rsi,%rdx,4)
	jle	.L25
	addl	$1, %eax
.L25:
	addq	$1, %rdx
	cmpl	%edx, %eax
	jg	.L26
.L14:
	addl	%ecx, %eax
	movslq	%eax, %rdx
	movl	(%r12,%rdx,4), %r11d
	testl	%r11d, %r11d
	je	.L27
	addl	$1, %eax
	movslq	%eax, %rdx
	.p2align 4,,10
	.p2align 3
.L28:
	movl	%edx, %eax
	addq	$1, %rdx
	movl	-4(%r12,%rdx,4), %esi
	testl	%esi, %esi
	jne	.L28
	movslq	%eax, %rdx
.L27:
	addl	$1, %edi
	movl	%ecx, (%r12,%rdx,4)
	subl	$1, %r9d
	subq	$4, %r10
	cmpl	%r8d, %edi
	jne	.L29
	movl	$1, %ebx
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L30:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, -60(%rbp)
	jge	.L30
.L13:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L53
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	addl	$1, %edx
	cmpl	%edx, %r8d
	jl	.L17
	cmpl	4(%rsi), %ecx
	jge	.L54
.L21:
	cmpl	%edx, %r8d
	jg	.L22
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L34:
	xorl	%eax, %eax
	jmp	.L14
.L35:
	xorl	%eax, %eax
	jmp	.L15
.L11:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L13
.L52:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L53:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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	"-1"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	leaq	.LC0(%rip), %r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	movq	%r14, %rdi
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %ecx
	movq	%rsp, %rsi
	leal	1(%rcx), %eax
	cltq
	leaq	15(,%rax,4), %rax
	movq	%rax, %rdi
	movq	%rax, %rdx
	andq	$-4096, %rdi
	andq	$-16, %rdx
	subq	%rdi, %rsi
	cmpq	%rsi, %rsp
	je	.L3
.L50:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L50
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L51
.L4:
	movq	%rsp, -72(%rbp)
	movq	%rax, %rdx
	movq	%rsp, %rsi
	andq	$-4096, %rax
	andq	$-16, %rdx
	subq	%rax, %rsi
.L5:
	cmpq	%rsi, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L51:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L52
.L7:
	movq	%rsp, %r12
	testl	%ecx, %ecx
	jle	.L13
	movq	-72(%rbp), %rax
	movl	$1, %r13d
	movl	$1, %ebx
	leaq	4(%rax), %r15
	.p2align 4,,10
	.p2align 3
.L10:
	movq	%r15, %rsi
	xorl	%eax, %eax
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	xorl	%eax, %eax
	cmpl	%r13d, (%r15)
	movl	-60(%rbp), %r8d
	cmovg	%eax, %ebx
	movl	$0, (%r12,%r13,4)
	addq	$1, %r13
	addq	$4, %r15
	cmpl	%r13d, %r8d
	jge	.L10
	testb	%bl, %bl
	je	.L11
	testl	%r8d, %r8d
	jle	.L13
	movq	-72(%rbp), %rbx
	movslq	%r8d, %rax
	leal	1(%r8), %r9d
	xorl	%edi, %edi
	pxor	%xmm3, %xmm3
	leaq	4(%rbx,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L29:
	movl	-4(%r10), %ecx
	movl	%r9d, %edx
	cmpl	%r9d, %r8d
	jl	.L34
	leal	-1(%rdi), %eax
	cmpl	$2, %eax
	jbe	.L35
	movl	%edi, %eax
	movd	%ecx, %xmm4
	pxor	%xmm1, %xmm1
	shrl	$2, %eax
	pshufd	$0, %xmm4, %xmm2
	subl	$1, %eax
	salq	$4, %rax
	leaq	16(%r10,%rax), %rdx
	movq	%r10, %rax
	.p2align 4,,10
	.p2align 3
.L16:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	pcmpgtd	%xmm2, %xmm0
	pcmpeqd	%xmm3, %xmm0
	psubd	%xmm0, %xmm1
	cmpq	%rdx, %rax
	jne	.L16
	movdqa	%xmm1, %xmm0
	movl	%edi, %esi
	psrldq	$8, %xmm0
	andl	$-4, %esi
	paddd	%xmm0, %xmm1
	leal	(%r9,%rsi), %edx
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%esi, %edi
	je	.L17
.L15:
	movq	-72(%rbp), %rbx
	movslq	%edx, %rsi
	leaq	(%rbx,%rsi,4), %rsi
	cmpl	(%rsi), %ecx
	jl	.L18
	addl	$1, %edx
	addl	$1, %eax
	cmpl	%edx, %r8d
	jl	.L20
	cmpl	4(%rsi), %ecx
	jl	.L21
.L54:
	addl	$1, %eax
	cmpl	%edx, %r8d
	jle	.L20
.L22:
	xorl	%edx, %edx
	cmpl	%ecx, 8(%rsi)
	setle	%dl
	addl	%edx, %eax
.L17:
	testl	%eax, %eax
	jle	.L14
.L20:
	movslq	%ecx, %rdx
	leaq	(%r12,%rdx,4), %rsi
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L26:
	cmpl	%ecx, (%rsi,%rdx,4)
	jle	.L25
	addl	$1, %eax
.L25:
	addq	$1, %rdx
	cmpl	%edx, %eax
	jg	.L26
.L14:
	addl	%ecx, %eax
	movslq	%eax, %rdx
	movl	(%r12,%rdx,4), %r11d
	testl	%r11d, %r11d
	je	.L27
	addl	$1, %eax
	movslq	%eax, %rdx
	.p2align 4,,10
	.p2align 3
.L28:
	movl	%edx, %eax
	addq	$1, %rdx
	movl	-4(%r12,%rdx,4), %esi
	testl	%esi, %esi
	jne	.L28
	movslq	%eax, %rdx
.L27:
	addl	$1, %edi
	movl	%ecx, (%r12,%rdx,4)
	subl	$1, %r9d
	subq	$4, %r10
	cmpl	%r8d, %edi
	jne	.L29
	movl	$1, %ebx
	leaq	.LC2(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L30:
	movl	(%r12,%rbx,4), %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, -60(%rbp)
	jge	.L30
.L13:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L53
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	addl	$1, %edx
	cmpl	%edx, %r8d
	jl	.L17
	cmpl	4(%rsi), %ecx
	jge	.L54
.L21:
	cmpl	%edx, %r8d
	jg	.L22
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L34:
	xorl	%eax, %eax
	jmp	.L14
.L35:
	xorl	%eax, %eax
	jmp	.L15
.L11:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L13
.L52:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L53:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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>
#include <stdlib.h>

typedef unsigned char bool;
int main(){
  int n;
  scanf("%d",&n);
  int a[n+1],b[n+1],i;
  bool flag=1;
  for(i=1;i<=n;i++)
    {
      scanf("%d",&a[i]);
      if(a[i]>i)flag=0;
      b[i]=0;
    }
  if(flag==0)
    {
      printf("-1\n");
      return 0;
    }
  //  printf("1\n");
  int j,temp,count;
  for(i=n;i>0;i--)
    {
      count=0;
      for(j=i+1;j<=n;j++)
	{
	  if(a[i]>=a[j]) count++;
	}
      //      printf("%2d ",count);
      for(j=0;j<count;j++)
	{
	  if(b[a[i]+j]>a[i])
	    count++;
	  //	  printf("%d:%d:%d ",b[i+j],a[i],count);
	}
      j=a[i]+count;
      //      printf("%2d\n",j);
      while(b[j]!=0)j++;
      b[j]=a[i];
    }
  //  printf("\n",j);
  for(i=1;i<=n;i++)
    printf("%d\n",b[i]);
  return 0;
}

3
1 3 1
 9
1 1 1 1 2 1 2 3 2
 3
1 1 1
 2
1 1
 2
1 2
 9
1 1 1 2 1 1 2 3 2
 3
1 2 2
 9
1 1 1 1 2 1 4 3 2
 9
1 1 1 2 2 1 4 3 2
 9
1 1 1 2 2 1 4 1 2

-1
 1
2
2
3
1
2
1
1
1
 1
1
1
 1
1
 1
2
 1
2
2
3
1
1
2
1
1
 1
2
2
 1
2
1
3
2
4
1
1
1
 1
2
1
3
2
4
2
1
1
 1
2
1
1
2
4
2
1
1

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>
#include <stdlib.h>

typedef unsigned char bool;
int main(){
  int n;
  scanf("%d",&n);
  int a[n+1],b[n+1],i;
  bool flag=1;
  for(i=1;i<=n;i++)
    {
      scanf("%d",&a[i]);
      if(a[i]>i)flag=0;
      b[i]=0;
    }
  if(flag==0)
    {
      printf("-1\n");
      return 0;
    }
  //  printf("1\n");
  int j,temp,count;
  for(i=n;i>0;i--)
    {
      count=0;
      for(j=i+1;j<=n;j++)
	{
	  if(a[i]>=a[j]) count++;
	}
      //      printf("%2d ",count);
      for(j=0;j<count;j++)
	{
	  if(b[a[i]+j]>a[i])
	    count++;
	  //	  printf("%d:%d:%d ",b[i+j],a[i],count);
	}
      j=a[i]+count;
      //      printf("%2d\n",j);
      while(b[j]!=0)j++;
      b[j]=a[i];
    }
  //  printf("\n",j);
  for(i=1;i<=n;i++)
    printf("%d\n",b[i]);
  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"-1"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	subq	$104, %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	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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, -80(%rbp)
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%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, -64(%rbp)
	movb	$1, -105(%rbp)
	movl	$1, -100(%rbp)
	jmp	.L8
.L10:
	movl	-100(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, -100(%rbp)
	jge	.L9
	movb	$0, -105(%rbp)
.L9:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -100(%rbp)
.L8:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L10
	cmpb	$0, -105(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L11:
	movl	-104(%rbp), %eax
	movl	%eax, -100(%rbp)
	jmp	.L13
.L22:
	movl	$0, -92(%rbp)
	movl	-100(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -96(%rbp)
	jmp	.L14
.L16:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jl	.L15
	addl	$1, -92(%rbp)
.L15:
	addl	$1, -96(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jle	.L16
	movl	$0, -96(%rbp)
	jmp	.L17
.L19:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-96(%rbp), %eax
	addl	%eax, %edx
	movq	-64(%rbp), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jle	.L18
	addl	$1, -92(%rbp)
.L18:
	addl	$1, -96(%rbp)
.L17:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jl	.L19
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-92(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -96(%rbp)
	jmp	.L20
.L21:
	addl	$1, -96(%rbp)
.L20:
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	testl	%eax, %eax
	jne	.L21
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	subl	$1, -100(%rbp)
.L13:
	cmpl	$0, -100(%rbp)
	jg	.L22
	movl	$1, -100(%rbp)
	jmp	.L23
.L24:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -100(%rbp)
.L23:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L24
	movl	$0, %eax
.L12:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"-1"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	subq	$104, %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	-104(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -128(%rbp)
	movq	$0, -120(%rbp)
	movslq	%eax, %rdx
	movq	%rdx, -144(%rbp)
	movq	$0, -136(%rbp)
	cltq
	leaq	0(,%rax,4), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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, -80(%rbp)
	movl	-104(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rdx
	subq	$1, %rdx
	movq	%rdx, -72(%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, -64(%rbp)
	movb	$1, -105(%rbp)
	movl	$1, -100(%rbp)
	jmp	.L8
.L10:
	movl	-100(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-80(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, -100(%rbp)
	jge	.L9
	movb	$0, -105(%rbp)
.L9:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	$0, (%rax,%rdx,4)
	addl	$1, -100(%rbp)
.L8:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L10
	cmpb	$0, -105(%rbp)
	jne	.L11
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L12
.L11:
	movl	-104(%rbp), %eax
	movl	%eax, -100(%rbp)
	jmp	.L13
.L22:
	movl	$0, -92(%rbp)
	movl	-100(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -96(%rbp)
	jmp	.L14
.L16:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jl	.L15
	addl	$1, -92(%rbp)
.L15:
	addl	$1, -96(%rbp)
.L14:
	movl	-104(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jle	.L16
	movl	$0, -96(%rbp)
	jmp	.L17
.L19:
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-96(%rbp), %eax
	addl	%eax, %edx
	movq	-64(%rbp), %rax
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	cmpl	%eax, %ecx
	jle	.L18
	addl	$1, -92(%rbp)
.L18:
	addl	$1, -96(%rbp)
.L17:
	movl	-96(%rbp), %eax
	cmpl	-92(%rbp), %eax
	jl	.L19
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %edx
	movl	-92(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -96(%rbp)
	jmp	.L20
.L21:
	addl	$1, -96(%rbp)
.L20:
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	testl	%eax, %eax
	jne	.L21
	movq	-80(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %ecx
	movq	-64(%rbp), %rax
	movl	-96(%rbp), %edx
	movslq	%edx, %rdx
	movl	%ecx, (%rax,%rdx,4)
	subl	$1, -100(%rbp)
.L13:
	cmpl	$0, -100(%rbp)
	jg	.L22
	movl	$1, -100(%rbp)
	jmp	.L23
.L24:
	movq	-64(%rbp), %rax
	movl	-100(%rbp), %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -100(%rbp)
.L23:
	movl	-104(%rbp), %eax
	cmpl	%eax, -100(%rbp)
	jle	.L24
	movl	$0, %eax
.L12:
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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:
