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

```c
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include <limits.h>

#define lli long long int
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define	abs(a) ((a)<0?-(a):(a))



int main(void){
	/* === input paramater === */
	int n,x;

	/* === paramater === */
	int i;
	int counter;
	/* === input === */
	scanf("%d%d",&n,&x);
	if(x == 1 || x == 2*n-1){
		printf("No\n");
		return 0;
	}
	printf("Yes\n");
	if(n==2){
		printf("%d\n%d\n%d\n",1,2,3);
		return 0;
	}
	counter = 1;
	if(x==2){
		for(i=0;i<n-2;i++){
			if(counter == x-1){
				counter += 4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter += 4;
			}
		}
		printf("%d\n%d\n%d\n%d\n",x+1,x,x-1,x+2);
		for(i=0;i<n-3;i++){
			if(counter == x-1){
				counter+=4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter+=4;
			}
		}
		return 0;
	}
	for(i=0;i<n-3;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter += 4;
		}
	}
	printf("%d\n%d\n%d\n%d\n",x-2,x+1,x,x-1);
	for(i=0;i<n-2;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter+=4;
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
.LC3:
	.string	"%d\n%d\n%d\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d\n%d\n%d\n%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	je	.L2
	movl	-24(%rbp), %eax
	addl	%eax, %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
.L2:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L3:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	-24(%rbp), %eax
	cmpl	$2, %eax
	jne	.L5
	movl	$3, %ecx
	movl	$2, %edx
	movl	$1, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L23
.L5:
	movl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L6
	movl	$0, -16(%rbp)
	jmp	.L7
.L10:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L8
	addl	$4, -12(%rbp)
.L8:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L9
	addl	$4, -12(%rbp)
.L9:
	addl	$1, -16(%rbp)
.L7:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	movl	-20(%rbp), %eax
	leal	2(%rax), %edi
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %ecx
	leal	1(%rcx), %esi
	movl	%edi, %r8d
	movl	%edx, %ecx
	movl	%eax, %edx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L11
.L14:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L12
	addl	$4, -12(%rbp)
.L12:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L13
	addl	$4, -12(%rbp)
.L13:
	addl	$1, -16(%rbp)
.L11:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L14
	movl	$0, %eax
	jmp	.L23
.L6:
	movl	$0, -16(%rbp)
	jmp	.L15
.L18:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L16
	addl	$4, -12(%rbp)
.L16:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L17
	addl	$4, -12(%rbp)
.L17:
	addl	$1, -16(%rbp)
.L15:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %edx
	addl	$1, %edx
	movl	-20(%rbp), %ecx
	leal	-2(%rcx), %esi
	movl	%edi, %r8d
	movl	%eax, %ecx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L22:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L20
	addl	$4, -12(%rbp)
.L20:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L21
	addl	$4, -12(%rbp)
.L21:
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
.LC3:
	.string	"%d\n%d\n%d\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d\n%d\n%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	cmpl	$1, %eax
	je	.L2
	movl	(%rsp), %edx
	leal	-1(%rdx,%rdx), %edx
	cmpl	%edx, %eax
	je	.L2
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movl	(%rsp), %eax
	cmpl	$2, %eax
	je	.L37
	movl	4(%rsp), %ecx
	cmpl	$2, %ecx
	je	.L6
	movl	$1, %ebx
	cmpl	$3, %eax
	jle	.L8
	movl	$1, %ebp
	leaq	.LC4(%rip), %r12
	leal	-2(%rcx), %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$2, %ecx
	cmpl	%ebp, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%ecx, %ebp
	xorl	%eax, %eax
	movl	%ebp, %edx
	leal	1(%rbp), %ebx
	call	__printf_chk@PLT
	movl	4(%rsp), %ecx
	leal	-2(%rcx), %eax
	cmpl	%ebx, %eax
	je	.L38
	movl	(%rsp), %edi
	addl	$1, %r13d
	leal	-3(%rdi), %edx
	cmpl	%r13d, %edx
	jle	.L8
.L22:
	movl	%ebx, %ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L38:
	movl	(%rsp), %esi
	addl	$1, %r13d
	leal	5(%rbp), %ebx
	leal	-3(%rsi), %edx
	cmpl	%r13d, %edx
	jg	.L22
.L8:
	leal	1(%rcx), %r10d
	leal	-2(%rcx), %edx
	movl	%ecx, %r8d
	xorl	%eax, %eax
	leal	-1(%rcx), %r9d
	leaq	.LC5(%rip), %rsi
	movl	%r10d, %ecx
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$2, (%rsp)
	jle	.L4
	movl	4(%rsp), %eax
	xorl	%ebp, %ebp
	leaq	.LC4(%rip), %r12
	leal	-2(%rax), %ecx
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	cmpl	%ebx, %ecx
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%eax, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	leal	1(%rbx), %edx
	leal	-2(%rax), %ecx
	cmpl	%edx, %ecx
	je	.L39
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	-2(%rdi), %esi
	cmpl	%ebp, %esi
	jle	.L4
	movl	%edx, %ebx
	jmp	.L26
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L40
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	5(%rbx), %edx
	leal	-2(%rdi), %esi
	cmpl	%esi, %ebp
	jge	.L4
	movl	%edx, %ebx
	jmp	.L26
.L6:
	movl	$1, %ebx
	cmpl	$2, %eax
	jle	.L9
	xorl	%ebp, %ebp
	movl	$1, %eax
	leaq	.LC4(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	addl	$3, %ecx
	cmpl	%ebx, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%ecx, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %ecx
	leal	1(%rbx), %edx
	leal	-1(%rcx), %eax
	cmpl	%edx, %eax
	je	.L41
	movl	(%rsp), %esi
	addl	$1, %ebp
	movl	%edx, %ebx
	subl	$2, %esi
	cmpl	%ebp, %esi
	jg	.L13
.L9:
	xorl	%eax, %eax
	leal	1(%rcx), %edx
	leal	2(%rcx), %r9d
	movl	$1, %edi
	leal	-1(%rcx), %r8d
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	cmpl	$3, (%rsp)
	jle	.L4
	movl	4(%rsp), %eax
	xorl	%ebp, %ebp
	leaq	.LC4(%rip), %r12
	leal	-1(%rax), %edx
	.p2align 4,,10
	.p2align 3
.L19:
	addl	$3, %eax
	cmpl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%eax, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	leal	1(%rbx), %esi
	leal	-1(%rax), %edx
	cmpl	%esi, %edx
	je	.L42
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	-3(%rdi), %ecx
	cmpl	%ebp, %ecx
	jle	.L4
	movl	%esi, %ebx
	jmp	.L19
.L41:
	movl	(%rsp), %esi
	addl	$1, %ebp
	addl	$5, %ebx
	leal	-2(%rsi), %edx
	cmpl	%ebp, %edx
	jg	.L13
	jmp	.L9
.L42:
	movl	(%rsp), %edi
	addl	$1, %ebp
	addl	$5, %ebx
	leal	-3(%rdi), %ecx
	cmpl	%ebp, %ecx
	jg	.L19
	jmp	.L4
.L37:
	movl	$3, %r8d
	movl	$2, %ecx
	xorl	%eax, %eax
	movl	$1, %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L4
.L40:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
.LC3:
	.string	"%d\n%d\n%d\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d\n%d\n%d\n%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	cmpl	$1, %eax
	je	.L2
	movl	(%rsp), %edx
	leal	-1(%rdx,%rdx), %edx
	cmpl	%edx, %eax
	je	.L2
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	movl	(%rsp), %eax
	cmpl	$2, %eax
	je	.L37
	movl	4(%rsp), %ecx
	cmpl	$2, %ecx
	je	.L6
	movl	$1, %ebx
	cmpl	$3, %eax
	jle	.L8
	movl	$1, %ebp
	leaq	.LC4(%rip), %r12
	leal	-2(%rcx), %eax
	xorl	%r13d, %r13d
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$2, %ecx
	cmpl	%ebp, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%ecx, %ebp
	xorl	%eax, %eax
	movl	%ebp, %edx
	leal	1(%rbp), %ebx
	call	__printf_chk@PLT
	movl	4(%rsp), %ecx
	leal	-2(%rcx), %eax
	cmpl	%ebx, %eax
	je	.L38
	movl	(%rsp), %edi
	addl	$1, %r13d
	leal	-3(%rdi), %edx
	cmpl	%r13d, %edx
	jle	.L8
.L22:
	movl	%ebx, %ebp
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L38:
	movl	(%rsp), %esi
	addl	$1, %r13d
	leal	5(%rbp), %ebx
	leal	-3(%rsi), %edx
	cmpl	%r13d, %edx
	jg	.L22
.L8:
	leal	1(%rcx), %r10d
	leal	-2(%rcx), %edx
	movl	%ecx, %r8d
	xorl	%eax, %eax
	leal	-1(%rcx), %r9d
	leaq	.LC5(%rip), %rsi
	movl	%r10d, %ecx
	movl	$1, %edi
	call	__printf_chk@PLT
	cmpl	$2, (%rsp)
	jle	.L4
	movl	4(%rsp), %eax
	xorl	%ebp, %ebp
	leaq	.LC4(%rip), %r12
	leal	-2(%rax), %ecx
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	cmpl	%ebx, %ecx
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%eax, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	leal	1(%rbx), %edx
	leal	-2(%rax), %ecx
	cmpl	%edx, %ecx
	je	.L39
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	-2(%rdi), %esi
	cmpl	%ebp, %esi
	jle	.L4
	movl	%edx, %ebx
	jmp	.L26
.L2:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
.L4:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L40
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	5(%rbx), %edx
	leal	-2(%rdi), %esi
	cmpl	%esi, %ebp
	jge	.L4
	movl	%edx, %ebx
	jmp	.L26
.L6:
	movl	$1, %ebx
	cmpl	$2, %eax
	jle	.L9
	xorl	%ebp, %ebp
	movl	$1, %eax
	leaq	.LC4(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	addl	$3, %ecx
	cmpl	%ebx, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%ecx, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %ecx
	leal	1(%rbx), %edx
	leal	-1(%rcx), %eax
	cmpl	%edx, %eax
	je	.L41
	movl	(%rsp), %esi
	addl	$1, %ebp
	movl	%edx, %ebx
	subl	$2, %esi
	cmpl	%ebp, %esi
	jg	.L13
.L9:
	xorl	%eax, %eax
	leal	1(%rcx), %edx
	leal	2(%rcx), %r9d
	movl	$1, %edi
	leal	-1(%rcx), %r8d
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	cmpl	$3, (%rsp)
	jle	.L4
	movl	4(%rsp), %eax
	xorl	%ebp, %ebp
	leaq	.LC4(%rip), %r12
	leal	-1(%rax), %edx
	.p2align 4,,10
	.p2align 3
.L19:
	addl	$3, %eax
	cmpl	%ebx, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	cmove	%eax, %ebx
	xorl	%eax, %eax
	movl	%ebx, %edx
	call	__printf_chk@PLT
	movl	4(%rsp), %eax
	leal	1(%rbx), %esi
	leal	-1(%rax), %edx
	cmpl	%esi, %edx
	je	.L42
	movl	(%rsp), %edi
	addl	$1, %ebp
	leal	-3(%rdi), %ecx
	cmpl	%ebp, %ecx
	jle	.L4
	movl	%esi, %ebx
	jmp	.L19
.L41:
	movl	(%rsp), %esi
	addl	$1, %ebp
	addl	$5, %ebx
	leal	-2(%rsi), %edx
	cmpl	%ebp, %edx
	jg	.L13
	jmp	.L9
.L42:
	movl	(%rsp), %edi
	addl	$1, %ebp
	addl	$5, %ebx
	leal	-3(%rdi), %ecx
	cmpl	%ebp, %ecx
	jg	.L19
	jmp	.L4
.L37:
	movl	$3, %r8d
	movl	$2, %ecx
	xorl	%eax, %eax
	movl	$1, %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L4
.L40:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include <limits.h>

#define lli long long int
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define	abs(a) ((a)<0?-(a):(a))



int main(void){
	/* === input paramater === */
	int n,x;

	/* === paramater === */
	int i;
	int counter;
	/* === input === */
	scanf("%d%d",&n,&x);
	if(x == 1 || x == 2*n-1){
		printf("No\n");
		return 0;
	}
	printf("Yes\n");
	if(n==2){
		printf("%d\n%d\n%d\n",1,2,3);
		return 0;
	}
	counter = 1;
	if(x==2){
		for(i=0;i<n-2;i++){
			if(counter == x-1){
				counter += 4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter += 4;
			}
		}
		printf("%d\n%d\n%d\n%d\n",x+1,x,x-1,x+2);
		for(i=0;i<n-3;i++){
			if(counter == x-1){
				counter+=4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter+=4;
			}
		}
		return 0;
	}
	for(i=0;i<n-3;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter += 4;
		}
	}
	printf("%d\n%d\n%d\n%d\n",x-2,x+1,x,x-1);
	for(i=0;i<n-2;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter+=4;
		}
	}
	return 0;
}
1 1
 2 2
 3 3
 7 7
 6 6
 5 5
 8 8
 4 1
 2 3
 3 1

No
 Yes
1
2
3
 Yes
1
4
3
2
5
 Yes
1
2
3
4
5
8
7
6
9
10
11
12
13
 Yes
1
2
3
4
7
6
5
8
9
10
11
 Yes
1
2
3
6
5
4
7
8
9
 Yes
1
2
3
4
5
6
9
8
7
10
11
12
13
14
15
 No
 No
 No

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

```c
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
#include <limits.h>

#define lli long long int
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#define	abs(a) ((a)<0?-(a):(a))



int main(void){
	/* === input paramater === */
	int n,x;

	/* === paramater === */
	int i;
	int counter;
	/* === input === */
	scanf("%d%d",&n,&x);
	if(x == 1 || x == 2*n-1){
		printf("No\n");
		return 0;
	}
	printf("Yes\n");
	if(n==2){
		printf("%d\n%d\n%d\n",1,2,3);
		return 0;
	}
	counter = 1;
	if(x==2){
		for(i=0;i<n-2;i++){
			if(counter == x-1){
				counter += 4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter += 4;
			}
		}
		printf("%d\n%d\n%d\n%d\n",x+1,x,x-1,x+2);
		for(i=0;i<n-3;i++){
			if(counter == x-1){
				counter+=4;
			}
			printf("%d\n", counter);
			counter++;
			if(counter == x-1){
				counter+=4;
			}
		}
		return 0;
	}
	for(i=0;i<n-3;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter += 4;
		}
	}
	printf("%d\n%d\n%d\n%d\n",x-2,x+1,x,x-1);
	for(i=0;i<n-2;i++){
		if(counter == x-2){
			counter += 4;
		}
		printf("%d\n", counter);
		counter++;
		if(counter == x-2){
			counter+=4;
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
.LC3:
	.string	"%d\n%d\n%d\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d\n%d\n%d\n%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	je	.L2
	movl	-24(%rbp), %eax
	addl	%eax, %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
.L2:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L3:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	-24(%rbp), %eax
	cmpl	$2, %eax
	jne	.L5
	movl	$3, %ecx
	movl	$2, %edx
	movl	$1, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L23
.L5:
	movl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L6
	movl	$0, -16(%rbp)
	jmp	.L7
.L10:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L8
	addl	$4, -12(%rbp)
.L8:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L9
	addl	$4, -12(%rbp)
.L9:
	addl	$1, -16(%rbp)
.L7:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	movl	-20(%rbp), %eax
	leal	2(%rax), %edi
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %ecx
	leal	1(%rcx), %esi
	movl	%edi, %r8d
	movl	%edx, %ecx
	movl	%eax, %edx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L11
.L14:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L12
	addl	$4, -12(%rbp)
.L12:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L13
	addl	$4, -12(%rbp)
.L13:
	addl	$1, -16(%rbp)
.L11:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L14
	movl	$0, %eax
	jmp	.L23
.L6:
	movl	$0, -16(%rbp)
	jmp	.L15
.L18:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L16
	addl	$4, -12(%rbp)
.L16:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L17
	addl	$4, -12(%rbp)
.L17:
	addl	$1, -16(%rbp)
.L15:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %edx
	addl	$1, %edx
	movl	-20(%rbp), %ecx
	leal	-2(%rcx), %esi
	movl	%edi, %r8d
	movl	%eax, %ecx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L22:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L20
	addl	$4, -12(%rbp)
.L20:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L21
	addl	$4, -12(%rbp)
.L21:
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
.LC3:
	.string	"%d\n%d\n%d\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"%d\n%d\n%d\n%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-20(%rbp), %rdx
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	je	.L2
	movl	-24(%rbp), %eax
	addl	%eax, %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	cmpl	%eax, %edx
	jne	.L3
.L2:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L23
.L3:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	-24(%rbp), %eax
	cmpl	$2, %eax
	jne	.L5
	movl	$3, %ecx
	movl	$2, %edx
	movl	$1, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	jmp	.L23
.L5:
	movl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L6
	movl	$0, -16(%rbp)
	jmp	.L7
.L10:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L8
	addl	$4, -12(%rbp)
.L8:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L9
	addl	$4, -12(%rbp)
.L9:
	addl	$1, -16(%rbp)
.L7:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L10
	movl	-20(%rbp), %eax
	leal	2(%rax), %edi
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %ecx
	leal	1(%rcx), %esi
	movl	%edi, %r8d
	movl	%edx, %ecx
	movl	%eax, %edx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L11
.L14:
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L12
	addl	$4, -12(%rbp)
.L12:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L13
	addl	$4, -12(%rbp)
.L13:
	addl	$1, -16(%rbp)
.L11:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L14
	movl	$0, %eax
	jmp	.L23
.L6:
	movl	$0, -16(%rbp)
	jmp	.L15
.L18:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L16
	addl	$4, -12(%rbp)
.L16:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L17
	addl	$4, -12(%rbp)
.L17:
	addl	$1, -16(%rbp)
.L15:
	movl	-24(%rbp), %eax
	subl	$3, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	-20(%rbp), %eax
	leal	-1(%rax), %edi
	movl	-20(%rbp), %eax
	movl	-20(%rbp), %edx
	addl	$1, %edx
	movl	-20(%rbp), %ecx
	leal	-2(%rcx), %esi
	movl	%edi, %r8d
	movl	%eax, %ecx
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L22:
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L20
	addl	$4, -12(%rbp)
.L20:
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -12(%rbp)
	movl	-20(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -12(%rbp)
	jne	.L21
	addl	$4, -12(%rbp)
.L21:
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -16(%rbp)
	jl	.L22
	movl	$0, %eax
.L23:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
