Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>
typedef long long int lli;
void merge (long long int arr[], long long int l, long long int m, long long int r)
{
	long long int i, j, k, n1 = m - l + 1, n2 =  r - m, L[n1], R[n2];
	for (i = 0; i < n1; i++) L[i] = arr[l + i]; for (j = 0; j < n2; j++) R[j] = arr[m + 1+ j];
	i = 0;j = 0;k = l;
	while (i < n1 && j < n2)
	{if (L[i] <= R[j]) arr[k++] = L[i++]; else arr[k++] = R[j++];}
	while (i < n1) arr[k++] = L[i++]; while (j < n2) arr[k++] = R[j++];
}
void mergesort (long long int arr[], long long int l, long long int r)
{
	if (l < r)
	{
		long long int m = l+(r-l)/2;
		mergesort(arr, l, m);
		mergesort(arr, m+1, r);
		merge(arr, l, m, r);
	}
}
int cmp (const void *a, const void *b)
{
	return *(long long int *)a - *(long long int *)b;
}

//qsort(arr,n,sizeof(long long int),cmp);
//mergesort(arr, 0, arr_size - 1);

int main ()
{
	long long int n,a,b,c,d,l1,l2,r1,r2,flag=0,lol=0 ;
	char str[210000] ;

	scanf("%lld %lld %lld %lld %lld", &n, &a, &b, &c, &d);
	scanf("%s", str);

	if (a<b)
	{
		l1=a;
		l2=c;
		r1=b;
		r2=d;
	}

	else
	{
		l1=b;
		l2=d;
		r1=a;
		r2=c;
	}

	if (r2<l2)
	{
		lol=5;
	}


	if (lol==5)
	{
		flag=1;

		for (int i=r1-1 ; i<r2 ; i++)
		{
			if (str[i-1]=='.' && str[i]=='.' && str[i+1]=='.')
				flag=0;
		}
	}

	for (int i=l1-1 ; i<l2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;
	}

	for (int i=r1-1 ; i<r2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;			
	}

	if (flag)
		printf("No\n");

	else
		printf("Yes\n");


	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	merge
	.type	merge, @function
merge:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	subq	$112, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	movq	%rdi, -120(%rbp)
	movq	%rsi, -128(%rbp)
	movq	%rdx, -136(%rbp)
	movq	%rcx, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rsi
	movq	-136(%rbp), %rax
	subq	-128(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -88(%rbp)
	movq	-144(%rbp), %rax
	subq	-136(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -72(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -64(%rbp)
	movq	-80(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -56(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r10
	movl	$0, %r11d
	movq	%rax, %rdx
	movq	%rdx, %r8
	movl	$0, %r9d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -48(%rbp)
	movq	$0, -112(%rbp)
	jmp	.L8
.L9:
	movq	-128(%rbp), %rdx
	movq	-112(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -112(%rbp)
.L8:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L9
	movq	$0, -104(%rbp)
	jmp	.L10
.L11:
	movq	-136(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	-104(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L10:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L11
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-128(%rbp), %rax
	movq	%rax, -96(%rbp)
	jmp	.L12
.L15:
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	cmpq	%rax, %rcx
	jg	.L13
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
	jmp	.L12
.L13:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L12:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jge	.L16
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L15
	jmp	.L16
.L17:
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L16:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L17
	jmp	.L18
.L19:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L18:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L19
	movq	%rsi, %rsp
	nop
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	merge, .-merge
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	%rdx, -40(%rbp)
	movq	-32(%rbp), %rax
	cmpq	-40(%rbp), %rax
	jge	.L23
	movq	-40(%rbp), %rax
	subq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-8(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-40(%rbp), %rcx
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rsi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	merge
.L23:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mergesort, .-mergesort
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld %lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-208896(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -210032(%rbp)
	movq	$0, -210024(%rbp)
	leaq	-210072(%rbp), %rdi
	leaq	-210080(%rbp), %rsi
	leaq	-210088(%rbp), %rcx
	leaq	-210096(%rbp), %rdx
	leaq	-210104(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-210016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-210096(%rbp), %rdx
	movq	-210088(%rbp), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movq	-210096(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210088(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210040(%rbp)
	jmp	.L28
.L27:
	movq	-210088(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210096(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210040(%rbp)
.L28:
	movq	-210040(%rbp), %rax
	cmpq	-210056(%rbp), %rax
	jge	.L29
	movq	$5, -210024(%rbp)
.L29:
	cmpq	$5, -210024(%rbp)
	jne	.L30
	movq	$1, -210032(%rbp)
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210116(%rbp)
	jmp	.L31
.L33:
	movl	-210116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movq	$0, -210032(%rbp)
.L32:
	addl	$1, -210116(%rbp)
.L31:
	movl	-210116(%rbp), %eax
	cltq
	cmpq	%rax, -210040(%rbp)
	jg	.L33
.L30:
	movq	-210064(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210112(%rbp)
	jmp	.L34
.L36:
	movl	-210112(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	movl	-210112(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	addq	$1, -210032(%rbp)
.L35:
	addl	$1, -210112(%rbp)
.L34:
	movl	-210112(%rbp), %eax
	cltq
	movq	-210056(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L36
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210108(%rbp)
	jmp	.L37
.L39:
	movl	-210108(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	movl	-210108(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	addq	$1, -210032(%rbp)
.L38:
	addl	$1, -210108(%rbp)
.L37:
	movl	-210108(%rbp), %eax
	cltq
	movq	-210040(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L39
	cmpq	$0, -210032(%rbp)
	je	.L40
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L41
.L40:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L41:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	merge
	.type	merge, @function
merge:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdx, %r9
	subq	%rsi, %r9
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	movq	%rdi, %r14
	pushq	%r13
	.cfi_offset 13, -40
	movq	%rcx, %r13
	leaq	1(%r9), %rcx
	pushq	%r12
	subq	%rdx, %r13
	.cfi_offset 12, -48
	movq	%rdx, %r12
	pushq	%rbx
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$56, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	23(,%r9,8), %rax
	movq	%rsp, %rsi
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L40:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L40
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L41
.L4:
	leaq	0(,%r13,8), %r15
	movq	%rsp, %rsi
	movq	%rsp, %r10
	leaq	15(%r15), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L6
.L42:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L42
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L43
.L7:
	movq	%rsp, %r8
	testq	%rcx, %rcx
	jle	.L44
	leaq	0(,%rcx,8), %rdx
	movq	%r10, %rdi
	leaq	(%r14,%rbx,8), %rsi
	movq	%r8, -88(%rbp)
	movq	%r9, -80(%rbp)
	movq	%rcx, -72(%rbp)
	call	memcpy@PLT
	testq	%r13, %r13
	movq	-72(%rbp), %rcx
	movq	-80(%rbp), %r9
	movq	-88(%rbp), %r8
	movq	%rax, %r10
	jle	.L10
	leaq	8(%r14,%r12,8), %rsi
	movq	%r15, %rdx
	movq	%r8, %rdi
	movq	%rcx, -88(%rbp)
	movq	%r9, -72(%rbp)
	xorl	%r12d, %r12d
	movq	%rax, -80(%rbp)
	call	memcpy@PLT
	movq	-80(%rbp), %r10
	movq	-72(%rbp), %r9
	movq	%rax, %r8
	movq	-88(%rbp), %rcx
	xorl	%eax, %eax
	movq	(%r10), %rsi
	movq	(%r8), %rdx
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rbx
	cmpq	%rdx, %rsi
	jg	.L14
.L45:
	movq	%rsi, -8(%r14,%rbx,8)
	leaq	1(%rax), %r15
	cmpq	%rax, %r9
	jle	.L12
	cmpq	%r12, %r13
	jle	.L12
	movq	(%r10,%r15,8), %rsi
	movq	%r15, %rax
	addq	$1, %rbx
	cmpq	%rdx, %rsi
	jle	.L45
.L14:
	movq	%rdx, -8(%r14,%rbx,8)
	addq	$1, %r12
	cmpq	%rax, %rcx
	jle	.L22
	cmpq	%r12, %r13
	jle	.L22
	movq	(%r8,%r12,8), %rdx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L41:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	movq	%rax, %r15
.L12:
	cmpq	%r15, %rcx
	jle	.L18
	movq	%rcx, %rdx
	leaq	(%r14,%rbx,8), %rdi
	leaq	(%r10,%r15,8), %rsi
	movq	%r8, -80(%rbp)
	subq	%r15, %rdx
	movq	%rcx, -72(%rbp)
	salq	$3, %rdx
	call	memcpy@PLT
	movq	-72(%rbp), %rcx
	movq	-80(%rbp), %r8
	addq	%rbx, %rcx
	subq	%r15, %rcx
	movq	%rcx, %rbx
.L18:
	cmpq	%r12, %r13
	jle	.L1
.L13:
	subq	%r12, %r13
	leaq	(%r14,%rbx,8), %rdi
	leaq	(%r8,%r12,8), %rsi
	leaq	0(,%r13,8), %rdx
	call	memcpy@PLT
.L1:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L46
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L44:
	.cfi_restore_state
	testq	%r13, %r13
	jle	.L10
	leaq	8(%r14,%r12,8), %rsi
	movq	%r8, %rdi
	movq	%r15, %rdx
	xorl	%r12d, %r12d
	call	memcpy@PLT
	movq	%rax, %r8
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	.L12
.L43:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	merge, .-merge
	.p2align 4
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.LFB52:
	.cfi_startproc
	endbr64
	cmpq	%rdx, %rsi
	jl	.L58
	ret
	.p2align 4,,10
	.p2align 3
.L58:
	movq	%rdx, %rax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	subq	%rsi, %rax
	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
	movq	%rax, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	sarq	%r13
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	addq	%rsi, %r13
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	cmpq	%r13, %rsi
	jl	.L59
	leaq	1(%r13), %r15
	cmpq	%r12, %r15
	jl	.L60
.L52:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movq	%r12, %rcx
	movq	%r13, %rdx
	movq	%rbp, %rsi
	popq	%rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	movq	%r14, %rdi
	popq	%rbp
	.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
.L59:
	.cfi_restore_state
	movq	%rax, %rbx
	sarq	$2, %rbx
	addq	%rsi, %rbx
	cmpq	%rbx, %rsi
	jl	.L61
.L50:
	leaq	1(%rbx), %r15
	cmpq	%r15, %r13
	jg	.L62
.L51:
	movq	%r13, %rcx
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	call	merge
	leaq	1(%r13), %r15
	cmpq	%r12, %r15
	jge	.L52
.L60:
	movq	%r12, %rax
	subq	%r15, %rax
	movq	%rax, %rbx
	sarq	%rbx
	addq	%r15, %rbx
	cmpq	%rbx, %r15
	jl	.L63
.L53:
	leaq	1(%rbx), %r8
	cmpq	%r8, %r12
	jg	.L64
.L54:
	movq	%r12, %rcx
	movq	%rbx, %rdx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L61:
	sarq	$3, %rax
	leaq	(%rax,%rsi), %r15
	movq	%r15, %rdx
	call	mergesort
	leaq	1(%r15), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rdi
	call	mergesort
	movq	%rbx, %rcx
	movq	%r15, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L64:
	movq	%r12, %r9
	movq	%r8, %rsi
	movq	%r14, %rdi
	movq	%r8, 8(%rsp)
	subq	%r8, %r9
	sarq	%r9
	addq	%r8, %r9
	movq	%r9, %rdx
	movq	%r9, (%rsp)
	call	mergesort
	movq	(%rsp), %r9
	movq	%r12, %rdx
	movq	%r14, %rdi
	leaq	1(%r9), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%r12, %rcx
	movq	%r14, %rdi
	movq	8(%rsp), %rsi
	call	merge
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L63:
	sarq	$2, %rax
	movq	%r15, %rsi
	movq	%r14, %rdi
	leaq	(%rax,%r15), %r8
	movq	%r8, %rdx
	movq	%r8, (%rsp)
	call	mergesort
	movq	(%rsp), %r8
	movq	%rbx, %rdx
	movq	%r14, %rdi
	leaq	1(%r8), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%rbx, %rcx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%r13, %r8
	movq	%r15, %rsi
	movq	%r14, %rdi
	subq	%r15, %r8
	sarq	%r8
	addq	%r15, %r8
	movq	%r8, %rdx
	movq	%r8, (%rsp)
	call	mergesort
	movq	(%rsp), %r8
	movq	%r13, %rdx
	movq	%r14, %rdi
	leaq	1(%r8), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%r13, %rcx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L51
	.cfi_endproc
.LFE52:
	.size	mergesort, .-mergesort
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB53:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE53:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld %lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.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	-208896(%rsp), %r11
	.cfi_def_cfa 11, 208936
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1176, %rsp
	.cfi_def_cfa_offset 210112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 210056(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	32(%rsp), %r8
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	40(%rsp), %r9
	leaq	48(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %r8
	movq	24(%rsp), %rcx
	cmpq	%rcx, %r8
	jge	.L67
	movq	32(%rsp), %rbp
	movq	40(%rsp), %r10
.L68:
	leal	-1(%rcx), %esi
	movslq	%esi, %rsi
	cmpq	%r10, %rbp
	jle	.L69
	cmpq	%rsi, %r10
	jle	.L70
	movslq	%ecx, %r12
	leaq	(%rbx,%r10), %r9
	leal	-2(%rcx), %r11d
	movl	$1, %edx
	addq	%r12, %r9
	leaq	(%rbx,%r12), %rax
	movslq	%r11d, %r11
	xorl	%r13d, %r13d
	subq	%rsi, %r9
	jmp	.L72
	.p2align 4,,10
	.p2align 3
.L71:
	addq	$1, %rax
	cmpq	%r9, %rax
	je	.L98
.L72:
	movq	%rax, %rdi
	subq	%r12, %rdi
	cmpb	$46, (%rdi,%r11)
	jne	.L71
	cmpb	$46, (%rdi,%rsi)
	jne	.L71
	cmpb	$46, (%rax)
	cmove	%r13, %rdx
	jmp	.L71
.L67:
	movq	40(%rsp), %rbp
	movq	32(%rsp), %r10
	xchgq	%rcx, %r8
	jmp	.L68
.L69:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	xorl	%edx, %edx
	movslq	%r9d, %r9
	cmpq	%r9, %rax
	jle	.L99
.L74:
	leaq	(%rbx,%r9), %rax
	leaq	47(%rsp,%rbp), %rdi
	movslq	%r8d, %r8
	.p2align 4,,10
	.p2align 3
.L80:
	cmpb	$35, (%rax)
	jne	.L79
	movq	%rax, %r11
	subq	%r9, %r11
	cmpb	$35, (%r11,%r8)
	sete	%r11b
	movzbl	%r11b, %r11d
	addq	%r11, %rdx
.L79:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L80
.L78:
	leaq	-1(%r10), %rax
	cmpq	%rsi, %rax
	jle	.L81
.L75:
	leaq	(%rbx,%rsi), %rax
	leaq	47(%rsp,%r10), %rdi
	movslq	%ecx, %rcx
	.p2align 4,,10
	.p2align 3
.L83:
	cmpb	$35, (%rax)
	jne	.L82
	movq	%rax, %r8
	subq	%rsi, %r8
	cmpb	$35, (%r8,%rcx)
	sete	%r8b
	movzbl	%r8b, %r8d
	addq	%r8, %rdx
.L82:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jne	.L83
.L81:
	testq	%rdx, %rdx
	je	.L76
.L77:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L84:
	movq	210056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L100
	addq	$210072, %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
.L99:
	.cfi_restore_state
	leaq	-1(%r10), %rax
	cmpq	%rax, %rsi
	jl	.L75
.L76:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L84
.L98:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	movslq	%r9d, %r9
	cmpq	%r9, %rax
	jg	.L74
	jmp	.L78
.L70:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	movl	$1, %edx
	movslq	%r9d, %r9
	cmpq	%rax, %r9
	jl	.L74
	leaq	-1(%r10), %rax
	cmpq	%rsi, %rax
	jg	.L75
	jmp	.L77
.L100:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.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	merge
	.type	merge, @function
merge:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdx, %r9
	subq	%rsi, %r9
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	movq	%rdi, %r14
	pushq	%r13
	.cfi_offset 13, -40
	movq	%rcx, %r13
	leaq	1(%r9), %rcx
	pushq	%r12
	subq	%rdx, %r13
	.cfi_offset 12, -48
	movq	%rdx, %r12
	pushq	%rbx
	.cfi_offset 3, -56
	movq	%rsi, %rbx
	subq	$56, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	23(,%r9,8), %rax
	movq	%rsp, %rsi
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L40:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L40
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L41
.L4:
	leaq	0(,%r13,8), %r15
	movq	%rsp, %rsi
	movq	%rsp, %r10
	leaq	15(%r15), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L6
.L42:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L42
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L43
.L7:
	movq	%rsp, %r8
	testq	%rcx, %rcx
	jle	.L44
	leaq	0(,%rcx,8), %rdx
	movq	%r10, %rdi
	leaq	(%r14,%rbx,8), %rsi
	movq	%r8, -88(%rbp)
	movq	%r9, -80(%rbp)
	movq	%rcx, -72(%rbp)
	call	memcpy@PLT
	testq	%r13, %r13
	movq	-72(%rbp), %rcx
	movq	-80(%rbp), %r9
	movq	-88(%rbp), %r8
	movq	%rax, %r10
	jle	.L10
	leaq	8(%r14,%r12,8), %rsi
	movq	%r15, %rdx
	movq	%r8, %rdi
	movq	%rcx, -88(%rbp)
	movq	%r9, -72(%rbp)
	xorl	%r12d, %r12d
	movq	%rax, -80(%rbp)
	call	memcpy@PLT
	movq	-80(%rbp), %r10
	movq	-72(%rbp), %r9
	movq	%rax, %r8
	movq	-88(%rbp), %rcx
	xorl	%eax, %eax
	movq	(%r10), %rsi
	movq	(%r8), %rdx
	.p2align 4,,10
	.p2align 3
.L17:
	addq	$1, %rbx
	cmpq	%rdx, %rsi
	jg	.L14
.L45:
	movq	%rsi, -8(%r14,%rbx,8)
	leaq	1(%rax), %r15
	cmpq	%rax, %r9
	jle	.L12
	cmpq	%r12, %r13
	jle	.L12
	movq	(%r10,%r15,8), %rsi
	movq	%r15, %rax
	addq	$1, %rbx
	cmpq	%rdx, %rsi
	jle	.L45
.L14:
	movq	%rdx, -8(%r14,%rbx,8)
	addq	$1, %r12
	cmpq	%rax, %rcx
	jle	.L22
	cmpq	%r12, %r13
	jle	.L22
	movq	(%r8,%r12,8), %rdx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L41:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	movq	%rax, %r15
.L12:
	cmpq	%r15, %rcx
	jle	.L18
	movq	%rcx, %rdx
	leaq	(%r14,%rbx,8), %rdi
	leaq	(%r10,%r15,8), %rsi
	movq	%r8, -80(%rbp)
	subq	%r15, %rdx
	movq	%rcx, -72(%rbp)
	salq	$3, %rdx
	call	memcpy@PLT
	movq	-72(%rbp), %rcx
	movq	-80(%rbp), %r8
	addq	%rbx, %rcx
	subq	%r15, %rcx
	movq	%rcx, %rbx
.L18:
	cmpq	%r12, %r13
	jle	.L1
.L13:
	subq	%r12, %r13
	leaq	(%r14,%rbx,8), %rdi
	leaq	(%r8,%r12,8), %rsi
	leaq	0(,%r13,8), %rdx
	call	memcpy@PLT
.L1:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L46
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L44:
	.cfi_restore_state
	testq	%r13, %r13
	jle	.L10
	leaq	8(%r14,%r12,8), %rsi
	movq	%r8, %rdi
	movq	%r15, %rdx
	xorl	%r12d, %r12d
	call	memcpy@PLT
	movq	%rax, %r8
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	.L12
.L43:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L46:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	merge, .-merge
	.p2align 4
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.LFB52:
	.cfi_startproc
	endbr64
	cmpq	%rdx, %rsi
	jl	.L58
	ret
	.p2align 4,,10
	.p2align 3
.L58:
	movq	%rdx, %rax
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	subq	%rsi, %rax
	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
	movq	%rax, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	sarq	%r13
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	addq	%rsi, %r13
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	cmpq	%r13, %rsi
	jl	.L59
	leaq	1(%r13), %r15
	cmpq	%r12, %r15
	jl	.L60
.L52:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movq	%r12, %rcx
	movq	%r13, %rdx
	movq	%rbp, %rsi
	popq	%rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	movq	%r14, %rdi
	popq	%rbp
	.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
.L59:
	.cfi_restore_state
	movq	%rax, %rbx
	sarq	$2, %rbx
	addq	%rsi, %rbx
	cmpq	%rbx, %rsi
	jl	.L61
.L50:
	leaq	1(%rbx), %r15
	cmpq	%r15, %r13
	jg	.L62
.L51:
	movq	%r13, %rcx
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	call	merge
	leaq	1(%r13), %r15
	cmpq	%r12, %r15
	jge	.L52
.L60:
	movq	%r12, %rax
	subq	%r15, %rax
	movq	%rax, %rbx
	sarq	%rbx
	addq	%r15, %rbx
	cmpq	%rbx, %r15
	jl	.L63
.L53:
	leaq	1(%rbx), %r8
	cmpq	%r8, %r12
	jg	.L64
.L54:
	movq	%r12, %rcx
	movq	%rbx, %rdx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L61:
	sarq	$3, %rax
	leaq	(%rax,%rsi), %r15
	movq	%r15, %rdx
	call	mergesort
	leaq	1(%r15), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rdi
	call	mergesort
	movq	%rbx, %rcx
	movq	%r15, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L64:
	movq	%r12, %r9
	movq	%r8, %rsi
	movq	%r14, %rdi
	movq	%r8, 8(%rsp)
	subq	%r8, %r9
	sarq	%r9
	addq	%r8, %r9
	movq	%r9, %rdx
	movq	%r9, (%rsp)
	call	mergesort
	movq	(%rsp), %r9
	movq	%r12, %rdx
	movq	%r14, %rdi
	leaq	1(%r9), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%r12, %rcx
	movq	%r14, %rdi
	movq	8(%rsp), %rsi
	call	merge
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L63:
	sarq	$2, %rax
	movq	%r15, %rsi
	movq	%r14, %rdi
	leaq	(%rax,%r15), %r8
	movq	%r8, %rdx
	movq	%r8, (%rsp)
	call	mergesort
	movq	(%rsp), %r8
	movq	%rbx, %rdx
	movq	%r14, %rdi
	leaq	1(%r8), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%rbx, %rcx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L62:
	movq	%r13, %r8
	movq	%r15, %rsi
	movq	%r14, %rdi
	subq	%r15, %r8
	sarq	%r8
	addq	%r15, %r8
	movq	%r8, %rdx
	movq	%r8, (%rsp)
	call	mergesort
	movq	(%rsp), %r8
	movq	%r13, %rdx
	movq	%r14, %rdi
	leaq	1(%r8), %rsi
	call	mergesort
	movq	(%rsp), %rdx
	movq	%r13, %rcx
	movq	%r15, %rsi
	movq	%r14, %rdi
	call	merge
	jmp	.L51
	.cfi_endproc
.LFE52:
	.size	mergesort, .-mergesort
	.p2align 4
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB53:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE53:
	.size	cmp, .-cmp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld %lld %lld %lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.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	-208896(%rsp), %r11
	.cfi_def_cfa 11, 208936
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1176, %rsp
	.cfi_def_cfa_offset 210112
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 210056(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rcx
	leaq	32(%rsp), %r8
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	40(%rsp), %r9
	leaq	48(%rsp), %rbx
	call	__isoc99_scanf@PLT
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %r8
	movq	24(%rsp), %rcx
	cmpq	%rcx, %r8
	jge	.L67
	movq	32(%rsp), %rbp
	movq	40(%rsp), %r10
.L68:
	leal	-1(%rcx), %esi
	movslq	%esi, %rsi
	cmpq	%r10, %rbp
	jle	.L69
	cmpq	%rsi, %r10
	jle	.L70
	movslq	%ecx, %r12
	leaq	(%rbx,%r10), %r9
	leal	-2(%rcx), %r11d
	movl	$1, %edx
	addq	%r12, %r9
	leaq	(%rbx,%r12), %rax
	movslq	%r11d, %r11
	xorl	%r13d, %r13d
	subq	%rsi, %r9
	jmp	.L72
	.p2align 4,,10
	.p2align 3
.L71:
	addq	$1, %rax
	cmpq	%r9, %rax
	je	.L98
.L72:
	movq	%rax, %rdi
	subq	%r12, %rdi
	cmpb	$46, (%rdi,%r11)
	jne	.L71
	cmpb	$46, (%rdi,%rsi)
	jne	.L71
	cmpb	$46, (%rax)
	cmove	%r13, %rdx
	jmp	.L71
.L67:
	movq	40(%rsp), %rbp
	movq	32(%rsp), %r10
	xchgq	%rcx, %r8
	jmp	.L68
.L69:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	xorl	%edx, %edx
	movslq	%r9d, %r9
	cmpq	%r9, %rax
	jle	.L99
.L74:
	leaq	(%rbx,%r9), %rax
	leaq	47(%rsp,%rbp), %rdi
	movslq	%r8d, %r8
	.p2align 4,,10
	.p2align 3
.L80:
	cmpb	$35, (%rax)
	jne	.L79
	movq	%rax, %r11
	subq	%r9, %r11
	cmpb	$35, (%r11,%r8)
	sete	%r11b
	movzbl	%r11b, %r11d
	addq	%r11, %rdx
.L79:
	addq	$1, %rax
	cmpq	%rdi, %rax
	jne	.L80
.L78:
	leaq	-1(%r10), %rax
	cmpq	%rsi, %rax
	jle	.L81
.L75:
	leaq	(%rbx,%rsi), %rax
	leaq	47(%rsp,%r10), %rdi
	movslq	%ecx, %rcx
	.p2align 4,,10
	.p2align 3
.L83:
	cmpb	$35, (%rax)
	jne	.L82
	movq	%rax, %r8
	subq	%rsi, %r8
	cmpb	$35, (%r8,%rcx)
	sete	%r8b
	movzbl	%r8b, %r8d
	addq	%r8, %rdx
.L82:
	addq	$1, %rax
	cmpq	%rax, %rdi
	jne	.L83
.L81:
	testq	%rdx, %rdx
	je	.L76
.L77:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L84:
	movq	210056(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L100
	addq	$210072, %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
.L99:
	.cfi_restore_state
	leaq	-1(%r10), %rax
	cmpq	%rax, %rsi
	jl	.L75
.L76:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L84
.L98:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	movslq	%r9d, %r9
	cmpq	%r9, %rax
	jg	.L74
	jmp	.L78
.L70:
	leal	-1(%r8), %r9d
	leaq	-1(%rbp), %rax
	movl	$1, %edx
	movslq	%r9d, %r9
	cmpq	%rax, %r9
	jl	.L74
	leaq	-1(%r10), %rax
	cmpq	%rsi, %rax
	jg	.L75
	jmp	.L77
.L100:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>
typedef long long int lli;
void merge (long long int arr[], long long int l, long long int m, long long int r)
{
	long long int i, j, k, n1 = m - l + 1, n2 =  r - m, L[n1], R[n2];
	for (i = 0; i < n1; i++) L[i] = arr[l + i]; for (j = 0; j < n2; j++) R[j] = arr[m + 1+ j];
	i = 0;j = 0;k = l;
	while (i < n1 && j < n2)
	{if (L[i] <= R[j]) arr[k++] = L[i++]; else arr[k++] = R[j++];}
	while (i < n1) arr[k++] = L[i++]; while (j < n2) arr[k++] = R[j++];
}
void mergesort (long long int arr[], long long int l, long long int r)
{
	if (l < r)
	{
		long long int m = l+(r-l)/2;
		mergesort(arr, l, m);
		mergesort(arr, m+1, r);
		merge(arr, l, m, r);
	}
}
int cmp (const void *a, const void *b)
{
	return *(long long int *)a - *(long long int *)b;
}

//qsort(arr,n,sizeof(long long int),cmp);
//mergesort(arr, 0, arr_size - 1);

int main ()
{
	long long int n,a,b,c,d,l1,l2,r1,r2,flag=0,lol=0 ;
	char str[210000] ;

	scanf("%lld %lld %lld %lld %lld", &n, &a, &b, &c, &d);
	scanf("%s", str);

	if (a<b)
	{
		l1=a;
		l2=c;
		r1=b;
		r2=d;
	}

	else
	{
		l1=b;
		l2=d;
		r1=a;
		r2=c;
	}

	if (r2<l2)
	{
		lol=5;
	}


	if (lol==5)
	{
		flag=1;

		for (int i=r1-1 ; i<r2 ; i++)
		{
			if (str[i-1]=='.' && str[i]=='.' && str[i+1]=='.')
				flag=0;
		}
	}

	for (int i=l1-1 ; i<l2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;
	}

	for (int i=r1-1 ; i<r2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;			
	}

	if (flag)
		printf("No\n");

	else
		printf("Yes\n");


	return 0;
}

9 1 3 7 6
.#..#..
 15 1 3 15 11
...#.#...#.#...
 4 1 3 7 6
.#..#..
 8 1 3 7 6
.#..#..
 15 0 3 15 13
...#.#...#.#...
 15 0 3 15 11
...#.#...#.#...
 1 1 3 7 6
.#..#..
 15 1 3 15 7
...#.#...#.#...
 8 1 4 7 6
.#..#..
 15 0 6 15 13
...#.#...#.#...

No
 Yes
 No
 No
 Yes
 Yes
 No
 No
 No
 Yes

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>
#include<limits.h>
typedef long long int lli;
void merge (long long int arr[], long long int l, long long int m, long long int r)
{
	long long int i, j, k, n1 = m - l + 1, n2 =  r - m, L[n1], R[n2];
	for (i = 0; i < n1; i++) L[i] = arr[l + i]; for (j = 0; j < n2; j++) R[j] = arr[m + 1+ j];
	i = 0;j = 0;k = l;
	while (i < n1 && j < n2)
	{if (L[i] <= R[j]) arr[k++] = L[i++]; else arr[k++] = R[j++];}
	while (i < n1) arr[k++] = L[i++]; while (j < n2) arr[k++] = R[j++];
}
void mergesort (long long int arr[], long long int l, long long int r)
{
	if (l < r)
	{
		long long int m = l+(r-l)/2;
		mergesort(arr, l, m);
		mergesort(arr, m+1, r);
		merge(arr, l, m, r);
	}
}
int cmp (const void *a, const void *b)
{
	return *(long long int *)a - *(long long int *)b;
}

//qsort(arr,n,sizeof(long long int),cmp);
//mergesort(arr, 0, arr_size - 1);

int main ()
{
	long long int n,a,b,c,d,l1,l2,r1,r2,flag=0,lol=0 ;
	char str[210000] ;

	scanf("%lld %lld %lld %lld %lld", &n, &a, &b, &c, &d);
	scanf("%s", str);

	if (a<b)
	{
		l1=a;
		l2=c;
		r1=b;
		r2=d;
	}

	else
	{
		l1=b;
		l2=d;
		r1=a;
		r2=c;
	}

	if (r2<l2)
	{
		lol=5;
	}


	if (lol==5)
	{
		flag=1;

		for (int i=r1-1 ; i<r2 ; i++)
		{
			if (str[i-1]=='.' && str[i]=='.' && str[i+1]=='.')
				flag=0;
		}
	}

	for (int i=l1-1 ; i<l2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;
	}

	for (int i=r1-1 ; i<r2-1 ; i++)
	{
		if (str[i]=='#' && str[i+1]=='#')
			flag++;			
	}

	if (flag)
		printf("No\n");

	else
		printf("Yes\n");


	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	merge
	.type	merge, @function
merge:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	subq	$112, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	movq	%rdi, -120(%rbp)
	movq	%rsi, -128(%rbp)
	movq	%rdx, -136(%rbp)
	movq	%rcx, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rsi
	movq	-136(%rbp), %rax
	subq	-128(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -88(%rbp)
	movq	-144(%rbp), %rax
	subq	-136(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -72(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -64(%rbp)
	movq	-80(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -56(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r10
	movl	$0, %r11d
	movq	%rax, %rdx
	movq	%rdx, %r8
	movl	$0, %r9d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -48(%rbp)
	movq	$0, -112(%rbp)
	jmp	.L8
.L9:
	movq	-128(%rbp), %rdx
	movq	-112(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -112(%rbp)
.L8:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L9
	movq	$0, -104(%rbp)
	jmp	.L10
.L11:
	movq	-136(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	-104(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L10:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L11
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-128(%rbp), %rax
	movq	%rax, -96(%rbp)
	jmp	.L12
.L15:
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	cmpq	%rax, %rcx
	jg	.L13
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
	jmp	.L12
.L13:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L12:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jge	.L16
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L15
	jmp	.L16
.L17:
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L16:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L17
	jmp	.L18
.L19:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L18:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L19
	movq	%rsi, %rsp
	nop
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	merge, .-merge
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	%rdx, -40(%rbp)
	movq	-32(%rbp), %rax
	cmpq	-40(%rbp), %rax
	jge	.L23
	movq	-40(%rbp), %rax
	subq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-8(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-40(%rbp), %rcx
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rsi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	merge
.L23:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mergesort, .-mergesort
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld %lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-208896(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -210032(%rbp)
	movq	$0, -210024(%rbp)
	leaq	-210072(%rbp), %rdi
	leaq	-210080(%rbp), %rsi
	leaq	-210088(%rbp), %rcx
	leaq	-210096(%rbp), %rdx
	leaq	-210104(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-210016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-210096(%rbp), %rdx
	movq	-210088(%rbp), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movq	-210096(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210088(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210040(%rbp)
	jmp	.L28
.L27:
	movq	-210088(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210096(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210040(%rbp)
.L28:
	movq	-210040(%rbp), %rax
	cmpq	-210056(%rbp), %rax
	jge	.L29
	movq	$5, -210024(%rbp)
.L29:
	cmpq	$5, -210024(%rbp)
	jne	.L30
	movq	$1, -210032(%rbp)
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210116(%rbp)
	jmp	.L31
.L33:
	movl	-210116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movq	$0, -210032(%rbp)
.L32:
	addl	$1, -210116(%rbp)
.L31:
	movl	-210116(%rbp), %eax
	cltq
	cmpq	%rax, -210040(%rbp)
	jg	.L33
.L30:
	movq	-210064(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210112(%rbp)
	jmp	.L34
.L36:
	movl	-210112(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	movl	-210112(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	addq	$1, -210032(%rbp)
.L35:
	addl	$1, -210112(%rbp)
.L34:
	movl	-210112(%rbp), %eax
	cltq
	movq	-210056(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L36
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210108(%rbp)
	jmp	.L37
.L39:
	movl	-210108(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	movl	-210108(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	addq	$1, -210032(%rbp)
.L38:
	addl	$1, -210108(%rbp)
.L37:
	movl	-210108(%rbp), %eax
	cltq
	movq	-210040(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L39
	cmpq	$0, -210032(%rbp)
	je	.L40
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L41
.L40:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L41:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	merge
	.type	merge, @function
merge:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	subq	$112, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	movq	%rdi, -120(%rbp)
	movq	%rsi, -128(%rbp)
	movq	%rdx, -136(%rbp)
	movq	%rcx, -144(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rsi
	movq	-136(%rbp), %rax
	subq	-128(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -88(%rbp)
	movq	-144(%rbp), %rax
	subq	-136(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -72(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r14
	movl	$0, %r15d
	movq	%rax, %rdx
	movq	%rdx, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -64(%rbp)
	movq	-80(%rbp), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, -56(%rbp)
	movq	%rax, %rdx
	movq	%rdx, %r10
	movl	$0, %r11d
	movq	%rax, %rdx
	movq	%rdx, %r8
	movl	$0, %r9d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L5:
	cmpq	%rdx, %rsp
	je	.L6
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L5
.L6:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L7
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L7:
	movq	%rsp, %rax
	addq	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -48(%rbp)
	movq	$0, -112(%rbp)
	jmp	.L8
.L9:
	movq	-128(%rbp), %rdx
	movq	-112(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -112(%rbp)
.L8:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L9
	movq	$0, -104(%rbp)
	jmp	.L10
.L11:
	movq	-136(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	-104(%rbp), %rax
	addq	%rdx, %rax
	leaq	0(,%rax,8), %rdx
	movq	-120(%rbp), %rax
	addq	%rdx, %rax
	movq	(%rax), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L10:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L11
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-128(%rbp), %rax
	movq	%rax, -96(%rbp)
	jmp	.L12
.L15:
	movq	-64(%rbp), %rax
	movq	-112(%rbp), %rdx
	movq	(%rax,%rdx,8), %rcx
	movq	-48(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	cmpq	%rax, %rcx
	jg	.L13
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
	jmp	.L12
.L13:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L12:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jge	.L16
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L15
	jmp	.L16
.L17:
	movq	-112(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -112(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-64(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L16:
	movq	-112(%rbp), %rax
	cmpq	-88(%rbp), %rax
	jl	.L17
	jmp	.L18
.L19:
	movq	-104(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -104(%rbp)
	movq	-96(%rbp), %rdx
	leaq	1(%rdx), %rcx
	movq	%rcx, -96(%rbp)
	leaq	0(,%rdx,8), %rcx
	movq	-120(%rbp), %rdx
	addq	%rdx, %rcx
	movq	-48(%rbp), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
.L18:
	movq	-104(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jl	.L19
	movq	%rsi, %rsp
	nop
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leaq	-32(%rbp), %rsp
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	merge, .-merge
	.globl	mergesort
	.type	mergesort, @function
mergesort:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	%rdx, -40(%rbp)
	movq	-32(%rbp), %rax
	cmpq	-40(%rbp), %rax
	jge	.L23
	movq	-40(%rbp), %rax
	subq	-32(%rbp), %rax
	movq	%rax, %rdx
	shrq	$63, %rdx
	addq	%rdx, %rax
	sarq	%rax
	movq	%rax, %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rcx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-8(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	-40(%rbp), %rdx
	movq	-24(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	mergesort
	movq	-40(%rbp), %rcx
	movq	-8(%rbp), %rdx
	movq	-32(%rbp), %rsi
	movq	-24(%rbp), %rax
	movq	%rax, %rdi
	call	merge
.L23:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	mergesort, .-mergesort
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %edx
	movq	-16(%rbp), %rax
	movq	(%rax), %rax
	movl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	"%lld %lld %lld %lld %lld"
.LC1:
	.string	"%s"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-208896(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -210032(%rbp)
	movq	$0, -210024(%rbp)
	leaq	-210072(%rbp), %rdi
	leaq	-210080(%rbp), %rsi
	leaq	-210088(%rbp), %rcx
	leaq	-210096(%rbp), %rdx
	leaq	-210104(%rbp), %rax
	movq	%rdi, %r9
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-210016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-210096(%rbp), %rdx
	movq	-210088(%rbp), %rax
	cmpq	%rax, %rdx
	jge	.L27
	movq	-210096(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210088(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210040(%rbp)
	jmp	.L28
.L27:
	movq	-210088(%rbp), %rax
	movq	%rax, -210064(%rbp)
	movq	-210072(%rbp), %rax
	movq	%rax, -210056(%rbp)
	movq	-210096(%rbp), %rax
	movq	%rax, -210048(%rbp)
	movq	-210080(%rbp), %rax
	movq	%rax, -210040(%rbp)
.L28:
	movq	-210040(%rbp), %rax
	cmpq	-210056(%rbp), %rax
	jge	.L29
	movq	$5, -210024(%rbp)
.L29:
	cmpq	$5, -210024(%rbp)
	jne	.L30
	movq	$1, -210032(%rbp)
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210116(%rbp)
	jmp	.L31
.L33:
	movl	-210116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movl	-210116(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$46, %al
	jne	.L32
	movq	$0, -210032(%rbp)
.L32:
	addl	$1, -210116(%rbp)
.L31:
	movl	-210116(%rbp), %eax
	cltq
	cmpq	%rax, -210040(%rbp)
	jg	.L33
.L30:
	movq	-210064(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210112(%rbp)
	jmp	.L34
.L36:
	movl	-210112(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	movl	-210112(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L35
	addq	$1, -210032(%rbp)
.L35:
	addl	$1, -210112(%rbp)
.L34:
	movl	-210112(%rbp), %eax
	cltq
	movq	-210056(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L36
	movq	-210048(%rbp), %rax
	subl	$1, %eax
	movl	%eax, -210108(%rbp)
	jmp	.L37
.L39:
	movl	-210108(%rbp), %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	movl	-210108(%rbp), %eax
	addl	$1, %eax
	cltq
	movzbl	-210016(%rbp,%rax), %eax
	cmpb	$35, %al
	jne	.L38
	addq	$1, -210032(%rbp)
.L38:
	addl	$1, -210108(%rbp)
.L37:
	movl	-210108(%rbp), %eax
	cltq
	movq	-210040(%rbp), %rdx
	subq	$1, %rdx
	cmpq	%rdx, %rax
	jl	.L39
	cmpq	$0, -210032(%rbp)
	je	.L40
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L41
.L40:
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L41:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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:
