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

```c
#include<stdio.h>
#include<stdlib.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)

ll n,a,b,c,d;
int main(){
	scanf("%lld%lld%lld%lld%lld",&n,&a,&b,&c,&d);
	d-=c;
	rep(i,0,n){
		//減らすのをi回
		ll kihon=(n-1-2*i)*c;
		ll upper=d*(n-1-i);
		ll lower=-d*i;
		if(kihon+lower<=b-a&&b-a<=kihon+upper){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	leaq	c(%rip), %r8
	leaq	a(%rip), %rdx
	xorl	%eax, %eax
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	d(%rip), %r9
	leaq	b(%rip), %rcx
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	d(%rip), %r10
	movq	c(%rip), %rax
	movq	n(%rip), %r8
	movq	%r10, %rdx
	subq	%rax, %rdx
	movq	%rdx, d(%rip)
	testq	%r8, %r8
	jle	.L2
	leaq	-1(%r8), %rcx
	movq	%rax, %rdi
	movq	%rax, %r9
	movq	b(%rip), %rsi
	imulq	%rcx, %rax
	negq	%rdi
	subq	%r10, %r9
	subq	a(%rip), %rsi
	imulq	%rdx, %rcx
	addq	%rdi, %rdi
	addq	%rdi, %r9
	subq	%rdx, %rdi
	xorl	%edx, %edx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	cmpq	%rax, %rsi
	jl	.L3
	cmpq	%rcx, %rsi
	jle	.L9
.L3:
	addq	$1, %rdx
	addq	%r9, %rax
	addq	%rdi, %rcx
	cmpq	%r8, %rdx
	jne	.L5
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	leaq	c(%rip), %r8
	leaq	a(%rip), %rdx
	xorl	%eax, %eax
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	d(%rip), %r9
	leaq	b(%rip), %rcx
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	d(%rip), %r10
	movq	c(%rip), %rax
	movq	n(%rip), %r8
	movq	%r10, %rdx
	subq	%rax, %rdx
	movq	%rdx, d(%rip)
	testq	%r8, %r8
	jle	.L2
	leaq	-1(%r8), %rcx
	movq	%rax, %rdi
	movq	%rax, %r9
	movq	b(%rip), %rsi
	imulq	%rcx, %rax
	negq	%rdi
	subq	%r10, %r9
	subq	a(%rip), %rsi
	imulq	%rdx, %rcx
	addq	%rdi, %rdi
	addq	%rdi, %r9
	subq	%rdx, %rdi
	xorl	%edx, %edx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	cmpq	%rax, %rsi
	jl	.L3
	cmpq	%rcx, %rsi
	jle	.L9
.L3:
	addq	$1, %rdx
	addq	%r9, %rax
	addq	%rdi, %rcx
	cmpq	%r8, %rdx
	jne	.L5
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	leaq	c(%rip), %r8
	leaq	a(%rip), %rdx
	xorl	%eax, %eax
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	d(%rip), %r9
	leaq	b(%rip), %rcx
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	d(%rip), %r10
	movq	c(%rip), %rax
	movq	n(%rip), %r8
	movq	%r10, %rdx
	subq	%rax, %rdx
	movq	%rdx, d(%rip)
	testq	%r8, %r8
	jle	.L2
	leaq	-1(%r8), %rcx
	movq	%rax, %rdi
	movq	%rax, %r9
	movq	b(%rip), %rsi
	imulq	%rcx, %rax
	negq	%rdi
	subq	%r10, %r9
	subq	a(%rip), %rsi
	imulq	%rdx, %rcx
	addq	%rdi, %rdi
	addq	%rdi, %r9
	subq	%rdx, %rdi
	xorl	%edx, %edx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	cmpq	%rax, %rsi
	jl	.L3
	cmpq	%rcx, %rsi
	jle	.L9
.L3:
	addq	$1, %rdx
	addq	%r9, %rax
	addq	%rdi, %rcx
	cmpq	%r8, %rdx
	jne	.L5
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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:
```
```c
#include<stdio.h>
#include<stdlib.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)

ll n,a,b,c,d;
int main(){
	scanf("%lld%lld%lld%lld%lld",&n,&a,&b,&c,&d);
	d-=c;
	rep(i,0,n){
		//減らすのをi回
		ll kihon=(n-1-2*i)*c;
		ll upper=d*(n-1-i);
		ll lower=-d*i;
		if(kihon+lower<=b-a&&b-a<=kihon+upper){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)

ll n,a,b,c,d;
int main(){
	scanf("%lld%lld%lld%lld%lld",&n,&a,&b,&c,&d);
	d-=c;
	rep(i,0,n){
		//減らすのをi回
		ll kihon=(n-1-2*i)*c;
		ll upper=d*(n-1-i);
		ll lower=-d*i;
		if(kihon+lower<=b-a&&b-a<=kihon+upper){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}```

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.
Optimized Assembly Code:

1788 105960835 681218449 90629745 90632170
 4 7 11 4 5
 491995 412925347 465710940 59999126 59999339
 1788 122437383 681218449 90629745 90632170
 491995 412925347 465710940 59999126 4650906
 4 7 11 4 6
 1788 122437383 681218449 90629745 148553464
 801386 412925347 465710940 59999126 4650906
 4 7 9 4 6
 1788 122437383 541607279 90629745 148553464

NO
 YES
 NO
 NO
 NO
 YES
 YES
 NO
 YES
 YES

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

```c
#include<stdio.h>
#include<stdlib.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)

ll n,a,b,c,d;
int main(){
	scanf("%lld%lld%lld%lld%lld",&n,&a,&b,&c,&d);
	d-=c;
	rep(i,0,n){
		//減らすのをi回
		ll kihon=(n-1-2*i)*c;
		ll upper=d*(n-1-i);
		ll lower=-d*i;
		if(kihon+lower<=b-a&&b-a<=kihon+upper){
			puts("YES");
			return 0;
		}
	}
	puts("NO");
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	leaq	c(%rip), %r8
	leaq	a(%rip), %rdx
	xorl	%eax, %eax
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	d(%rip), %r9
	leaq	b(%rip), %rcx
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	d(%rip), %r10
	movq	c(%rip), %rax
	movq	n(%rip), %r8
	movq	%r10, %rdx
	subq	%rax, %rdx
	movq	%rdx, d(%rip)
	testq	%r8, %r8
	jle	.L2
	leaq	-1(%r8), %rcx
	movq	%rax, %rdi
	movq	%rax, %r9
	movq	b(%rip), %rsi
	imulq	%rcx, %rax
	negq	%rdi
	subq	%r10, %r9
	subq	a(%rip), %rsi
	imulq	%rdx, %rcx
	addq	%rdi, %rdi
	addq	%rdi, %r9
	subq	%rdx, %rdi
	xorl	%edx, %edx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	cmpq	%rax, %rsi
	jl	.L3
	cmpq	%rcx, %rsi
	jle	.L9
.L3:
	addq	$1, %rdx
	addq	%r9, %rax
	addq	%rdi, %rcx
	cmpq	%r8, %rdx
	jne	.L5
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld%lld%lld"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	leaq	c(%rip), %r8
	leaq	a(%rip), %rdx
	xorl	%eax, %eax
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	leaq	d(%rip), %r9
	leaq	b(%rip), %rcx
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	d(%rip), %r10
	movq	c(%rip), %rax
	movq	n(%rip), %r8
	movq	%r10, %rdx
	subq	%rax, %rdx
	movq	%rdx, d(%rip)
	testq	%r8, %r8
	jle	.L2
	leaq	-1(%r8), %rcx
	movq	%rax, %rdi
	movq	%rax, %r9
	movq	b(%rip), %rsi
	imulq	%rcx, %rax
	negq	%rdi
	subq	%r10, %r9
	subq	a(%rip), %rsi
	imulq	%rdx, %rcx
	addq	%rdi, %rdi
	addq	%rdi, %r9
	subq	%rdx, %rdi
	xorl	%edx, %edx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	cmpq	%rax, %rsi
	jl	.L3
	cmpq	%rcx, %rsi
	jle	.L9
.L3:
	addq	$1, %rdx
	addq	%r9, %rax
	addq	%rdi, %rcx
	cmpq	%r8, %rdx
	jne	.L5
.L2:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L4:
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	c
	.align 8
	.type	c, @object
	.size	c, 8
c:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.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:
```