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 (void){
    int a, b, c;    //  A, B, Cの初期値
    int k;          //  操作可能な回数
    
    scanf("%d%d%d", &a, &b, &c);
    scanf("%d", &k);
    
    for (int i = 0; i < k; i++) {
        if (a < b && b < c) {
            continue;
        }
//        aを2倍することはありえない；問題は「bとcのどちらを2倍するか？」に尽きる
        else if (c <= b) {
            c *= 2;
        }
        else if (b <= a && b <= c) {
            b *= 2;
        }
    }

//    ループの結果、期待通りに並んで場合は「Yes」、それ以外は「No」を表示する
    if (a < b && b < c) {
        printf("Yes\n");
    }
    else {
        printf("No\n");
    }
    
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r10d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	%r10d, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%ecx, %r8d
	jge	.L4
	cmpl	%ecx, %edx
	jg	.L5
.L18:
	addl	$1, %eax
	addl	%edx, %edx
	cmpl	%esi, %eax
	je	.L32
	movl	$1, %edi
	cmpl	%ecx, %r8d
	jge	.L11
.L13:
	cmpl	%edx, %ecx
	jl	.L12
	addl	%edx, %edx
	movl	$1, %edi
.L12:
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L13
.L7:
	testb	%dil, %dil
	je	.L14
.L32:
	movl	%r9d, %edi
.L20:
	movl	%edx, 16(%rsp)
	movl	%edi, %r9d
.L14:
	testb	%r9b, %r9b
	je	.L3
.L21:
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r10d
.L3:
	cmpl	%r10d, 8(%rsp)
	jge	.L16
	cmpl	16(%rsp), %r10d
	jl	.L38
.L16:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmpl	%ecx, %edx
	jle	.L18
	addl	$1, %eax
	addl	%ecx, %ecx
	cmpl	%eax, %esi
	je	.L40
	movl	$1, %r9d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	%eax, %esi
	jne	.L13
	jmp	.L7
.L38:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L40:
	testb	%dil, %dil
	jne	.L20
	jmp	.L21
.L39:
	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"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r10d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	%r10d, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%ecx, %r8d
	jge	.L4
	cmpl	%ecx, %edx
	jg	.L5
.L18:
	addl	$1, %eax
	addl	%edx, %edx
	cmpl	%esi, %eax
	je	.L32
	movl	$1, %edi
	cmpl	%ecx, %r8d
	jge	.L11
.L13:
	cmpl	%edx, %ecx
	jl	.L12
	addl	%edx, %edx
	movl	$1, %edi
.L12:
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L13
.L7:
	testb	%dil, %dil
	je	.L14
.L32:
	movl	%r9d, %edi
.L20:
	movl	%edx, 16(%rsp)
	movl	%edi, %r9d
.L14:
	testb	%r9b, %r9b
	je	.L3
.L21:
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r10d
.L3:
	cmpl	%r10d, 8(%rsp)
	jge	.L16
	cmpl	16(%rsp), %r10d
	jl	.L38
.L16:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmpl	%ecx, %edx
	jle	.L18
	addl	$1, %eax
	addl	%ecx, %ecx
	cmpl	%eax, %esi
	je	.L40
	movl	$1, %r9d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	%eax, %esi
	jne	.L13
	jmp	.L7
.L38:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L40:
	testb	%dil, %dil
	jne	.L20
	jmp	.L21
.L39:
	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"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r10d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	%r10d, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%ecx, %r8d
	jge	.L4
	cmpl	%ecx, %edx
	jg	.L5
.L18:
	addl	$1, %eax
	addl	%edx, %edx
	cmpl	%esi, %eax
	je	.L32
	movl	$1, %edi
	cmpl	%ecx, %r8d
	jge	.L11
.L13:
	cmpl	%edx, %ecx
	jl	.L12
	addl	%edx, %edx
	movl	$1, %edi
.L12:
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L13
.L7:
	testb	%dil, %dil
	je	.L14
.L32:
	movl	%r9d, %edi
.L20:
	movl	%edx, 16(%rsp)
	movl	%edi, %r9d
.L14:
	testb	%r9b, %r9b
	je	.L3
.L21:
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r10d
.L3:
	cmpl	%r10d, 8(%rsp)
	jge	.L16
	cmpl	16(%rsp), %r10d
	jl	.L38
.L16:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmpl	%ecx, %edx
	jle	.L18
	addl	$1, %eax
	addl	%ecx, %ecx
	cmpl	%eax, %esi
	je	.L40
	movl	$1, %r9d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	%eax, %esi
	jne	.L13
	jmp	.L7
.L38:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L40:
	testb	%dil, %dil
	jne	.L20
	jmp	.L21
.L39:
	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 (void){
    int a, b, c;    //  A, B, Cの初期値
    int k;          //  操作可能な回数
    
    scanf("%d%d%d", &a, &b, &c);
    scanf("%d", &k);
    
    for (int i = 0; i < k; i++) {
        if (a < b && b < c) {
            continue;
        }
//        aを2倍することはありえない；問題は「bとcのどちらを2倍するか？」に尽きる
        else if (c <= b) {
            c *= 2;
        }
        else if (b <= a && b <= c) {
            b *= 2;
        }
    }

//    ループの結果、期待通りに並んで場合は「Yes」、それ以外は「No」を表示する
    if (a < b && b < c) {
        printf("Yes\n");
    }
    else {
        printf("No\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>

int main (void){
    int a, b, c;    //  A, B, Cの初期値
    int k;          //  操作可能な回数
    
    scanf("%d%d%d", &a, &b, &c);
    scanf("%d", &k);
    
    for (int i = 0; i < k; i++) {
        if (a < b && b < c) {
            continue;
        }
//        aを2倍することはありえない；問題は「bとcのどちらを2倍するか？」に尽きる
        else if (c <= b) {
            c *= 2;
        }
        else if (b <= a && b <= c) {
            b *= 2;
        }
    }

//    ループの結果、期待通りに並んで場合は「Yes」、それ以外は「No」を表示する
    if (a < b && b < c) {
        printf("Yes\n");
    }
    else {
        printf("No\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:

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 (void){
    int a, b, c;    //  A, B, Cの初期値
    int k;          //  操作可能な回数
    
    scanf("%d%d%d", &a, &b, &c);
    scanf("%d", &k);
    
    for (int i = 0; i < k; i++) {
        if (a < b && b < c) {
            continue;
        }
//        aを2倍することはありえない；問題は「bとcのどちらを2倍するか？」に尽きる
        else if (c <= b) {
            c *= 2;
        }
        else if (b <= a && b <= c) {
            b *= 2;
        }
    }

//    ループの結果、期待通りに並んで場合は「Yes」、それ以外は「No」を表示する
    if (a < b && b < c) {
        printf("Yes\n");
    }
    else {
        printf("No\n");
    }
    
    return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r10d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	%r10d, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%ecx, %r8d
	jge	.L4
	cmpl	%ecx, %edx
	jg	.L5
.L18:
	addl	$1, %eax
	addl	%edx, %edx
	cmpl	%esi, %eax
	je	.L32
	movl	$1, %edi
	cmpl	%ecx, %r8d
	jge	.L11
.L13:
	cmpl	%edx, %ecx
	jl	.L12
	addl	%edx, %edx
	movl	$1, %edi
.L12:
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L13
.L7:
	testb	%dil, %dil
	je	.L14
.L32:
	movl	%r9d, %edi
.L20:
	movl	%edx, 16(%rsp)
	movl	%edi, %r9d
.L14:
	testb	%r9b, %r9b
	je	.L3
.L21:
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r10d
.L3:
	cmpl	%r10d, 8(%rsp)
	jge	.L16
	cmpl	16(%rsp), %r10d
	jl	.L38
.L16:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmpl	%ecx, %edx
	jle	.L18
	addl	$1, %eax
	addl	%ecx, %ecx
	cmpl	%eax, %esi
	je	.L40
	movl	$1, %r9d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	%eax, %esi
	jne	.L13
	jmp	.L7
.L38:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L40:
	testb	%dil, %dil
	jne	.L20
	jmp	.L21
.L39:
	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"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.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
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	movl	12(%rsp), %r10d
	testl	%esi, %esi
	jle	.L3
	movl	12(%rsp), %r10d
	movl	8(%rsp), %r8d
	xorl	%edi, %edi
	xorl	%r9d, %r9d
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	%r10d, %ecx
	.p2align 4,,10
	.p2align 3
.L11:
	cmpl	%ecx, %r8d
	jge	.L4
	cmpl	%ecx, %edx
	jg	.L5
.L18:
	addl	$1, %eax
	addl	%edx, %edx
	cmpl	%esi, %eax
	je	.L32
	movl	$1, %edi
	cmpl	%ecx, %r8d
	jge	.L11
.L13:
	cmpl	%edx, %ecx
	jl	.L12
	addl	%edx, %edx
	movl	$1, %edi
.L12:
	addl	$1, %eax
	cmpl	%eax, %esi
	jg	.L13
.L7:
	testb	%dil, %dil
	je	.L14
.L32:
	movl	%r9d, %edi
.L20:
	movl	%edx, 16(%rsp)
	movl	%edi, %r9d
.L14:
	testb	%r9b, %r9b
	je	.L3
.L21:
	movl	%ecx, 12(%rsp)
	movl	%ecx, %r10d
.L3:
	cmpl	%r10d, 8(%rsp)
	jge	.L16
	cmpl	16(%rsp), %r10d
	jl	.L38
.L16:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
.L17:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmpl	%ecx, %edx
	jle	.L18
	addl	$1, %eax
	addl	%ecx, %ecx
	cmpl	%eax, %esi
	je	.L40
	movl	$1, %r9d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %eax
	cmpl	%eax, %esi
	jne	.L13
	jmp	.L7
.L38:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	jmp	.L17
.L40:
	testb	%dil, %dil
	jne	.L20
	jmp	.L21
.L39:
	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:
```