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>

// 内部定数
#define D_ROBOT_MAX		100000									// 最大ロボット数

// 内部構造体 - ロボット情報
typedef struct Robot {
	int miPos;													// 位置
	int miLen;													// 長さ
} Robot;

// 内部変数
static FILE *szpFpI;											// 入力
static Robot sz1Robot[D_ROBOT_MAX];								// ロボット
static int siRCnt;												// ロボット数

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

// １行出力
int
fOutLine(
	char *pcpLine				// <I> １行
)
{
	char lc1Buf[1024];

#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, pcpLine)) {
		siRes = -1;
	}
#else
	printf("%s", pcpLine);
#endif

	return 0;
}

// ソート関数 - 位置昇順
int
fSortFnc(
	const void *pzpVal1			// <I> 値１
	, const void *pzpVal2		// <I> 値２
)
{
	Robot *lzpVal1 = (Robot *)pzpVal1;
	Robot *lzpVal2 = (Robot *)pzpVal2;

	// 位置昇順
	if (lzpVal1->miPos > lzpVal2->miPos) {
		return 1;
	}
	else if (lzpVal1->miPos < lzpVal2->miPos) {
		return -1;
	}

	return 0;
}

// 実行メイン
int
fMain(
)
{
	int i;
	char lc1Buf[1024];

	// ロボット数 - 取得
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d", &siRCnt);

	// ロボット - 取得
	for (i = 0; i < siRCnt; i++) {
		fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
		sscanf(lc1Buf, "%d%d", &sz1Robot[i].miPos, &sz1Robot[i].miLen);
	}
	qsort(sz1Robot, siRCnt, sizeof(Robot), fSortFnc);

	// 最大個数 - 取得
	int liCnt = 0;
	int liNow = INT_MIN;
	for (i = 0; i < siRCnt; i++) {
		int liL = sz1Robot[i].miPos - sz1Robot[i].miLen;
		int liR = sz1Robot[i].miPos + sz1Robot[i].miLen;

		// 重複チェック
		if (liNow <= liL) {				// なし
			liCnt++;
			liNow = liR;
		}
		else {							// あり
			if (liNow > liR) {
				liNow = liR;
			}
		}
	}

	return liCnt;
}

// １回実行
int
fOne(
)
{
	int liRet;
	char lc1Buf[1024];

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

	// 実行メイン
	liRet = fMain();

	// 出力
	sprintf(lc1Buf, "%d\n", liRet);
	fOutLine(lc1Buf);

	// 残データ有無
#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", siTNo);
	}
	else {
		printf("NG %d\n", siTNo);
	}
#endif

	return 0;
}

// プログラム開始
int
main()
{

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

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.local	szpFpI
	.comm	szpFpI,8,8
	.local	sz1Robot
	.comm	sz1Robot,800000,32
	.local	siRCnt
	.comm	siRCnt,4,4
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	fOutLine
	.type	fOutLine, @function
fOutLine:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%rdi, -1048(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-1048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fOutLine, .-fOutLine
	.globl	fSortFnc
	.type	fSortFnc, @function
fSortFnc:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L6
.L5:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L7
	movl	$-1, %eax
	jmp	.L6
.L7:
	movl	$0, %eax
.L6:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fSortFnc, .-fSortFnc
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1040(%rbp), %rax
	leaq	siRCnt(%rip), %rdx
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	$0, -1060(%rbp)
	jmp	.L9
.L10:
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rcx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rax, %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	addl	$1, -1060(%rbp)
.L9:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L10
	movl	siRCnt(%rip), %eax
	cltq
	leaq	fSortFnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	sz1Robot(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1056(%rbp)
	movl	$-2147483648, -1052(%rbp)
	movl	$0, -1060(%rbp)
	jmp	.L11
.L14:
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-1060(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+sz1Robot(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -1048(%rbp)
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movl	%eax, -1044(%rbp)
	movl	-1052(%rbp), %eax
	cmpl	-1048(%rbp), %eax
	jg	.L12
	addl	$1, -1056(%rbp)
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
	jmp	.L13
.L12:
	movl	-1052(%rbp), %eax
	cmpl	-1044(%rbp), %eax
	jle	.L13
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
.L13:
	addl	$1, -1060(%rbp)
.L11:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L14
	movl	-1056(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fMain, .-fMain
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	fOne
	.type	fOne, @function
fOne:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movl	$0, %eax
	call	fMain
	movl	%eax, -1044(%rbp)
	movl	-1044(%rbp), %edx
	leaq	-1040(%rbp), %rax
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rdi
	call	fOutLine
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fOne, .-fOne
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %eax
	call	fOne
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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
	.p2align 4
	.globl	fSortFnc
	.type	fSortFnc, @function
fSortFnc:
.LFB52:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE52:
	.size	fSortFnc, .-fSortFnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.globl	fOutLine
	.type	fOutLine, @function
fOutLine:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rdx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	fOutLine, .-fOutLine
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.p2align 4
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$1024, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	sz1Robot(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$1040, %rsp
	.cfi_def_cfa_offset 1088
	movq	szpFpI(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 1032(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r12
	movq	%r12, %rdi
	call	fgets@PLT
	leaq	.LC1(%rip), %rsi
	leaq	siRCnt(%rip), %rdx
	xorl	%eax, %eax
	movq	%r12, %rdi
	call	__isoc99_sscanf@PLT
	movslq	siRCnt(%rip), %rsi
	testl	%esi, %esi
	jle	.L8
	movq	%r13, %rbx
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	szpFpI(%rip), %rdx
	movl	$1024, %esi
	movq	%r12, %rdi
	addl	$1, %ebp
	call	fgets@PLT
	leaq	4(%rbx), %rcx
	movq	%rbx, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__isoc99_sscanf@PLT
	movslq	siRCnt(%rip), %rsi
	cmpl	%ebp, %esi
	jg	.L9
.L8:
	movl	$8, %edx
	leaq	fSortFnc(%rip), %rcx
	movq	%r13, %rdi
	call	qsort@PLT
	movl	siRCnt(%rip), %edx
	testl	%edx, %edx
	jle	.L15
	leaq	sz1Robot(%rip), %rax
	leal	-1(%rdx), %ecx
	xorl	%r8d, %r8d
	leaq	8(%rax), %rdx
	leaq	(%rdx,%rcx,8), %rdi
	movl	$-2147483648, %ecx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$8, %rax
	addl	$1, %r8d
	movl	%esi, %ecx
	cmpq	%rax, %rdi
	je	.L7
.L13:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	addl	%edx, %esi
	subl	4(%rax), %edx
	cmpl	%ecx, %edx
	jge	.L20
	cmpl	%esi, %ecx
	cmovg	%esi, %ecx
	addq	$8, %rax
	cmpq	%rax, %rdi
	jne	.L13
.L7:
	movq	1032(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$1040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r8d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	fMain, .-fMain
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	fOne
	.type	fOne, @function
fOne:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	subq	$1040, %rsp
	.cfi_def_cfa_offset 1056
	movq	%fs:40, %rax
	movq	%rax, 1032(%rsp)
	movq	stdin(%rip), %rax
	movq	%rsp, %r12
	movq	%rax, szpFpI(%rip)
	xorl	%eax, %eax
	call	fMain
	movl	$1024, %edx
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %r8d
	leaq	.LC3(%rip), %rcx
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC0(%rip), %rsi
	call	__printf_chk@PLT
	movq	1032(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	fOne, .-fOne
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB55:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	call	fOne
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE55:
	.size	main, .-main
	.local	siRCnt
	.comm	siRCnt,4,4
	.local	sz1Robot
	.comm	sz1Robot,800000,32
	.local	szpFpI
	.comm	szpFpI,8,8
	.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
	.p2align 4
	.globl	fSortFnc
	.type	fSortFnc, @function
fSortFnc:
.LFB52:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE52:
	.size	fSortFnc, .-fSortFnc
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.globl	fOutLine
	.type	fOutLine, @function
fOutLine:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	movq	%rdi, %rdx
	leaq	.LC0(%rip), %rsi
	xorl	%eax, %eax
	movl	$1, %edi
	call	__printf_chk@PLT
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE51:
	.size	fOutLine, .-fOutLine
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.p2align 4
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB53:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$1024, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	sz1Robot(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$1040, %rsp
	.cfi_def_cfa_offset 1088
	movq	szpFpI(%rip), %rdx
	movq	%fs:40, %rax
	movq	%rax, 1032(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %r12
	movq	%r12, %rdi
	call	fgets@PLT
	leaq	.LC1(%rip), %rsi
	leaq	siRCnt(%rip), %rdx
	xorl	%eax, %eax
	movq	%r12, %rdi
	call	__isoc99_sscanf@PLT
	movslq	siRCnt(%rip), %rsi
	testl	%esi, %esi
	jle	.L8
	movq	%r13, %rbx
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r14
	.p2align 4,,10
	.p2align 3
.L9:
	movq	szpFpI(%rip), %rdx
	movl	$1024, %esi
	movq	%r12, %rdi
	addl	$1, %ebp
	call	fgets@PLT
	leaq	4(%rbx), %rcx
	movq	%rbx, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__isoc99_sscanf@PLT
	movslq	siRCnt(%rip), %rsi
	cmpl	%ebp, %esi
	jg	.L9
.L8:
	movl	$8, %edx
	leaq	fSortFnc(%rip), %rcx
	movq	%r13, %rdi
	call	qsort@PLT
	movl	siRCnt(%rip), %edx
	testl	%edx, %edx
	jle	.L15
	leaq	sz1Robot(%rip), %rax
	leal	-1(%rdx), %ecx
	xorl	%r8d, %r8d
	leaq	8(%rax), %rdx
	leaq	(%rdx,%rcx,8), %rdi
	movl	$-2147483648, %ecx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L20:
	addq	$8, %rax
	addl	$1, %r8d
	movl	%esi, %ecx
	cmpq	%rax, %rdi
	je	.L7
.L13:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	addl	%edx, %esi
	subl	4(%rax), %edx
	cmpl	%ecx, %edx
	jge	.L20
	cmpl	%esi, %ecx
	cmovg	%esi, %ecx
	addq	$8, %rax
	cmpq	%rax, %rdi
	jne	.L13
.L7:
	movq	1032(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$1040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r8d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE53:
	.size	fMain, .-fMain
	.section	.rodata.str1.1
.LC3:
	.string	"%d\n"
	.text
	.p2align 4
	.globl	fOne
	.type	fOne, @function
fOne:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	subq	$1040, %rsp
	.cfi_def_cfa_offset 1056
	movq	%fs:40, %rax
	movq	%rax, 1032(%rsp)
	movq	stdin(%rip), %rax
	movq	%rsp, %r12
	movq	%rax, szpFpI(%rip)
	xorl	%eax, %eax
	call	fMain
	movl	$1024, %edx
	movq	%r12, %rdi
	movl	$1, %esi
	movl	%eax, %r8d
	leaq	.LC3(%rip), %rcx
	xorl	%eax, %eax
	call	__sprintf_chk@PLT
	xorl	%eax, %eax
	movq	%r12, %rdx
	movl	$1, %edi
	leaq	.LC0(%rip), %rsi
	call	__printf_chk@PLT
	movq	1032(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	fOne, .-fOne
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB55:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	call	fOne
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE55:
	.size	main, .-main
	.local	siRCnt
	.comm	siRCnt,4,4
	.local	sz1Robot
	.comm	sz1Robot,800000,32
	.local	szpFpI
	.comm	szpFpI,8,8
	.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>

// 内部定数
#define D_ROBOT_MAX		100000									// 最大ロボット数

// 内部構造体 - ロボット情報
typedef struct Robot {
	int miPos;													// 位置
	int miLen;													// 長さ
} Robot;

// 内部変数
static FILE *szpFpI;											// 入力
static Robot sz1Robot[D_ROBOT_MAX];								// ロボット
static int siRCnt;												// ロボット数

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

// １行出力
int
fOutLine(
	char *pcpLine				// <I> １行
)
{
	char lc1Buf[1024];

#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, pcpLine)) {
		siRes = -1;
	}
#else
	printf("%s", pcpLine);
#endif

	return 0;
}

// ソート関数 - 位置昇順
int
fSortFnc(
	const void *pzpVal1			// <I> 値１
	, const void *pzpVal2		// <I> 値２
)
{
	Robot *lzpVal1 = (Robot *)pzpVal1;
	Robot *lzpVal2 = (Robot *)pzpVal2;

	// 位置昇順
	if (lzpVal1->miPos > lzpVal2->miPos) {
		return 1;
	}
	else if (lzpVal1->miPos < lzpVal2->miPos) {
		return -1;
	}

	return 0;
}

// 実行メイン
int
fMain(
)
{
	int i;
	char lc1Buf[1024];

	// ロボット数 - 取得
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d", &siRCnt);

	// ロボット - 取得
	for (i = 0; i < siRCnt; i++) {
		fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
		sscanf(lc1Buf, "%d%d", &sz1Robot[i].miPos, &sz1Robot[i].miLen);
	}
	qsort(sz1Robot, siRCnt, sizeof(Robot), fSortFnc);

	// 最大個数 - 取得
	int liCnt = 0;
	int liNow = INT_MIN;
	for (i = 0; i < siRCnt; i++) {
		int liL = sz1Robot[i].miPos - sz1Robot[i].miLen;
		int liR = sz1Robot[i].miPos + sz1Robot[i].miLen;

		// 重複チェック
		if (liNow <= liL) {				// なし
			liCnt++;
			liNow = liR;
		}
		else {							// あり
			if (liNow > liR) {
				liNow = liR;
			}
		}
	}

	return liCnt;
}

// １回実行
int
fOne(
)
{
	int liRet;
	char lc1Buf[1024];

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

	// 実行メイン
	liRet = fMain();

	// 出力
	sprintf(lc1Buf, "%d\n", liRet);
	fOutLine(lc1Buf);

	// 残データ有無
#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", siTNo);
	}
	else {
		printf("NG %d\n", siTNo);
	}
#endif

	return 0;
}

// プログラム開始
int
main()
{

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

	return 0;
}


5
10 1
2 2
4 1
6 1
8 1
 2
8 20
1 13
 4
2 4
4 3
14 3
100 5
 4
4 16
4 3
6 2
101 5
 5
18 1
2 1
4 1
6 1
8 1
 5
10 1
2 2
4 1
6 1
8 2
 2
12 20
1 13
 4
4 4
4 3
14 3
100 5
 2
12 14
1 13
 4
4 4
4 3
28 3
100 5

4
 1
 3
 2
 5
 3
 1
 3
 1
 3

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>

// 内部定数
#define D_ROBOT_MAX		100000									// 最大ロボット数

// 内部構造体 - ロボット情報
typedef struct Robot {
	int miPos;													// 位置
	int miLen;													// 長さ
} Robot;

// 内部変数
static FILE *szpFpI;											// 入力
static Robot sz1Robot[D_ROBOT_MAX];								// ロボット
static int siRCnt;												// ロボット数

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

// １行出力
int
fOutLine(
	char *pcpLine				// <I> １行
)
{
	char lc1Buf[1024];

#ifdef D_TEST
	lc1Buf[0] = '\0';
	fgets(lc1Buf, sizeof(lc1Buf), szpFpA);
	if (strcmp(lc1Buf, pcpLine)) {
		siRes = -1;
	}
#else
	printf("%s", pcpLine);
#endif

	return 0;
}

// ソート関数 - 位置昇順
int
fSortFnc(
	const void *pzpVal1			// <I> 値１
	, const void *pzpVal2		// <I> 値２
)
{
	Robot *lzpVal1 = (Robot *)pzpVal1;
	Robot *lzpVal2 = (Robot *)pzpVal2;

	// 位置昇順
	if (lzpVal1->miPos > lzpVal2->miPos) {
		return 1;
	}
	else if (lzpVal1->miPos < lzpVal2->miPos) {
		return -1;
	}

	return 0;
}

// 実行メイン
int
fMain(
)
{
	int i;
	char lc1Buf[1024];

	// ロボット数 - 取得
	fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
	sscanf(lc1Buf, "%d", &siRCnt);

	// ロボット - 取得
	for (i = 0; i < siRCnt; i++) {
		fgets(lc1Buf, sizeof(lc1Buf), szpFpI);
		sscanf(lc1Buf, "%d%d", &sz1Robot[i].miPos, &sz1Robot[i].miLen);
	}
	qsort(sz1Robot, siRCnt, sizeof(Robot), fSortFnc);

	// 最大個数 - 取得
	int liCnt = 0;
	int liNow = INT_MIN;
	for (i = 0; i < siRCnt; i++) {
		int liL = sz1Robot[i].miPos - sz1Robot[i].miLen;
		int liR = sz1Robot[i].miPos + sz1Robot[i].miLen;

		// 重複チェック
		if (liNow <= liL) {				// なし
			liCnt++;
			liNow = liR;
		}
		else {							// あり
			if (liNow > liR) {
				liNow = liR;
			}
		}
	}

	return liCnt;
}

// １回実行
int
fOne(
)
{
	int liRet;
	char lc1Buf[1024];

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

	// 実行メイン
	liRet = fMain();

	// 出力
	sprintf(lc1Buf, "%d\n", liRet);
	fOutLine(lc1Buf);

	// 残データ有無
#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", siTNo);
	}
	else {
		printf("NG %d\n", siTNo);
	}
#endif

	return 0;
}

// プログラム開始
int
main()
{

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

	return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.local	szpFpI
	.comm	szpFpI,8,8
	.local	sz1Robot
	.comm	sz1Robot,800000,32
	.local	siRCnt
	.comm	siRCnt,4,4
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	fOutLine
	.type	fOutLine, @function
fOutLine:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%rdi, -1048(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-1048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fOutLine, .-fOutLine
	.globl	fSortFnc
	.type	fSortFnc, @function
fSortFnc:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L6
.L5:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L7
	movl	$-1, %eax
	jmp	.L6
.L7:
	movl	$0, %eax
.L6:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fSortFnc, .-fSortFnc
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1040(%rbp), %rax
	leaq	siRCnt(%rip), %rdx
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	$0, -1060(%rbp)
	jmp	.L9
.L10:
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rcx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rax, %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	addl	$1, -1060(%rbp)
.L9:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L10
	movl	siRCnt(%rip), %eax
	cltq
	leaq	fSortFnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	sz1Robot(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1056(%rbp)
	movl	$-2147483648, -1052(%rbp)
	movl	$0, -1060(%rbp)
	jmp	.L11
.L14:
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-1060(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+sz1Robot(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -1048(%rbp)
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movl	%eax, -1044(%rbp)
	movl	-1052(%rbp), %eax
	cmpl	-1048(%rbp), %eax
	jg	.L12
	addl	$1, -1056(%rbp)
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
	jmp	.L13
.L12:
	movl	-1052(%rbp), %eax
	cmpl	-1044(%rbp), %eax
	jle	.L13
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
.L13:
	addl	$1, -1060(%rbp)
.L11:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L14
	movl	-1056(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fMain, .-fMain
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	fOne
	.type	fOne, @function
fOne:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movl	$0, %eax
	call	fMain
	movl	%eax, -1044(%rbp)
	movl	-1044(%rbp), %edx
	leaq	-1040(%rbp), %rax
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rdi
	call	fOutLine
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fOne, .-fOne
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %eax
	call	fOne
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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
	.local	sz1Robot
	.comm	sz1Robot,800000,32
	.local	siRCnt
	.comm	siRCnt,4,4
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	fOutLine
	.type	fOutLine, @function
fOutLine:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%rdi, -1048(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	-1048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fOutLine, .-fOutLine
	.globl	fSortFnc
	.type	fSortFnc, @function
fSortFnc:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movq	%rsi, -32(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -8(%rbp)
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L6
.L5:
	movq	-16(%rbp), %rax
	movl	(%rax), %edx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jge	.L7
	movl	$-1, %eax
	jmp	.L6
.L7:
	movl	$0, %eax
.L6:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fSortFnc, .-fSortFnc
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
	.text
	.globl	fMain
	.type	fMain, @function
fMain:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1072, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	leaq	-1040(%rbp), %rax
	leaq	siRCnt(%rip), %rdx
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	movl	$0, -1060(%rbp)
	jmp	.L9
.L10:
	movq	szpFpI(%rip), %rdx
	leaq	-1040(%rbp), %rax
	movl	$1024, %esi
	movq	%rax, %rdi
	call	fgets@PLT
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rdx, %rax
	leaq	4(%rax), %rcx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	addq	%rax, %rdx
	leaq	-1040(%rbp), %rax
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_sscanf@PLT
	addl	$1, -1060(%rbp)
.L9:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L10
	movl	siRCnt(%rip), %eax
	cltq
	leaq	fSortFnc(%rip), %rdx
	movq	%rdx, %rcx
	movl	$8, %edx
	movq	%rax, %rsi
	leaq	sz1Robot(%rip), %rax
	movq	%rax, %rdi
	call	qsort@PLT
	movl	$0, -1056(%rbp)
	movl	$-2147483648, -1052(%rbp)
	movl	$0, -1060(%rbp)
	jmp	.L11
.L14:
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-1060(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	4+sz1Robot(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	subl	%edx, %eax
	movl	%eax, -1048(%rbp)
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-1060(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	4+sz1Robot(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%ecx, %eax
	movl	%eax, -1044(%rbp)
	movl	-1052(%rbp), %eax
	cmpl	-1048(%rbp), %eax
	jg	.L12
	addl	$1, -1056(%rbp)
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
	jmp	.L13
.L12:
	movl	-1052(%rbp), %eax
	cmpl	-1044(%rbp), %eax
	jle	.L13
	movl	-1044(%rbp), %eax
	movl	%eax, -1052(%rbp)
.L13:
	addl	$1, -1060(%rbp)
.L11:
	movl	siRCnt(%rip), %eax
	cmpl	%eax, -1060(%rbp)
	jl	.L14
	movl	-1056(%rbp), %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fMain, .-fMain
	.section	.rodata
.LC3:
	.string	"%d\n"
	.text
	.globl	fOne
	.type	fOne, @function
fOne:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$1056, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	stdin(%rip), %rax
	movq	%rax, szpFpI(%rip)
	movl	$0, %eax
	call	fMain
	movl	%eax, -1044(%rbp)
	movl	-1044(%rbp), %edx
	leaq	-1040(%rbp), %rax
	leaq	.LC3(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	leaq	-1040(%rbp), %rax
	movq	%rax, %rdi
	call	fOutLine
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fOne, .-fOne
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	$0, %eax
	call	fOne
	movl	$0, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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:
