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()
{
	char S[200001];
	scanf("%s", S);
	
	int i, j, k, res[2][2019] = {};
	long long count = 0;
	for (i = 1, res[0][S[0]-'0'] = 1; S[i] != 0; i++) {
		for (j = 0; j < 2019; j++) {
			k = (j * 10 + S[i] - '0') % 2019;
			res[i%2][k] = res[1-i%2][j];
		}
		res[i%2][S[i]-'0']++;
		count += res[i%2][0];
	}
	
	printf("%lld\n", count);
	fflush(stdout);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%lld\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	-212992(%rsp), %r11
	.cfi_def_cfa 11, 213040
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3184, %rsp
	.cfi_def_cfa_offset 216224
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 216168(%rsp)
	xorl	%eax, %eax
	leaq	16160(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %r11
	movl	$16152, %edx
	xorl	%esi, %esi
	movq	%r11, %rdi
	call	memset@PLT
	movq	%rax, %r11
	movsbl	16160(%rsp), %eax
	subl	$48, %eax
	cltq
	movl	$1, (%rsp,%rax,4)
	movsbl	16161(%rsp), %eax
	testb	%al, %al
	je	.L6
	movl	$1, %ebp
	xorl	%r12d, %r12d
	movl	$1, %r13d
.L4:
	movl	%ebp, %r9d
	leal	-48(%rax), %r10d
	leal	20142(%rax), %edi
	movl	%r13d, %ecx
	andl	$1, %r9d
	movl	%r10d, %edx
	subl	%r9d, %ecx
	movslq	%r9d, %r9
	movslq	%ecx, %rcx
	imulq	$2019, %r9, %r8
	imulq	$8076, %rcx, %rcx
	addq	%r11, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edx, %rax
	movl	%edx, %r14d
	movl	(%rcx), %esi
	addq	$4, %rcx
	imulq	$-2116638167, %rax, %rax
	sarl	$31, %r14d
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$10, %eax
	subl	%r14d, %eax
	movl	%edx, %r14d
	addl	$10, %edx
	imull	$2019, %eax, %eax
	subl	%eax, %r14d
	movslq	%r14d, %rax
	addq	%r8, %rax
	movl	%esi, (%rsp,%rax,4)
	cmpl	%edx, %edi
	jne	.L3
	imulq	$8076, %r9, %r9
	movslq	%r10d, %r10
	addq	$1, %rbp
	addq	%r10, %r8
	addl	$1, (%rsp,%r8,4)
	movslq	(%rsp,%r9), %rax
	addq	%rax, %r12
	movsbl	(%rbx,%rbp), %eax
	testb	%al, %al
	jne	.L4
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	216168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$216176, %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
.L6:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L2
.L11:
	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	"%s"
.LC1:
	.string	"%lld\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	-212992(%rsp), %r11
	.cfi_def_cfa 11, 213040
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3184, %rsp
	.cfi_def_cfa_offset 216224
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 216168(%rsp)
	xorl	%eax, %eax
	leaq	16160(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %r11
	movl	$16152, %edx
	xorl	%esi, %esi
	movq	%r11, %rdi
	call	memset@PLT
	movq	%rax, %r11
	movsbl	16160(%rsp), %eax
	subl	$48, %eax
	cltq
	movl	$1, (%rsp,%rax,4)
	movsbl	16161(%rsp), %eax
	testb	%al, %al
	je	.L6
	movl	$1, %ebp
	xorl	%r12d, %r12d
	movl	$1, %r13d
.L4:
	movl	%ebp, %r9d
	leal	-48(%rax), %r10d
	leal	20142(%rax), %edi
	movl	%r13d, %ecx
	andl	$1, %r9d
	movl	%r10d, %edx
	subl	%r9d, %ecx
	movslq	%r9d, %r9
	movslq	%ecx, %rcx
	imulq	$2019, %r9, %r8
	imulq	$8076, %rcx, %rcx
	addq	%r11, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edx, %rax
	movl	%edx, %r14d
	movl	(%rcx), %esi
	addq	$4, %rcx
	imulq	$-2116638167, %rax, %rax
	sarl	$31, %r14d
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$10, %eax
	subl	%r14d, %eax
	movl	%edx, %r14d
	addl	$10, %edx
	imull	$2019, %eax, %eax
	subl	%eax, %r14d
	movslq	%r14d, %rax
	addq	%r8, %rax
	movl	%esi, (%rsp,%rax,4)
	cmpl	%edx, %edi
	jne	.L3
	imulq	$8076, %r9, %r9
	movslq	%r10d, %r10
	addq	$1, %rbp
	addq	%r10, %r8
	addl	$1, (%rsp,%r8,4)
	movslq	(%rsp,%r9), %rax
	addq	%rax, %r12
	movsbl	(%rbx,%rbp), %eax
	testb	%al, %al
	jne	.L4
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	216168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$216176, %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
.L6:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L2
.L11:
	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	"%s"
.LC1:
	.string	"%lld\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	-212992(%rsp), %r11
	.cfi_def_cfa 11, 213040
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3184, %rsp
	.cfi_def_cfa_offset 216224
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 216168(%rsp)
	xorl	%eax, %eax
	leaq	16160(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %r11
	movl	$16152, %edx
	xorl	%esi, %esi
	movq	%r11, %rdi
	call	memset@PLT
	movq	%rax, %r11
	movsbl	16160(%rsp), %eax
	subl	$48, %eax
	cltq
	movl	$1, (%rsp,%rax,4)
	movsbl	16161(%rsp), %eax
	testb	%al, %al
	je	.L6
	movl	$1, %ebp
	xorl	%r12d, %r12d
	movl	$1, %r13d
.L4:
	movl	%ebp, %r9d
	leal	-48(%rax), %r10d
	leal	20142(%rax), %edi
	movl	%r13d, %ecx
	andl	$1, %r9d
	movl	%r10d, %edx
	subl	%r9d, %ecx
	movslq	%r9d, %r9
	movslq	%ecx, %rcx
	imulq	$2019, %r9, %r8
	imulq	$8076, %rcx, %rcx
	addq	%r11, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edx, %rax
	movl	%edx, %r14d
	movl	(%rcx), %esi
	addq	$4, %rcx
	imulq	$-2116638167, %rax, %rax
	sarl	$31, %r14d
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$10, %eax
	subl	%r14d, %eax
	movl	%edx, %r14d
	addl	$10, %edx
	imull	$2019, %eax, %eax
	subl	%eax, %r14d
	movslq	%r14d, %rax
	addq	%r8, %rax
	movl	%esi, (%rsp,%rax,4)
	cmpl	%edx, %edi
	jne	.L3
	imulq	$8076, %r9, %r9
	movslq	%r10d, %r10
	addq	$1, %rbp
	addq	%r10, %r8
	addl	$1, (%rsp,%r8,4)
	movslq	(%rsp,%r9), %rax
	addq	%rax, %r12
	movsbl	(%rbx,%rbp), %eax
	testb	%al, %al
	jne	.L4
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	216168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$216176, %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
.L6:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L2
.L11:
	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()
{
	char S[200001];
	scanf("%s", S);
	
	int i, j, k, res[2][2019] = {};
	long long count = 0;
	for (i = 1, res[0][S[0]-'0'] = 1; S[i] != 0; i++) {
		for (j = 0; j < 2019; j++) {
			k = (j * 10 + S[i] - '0') % 2019;
			res[i%2][k] = res[1-i%2][j];
		}
		res[i%2][S[i]-'0']++;
		count += res[i%2][0];
	}
	
	printf("%lld\n", count);
	fflush(stdout);
	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()
{
	char S[200001];
	scanf("%s", S);
	
	int i, j, k, res[2][2019] = {};
	long long count = 0;
	for (i = 1, res[0][S[0]-'0'] = 1; S[i] != 0; i++) {
		for (j = 0; j < 2019; j++) {
			k = (j * 10 + S[i] - '0') % 2019;
			res[i%2][k] = res[1-i%2][j];
		}
		res[i%2][S[i]-'0']++;
		count += res[i%2][0];
	}
	
	printf("%lld\n", count);
	fflush(stdout);
	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:

3054417607960
 218
 8160152899489
 7932848001410
 6806479110
 9600282290
 649171600089
 3000732030
 4123972862
 5345763557347

3
 0
 1
 5
 2
 4
 6
 8
 0
 0

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()
{
	char S[200001];
	scanf("%s", S);
	
	int i, j, k, res[2][2019] = {};
	long long count = 0;
	for (i = 1, res[0][S[0]-'0'] = 1; S[i] != 0; i++) {
		for (j = 0; j < 2019; j++) {
			k = (j * 10 + S[i] - '0') % 2019;
			res[i%2][k] = res[1-i%2][j];
		}
		res[i%2][S[i]-'0']++;
		count += res[i%2][0];
	}
	
	printf("%lld\n", count);
	fflush(stdout);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"%lld\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	-212992(%rsp), %r11
	.cfi_def_cfa 11, 213040
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3184, %rsp
	.cfi_def_cfa_offset 216224
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 216168(%rsp)
	xorl	%eax, %eax
	leaq	16160(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %r11
	movl	$16152, %edx
	xorl	%esi, %esi
	movq	%r11, %rdi
	call	memset@PLT
	movq	%rax, %r11
	movsbl	16160(%rsp), %eax
	subl	$48, %eax
	cltq
	movl	$1, (%rsp,%rax,4)
	movsbl	16161(%rsp), %eax
	testb	%al, %al
	je	.L6
	movl	$1, %ebp
	xorl	%r12d, %r12d
	movl	$1, %r13d
.L4:
	movl	%ebp, %r9d
	leal	-48(%rax), %r10d
	leal	20142(%rax), %edi
	movl	%r13d, %ecx
	andl	$1, %r9d
	movl	%r10d, %edx
	subl	%r9d, %ecx
	movslq	%r9d, %r9
	movslq	%ecx, %rcx
	imulq	$2019, %r9, %r8
	imulq	$8076, %rcx, %rcx
	addq	%r11, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edx, %rax
	movl	%edx, %r14d
	movl	(%rcx), %esi
	addq	$4, %rcx
	imulq	$-2116638167, %rax, %rax
	sarl	$31, %r14d
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$10, %eax
	subl	%r14d, %eax
	movl	%edx, %r14d
	addl	$10, %edx
	imull	$2019, %eax, %eax
	subl	%eax, %r14d
	movslq	%r14d, %rax
	addq	%r8, %rax
	movl	%esi, (%rsp,%rax,4)
	cmpl	%edx, %edi
	jne	.L3
	imulq	$8076, %r9, %r9
	movslq	%r10d, %r10
	addq	$1, %rbp
	addq	%r10, %r8
	addl	$1, (%rsp,%r8,4)
	movslq	(%rsp,%r9), %rax
	addq	%rax, %r12
	movsbl	(%rbx,%rbp), %eax
	testb	%al, %al
	jne	.L4
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	216168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$216176, %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
.L6:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L2
.L11:
	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	"%s"
.LC1:
	.string	"%lld\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	-212992(%rsp), %r11
	.cfi_def_cfa 11, 213040
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3184, %rsp
	.cfi_def_cfa_offset 216224
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 216168(%rsp)
	xorl	%eax, %eax
	leaq	16160(%rsp), %rbx
	movq	%rbx, %rsi
	call	__isoc99_scanf@PLT
	movq	%rsp, %r11
	movl	$16152, %edx
	xorl	%esi, %esi
	movq	%r11, %rdi
	call	memset@PLT
	movq	%rax, %r11
	movsbl	16160(%rsp), %eax
	subl	$48, %eax
	cltq
	movl	$1, (%rsp,%rax,4)
	movsbl	16161(%rsp), %eax
	testb	%al, %al
	je	.L6
	movl	$1, %ebp
	xorl	%r12d, %r12d
	movl	$1, %r13d
.L4:
	movl	%ebp, %r9d
	leal	-48(%rax), %r10d
	leal	20142(%rax), %edi
	movl	%r13d, %ecx
	andl	$1, %r9d
	movl	%r10d, %edx
	subl	%r9d, %ecx
	movslq	%r9d, %r9
	movslq	%ecx, %rcx
	imulq	$2019, %r9, %r8
	imulq	$8076, %rcx, %rcx
	addq	%r11, %rcx
	.p2align 4,,10
	.p2align 3
.L3:
	movslq	%edx, %rax
	movl	%edx, %r14d
	movl	(%rcx), %esi
	addq	$4, %rcx
	imulq	$-2116638167, %rax, %rax
	sarl	$31, %r14d
	shrq	$32, %rax
	addl	%edx, %eax
	sarl	$10, %eax
	subl	%r14d, %eax
	movl	%edx, %r14d
	addl	$10, %edx
	imull	$2019, %eax, %eax
	subl	%eax, %r14d
	movslq	%r14d, %rax
	addq	%r8, %rax
	movl	%esi, (%rsp,%rax,4)
	cmpl	%edx, %edi
	jne	.L3
	imulq	$8076, %r9, %r9
	movslq	%r10d, %r10
	addq	$1, %rbp
	addq	%r10, %r8
	addl	$1, (%rsp,%r8,4)
	movslq	(%rsp,%r9), %rax
	addq	%rax, %r12
	movsbl	(%rbx,%rbp), %eax
	testb	%al, %al
	jne	.L4
.L2:
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r12, %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	stdout(%rip), %rdi
	call	fflush@PLT
	movq	216168(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$216176, %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
.L6:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L2
.L11:
	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:
```