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

```c
#include <stdio.h>
int main(int argc, char const* argv[])
{
    long long int distance;
    int count=0;
    int n;
    //int **za;
    long long int za[200000][2];
    int i;
    if(scanf("%d%lld",&n,&distance)!=2) return -1;
    if((distance>200000||distance<0)||(n<1||n>200000)) return 1;
    for(i=0;i<n;i++)
    {
        if(scanf("%lld%lld",&za[i][0],&za[i][1])!=2) return 2;
    }
    for(i=0;i<n;i++)
    {
        if((za[i][0]*za[i][0]+za[i][1]*za[i][1])<=distance*distance) count++;
    }
    printf("%d\n",count);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1056, %rsp
	.cfi_def_cfa_offset 3200080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L8
	cmpq	$200000, 8(%rsp)
	ja	.L10
	movl	%eax, %r13d
	movl	4(%rsp), %eax
	subl	$1, %eax
	cmpl	$199999, %eax
	ja	.L10
	leaq	16(%rsp), %r12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r14
	movq	%r12, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%eax, %eax
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movl	4(%rsp), %eax
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L11
	movq	8(%rsp), %rdi
	leal	-1(%rax), %esi
	leaq	16(%r12), %rcx
	xorl	%r8d, %r8d
	salq	$4, %rsi
	imulq	%rdi, %rdi
	addq	%rcx, %rsi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rcx
.L6:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	%rcx, %r12
	imulq	%rax, %rax
	imulq	%rdx, %rdx
	addq	%rdx, %rax
	cmpq	%rax, %rdi
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	cmpq	%rcx, %rsi
	jne	.L16
.L4:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L1
.L10:
	movl	$1, %r13d
.L1:
	movq	3200024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$3200032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r13d, %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
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L4
.L8:
	orl	$-1, %r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1056, %rsp
	.cfi_def_cfa_offset 3200080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L8
	cmpq	$200000, 8(%rsp)
	ja	.L10
	movl	%eax, %r13d
	movl	4(%rsp), %eax
	subl	$1, %eax
	cmpl	$199999, %eax
	ja	.L10
	leaq	16(%rsp), %r12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r14
	movq	%r12, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%eax, %eax
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movl	4(%rsp), %eax
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L11
	movq	8(%rsp), %rdi
	leal	-1(%rax), %esi
	leaq	16(%r12), %rcx
	xorl	%r8d, %r8d
	salq	$4, %rsi
	imulq	%rdi, %rdi
	addq	%rcx, %rsi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rcx
.L6:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	%rcx, %r12
	imulq	%rax, %rax
	imulq	%rdx, %rdx
	addq	%rdx, %rax
	cmpq	%rax, %rdi
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	cmpq	%rcx, %rsi
	jne	.L16
.L4:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L1
.L10:
	movl	$1, %r13d
.L1:
	movq	3200024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$3200032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r13d, %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
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L4
.L8:
	orl	$-1, %r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1056, %rsp
	.cfi_def_cfa_offset 3200080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L8
	cmpq	$200000, 8(%rsp)
	ja	.L10
	movl	%eax, %r13d
	movl	4(%rsp), %eax
	subl	$1, %eax
	cmpl	$199999, %eax
	ja	.L10
	leaq	16(%rsp), %r12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r14
	movq	%r12, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%eax, %eax
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movl	4(%rsp), %eax
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L11
	movq	8(%rsp), %rdi
	leal	-1(%rax), %esi
	leaq	16(%r12), %rcx
	xorl	%r8d, %r8d
	salq	$4, %rsi
	imulq	%rdi, %rdi
	addq	%rcx, %rsi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rcx
.L6:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	%rcx, %r12
	imulq	%rax, %rax
	imulq	%rdx, %rdx
	addq	%rdx, %rax
	cmpq	%rax, %rdi
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	cmpq	%rcx, %rsi
	jne	.L16
.L4:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L1
.L10:
	movl	$1, %r13d
.L1:
	movq	3200024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$3200032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r13d, %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
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L4
.L8:
	orl	$-1, %r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <stdio.h>
int main(int argc, char const* argv[])
{
    long long int distance;
    int count=0;
    int n;
    //int **za;
    long long int za[200000][2];
    int i;
    if(scanf("%d%lld",&n,&distance)!=2) return -1;
    if((distance>200000||distance<0)||(n<1||n>200000)) return 1;
    for(i=0;i<n;i++)
    {
        if(scanf("%lld%lld",&za[i][0],&za[i][1])!=2) return 2;
    }
    for(i=0;i<n;i++)
    {
        if((za[i][0]*za[i][0]+za[i][1]*za[i][1])<=distance*distance) count++;
    }
    printf("%d\n",count);
    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
int main(int argc, char const* argv[])
{
    long long int distance;
    int count=0;
    int n;
    //int **za;
    long long int za[200000][2];
    int i;
    if(scanf("%d%lld",&n,&distance)!=2) return -1;
    if((distance>200000||distance<0)||(n<1||n>200000)) return 1;
    for(i=0;i<n;i++)
    {
        if(scanf("%lld%lld",&za[i][0],&za[i][1])!=2) return 2;
    }
    for(i=0;i<n;i++)
    {
        if((za[i][0]*za[i][0]+za[i][1]*za[i][1])<=distance*distance) count++;
    }
    printf("%d\n",count);
    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:

12 3
1 1
1 1
1 1
1 1
0 2
1 3
2 1
2 2
2 3
3 1
3 2
3 3
 4 5
0 5
-2 4
3 4
4 -2
 20 100000
14309 -32939
-56855 100340
151364 25430
103789 -113141
147404 -136977
-37006 -30929
191679 -49557
13419 70401
-88280 165170
-196399 137941
-176527 -61904
46659 115261
-153551 114185
98784 -6820
94111 -86268
-30401 61477
-55056 7872
5901 -163796
138819 -185986
-69848 -96669
 4 5
1 5
-2 4
3 1
4 -1
 3 5
0 5
-2 4
5 1
4 -2
 12 2
0 1
2 2
1 1
1 2
0 2
0 4
2 1
2 0
2 0
3 1
3 2
1 3
 12 4
0 1
2 2
1 1
1 2
0 2
0 4
2 1
2 0
2 0
3 1
3 2
1 3
 12 0
0 2
2 2
1 1
1 2
0 2
0 4
2 1
2 0
2 1
3 2
3 2
1 3
 12 3
1 1
1 1
1 1
1 1
1 2
1 3
2 1
2 2
2 3
2 1
3 2
3 3
 1 5
0 5
-2 4
3 1
4 -2

7
 4
 6
 3
 2
 5
 12
 0
 8
 1

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

```c
#include <stdio.h>
int main(int argc, char const* argv[])
{
    long long int distance;
    int count=0;
    int n;
    //int **za;
    long long int za[200000][2];
    int i;
    if(scanf("%d%lld",&n,&distance)!=2) return -1;
    if((distance>200000||distance<0)||(n<1||n>200000)) return 1;
    for(i=0;i<n;i++)
    {
        if(scanf("%lld%lld",&za[i][0],&za[i][1])!=2) return 2;
    }
    for(i=0;i<n;i++)
    {
        if((za[i][0]*za[i][0]+za[i][1]*za[i][1])<=distance*distance) count++;
    }
    printf("%d\n",count);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1056, %rsp
	.cfi_def_cfa_offset 3200080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L8
	cmpq	$200000, 8(%rsp)
	ja	.L10
	movl	%eax, %r13d
	movl	4(%rsp), %eax
	subl	$1, %eax
	cmpl	$199999, %eax
	ja	.L10
	leaq	16(%rsp), %r12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r14
	movq	%r12, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%eax, %eax
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movl	4(%rsp), %eax
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L11
	movq	8(%rsp), %rdi
	leal	-1(%rax), %esi
	leaq	16(%r12), %rcx
	xorl	%r8d, %r8d
	salq	$4, %rsi
	imulq	%rdi, %rdi
	addq	%rcx, %rsi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rcx
.L6:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	%rcx, %r12
	imulq	%rax, %rax
	imulq	%rdx, %rdx
	addq	%rdx, %rax
	cmpq	%rax, %rdi
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	cmpq	%rcx, %rsi
	jne	.L16
.L4:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L1
.L10:
	movl	$1, %r13d
.L1:
	movq	3200024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$3200032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r13d, %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
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L4
.L8:
	orl	$-1, %r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%lld"
.LC1:
	.string	"%lld%lld"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-3198976(%rsp), %r11
	.cfi_def_cfa 11, 3199024
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1056, %rsp
	.cfi_def_cfa_offset 3200080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 3200024(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L8
	cmpq	$200000, 8(%rsp)
	ja	.L10
	movl	%eax, %r13d
	movl	4(%rsp), %eax
	subl	$1, %eax
	cmpl	$199999, %eax
	ja	.L10
	leaq	16(%rsp), %r12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r14
	movq	%r12, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	xorl	%eax, %eax
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$2, %eax
	jne	.L1
	movl	4(%rsp), %eax
	addl	$1, %ebp
	addq	$16, %rbx
	cmpl	%ebp, %eax
	jg	.L3
	testl	%eax, %eax
	jle	.L11
	movq	8(%rsp), %rdi
	leal	-1(%rax), %esi
	leaq	16(%r12), %rcx
	xorl	%r8d, %r8d
	salq	$4, %rsi
	imulq	%rdi, %rdi
	addq	%rcx, %rsi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$16, %rcx
.L6:
	movq	(%r12), %rdx
	movq	8(%r12), %rax
	movq	%rcx, %r12
	imulq	%rax, %rax
	imulq	%rdx, %rdx
	addq	%rdx, %rax
	cmpq	%rax, %rdi
	setge	%al
	movzbl	%al, %eax
	addl	%eax, %r8d
	cmpq	%rcx, %rsi
	jne	.L16
.L4:
	movl	%r8d, %edx
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	movl	$1, %edi
	call	__printf_chk@PLT
	jmp	.L1
.L10:
	movl	$1, %r13d
.L1:
	movq	3200024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$3200032, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	movl	%r13d, %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
.L11:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L4
.L8:
	orl	$-1, %r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```