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 <math.h>
#include <string.h>
#include <stdlib.h>

#define llong long long
#define fr(i,l,r) for(i=(l);i<(r);i++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define INF 1000000000000//10^12


int main(void)
{
	//変数の宣言
	int t;
	llong int a,b,c,d;
	llong int gcd;
	
	//よく使う変数
	int i,j,k,l;
	int flag=0;
	int ans=0;
	int count=0;
	llong int temp,temp1,temp2;
	int max,min;
	int len;
	int sum=0;
	//データの読み込み
	scanf("%d",&t);
	
	
//	printf("nは%dです\n", n);
//	printf("データの読み込み終了\n");
	//実際の処理
	
	for(i=0;i<t;i++){
		scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
		
		if(b>d){
			printf("No\n");
		}else{
			temp1=b;
			temp2=d;
		while(temp1!=0&&temp2!=0){
				if(temp1>temp2){
					temp1=temp1%temp2;
				}else{
					temp2=temp2%temp1;
				}
			}
			
			gcd=max(temp1,temp2);
			
			if(a-c>gcd){
//				printf("a=%lld,a-c=%lld,gcd=%lld,(a-c)/gcd=%lld\n",a,a-c,gcd,(a-c)/gcd);
				a=a-((a-c-1)/gcd)*gcd;
			}
//			printf("gcd=%lld,a=%lld\n",gcd,a);
			
			if(a>=b){
				printf("Yes\n");
			}else{
				printf("No\n");
			}
		}
	}
	
	
	
//	printf("計算部分終了\n");
	//出力
	
	
//	printf("結果の出力終了\n");
	
	return 0;
	
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld %lld %lld %lld"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%ebx, %ebx
	leaq	32(%rsp), %r15
	leaq	24(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	.LC2(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L12
.L2:
	movq	%r14, %rcx
	movq	%rbp, %rdi
	movq	%r15, %r8
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rdi
	movq	32(%rsp), %rcx
	cmpq	%rcx, %rdi
	jg	.L3
	testq	%rdi, %rdi
	je	.L16
	movq	%rdi, %rsi
	testq	%rcx, %rcx
	jne	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rsi
	testq	%rsi, %rsi
	je	.L6
.L30:
	testq	%rcx, %rcx
	je	.L6
.L4:
	cmpq	%rsi, %rcx
	jl	.L29
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	jne	.L30
.L6:
	cmpq	%rcx, %rsi
	cmovl	%rcx, %rsi
	movq	8(%rsp), %rcx
	movq	%rcx, %rax
	subq	24(%rsp), %rax
	cmpq	%rsi, %rax
	jle	.L11
	subq	$1, %rax
	cqto
	idivq	%rsi
	imulq	%rsi, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
.L11:
	cmpq	%rcx, %rdi
	jg	.L3
	leaq	.LC3(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movq	%rdi, %rsi
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld %lld %lld %lld"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%ebx, %ebx
	leaq	32(%rsp), %r15
	leaq	24(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	.LC2(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L12
.L2:
	movq	%r14, %rcx
	movq	%rbp, %rdi
	movq	%r15, %r8
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rdi
	movq	32(%rsp), %rcx
	cmpq	%rcx, %rdi
	jg	.L3
	testq	%rdi, %rdi
	je	.L16
	movq	%rdi, %rsi
	testq	%rcx, %rcx
	jne	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rsi
	testq	%rsi, %rsi
	je	.L6
.L30:
	testq	%rcx, %rcx
	je	.L6
.L4:
	cmpq	%rsi, %rcx
	jl	.L29
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	jne	.L30
.L6:
	cmpq	%rcx, %rsi
	cmovl	%rcx, %rsi
	movq	8(%rsp), %rcx
	movq	%rcx, %rax
	subq	24(%rsp), %rax
	cmpq	%rsi, %rax
	jle	.L11
	subq	$1, %rax
	cqto
	idivq	%rsi
	imulq	%rsi, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
.L11:
	cmpq	%rcx, %rdi
	jg	.L3
	leaq	.LC3(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movq	%rdi, %rsi
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld %lld %lld %lld"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%ebx, %ebx
	leaq	32(%rsp), %r15
	leaq	24(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	.LC2(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L12
.L2:
	movq	%r14, %rcx
	movq	%rbp, %rdi
	movq	%r15, %r8
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rdi
	movq	32(%rsp), %rcx
	cmpq	%rcx, %rdi
	jg	.L3
	testq	%rdi, %rdi
	je	.L16
	movq	%rdi, %rsi
	testq	%rcx, %rcx
	jne	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rsi
	testq	%rsi, %rsi
	je	.L6
.L30:
	testq	%rcx, %rcx
	je	.L6
.L4:
	cmpq	%rsi, %rcx
	jl	.L29
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	jne	.L30
.L6:
	cmpq	%rcx, %rsi
	cmovl	%rcx, %rsi
	movq	8(%rsp), %rcx
	movq	%rcx, %rax
	subq	24(%rsp), %rax
	cmpq	%rsi, %rax
	jle	.L11
	subq	$1, %rax
	cqto
	idivq	%rsi
	imulq	%rsi, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
.L11:
	cmpq	%rcx, %rdi
	jg	.L3
	leaq	.LC3(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movq	%rdi, %rsi
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```
```c
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>

#define llong long long
#define fr(i,l,r) for(i=(l);i<(r);i++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define INF 1000000000000//10^12


int main(void)
{
	//変数の宣言
	int t;
	llong int a,b,c,d;
	llong int gcd;
	
	//よく使う変数
	int i,j,k,l;
	int flag=0;
	int ans=0;
	int count=0;
	llong int temp,temp1,temp2;
	int max,min;
	int len;
	int sum=0;
	//データの読み込み
	scanf("%d",&t);
	
	
//	printf("nは%dです\n", n);
//	printf("データの読み込み終了\n");
	//実際の処理
	
	for(i=0;i<t;i++){
		scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
		
		if(b>d){
			printf("No\n");
		}else{
			temp1=b;
			temp2=d;
		while(temp1!=0&&temp2!=0){
				if(temp1>temp2){
					temp1=temp1%temp2;
				}else{
					temp2=temp2%temp1;
				}
			}
			
			gcd=max(temp1,temp2);
			
			if(a-c>gcd){
//				printf("a=%lld,a-c=%lld,gcd=%lld,(a-c)/gcd=%lld\n",a,a-c,gcd,(a-c)/gcd);
				a=a-((a-c-1)/gcd)*gcd;
			}
//			printf("gcd=%lld,a=%lld\n",gcd,a);
			
			if(a>=b){
				printf("Yes\n");
			}else{
				printf("No\n");
			}
		}
	}
	
	
	
//	printf("計算部分終了\n");
	//出力
	
	
//	printf("結果の出力終了\n");
	
	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 <math.h>
#include <string.h>
#include <stdlib.h>

#define llong long long
#define fr(i,l,r) for(i=(l);i<(r);i++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define INF 1000000000000//10^12


int main(void)
{
	//変数の宣言
	int t;
	llong int a,b,c,d;
	llong int gcd;
	
	//よく使う変数
	int i,j,k,l;
	int flag=0;
	int ans=0;
	int count=0;
	llong int temp,temp1,temp2;
	int max,min;
	int len;
	int sum=0;
	//データの読み込み
	scanf("%d",&t);
	
	
//	printf("nは%dです\n", n);
//	printf("データの読み込み終了\n");
	//実際の処理
	
	for(i=0;i<t;i++){
		scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
		
		if(b>d){
			printf("No\n");
		}else{
			temp1=b;
			temp2=d;
		while(temp1!=0&&temp2!=0){
				if(temp1>temp2){
					temp1=temp1%temp2;
				}else{
					temp2=temp2%temp1;
				}
			}
			
			gcd=max(temp1,temp2);
			
			if(a-c>gcd){
//				printf("a=%lld,a-c=%lld,gcd=%lld,(a-c)/gcd=%lld\n",a,a-c,gcd,(a-c)/gcd);
				a=a-((a-c-1)/gcd)*gcd;
			}
//			printf("gcd=%lld,a=%lld\n",gcd,a);
			
			if(a>=b){
				printf("Yes\n");
			}else{
				printf("No\n");
			}
		}
	}
	
	
	
//	printf("計算部分終了\n");
	//出力
	
	
//	printf("結果の出力終了\n");
	
	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:

24
1 2 3 4
1 2 4 3
1 3 2 4
1 3 4 2
1 4 1 3
1 4 3 2
2 1 3 4
2 1 4 3
2 3 1 4
2 3 4 1
2 4 1 3
2 4 3 1
3 1 2 4
3 1 4 2
3 2 1 4
3 2 4 1
3 4 1 2
3 4 2 1
4 1 2 3
4 1 3 2
4 2 1 3
4 2 3 1
4 3 1 2
4 3 2 1
 14
9 7 5 9
9 7 6 9
14 10 7 12
14 10 8 12
14 10 9 12
14 10 7 11
14 10 8 11
14 10 9 11
9 10 5 10
10 10 5 10
11 10 5 10
16 10 5 10
1000000000100000000 17 14 999999999999999985
1000000000000000000 17 15 999999999999999985
 14
9 7 5 9
9 7 6 9
14 10 7 12
14 10 8 12
14 10 9 12
14 10 7 11
14 10 8 11
14 10 9 11
9 10 5 10
10 11 5 10
11 10 5 10
16 10 5 10
1000000000100000000 17 14 999999999999999985
1000000000000000000 17 15 999999999999999985
 14
9 7 5 9
9 7 6 9
14 10 7 12
14 10 15 12
14 10 9 12
14 11 7 11
14 10 8 11
14 10 9 11
9 10 3 10
10 11 5 10
11 10 5 10
16 10 5 10
1000000000100000000 17 14 999999999999999985
1000000000000000000 16 15 999999999999999985
 14
9 7 5 9
9 7 2 9
14 10 7 12
14 10 15 12
14 10 9 12
14 11 7 11
14 10 8 11
14 10 9 11
9 10 3 10
10 11 5 10
11 10 5 10
16 10 5 10
1000000000100000000 17 14 999999999999999985
1000000000000000000 16 15 1358327919252224189
 14
9 7 5 9
9 7 2 9
14 10 7 12
14 10 15 12
14 10 9 12
14 11 7 11
14 10 8 11
14 10 9 11
9 10 3 10
10 11 5 10
11 10 5 10
16 10 5 10
1000000000100000000 17 5 999999999999999985
1000000000000000000 16 15 1358327919252224189
 14
7 7 5 9
9 7 1 9
14 10 7 12
14 10 15 12
14 10 9 12
14 11 7 11
14 10 8 11
14 10 9 11
9 10 3 10
10 13 5 6
11 18 5 10
16 10 5 10
1000010000100000000 17 5 999999999999999985
1000000000000000000 16 15 2424336645253281229
 14
7 7 5 9
15 7 1 9
14 10 7 12
14 10 15 12
14 14 9 11
14 11 7 11
14 10 8 11
14 10 9 11
9 10 3 10
10 13 5 6
11 18 5 10
16 10 5 10
1000010000100000000 17 5 999999999999999985
1000000000000000000 16 15 2424336645253281229
 14
7 7 5 9
15 7 1 9
14 10 7 12
14 10 3 12
14 14 9 11
14 11 5 11
14 10 8 11
14 10 9 11
9 10 3 10
10 13 5 6
11 18 5 10
16 10 5 10
1000010000100000000 17 5 999999999999999985
1000000000000000000 16 15 2424336645253281229
 14
7 7 5 9
15 7 1 9
14 10 7 12
14 10 3 12
14 14 9 11
14 11 5 11
14 10 12 11
14 10 9 11
9 10 3 10
10 13 5 6
11 18 5 10
16 10 5 10
1000010000100000000 17 5 999999999999999985
1000000000000000000 16 15 2424336645253281229

No
No
No
No
No
No
Yes
Yes
No
No
No
No
Yes
Yes
Yes
No
No
No
Yes
Yes
Yes
No
No
No
 No
Yes
No
Yes
Yes
No
No
Yes
No
Yes
Yes
No
Yes
Yes
 No
Yes
No
Yes
Yes
No
No
Yes
No
No
Yes
No
Yes
Yes
 No
Yes
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
 No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
Yes
Yes
 No
No
No
Yes
Yes
Yes
No
Yes
No
No
Yes
No
No
Yes
 No
No
No
Yes
Yes
Yes
No
Yes
No
No
No
No
No
Yes
 No
No
No
Yes
No
Yes
No
Yes
No
No
No
No
No
Yes
 No
No
No
No
No
Yes
No
Yes
No
No
No
No
No
Yes
 No
No
No
No
No
Yes
Yes
Yes
No
No
No
No
No
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 <math.h>
#include <string.h>
#include <stdlib.h>

#define llong long long
#define fr(i,l,r) for(i=(l);i<(r);i++)
#define min(p,q) ((p)<(q)?(p):(q))
#define max(p,q) ((p)>(q)?(p):(q))
#define INF 1000000000000//10^12


int main(void)
{
	//変数の宣言
	int t;
	llong int a,b,c,d;
	llong int gcd;
	
	//よく使う変数
	int i,j,k,l;
	int flag=0;
	int ans=0;
	int count=0;
	llong int temp,temp1,temp2;
	int max,min;
	int len;
	int sum=0;
	//データの読み込み
	scanf("%d",&t);
	
	
//	printf("nは%dです\n", n);
//	printf("データの読み込み終了\n");
	//実際の処理
	
	for(i=0;i<t;i++){
		scanf("%lld %lld %lld %lld",&a,&b,&c,&d);
		
		if(b>d){
			printf("No\n");
		}else{
			temp1=b;
			temp2=d;
		while(temp1!=0&&temp2!=0){
				if(temp1>temp2){
					temp1=temp1%temp2;
				}else{
					temp2=temp2%temp1;
				}
			}
			
			gcd=max(temp1,temp2);
			
			if(a-c>gcd){
//				printf("a=%lld,a-c=%lld,gcd=%lld,(a-c)/gcd=%lld\n",a,a-c,gcd,(a-c)/gcd);
				a=a-((a-c-1)/gcd)*gcd;
			}
//			printf("gcd=%lld,a=%lld\n",gcd,a);
			
			if(a>=b){
				printf("Yes\n");
			}else{
				printf("No\n");
			}
		}
	}
	
	
	
//	printf("計算部分終了\n");
	//出力
	
	
//	printf("結果の出力終了\n");
	
	return 0;
	
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld %lld %lld %lld"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%ebx, %ebx
	leaq	32(%rsp), %r15
	leaq	24(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	.LC2(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L12
.L2:
	movq	%r14, %rcx
	movq	%rbp, %rdi
	movq	%r15, %r8
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rdi
	movq	32(%rsp), %rcx
	cmpq	%rcx, %rdi
	jg	.L3
	testq	%rdi, %rdi
	je	.L16
	movq	%rdi, %rsi
	testq	%rcx, %rcx
	jne	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rsi
	testq	%rsi, %rsi
	je	.L6
.L30:
	testq	%rcx, %rcx
	je	.L6
.L4:
	cmpq	%rsi, %rcx
	jl	.L29
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	jne	.L30
.L6:
	cmpq	%rcx, %rsi
	cmovl	%rcx, %rsi
	movq	8(%rsp), %rcx
	movq	%rcx, %rax
	subq	24(%rsp), %rax
	cmpq	%rsi, %rax
	jle	.L11
	subq	$1, %rax
	cqto
	idivq	%rsi
	imulq	%rsi, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
.L11:
	cmpq	%rcx, %rdi
	jg	.L3
	leaq	.LC3(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movq	%rdi, %rsi
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld %lld %lld %lld"
.LC2:
	.string	"No"
.LC3:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L12
	xorl	%ebx, %ebx
	leaq	32(%rsp), %r15
	leaq	24(%rsp), %r14
	leaq	16(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	.LC2(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jle	.L12
.L2:
	movq	%r14, %rcx
	movq	%rbp, %rdi
	movq	%r15, %r8
	movq	%r13, %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %rdi
	movq	32(%rsp), %rcx
	cmpq	%rcx, %rdi
	jg	.L3
	testq	%rdi, %rdi
	je	.L16
	movq	%rdi, %rsi
	testq	%rcx, %rcx
	jne	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L29:
	movq	%rsi, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rsi
	testq	%rsi, %rsi
	je	.L6
.L30:
	testq	%rcx, %rcx
	je	.L6
.L4:
	cmpq	%rsi, %rcx
	jl	.L29
	movq	%rcx, %rax
	cqto
	idivq	%rsi
	movq	%rdx, %rcx
	testq	%rsi, %rsi
	jne	.L30
.L6:
	cmpq	%rcx, %rsi
	cmovl	%rcx, %rsi
	movq	8(%rsp), %rcx
	movq	%rcx, %rax
	subq	24(%rsp), %rax
	cmpq	%rsi, %rax
	jle	.L11
	subq	$1, %rax
	cqto
	idivq	%rsi
	imulq	%rsi, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
.L11:
	cmpq	%rcx, %rdi
	jg	.L3
	leaq	.LC3(%rip), %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, 4(%rsp)
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	movq	%rdi, %rsi
	jmp	.L6
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```