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

```c
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

// 内部変数
static FILE *szpFpI;											// 入力

// 内部変数 - テスト用
#ifdef D_TEST
	static int siRes;
	static FILE *szpFpA;
#endif

// 実行メイン
int
fMain(
	int piTNo					// <I> テスト番号 1～
)
{
	char lc1Buf[1024], lc1Out[1024];

	// 入力 - セット
#ifdef D_TEST
	sprintf(lc1Buf, ".\\Test\\T%d.txt", piTNo);
	szpFpI = fopen(lc1Buf, "r");
	sprintf(lc1Buf, ".\\Test\\A%d.txt", piTNo);
	szpFpA = fopen(lc1Buf, "r");
	siRes = 0;
#else
	szpFpI = stdin;
#endif

	// 条件 - 取得
	int liK, liA, liB;
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d%d%d", &liK, &liA, &liB);

	// 最大値 - 取得
	long long llMax;
	if (liA + 2 >= liB) {
		llMax = 1 + liK;
	}
	else if (liK < liA - 1) {
		llMax = 1 + liK;
	}
	else {

		// 叩く回数
		liK -= liA - 1;
		if (liK % 2 == 0) {
			llMax = liA;
		}
		else {
			llMax = liA + 1;
			liK--;
		}

		// A->Bの変換
		int liCnt = liK / 2;
		llMax += (long long)(liB - liA) * (long long)liCnt;
	}

	// 結果 - セット
	sprintf(lc1Out, "%lld\n", llMax);

	// 結果 - 表示
#ifdef D_TEST
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, lc1Out)) {
		siRes = -1;
	}
#else
	printf("%s", lc1Out);
#endif

	// 残データ有無
#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, "")) {
		siRes = -1;
	}
#endif

	// テストファイルクローズ
#ifdef D_TEST
	fclose(szpFpI);
	fclose(szpFpA);
#endif

	// テスト結果
#ifdef D_TEST
	if (siRes == 0) {
		printf("OK %d\n", piTNo);
	}
	else {
		printf("NG %d\n", piTNo);
	}
#endif

	return 0;
}

int
main()
{

#ifdef D_TEST
	int i;
	for (i = D_TEST_SNO; i <= D_TEST_ENO; i++) {
		fMain(i);
	}
#else
	fMain(0);
#endif

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.local	szpFpI
	.comm	szpFpI,8,8
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%s"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2112, %rsp
	movl	%edi, -2100(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movq	szpFpI(%rip), %rdx
	leaq	-2064(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-2080(%rbp), %rsi
	leaq	-2084(%rbp), %rcx
	leaq	-2088(%rbp), %rdx
	leaq	-2064(%rbp), %rax
	movq	%rsi, %r8
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-2084(%rbp), %eax
	leal	2(%rax), %edx
	movl	-2080(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L2
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L2:
	movl	-2084(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2088(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L4:
	movl	-2088(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	$1, %edx
	subl	%edx, %eax
	movl	%eax, -2088(%rbp)
	movl	-2088(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-2084(%rbp), %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L6
.L5:
	movl	-2084(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	movl	-2088(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -2088(%rbp)
.L6:
	movl	-2088(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -2076(%rbp)
	movl	-2080(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	%edx, %eax
	movslq	%eax, %rdx
	movl	-2076(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rax, -2072(%rbp)
.L3:
	movq	-2072(%rbp), %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fMain, .-fMain
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %edi
	call	fMain
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%s"
	.text
	.p2align 4
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	$1024, %esi
	subq	$2080, %rsp
	.cfi_def_cfa_offset 2096
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 2072(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r12
	movq	%r12, %rdi
	call	fgets@PLT
	leaq	8(%rsp), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	leaq	12(%rsp), %r8
	leaq	.LC0(%rip), %rsi
	call	__isoc99_sscanf@PLT
	movl	8(%rsp), %ecx
	movl	12(%rsp), %eax
	leal	2(%rcx), %edx
	cmpl	%eax, %edx
	jl	.L2
	movl	4(%rsp), %eax
	leal	1(%rax), %r8d
	movslq	%r8d, %r8
.L3:
	leaq	1040(%rsp), %r12
	movl	$1024, %edx
	movl	$1, %esi
	xorl	%eax, %eax
	movq	%r12, %rdi
	leaq	.LC1(%rip), %rcx
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$2080, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movl	4(%rsp), %edx
	leal	-1(%rcx), %esi
	cmpl	%edx, %esi
	jle	.L4
	addl	$1, %edx
	movslq	%edx, %r8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subl	%esi, %edx
	testb	$1, %dl
	je	.L11
	subl	$1, %edx
	leal	1(%rcx), %esi
	movl	%edx, 4(%rsp)
	movslq	%esi, %rsi
.L6:
	subl	%ecx, %eax
	sarl	%edx
	movslq	%eax, %r8
	movslq	%edx, %rdx
	imulq	%rdx, %r8
	addq	%rsi, %r8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, 4(%rsp)
	movslq	%ecx, %rsi
	jmp	.L6
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	fMain, .-fMain
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	xorl	%edi, %edi
	call	fMain
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE52:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%s"
	.text
	.p2align 4
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	$1024, %esi
	subq	$2080, %rsp
	.cfi_def_cfa_offset 2096
	movq	stdin(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 2072(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r12
	movq	%r12, %rdi
	call	fgets@PLT
	leaq	8(%rsp), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	leaq	12(%rsp), %r8
	leaq	.LC0(%rip), %rsi
	call	__isoc99_sscanf@PLT
	movl	8(%rsp), %ecx
	movl	12(%rsp), %eax
	leal	2(%rcx), %edx
	cmpl	%eax, %edx
	jl	.L2
	movl	4(%rsp), %eax
	leal	1(%rax), %r8d
	movslq	%r8d, %r8
.L3:
	leaq	1040(%rsp), %r12
	movl	$1024, %edx
	movl	$1, %esi
	xorl	%eax, %eax
	movq	%r12, %rdi
	leaq	.LC1(%rip), %rcx
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	2072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L10
	addq	$2080, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movl	4(%rsp), %edx
	leal	-1(%rcx), %esi
	cmpl	%edx, %esi
	jle	.L4
	addl	$1, %edx
	movslq	%edx, %r8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	subl	%esi, %edx
	testb	$1, %dl
	je	.L11
	subl	$1, %edx
	leal	1(%rcx), %esi
	movl	%edx, 4(%rsp)
	movslq	%esi, %rsi
.L6:
	subl	%ecx, %eax
	sarl	%edx
	movslq	%eax, %r8
	movslq	%edx, %rdx
	imulq	%rdx, %r8
	addq	%rsi, %r8
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%edx, 4(%rsp)
	movslq	%ecx, %rsi
	jmp	.L6
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	fMain, .-fMain
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB52:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	xorl	%edi, %edi
	call	fMain
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE52:
	.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:

#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

// 内部変数
static FILE *szpFpI;											// 入力

// 内部変数 - テスト用
#ifdef D_TEST
	static int siRes;
	static FILE *szpFpA;
#endif

// 実行メイン
int
fMain(
	int piTNo					// <I> テスト番号 1～
)
{
	char lc1Buf[1024], lc1Out[1024];

	// 入力 - セット
#ifdef D_TEST
	sprintf(lc1Buf, ".\\Test\\T%d.txt", piTNo);
	szpFpI = fopen(lc1Buf, "r");
	sprintf(lc1Buf, ".\\Test\\A%d.txt", piTNo);
	szpFpA = fopen(lc1Buf, "r");
	siRes = 0;
#else
	szpFpI = stdin;
#endif

	// 条件 - 取得
	int liK, liA, liB;
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d%d%d", &liK, &liA, &liB);

	// 最大値 - 取得
	long long llMax;
	if (liA + 2 >= liB) {
		llMax = 1 + liK;
	}
	else if (liK < liA - 1) {
		llMax = 1 + liK;
	}
	else {

		// 叩く回数
		liK -= liA - 1;
		if (liK % 2 == 0) {
			llMax = liA;
		}
		else {
			llMax = liA + 1;
			liK--;
		}

		// A->Bの変換
		int liCnt = liK / 2;
		llMax += (long long)(liB - liA) * (long long)liCnt;
	}

	// 結果 - セット
	sprintf(lc1Out, "%lld\n", llMax);

	// 結果 - 表示
#ifdef D_TEST
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, lc1Out)) {
		siRes = -1;
	}
#else
	printf("%s", lc1Out);
#endif

	// 残データ有無
#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, "")) {
		siRes = -1;
	}
#endif

	// テストファイルクローズ
#ifdef D_TEST
	fclose(szpFpI);
	fclose(szpFpA);
#endif

	// テスト結果
#ifdef D_TEST
	if (siRes == 0) {
		printf("OK %d\n", piTNo);
	}
	else {
		printf("NG %d\n", piTNo);
	}
#endif

	return 0;
}

int
main()
{

#ifdef D_TEST
	int i;
	for (i = D_TEST_SNO; i <= D_TEST_ENO; i++) {
		fMain(i);
	}
#else
	fMain(0);
#endif

	return 0;
}


5 2 6
 7 5 4
 314159265 35897932 35610649
 5 3 6
 7 1 4
 3 3 6
 407766107 35897932 14836778
 7 2 6
 407766107 9307229 14836778
 407766107 9307229 25447105

10
 8
 314159266
 7
 11
 4
 407766108
 14
 1101648954500241
 3215538450316794

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

```c
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

// 内部変数
static FILE *szpFpI;											// 入力

// 内部変数 - テスト用
#ifdef D_TEST
	static int siRes;
	static FILE *szpFpA;
#endif

// 実行メイン
int
fMain(
	int piTNo					// <I> テスト番号 1～
)
{
	char lc1Buf[1024], lc1Out[1024];

	// 入力 - セット
#ifdef D_TEST
	sprintf(lc1Buf, ".\\Test\\T%d.txt", piTNo);
	szpFpI = fopen(lc1Buf, "r");
	sprintf(lc1Buf, ".\\Test\\A%d.txt", piTNo);
	szpFpA = fopen(lc1Buf, "r");
	siRes = 0;
#else
	szpFpI = stdin;
#endif

	// 条件 - 取得
	int liK, liA, liB;
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d%d%d", &liK, &liA, &liB);

	// 最大値 - 取得
	long long llMax;
	if (liA + 2 >= liB) {
		llMax = 1 + liK;
	}
	else if (liK < liA - 1) {
		llMax = 1 + liK;
	}
	else {

		// 叩く回数
		liK -= liA - 1;
		if (liK % 2 == 0) {
			llMax = liA;
		}
		else {
			llMax = liA + 1;
			liK--;
		}

		// A->Bの変換
		int liCnt = liK / 2;
		llMax += (long long)(liB - liA) * (long long)liCnt;
	}

	// 結果 - セット
	sprintf(lc1Out, "%lld\n", llMax);

	// 結果 - 表示
#ifdef D_TEST
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, lc1Out)) {
		siRes = -1;
	}
#else
	printf("%s", lc1Out);
#endif

	// 残データ有無
#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, "")) {
		siRes = -1;
	}
#endif

	// テストファイルクローズ
#ifdef D_TEST
	fclose(szpFpI);
	fclose(szpFpA);
#endif

	// テスト結果
#ifdef D_TEST
	if (siRes == 0) {
		printf("OK %d\n", piTNo);
	}
	else {
		printf("NG %d\n", piTNo);
	}
#endif

	return 0;
}

int
main()
{

#ifdef D_TEST
	int i;
	for (i = D_TEST_SNO; i <= D_TEST_ENO; i++) {
		fMain(i);
	}
#else
	fMain(0);
#endif

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.local	szpFpI
	.comm	szpFpI,8,8
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%s"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2112, %rsp
	movl	%edi, -2100(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movq	szpFpI(%rip), %rdx
	leaq	-2064(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-2080(%rbp), %rsi
	leaq	-2084(%rbp), %rcx
	leaq	-2088(%rbp), %rdx
	leaq	-2064(%rbp), %rax
	movq	%rsi, %r8
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-2084(%rbp), %eax
	leal	2(%rax), %edx
	movl	-2080(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L2
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L2:
	movl	-2084(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2088(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L4:
	movl	-2088(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	$1, %edx
	subl	%edx, %eax
	movl	%eax, -2088(%rbp)
	movl	-2088(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-2084(%rbp), %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L6
.L5:
	movl	-2084(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	movl	-2088(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -2088(%rbp)
.L6:
	movl	-2088(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -2076(%rbp)
	movl	-2080(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	%edx, %eax
	movslq	%eax, %rdx
	movl	-2076(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rax, -2072(%rbp)
.L3:
	movq	-2072(%rbp), %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fMain, .-fMain
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %edi
	call	fMain
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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.
train
	.file	"temp.c"
	.text
	.local	szpFpI
	.comm	szpFpI,8,8
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%s"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$2112, %rsp
	movl	%edi, -2100(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movq	szpFpI(%rip), %rdx
	leaq	-2064(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-2080(%rbp), %rsi
	leaq	-2084(%rbp), %rcx
	leaq	-2088(%rbp), %rdx
	leaq	-2064(%rbp), %rax
	movq	%rsi, %r8
	leaq	.LC0(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	-2084(%rbp), %eax
	leal	2(%rax), %edx
	movl	-2080(%rbp), %eax
	cmpl	%eax, %edx
	jl	.L2
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L2:
	movl	-2084(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-2088(%rbp), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	-2088(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L3
.L4:
	movl	-2088(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	$1, %edx
	subl	%edx, %eax
	movl	%eax, -2088(%rbp)
	movl	-2088(%rbp), %eax
	andl	$1, %eax
	testl	%eax, %eax
	jne	.L5
	movl	-2084(%rbp), %eax
	cltq
	movq	%rax, -2072(%rbp)
	jmp	.L6
.L5:
	movl	-2084(%rbp), %eax
	addl	$1, %eax
	cltq
	movq	%rax, -2072(%rbp)
	movl	-2088(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -2088(%rbp)
.L6:
	movl	-2088(%rbp), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -2076(%rbp)
	movl	-2080(%rbp), %eax
	movl	-2084(%rbp), %edx
	subl	%edx, %eax
	movslq	%eax, %rdx
	movl	-2076(%rbp), %eax
	cltq
	imulq	%rdx, %rax
	addq	%rax, -2072(%rbp)
.L3:
	movq	-2072(%rbp), %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fMain, .-fMain
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %edi
	call	fMain
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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:
