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,K,i;
    scanf("%d",&A);
    scanf("%d",&B);
    scanf("%d",&C);
    scanf("%d",&K);
    for(i=1;i<=K;i++){
        if(C<=B||C<=A){
            C=C*2;
        }
        else if(B<=A){
            B=B*2;
        }
    }
    if(A<B&&B<C){
        printf("Yes");
    }
    else{
        printf("No");
    }


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r9d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r9d
	movl	16(%rsp), %eax
	addl	$1, %esi
	xorl	%r10d, %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%eax, %r8d
	jge	.L4
	cmpl	%ecx, %r8d
	jl	.L5
	addl	%ecx, %ecx
	movl	$1, %r10d
.L5:
	addl	$1, %edx
	cmpl	%edx, %esi
	je	.L21
.L6:
	cmpl	%ecx, %eax
	jg	.L22
.L4:
	addl	$1, %edx
	addl	%eax, %eax
	movl	$1, %edi
	cmpl	%edx, %esi
	jne	.L6
.L21:
	testb	%r10b, %r10b
	je	.L7
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r9d
.L7:
	testb	%dil, %dil
	je	.L3
	movl	%eax, 16(%rsp)
.L3:
	cmpl	%r9d, 8(%rsp)
	jge	.L9
	cmpl	16(%rsp), %r9d
	jl	.L23
.L9:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L10:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L24:
	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"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r9d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r9d
	movl	16(%rsp), %eax
	addl	$1, %esi
	xorl	%r10d, %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%eax, %r8d
	jge	.L4
	cmpl	%ecx, %r8d
	jl	.L5
	addl	%ecx, %ecx
	movl	$1, %r10d
.L5:
	addl	$1, %edx
	cmpl	%edx, %esi
	je	.L21
.L6:
	cmpl	%ecx, %eax
	jg	.L22
.L4:
	addl	$1, %edx
	addl	%eax, %eax
	movl	$1, %edi
	cmpl	%edx, %esi
	jne	.L6
.L21:
	testb	%r10b, %r10b
	je	.L7
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r9d
.L7:
	testb	%dil, %dil
	je	.L3
	movl	%eax, 16(%rsp)
.L3:
	cmpl	%r9d, 8(%rsp)
	jge	.L9
	cmpl	16(%rsp), %r9d
	jl	.L23
.L9:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L10:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L24:
	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"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r9d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r9d
	movl	16(%rsp), %eax
	addl	$1, %esi
	xorl	%r10d, %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%eax, %r8d
	jge	.L4
	cmpl	%ecx, %r8d
	jl	.L5
	addl	%ecx, %ecx
	movl	$1, %r10d
.L5:
	addl	$1, %edx
	cmpl	%edx, %esi
	je	.L21
.L6:
	cmpl	%ecx, %eax
	jg	.L22
.L4:
	addl	$1, %edx
	addl	%eax, %eax
	movl	$1, %edi
	cmpl	%edx, %esi
	jne	.L6
.L21:
	testb	%r10b, %r10b
	je	.L7
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r9d
.L7:
	testb	%dil, %dil
	je	.L3
	movl	%eax, 16(%rsp)
.L3:
	cmpl	%r9d, 8(%rsp)
	jge	.L9
	cmpl	16(%rsp), %r9d
	jl	.L23
.L9:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L10:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L24:
	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,K,i;
    scanf("%d",&A);
    scanf("%d",&B);
    scanf("%d",&C);
    scanf("%d",&K);
    for(i=1;i<=K;i++){
        if(C<=B||C<=A){
            C=C*2;
        }
        else if(B<=A){
            B=B*2;
        }
    }
    if(A<B&&B<C){
        printf("Yes");
    }
    else{
        printf("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>
int main(){
    int A,B,C,K,i;
    scanf("%d",&A);
    scanf("%d",&B);
    scanf("%d",&C);
    scanf("%d",&K);
    for(i=1;i<=K;i++){
        if(C<=B||C<=A){
            C=C*2;
        }
        else if(B<=A){
            B=B*2;
        }
    }
    if(A<B&&B<C){
        printf("Yes");
    }
    else{
        printf("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:

7 4 4
3
 37 2 2
9
 4 2 5
3
 7 4 4
5
 4 2 5
6
 7 2 4
5
 4 2 3
6
 7 2 4
9
 1 2 3
6
 7 3 4
9

Yes No Yes Yes 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,K,i;
    scanf("%d",&A);
    scanf("%d",&B);
    scanf("%d",&C);
    scanf("%d",&K);
    for(i=1;i<=K;i++){
        if(C<=B||C<=A){
            C=C*2;
        }
        else if(B<=A){
            B=B*2;
        }
    }
    if(A<B&&B<C){
        printf("Yes");
    }
    else{
        printf("No");
    }


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r9d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r9d
	movl	16(%rsp), %eax
	addl	$1, %esi
	xorl	%r10d, %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%eax, %r8d
	jge	.L4
	cmpl	%ecx, %r8d
	jl	.L5
	addl	%ecx, %ecx
	movl	$1, %r10d
.L5:
	addl	$1, %edx
	cmpl	%edx, %esi
	je	.L21
.L6:
	cmpl	%ecx, %eax
	jg	.L22
.L4:
	addl	$1, %edx
	addl	%eax, %eax
	movl	$1, %edi
	cmpl	%edx, %esi
	jne	.L6
.L21:
	testb	%r10b, %r10b
	je	.L7
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r9d
.L7:
	testb	%dil, %dil
	je	.L3
	movl	%eax, 16(%rsp)
.L3:
	cmpl	%r9d, 8(%rsp)
	jge	.L9
	cmpl	16(%rsp), %r9d
	jl	.L23
.L9:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L10:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L24:
	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"
.LC1:
	.string	"Yes"
.LC2:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r9d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r9d
	movl	16(%rsp), %eax
	addl	$1, %esi
	xorl	%r10d, %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	cmpl	%eax, %r8d
	jge	.L4
	cmpl	%ecx, %r8d
	jl	.L5
	addl	%ecx, %ecx
	movl	$1, %r10d
.L5:
	addl	$1, %edx
	cmpl	%edx, %esi
	je	.L21
.L6:
	cmpl	%ecx, %eax
	jg	.L22
.L4:
	addl	$1, %edx
	addl	%eax, %eax
	movl	$1, %edi
	cmpl	%edx, %esi
	jne	.L6
.L21:
	testb	%r10b, %r10b
	je	.L7
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r9d
.L7:
	testb	%dil, %dil
	je	.L3
	movl	%eax, 16(%rsp)
.L3:
	cmpl	%r9d, 8(%rsp)
	jge	.L9
	cmpl	16(%rsp), %r9d
	jl	.L23
.L9:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L10:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L10
.L24:
	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:
```