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

```c
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

uint32_t nextpint(void){ char c=getchar_unlocked(); while(c<'0'||'9'<c) c=getchar_unlocked(); uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return x; }
uint32_t nextstr(char *s){ char c=getchar_unlocked(); while(c==' '||c=='\n') c=getchar_unlocked(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c-'0'; len++; c=getchar_unlocked(); } *s='\0'; return len; }
void printint(uint32_t x){ if(x<0){x=-x; putchar_unlocked('-');}else if(x==0){putchar_unlocked('0');} int d=0; char s[10]; while(x){ s[d]='0'+x%10; x/=10; d++; } for (int i=d-1; i>=0; i--) putchar_unlocked(s[i]); putchar_unlocked('\n'); }
void rsort_str(void *base, const int count, const int size);

char s[200001];
uint32_t m[2019]={1};

int main(void){
	uint32_t n=nextstr(s);
	uint32_t a=0, b=1;
	for(int32_t i=n-1; i>=0; i--){
		a+=b*s[i];
		a%=2019;
		m[a]++;
		b*=10;
		b%=2019;
	}
	uint64_t ans=0;
	for(uint32_t i=0; i<2019; i++){
		ans+=(uint64_t)m[i]*(m[i]-1)/2;
	}
	printf("%"PRIu64"\n", ans);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L2
.L3:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L2:
	cmpb	$47, -5(%rbp)
	jle	.L3
	cmpb	$57, -5(%rbp)
	jg	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-5(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L4:
	cmpb	$47, -5(%rbp)
	jle	.L5
	cmpb	$57, -5(%rbp)
	jle	.L6
.L5:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextpint, .-nextpint
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L9
.L10:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L9:
	cmpb	$32, -5(%rbp)
	je	.L10
	cmpb	$10, -5(%rbp)
	je	.L10
	movl	$0, -4(%rbp)
	jmp	.L11
.L13:
	movzbl	-5(%rbp), %eax
	leal	-48(%rax), %ecx
	movq	-24(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -24(%rbp)
	movl	%ecx, %edx
	movb	%dl, (%rax)
	addl	$1, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L11:
	cmpb	$32, -5(%rbp)
	je	.L12
	cmpb	$10, -5(%rbp)
	jne	.L13
.L12:
	movq	-24(%rbp), %rax
	movb	$0, (%rax)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextstr, .-nextstr
	.globl	printint
	.type	printint, @function
printint:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -36(%rbp)
	jne	.L16
	movl	$48, %edi
	call	putchar_unlocked@PLT
.L16:
	movl	$0, -28(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %ecx
	movl	%ecx, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	movl	%eax, %edx
	shrl	$3, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, %eax
	addl	$48, %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -18(%rbp,%rax)
	movl	-36(%rbp), %eax
	movl	%eax, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	shrl	$3, %eax
	movl	%eax, -36(%rbp)
	addl	$1, -28(%rbp)
.L17:
	cmpl	$0, -36(%rbp)
	jne	.L18
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L19
.L20:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar_unlocked@PLT
	subl	$1, -24(%rbp)
.L19:
	cmpl	$0, -24(%rbp)
	jns	.L20
	movl	$10, %edi
	call	putchar_unlocked@PLT
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printint, .-printint
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 200001
s:
	.zero	200001
	.globl	m
	.data
	.align 32
	.type	m, @object
	.size	m, 8076
m:
	.long	1
	.zero	8072
	.section	.rodata
.LC0:
	.string	"%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	nextstr
	movl	%eax, -12(%rbp)
	movl	$0, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L23
.L24:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	imull	-24(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	subl	$1, -20(%rbp)
.L23:
	cmpl	$0, -20(%rbp)
	jns	.L24
	movq	$0, -8(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L25
.L26:
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, %eax
	imulq	%rcx, %rax
	shrq	%rax
	addq	%rax, -8(%rbp)
	addl	$1, -16(%rbp)
.L25:
	cmpl	$2018, -16(%rbp)
	jbe	.L26
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	nextpint
	.type	nextpint, @function
nextpint:
.LFB63:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
	cmpq	%rsi, %rax
	jnb	.L17
	leaq	1(%rax), %rcx
	movq	%rcx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L3:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L8
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	1(%rcx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rcx), %edx
	movl	%edx, %ecx
	subl	$48, %ecx
	cmpb	$9, %cl
	jbe	.L9
.L6:
	movq	%rax, %rcx
.L8:
	cmpq	%rsi, %rcx
	jb	.L5
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movl	%eax, %edx
	leal	-48(%rdx), %ecx
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
	cmpb	$9, %cl
	ja	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%r12d, %r12d
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L1
.L11:
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
.L13:
	leal	(%r12,%r12,4), %ecx
	movsbl	%dl, %edx
	leal	-48(%rdx,%rcx,2), %r12d
	cmpq	%rsi, %rax
	jb	.L10
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L1
	movq	stdin(%rip), %rdi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	movq	%rcx, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movl	%eax, %edx
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rsi
	jmp	.L3
	.cfi_endproc
.LFE63:
	.size	nextpint, .-nextpint
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB64:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L51
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L50:
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L22
	cmpb	$32, %al
	jne	.L21
.L22:
	movq	stdin(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L26:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L51
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L26
	cmpb	$10, %dl
	je	.L26
.L21:
	xorl	%r12d, %r12d
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L27:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L30
	cmpb	$10, %dl
	je	.L30
.L32:
	addq	$1, %rbx
	subl	$48, %edx
	addl	$1, %r12d
	movb	%dl, -1(%rbx)
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L27
	call	__uflow@PLT
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L30
	cmpb	$32, %al
	jne	.L32
.L30:
	movb	$0, (%rbx)
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	call	__uflow@PLT
	jmp	.L50
	.cfi_endproc
.LFE64:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	printint
	.type	printint, @function
printint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%edi, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	stdout(%rip), %rdi
	movq	%fs:40, %rdx
	movq	%rdx, 24(%rsp)
	xorl	%edx, %edx
	movq	40(%rdi), %rsi
	movq	48(%rdi), %r8
	testl	%eax, %eax
	jne	.L53
	cmpq	%r8, %rsi
	jnb	.L121
	leaq	1(%rsi), %rax
	movq	%rax, 40(%rdi)
	movb	$48, (%rsi)
.L55:
	movq	stdout(%rip), %rdi
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L122
	leaq	1(%rax), %rdx
	movq	%rdx, 40(%rdi)
	movb	$10, (%rax)
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L118
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L53:
	.cfi_restore_state
	movl	%eax, %edx
	movl	$3435973837, %r9d
	movl	%eax, %ebp
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %ebp
	addl	$48, %ebp
	movb	%bpl, 14(%rsp)
	cmpl	$9, %eax
	jbe	.L82
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 15(%rsp)
	cmpl	$99, %eax
	jbe	.L83
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 16(%rsp)
	cmpl	$999, %eax
	jbe	.L84
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 17(%rsp)
	cmpl	$9999, %eax
	jbe	.L85
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 18(%rsp)
	cmpl	$99999, %eax
	jbe	.L86
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 19(%rsp)
	cmpl	$999999, %eax
	jbe	.L87
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 20(%rsp)
	cmpl	$9999999, %eax
	jbe	.L88
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 21(%rsp)
	cmpl	$99999999, %eax
	jbe	.L89
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r9d
	addl	%r9d, %r9d
	subl	%r9d, %ecx
	addl	$48, %ecx
	movb	%cl, 22(%rsp)
	cmpl	$999999999, %eax
	jbe	.L90
	addl	$48, %edx
	movl	$9, %ebx
	movb	%dl, 23(%rsp)
.L56:
	movslq	%ebx, %rax
	movzbl	14(%rsp,%rax), %eax
	cmpq	%r8, %rsi
	jnb	.L57
	leaq	1(%rsi), %rdx
	movq	%rdx, 40(%rdi)
	movb	%al, (%rsi)
.L58:
	leal	-1(%rbx), %eax
	testl	%ebx, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	%rax, 48(%rdi)
	jbe	.L60
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L61:
	leal	-2(%rbx), %eax
	cmpl	$1, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L62
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L63:
	leal	-3(%rbx), %eax
	cmpl	$2, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L64
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L65:
	leal	-4(%rbx), %eax
	cmpl	$3, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L66
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L67:
	leal	-5(%rbx), %eax
	cmpl	$4, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L68
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L69:
	leal	-6(%rbx), %eax
	cmpl	$5, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L70
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L71:
	leal	-7(%rbx), %eax
	cmpl	$6, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L72
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L73:
	leal	-8(%rbx), %r12d
	cmpl	$7, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	movslq	%r12d, %rax
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L74
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L75:
	testl	%r12d, %r12d
	je	.L55
	movq	stdout(%rip), %rdi
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 40(%rdi)
	movb	%bpl, (%rax)
	jmp	.L55
.L121:
	movl	$48, %esi
	call	__overflow@PLT
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L122:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L118
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	movl	$10, %esi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	__overflow@PLT
.L82:
	.cfi_restore_state
	xorl	%ebx, %ebx
	jmp	.L56
.L72:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L73
.L57:
	movzbl	%al, %esi
	call	__overflow@PLT
	jmp	.L58
.L60:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L61
.L62:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L63
.L64:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L65
.L66:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L67
.L83:
	movl	$1, %ebx
	jmp	.L56
.L68:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L69
.L84:
	movl	$2, %ebx
	jmp	.L56
.L85:
	movl	$3, %ebx
	jmp	.L56
.L70:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L71
.L86:
	movl	$4, %ebx
	jmp	.L56
.L87:
	movl	$5, %ebx
	jmp	.L56
.L88:
	movl	$6, %ebx
	jmp	.L56
.L89:
	movl	$7, %ebx
	jmp	.L56
.L90:
	movl	$8, %ebx
	jmp	.L56
.L74:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L75
.L123:
	movzbl	%bpl, %esi
	call	__overflow@PLT
	jmp	.L55
.L118:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.size	printint, .-printint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	s(%rip), %rbx
	movq	%rbx, %rdi
	call	nextstr
	subl	$1, %eax
	js	.L125
	movslq	%eax, %rsi
	xorl	%edx, %edx
	movl	$1, %eax
	movl	$2178329129, %edi
	leaq	m(%rip), %r8
	.p2align 4,,10
	.p2align 3
.L126:
	movsbl	(%rbx,%rsi), %ecx
	subq	$1, %rsi
	imull	%eax, %ecx
	addl	%ecx, %edx
	movq	%rdx, %rcx
	imulq	%rdi, %rdx
	shrq	$42, %rdx
	imull	$2019, %edx, %r9d
	movl	%ecx, %edx
	subl	%r9d, %edx
	movl	%edx, %ecx
	addl	$1, (%r8,%rcx,4)
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx), %eax
	movq	%rax, %rcx
	imulq	%rdi, %rax
	shrq	$42, %rax
	imull	$2019, %eax, %r9d
	movl	%ecx, %eax
	subl	%r9d, %eax
	testl	%esi, %esi
	jns	.L126
.L125:
	leaq	m(%rip), %rax
	pxor	%xmm3, %xmm3
	pcmpeqd	%xmm5, %xmm5
	leaq	8064(%rax), %rdx
	.p2align 4,,10
	.p2align 3
.L127:
	movdqa	(%rax), %xmm2
	addq	$16, %rax
	movdqa	%xmm2, %xmm0
	movdqa	%xmm2, %xmm4
	paddd	%xmm5, %xmm0
	punpckhdq	%xmm2, %xmm4
	punpckldq	%xmm2, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm0, %xmm1
	punpckldq	%xmm0, %xmm0
	pmuludq	%xmm4, %xmm1
	pmuludq	%xmm2, %xmm0
	psrlq	$1, %xmm1
	psrlq	$1, %xmm0
	paddq	%xmm1, %xmm0
	paddq	%xmm0, %xmm3
	cmpq	%rdx, %rax
	jne	.L127
	movl	8064+m(%rip), %eax
	movl	8068+m(%rip), %esi
	movdqa	%xmm3, %xmm0
	movl	$1, %edi
	movl	8072+m(%rip), %ecx
	psrldq	$8, %xmm0
	leal	-1(%rax), %edx
	paddq	%xmm0, %xmm3
	imulq	%rax, %rdx
	leal	-1(%rsi), %eax
	imulq	%rsi, %rax
	leaq	.LC0(%rip), %rsi
	shrq	%rdx
	shrq	%rax
	addq	%rax, %rdx
	leal	-1(%rcx), %eax
	imulq	%rcx, %rax
	shrq	%rax
	addq	%rax, %rdx
	movq	%xmm3, %rax
	addq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.globl	m
	.data
	.align 32
	.type	m, @object
	.size	m, 8076
m:
	.long	1
	.zero	8072
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 200001
s:
	.zero	200001
	.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	nextpint
	.type	nextpint, @function
nextpint:
.LFB63:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
	cmpq	%rsi, %rax
	jnb	.L17
	leaq	1(%rax), %rcx
	movq	%rcx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L3:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L8
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	1(%rcx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rcx), %edx
	movl	%edx, %ecx
	subl	$48, %ecx
	cmpb	$9, %cl
	jbe	.L9
.L6:
	movq	%rax, %rcx
.L8:
	cmpq	%rsi, %rcx
	jb	.L5
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movl	%eax, %edx
	leal	-48(%rdx), %ecx
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
	cmpb	$9, %cl
	ja	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%r12d, %r12d
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L1
.L11:
	movq	8(%rdi), %rax
	movq	16(%rdi), %rsi
.L13:
	leal	(%r12,%r12,4), %ecx
	movsbl	%dl, %edx
	leal	-48(%rdx,%rcx,2), %r12d
	cmpq	%rsi, %rax
	jb	.L10
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L1
	movq	stdin(%rip), %rdi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	movq	%rcx, %rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movl	%eax, %edx
	movq	8(%rdi), %rcx
	movq	16(%rdi), %rsi
	jmp	.L3
	.cfi_endproc
.LFE63:
	.size	nextpint, .-nextpint
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB64:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L51
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L50:
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L22
	cmpb	$32, %al
	jne	.L21
.L22:
	movq	stdin(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L26:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L51
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L26
	cmpb	$10, %dl
	je	.L26
.L21:
	xorl	%r12d, %r12d
	jmp	.L32
	.p2align 4,,10
	.p2align 3
.L27:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L30
	cmpb	$10, %dl
	je	.L30
.L32:
	addq	$1, %rbx
	subl	$48, %edx
	addl	$1, %r12d
	movb	%dl, -1(%rbx)
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L27
	call	__uflow@PLT
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L30
	cmpb	$32, %al
	jne	.L32
.L30:
	movb	$0, (%rbx)
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	call	__uflow@PLT
	jmp	.L50
	.cfi_endproc
.LFE64:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	printint
	.type	printint, @function
printint:
.LFB65:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%edi, %eax
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	stdout(%rip), %rdi
	movq	%fs:40, %rdx
	movq	%rdx, 24(%rsp)
	xorl	%edx, %edx
	movq	40(%rdi), %rsi
	movq	48(%rdi), %r8
	testl	%eax, %eax
	jne	.L53
	cmpq	%r8, %rsi
	jnb	.L121
	leaq	1(%rsi), %rax
	movq	%rax, 40(%rdi)
	movb	$48, (%rsi)
.L55:
	movq	stdout(%rip), %rdi
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L122
	leaq	1(%rax), %rdx
	movq	%rdx, 40(%rdi)
	movb	$10, (%rax)
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L118
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L53:
	.cfi_restore_state
	movl	%eax, %edx
	movl	$3435973837, %r9d
	movl	%eax, %ebp
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %ecx
	addl	%ecx, %ecx
	subl	%ecx, %ebp
	addl	$48, %ebp
	movb	%bpl, 14(%rsp)
	cmpl	$9, %eax
	jbe	.L82
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 15(%rsp)
	cmpl	$99, %eax
	jbe	.L83
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 16(%rsp)
	cmpl	$999, %eax
	jbe	.L84
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 17(%rsp)
	cmpl	$9999, %eax
	jbe	.L85
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 18(%rsp)
	cmpl	$99999, %eax
	jbe	.L86
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 19(%rsp)
	cmpl	$999999, %eax
	jbe	.L87
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %ecx
	addl	$48, %ecx
	movb	%cl, 20(%rsp)
	cmpl	$9999999, %eax
	jbe	.L88
	movl	%edx, %ecx
	imulq	%r9, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %r10d
	addl	%r10d, %r10d
	subl	%r10d, %edx
	addl	$48, %edx
	movb	%dl, 21(%rsp)
	cmpl	$99999999, %eax
	jbe	.L89
	movl	%ecx, %edx
	imulq	%r9, %rdx
	shrq	$35, %rdx
	leal	(%rdx,%rdx,4), %r9d
	addl	%r9d, %r9d
	subl	%r9d, %ecx
	addl	$48, %ecx
	movb	%cl, 22(%rsp)
	cmpl	$999999999, %eax
	jbe	.L90
	addl	$48, %edx
	movl	$9, %ebx
	movb	%dl, 23(%rsp)
.L56:
	movslq	%ebx, %rax
	movzbl	14(%rsp,%rax), %eax
	cmpq	%r8, %rsi
	jnb	.L57
	leaq	1(%rsi), %rdx
	movq	%rdx, 40(%rdi)
	movb	%al, (%rsi)
.L58:
	leal	-1(%rbx), %eax
	testl	%ebx, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	%rax, 48(%rdi)
	jbe	.L60
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L61:
	leal	-2(%rbx), %eax
	cmpl	$1, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L62
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L63:
	leal	-3(%rbx), %eax
	cmpl	$2, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L64
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L65:
	leal	-4(%rbx), %eax
	cmpl	$3, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L66
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L67:
	leal	-5(%rbx), %eax
	cmpl	$4, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L68
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L69:
	leal	-6(%rbx), %eax
	cmpl	$5, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L70
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L71:
	leal	-7(%rbx), %eax
	cmpl	$6, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	cltq
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L72
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L73:
	leal	-8(%rbx), %r12d
	cmpl	$7, %ebx
	je	.L55
	movq	stdout(%rip), %rdi
	movslq	%r12d, %rax
	movzbl	14(%rsp,%rax), %edx
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L74
	leaq	1(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movb	%dl, (%rax)
.L75:
	testl	%r12d, %r12d
	je	.L55
	movq	stdout(%rip), %rdi
	movq	40(%rdi), %rax
	cmpq	48(%rdi), %rax
	jnb	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 40(%rdi)
	movb	%bpl, (%rax)
	jmp	.L55
.L121:
	movl	$48, %esi
	call	__overflow@PLT
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L122:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L118
	addq	$32, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	movl	$10, %esi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	__overflow@PLT
.L82:
	.cfi_restore_state
	xorl	%ebx, %ebx
	jmp	.L56
.L72:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L73
.L57:
	movzbl	%al, %esi
	call	__overflow@PLT
	jmp	.L58
.L60:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L61
.L62:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L63
.L64:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L65
.L66:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L67
.L83:
	movl	$1, %ebx
	jmp	.L56
.L68:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L69
.L84:
	movl	$2, %ebx
	jmp	.L56
.L85:
	movl	$3, %ebx
	jmp	.L56
.L70:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L71
.L86:
	movl	$4, %ebx
	jmp	.L56
.L87:
	movl	$5, %ebx
	jmp	.L56
.L88:
	movl	$6, %ebx
	jmp	.L56
.L89:
	movl	$7, %ebx
	jmp	.L56
.L90:
	movl	$8, %ebx
	jmp	.L56
.L74:
	movzbl	%dl, %esi
	call	__overflow@PLT
	jmp	.L75
.L123:
	movzbl	%bpl, %esi
	call	__overflow@PLT
	jmp	.L55
.L118:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE65:
	.size	printint, .-printint
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lu\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	s(%rip), %rbx
	movq	%rbx, %rdi
	call	nextstr
	subl	$1, %eax
	js	.L125
	movslq	%eax, %rsi
	xorl	%edx, %edx
	movl	$1, %eax
	movl	$2178329129, %edi
	leaq	m(%rip), %r8
	.p2align 4,,10
	.p2align 3
.L126:
	movsbl	(%rbx,%rsi), %ecx
	subq	$1, %rsi
	imull	%eax, %ecx
	addl	%ecx, %edx
	movq	%rdx, %rcx
	imulq	%rdi, %rdx
	shrq	$42, %rdx
	imull	$2019, %edx, %r9d
	movl	%ecx, %edx
	subl	%r9d, %edx
	movl	%edx, %ecx
	addl	$1, (%r8,%rcx,4)
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx), %eax
	movq	%rax, %rcx
	imulq	%rdi, %rax
	shrq	$42, %rax
	imull	$2019, %eax, %r9d
	movl	%ecx, %eax
	subl	%r9d, %eax
	testl	%esi, %esi
	jns	.L126
.L125:
	leaq	m(%rip), %rax
	pxor	%xmm3, %xmm3
	pcmpeqd	%xmm5, %xmm5
	leaq	8064(%rax), %rdx
	.p2align 4,,10
	.p2align 3
.L127:
	movdqa	(%rax), %xmm2
	addq	$16, %rax
	movdqa	%xmm2, %xmm0
	movdqa	%xmm2, %xmm4
	paddd	%xmm5, %xmm0
	punpckhdq	%xmm2, %xmm4
	punpckldq	%xmm2, %xmm2
	movdqa	%xmm0, %xmm1
	punpckhdq	%xmm0, %xmm1
	punpckldq	%xmm0, %xmm0
	pmuludq	%xmm4, %xmm1
	pmuludq	%xmm2, %xmm0
	psrlq	$1, %xmm1
	psrlq	$1, %xmm0
	paddq	%xmm1, %xmm0
	paddq	%xmm0, %xmm3
	cmpq	%rdx, %rax
	jne	.L127
	movl	8064+m(%rip), %eax
	movl	8068+m(%rip), %esi
	movdqa	%xmm3, %xmm0
	movl	$1, %edi
	movl	8072+m(%rip), %ecx
	psrldq	$8, %xmm0
	leal	-1(%rax), %edx
	paddq	%xmm0, %xmm3
	imulq	%rax, %rdx
	leal	-1(%rsi), %eax
	imulq	%rsi, %rax
	leaq	.LC0(%rip), %rsi
	shrq	%rdx
	shrq	%rax
	addq	%rax, %rdx
	leal	-1(%rcx), %eax
	imulq	%rcx, %rax
	shrq	%rax
	addq	%rax, %rdx
	movq	%xmm3, %rax
	addq	%rax, %rdx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE66:
	.size	main, .-main
	.globl	m
	.data
	.align 32
	.type	m, @object
	.size	m, 8076
m:
	.long	1
	.zero	8072
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 200001
s:
	.zero	200001
	.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 <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

uint32_t nextpint(void){ char c=getchar_unlocked(); while(c<'0'||'9'<c) c=getchar_unlocked(); uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return x; }
uint32_t nextstr(char *s){ char c=getchar_unlocked(); while(c==' '||c=='\n') c=getchar_unlocked(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c-'0'; len++; c=getchar_unlocked(); } *s='\0'; return len; }
void printint(uint32_t x){ if(x<0){x=-x; putchar_unlocked('-');}else if(x==0){putchar_unlocked('0');} int d=0; char s[10]; while(x){ s[d]='0'+x%10; x/=10; d++; } for (int i=d-1; i>=0; i--) putchar_unlocked(s[i]); putchar_unlocked('\n'); }
void rsort_str(void *base, const int count, const int size);

char s[200001];
uint32_t m[2019]={1};

int main(void){
	uint32_t n=nextstr(s);
	uint32_t a=0, b=1;
	for(int32_t i=n-1; i>=0; i--){
		a+=b*s[i];
		a%=2019;
		m[a]++;
		b*=10;
		b%=2019;
	}
	uint64_t ans=0;
	for(uint32_t i=0; i<2019; i++){
		ans+=(uint64_t)m[i]*(m[i]-1)/2;
	}
	printf("%"PRIu64"\n", ans);
}

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

```c
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <math.h>
#ifdef __cplusplus
#include <bits/stdc++.h>
#endif

uint32_t nextpint(void){ char c=getchar_unlocked(); while(c<'0'||'9'<c) c=getchar_unlocked(); uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar_unlocked(); } return x; }
uint32_t nextstr(char *s){ char c=getchar_unlocked(); while(c==' '||c=='\n') c=getchar_unlocked(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c-'0'; len++; c=getchar_unlocked(); } *s='\0'; return len; }
void printint(uint32_t x){ if(x<0){x=-x; putchar_unlocked('-');}else if(x==0){putchar_unlocked('0');} int d=0; char s[10]; while(x){ s[d]='0'+x%10; x/=10; d++; } for (int i=d-1; i>=0; i--) putchar_unlocked(s[i]); putchar_unlocked('\n'); }
void rsort_str(void *base, const int count, const int size);

char s[200001];
uint32_t m[2019]={1};

int main(void){
	uint32_t n=nextstr(s);
	uint32_t a=0, b=1;
	for(int32_t i=n-1; i>=0; i--){
		a+=b*s[i];
		a%=2019;
		m[a]++;
		b*=10;
		b%=2019;
	}
	uint64_t ans=0;
	for(uint32_t i=0; i<2019; i++){
		ans+=(uint64_t)m[i]*(m[i]-1)/2;
	}
	printf("%"PRIu64"\n", ans);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	nextpint
	.type	nextpint, @function
nextpint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L2
.L3:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L2:
	cmpb	$47, -5(%rbp)
	jle	.L3
	cmpb	$57, -5(%rbp)
	jg	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-5(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L4:
	cmpb	$47, -5(%rbp)
	jle	.L5
	cmpb	$57, -5(%rbp)
	jle	.L6
.L5:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextpint, .-nextpint
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L9
.L10:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L9:
	cmpb	$32, -5(%rbp)
	je	.L10
	cmpb	$10, -5(%rbp)
	je	.L10
	movl	$0, -4(%rbp)
	jmp	.L11
.L13:
	movzbl	-5(%rbp), %eax
	leal	-48(%rax), %ecx
	movq	-24(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -24(%rbp)
	movl	%ecx, %edx
	movb	%dl, (%rax)
	addl	$1, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L11:
	cmpb	$32, -5(%rbp)
	je	.L12
	cmpb	$10, -5(%rbp)
	jne	.L13
.L12:
	movq	-24(%rbp), %rax
	movb	$0, (%rax)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextstr, .-nextstr
	.globl	printint
	.type	printint, @function
printint:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -36(%rbp)
	jne	.L16
	movl	$48, %edi
	call	putchar_unlocked@PLT
.L16:
	movl	$0, -28(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %ecx
	movl	%ecx, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	movl	%eax, %edx
	shrl	$3, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, %eax
	addl	$48, %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -18(%rbp,%rax)
	movl	-36(%rbp), %eax
	movl	%eax, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	shrl	$3, %eax
	movl	%eax, -36(%rbp)
	addl	$1, -28(%rbp)
.L17:
	cmpl	$0, -36(%rbp)
	jne	.L18
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L19
.L20:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar_unlocked@PLT
	subl	$1, -24(%rbp)
.L19:
	cmpl	$0, -24(%rbp)
	jns	.L20
	movl	$10, %edi
	call	putchar_unlocked@PLT
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printint, .-printint
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 200001
s:
	.zero	200001
	.globl	m
	.data
	.align 32
	.type	m, @object
	.size	m, 8076
m:
	.long	1
	.zero	8072
	.section	.rodata
.LC0:
	.string	"%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	nextstr
	movl	%eax, -12(%rbp)
	movl	$0, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L23
.L24:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	imull	-24(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	subl	$1, -20(%rbp)
.L23:
	cmpl	$0, -20(%rbp)
	jns	.L24
	movq	$0, -8(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L25
.L26:
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, %eax
	imulq	%rcx, %rax
	shrq	%rax
	addq	%rax, -8(%rbp)
	addl	$1, -16(%rbp)
.L25:
	cmpl	$2018, -16(%rbp)
	jbe	.L26
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	nextpint
	.type	nextpint, @function
nextpint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L2
.L3:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L2:
	cmpb	$47, -5(%rbp)
	jle	.L3
	cmpb	$57, -5(%rbp)
	jg	.L3
	movl	$0, -4(%rbp)
	jmp	.L4
.L6:
	movl	-4(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movsbl	-5(%rbp), %eax
	addl	%edx, %eax
	subl	$48, %eax
	movl	%eax, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L4:
	cmpb	$47, -5(%rbp)
	jle	.L5
	cmpb	$57, -5(%rbp)
	jle	.L6
.L5:
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextpint, .-nextpint
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
	jmp	.L9
.L10:
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L9:
	cmpb	$32, -5(%rbp)
	je	.L10
	cmpb	$10, -5(%rbp)
	je	.L10
	movl	$0, -4(%rbp)
	jmp	.L11
.L13:
	movzbl	-5(%rbp), %eax
	leal	-48(%rax), %ecx
	movq	-24(%rbp), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, -24(%rbp)
	movl	%ecx, %edx
	movb	%dl, (%rax)
	addl	$1, -4(%rbp)
	call	getchar_unlocked@PLT
	movb	%al, -5(%rbp)
.L11:
	cmpb	$32, -5(%rbp)
	je	.L12
	cmpb	$10, -5(%rbp)
	jne	.L13
.L12:
	movq	-24(%rbp), %rax
	movb	$0, (%rax)
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextstr, .-nextstr
	.globl	printint
	.type	printint, @function
printint:
.LFB8:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$0, -36(%rbp)
	jne	.L16
	movl	$48, %edi
	call	putchar_unlocked@PLT
.L16:
	movl	$0, -28(%rbp)
	jmp	.L17
.L18:
	movl	-36(%rbp), %ecx
	movl	%ecx, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	movl	%eax, %edx
	shrl	$3, %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%ecx, %edx
	movl	%edx, %eax
	addl	$48, %eax
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	cltq
	movb	%dl, -18(%rbp,%rax)
	movl	-36(%rbp), %eax
	movl	%eax, %edx
	movl	$3435973837, %eax
	imulq	%rdx, %rax
	shrq	$32, %rax
	shrl	$3, %eax
	movl	%eax, -36(%rbp)
	addl	$1, -28(%rbp)
.L17:
	cmpl	$0, -36(%rbp)
	jne	.L18
	movl	-28(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -24(%rbp)
	jmp	.L19
.L20:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-18(%rbp,%rax), %eax
	movsbl	%al, %eax
	movl	%eax, %edi
	call	putchar_unlocked@PLT
	subl	$1, -24(%rbp)
.L19:
	cmpl	$0, -24(%rbp)
	jns	.L20
	movl	$10, %edi
	call	putchar_unlocked@PLT
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printint, .-printint
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 200001
s:
	.zero	200001
	.globl	m
	.data
	.align 32
	.type	m, @object
	.size	m, 8076
m:
	.long	1
	.zero	8072
	.section	.rodata
.LC0:
	.string	"%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	leaq	s(%rip), %rax
	movq	%rax, %rdi
	call	nextstr
	movl	%eax, -12(%rbp)
	movl	$0, -28(%rbp)
	movl	$1, -24(%rbp)
	movl	-12(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -20(%rbp)
	jmp	.L23
.L24:
	movl	-20(%rbp), %eax
	cltq
	leaq	s(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	movsbl	%al, %eax
	imull	-24(%rbp), %eax
	addl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -28(%rbp)
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-28(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -24(%rbp)
	movl	-24(%rbp), %eax
	movl	%eax, %ecx
	movl	$2178329129, %edx
	imulq	%rcx, %rdx
	shrq	$32, %rdx
	shrl	$10, %edx
	imull	$2019, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -24(%rbp)
	subl	$1, -20(%rbp)
.L23:
	cmpl	$0, -20(%rbp)
	jns	.L24
	movq	$0, -8(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L25
.L26:
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %ecx
	movl	-16(%rbp), %eax
	leaq	0(,%rax,4), %rdx
	leaq	m(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	$1, %eax
	movl	%eax, %eax
	imulq	%rcx, %rax
	shrq	%rax
	addq	%rax, -8(%rbp)
	addl	$1, -16(%rbp)
.L25:
	cmpl	$2018, -16(%rbp)
	jbe	.L26
	movq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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:
