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>
void swap (int *x, int *y) {
  int temp = *x;
  *x = *y;
  *y = temp;
}
int partition (int array[], int left, int right) {
  int i = left, j = right + 1, pivot = left;
  do {
    do { i++; } while (array[i] > array[pivot]);
    do { j--; } while (array[pivot] > array[j]);
    if (i < j) { swap(&array[i], &array[j]); }
  } while (i < j);
  swap(&array[pivot], &array[j]);
  return j;
}
void quick_sort (int array[], int left, int right) {
  int pivot;
  if (left < right) {
    pivot = partition(array, left, right);
    quick_sort(array, left, pivot-1);
    quick_sort(array, pivot+1, right);
  }
}
int main(){
  int n,k,ans = 0;
  scanf("%d %d",&n,&k);
  int a,cnt[200000];
  for(int i = 0;i < 200000;i++){
    cnt[i] = 0;
  }
  for(int i = 0;i < n;i++){
    scanf("%d",&a);
    cnt[a - 1]++;
  }
  quick_sort(cnt,0,199999);
  for(int i = k;i < 200000;i++){
    ans += cnt[i];
  }
  printf("%d\n",ans);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	swap
	.type	swap, @function
swap:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	swap, .-swap
	.globl	partition
	.type	partition, @function
partition:
.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	addl	$1, -12(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L3
.L4:
	subl	$1, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L4
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
.L5:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	partition, .-partition
	.globl	quick_sort
	.type	quick_sort, @function
quick_sort:
.LFB2:
	.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jge	.L9
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	partition
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	quick_sort, .-quick_sort
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800032(%rbp)
	leaq	-800040(%rbp), %rdx
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800028(%rbp)
	jmp	.L11
.L12:
	movl	-800028(%rbp), %eax
	cltq
	movl	$0, -800016(%rbp,%rax,4)
	addl	$1, -800028(%rbp)
.L11:
	cmpl	$199999, -800028(%rbp)
	jle	.L12
	movl	$0, -800024(%rbp)
	jmp	.L13
.L14:
	leaq	-800036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rdx
	movl	-800016(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -800016(%rbp,%rax,4)
	addl	$1, -800024(%rbp)
.L13:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L14
	leaq	-800016(%rbp), %rax
	movl	$199999, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-800040(%rbp), %eax
	movl	%eax, -800020(%rbp)
	jmp	.L15
.L16:
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	addl	%eax, -800032(%rbp)
	addl	$1, -800020(%rbp)
.L15:
	cmpl	$199999, -800020(%rbp)
	jle	.L16
	movl	-800032(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	swap
	.type	swap, @function
swap:
.LFB23:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	movl	(%rsi), %edx
	movl	%edx, (%rdi)
	movl	%eax, (%rsi)
	ret
	.cfi_endproc
.LFE23:
	.size	swap, .-swap
	.p2align 4
	.globl	partition
	.type	partition, @function
partition:
.LFB24:
	.cfi_startproc
	endbr64
	movslq	%esi, %rax
	addl	$1, %esi
	leal	1(%rdx), %r8d
	movq	%rdi, %r10
	leaq	(%rdi,%rax,4), %r11
	movslq	%esi, %rdi
	movl	(%r11), %ecx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	(%r10,%rdi,4), %r9d
	cmpl	%ecx, %r9d
	jg	.L5
	movslq	%r8d, %rax
	leaq	-4(%r10,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rax, %rsi
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r8d
	cmpl	%edx, %ecx
	jg	.L6
	cmpl	%edi, %r8d
	jg	.L9
	movl	%edx, (%r11)
	movl	%r8d, %eax
	movl	%ecx, (%rsi)
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, (%r10,%rdi,4)
	movl	%r9d, (%rsi)
	movl	(%r11), %ecx
.L5:
	addq	$1, %rdi
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	partition, .-partition
	.p2align 4
	.globl	quick_sort
	.type	quick_sort, @function
quick_sort:
.LFB25:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edx
	jle	.L20
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	%esi, %r10d
	movq	%rdi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leal	1(%rdx), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	%edx, %ebx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
.L16:
	movslq	%r10d, %rax
	leal	1(%r10), %r8d
	movl	%ebp, %edx
	leaq	0(%r13,%rax,4), %r11
	movslq	%r8d, %r8
	movl	(%r11), %esi
	.p2align 4,,10
	.p2align 3
.L12:
	movl	0(%r13,%r8,4), %r9d
	cmpl	%esi, %r9d
	jg	.L13
	movslq	%edx, %rax
	leaq	-4(%r13,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rax, %rdi
	movl	(%rax), %ecx
	movl	%edx, %r12d
	subq	$4, %rax
	subl	$1, %edx
	cmpl	%ecx, %esi
	jg	.L14
	cmpl	%r8d, %edx
	jg	.L23
	movl	%ecx, (%r11)
	leal	-2(%r12), %edx
	movl	%esi, (%rdi)
	movl	%r10d, %esi
	movq	%r13, %rdi
	call	quick_sort
	cmpl	%r12d, %ebx
	jle	.L24
	movl	%r12d, %r10d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%ecx, 0(%r13,%r8,4)
	movl	%r9d, (%rdi)
	movl	(%r11), %esi
.L13:
	addq	$1, %r8
	jmp	.L12
.L24:
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	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
.L20:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE25:
	.size	quick_sort, .-quick_sort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB26:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	$800000, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L26
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	subl	$1, %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebx, 4(%rsp)
	jg	.L27
.L26:
	movl	$199999, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	quick_sort
	movl	8(%rsp), %ecx
	cmpl	$199999, %ecx
	jg	.L33
	movl	$199999, %eax
	movl	$200000, %edi
	subl	%ecx, %eax
	subl	%ecx, %edi
	cmpl	$2, %eax
	jbe	.L34
	movslq	%ecx, %rax
	pxor	%xmm0, %xmm0
	leaq	(%r12,%rax,4), %rdx
	movl	%edi, %eax
	shrl	$2, %eax
	leal	-1(%rax), %esi
	leaq	16(%rdx), %rax
	salq	$4, %rsi
	addq	%rax, %rsi
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L45:
	addq	$16, %rax
.L30:
	movdqu	(%rdx), %xmm1
	movq	%rax, %rdx
	paddd	%xmm1, %xmm0
	cmpq	%rsi, %rax
	jne	.L45
	movdqa	%xmm0, %xmm1
	movl	%edi, %eax
	psrldq	$8, %xmm1
	andl	$-4, %eax
	paddd	%xmm1, %xmm0
	addl	%eax, %ecx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%eax, %edi
	je	.L28
.L29:
	movslq	%ecx, %rax
	addl	16(%rsp,%rax,4), %edx
	leal	1(%rcx), %eax
	cmpl	$199999, %ecx
	je	.L28
	cltq
	addl	16(%rsp,%rax,4), %edx
	leal	2(%rcx), %eax
	cmpl	$199998, %ecx
	je	.L28
	cltq
	addl	16(%rsp,%rax,4), %edx
.L28:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L46
	addq	$800040, %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
.L33:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L28
.L34:
	xorl	%edx, %edx
	jmp	.L29
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE26:
	.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
	.p2align 4
	.globl	swap
	.type	swap, @function
swap:
.LFB23:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	movl	(%rsi), %edx
	movl	%edx, (%rdi)
	movl	%eax, (%rsi)
	ret
	.cfi_endproc
.LFE23:
	.size	swap, .-swap
	.p2align 4
	.globl	partition
	.type	partition, @function
partition:
.LFB24:
	.cfi_startproc
	endbr64
	movslq	%esi, %rax
	addl	$1, %esi
	leal	1(%rdx), %r8d
	movq	%rdi, %r10
	leaq	(%rdi,%rax,4), %r11
	movslq	%esi, %rdi
	movl	(%r11), %ecx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	(%r10,%rdi,4), %r9d
	cmpl	%ecx, %r9d
	jg	.L5
	movslq	%r8d, %rax
	leaq	-4(%r10,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rax, %rsi
	movl	(%rax), %edx
	subq	$4, %rax
	subl	$1, %r8d
	cmpl	%edx, %ecx
	jg	.L6
	cmpl	%edi, %r8d
	jg	.L9
	movl	%edx, (%r11)
	movl	%r8d, %eax
	movl	%ecx, (%rsi)
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%edx, (%r10,%rdi,4)
	movl	%r9d, (%rsi)
	movl	(%r11), %ecx
.L5:
	addq	$1, %rdi
	jmp	.L4
	.cfi_endproc
.LFE24:
	.size	partition, .-partition
	.p2align 4
	.globl	quick_sort
	.type	quick_sort, @function
quick_sort:
.LFB25:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edx
	jle	.L20
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	%esi, %r10d
	movq	%rdi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leal	1(%rdx), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	%edx, %ebx
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
.L16:
	movslq	%r10d, %rax
	leal	1(%r10), %r8d
	movl	%ebp, %edx
	leaq	0(%r13,%rax,4), %r11
	movslq	%r8d, %r8
	movl	(%r11), %esi
	.p2align 4,,10
	.p2align 3
.L12:
	movl	0(%r13,%r8,4), %r9d
	cmpl	%esi, %r9d
	jg	.L13
	movslq	%edx, %rax
	leaq	-4(%r13,%rax,4), %rax
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rax, %rdi
	movl	(%rax), %ecx
	movl	%edx, %r12d
	subq	$4, %rax
	subl	$1, %edx
	cmpl	%ecx, %esi
	jg	.L14
	cmpl	%r8d, %edx
	jg	.L23
	movl	%ecx, (%r11)
	leal	-2(%r12), %edx
	movl	%esi, (%rdi)
	movl	%r10d, %esi
	movq	%r13, %rdi
	call	quick_sort
	cmpl	%r12d, %ebx
	jle	.L24
	movl	%r12d, %r10d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	%ecx, 0(%r13,%r8,4)
	movl	%r9d, (%rdi)
	movl	(%r11), %esi
.L13:
	addq	$1, %r8
	jmp	.L12
.L24:
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	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
.L20:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE25:
	.size	quick_sort, .-quick_sort
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB26:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798760
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1320, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	$800000, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L26
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L27:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	subl	$1, %eax
	cltq
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%ebx, 4(%rsp)
	jg	.L27
.L26:
	movl	$199999, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	quick_sort
	movl	8(%rsp), %ecx
	cmpl	$199999, %ecx
	jg	.L33
	movl	$199999, %eax
	movl	$200000, %edi
	subl	%ecx, %eax
	subl	%ecx, %edi
	cmpl	$2, %eax
	jbe	.L34
	movslq	%ecx, %rax
	pxor	%xmm0, %xmm0
	leaq	(%r12,%rax,4), %rdx
	movl	%edi, %eax
	shrl	$2, %eax
	leal	-1(%rax), %esi
	leaq	16(%rdx), %rax
	salq	$4, %rsi
	addq	%rax, %rsi
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L45:
	addq	$16, %rax
.L30:
	movdqu	(%rdx), %xmm1
	movq	%rax, %rdx
	paddd	%xmm1, %xmm0
	cmpq	%rsi, %rax
	jne	.L45
	movdqa	%xmm0, %xmm1
	movl	%edi, %eax
	psrldq	$8, %xmm1
	andl	$-4, %eax
	paddd	%xmm1, %xmm0
	addl	%eax, %ecx
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%eax, %edi
	je	.L28
.L29:
	movslq	%ecx, %rax
	addl	16(%rsp,%rax,4), %edx
	leal	1(%rcx), %eax
	cmpl	$199999, %ecx
	je	.L28
	cltq
	addl	16(%rsp,%rax,4), %edx
	leal	2(%rcx), %eax
	cmpl	$199998, %ecx
	je	.L28
	cltq
	addl	16(%rsp,%rax,4), %edx
.L28:
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L46
	addq	$800040, %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
.L33:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L28
.L34:
	xorl	%edx, %edx
	jmp	.L29
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE26:
	.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>
void swap (int *x, int *y) {
  int temp = *x;
  *x = *y;
  *y = temp;
}
int partition (int array[], int left, int right) {
  int i = left, j = right + 1, pivot = left;
  do {
    do { i++; } while (array[i] > array[pivot]);
    do { j--; } while (array[pivot] > array[j]);
    if (i < j) { swap(&array[i], &array[j]); }
  } while (i < j);
  swap(&array[pivot], &array[j]);
  return j;
}
void quick_sort (int array[], int left, int right) {
  int pivot;
  if (left < right) {
    pivot = partition(array, left, right);
    quick_sort(array, left, pivot-1);
    quick_sort(array, pivot+1, right);
  }
}
int main(){
  int n,k,ans = 0;
  scanf("%d %d",&n,&k);
  int a,cnt[200000];
  for(int i = 0;i < 200000;i++){
    cnt[i] = 0;
  }
  for(int i = 0;i < n;i++){
    scanf("%d",&a);
    cnt[a - 1]++;
  }
  quick_sort(cnt,0,199999);
  for(int i = k;i < 200000;i++){
    ans += cnt[i];
  }
  printf("%d\n",ans);
  return 0;
}
5 2
1 1 2 2 5

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>
void swap (int *x, int *y) {
  int temp = *x;
  *x = *y;
  *y = temp;
}
int partition (int array[], int left, int right) {
  int i = left, j = right + 1, pivot = left;
  do {
    do { i++; } while (array[i] > array[pivot]);
    do { j--; } while (array[pivot] > array[j]);
    if (i < j) { swap(&array[i], &array[j]); }
  } while (i < j);
  swap(&array[pivot], &array[j]);
  return j;
}
void quick_sort (int array[], int left, int right) {
  int pivot;
  if (left < right) {
    pivot = partition(array, left, right);
    quick_sort(array, left, pivot-1);
    quick_sort(array, pivot+1, right);
  }
}
int main(){
  int n,k,ans = 0;
  scanf("%d %d",&n,&k);
  int a,cnt[200000];
  for(int i = 0;i < 200000;i++){
    cnt[i] = 0;
  }
  for(int i = 0;i < n;i++){
    scanf("%d",&a);
    cnt[a - 1]++;
  }
  quick_sort(cnt,0,199999);
  for(int i = k;i < 200000;i++){
    ans += cnt[i];
  }
  printf("%d\n",ans);
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	swap
	.type	swap, @function
swap:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	swap, .-swap
	.globl	partition
	.type	partition, @function
partition:
.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	addl	$1, -12(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L3
.L4:
	subl	$1, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L4
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
.L5:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	partition, .-partition
	.globl	quick_sort
	.type	quick_sort, @function
quick_sort:
.LFB2:
	.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jge	.L9
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	partition
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	quick_sort, .-quick_sort
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800032(%rbp)
	leaq	-800040(%rbp), %rdx
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800028(%rbp)
	jmp	.L11
.L12:
	movl	-800028(%rbp), %eax
	cltq
	movl	$0, -800016(%rbp,%rax,4)
	addl	$1, -800028(%rbp)
.L11:
	cmpl	$199999, -800028(%rbp)
	jle	.L12
	movl	$0, -800024(%rbp)
	jmp	.L13
.L14:
	leaq	-800036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rdx
	movl	-800016(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -800016(%rbp,%rax,4)
	addl	$1, -800024(%rbp)
.L13:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L14
	leaq	-800016(%rbp), %rax
	movl	$199999, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-800040(%rbp), %eax
	movl	%eax, -800020(%rbp)
	jmp	.L15
.L16:
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	addl	%eax, -800032(%rbp)
	addl	$1, -800020(%rbp)
.L15:
	cmpl	$199999, -800020(%rbp)
	jle	.L16
	movl	-800032(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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
	.globl	swap
	.type	swap, @function
swap:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movq	-32(%rbp), %rax
	movl	(%rax), %edx
	movq	-24(%rbp), %rax
	movl	%edx, (%rax)
	movq	-32(%rbp), %rax
	movl	-4(%rbp), %edx
	movl	%edx, (%rax)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	swap, .-swap
	.globl	partition
	.type	partition, @function
partition:
.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -12(%rbp)
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -8(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, -4(%rbp)
.L3:
	addl	$1, -12(%rbp)
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L3
.L4:
	subl	$1, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %edx
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	.L4
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jge	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-12(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
.L5:
	movl	-12(%rbp), %eax
	cmpl	-8(%rbp), %eax
	jl	.L3
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	movq	-24(%rbp), %rax
	addq	%rcx, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	swap
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	partition, .-partition
	.globl	quick_sort
	.type	quick_sort, @function
quick_sort:
.LFB2:
	.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	%rdi, -24(%rbp)
	movl	%esi, -28(%rbp)
	movl	%edx, -32(%rbp)
	movl	-28(%rbp), %eax
	cmpl	-32(%rbp), %eax
	jge	.L9
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	partition
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-4(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-32(%rbp), %edx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	quick_sort
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	quick_sort, .-quick_sort
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1328, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800032(%rbp)
	leaq	-800040(%rbp), %rdx
	leaq	-800044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800028(%rbp)
	jmp	.L11
.L12:
	movl	-800028(%rbp), %eax
	cltq
	movl	$0, -800016(%rbp,%rax,4)
	addl	$1, -800028(%rbp)
.L11:
	cmpl	$199999, -800028(%rbp)
	jle	.L12
	movl	$0, -800024(%rbp)
	jmp	.L13
.L14:
	leaq	-800036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800036(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rdx
	movl	-800016(%rbp,%rdx,4), %edx
	addl	$1, %edx
	cltq
	movl	%edx, -800016(%rbp,%rax,4)
	addl	$1, -800024(%rbp)
.L13:
	movl	-800044(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L14
	leaq	-800016(%rbp), %rax
	movl	$199999, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	quick_sort
	movl	-800040(%rbp), %eax
	movl	%eax, -800020(%rbp)
	jmp	.L15
.L16:
	movl	-800020(%rbp), %eax
	cltq
	movl	-800016(%rbp,%rax,4), %eax
	addl	%eax, -800032(%rbp)
	addl	$1, -800020(%rbp)
.L15:
	cmpl	$199999, -800020(%rbp)
	jle	.L16
	movl	-800032(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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:
