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 a[100001],x[100001],y[100001],t[100001]={};
void quicksort(int s,int t){
  if(s<t){
    int i=s,j=t,p=y[a[(s+t)/2]];
    while(1){
      while(y[a[i]]<p)i++;
      while(p<y[a[j]])j--;
      if(i>=j)break;
      a[i]^=a[j]^=a[i]^=a[j];
      i++;j--;
    }
    quicksort(s,i-1);quicksort(j+1,t);
  }
}
int main(){
  int i,j,n,m;
  scanf("%d%d",&n,&m);
  for(i=0;i<m;i++)a[i]=i;
  for(i=0;i<m;i++)scanf("%d%d",&x[i],&y[i]);
  quicksort(0,m-1);
  for(i=0;i<m;i++){if(t[x[a[i]]-1]==t[y[a[i]]-1])for(j=y[a[i]]-1;j<=n;j++)t[j]++;}
  printf("%d",t[n]);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 400004
a:
	.zero	400004
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400004
x:
	.zero	400004
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400004
y:
	.zero	400004
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 400004
t:
	.zero	400004
	.text
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	jmp	.L3
.L4:
	addl	$1, -12(%rbp)
.L3:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jg	.L4
	jmp	.L5
.L6:
	subl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L6
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L12
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
	subl	$1, -8(%rbp)
	jmp	.L3
.L12:
	nop
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	quicksort
	movl	-8(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	quicksort
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quicksort, .-quicksort
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L14
.L15:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -16(%rbp)
.L14:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L16:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	quicksort
	movl	$0, -16(%rbp)
	jmp	.L18
.L22:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	y(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	t(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L19
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	.L20
.L21:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L21
.L19:
	addl	$1, -16(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.p2align 4
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movslq	%esi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmpl	%edi, %ebp
	jle	.L1
	movl	%edi, %r9d
	movq	%rbp, %r14
	leaq	y(%rip), %r12
	leaq	a(%rip), %r13
.L2:
	leal	(%r14,%r9), %edx
	movl	%r9d, %r10d
	movl	%r14d, %ebx
	movq	%rbp, %r11
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movslq	0(%r13,%rax,4), %rax
	movl	(%r12,%rax,4), %esi
	movslq	%r9d, %rax
	leaq	0(%r13,%rax,4), %r8
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	0(%r13,%r11,4), %rax
	movl	(%r8), %edi
	movl	(%r12,%rax,4), %ecx
	movq	%rax, %rdx
	movslq	%edi, %rax
	cmpl	%esi, (%r12,%rax,4)
	jl	.L4
	cmpl	%ecx, %esi
	jge	.L5
	leal	-1(%rbx), %eax
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	0(%r13,%rax,4), %rcx
	movl	%eax, %ebx
	subq	$1, %rax
	movq	%rcx, %rdx
	cmpl	%esi, (%r12,%rcx,4)
	jg	.L6
.L5:
	cmpl	%ebx, %r10d
	jge	.L7
	movslq	%ebx, %rax
	xorl	%edx, %edi
	subl	$1, %ebx
	movl	%edi, (%r8)
	xorl	0(%r13,%rax,4), %edi
	movslq	%ebx, %r11
	movl	%edi, 0(%r13,%rax,4)
	xorl	%edi, (%r8)
.L4:
	addq	$4, %r8
	addl	$1, %r10d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%r9d, %edi
	leal	-1(%r10), %esi
	call	quicksort
	leal	1(%rbx), %r9d
	cmpl	%r14d, %r9d
	jl	.L2
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE23:
	.size	quicksort, .-quicksort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	leaq	4(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jle	.L16
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L31
	movl	%esi, %edx
	leaq	a(%rip), %rcx
	movdqa	.LC0(%rip), %xmm0
	movdqa	.LC2(%rip), %xmm2
	shrl	$2, %edx
	leaq	16(%rcx), %rdi
	movq	%rcx, %rax
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L18:
	movdqa	%xmm0, %xmm1
	addq	$16, %rax
	paddd	%xmm2, %xmm0
	movaps	%xmm1, -16(%rax)
	cmpq	%rdx, %rax
	jne	.L18
	movl	%esi, %eax
	andl	$-4, %eax
	testb	$3, %sil
	je	.L19
.L17:
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
	leal	1(%rax), %edx
	cmpl	%edx, %esi
	jle	.L19
	movslq	%edx, %rdi
	addl	$2, %eax
	movl	%edx, (%rcx,%rdi,4)
	cmpl	%eax, %esi
	jle	.L19
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
.L19:
	leaq	x(%rip), %rbp
	xorl	%ebx, %ebx
	leaq	y(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%rbp, %rsi
	leaq	(%r12,%rbx,4), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %esi
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %esi
	jg	.L20
.L16:
	subl	$1, %esi
	xorl	%edi, %edi
	call	quicksort
	movl	4(%rsp), %eax
	movslq	(%rsp), %r10
	leaq	t(%rip), %rsi
	testl	%eax, %eax
	jle	.L24
	leaq	a(%rip), %rdx
	leal	-1(%rax), %ecx
	movdqa	.LC3(%rip), %xmm1
	leaq	4(%rdx), %rax
	leaq	x(%rip), %r8
	leaq	(%rax,%rcx,4), %r9
	leaq	y(%rip), %r12
	leaq	t(%rip), %rsi
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$4, %rdx
	cmpq	%r9, %rdx
	je	.L24
.L23:
	movslq	(%rdx), %rax
	movslq	(%r12,%rax,4), %rdi
	movl	(%r8,%rax,4), %eax
	leal	-1(%rdi), %ecx
	subl	$1, %eax
	movslq	%ecx, %r11
	cltq
	movl	(%rsi,%r11,4), %ebx
	cmpl	%ebx, (%rsi,%rax,4)
	jne	.L25
	cmpl	%r10d, %ecx
	jg	.L25
	movl	%r10d, %eax
	subl	%edi, %eax
	leal	2(%rax), %ebx
	addl	$1, %eax
	cmpl	$2, %eax
	jbe	.L26
	movl	%ebx, %eax
	leaq	-4(%rsi,%rdi,4), %rdi
	shrl	$2, %eax
	leal	-1(%rax), %r11d
	leaq	16(%rdi), %rax
	salq	$4, %r11
	addq	%rax, %r11
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L38:
	addq	$16, %rax
.L27:
	movdqu	(%rdi), %xmm0
	paddd	%xmm1, %xmm0
	movups	%xmm0, (%rdi)
	movq	%rax, %rdi
	cmpq	%rax, %r11
	jne	.L38
	movl	%ebx, %eax
	andl	$-4, %eax
	addl	%eax, %ecx
	cmpl	%ebx, %eax
	je	.L25
	movslq	%ecx, %r11
.L26:
	leal	1(%rcx), %eax
	addl	$1, (%rsi,%r11,4)
	cmpl	%r10d, %eax
	jg	.L25
	cltq
	addl	$2, %ecx
	addl	$1, (%rsi,%rax,4)
	cmpl	%r10d, %ecx
	jg	.L25
	movslq	%ecx, %rcx
	addq	$4, %rdx
	addl	$1, (%rsi,%rcx,4)
	cmpq	%r9, %rdx
	jne	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	movl	(%rsi,%r10,4), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L31:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	a(%rip), %rcx
	jmp	.L17
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 400004
t:
	.zero	400004
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400004
y:
	.zero	400004
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400004
x:
	.zero	400004
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 400004
a:
	.zero	400004
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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
	.p2align 4
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movslq	%esi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	cmpl	%edi, %ebp
	jle	.L1
	movl	%edi, %r9d
	movq	%rbp, %r14
	leaq	y(%rip), %r12
	leaq	a(%rip), %r13
.L2:
	leal	(%r14,%r9), %edx
	movl	%r9d, %r10d
	movl	%r14d, %ebx
	movq	%rbp, %r11
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movslq	0(%r13,%rax,4), %rax
	movl	(%r12,%rax,4), %esi
	movslq	%r9d, %rax
	leaq	0(%r13,%rax,4), %r8
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	0(%r13,%r11,4), %rax
	movl	(%r8), %edi
	movl	(%r12,%rax,4), %ecx
	movq	%rax, %rdx
	movslq	%edi, %rax
	cmpl	%esi, (%r12,%rax,4)
	jl	.L4
	cmpl	%ecx, %esi
	jge	.L5
	leal	-1(%rbx), %eax
	cltq
	.p2align 4,,10
	.p2align 3
.L6:
	movslq	0(%r13,%rax,4), %rcx
	movl	%eax, %ebx
	subq	$1, %rax
	movq	%rcx, %rdx
	cmpl	%esi, (%r12,%rcx,4)
	jg	.L6
.L5:
	cmpl	%ebx, %r10d
	jge	.L7
	movslq	%ebx, %rax
	xorl	%edx, %edi
	subl	$1, %ebx
	movl	%edi, (%r8)
	xorl	0(%r13,%rax,4), %edi
	movslq	%ebx, %r11
	movl	%edi, 0(%r13,%rax,4)
	xorl	%edi, (%r8)
.L4:
	addq	$4, %r8
	addl	$1, %r10d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	movl	%r9d, %edi
	leal	-1(%r10), %esi
	call	quicksort
	leal	1(%rbx), %r9d
	cmpl	%r14d, %r9d
	jl	.L2
.L1:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE23:
	.size	quicksort, .-quicksort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d%d"
.LC4:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	leaq	4(%rsp), %rdx
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %esi
	testl	%esi, %esi
	jle	.L16
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L31
	movl	%esi, %edx
	leaq	a(%rip), %rcx
	movdqa	.LC0(%rip), %xmm0
	movdqa	.LC2(%rip), %xmm2
	shrl	$2, %edx
	leaq	16(%rcx), %rdi
	movq	%rcx, %rax
	subl	$1, %edx
	salq	$4, %rdx
	addq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L18:
	movdqa	%xmm0, %xmm1
	addq	$16, %rax
	paddd	%xmm2, %xmm0
	movaps	%xmm1, -16(%rax)
	cmpq	%rdx, %rax
	jne	.L18
	movl	%esi, %eax
	andl	$-4, %eax
	testb	$3, %sil
	je	.L19
.L17:
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
	leal	1(%rax), %edx
	cmpl	%edx, %esi
	jle	.L19
	movslq	%edx, %rdi
	addl	$2, %eax
	movl	%edx, (%rcx,%rdi,4)
	cmpl	%eax, %esi
	jle	.L19
	movslq	%eax, %rdx
	movl	%eax, (%rcx,%rdx,4)
.L19:
	leaq	x(%rip), %rbp
	xorl	%ebx, %ebx
	leaq	y(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%rbp, %rsi
	leaq	(%r12,%rbx,4), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %esi
	addq	$1, %rbx
	addq	$4, %rbp
	cmpl	%ebx, %esi
	jg	.L20
.L16:
	subl	$1, %esi
	xorl	%edi, %edi
	call	quicksort
	movl	4(%rsp), %eax
	movslq	(%rsp), %r10
	leaq	t(%rip), %rsi
	testl	%eax, %eax
	jle	.L24
	leaq	a(%rip), %rdx
	leal	-1(%rax), %ecx
	movdqa	.LC3(%rip), %xmm1
	leaq	4(%rdx), %rax
	leaq	x(%rip), %r8
	leaq	(%rax,%rcx,4), %r9
	leaq	y(%rip), %r12
	leaq	t(%rip), %rsi
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L25:
	addq	$4, %rdx
	cmpq	%r9, %rdx
	je	.L24
.L23:
	movslq	(%rdx), %rax
	movslq	(%r12,%rax,4), %rdi
	movl	(%r8,%rax,4), %eax
	leal	-1(%rdi), %ecx
	subl	$1, %eax
	movslq	%ecx, %r11
	cltq
	movl	(%rsi,%r11,4), %ebx
	cmpl	%ebx, (%rsi,%rax,4)
	jne	.L25
	cmpl	%r10d, %ecx
	jg	.L25
	movl	%r10d, %eax
	subl	%edi, %eax
	leal	2(%rax), %ebx
	addl	$1, %eax
	cmpl	$2, %eax
	jbe	.L26
	movl	%ebx, %eax
	leaq	-4(%rsi,%rdi,4), %rdi
	shrl	$2, %eax
	leal	-1(%rax), %r11d
	leaq	16(%rdi), %rax
	salq	$4, %r11
	addq	%rax, %r11
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L38:
	addq	$16, %rax
.L27:
	movdqu	(%rdi), %xmm0
	paddd	%xmm1, %xmm0
	movups	%xmm0, (%rdi)
	movq	%rax, %rdi
	cmpq	%rax, %r11
	jne	.L38
	movl	%ebx, %eax
	andl	$-4, %eax
	addl	%eax, %ecx
	cmpl	%ebx, %eax
	je	.L25
	movslq	%ecx, %r11
.L26:
	leal	1(%rcx), %eax
	addl	$1, (%rsi,%r11,4)
	cmpl	%r10d, %eax
	jg	.L25
	cltq
	addl	$2, %ecx
	addl	$1, (%rsi,%rax,4)
	cmpl	%r10d, %ecx
	jg	.L25
	movslq	%ecx, %rcx
	addq	$4, %rdx
	addl	$1, (%rsi,%rcx,4)
	cmpq	%r9, %rdx
	jne	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	movl	(%rsi,%r10,4), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L31:
	.cfi_restore_state
	xorl	%eax, %eax
	leaq	a(%rip), %rcx
	jmp	.L17
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	t
	.bss
	.align 32
	.type	t, @object
	.size	t, 400004
t:
	.zero	400004
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400004
y:
	.zero	400004
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400004
x:
	.zero	400004
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 400004
a:
	.zero	400004
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	0
	.long	1
	.long	2
	.long	3
	.align 16
.LC2:
	.long	4
	.long	4
	.long	4
	.long	4
	.align 16
.LC3:
	.long	1
	.long	1
	.long	1
	.long	1
	.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 a[100001],x[100001],y[100001],t[100001]={};
void quicksort(int s,int t){
  if(s<t){
    int i=s,j=t,p=y[a[(s+t)/2]];
    while(1){
      while(y[a[i]]<p)i++;
      while(p<y[a[j]])j--;
      if(i>=j)break;
      a[i]^=a[j]^=a[i]^=a[j];
      i++;j--;
    }
    quicksort(s,i-1);quicksort(j+1,t);
  }
}
int main(){
  int i,j,n,m;
  scanf("%d%d",&n,&m);
  for(i=0;i<m;i++)a[i]=i;
  for(i=0;i<m;i++)scanf("%d%d",&x[i],&y[i]);
  quicksort(0,m-1);
  for(i=0;i<m;i++){if(t[x[a[i]]-1]==t[y[a[i]]-1])for(j=y[a[i]]-1;j<=n;j++)t[j]++;}
  printf("%d",t[n]);
}

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

1 2 4 3 1 1 1 1 2 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>
int a[100001],x[100001],y[100001],t[100001]={};
void quicksort(int s,int t){
  if(s<t){
    int i=s,j=t,p=y[a[(s+t)/2]];
    while(1){
      while(y[a[i]]<p)i++;
      while(p<y[a[j]])j--;
      if(i>=j)break;
      a[i]^=a[j]^=a[i]^=a[j];
      i++;j--;
    }
    quicksort(s,i-1);quicksort(j+1,t);
  }
}
int main(){
  int i,j,n,m;
  scanf("%d%d",&n,&m);
  for(i=0;i<m;i++)a[i]=i;
  for(i=0;i<m;i++)scanf("%d%d",&x[i],&y[i]);
  quicksort(0,m-1);
  for(i=0;i<m;i++){if(t[x[a[i]]-1]==t[y[a[i]]-1])for(j=y[a[i]]-1;j<=n;j++)t[j]++;}
  printf("%d",t[n]);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 400004
a:
	.zero	400004
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400004
x:
	.zero	400004
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400004
y:
	.zero	400004
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 400004
t:
	.zero	400004
	.text
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	jmp	.L3
.L4:
	addl	$1, -12(%rbp)
.L3:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jg	.L4
	jmp	.L5
.L6:
	subl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L6
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L12
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
	subl	$1, -8(%rbp)
	jmp	.L3
.L12:
	nop
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	quicksort
	movl	-8(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	quicksort
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quicksort, .-quicksort
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L14
.L15:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -16(%rbp)
.L14:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L16:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	quicksort
	movl	$0, -16(%rbp)
	jmp	.L18
.L22:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	y(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	t(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L19
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	.L20
.L21:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L21
.L19:
	addl	$1, -16(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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.
val
	.file	"temp.c"
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 400004
a:
	.zero	400004
	.globl	x
	.align 32
	.type	x, @object
	.size	x, 400004
x:
	.zero	400004
	.globl	y
	.align 32
	.type	y, @object
	.size	y, 400004
y:
	.zero	400004
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 400004
t:
	.zero	400004
	.text
	.globl	quicksort
	.type	quicksort, @function
quicksort:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L11
	movl	-20(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, -8(%rbp)
	movl	-20(%rbp), %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, -4(%rbp)
	jmp	.L3
.L4:
	addl	$1, -12(%rbp)
.L3:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jg	.L4
	jmp	.L5
.L6:
	subl	$1, -8(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L6
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L12
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	xorl	%eax, %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
	subl	$1, -8(%rbp)
	jmp	.L3
.L12:
	nop
	movl	-12(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	quicksort
	movl	-8(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	quicksort
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quicksort, .-quicksort
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L14
.L15:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	addl	$1, -16(%rbp)
.L14:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	addq	%rax, %rdx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	x(%rip), %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -16(%rbp)
.L16:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	-20(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	quicksort
	movl	$0, -16(%rbp)
	jmp	.L18
.L22:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	x(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	a(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	y(%rip), %rax
	movl	(%rcx,%rax), %eax
	subl	$1, %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	t(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jne	.L19
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	a(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	y(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, -12(%rbp)
	jmp	.L20
.L21:
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L20:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L21
.L19:
	addl	$1, -16(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	t(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
