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>
int main(){
  int a,b,c,d;
  int kai=1;
  
  scanf("%d %d %d %d",&a,&b,&c,&d);
  
  while(a>0&&c>0){
    if(kai%2==0){
      a=a-d;
    }
    else
      c=c-b;
    
    kai++;
  }
  if(a<=0)
    printf("No");
  else
    printf("Yes");
  
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movl	12(%rsp), %r9d
	movl	16(%rsp), %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movl	20(%rsp), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	jle	.L29
.L7:
	testb	$1, %al
	jne	.L4
	subl	%r8d, %ecx
	addl	$1, %eax
	testl	%ecx, %ecx
	jle	.L30
	movl	$1, %edi
	testl	%edx, %edx
	jg	.L7
.L29:
	testb	%sil, %sil
	je	.L10
	movl	%edx, 16(%rsp)
.L10:
	testb	%dil, %dil
	je	.L11
	movl	%ecx, 8(%rsp)
.L11:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	subl	%r9d, %edx
	addl	$1, %eax
	movl	$1, %esi
	jmp	.L3
.L30:
	testb	%sil, %sil
	jne	.L32
.L12:
	movl	%ecx, 8(%rsp)
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L32:
	movl	%edx, 16(%rsp)
	jmp	.L12
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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 %d %d %d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movl	12(%rsp), %r9d
	movl	16(%rsp), %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movl	20(%rsp), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	jle	.L29
.L7:
	testb	$1, %al
	jne	.L4
	subl	%r8d, %ecx
	addl	$1, %eax
	testl	%ecx, %ecx
	jle	.L30
	movl	$1, %edi
	testl	%edx, %edx
	jg	.L7
.L29:
	testb	%sil, %sil
	je	.L10
	movl	%edx, 16(%rsp)
.L10:
	testb	%dil, %dil
	je	.L11
	movl	%ecx, 8(%rsp)
.L11:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	subl	%r9d, %edx
	addl	$1, %eax
	movl	$1, %esi
	jmp	.L3
.L30:
	testb	%sil, %sil
	jne	.L32
.L12:
	movl	%ecx, 8(%rsp)
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L32:
	movl	%edx, 16(%rsp)
	jmp	.L12
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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 %d %d %d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movl	12(%rsp), %r9d
	movl	16(%rsp), %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movl	20(%rsp), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	jle	.L29
.L7:
	testb	$1, %al
	jne	.L4
	subl	%r8d, %ecx
	addl	$1, %eax
	testl	%ecx, %ecx
	jle	.L30
	movl	$1, %edi
	testl	%edx, %edx
	jg	.L7
.L29:
	testb	%sil, %sil
	je	.L10
	movl	%edx, 16(%rsp)
.L10:
	testb	%dil, %dil
	je	.L11
	movl	%ecx, 8(%rsp)
.L11:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	subl	%r9d, %edx
	addl	$1, %eax
	movl	$1, %esi
	jmp	.L3
.L30:
	testb	%sil, %sil
	jne	.L32
.L12:
	movl	%ecx, 8(%rsp)
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L32:
	movl	%edx, 16(%rsp)
	jmp	.L12
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>
int main(){
  int a,b,c,d;
  int kai=1;
  
  scanf("%d %d %d %d",&a,&b,&c,&d);
  
  while(a>0&&c>0){
    if(kai%2==0){
      a=a-d;
    }
    else
      c=c-b;
    
    kai++;
  }
  if(a<=0)
    printf("No");
  else
    printf("Yes");
  
  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(){
  int a,b,c,d;
  int kai=1;
  
  scanf("%d %d %d %d",&a,&b,&c,&d);
  
  while(a>0&&c>0){
    if(kai%2==0){
      a=a-d;
    }
    else
      c=c-b;
    
    kai++;
  }
  if(a<=0)
    printf("No");
  else
    printf("Yes");
  
  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:

46 4 4 5
 10 9 13 10
 64 4 4 5
 5 9 13 10
 64 8 4 5
 5 9 3 10
 54 8 4 5
 5 13 3 10
 54 8 2 5
 5 14 3 10

Yes No Yes No Yes Yes Yes Yes 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>
int main(){
  int a,b,c,d;
  int kai=1;
  
  scanf("%d %d %d %d",&a,&b,&c,&d);
  
  while(a>0&&c>0){
    if(kai%2==0){
      a=a-d;
    }
    else
      c=c-b;
    
    kai++;
  }
  if(a<=0)
    printf("No");
  else
    printf("Yes");
  
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movl	12(%rsp), %r9d
	movl	16(%rsp), %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movl	20(%rsp), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	jle	.L29
.L7:
	testb	$1, %al
	jne	.L4
	subl	%r8d, %ecx
	addl	$1, %eax
	testl	%ecx, %ecx
	jle	.L30
	movl	$1, %edi
	testl	%edx, %edx
	jg	.L7
.L29:
	testb	%sil, %sil
	je	.L10
	movl	%edx, 16(%rsp)
.L10:
	testb	%dil, %dil
	je	.L11
	movl	%ecx, 8(%rsp)
.L11:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	subl	%r9d, %edx
	addl	$1, %eax
	movl	$1, %esi
	jmp	.L3
.L30:
	testb	%sil, %sil
	jne	.L32
.L12:
	movl	%ecx, 8(%rsp)
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L32:
	movl	%edx, 16(%rsp)
	jmp	.L12
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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 %d %d %d"
.LC1:
	.string	"No"
.LC2:
	.string	"Yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rcx
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L2
	movl	12(%rsp), %r9d
	movl	16(%rsp), %edx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movl	20(%rsp), %r8d
	movl	$1, %eax
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%edx, %edx
	jle	.L29
.L7:
	testb	$1, %al
	jne	.L4
	subl	%r8d, %ecx
	addl	$1, %eax
	testl	%ecx, %ecx
	jle	.L30
	movl	$1, %edi
	testl	%edx, %edx
	jg	.L7
.L29:
	testb	%sil, %sil
	je	.L10
	movl	%edx, 16(%rsp)
.L10:
	testb	%dil, %dil
	je	.L11
	movl	%ecx, 8(%rsp)
.L11:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L31
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	subl	%r9d, %edx
	addl	$1, %eax
	movl	$1, %esi
	jmp	.L3
.L30:
	testb	%sil, %sil
	jne	.L32
.L12:
	movl	%ecx, 8(%rsp)
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L9
.L32:
	movl	%edx, 16(%rsp)
	jmp	.L12
.L31:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```