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

```c
#include <stdio.h>
#define max(x, y) ((x)<(y) ? (y) : (x))
#define swap(type, x, y) do{ type t = x; x = y; y = t; }while(0)

void quick(int a[], int left, int right, int b[]){
  int pl = left, pr = right, x = a[(left+right)/2];
  do{
    while(a[pl] < x)  pl++;
    while(a[pr] > x)  pr--;
    if(pl <= pr){
      swap(int, a[pl], a[pr]);
      swap(int, b[pl], b[pr]);
      pl++, pr--;
    }
  }while(pl <= pr);
  if(pl < right)  quick(a, pl, right, b);
  if(pr > left)   quick(a, left, pr, b);
}

int main(){
  int n;  scanf("%d", &n);
  int s[100005] = {0}, g[100005] = {0};
  int longest = -(1<<30);
  for(int i=1; i<=n; i++){
    int x, l;  scanf("%d %d", &x, &l);
    s[i] = x - l;
    g[i] = x + l;
  }

  quick(g, 1, n, s);
  s[n+2] = 1<<30;
  int now = g[1], count = 1, idx = 1;
  while(idx < n){
    while(s[idx] < now)  idx++;
    if(idx <= n)  count++;
    now = g[idx];
  }

  printf("%d\n", count);

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	quick
	.type	quick, @function
quick:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jg	.L3
	jmp	.L4
.L5:
	subl	$1, -16(%rbp)
.L4:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L6
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -20(%rbp)
	subl	$1, -16(%rbp)
.L6:
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L2
	movl	-20(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jge	.L8
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-20(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L8:
	movl	-16(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jle	.L10
	movq	-56(%rbp), %rcx
	movl	-16(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quick, .-quick
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1376, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800096(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-800064(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-400032(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$-1073741824, -800068(%rbp)
	movl	$1, -800084(%rbp)
	jmp	.L12
.L13:
	leaq	-800088(%rbp), %rdx
	leaq	-800092(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800092(%rbp), %eax
	movl	-800088(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -800064(%rbp,%rax,4)
	movl	-800092(%rbp), %edx
	movl	-800088(%rbp), %eax
	addl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -400032(%rbp,%rax,4)
	addl	$1, -800084(%rbp)
.L12:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800084(%rbp)
	jle	.L13
	movl	-800096(%rbp), %edx
	leaq	-800064(%rbp), %rcx
	leaq	-400032(%rbp), %rax
	movl	$1, %esi
	movq	%rax, %rdi
	call	quick
	movl	-800096(%rbp), %eax
	addl	$2, %eax
	cltq
	movl	$1073741824, -800064(%rbp,%rax,4)
	movl	-400028(%rbp), %eax
	movl	%eax, -800080(%rbp)
	movl	$1, -800076(%rbp)
	movl	$1, -800072(%rbp)
	jmp	.L14
.L16:
	addl	$1, -800072(%rbp)
.L15:
	movl	-800072(%rbp), %eax
	cltq
	movl	-800064(%rbp,%rax,4), %eax
	cmpl	%eax, -800080(%rbp)
	jg	.L16
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jg	.L17
	addl	$1, -800076(%rbp)
.L17:
	movl	-800072(%rbp), %eax
	cltq
	movl	-400032(%rbp,%rax,4), %eax
	movl	%eax, -800080(%rbp)
.L14:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jl	.L15
	movl	-800076(%rbp), %eax
	movl	%eax, %esi
	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	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	quick
	.type	quick, @function
quick:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%esi, %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%edx, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rcx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	movq	%rax, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%eax, 8(%rsp)
	salq	$2, %rax
	movq	%rax, (%rsp)
	leal	1(%rdi), %eax
	movl	%eax, 12(%rsp)
.L8:
	movl	8(%rsp), %r10d
	movl	12(%rsp), %r11d
	movl	%r14d, %ebx
	movq	(%rsp), %r9
	leal	(%r10,%r14), %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	movslq	%r14d, %rdx
	sarl	%eax
	cltq
	movl	0(%rbp,%rax,4), %r8d
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	0(,%rdx,4), %rsi
	movl	0(%rbp,%r9), %r15d
	movl	%r10d, %r13d
	leaq	0(%rbp,%rsi), %rdi
	movl	(%rdi), %ecx
	cmpl	%r8d, %r15d
	jl	.L3
	cmpl	%ecx, %r8d
	jge	.L4
	leal	-1(%rbx), %eax
	leaq	-4(%rbp,%rdx,4), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdx), %ecx
	movl	%eax, %ebx
	leaq	0(,%rax,4), %rsi
	movq	%rdx, %rdi
	subq	$1, %rax
	subq	$4, %rdx
	cmpl	%r8d, %ecx
	jg	.L5
.L4:
	cmpl	%r10d, %ebx
	jge	.L14
.L6:
	cmpl	%r13d, %r14d
	jg	.L15
.L7:
	cmpl	%ebx, 8(%rsp)
	jge	.L16
	movl	%ebx, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	addq	%r12, %rsi
	movl	%ecx, 0(%rbp,%r9)
	subl	$1, %ebx
	movl	%r11d, %r13d
	movl	%r15d, (%rdi)
	movl	(%r12,%r9), %eax
	movl	(%rsi), %edx
	movl	%edx, (%r12,%r9)
	movl	%eax, (%rsi)
	cmpl	%ebx, %r11d
	jg	.L6
	movslq	%ebx, %rdx
.L3:
	addl	$1, %r11d
	addl	$1, %r10d
	addq	$4, %r9
	jmp	.L2
.L16:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movq	%r12, %rcx
	movl	%r14d, %edx
	movl	%r13d, %esi
	movq	%rbp, %rdi
	call	quick
	jmp	.L7
	.cfi_endproc
.LFE23:
	.size	quick, .-quick
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1368, %rsp
	.cfi_def_cfa_offset 800144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800072(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbx
	leaq	400048(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	$400020, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	$400020, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	movl	4(%rsp), %edx
	testl	%edx, %edx
	jle	.L18
	movl	$1, %ebp
	leaq	12(%rsp), %r15
	leaq	8(%rsp), %r14
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	%eax, %edx
	subl	12(%rsp), %edx
	addl	12(%rsp), %eax
	movl	%edx, (%rbx,%rbp,4)
	movl	4(%rsp), %edx
	movl	%eax, (%r12,%rbp,4)
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jge	.L19
.L18:
	movq	%rbx, %rcx
	movl	$1, %esi
	movq	%r12, %rdi
	call	quick
	movl	4(%rsp), %edi
	movl	$1, %edx
	movl	400052(%rsp), %ecx
	movl	$1, %r8d
	movl	$1, %esi
	leal	2(%rdi), %eax
	cltq
	movl	$1073741824, 16(%rsp,%rax,4)
	cmpl	$1, %edi
	jle	.L21
	.p2align 4,,10
	.p2align 3
.L20:
	leal	1(%rdx), %eax
	cltq
	cmpl	%ecx, 16(%rsp,%rsi,4)
	jge	.L25
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%eax, %edx
	addq	$1, %rax
	cmpl	%ecx, -4(%rbx,%rax,4)
	jl	.L22
	movslq	%edx, %rsi
	movl	400048(%rsp,%rsi,4), %ecx
.L25:
	cmpl	%edx, %edi
	jge	.L33
.L21:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	800072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$800088, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	%edx, %edi
	jg	.L20
	jmp	.L21
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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
	.p2align 4
	.globl	quick
	.type	quick, @function
quick:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%esi, %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%edx, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rcx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	movq	%rax, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	%eax, 8(%rsp)
	salq	$2, %rax
	movq	%rax, (%rsp)
	leal	1(%rdi), %eax
	movl	%eax, 12(%rsp)
.L8:
	movl	8(%rsp), %r10d
	movl	12(%rsp), %r11d
	movl	%r14d, %ebx
	movq	(%rsp), %r9
	leal	(%r10,%r14), %edx
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	movslq	%r14d, %rdx
	sarl	%eax
	cltq
	movl	0(%rbp,%rax,4), %r8d
	.p2align 4,,10
	.p2align 3
.L2:
	leaq	0(,%rdx,4), %rsi
	movl	0(%rbp,%r9), %r15d
	movl	%r10d, %r13d
	leaq	0(%rbp,%rsi), %rdi
	movl	(%rdi), %ecx
	cmpl	%r8d, %r15d
	jl	.L3
	cmpl	%ecx, %r8d
	jge	.L4
	leal	-1(%rbx), %eax
	leaq	-4(%rbp,%rdx,4), %rdx
	cltq
	.p2align 4,,10
	.p2align 3
.L5:
	movl	(%rdx), %ecx
	movl	%eax, %ebx
	leaq	0(,%rax,4), %rsi
	movq	%rdx, %rdi
	subq	$1, %rax
	subq	$4, %rdx
	cmpl	%r8d, %ecx
	jg	.L5
.L4:
	cmpl	%r10d, %ebx
	jge	.L14
.L6:
	cmpl	%r13d, %r14d
	jg	.L15
.L7:
	cmpl	%ebx, 8(%rsp)
	jge	.L16
	movl	%ebx, %r14d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L14:
	addq	%r12, %rsi
	movl	%ecx, 0(%rbp,%r9)
	subl	$1, %ebx
	movl	%r11d, %r13d
	movl	%r15d, (%rdi)
	movl	(%r12,%r9), %eax
	movl	(%rsi), %edx
	movl	%edx, (%r12,%r9)
	movl	%eax, (%rsi)
	cmpl	%ebx, %r11d
	jg	.L6
	movslq	%ebx, %rdx
.L3:
	addl	$1, %r11d
	addl	$1, %r10d
	addq	$4, %r9
	jmp	.L2
.L16:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L15:
	.cfi_restore_state
	movq	%r12, %rcx
	movl	%r14d, %edx
	movl	%r13d, %esi
	movq	%rbp, %rdi
	call	quick
	jmp	.L7
	.cfi_endproc
.LFE23:
	.size	quick, .-quick
	.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:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-798720(%rsp), %r11
	.cfi_def_cfa 11, 798776
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1368, %rsp
	.cfi_def_cfa_offset 800144
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 800072(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	leaq	16(%rsp), %rbx
	leaq	400048(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	$400020, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	memset@PLT
	movl	$400020, %edx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	movl	4(%rsp), %edx
	testl	%edx, %edx
	jle	.L18
	movl	$1, %ebp
	leaq	12(%rsp), %r15
	leaq	8(%rsp), %r14
	leaq	.LC1(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	movl	%eax, %edx
	subl	12(%rsp), %edx
	addl	12(%rsp), %eax
	movl	%edx, (%rbx,%rbp,4)
	movl	4(%rsp), %edx
	movl	%eax, (%r12,%rbp,4)
	addq	$1, %rbp
	cmpl	%ebp, %edx
	jge	.L19
.L18:
	movq	%rbx, %rcx
	movl	$1, %esi
	movq	%r12, %rdi
	call	quick
	movl	4(%rsp), %edi
	movl	$1, %edx
	movl	400052(%rsp), %ecx
	movl	$1, %r8d
	movl	$1, %esi
	leal	2(%rdi), %eax
	cltq
	movl	$1073741824, 16(%rsp,%rax,4)
	cmpl	$1, %edi
	jle	.L21
	.p2align 4,,10
	.p2align 3
.L20:
	leal	1(%rdx), %eax
	cltq
	cmpl	%ecx, 16(%rsp,%rsi,4)
	jge	.L25
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%eax, %edx
	addq	$1, %rax
	cmpl	%ecx, -4(%rbx,%rax,4)
	jl	.L22
	movslq	%edx, %rsi
	movl	400048(%rsp,%rsi,4), %ecx
.L25:
	cmpl	%edx, %edi
	jge	.L33
.L21:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	800072(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$800088, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	addl	$1, %r8d
	cmpl	%edx, %edi
	jg	.L20
	jmp	.L21
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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 <stdio.h>
#define max(x, y) ((x)<(y) ? (y) : (x))
#define swap(type, x, y) do{ type t = x; x = y; y = t; }while(0)

void quick(int a[], int left, int right, int b[]){
  int pl = left, pr = right, x = a[(left+right)/2];
  do{
    while(a[pl] < x)  pl++;
    while(a[pr] > x)  pr--;
    if(pl <= pr){
      swap(int, a[pl], a[pr]);
      swap(int, b[pl], b[pr]);
      pl++, pr--;
    }
  }while(pl <= pr);
  if(pl < right)  quick(a, pl, right, b);
  if(pr > left)   quick(a, left, pr, b);
}

int main(){
  int n;  scanf("%d", &n);
  int s[100005] = {0}, g[100005] = {0};
  int longest = -(1<<30);
  for(int i=1; i<=n; i++){
    int x, l;  scanf("%d %d", &x, &l);
    s[i] = x - l;
    g[i] = x + l;
  }

  quick(g, 1, n, s);
  s[n+2] = 1<<30;
  int now = g[1], count = 1, idx = 1;
  while(idx < n){
    while(s[idx] < now)  idx++;
    if(idx <= n)  count++;
    now = g[idx];
  }

  printf("%d\n", count);

  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 <stdio.h>
#define max(x, y) ((x)<(y) ? (y) : (x))
#define swap(type, x, y) do{ type t = x; x = y; y = t; }while(0)

void quick(int a[], int left, int right, int b[]){
  int pl = left, pr = right, x = a[(left+right)/2];
  do{
    while(a[pl] < x)  pl++;
    while(a[pr] > x)  pr--;
    if(pl <= pr){
      swap(int, a[pl], a[pr]);
      swap(int, b[pl], b[pr]);
      pl++, pr--;
    }
  }while(pl <= pr);
  if(pl < right)  quick(a, pl, right, b);
  if(pr > left)   quick(a, left, pr, b);
}

int main(){
  int n;  scanf("%d", &n);
  int s[100005] = {0}, g[100005] = {0};
  int longest = -(1<<30);
  for(int i=1; i<=n; i++){
    int x, l;  scanf("%d %d", &x, &l);
    s[i] = x - l;
    g[i] = x + l;
  }

  quick(g, 1, n, s);
  s[n+2] = 1<<30;
  int now = g[1], count = 1, idx = 1;
  while(idx < n){
    while(s[idx] < now)  idx++;
    if(idx <= n)  count++;
    now = g[idx];
  }

  printf("%d\n", count);

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	quick
	.type	quick, @function
quick:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jg	.L3
	jmp	.L4
.L5:
	subl	$1, -16(%rbp)
.L4:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L6
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -20(%rbp)
	subl	$1, -16(%rbp)
.L6:
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L2
	movl	-20(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jge	.L8
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-20(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L8:
	movl	-16(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jle	.L10
	movq	-56(%rbp), %rcx
	movl	-16(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quick, .-quick
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1376, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800096(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-800064(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-400032(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$-1073741824, -800068(%rbp)
	movl	$1, -800084(%rbp)
	jmp	.L12
.L13:
	leaq	-800088(%rbp), %rdx
	leaq	-800092(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800092(%rbp), %eax
	movl	-800088(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -800064(%rbp,%rax,4)
	movl	-800092(%rbp), %edx
	movl	-800088(%rbp), %eax
	addl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -400032(%rbp,%rax,4)
	addl	$1, -800084(%rbp)
.L12:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800084(%rbp)
	jle	.L13
	movl	-800096(%rbp), %edx
	leaq	-800064(%rbp), %rcx
	leaq	-400032(%rbp), %rax
	movl	$1, %esi
	movq	%rax, %rdi
	call	quick
	movl	-800096(%rbp), %eax
	addl	$2, %eax
	cltq
	movl	$1073741824, -800064(%rbp,%rax,4)
	movl	-400028(%rbp), %eax
	movl	%eax, -800080(%rbp)
	movl	$1, -800076(%rbp)
	movl	$1, -800072(%rbp)
	jmp	.L14
.L16:
	addl	$1, -800072(%rbp)
.L15:
	movl	-800072(%rbp), %eax
	cltq
	movl	-800064(%rbp,%rax,4), %eax
	cmpl	%eax, -800080(%rbp)
	jg	.L16
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jg	.L17
	addl	$1, -800076(%rbp)
.L17:
	movl	-800072(%rbp), %eax
	cltq
	movl	-400032(%rbp,%rax,4), %eax
	movl	%eax, -800080(%rbp)
.L14:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jl	.L15
	movl	-800076(%rbp), %eax
	movl	%eax, %esi
	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	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.globl	quick
	.type	quick, @function
quick:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$64, %rsp
	movq	%rdi, -40(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rcx, -56(%rbp)
	movl	-44(%rbp), %eax
	movl	%eax, -20(%rbp)
	movl	-48(%rbp), %eax
	movl	%eax, -16(%rbp)
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	jmp	.L2
.L3:
	addl	$1, -20(%rbp)
.L2:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jg	.L3
	jmp	.L4
.L5:
	subl	$1, -16(%rbp)
.L4:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jg	.L6
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-40(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-40(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbp)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rdx, %rax
	movl	-20(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	movq	-56(%rbp), %rdx
	addq	%rcx, %rdx
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-56(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -20(%rbp)
	subl	$1, -16(%rbp)
.L6:
	movl	-20(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jle	.L2
	movl	-20(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jge	.L8
	movq	-56(%rbp), %rcx
	movl	-48(%rbp), %edx
	movl	-20(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L8:
	movl	-16(%rbp), %eax
	cmpl	-44(%rbp), %eax
	jle	.L10
	movq	-56(%rbp), %rcx
	movl	-16(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	-40(%rbp), %rax
	movq	%rax, %rdi
	call	quick
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quick, .-quick
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-798720(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1376, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-800096(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-800064(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-400032(%rbp), %rax
	movl	$400020, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$-1073741824, -800068(%rbp)
	movl	$1, -800084(%rbp)
	jmp	.L12
.L13:
	leaq	-800088(%rbp), %rdx
	leaq	-800092(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-800092(%rbp), %eax
	movl	-800088(%rbp), %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -800064(%rbp,%rax,4)
	movl	-800092(%rbp), %edx
	movl	-800088(%rbp), %eax
	addl	%eax, %edx
	movl	-800084(%rbp), %eax
	cltq
	movl	%edx, -400032(%rbp,%rax,4)
	addl	$1, -800084(%rbp)
.L12:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800084(%rbp)
	jle	.L13
	movl	-800096(%rbp), %edx
	leaq	-800064(%rbp), %rcx
	leaq	-400032(%rbp), %rax
	movl	$1, %esi
	movq	%rax, %rdi
	call	quick
	movl	-800096(%rbp), %eax
	addl	$2, %eax
	cltq
	movl	$1073741824, -800064(%rbp,%rax,4)
	movl	-400028(%rbp), %eax
	movl	%eax, -800080(%rbp)
	movl	$1, -800076(%rbp)
	movl	$1, -800072(%rbp)
	jmp	.L14
.L16:
	addl	$1, -800072(%rbp)
.L15:
	movl	-800072(%rbp), %eax
	cltq
	movl	-800064(%rbp,%rax,4), %eax
	cmpl	%eax, -800080(%rbp)
	jg	.L16
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jg	.L17
	addl	$1, -800076(%rbp)
.L17:
	movl	-800072(%rbp), %eax
	cltq
	movl	-400032(%rbp,%rax,4), %eax
	movl	%eax, -800080(%rbp)
.L14:
	movl	-800096(%rbp), %eax
	cmpl	%eax, -800072(%rbp)
	jl	.L15
	movl	-800076(%rbp), %eax
	movl	%eax, %esi
	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	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
