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>
#include <stdlib.h>
int ordena(const void *a, const void *b){
	return *(int*)a-*(int*)b;
}
int main(){
	int n;
	int l[112345][2];
	scanf("%d", &n);
	for(int i=0; i<n; i++){
		int a, b;
		scanf("%d%d", &a, &b);
		l[i][0] = a+b;
		l[i][1] = a-b;
	}
	qsort(l, n, sizeof(int)*2, ordena);
	int ans=1;
	long now=l[0][0];
	for(int i=1; i<n; i++){
		if(l[i][1]>=now){
			now = l[i][0];
			ans++;
		}
	}
	printf("%d\n", ans);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ordena
	.type	ordena, @function
ordena:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	ordena, .-ordena
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	leaq	-897024(%rsp), %r11
	.cfi_def_cfa 11, 897072
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1760, %rsp
	.cfi_def_cfa_offset 898832
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 898776(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbx
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %edi
	movslq	4(%rsp), %rsi
	addl	%eax, %edi
	subl	12(%rsp), %eax
	movd	%edi, %xmm0
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, 0(%rbp,%r14,8)
	addq	$1, %r14
	cmpl	%r14d, %esi
	jg	.L5
.L4:
	leaq	ordena(%rip), %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	4(%rsp), %edx
	movslq	16(%rsp), %rcx
	cmpl	$1, %edx
	jle	.L10
	subl	$2, %edx
	leaq	24(%rsp), %rax
	movl	$1, %r8d
	leaq	32(%rsp,%rdx,8), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	4(%rax), %rdx
	cmpq	%rdx, %rcx
	jg	.L7
	movslq	(%rax), %rcx
	addl	$1, %r8d
.L7:
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	.L8
.L6:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	898776(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$898784, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %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
.L10:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	ordena
	.type	ordena, @function
ordena:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	ordena, .-ordena
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	leaq	-897024(%rsp), %r11
	.cfi_def_cfa 11, 897072
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1760, %rsp
	.cfi_def_cfa_offset 898832
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 898776(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbx
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %edi
	movslq	4(%rsp), %rsi
	addl	%eax, %edi
	subl	12(%rsp), %eax
	movd	%edi, %xmm0
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, 0(%rbp,%r14,8)
	addq	$1, %r14
	cmpl	%r14d, %esi
	jg	.L5
.L4:
	leaq	ordena(%rip), %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	4(%rsp), %edx
	movslq	16(%rsp), %rcx
	cmpl	$1, %edx
	jle	.L10
	subl	$2, %edx
	leaq	24(%rsp), %rax
	movl	$1, %r8d
	leaq	32(%rsp,%rdx,8), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	4(%rax), %rdx
	cmpq	%rdx, %rcx
	jg	.L7
	movslq	(%rax), %rcx
	addl	$1, %r8d
.L7:
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	.L8
.L6:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	898776(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$898784, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %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
.L10:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	ordena
	.type	ordena, @function
ordena:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	ordena, .-ordena
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	leaq	-897024(%rsp), %r11
	.cfi_def_cfa 11, 897072
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1760, %rsp
	.cfi_def_cfa_offset 898832
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 898776(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbx
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %edi
	movslq	4(%rsp), %rsi
	addl	%eax, %edi
	subl	12(%rsp), %eax
	movd	%edi, %xmm0
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, 0(%rbp,%r14,8)
	addq	$1, %r14
	cmpl	%r14d, %esi
	jg	.L5
.L4:
	leaq	ordena(%rip), %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	4(%rsp), %edx
	movslq	16(%rsp), %rcx
	cmpl	$1, %edx
	jle	.L10
	subl	$2, %edx
	leaq	24(%rsp), %rax
	movl	$1, %r8d
	leaq	32(%rsp,%rdx,8), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	4(%rax), %rdx
	cmpq	%rdx, %rcx
	jg	.L7
	movslq	(%rax), %rcx
	addl	$1, %r8d
.L7:
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	.L8
.L6:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	898776(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$898784, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %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
.L10:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#include <stdlib.h>
int ordena(const void *a, const void *b){
	return *(int*)a-*(int*)b;
}
int main(){
	int n;
	int l[112345][2];
	scanf("%d", &n);
	for(int i=0; i<n; i++){
		int a, b;
		scanf("%d%d", &a, &b);
		l[i][0] = a+b;
		l[i][1] = a-b;
	}
	qsort(l, n, sizeof(int)*2, ordena);
	int ans=1;
	long now=l[0][0];
	for(int i=1; i<n; i++){
		if(l[i][1]>=now){
			now = l[i][0];
			ans++;
		}
	}
	printf("%d\n", ans);
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
int ordena(const void *a, const void *b){
	return *(int*)a-*(int*)b;
}
int main(){
	int n;
	int l[112345][2];
	scanf("%d", &n);
	for(int i=0; i<n; i++){
		int a, b;
		scanf("%d%d", &a, &b);
		l[i][0] = a+b;
		l[i][1] = a-b;
	}
	qsort(l, n, sizeof(int)*2, ordena);
	int ans=1;
	long now=l[0][0];
	for(int i=1; i<n; i++){
		if(l[i][1]>=now){
			now = l[i][0];
			ans++;
		}
	}
	printf("%d\n", ans);
  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:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
int ordena(const void *a, const void *b){
	return *(int*)a-*(int*)b;
}
int main(){
	int n;
	int l[112345][2];
	scanf("%d", &n);
	for(int i=0; i<n; i++){
		int a, b;
		scanf("%d%d", &a, &b);
		l[i][0] = a+b;
		l[i][1] = a-b;
	}
	qsort(l, n, sizeof(int)*2, ordena);
	int ans=1;
	long now=l[0][0];
	for(int i=1; i<n; i++){
		if(l[i][1]>=now){
			now = l[i][0];
			ans++;
		}
	}
	printf("%d\n", ans);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	ordena
	.type	ordena, @function
ordena:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	ordena, .-ordena
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	leaq	-897024(%rsp), %r11
	.cfi_def_cfa 11, 897072
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1760, %rsp
	.cfi_def_cfa_offset 898832
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 898776(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbx
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %edi
	movslq	4(%rsp), %rsi
	addl	%eax, %edi
	subl	12(%rsp), %eax
	movd	%edi, %xmm0
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, 0(%rbp,%r14,8)
	addq	$1, %r14
	cmpl	%r14d, %esi
	jg	.L5
.L4:
	leaq	ordena(%rip), %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	4(%rsp), %edx
	movslq	16(%rsp), %rcx
	cmpl	$1, %edx
	jle	.L10
	subl	$2, %edx
	leaq	24(%rsp), %rax
	movl	$1, %r8d
	leaq	32(%rsp,%rdx,8), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	4(%rax), %rdx
	cmpq	%rdx, %rcx
	jg	.L7
	movslq	(%rax), %rcx
	addl	$1, %r8d
.L7:
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	.L8
.L6:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	898776(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$898784, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %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
.L10:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	ordena
	.type	ordena, @function
ordena:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rdi), %eax
	subl	(%rsi), %eax
	ret
	.cfi_endproc
.LFE39:
	.size	ordena, .-ordena
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	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
	leaq	-897024(%rsp), %r11
	.cfi_def_cfa 11, 897072
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1760, %rsp
	.cfi_def_cfa_offset 898832
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 898776(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movslq	4(%rsp), %rsi
	testl	%esi, %esi
	jle	.L4
	xorl	%r14d, %r14d
	leaq	12(%rsp), %r13
	leaq	8(%rsp), %r12
	leaq	.LC1(%rip), %rbx
	leaq	16(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	12(%rsp), %edi
	movslq	4(%rsp), %rsi
	addl	%eax, %edi
	subl	12(%rsp), %eax
	movd	%edi, %xmm0
	movd	%eax, %xmm1
	punpckldq	%xmm1, %xmm0
	movq	%xmm0, 0(%rbp,%r14,8)
	addq	$1, %r14
	cmpl	%r14d, %esi
	jg	.L5
.L4:
	leaq	ordena(%rip), %rcx
	movl	$8, %edx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	4(%rsp), %edx
	movslq	16(%rsp), %rcx
	cmpl	$1, %edx
	jle	.L10
	subl	$2, %edx
	leaq	24(%rsp), %rax
	movl	$1, %r8d
	leaq	32(%rsp,%rdx,8), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	4(%rax), %rdx
	cmpq	%rdx, %rcx
	jg	.L7
	movslq	(%rax), %rcx
	addl	$1, %r8d
.L7:
	addq	$8, %rax
	cmpq	%rsi, %rax
	jne	.L8
.L6:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	898776(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$898784, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %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
.L10:
	.cfi_restore_state
	movl	$1, %r8d
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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:
```