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>

#define N 100000
#define Gard 10000001

typedef struct{
  int Num;
  char Spel;
}Tarot;

Tarot Qui[N];
Tarot Mer[N];

void QuickS(int ,int );
int Par(int ,int );
void Merge(Tarot *,int ,int ,int );
void MergeS(Tarot *,int ,int );

int main(){
  Tarot Mer[N];
  int i;
  int flag=0;
  int loop;
    
  scanf("%d ",&loop);
  for(i=0;i<loop;i++){
    scanf("%s %d",&Qui[i].Spel,&Qui[i].Num);
    Mer[i].Spel=Qui[i].Spel;
    Mer[i].Num=Qui[i].Num;
  }

  QuickS(0,loop-1);
  MergeS(Mer,0,loop);
  
  
  for(i=0;i<loop;i++){
    if(Qui[i].Spel!=Mer[i].Spel){
      flag=1;
      break;
    }
  }

  if(flag==0){
    printf("Stable\n");
  }

  else if(flag==1){
    printf("Not stable\n");
  }
  
  for(i=0;i<loop;i++){
    printf("%c ",Qui[i].Spel);
    printf("%d\n",Qui[i].Num);
  }

  return 0;
}

void QuickS(int zero,int set){
  int point;

  if(zero<set){
    point=Par(zero,set);
    
    QuickS(zero,point-1);
    
    QuickS(point+1,set);
    }
}

int Par(int zero,int set){
  int init;
  int j;
  Tarot last,temp;
  
  last=Qui[set];
  init=zero-1;
  
  for(j=zero;j<set;j++){
    
    if(last.Num>=Qui[j].Num){
      init+=1;
      temp=Qui[init];
      Qui[init]=Qui[j];
      Qui[j]=temp;
    }
  }
  
  temp=Qui[init+1];
  Qui[init+1]=Qui[set];
  Qui[set]=temp;
  
  return init+1;
}

void  Merge(Tarot *Mer,int lside,int center,int rside){
  int i;
  int Lrenge,Rrenge;
  Tarot Left[N/2+6],Right[N/2+6];
  int jud1,jud2;

  Lrenge=center-lside;
  Rrenge=rside-center;

  for(i=0;i<Lrenge;i++){
    Left[i]=Mer[lside+i];
  }

  for(i=0;i<Rrenge;i++){
    Right[i]=Mer[center+i];
  }

  Left[Lrenge].Num=Gard;
  Right[Rrenge].Num=Gard;
  
  jud1=0;
  jud2=0;

  for(i=lside;i<rside;i++){

    if(Left[jud1].Num<=Right[jud2].Num){
      Mer[i]=Left[jud1];
      jud1++;
    }

    else{
      Mer[i]=Right[jud2];
      jud2++;
    }
  }
}

void MergeS(Tarot *Mer,int lside,int rside){
  int center;

  if(rside>lside+1){

    center=(lside+rside)/2;

    MergeS(Mer,lside,center);

    MergeS(Mer,center,rside);

    Merge(Mer,lside,center,rside);
  }
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	Qui
	.bss
	.align 32
	.type	Qui, @object
	.size	Qui, 800000
Qui:
	.zero	800000
	.globl	Mer
	.align 32
	.type	Mer, @object
	.size	Mer, 800000
Mer:
	.zero	800000
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"%s %d"
.LC2:
	.string	"Stable"
.LC3:
	.string	"Not stable"
.LC4:
	.string	"%c "
.LC5:
	.string	"%d\n"
	.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
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800020(%rbp)
	leaq	-800028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	addq	%rax, %rdx
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movb	%dl, -800012(%rbp,%rax,8)
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movl	%edx, -800016(%rbp,%rax,8)
	addl	$1, -800024(%rbp)
.L2:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L3
	movl	-800028(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	QuickS
	movl	-800028(%rbp), %edx
	leaq	-800016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	$0, -800024(%rbp)
	jmp	.L4
.L7:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movzbl	-800012(%rbp,%rax,8), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -800020(%rbp)
	jmp	.L6
.L5:
	addl	$1, -800024(%rbp)
.L4:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L7
.L6:
	cmpl	$0, -800020(%rbp)
	jne	.L8
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	cmpl	$1, -800020(%rbp)
	jne	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, -800024(%rbp)
	jmp	.L10
.L11:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -800024(%rbp)
.L10:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L11
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	QuickS
	.type	QuickS, @function
QuickS:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L16
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Par
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	QuickS
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	QuickS
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	QuickS, .-QuickS
	.globl	Par
	.type	Par, @function
Par:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -16(%rbp)
	movl	-36(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-36(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L18
.L20:
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jl	.L19
	addl	$1, -24(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
.L19:
	addl	$1, -20(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L20
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Par, .-Par
	.globl	Merge
	.type	Merge, @function
Merge:
.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
.LPSRL1:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL1
	subq	$1456, %rsp
	movq	%rdi, -800152(%rbp)
	movl	%esi, -800156(%rbp)
	movl	%edx, -800160(%rbp)
	movl	%ecx, -800164(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-800160(%rbp), %eax
	subl	-800156(%rbp), %eax
	movl	%eax, -800120(%rbp)
	movl	-800164(%rbp), %eax
	subl	-800160(%rbp), %eax
	movl	%eax, -800116(%rbp)
	movl	$0, -800132(%rbp)
	jmp	.L23
.L24:
	movl	-800156(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -800112(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L23:
	movl	-800132(%rbp), %eax
	cmpl	-800120(%rbp), %eax
	jl	.L24
	movl	$0, -800132(%rbp)
	jmp	.L25
.L26:
	movl	-800160(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -400064(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L25:
	movl	-800132(%rbp), %eax
	cmpl	-800116(%rbp), %eax
	jl	.L26
	movl	-800120(%rbp), %eax
	cltq
	movl	$10000001, -800112(%rbp,%rax,8)
	movl	-800116(%rbp), %eax
	cltq
	movl	$10000001, -400064(%rbp,%rax,8)
	movl	$0, -800128(%rbp)
	movl	$0, -800124(%rbp)
	movl	-800156(%rbp), %eax
	movl	%eax, -800132(%rbp)
	jmp	.L27
.L30:
	movl	-800128(%rbp), %eax
	cltq
	movl	-800112(%rbp,%rax,8), %edx
	movl	-800124(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jg	.L28
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800128(%rbp), %eax
	cltq
	movq	-800112(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800128(%rbp)
	jmp	.L29
.L28:
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800124(%rbp), %eax
	cltq
	movq	-400064(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800124(%rbp)
.L29:
	addl	$1, -800132(%rbp)
.L27:
	movl	-800132(%rbp), %eax
	cmpl	-800164(%rbp), %eax
	jl	.L30
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Merge, .-Merge
	.globl	MergeS
	.type	MergeS, @function
MergeS:
.LFB4:
	.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
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L34
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %edx
	movl	-4(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %ecx
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %esi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	Merge
.L34:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	MergeS, .-MergeS
	.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	Par
	.type	Par, @function
Par:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	Qui(%rip), %rcx
	movslq	%esi, %rbx
	movl	(%rcx,%rbx,8), %r9d
	cmpl	%edi, %esi
	jle	.L5
	subl	%edi, %esi
	movslq	%edi, %r10
	leal	-1(%rdi), %r8d
	leal	-1(%rsi), %eax
	leaq	8(%rcx), %rsi
	addq	%r10, %rax
	leaq	(%rcx,%r10,8), %rdx
	leaq	(%rsi,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r9d, (%rdx)
	jg	.L3
	addl	$1, %r8d
	movq	(%rdx), %r11
	movslq	%r8d, %rax
	movl	(%rcx,%rax,8), %r10d
	movzbl	4(%rcx,%rax,8), %edi
	movq	%r11, (%rcx,%rax,8)
	movl	%r10d, (%rdx)
	movb	%dil, 4(%rdx)
.L3:
	addq	$8, %rdx
	cmpq	%rsi, %rdx
	jne	.L4
	leal	1(%r8), %eax
.L2:
	movslq	%eax, %rdx
	movq	(%rcx,%rbx,8), %r8
	movl	(%rcx,%rdx,8), %edi
	movzbl	4(%rcx,%rdx,8), %esi
	movq	%r8, (%rcx,%rdx,8)
	movl	%edi, (%rcx,%rbx,8)
	movb	%sil, 4(%rcx,%rbx,8)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movl	%edi, %eax
	jmp	.L2
	.cfi_endproc
.LFE25:
	.size	Par, .-Par
	.p2align 4
	.globl	QuickS
	.type	QuickS, @function
QuickS:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movl	%esi, 32(%rsp)
	cmpl	%edi, %esi
	jle	.L9
	movl	%edi, %r15d
.L27:
	movl	32(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 36(%rsp)
	subl	$1, %eax
	movl	%eax, 20(%rsp)
	cmpl	%r15d, %eax
	jle	.L11
.L26:
	movl	20(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 40(%rsp)
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	cmpl	%r15d, %eax
	jle	.L12
.L25:
	movl	24(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 44(%rsp)
	subl	$1, %eax
	movl	%eax, 28(%rsp)
	cmpl	%r15d, %eax
	jle	.L13
.L24:
	movl	28(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	leal	-1(%rax), %r12d
	movl	%eax, 48(%rsp)
	cmpl	%r15d, %r12d
	jle	.L14
.L23:
	movl	%r12d, %esi
	movl	%r15d, %edi
	call	Par
	leal	-1(%rax), %ebp
	movl	%eax, %ebx
	cmpl	%r15d, %ebp
	jle	.L15
	movl	%r15d, %eax
	movl	%ebp, %r15d
	movl	%eax, %ebp
.L22:
	movl	%r15d, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %r14d
	movl	%eax, 12(%rsp)
	cmpl	%ebp, %r14d
	jle	.L16
.L21:
	movl	%r14d, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %r13d
	movl	%eax, 52(%rsp)
	cmpl	%ebp, %r13d
	jle	.L17
	movl	%ebx, 16(%rsp)
	movl	%r13d, %ebx
.L20:
	movl	%ebx, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %edx
	movl	%eax, %r13d
	cmpl	%ebp, %edx
	jle	.L18
	movl	%ebx, %r13d
	movl	%eax, %ecx
	movl	%r12d, %ebx
	movl	%ebp, %r12d
.L19:
	movl	%edx, %esi
	movl	%r12d, %edi
	movl	%ecx, 60(%rsp)
	movl	%edx, 56(%rsp)
	call	Par
	movl	%r12d, %edi
	leal	-1(%rax), %esi
	movl	%eax, %ebp
	call	QuickS
	movl	56(%rsp), %edx
	leal	1(%rbp), %r12d
	movl	60(%rsp), %ecx
	cmpl	%r12d, %edx
	jg	.L19
	movl	%ebx, %r12d
	movl	%r13d, %ebx
	movl	%ecx, %r13d
.L18:
	leal	1(%r13), %ebp
	cmpl	%ebp, %ebx
	jg	.L20
	movl	16(%rsp), %ebx
.L17:
	movl	52(%rsp), %ebp
	addl	$1, %ebp
	cmpl	%ebp, %r14d
	jg	.L21
.L16:
	movl	12(%rsp), %ebp
	addl	$1, %ebp
	cmpl	%ebp, %r15d
	jg	.L22
.L15:
	leal	1(%rbx), %r15d
	cmpl	%r15d, %r12d
	jg	.L23
.L14:
	movl	48(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jg	.L24
.L13:
	movl	44(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 24(%rsp)
	jg	.L25
.L12:
	movl	40(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 20(%rsp)
	jg	.L26
.L11:
	movl	36(%rsp), %r15d
	addl	$1, %r15d
	cmpl	32(%rsp), %r15d
	jl	.L27
.L9:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	QuickS, .-QuickS
	.p2align 4
	.globl	Merge
	.type	Merge, @function
Merge:
.LFB26:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1400, %rsp
	.cfi_def_cfa_offset 800176
	movslq	%edx, %r12
	movl	%ecx, %r14d
	movq	%rdi, %r13
	movl	%esi, %ebp
	movq	%fs:40, %rax
	movq	%rax, 800104(%rsp)
	xorl	%eax, %eax
	movl	%r12d, %r15d
	movl	%ecx, %ebx
	subl	%r12d, %r14d
	subl	%esi, %r15d
	testl	%r15d, %r15d
	jle	.L51
	movslq	%r15d, %r15
	movslq	%esi, %rax
	movq	%rsp, %rdi
	leaq	0(,%r15,8), %rdx
	leaq	0(%r13,%rax,8), %rsi
	call	memcpy@PLT
	testl	%r14d, %r14d
	jle	.L52
.L40:
	movslq	%r14d, %r14
	leaq	400048(%rsp), %rdi
	leaq	0(%r13,%r12,8), %rsi
	leaq	0(,%r14,8), %rdx
	call	memcpy@PLT
.L41:
	movl	$10000001, (%rsp,%r15,8)
	movl	$10000001, 400048(%rsp,%r14,8)
	cmpl	%ebx, %ebp
	jge	.L38
	subl	$1, %ebx
	movslq	%ebp, %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	subl	%ebp, %ebx
	leaq	0(%r13,%rdx,8), %rax
	addq	%rdx, %rbx
	leaq	8(%r13,%rbx,8), %r8
	jmp	.L47
	.p2align 4,,10
	.p2align 3
.L53:
	movq	(%rsp,%rcx,8), %rdx
	addq	$8, %rax
	addl	$1, %esi
	movq	%rdx, -8(%rax)
	cmpq	%rax, %r8
	je	.L38
.L47:
	movslq	%edi, %rdx
	movslq	%esi, %rcx
	movl	400048(%rsp,%rdx,8), %ebx
	cmpl	%ebx, (%rsp,%rcx,8)
	jle	.L53
	movq	400048(%rsp,%rdx,8), %rdx
	addq	$8, %rax
	addl	$1, %edi
	movq	%rdx, -8(%rax)
	cmpq	%rax, %r8
	jne	.L47
.L38:
	movq	800104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L54
	addq	$800120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	movslq	%r15d, %r15
	testl	%r14d, %r14d
	jg	.L40
	.p2align 4,,10
	.p2align 3
.L52:
	movslq	%r14d, %r14
	jmp	.L41
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE26:
	.size	Merge, .-Merge
	.p2align 4
	.type	MergeS.part.0, @function
MergeS.part.0:
.LFB28:
	.cfi_startproc
	leal	(%rsi,%rdx), %eax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdi, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%edx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%eax, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	shrl	$31, %r12d
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	addl	%eax, %r12d
	leal	1(%rsi), %eax
	sarl	%r12d
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	cmpl	%eax, %r12d
	jg	.L71
	leal	1(%r12), %eax
	cmpl	%eax, %r13d
	jg	.L72
.L63:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r13d, %ecx
	movl	%r12d, %edx
	movl	%ebp, %esi
	popq	%rbx
	.cfi_def_cfa_offset 48
	movq	%r15, %rdi
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	Merge
	.p2align 4,,10
	.p2align 3
.L71:
	.cfi_restore_state
	leal	(%rsi,%r12), %edx
	movl	%edx, %r14d
	shrl	$31, %r14d
	addl	%edx, %r14d
	sarl	%r14d
	cmpl	%r14d, %eax
	jl	.L73
	leal	1(%r14), %eax
	cmpl	%eax, %r12d
	jg	.L74
.L60:
	movl	%r12d, %ecx
	movl	%r14d, %edx
	movl	%ebp, %esi
	movq	%r15, %rdi
	call	Merge
	leal	1(%r12), %eax
	cmpl	%eax, %r13d
	jle	.L63
.L72:
	leal	0(%r13,%r12), %edx
	movl	%edx, %r14d
	shrl	$31, %r14d
	addl	%edx, %r14d
	sarl	%r14d
	cmpl	%r14d, %eax
	jl	.L75
.L64:
	leal	1(%r14), %eax
	cmpl	%eax, %r13d
	jg	.L76
.L67:
	movl	%r13d, %ecx
	movl	%r14d, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L73:
	leal	(%rsi,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L77
.L58:
	leal	1(%rbx), %eax
	cmpl	%eax, %r14d
	jg	.L78
.L59:
	movl	%r14d, %ecx
	movl	%ebx, %edx
	movl	%ebp, %esi
	movq	%r15, %rdi
	call	Merge
	leal	1(%r14), %eax
	cmpl	%eax, %r12d
	jle	.L60
.L74:
	leal	(%r12,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L79
.L61:
	leal	1(%rbx), %eax
	cmpl	%eax, %r12d
	jg	.L80
.L62:
	movl	%r12d, %ecx
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L60
	.p2align 4,,10
	.p2align 3
.L76:
	leal	0(%r13,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L81
.L68:
	leal	1(%rbx), %eax
	cmpl	%eax, %r13d
	jg	.L82
.L69:
	movl	%r13d, %ecx
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L75:
	leal	(%r12,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L83
.L65:
	leal	1(%rbx), %eax
	cmpl	%eax, %r14d
	jg	.L84
.L66:
	movl	%r14d, %ecx
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L64
	.p2align 4,,10
	.p2align 3
.L77:
	movl	%ebx, %edx
	call	MergeS.part.0
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L80:
	movl	%r12d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L79:
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L61
	.p2align 4,,10
	.p2align 3
.L84:
	movl	%r14d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L66
	.p2align 4,,10
	.p2align 3
.L83:
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L82:
	movl	%r13d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L69
	.p2align 4,,10
	.p2align 3
.L81:
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L68
	.p2align 4,,10
	.p2align 3
.L78:
	movl	%r14d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L59
	.cfi_endproc
.LFE28:
	.size	MergeS.part.0, .-MergeS.part.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d "
.LC1:
	.string	"%s %d"
.LC2:
	.string	"%c "
.LC3:
	.string	"%d\n"
.LC4:
	.string	"Not stable"
.LC5:
	.string	"Stable"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL1:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL1
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	testl	%esi, %esi
	jle	.L86
	leaq	4+Qui(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L87:
	movq	%rbx, %rsi
	leaq	-4(%rbx), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	(%rbx), %eax
	movl	12(%rsp), %esi
	addq	$8, %rbx
	movb	%al, 4(%r12,%rbp,8)
	movl	-12(%rbx), %eax
	movl	%eax, (%r12,%rbp,8)
	addq	$1, %rbp
	cmpl	%ebp, %esi
	jg	.L87
.L86:
	subl	$1, %esi
	xorl	%edi, %edi
	call	QuickS
	movslq	12(%rsp), %rdx
	cmpl	$1, %edx
	jg	.L103
.L88:
	testl	%edx, %edx
	jle	.L89
	xorl	%eax, %eax
	leaq	4+Qui(%rip), %rbp
	leaq	16(%rsp), %r12
	jmp	.L91
	.p2align 4,,10
	.p2align 3
.L104:
	addq	$1, %rax
	cmpq	%rax, %rdx
	je	.L89
.L91:
	movzbl	4(%r12,%rax,8), %ecx
	cmpb	%cl, 0(%rbp,%rax,8)
	je	.L104
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L93:
	movl	12(%rsp), %eax
	leaq	4+Qui(%rip), %rbp
	xorl	%ebx, %ebx
	leaq	.LC2(%rip), %r14
	leaq	-4(%rbp), %r13
	leaq	.LC3(%rip), %r12
	testl	%eax, %eax
	jle	.L94
	.p2align 4,,10
	.p2align 3
.L92:
	movsbl	0(%rbp,%rbx,8), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	0(%r13,%rbx,8), %edx
	movq	%r12, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L92
.L94:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L105
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	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
.L89:
	.cfi_restore_state
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L93
.L103:
	leaq	16(%rsp), %r12
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	MergeS.part.0
	movslq	12(%rsp), %rdx
	jmp	.L88
.L105:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	MergeS
	.type	MergeS, @function
MergeS:
.LFB27:
	.cfi_startproc
	endbr64
	leal	1(%rsi), %eax
	cmpl	%edx, %eax
	jl	.L117
	ret
	.p2align 4,,10
	.p2align 3
.L117:
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%edx, %r12d
	leal	(%rsi,%rdx), %edx
	movl	%edx, %r13d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%esi, %ebp
	shrl	$31, %r13d
	addl	%edx, %r13d
	sarl	%r13d
	cmpl	%r13d, %eax
	jl	.L118
	leal	1(%r13), %eax
	cmpl	%eax, %r12d
	jg	.L119
.L111:
	movl	%r12d, %ecx
	movl	%r13d, %edx
	movl	%ebp, %esi
	movq	%r14, %rdi
	popq	%rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	Merge
	.p2align 4,,10
	.p2align 3
.L118:
	.cfi_restore_state
	leal	(%rsi,%r13), %edx
	movl	%edx, %r15d
	shrl	$31, %r15d
	addl	%edx, %r15d
	sarl	%r15d
	cmpl	%r15d, %eax
	jl	.L120
.L109:
	leal	1(%r15), %eax
	cmpl	%eax, %r13d
	jg	.L121
.L110:
	movl	%r13d, %ecx
	movl	%r15d, %edx
	movl	%ebp, %esi
	movq	%r14, %rdi
	call	Merge
	leal	1(%r13), %eax
	cmpl	%eax, %r12d
	jle	.L111
.L119:
	leal	(%r12,%r13), %edx
	movl	%edx, %r15d
	shrl	$31, %r15d
	addl	%edx, %r15d
	sarl	%r15d
	cmpl	%r15d, %eax
	jl	.L122
.L112:
	leal	1(%r15), %eax
	cmpl	%eax, %r12d
	jg	.L123
.L113:
	movl	%r12d, %ecx
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%r14, %rdi
	call	Merge
	jmp	.L111
	.p2align 4,,10
	.p2align 3
.L120:
	movl	%r15d, %edx
	call	MergeS.part.0
	jmp	.L109
	.p2align 4,,10
	.p2align 3
.L123:
	movl	%r12d, %edx
	movl	%r15d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L113
	.p2align 4,,10
	.p2align 3
.L122:
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L112
	.p2align 4,,10
	.p2align 3
.L121:
	movl	%r13d, %edx
	movl	%r15d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L110
	.cfi_endproc
.LFE27:
	.size	MergeS, .-MergeS
	.globl	Mer
	.bss
	.align 32
	.type	Mer, @object
	.size	Mer, 800000
Mer:
	.zero	800000
	.globl	Qui
	.align 32
	.type	Qui, @object
	.size	Qui, 800000
Qui:
	.zero	800000
	.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	Par
	.type	Par, @function
Par:
.LFB25:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	Qui(%rip), %rcx
	movslq	%esi, %rbx
	movl	(%rcx,%rbx,8), %r9d
	cmpl	%edi, %esi
	jle	.L5
	subl	%edi, %esi
	movslq	%edi, %r10
	leal	-1(%rdi), %r8d
	leal	-1(%rsi), %eax
	leaq	8(%rcx), %rsi
	addq	%r10, %rax
	leaq	(%rcx,%r10,8), %rdx
	leaq	(%rsi,%rax,8), %rsi
	.p2align 4,,10
	.p2align 3
.L4:
	cmpl	%r9d, (%rdx)
	jg	.L3
	addl	$1, %r8d
	movq	(%rdx), %r11
	movslq	%r8d, %rax
	movl	(%rcx,%rax,8), %r10d
	movzbl	4(%rcx,%rax,8), %edi
	movq	%r11, (%rcx,%rax,8)
	movl	%r10d, (%rdx)
	movb	%dil, 4(%rdx)
.L3:
	addq	$8, %rdx
	cmpq	%rsi, %rdx
	jne	.L4
	leal	1(%r8), %eax
.L2:
	movslq	%eax, %rdx
	movq	(%rcx,%rbx,8), %r8
	movl	(%rcx,%rdx,8), %edi
	movzbl	4(%rcx,%rdx,8), %esi
	movq	%r8, (%rcx,%rdx,8)
	movl	%edi, (%rcx,%rbx,8)
	movb	%sil, 4(%rcx,%rbx,8)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movl	%edi, %eax
	jmp	.L2
	.cfi_endproc
.LFE25:
	.size	Par, .-Par
	.p2align 4
	.globl	QuickS
	.type	QuickS, @function
QuickS:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movl	%esi, 32(%rsp)
	cmpl	%edi, %esi
	jle	.L9
	movl	%edi, %r15d
.L27:
	movl	32(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 36(%rsp)
	subl	$1, %eax
	movl	%eax, 20(%rsp)
	cmpl	%r15d, %eax
	jle	.L11
.L26:
	movl	20(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 40(%rsp)
	subl	$1, %eax
	movl	%eax, 24(%rsp)
	cmpl	%r15d, %eax
	jle	.L12
.L25:
	movl	24(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	movl	%eax, 44(%rsp)
	subl	$1, %eax
	movl	%eax, 28(%rsp)
	cmpl	%r15d, %eax
	jle	.L13
.L24:
	movl	28(%rsp), %esi
	movl	%r15d, %edi
	call	Par
	leal	-1(%rax), %r12d
	movl	%eax, 48(%rsp)
	cmpl	%r15d, %r12d
	jle	.L14
.L23:
	movl	%r12d, %esi
	movl	%r15d, %edi
	call	Par
	leal	-1(%rax), %ebp
	movl	%eax, %ebx
	cmpl	%r15d, %ebp
	jle	.L15
	movl	%r15d, %eax
	movl	%ebp, %r15d
	movl	%eax, %ebp
.L22:
	movl	%r15d, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %r14d
	movl	%eax, 12(%rsp)
	cmpl	%ebp, %r14d
	jle	.L16
.L21:
	movl	%r14d, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %r13d
	movl	%eax, 52(%rsp)
	cmpl	%ebp, %r13d
	jle	.L17
	movl	%ebx, 16(%rsp)
	movl	%r13d, %ebx
.L20:
	movl	%ebx, %esi
	movl	%ebp, %edi
	call	Par
	leal	-1(%rax), %edx
	movl	%eax, %r13d
	cmpl	%ebp, %edx
	jle	.L18
	movl	%ebx, %r13d
	movl	%eax, %ecx
	movl	%r12d, %ebx
	movl	%ebp, %r12d
.L19:
	movl	%edx, %esi
	movl	%r12d, %edi
	movl	%ecx, 60(%rsp)
	movl	%edx, 56(%rsp)
	call	Par
	movl	%r12d, %edi
	leal	-1(%rax), %esi
	movl	%eax, %ebp
	call	QuickS
	movl	56(%rsp), %edx
	leal	1(%rbp), %r12d
	movl	60(%rsp), %ecx
	cmpl	%r12d, %edx
	jg	.L19
	movl	%ebx, %r12d
	movl	%r13d, %ebx
	movl	%ecx, %r13d
.L18:
	leal	1(%r13), %ebp
	cmpl	%ebp, %ebx
	jg	.L20
	movl	16(%rsp), %ebx
.L17:
	movl	52(%rsp), %ebp
	addl	$1, %ebp
	cmpl	%ebp, %r14d
	jg	.L21
.L16:
	movl	12(%rsp), %ebp
	addl	$1, %ebp
	cmpl	%ebp, %r15d
	jg	.L22
.L15:
	leal	1(%rbx), %r15d
	cmpl	%r15d, %r12d
	jg	.L23
.L14:
	movl	48(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 28(%rsp)
	jg	.L24
.L13:
	movl	44(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 24(%rsp)
	jg	.L25
.L12:
	movl	40(%rsp), %r15d
	addl	$1, %r15d
	cmpl	%r15d, 20(%rsp)
	jg	.L26
.L11:
	movl	36(%rsp), %r15d
	addl	$1, %r15d
	cmpl	32(%rsp), %r15d
	jl	.L27
.L9:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE24:
	.size	QuickS, .-QuickS
	.p2align 4
	.globl	Merge
	.type	Merge, @function
Merge:
.LFB26:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1400, %rsp
	.cfi_def_cfa_offset 800176
	movslq	%edx, %r12
	movl	%ecx, %r14d
	movq	%rdi, %r13
	movl	%esi, %ebp
	movq	%fs:40, %rax
	movq	%rax, 800104(%rsp)
	xorl	%eax, %eax
	movl	%r12d, %r15d
	movl	%ecx, %ebx
	subl	%r12d, %r14d
	subl	%esi, %r15d
	testl	%r15d, %r15d
	jle	.L51
	movslq	%r15d, %r15
	movslq	%esi, %rax
	movq	%rsp, %rdi
	leaq	0(,%r15,8), %rdx
	leaq	0(%r13,%rax,8), %rsi
	call	memcpy@PLT
	testl	%r14d, %r14d
	jle	.L52
.L40:
	movslq	%r14d, %r14
	leaq	400048(%rsp), %rdi
	leaq	0(%r13,%r12,8), %rsi
	leaq	0(,%r14,8), %rdx
	call	memcpy@PLT
.L41:
	movl	$10000001, (%rsp,%r15,8)
	movl	$10000001, 400048(%rsp,%r14,8)
	cmpl	%ebx, %ebp
	jge	.L38
	subl	$1, %ebx
	movslq	%ebp, %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	subl	%ebp, %ebx
	leaq	0(%r13,%rdx,8), %rax
	addq	%rdx, %rbx
	leaq	8(%r13,%rbx,8), %r8
	jmp	.L47
	.p2align 4,,10
	.p2align 3
.L53:
	movq	(%rsp,%rcx,8), %rdx
	addq	$8, %rax
	addl	$1, %esi
	movq	%rdx, -8(%rax)
	cmpq	%rax, %r8
	je	.L38
.L47:
	movslq	%edi, %rdx
	movslq	%esi, %rcx
	movl	400048(%rsp,%rdx,8), %ebx
	cmpl	%ebx, (%rsp,%rcx,8)
	jle	.L53
	movq	400048(%rsp,%rdx,8), %rdx
	addq	$8, %rax
	addl	$1, %edi
	movq	%rdx, -8(%rax)
	cmpq	%rax, %r8
	jne	.L47
.L38:
	movq	800104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L54
	addq	$800120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	movslq	%r15d, %r15
	testl	%r14d, %r14d
	jg	.L40
	.p2align 4,,10
	.p2align 3
.L52:
	movslq	%r14d, %r14
	jmp	.L41
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE26:
	.size	Merge, .-Merge
	.p2align 4
	.type	MergeS.part.0, @function
MergeS.part.0:
.LFB28:
	.cfi_startproc
	leal	(%rsi,%rdx), %eax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdi, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%edx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%eax, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	shrl	$31, %r12d
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	addl	%eax, %r12d
	leal	1(%rsi), %eax
	sarl	%r12d
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	cmpl	%eax, %r12d
	jg	.L71
	leal	1(%r12), %eax
	cmpl	%eax, %r13d
	jg	.L72
.L63:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r13d, %ecx
	movl	%r12d, %edx
	movl	%ebp, %esi
	popq	%rbx
	.cfi_def_cfa_offset 48
	movq	%r15, %rdi
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	Merge
	.p2align 4,,10
	.p2align 3
.L71:
	.cfi_restore_state
	leal	(%rsi,%r12), %edx
	movl	%edx, %r14d
	shrl	$31, %r14d
	addl	%edx, %r14d
	sarl	%r14d
	cmpl	%r14d, %eax
	jl	.L73
	leal	1(%r14), %eax
	cmpl	%eax, %r12d
	jg	.L74
.L60:
	movl	%r12d, %ecx
	movl	%r14d, %edx
	movl	%ebp, %esi
	movq	%r15, %rdi
	call	Merge
	leal	1(%r12), %eax
	cmpl	%eax, %r13d
	jle	.L63
.L72:
	leal	0(%r13,%r12), %edx
	movl	%edx, %r14d
	shrl	$31, %r14d
	addl	%edx, %r14d
	sarl	%r14d
	cmpl	%r14d, %eax
	jl	.L75
.L64:
	leal	1(%r14), %eax
	cmpl	%eax, %r13d
	jg	.L76
.L67:
	movl	%r13d, %ecx
	movl	%r14d, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L73:
	leal	(%rsi,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L77
.L58:
	leal	1(%rbx), %eax
	cmpl	%eax, %r14d
	jg	.L78
.L59:
	movl	%r14d, %ecx
	movl	%ebx, %edx
	movl	%ebp, %esi
	movq	%r15, %rdi
	call	Merge
	leal	1(%r14), %eax
	cmpl	%eax, %r12d
	jle	.L60
.L74:
	leal	(%r12,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L79
.L61:
	leal	1(%rbx), %eax
	cmpl	%eax, %r12d
	jg	.L80
.L62:
	movl	%r12d, %ecx
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L60
	.p2align 4,,10
	.p2align 3
.L76:
	leal	0(%r13,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L81
.L68:
	leal	1(%rbx), %eax
	cmpl	%eax, %r13d
	jg	.L82
.L69:
	movl	%r13d, %ecx
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L75:
	leal	(%r12,%r14), %edx
	movl	%edx, %ebx
	shrl	$31, %ebx
	addl	%edx, %ebx
	sarl	%ebx
	cmpl	%ebx, %eax
	jl	.L83
.L65:
	leal	1(%rbx), %eax
	cmpl	%eax, %r14d
	jg	.L84
.L66:
	movl	%r14d, %ecx
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	Merge
	jmp	.L64
	.p2align 4,,10
	.p2align 3
.L77:
	movl	%ebx, %edx
	call	MergeS.part.0
	jmp	.L58
	.p2align 4,,10
	.p2align 3
.L80:
	movl	%r12d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L79:
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L61
	.p2align 4,,10
	.p2align 3
.L84:
	movl	%r14d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L66
	.p2align 4,,10
	.p2align 3
.L83:
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L82:
	movl	%r13d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L69
	.p2align 4,,10
	.p2align 3
.L81:
	movl	%ebx, %edx
	movl	%r14d, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L68
	.p2align 4,,10
	.p2align 3
.L78:
	movl	%r14d, %edx
	movl	%ebx, %esi
	movq	%r15, %rdi
	call	MergeS.part.0
	jmp	.L59
	.cfi_endproc
.LFE28:
	.size	MergeS.part.0, .-MergeS.part.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d "
.LC1:
	.string	"%s %d"
.LC2:
	.string	"%c "
.LC3:
	.string	"%d\n"
.LC4:
	.string	"Not stable"
.LC5:
	.string	"Stable"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798768
.LPSRL1:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL1
	.cfi_def_cfa_register 7
	subq	$1312, %rsp
	.cfi_def_cfa_offset 800080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800024(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	testl	%esi, %esi
	jle	.L86
	leaq	4+Qui(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L87:
	movq	%rbx, %rsi
	leaq	-4(%rbx), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	(%rbx), %eax
	movl	12(%rsp), %esi
	addq	$8, %rbx
	movb	%al, 4(%r12,%rbp,8)
	movl	-12(%rbx), %eax
	movl	%eax, (%r12,%rbp,8)
	addq	$1, %rbp
	cmpl	%ebp, %esi
	jg	.L87
.L86:
	subl	$1, %esi
	xorl	%edi, %edi
	call	QuickS
	movslq	12(%rsp), %rdx
	cmpl	$1, %edx
	jg	.L103
.L88:
	testl	%edx, %edx
	jle	.L89
	xorl	%eax, %eax
	leaq	4+Qui(%rip), %rbp
	leaq	16(%rsp), %r12
	jmp	.L91
	.p2align 4,,10
	.p2align 3
.L104:
	addq	$1, %rax
	cmpq	%rax, %rdx
	je	.L89
.L91:
	movzbl	4(%r12,%rax,8), %ecx
	cmpb	%cl, 0(%rbp,%rax,8)
	je	.L104
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
.L93:
	movl	12(%rsp), %eax
	leaq	4+Qui(%rip), %rbp
	xorl	%ebx, %ebx
	leaq	.LC2(%rip), %r14
	leaq	-4(%rbp), %r13
	leaq	.LC3(%rip), %r12
	testl	%eax, %eax
	jle	.L94
	.p2align 4,,10
	.p2align 3
.L92:
	movsbl	0(%rbp,%rbx,8), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	0(%r13,%rbx,8), %edx
	movq	%r12, %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L92
.L94:
	movq	800024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L105
	addq	$800032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	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
.L89:
	.cfi_restore_state
	leaq	.LC5(%rip), %rdi
	call	puts@PLT
	jmp	.L93
.L103:
	leaq	16(%rsp), %r12
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	MergeS.part.0
	movslq	12(%rsp), %rdx
	jmp	.L88
.L105:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	MergeS
	.type	MergeS, @function
MergeS:
.LFB27:
	.cfi_startproc
	endbr64
	leal	1(%rsi), %eax
	cmpl	%edx, %eax
	jl	.L117
	ret
	.p2align 4,,10
	.p2align 3
.L117:
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%edx, %r12d
	leal	(%rsi,%rdx), %edx
	movl	%edx, %r13d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%esi, %ebp
	shrl	$31, %r13d
	addl	%edx, %r13d
	sarl	%r13d
	cmpl	%r13d, %eax
	jl	.L118
	leal	1(%r13), %eax
	cmpl	%eax, %r12d
	jg	.L119
.L111:
	movl	%r12d, %ecx
	movl	%r13d, %edx
	movl	%ebp, %esi
	movq	%r14, %rdi
	popq	%rbp
	.cfi_remember_state
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	Merge
	.p2align 4,,10
	.p2align 3
.L118:
	.cfi_restore_state
	leal	(%rsi,%r13), %edx
	movl	%edx, %r15d
	shrl	$31, %r15d
	addl	%edx, %r15d
	sarl	%r15d
	cmpl	%r15d, %eax
	jl	.L120
.L109:
	leal	1(%r15), %eax
	cmpl	%eax, %r13d
	jg	.L121
.L110:
	movl	%r13d, %ecx
	movl	%r15d, %edx
	movl	%ebp, %esi
	movq	%r14, %rdi
	call	Merge
	leal	1(%r13), %eax
	cmpl	%eax, %r12d
	jle	.L111
.L119:
	leal	(%r12,%r13), %edx
	movl	%edx, %r15d
	shrl	$31, %r15d
	addl	%edx, %r15d
	sarl	%r15d
	cmpl	%r15d, %eax
	jl	.L122
.L112:
	leal	1(%r15), %eax
	cmpl	%eax, %r12d
	jg	.L123
.L113:
	movl	%r12d, %ecx
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%r14, %rdi
	call	Merge
	jmp	.L111
	.p2align 4,,10
	.p2align 3
.L120:
	movl	%r15d, %edx
	call	MergeS.part.0
	jmp	.L109
	.p2align 4,,10
	.p2align 3
.L123:
	movl	%r12d, %edx
	movl	%r15d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L113
	.p2align 4,,10
	.p2align 3
.L122:
	movl	%r15d, %edx
	movl	%r13d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L112
	.p2align 4,,10
	.p2align 3
.L121:
	movl	%r13d, %edx
	movl	%r15d, %esi
	movq	%r14, %rdi
	call	MergeS.part.0
	jmp	.L110
	.cfi_endproc
.LFE27:
	.size	MergeS, .-MergeS
	.globl	Mer
	.bss
	.align 32
	.type	Mer, @object
	.size	Mer, 800000
Mer:
	.zero	800000
	.globl	Qui
	.align 32
	.type	Qui, @object
	.size	Qui, 800000
Qui:
	.zero	800000
	.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>

#define N 100000
#define Gard 10000001

typedef struct{
  int Num;
  char Spel;
}Tarot;

Tarot Qui[N];
Tarot Mer[N];

void QuickS(int ,int );
int Par(int ,int );
void Merge(Tarot *,int ,int ,int );
void MergeS(Tarot *,int ,int );

int main(){
  Tarot Mer[N];
  int i;
  int flag=0;
  int loop;
    
  scanf("%d ",&loop);
  for(i=0;i<loop;i++){
    scanf("%s %d",&Qui[i].Spel,&Qui[i].Num);
    Mer[i].Spel=Qui[i].Spel;
    Mer[i].Num=Qui[i].Num;
  }

  QuickS(0,loop-1);
  MergeS(Mer,0,loop);
  
  
  for(i=0;i<loop;i++){
    if(Qui[i].Spel!=Mer[i].Spel){
      flag=1;
      break;
    }
  }

  if(flag==0){
    printf("Stable\n");
  }

  else if(flag==1){
    printf("Not stable\n");
  }
  
  for(i=0;i<loop;i++){
    printf("%c ",Qui[i].Spel);
    printf("%d\n",Qui[i].Num);
  }

  return 0;
}

void QuickS(int zero,int set){
  int point;

  if(zero<set){
    point=Par(zero,set);
    
    QuickS(zero,point-1);
    
    QuickS(point+1,set);
    }
}

int Par(int zero,int set){
  int init;
  int j;
  Tarot last,temp;
  
  last=Qui[set];
  init=zero-1;
  
  for(j=zero;j<set;j++){
    
    if(last.Num>=Qui[j].Num){
      init+=1;
      temp=Qui[init];
      Qui[init]=Qui[j];
      Qui[j]=temp;
    }
  }
  
  temp=Qui[init+1];
  Qui[init+1]=Qui[set];
  Qui[set]=temp;
  
  return init+1;
}

void  Merge(Tarot *Mer,int lside,int center,int rside){
  int i;
  int Lrenge,Rrenge;
  Tarot Left[N/2+6],Right[N/2+6];
  int jud1,jud2;

  Lrenge=center-lside;
  Rrenge=rside-center;

  for(i=0;i<Lrenge;i++){
    Left[i]=Mer[lside+i];
  }

  for(i=0;i<Rrenge;i++){
    Right[i]=Mer[center+i];
  }

  Left[Lrenge].Num=Gard;
  Right[Rrenge].Num=Gard;
  
  jud1=0;
  jud2=0;

  for(i=lside;i<rside;i++){

    if(Left[jud1].Num<=Right[jud2].Num){
      Mer[i]=Left[jud1];
      jud1++;
    }

    else{
      Mer[i]=Right[jud2];
      jud2++;
    }
  }
}

void MergeS(Tarot *Mer,int lside,int rside){
  int center;

  if(rside>lside+1){

    center=(lside+rside)/2;

    MergeS(Mer,lside,center);

    MergeS(Mer,center,rside);

    Merge(Mer,lside,center,rside);
  }
}


6
D 3
H 2
D 1
S 3
C 2
C 1
 6
D 3
H 2
D 1
S 3
C 2
C 2
 6
D 3
H 2
C 1
S 3
C 2
C 2
 6
D 5
H 2
C 1
S 3
C 2
C 2
 6
D 5
H 2
C 2
S 3
C 2
C 2
 6
D 5
H 0
C 2
S 3
C 2
C 1
 2
S 1
H 2
 6
D 3
H 2
D 1
S 3
D 2
C 0
 6
D 3
H 0
D 1
S 3
C 2
C 1
 6
D 3
H 3
D 1
S 3
C 2
C 2

Not stable
D 1
C 1
C 2
H 2
D 3
S 3
 Stable
D 1
H 2
C 2
C 2
D 3
S 3
 Stable
C 1
H 2
C 2
C 2
D 3
S 3
 Stable
C 1
H 2
C 2
C 2
S 3
D 5
 Stable
H 2
C 2
C 2
C 2
S 3
D 5
 Stable
H 0
C 1
C 2
C 2
S 3
D 5
 Stable
S 1
H 2
 Not stable
C 0
D 1
H 2
D 2
S 3
D 3
 Not stable
H 0
D 1
C 1
C 2
S 3
D 3
 Not stable
D 1
C 2
C 2
S 3
H 3
D 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>

#define N 100000
#define Gard 10000001

typedef struct{
  int Num;
  char Spel;
}Tarot;

Tarot Qui[N];
Tarot Mer[N];

void QuickS(int ,int );
int Par(int ,int );
void Merge(Tarot *,int ,int ,int );
void MergeS(Tarot *,int ,int );

int main(){
  Tarot Mer[N];
  int i;
  int flag=0;
  int loop;
    
  scanf("%d ",&loop);
  for(i=0;i<loop;i++){
    scanf("%s %d",&Qui[i].Spel,&Qui[i].Num);
    Mer[i].Spel=Qui[i].Spel;
    Mer[i].Num=Qui[i].Num;
  }

  QuickS(0,loop-1);
  MergeS(Mer,0,loop);
  
  
  for(i=0;i<loop;i++){
    if(Qui[i].Spel!=Mer[i].Spel){
      flag=1;
      break;
    }
  }

  if(flag==0){
    printf("Stable\n");
  }

  else if(flag==1){
    printf("Not stable\n");
  }
  
  for(i=0;i<loop;i++){
    printf("%c ",Qui[i].Spel);
    printf("%d\n",Qui[i].Num);
  }

  return 0;
}

void QuickS(int zero,int set){
  int point;

  if(zero<set){
    point=Par(zero,set);
    
    QuickS(zero,point-1);
    
    QuickS(point+1,set);
    }
}

int Par(int zero,int set){
  int init;
  int j;
  Tarot last,temp;
  
  last=Qui[set];
  init=zero-1;
  
  for(j=zero;j<set;j++){
    
    if(last.Num>=Qui[j].Num){
      init+=1;
      temp=Qui[init];
      Qui[init]=Qui[j];
      Qui[j]=temp;
    }
  }
  
  temp=Qui[init+1];
  Qui[init+1]=Qui[set];
  Qui[set]=temp;
  
  return init+1;
}

void  Merge(Tarot *Mer,int lside,int center,int rside){
  int i;
  int Lrenge,Rrenge;
  Tarot Left[N/2+6],Right[N/2+6];
  int jud1,jud2;

  Lrenge=center-lside;
  Rrenge=rside-center;

  for(i=0;i<Lrenge;i++){
    Left[i]=Mer[lside+i];
  }

  for(i=0;i<Rrenge;i++){
    Right[i]=Mer[center+i];
  }

  Left[Lrenge].Num=Gard;
  Right[Rrenge].Num=Gard;
  
  jud1=0;
  jud2=0;

  for(i=lside;i<rside;i++){

    if(Left[jud1].Num<=Right[jud2].Num){
      Mer[i]=Left[jud1];
      jud1++;
    }

    else{
      Mer[i]=Right[jud2];
      jud2++;
    }
  }
}

void MergeS(Tarot *Mer,int lside,int rside){
  int center;

  if(rside>lside+1){

    center=(lside+rside)/2;

    MergeS(Mer,lside,center);

    MergeS(Mer,center,rside);

    Merge(Mer,lside,center,rside);
  }
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	Qui
	.bss
	.align 32
	.type	Qui, @object
	.size	Qui, 800000
Qui:
	.zero	800000
	.globl	Mer
	.align 32
	.type	Mer, @object
	.size	Mer, 800000
Mer:
	.zero	800000
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"%s %d"
.LC2:
	.string	"Stable"
.LC3:
	.string	"Not stable"
.LC4:
	.string	"%c "
.LC5:
	.string	"%d\n"
	.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
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800020(%rbp)
	leaq	-800028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	addq	%rax, %rdx
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movb	%dl, -800012(%rbp,%rax,8)
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movl	%edx, -800016(%rbp,%rax,8)
	addl	$1, -800024(%rbp)
.L2:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L3
	movl	-800028(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	QuickS
	movl	-800028(%rbp), %edx
	leaq	-800016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	$0, -800024(%rbp)
	jmp	.L4
.L7:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movzbl	-800012(%rbp,%rax,8), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -800020(%rbp)
	jmp	.L6
.L5:
	addl	$1, -800024(%rbp)
.L4:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L7
.L6:
	cmpl	$0, -800020(%rbp)
	jne	.L8
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	cmpl	$1, -800020(%rbp)
	jne	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, -800024(%rbp)
	jmp	.L10
.L11:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -800024(%rbp)
.L10:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L11
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	QuickS
	.type	QuickS, @function
QuickS:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L16
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Par
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	QuickS
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	QuickS
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	QuickS, .-QuickS
	.globl	Par
	.type	Par, @function
Par:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -16(%rbp)
	movl	-36(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-36(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L18
.L20:
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jl	.L19
	addl	$1, -24(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
.L19:
	addl	$1, -20(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L20
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Par, .-Par
	.globl	Merge
	.type	Merge, @function
Merge:
.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
.LPSRL1:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL1
	subq	$1456, %rsp
	movq	%rdi, -800152(%rbp)
	movl	%esi, -800156(%rbp)
	movl	%edx, -800160(%rbp)
	movl	%ecx, -800164(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-800160(%rbp), %eax
	subl	-800156(%rbp), %eax
	movl	%eax, -800120(%rbp)
	movl	-800164(%rbp), %eax
	subl	-800160(%rbp), %eax
	movl	%eax, -800116(%rbp)
	movl	$0, -800132(%rbp)
	jmp	.L23
.L24:
	movl	-800156(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -800112(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L23:
	movl	-800132(%rbp), %eax
	cmpl	-800120(%rbp), %eax
	jl	.L24
	movl	$0, -800132(%rbp)
	jmp	.L25
.L26:
	movl	-800160(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -400064(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L25:
	movl	-800132(%rbp), %eax
	cmpl	-800116(%rbp), %eax
	jl	.L26
	movl	-800120(%rbp), %eax
	cltq
	movl	$10000001, -800112(%rbp,%rax,8)
	movl	-800116(%rbp), %eax
	cltq
	movl	$10000001, -400064(%rbp,%rax,8)
	movl	$0, -800128(%rbp)
	movl	$0, -800124(%rbp)
	movl	-800156(%rbp), %eax
	movl	%eax, -800132(%rbp)
	jmp	.L27
.L30:
	movl	-800128(%rbp), %eax
	cltq
	movl	-800112(%rbp,%rax,8), %edx
	movl	-800124(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jg	.L28
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800128(%rbp), %eax
	cltq
	movq	-800112(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800128(%rbp)
	jmp	.L29
.L28:
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800124(%rbp), %eax
	cltq
	movq	-400064(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800124(%rbp)
.L29:
	addl	$1, -800132(%rbp)
.L27:
	movl	-800132(%rbp), %eax
	cmpl	-800164(%rbp), %eax
	jl	.L30
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Merge, .-Merge
	.globl	MergeS
	.type	MergeS, @function
MergeS:
.LFB4:
	.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
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L34
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %edx
	movl	-4(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %ecx
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %esi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	Merge
.L34:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	MergeS, .-MergeS
	.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	Qui
	.bss
	.align 32
	.type	Qui, @object
	.size	Qui, 800000
Qui:
	.zero	800000
	.globl	Mer
	.align 32
	.type	Mer, @object
	.size	Mer, 800000
Mer:
	.zero	800000
	.section	.rodata
.LC0:
	.string	"%d "
.LC1:
	.string	"%s %d"
.LC2:
	.string	"Stable"
.LC3:
	.string	"Not stable"
.LC4:
	.string	"%c "
.LC5:
	.string	"%d\n"
	.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
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1312, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -800020(%rbp)
	leaq	-800028(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -800024(%rbp)
	jmp	.L2
.L3:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	addq	%rax, %rdx
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movb	%dl, -800012(%rbp,%rax,8)
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movl	%edx, -800016(%rbp,%rax,8)
	addl	$1, -800024(%rbp)
.L2:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L3
	movl	-800028(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	movl	$0, %edi
	call	QuickS
	movl	-800028(%rbp), %edx
	leaq	-800016(%rbp), %rax
	movl	$0, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	$0, -800024(%rbp)
	jmp	.L4
.L7:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %edx
	movl	-800024(%rbp), %eax
	cltq
	movzbl	-800012(%rbp,%rax,8), %eax
	cmpb	%al, %dl
	je	.L5
	movl	$1, -800020(%rbp)
	jmp	.L6
.L5:
	addl	$1, -800024(%rbp)
.L4:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L7
.L6:
	cmpl	$0, -800020(%rbp)
	jne	.L8
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L8:
	cmpl	$1, -800020(%rbp)
	jne	.L9
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L9:
	movl	$0, -800024(%rbp)
	jmp	.L10
.L11:
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+Qui(%rip), %rax
	movzbl	(%rdx,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-800024(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -800024(%rbp)
.L10:
	movl	-800028(%rbp), %eax
	cmpl	%eax, -800024(%rbp)
	jl	.L11
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	QuickS
	.type	QuickS, @function
QuickS:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jge	.L16
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Par
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	QuickS
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	QuickS
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	QuickS, .-QuickS
	.globl	Par
	.type	Par, @function
Par:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -36(%rbp)
	movl	%esi, -40(%rbp)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -16(%rbp)
	movl	-36(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	movl	-36(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L18
.L20:
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	jl	.L19
	addl	$1, -24(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
.L19:
	addl	$1, -20(%rbp)
.L18:
	movl	-20(%rbp), %eax
	cmpl	-40(%rbp), %eax
	jl	.L20
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	Qui(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, -8(%rbp)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rsi
	leaq	Qui(%rip), %rax
	movq	(%rsi,%rax), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rcx
	leaq	Qui(%rip), %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	addl	$1, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Par, .-Par
	.globl	Merge
	.type	Merge, @function
Merge:
.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
.LPSRL1:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL1
	subq	$1456, %rsp
	movq	%rdi, -800152(%rbp)
	movl	%esi, -800156(%rbp)
	movl	%edx, -800160(%rbp)
	movl	%ecx, -800164(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-800160(%rbp), %eax
	subl	-800156(%rbp), %eax
	movl	%eax, -800120(%rbp)
	movl	-800164(%rbp), %eax
	subl	-800160(%rbp), %eax
	movl	%eax, -800116(%rbp)
	movl	$0, -800132(%rbp)
	jmp	.L23
.L24:
	movl	-800156(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -800112(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L23:
	movl	-800132(%rbp), %eax
	cmpl	-800120(%rbp), %eax
	jl	.L24
	movl	$0, -800132(%rbp)
	jmp	.L25
.L26:
	movl	-800160(%rbp), %edx
	movl	-800132(%rbp), %eax
	addl	%edx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800132(%rbp), %eax
	cltq
	movq	(%rdx), %rdx
	movq	%rdx, -400064(%rbp,%rax,8)
	addl	$1, -800132(%rbp)
.L25:
	movl	-800132(%rbp), %eax
	cmpl	-800116(%rbp), %eax
	jl	.L26
	movl	-800120(%rbp), %eax
	cltq
	movl	$10000001, -800112(%rbp,%rax,8)
	movl	-800116(%rbp), %eax
	cltq
	movl	$10000001, -400064(%rbp,%rax,8)
	movl	$0, -800128(%rbp)
	movl	$0, -800124(%rbp)
	movl	-800156(%rbp), %eax
	movl	%eax, -800132(%rbp)
	jmp	.L27
.L30:
	movl	-800128(%rbp), %eax
	cltq
	movl	-800112(%rbp,%rax,8), %edx
	movl	-800124(%rbp), %eax
	cltq
	movl	-400064(%rbp,%rax,8), %eax
	cmpl	%eax, %edx
	jg	.L28
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800128(%rbp), %eax
	cltq
	movq	-800112(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800128(%rbp)
	jmp	.L29
.L28:
	movl	-800132(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	movq	-800152(%rbp), %rax
	addq	%rax, %rdx
	movl	-800124(%rbp), %eax
	cltq
	movq	-400064(%rbp,%rax,8), %rax
	movq	%rax, (%rdx)
	addl	$1, -800124(%rbp)
.L29:
	addl	$1, -800132(%rbp)
.L27:
	movl	-800132(%rbp), %eax
	cmpl	-800164(%rbp), %eax
	jl	.L30
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Merge, .-Merge
	.globl	MergeS
	.type	MergeS, @function
MergeS:
.LFB4:
	.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
	addl	$1, %eax
	cmpl	%eax, -32(%rbp)
	jle	.L34
	movl	-28(%rbp), %edx
	movl	-32(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -4(%rbp)
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %edx
	movl	-4(%rbp), %ecx
	movq	-24(%rbp), %rax
	movl	%ecx, %esi
	movq	%rax, %rdi
	call	MergeS
	movl	-32(%rbp), %ecx
	movl	-4(%rbp), %edx
	movl	-28(%rbp), %esi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	Merge
.L34:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	MergeS, .-MergeS
	.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:
