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 N;
int d[300000];

int main(void) {
	int i;
	int ok_max = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &d[i]) != 1) return 1;
	}
	for (i = 0; i < N && i <= ok_max; i++) {
		int this_max = i + d[i] / 10;
		if (this_max > ok_max) ok_max = this_max;
	}
	if (i < N) {
		puts("no");
		return 0;
	}
	ok_max = N - 1;
	for (i = N - 1; i >= 0 && i >= ok_max; i--) {
		int this_max = i - d[i] / 10;
		if (this_max < ok_max) ok_max = this_max;
	}
	if (i >= 0) {
		puts("no");
		return 0;
	}
	puts("yes");
	return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L11
	leaq	d(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movl	N(%rip), %eax
	addl	$1, %r12d
	addq	$4, %rbp
	cmpl	%r12d, %eax
	jle	.L17
.L6:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L18
.L5:
	movl	$1, %eax
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L11
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	%r8, %rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jl	.L9
.L8:
	movslq	(%rbx,%rcx,4), %rax
	movq	%rax, %rsi
	imulq	$1717986919, %rax, %rax
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	addl	%ecx, %eax
	cmpl	%eax, %edi
	cmovl	%eax, %edi
	cmpq	%rcx, %r8
	jne	.L19
	movslq	%edx, %rdx
	movq	%rdx, %rax
	leaq	(%rbx,%rdx,4), %rdi
	movl	%edx, %esi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	(%rdi), %rcx
	movq	%rcx, %rdx
	imulq	$1717986919, %rcx, %rcx
	sarl	$31, %edx
	sarq	$34, %rcx
	subl	%ecx, %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	xorl	%edx, %edx
	subl	$1, %esi
	subq	$4, %rdi
	testl	%eax, %eax
	cmovns	%eax, %edx
	cmpl	%esi, %edx
	jle	.L10
	testl	%esi, %esi
	jns	.L9
.L11:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 1200000
d:
	.zero	1200000
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L11
	leaq	d(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movl	N(%rip), %eax
	addl	$1, %r12d
	addq	$4, %rbp
	cmpl	%r12d, %eax
	jle	.L17
.L6:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L18
.L5:
	movl	$1, %eax
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L11
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	%r8, %rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jl	.L9
.L8:
	movslq	(%rbx,%rcx,4), %rax
	movq	%rax, %rsi
	imulq	$1717986919, %rax, %rax
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	addl	%ecx, %eax
	cmpl	%eax, %edi
	cmovl	%eax, %edi
	cmpq	%rcx, %r8
	jne	.L19
	movslq	%edx, %rdx
	movq	%rdx, %rax
	leaq	(%rbx,%rdx,4), %rdi
	movl	%edx, %esi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	(%rdi), %rcx
	movq	%rcx, %rdx
	imulq	$1717986919, %rcx, %rcx
	sarl	$31, %edx
	sarq	$34, %rcx
	subl	%ecx, %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	xorl	%edx, %edx
	subl	$1, %esi
	subq	$4, %rdi
	testl	%eax, %eax
	cmovns	%eax, %edx
	cmpl	%esi, %edx
	jle	.L10
	testl	%esi, %esi
	jns	.L9
.L11:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 1200000
d:
	.zero	1200000
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L11
	leaq	d(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movl	N(%rip), %eax
	addl	$1, %r12d
	addq	$4, %rbp
	cmpl	%r12d, %eax
	jle	.L17
.L6:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L18
.L5:
	movl	$1, %eax
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L11
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	%r8, %rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jl	.L9
.L8:
	movslq	(%rbx,%rcx,4), %rax
	movq	%rax, %rsi
	imulq	$1717986919, %rax, %rax
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	addl	%ecx, %eax
	cmpl	%eax, %edi
	cmovl	%eax, %edi
	cmpq	%rcx, %r8
	jne	.L19
	movslq	%edx, %rdx
	movq	%rdx, %rax
	leaq	(%rbx,%rdx,4), %rdi
	movl	%edx, %esi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	(%rdi), %rcx
	movq	%rcx, %rdx
	imulq	$1717986919, %rcx, %rcx
	sarl	$31, %edx
	sarq	$34, %rcx
	subl	%ecx, %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	xorl	%edx, %edx
	subl	$1, %esi
	subq	$4, %rdi
	testl	%eax, %eax
	cmovns	%eax, %edx
	cmpl	%esi, %edx
	jle	.L10
	testl	%esi, %esi
	jns	.L9
.L11:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 1200000
d:
	.zero	1200000
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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 N;
int d[300000];

int main(void) {
	int i;
	int ok_max = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &d[i]) != 1) return 1;
	}
	for (i = 0; i < N && i <= ok_max; i++) {
		int this_max = i + d[i] / 10;
		if (this_max > ok_max) ok_max = this_max;
	}
	if (i < N) {
		puts("no");
		return 0;
	}
	ok_max = N - 1;
	for (i = N - 1; i >= 0 && i >= ok_max; i--) {
		int this_max = i - d[i] / 10;
		if (this_max < ok_max) ok_max = this_max;
	}
	if (i >= 0) {
		puts("no");
		return 0;
	}
	puts("yes");
	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 N;
int d[300000];

int main(void) {
	int i;
	int ok_max = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &d[i]) != 1) return 1;
	}
	for (i = 0; i < N && i <= ok_max; i++) {
		int this_max = i + d[i] / 10;
		if (this_max > ok_max) ok_max = this_max;
	}
	if (i < N) {
		puts("no");
		return 0;
	}
	ok_max = N - 1;
	for (i = N - 1; i >= 0 && i >= ok_max; i--) {
		int this_max = i - d[i] / 10;
		if (this_max < ok_max) ok_max = this_max;
	}
	if (i >= 0) {
		puts("no");
		return 0;
	}
	puts("yes");
	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:

4
20
51
1
20
 4
20
5
17
1
 3
12
5
10
 4
37
51
1
20
 4
20
5
5
1
 3
20
5
10
 4
54
51
1
20
 4
35
5
5
1
 3
20
5
5
 4
84
51
1
20

yes
 no
 no
 yes
 no
 no
 yes
 no
 no
 yes

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 N;
int d[300000];

int main(void) {
	int i;
	int ok_max = 0;
	if (scanf("%d", &N) != 1) return 1;
	for (i = 0; i < N; i++) {
		if (scanf("%d", &d[i]) != 1) return 1;
	}
	for (i = 0; i < N && i <= ok_max; i++) {
		int this_max = i + d[i] / 10;
		if (this_max > ok_max) ok_max = this_max;
	}
	if (i < N) {
		puts("no");
		return 0;
	}
	ok_max = N - 1;
	for (i = N - 1; i >= 0 && i >= ok_max; i--) {
		int this_max = i - d[i] / 10;
		if (this_max < ok_max) ok_max = this_max;
	}
	if (i >= 0) {
		puts("no");
		return 0;
	}
	puts("yes");
	return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L11
	leaq	d(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movl	N(%rip), %eax
	addl	$1, %r12d
	addq	$4, %rbp
	cmpl	%r12d, %eax
	jle	.L17
.L6:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L18
.L5:
	movl	$1, %eax
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L11
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	%r8, %rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jl	.L9
.L8:
	movslq	(%rbx,%rcx,4), %rax
	movq	%rax, %rsi
	imulq	$1717986919, %rax, %rax
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	addl	%ecx, %eax
	cmpl	%eax, %edi
	cmovl	%eax, %edi
	cmpq	%rcx, %r8
	jne	.L19
	movslq	%edx, %rdx
	movq	%rdx, %rax
	leaq	(%rbx,%rdx,4), %rdi
	movl	%edx, %esi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	(%rdi), %rcx
	movq	%rcx, %rdx
	imulq	$1717986919, %rcx, %rcx
	sarl	$31, %edx
	sarq	$34, %rcx
	subl	%ecx, %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	xorl	%edx, %edx
	subl	$1, %esi
	subq	$4, %rdi
	testl	%eax, %eax
	cmovns	%eax, %edx
	cmpl	%esi, %edx
	jle	.L10
	testl	%esi, %esi
	jns	.L9
.L11:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 1200000
d:
	.zero	1200000
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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"
.LC1:
	.string	"no"
.LC2:
	.string	"yes"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	xorl	%eax, %eax
	leaq	N(%rip), %rsi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$8, %rsp
	.cfi_def_cfa_offset 48
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L5
	cmpl	$0, N(%rip)
	jle	.L11
	leaq	d(%rip), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rbp
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movl	N(%rip), %eax
	addl	$1, %r12d
	addq	$4, %rbp
	cmpl	%r12d, %eax
	jle	.L17
.L6:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	je	.L18
.L5:
	movl	$1, %eax
.L1:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	testl	%eax, %eax
	jle	.L11
	leal	-1(%rax), %r8d
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	movq	%r8, %rdx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	addq	$1, %rcx
	cmpl	%ecx, %edi
	jl	.L9
.L8:
	movslq	(%rbx,%rcx,4), %rax
	movq	%rax, %rsi
	imulq	$1717986919, %rax, %rax
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	addl	%ecx, %eax
	cmpl	%eax, %edi
	cmovl	%eax, %edi
	cmpq	%rcx, %r8
	jne	.L19
	movslq	%edx, %rdx
	movq	%rdx, %rax
	leaq	(%rbx,%rdx,4), %rdi
	movl	%edx, %esi
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	(%rdi), %rcx
	movq	%rcx, %rdx
	imulq	$1717986919, %rcx, %rcx
	sarl	$31, %edx
	sarq	$34, %rcx
	subl	%ecx, %edx
	addl	%esi, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	xorl	%edx, %edx
	subl	$1, %esi
	subq	$4, %rdi
	testl	%eax, %eax
	cmovns	%eax, %edx
	cmpl	%esi, %edx
	jle	.L10
	testl	%esi, %esi
	jns	.L9
.L11:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	xorl	%eax, %eax
	jmp	.L1
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	d
	.bss
	.align 32
	.type	d, @object
	.size	d, 1200000
d:
	.zero	1200000
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.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:
```