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 <signal.h>
#include <stdarg.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
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
//#pragma GCC optimize("unroll-loops")

#define getchar getchar_unlocked
#define putchar putchar_unlocked
int32_t nextint(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); bool s=false; if(c=='-'){s=true;c=getchar();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
int64_t nextlong(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); int s=0; if(c=='-'){s=1;c=getchar();} uint64_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
uint32_t nextstr(char *s){ char c=getchar(); while(c==' '||c=='\n') c=getchar(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c; len++; c=getchar(); } *s='\0'; return len; }
void rsorta_d32(void *base, const int count, const int size, const int index){
	typedef int32_t rsort_t;
	rsort_t (*a)[size] = (rsort_t(*)[size])base;
	rsort_t (*b)[size] = (rsort_t(*)[size])malloc(count*size*sizeof(rsort_t));
	int c[0x100];
	for(int k=0; k<4; k++){
		memset(c, 0, sizeof(c)); for(int i=0; i<count; i++){ c[(a[i][index]>>(k<<3))&0xFF]++; } for(int i=1; i<0x100; i++) c[i]+=c[i-1]; for(int i=count-1; i>=0; i--){ int to=--c[(a[i][index]>>(k<<3))&0xFF]; for(int j=0; j<size; j++){ b[to][j]=a[i][j]; } }{rsort_t(*t)[size]=a; a=b; b=t;}
	}
	free(b);
}

int main(void){
	int x=nextint();
	int k=0;
	for(int i=600; i<=2000; i+=200){
		k+=(x<i);
	}
	printf("%d\n", k);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L5
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L28:
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L5
.L26:
	cmpb	$9, %cl
	ja	.L28
	cmpb	$45, %dl
	je	.L5
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L13
.L6:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L9:
	leal	0(%rbp,%rbp,4), %eax
	leal	(%rdx,%rax,2), %r12d
	call	getchar_unlocked@PLT
	leal	-48(%r12), %ebp
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L9
	movl	$48, %eax
	subl	%r12d, %eax
	testb	%bl, %bl
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%ebp, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L13
	movl	$1, %ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.p2align 4
	.globl	nextlong
	.type	nextlong, @function
nextlong:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L33
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L55:
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L33
.L54:
	cmpb	$9, %cl
	ja	.L55
	cmpb	$45, %dl
	je	.L33
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L41
.L34:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	0(%rbp,%rbp,4), %rax
	leaq	(%rdx,%rax,2), %r12
	call	getchar_unlocked@PLT
	leaq	-48(%r12), %rbp
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L37
	movl	$48, %eax
	subq	%r12, %rax
	testl	%ebx, %ebx
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%rbp, %rax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L41
	movl	$1, %ebx
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L41:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextlong, .-nextlong
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB8:
	.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
	call	getchar_unlocked@PLT
	cmpb	$32, %al
	je	.L68
	movl	%eax, %edx
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L68:
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L68
.L73:
	cmpb	$10, %al
	je	.L68
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L60:
	movb	%dl, (%rbx)
	addq	$1, %rbx
	addl	$1, %r12d
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L62
	cmpb	$10, %al
	jne	.L60
.L62:
	movb	$0, (%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	rsorta_d32
	.type	rsorta_d32, @function
rsorta_d32:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movslq	%edx, %r15
	pushq	%r14
	.cfi_offset 14, -32
	movl	%esi, %r14d
	pushq	%r13
	.cfi_offset 13, -40
	movl	%ecx, %r13d
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%r15, %rbx
	andq	$-32, %rsp
	subq	$1152, %rsp
	movq	%rdi, 72(%rsp)
	movl	%esi, %edi
	imull	%r15d, %edi
	movl	%esi, 104(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1144(%rsp)
	xorl	%eax, %eax
	movslq	%edi, %rdi
	movq	%r15, 88(%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	leaq	0(,%r15,4), %rsi
	movslq	%r13d, %rdx
	movl	$0, 108(%rsp)
	movq	%rax, %r12
	leal	-1(%r14), %eax
	movq	%rsi, 96(%rsp)
	leaq	0(,%rdx,4), %rcx
	movl	%eax, 36(%rsp)
	cltq
	imulq	%rax, %rsi
	movq	%rcx, 16(%rsp)
	imulq	%r15, %rax
	movq	%rdx, 64(%rsp)
	leaq	1136(%rsp), %rdx
	movq	%rsi, 40(%rsp)
	movq	72(%rsp), %rsi
	movq	%rax, 24(%rsp)
	leal	-1(%r15), %eax
	movl	%eax, 60(%rsp)
	movl	%r15d, %eax
	shrl	$3, %eax
	leal	-1(%rax), %r9d
	movl	%r15d, %eax
	andl	$-8, %eax
	addq	$1, %r9
	movl	%eax, 56(%rsp)
	leaq	112(%rsp), %rax
	salq	$5, %r9
	movq	%rax, 8(%rsp)
	leaq	116(%rsp), %rax
	movq	%rax, (%rsp)
	movl	%r15d, %eax
	andl	$7, %eax
	movl	%eax, 52(%rsp)
	subl	$1, %eax
	movl	%eax, 48(%rsp)
.L80:
	movq	8(%rsp), %rdi
	movl	$128, %ecx
	xorl	%eax, %eax
	addq	16(%rsp), %rsi
	rep stosq
	movl	104(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L78
	.p2align 4,,10
	.p2align 3
.L77:
	movl	(%rsi), %edi
	movzbl	108(%rsp), %ecx
	addl	$1, %eax
	addq	96(%rsp), %rsi
	sarl	%cl, %edi
	movzbl	%dil, %ecx
	addl	$1, 112(%rsp,%rcx,4)
	cmpl	%eax, 104(%rsp)
	jne	.L77
.L78:
	movl	112(%rsp), %ecx
	movq	(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L76:
	addl	(%rax), %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	cmpq	%rdx, %rax
	jne	.L76
	movl	36(%rsp), %eax
	movl	60(%rsp), %edi
	movq	72(%rsp), %rsi
	movq	24(%rsp), %r10
	movq	%rdi, 80(%rsp)
	addq	40(%rsp), %rsi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	.L84
	.p2align 4,,10
	.p2align 3
.L83:
	movq	64(%rsp), %rax
	movzbl	108(%rsp), %ecx
	movl	(%rsi,%rax,4), %eax
	sarl	%cl, %eax
	movzbl	%al, %ecx
	movl	112(%rsp,%rcx,4), %eax
	subl	$1, %eax
	movl	%eax, 112(%rsp,%rcx,4)
	testl	%ebx, %ebx
	jle	.L89
	cltq
	imulq	88(%rsp), %rax
	leaq	4(%rsi), %r8
	leaq	(%r12,%rax,4), %rcx
	movq	%rcx, %rdi
	subq	%r8, %rdi
	cmpq	$24, %rdi
	jbe	.L85
	movl	60(%rsp), %edi
	cmpl	$2, %edi
	jbe	.L85
	cmpl	$6, %edi
	jbe	.L98
	xorl	%edi, %edi
	.p2align 4,,10
	.p2align 3
.L87:
	vmovdqu	(%rsi,%rdi), %ymm1
	vmovdqu	%ymm1, (%rcx,%rdi)
	addq	$32, %rdi
	cmpq	%r9, %rdi
	jne	.L87
	movl	56(%rsp), %r8d
	movl	%r8d, %edi
	cmpl	%ebx, %r8d
	je	.L89
	cmpl	$2, 48(%rsp)
	movl	52(%rsp), %r14d
	jbe	.L91
.L86:
	movq	72(%rsp), %r11
	leaq	(%r8,%r10), %r15
	addq	%r8, %rax
	vmovdqu	(%r11,%r15,4), %xmm0
	vmovdqu	%xmm0, (%r12,%rax,4)
	movl	%r14d, %eax
	andl	$-4, %eax
	addl	%eax, %edi
	cmpl	%eax, %r14d
	je	.L89
.L91:
	movslq	%edi, %rax
	salq	$2, %rax
	leaq	(%rsi,%rax), %r8
	addq	%rcx, %rax
	leal	1(%rdi), %ecx
	movl	(%r8), %r14d
	movl	%r14d, (%rax)
	cmpl	%ecx, %ebx
	jle	.L89
	movl	4(%r8), %ecx
	addl	$2, %edi
	movl	%ecx, 4(%rax)
	cmpl	%edi, %ebx
	jle	.L89
	movl	8(%r8), %ecx
	movl	%ecx, 8(%rax)
.L89:
	subl	$1, %r13d
	subq	96(%rsp), %rsi
	subq	88(%rsp), %r10
	cmpl	$-1, %r13d
	jne	.L83
.L84:
	addl	$8, 108(%rsp)
	movl	108(%rsp), %esi
	movq	%r12, %rax
	movq	72(%rsp), %r12
	cmpl	$32, %esi
	je	.L115
	movq	%rax, 72(%rsp)
	movq	%rax, %rsi
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L85:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L93:
	movl	(%rsi,%rax,4), %edi
	movl	%edi, (%rcx,%rax,4)
	movq	%rax, %rdi
	addq	$1, %rax
	cmpq	80(%rsp), %rdi
	jne	.L93
	jmp	.L89
.L98:
	movl	%ebx, %r14d
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	jmp	.L86
.L115:
	movq	1144(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
	movq	%r12, %rdi
	vzeroupper
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	jmp	free@PLT
.L116:
	.cfi_restore_state
	vzeroupper
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE9:
	.size	rsorta_d32, .-rsorta_d32
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	andq	$-32, %rsp
	call	nextint
	vmovdqa	.LC0(%rip), %ymm1
	leaq	.LC2(%rip), %rdi
	vmovd	%eax, %xmm0
	xorl	%eax, %eax
	vpbroadcastd	%xmm0, %ymm0
	vpcmpgtd	%ymm0, %ymm1, %ymm1
	vpand	.LC1(%rip), %ymm1, %ymm1
	vmovdqa	%xmm1, %xmm0
	vextracti128	$0x1, %ymm1, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$8, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$4, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vmovd	%xmm0, %esi
	vzeroupper
	call	printf@PLT
	xorl	%eax, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata.cst32,"aM",@progbits,32
	.align 32
.LC0:
	.long	600
	.long	800
	.long	1000
	.long	1200
	.long	1400
	.long	1600
	.long	1800
	.long	2000
	.align 32
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.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	nextint
	.type	nextint, @function
nextint:
.LFB63:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L44
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
	movl	%eax, %ecx
.L3:
	movl	%eax, %edx
	subl	$48, %ecx
	cmpb	$45, %al
	je	.L9
	cmpb	$9, %cl
	jbe	.L4
.L41:
	movq	stdin(%rip), %rdi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %ecx
	cmpb	$45, %dl
	je	.L9
	cmpb	$9, %cl
	jbe	.L4
.L8:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L5
	call	__uflow@PLT
	leal	-48(%rax), %ecx
	movl	%eax, %edx
	cmpb	$9, %cl
	jbe	.L4
	cmpb	$45, %al
	jne	.L41
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$45, %dl
	je	.L9
	xorl	%r12d, %r12d
	cmpb	$9, %cl
	ja	.L22
.L10:
	xorl	%ebx, %ebx
.L42:
	movq	stdin(%rip), %rdi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L17
.L18:
	leal	(%rbx,%rbx,4), %eax
	movsbl	%dl, %edx
	leal	(%rdx,%rax,2), %ebp
	movq	8(%rdi), %rax
	leal	-48(%rbp), %ebx
	cmpq	16(%rdi), %rax
	jb	.L15
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L42
.L17:
	movl	$48, %eax
	subl	%ebp, %eax
	testb	%r12b, %r12b
	cmove	%ebx, %eax
	popq	%rbx
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L45
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L13:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L22
	movl	$1, %r12d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	call	__uflow@PLT
	movl	%eax, %ecx
	jmp	.L3
.L45:
	call	__uflow@PLT
	movl	%eax, %edx
	jmp	.L13
	.cfi_endproc
.LFE63:
	.size	nextint, .-nextint
	.p2align 4
	.globl	nextlong
	.type	nextlong, @function
nextlong:
.LFB64:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L88
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
	movl	%eax, %ecx
.L48:
	movl	%eax, %edx
	subl	$48, %ecx
	cmpb	$45, %al
	je	.L54
	cmpb	$9, %cl
	jbe	.L49
.L86:
	movq	stdin(%rip), %rdi
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L50:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %ecx
	cmpb	$45, %dl
	je	.L54
	cmpb	$9, %cl
	jbe	.L49
.L53:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L50
	call	__uflow@PLT
	leal	-48(%rax), %ecx
	movl	%eax, %edx
	cmpb	$9, %cl
	jbe	.L49
	cmpb	$45, %al
	jne	.L86
	.p2align 4,,10
	.p2align 3
.L49:
	cmpb	$45, %dl
	je	.L54
	xorl	%r12d, %r12d
	cmpb	$9, %cl
	ja	.L67
.L55:
	xorl	%ebx, %ebx
.L87:
	movq	stdin(%rip), %rdi
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L60:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L62
.L63:
	leaq	(%rbx,%rbx,4), %rax
	movsbq	%dl, %rdx
	leaq	(%rdx,%rax,2), %rbp
	movq	8(%rdi), %rax
	leaq	-48(%rbp), %rbx
	cmpq	16(%rdi), %rax
	jb	.L60
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L87
.L62:
	movl	$48, %eax
	subq	%rbp, %rax
	testl	%r12d, %r12d
	cmove	%rbx, %rax
	popq	%rbx
	.cfi_remember_state
	.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
.L54:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L89
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L58:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L67
	movl	$1, %r12d
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L67:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L88:
	.cfi_restore_state
	call	__uflow@PLT
	movl	%eax, %ecx
	jmp	.L48
.L89:
	call	__uflow@PLT
	movl	%eax, %edx
	jmp	.L58
	.cfi_endproc
.LFE64:
	.size	nextlong, .-nextlong
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB65:
	.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	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L122:
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L94
	cmpb	$32, %al
	jne	.L93
.L94:
	movq	stdin(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L98:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L98
	cmpb	$10, %dl
	je	.L98
.L93:
	xorl	%r12d, %r12d
	jmp	.L104
	.p2align 4,,10
	.p2align 3
.L99:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L102
	cmpb	$10, %dl
	je	.L102
.L104:
	movb	%dl, (%rbx)
	movq	stdin(%rip), %rdi
	addq	$1, %rbx
	addl	$1, %r12d
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L99
	call	__uflow@PLT
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L102
	cmpb	$32, %al
	jne	.L104
.L102:
	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
.L123:
	.cfi_restore_state
	call	__uflow@PLT
	jmp	.L122
	.cfi_endproc
.LFE65:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	rsorta_d32
	.type	rsorta_d32, @function
rsorta_d32:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movl	%esi, %r15d
	pushq	%r14
	.cfi_offset 14, -32
	movslq	%ecx, %r14
	pushq	%r13
	.cfi_offset 13, -40
	movslq	%edx, %r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%r13, %rbx
	andq	$-32, %rsp
	subq	$1152, %rsp
	movq	%rdi, 96(%rsp)
	movl	%esi, %edi
	imull	%r13d, %edi
	movl	%esi, 60(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1144(%rsp)
	xorl	%eax, %eax
	movslq	%edi, %rdi
	movq	%r13, (%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	leaq	0(,%r13,4), %rdi
	movq	96(%rsp), %rsi
	movq	%r14, %r11
	movq	%rax, %r12
	leal	-1(%r15), %eax
	movq	%rdi, 88(%rsp)
	leaq	0(,%r14,4), %rdx
	movl	%eax, 56(%rsp)
	cltq
	imulq	%rax, %rdi
	movl	$0, 104(%rsp)
	imulq	%r13, %rax
	movq	%rdx, 24(%rsp)
	leaq	1136(%rsp), %rdx
	movq	%rdi, 40(%rsp)
	movq	%rax, 32(%rsp)
	leal	-1(%r13), %eax
	movl	%eax, 84(%rsp)
	movl	%r13d, %eax
	shrl	$3, %eax
	leal	-1(%rax), %r9d
	movl	%r13d, %eax
	andl	$-8, %eax
	addq	$1, %r9
	movl	%eax, 80(%rsp)
	leaq	112(%rsp), %rax
	salq	$5, %r9
	movq	%rax, 16(%rsp)
	leaq	116(%rsp), %rax
	movq	%rax, 8(%rsp)
	movl	%r13d, %eax
	andl	$7, %eax
	movl	%eax, 76(%rsp)
	subl	$1, %eax
	movl	%eax, 72(%rsp)
.L130:
	movq	16(%rsp), %rdi
	movl	$128, %ecx
	xorl	%eax, %eax
	addq	24(%rsp), %rsi
	rep stosq
	movl	60(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L128
	movq	88(%rsp), %r8
	movl	104(%rsp), %ecx
	movl	60(%rsp), %r10d
	.p2align 4,,10
	.p2align 3
.L127:
	movl	(%rsi), %edi
	addl	$1, %eax
	addq	%r8, %rsi
	sarl	%cl, %edi
	movzbl	%dil, %edi
	addl	$1, 112(%rsp,%rdi,4)
	cmpl	%eax, %r10d
	jne	.L127
.L128:
	movl	112(%rsp), %ecx
	movq	8(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L126:
	addl	(%rax), %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	cmpq	%rdx, %rax
	jne	.L126
	movl	56(%rsp), %eax
	movl	84(%rsp), %edi
	movq	96(%rsp), %rsi
	movq	32(%rsp), %r10
	movq	%rdi, 64(%rsp)
	addq	40(%rsp), %rsi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	.L134
	movq	%rdx, 48(%rsp)
	movq	(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L133:
	movl	(%rsi,%r11,4), %edx
	movzbl	104(%rsp), %ecx
	sarl	%cl, %edx
	movzbl	%dl, %edx
	movl	112(%rsp,%rdx,4), %eax
	subl	$1, %eax
	movl	%eax, 112(%rsp,%rdx,4)
	testl	%ebx, %ebx
	jle	.L139
	cltq
	leaq	4(%rsi), %rdi
	imulq	%r14, %rax
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, %rcx
	subq	%rdi, %rcx
	cmpq	$24, %rcx
	jbe	.L135
	movl	84(%rsp), %edi
	cmpl	$2, %edi
	jbe	.L135
	cmpl	$6, %edi
	jbe	.L148
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L137:
	vmovdqu	(%rsi,%rcx), %ymm1
	vmovdqu	%ymm1, (%rdx,%rcx)
	addq	$32, %rcx
	cmpq	%r9, %rcx
	jne	.L137
	movl	80(%rsp), %edi
	cmpl	%ebx, %edi
	je	.L139
	cmpl	$2, 72(%rsp)
	movl	76(%rsp), %r8d
	jbe	.L149
	movl	%edi, 108(%rsp)
.L136:
	movq	96(%rsp), %rcx
	leaq	(%rdi,%r10), %r15
	addq	%rdi, %rax
	vmovdqu	(%rcx,%r15,4), %xmm0
	movl	108(%rsp), %ecx
	vmovdqu	%xmm0, (%r12,%rax,4)
	movl	%r8d, %eax
	andl	$-4, %eax
	addl	%eax, %ecx
	cmpl	%eax, %r8d
	je	.L139
.L141:
	movslq	%ecx, %rax
	salq	$2, %rax
	leaq	(%rsi,%rax), %rdi
	addq	%rdx, %rax
	leal	1(%rcx), %edx
	movl	(%rdi), %r8d
	movl	%r8d, (%rax)
	cmpl	%edx, %ebx
	jle	.L139
	movl	4(%rdi), %edx
	addl	$2, %ecx
	movl	%edx, 4(%rax)
	cmpl	%ecx, %ebx
	jle	.L139
	movl	8(%rdi), %edx
	movl	%edx, 8(%rax)
.L139:
	subl	$1, %r13d
	subq	88(%rsp), %rsi
	subq	%r14, %r10
	cmpl	$-1, %r13d
	jne	.L133
	movq	48(%rsp), %rdx
.L134:
	addl	$8, 104(%rsp)
	movl	104(%rsp), %esi
	movq	%r12, %rax
	movq	96(%rsp), %r12
	cmpl	$32, %esi
	je	.L167
	movq	%rax, 96(%rsp)
	movq	%rax, %rsi
	jmp	.L130
	.p2align 4,,10
	.p2align 3
.L135:
	movq	64(%rsp), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L143:
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rdx,%rax,4)
	movq	%rax, %rcx
	addq	$1, %rax
	cmpq	%rdi, %rcx
	jne	.L143
	jmp	.L139
.L148:
	movl	$0, 108(%rsp)
	movl	%ebx, %r8d
	xorl	%edi, %edi
	jmp	.L136
.L149:
	movl	%edi, %ecx
	jmp	.L141
.L167:
	movq	1144(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L168
	movq	%r12, %rdi
	vzeroupper
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	jmp	free@PLT
.L168:
	.cfi_restore_state
	vzeroupper
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE66:
	.size	rsorta_d32, .-rsorta_d32
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB67:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	andq	$-32, %rsp
	call	nextint
	vmovdqa	.LC0(%rip), %ymm1
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	vmovd	%eax, %xmm0
	xorl	%eax, %eax
	vpbroadcastd	%xmm0, %ymm0
	vpcmpgtd	%ymm0, %ymm1, %ymm1
	vpand	.LC1(%rip), %ymm1, %ymm1
	vmovdqa	%xmm1, %xmm0
	vextracti128	$0x1, %ymm1, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$8, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$4, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vmovd	%xmm0, %edx
	vzeroupper
	call	__printf_chk@PLT
	xorl	%eax, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE67:
	.size	main, .-main
	.section	.rodata.cst32,"aM",@progbits,32
	.align 32
.LC0:
	.long	600
	.long	800
	.long	1000
	.long	1200
	.long	1400
	.long	1600
	.long	1800
	.long	2000
	.align 32
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.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	nextint
	.type	nextint, @function
nextint:
.LFB63:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L44
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
	movl	%eax, %ecx
.L3:
	movl	%eax, %edx
	subl	$48, %ecx
	cmpb	$45, %al
	je	.L9
	cmpb	$9, %cl
	jbe	.L4
.L41:
	movq	stdin(%rip), %rdi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %ecx
	cmpb	$45, %dl
	je	.L9
	cmpb	$9, %cl
	jbe	.L4
.L8:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L5
	call	__uflow@PLT
	leal	-48(%rax), %ecx
	movl	%eax, %edx
	cmpb	$9, %cl
	jbe	.L4
	cmpb	$45, %al
	jne	.L41
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$45, %dl
	je	.L9
	xorl	%r12d, %r12d
	cmpb	$9, %cl
	ja	.L22
.L10:
	xorl	%ebx, %ebx
.L42:
	movq	stdin(%rip), %rdi
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L15:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L17
.L18:
	leal	(%rbx,%rbx,4), %eax
	movsbl	%dl, %edx
	leal	(%rdx,%rax,2), %ebp
	movq	8(%rdi), %rax
	leal	-48(%rbp), %ebx
	cmpq	16(%rdi), %rax
	jb	.L15
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L42
.L17:
	movl	$48, %eax
	subl	%ebp, %eax
	testb	%r12b, %r12b
	cmove	%ebx, %eax
	popq	%rbx
	.cfi_remember_state
	.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
.L9:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L45
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L13:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L22
	movl	$1, %r12d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L44:
	.cfi_restore_state
	call	__uflow@PLT
	movl	%eax, %ecx
	jmp	.L3
.L45:
	call	__uflow@PLT
	movl	%eax, %edx
	jmp	.L13
	.cfi_endproc
.LFE63:
	.size	nextint, .-nextint
	.p2align 4
	.globl	nextlong
	.type	nextlong, @function
nextlong:
.LFB64:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L88
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
	movl	%eax, %ecx
.L48:
	movl	%eax, %edx
	subl	$48, %ecx
	cmpb	$45, %al
	je	.L54
	cmpb	$9, %cl
	jbe	.L49
.L86:
	movq	stdin(%rip), %rdi
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L50:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %ecx
	cmpb	$45, %dl
	je	.L54
	cmpb	$9, %cl
	jbe	.L49
.L53:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L50
	call	__uflow@PLT
	leal	-48(%rax), %ecx
	movl	%eax, %edx
	cmpb	$9, %cl
	jbe	.L49
	cmpb	$45, %al
	jne	.L86
	.p2align 4,,10
	.p2align 3
.L49:
	cmpb	$45, %dl
	je	.L54
	xorl	%r12d, %r12d
	cmpb	$9, %cl
	ja	.L67
.L55:
	xorl	%ebx, %ebx
.L87:
	movq	stdin(%rip), %rdi
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L60:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	leal	-48(%rdx), %eax
	cmpb	$9, %al
	ja	.L62
.L63:
	leaq	(%rbx,%rbx,4), %rax
	movsbq	%dl, %rdx
	leaq	(%rdx,%rax,2), %rbp
	movq	8(%rdi), %rax
	leaq	-48(%rbp), %rbx
	cmpq	16(%rdi), %rax
	jb	.L60
	call	__uflow@PLT
	movl	%eax, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L87
.L62:
	movl	$48, %eax
	subq	%rbp, %rax
	testl	%r12d, %r12d
	cmove	%rbx, %rax
	popq	%rbx
	.cfi_remember_state
	.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
.L54:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L89
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	movl	%edx, %eax
.L58:
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L67
	movl	$1, %r12d
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L67:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L88:
	.cfi_restore_state
	call	__uflow@PLT
	movl	%eax, %ecx
	jmp	.L48
.L89:
	call	__uflow@PLT
	movl	%eax, %edx
	jmp	.L58
	.cfi_endproc
.LFE64:
	.size	nextlong, .-nextlong
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB65:
	.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	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L122:
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L94
	cmpb	$32, %al
	jne	.L93
.L94:
	movq	stdin(%rip), %rdi
	.p2align 4,,10
	.p2align 3
.L98:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jnb	.L123
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L98
	cmpb	$10, %dl
	je	.L98
.L93:
	xorl	%r12d, %r12d
	jmp	.L104
	.p2align 4,,10
	.p2align 3
.L99:
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %edx
	cmpb	$32, %dl
	je	.L102
	cmpb	$10, %dl
	je	.L102
.L104:
	movb	%dl, (%rbx)
	movq	stdin(%rip), %rdi
	addq	$1, %rbx
	addl	$1, %r12d
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jb	.L99
	call	__uflow@PLT
	movl	%eax, %edx
	cmpb	$10, %al
	je	.L102
	cmpb	$32, %al
	jne	.L104
.L102:
	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
.L123:
	.cfi_restore_state
	call	__uflow@PLT
	jmp	.L122
	.cfi_endproc
.LFE65:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	rsorta_d32
	.type	rsorta_d32, @function
rsorta_d32:
.LFB66:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movl	%esi, %r15d
	pushq	%r14
	.cfi_offset 14, -32
	movslq	%ecx, %r14
	pushq	%r13
	.cfi_offset 13, -40
	movslq	%edx, %r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%r13, %rbx
	andq	$-32, %rsp
	subq	$1152, %rsp
	movq	%rdi, 96(%rsp)
	movl	%esi, %edi
	imull	%r13d, %edi
	movl	%esi, 60(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1144(%rsp)
	xorl	%eax, %eax
	movslq	%edi, %rdi
	movq	%r13, (%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	leaq	0(,%r13,4), %rdi
	movq	96(%rsp), %rsi
	movq	%r14, %r11
	movq	%rax, %r12
	leal	-1(%r15), %eax
	movq	%rdi, 88(%rsp)
	leaq	0(,%r14,4), %rdx
	movl	%eax, 56(%rsp)
	cltq
	imulq	%rax, %rdi
	movl	$0, 104(%rsp)
	imulq	%r13, %rax
	movq	%rdx, 24(%rsp)
	leaq	1136(%rsp), %rdx
	movq	%rdi, 40(%rsp)
	movq	%rax, 32(%rsp)
	leal	-1(%r13), %eax
	movl	%eax, 84(%rsp)
	movl	%r13d, %eax
	shrl	$3, %eax
	leal	-1(%rax), %r9d
	movl	%r13d, %eax
	andl	$-8, %eax
	addq	$1, %r9
	movl	%eax, 80(%rsp)
	leaq	112(%rsp), %rax
	salq	$5, %r9
	movq	%rax, 16(%rsp)
	leaq	116(%rsp), %rax
	movq	%rax, 8(%rsp)
	movl	%r13d, %eax
	andl	$7, %eax
	movl	%eax, 76(%rsp)
	subl	$1, %eax
	movl	%eax, 72(%rsp)
.L130:
	movq	16(%rsp), %rdi
	movl	$128, %ecx
	xorl	%eax, %eax
	addq	24(%rsp), %rsi
	rep stosq
	movl	60(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L128
	movq	88(%rsp), %r8
	movl	104(%rsp), %ecx
	movl	60(%rsp), %r10d
	.p2align 4,,10
	.p2align 3
.L127:
	movl	(%rsi), %edi
	addl	$1, %eax
	addq	%r8, %rsi
	sarl	%cl, %edi
	movzbl	%dil, %edi
	addl	$1, 112(%rsp,%rdi,4)
	cmpl	%eax, %r10d
	jne	.L127
.L128:
	movl	112(%rsp), %ecx
	movq	8(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L126:
	addl	(%rax), %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	cmpq	%rdx, %rax
	jne	.L126
	movl	56(%rsp), %eax
	movl	84(%rsp), %edi
	movq	96(%rsp), %rsi
	movq	32(%rsp), %r10
	movq	%rdi, 64(%rsp)
	addq	40(%rsp), %rsi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	.L134
	movq	%rdx, 48(%rsp)
	movq	(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L133:
	movl	(%rsi,%r11,4), %edx
	movzbl	104(%rsp), %ecx
	sarl	%cl, %edx
	movzbl	%dl, %edx
	movl	112(%rsp,%rdx,4), %eax
	subl	$1, %eax
	movl	%eax, 112(%rsp,%rdx,4)
	testl	%ebx, %ebx
	jle	.L139
	cltq
	leaq	4(%rsi), %rdi
	imulq	%r14, %rax
	leaq	(%r12,%rax,4), %rdx
	movq	%rdx, %rcx
	subq	%rdi, %rcx
	cmpq	$24, %rcx
	jbe	.L135
	movl	84(%rsp), %edi
	cmpl	$2, %edi
	jbe	.L135
	cmpl	$6, %edi
	jbe	.L148
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L137:
	vmovdqu	(%rsi,%rcx), %ymm1
	vmovdqu	%ymm1, (%rdx,%rcx)
	addq	$32, %rcx
	cmpq	%r9, %rcx
	jne	.L137
	movl	80(%rsp), %edi
	cmpl	%ebx, %edi
	je	.L139
	cmpl	$2, 72(%rsp)
	movl	76(%rsp), %r8d
	jbe	.L149
	movl	%edi, 108(%rsp)
.L136:
	movq	96(%rsp), %rcx
	leaq	(%rdi,%r10), %r15
	addq	%rdi, %rax
	vmovdqu	(%rcx,%r15,4), %xmm0
	movl	108(%rsp), %ecx
	vmovdqu	%xmm0, (%r12,%rax,4)
	movl	%r8d, %eax
	andl	$-4, %eax
	addl	%eax, %ecx
	cmpl	%eax, %r8d
	je	.L139
.L141:
	movslq	%ecx, %rax
	salq	$2, %rax
	leaq	(%rsi,%rax), %rdi
	addq	%rdx, %rax
	leal	1(%rcx), %edx
	movl	(%rdi), %r8d
	movl	%r8d, (%rax)
	cmpl	%edx, %ebx
	jle	.L139
	movl	4(%rdi), %edx
	addl	$2, %ecx
	movl	%edx, 4(%rax)
	cmpl	%ecx, %ebx
	jle	.L139
	movl	8(%rdi), %edx
	movl	%edx, 8(%rax)
.L139:
	subl	$1, %r13d
	subq	88(%rsp), %rsi
	subq	%r14, %r10
	cmpl	$-1, %r13d
	jne	.L133
	movq	48(%rsp), %rdx
.L134:
	addl	$8, 104(%rsp)
	movl	104(%rsp), %esi
	movq	%r12, %rax
	movq	96(%rsp), %r12
	cmpl	$32, %esi
	je	.L167
	movq	%rax, 96(%rsp)
	movq	%rax, %rsi
	jmp	.L130
	.p2align 4,,10
	.p2align 3
.L135:
	movq	64(%rsp), %rdi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L143:
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rdx,%rax,4)
	movq	%rax, %rcx
	addq	$1, %rax
	cmpq	%rdi, %rcx
	jne	.L143
	jmp	.L139
.L148:
	movl	$0, 108(%rsp)
	movl	%ebx, %r8d
	xorl	%edi, %edi
	jmp	.L136
.L149:
	movl	%edi, %ecx
	jmp	.L141
.L167:
	movq	1144(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L168
	movq	%r12, %rdi
	vzeroupper
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	jmp	free@PLT
.L168:
	.cfi_restore_state
	vzeroupper
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE66:
	.size	rsorta_d32, .-rsorta_d32
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB67:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	andq	$-32, %rsp
	call	nextint
	vmovdqa	.LC0(%rip), %ymm1
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	vmovd	%eax, %xmm0
	xorl	%eax, %eax
	vpbroadcastd	%xmm0, %ymm0
	vpcmpgtd	%ymm0, %ymm1, %ymm1
	vpand	.LC1(%rip), %ymm1, %ymm1
	vmovdqa	%xmm1, %xmm0
	vextracti128	$0x1, %ymm1, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$8, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$4, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vmovd	%xmm0, %edx
	vzeroupper
	call	__printf_chk@PLT
	xorl	%eax, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE67:
	.size	main, .-main
	.section	.rodata.cst32,"aM",@progbits,32
	.align 32
.LC0:
	.long	600
	.long	800
	.long	1000
	.long	1200
	.long	1400
	.long	1600
	.long	1800
	.long	2000
	.align 32
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.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 <signal.h>
#include <stdarg.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
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
//#pragma GCC optimize("unroll-loops")

#define getchar getchar_unlocked
#define putchar putchar_unlocked
int32_t nextint(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); bool s=false; if(c=='-'){s=true;c=getchar();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
int64_t nextlong(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); int s=0; if(c=='-'){s=1;c=getchar();} uint64_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
uint32_t nextstr(char *s){ char c=getchar(); while(c==' '||c=='\n') c=getchar(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c; len++; c=getchar(); } *s='\0'; return len; }
void rsorta_d32(void *base, const int count, const int size, const int index){
	typedef int32_t rsort_t;
	rsort_t (*a)[size] = (rsort_t(*)[size])base;
	rsort_t (*b)[size] = (rsort_t(*)[size])malloc(count*size*sizeof(rsort_t));
	int c[0x100];
	for(int k=0; k<4; k++){
		memset(c, 0, sizeof(c)); for(int i=0; i<count; i++){ c[(a[i][index]>>(k<<3))&0xFF]++; } for(int i=1; i<0x100; i++) c[i]+=c[i-1]; for(int i=count-1; i>=0; i--){ int to=--c[(a[i][index]>>(k<<3))&0xFF]; for(int j=0; j<size; j++){ b[to][j]=a[i][j]; } }{rsort_t(*t)[size]=a; a=b; b=t;}
	}
	free(b);
}

int main(void){
	int x=nextint();
	int k=0;
	for(int i=600; i<=2000; i+=200){
		k+=(x<i);
	}
	printf("%d\n", k);
}

1359
 543
 1855
 609
 982
 1485
 1125
 1764
 554
 417

4
 8
 1
 7
 6
 3
 5
 2
 8
 8

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 <signal.h>
#include <stdarg.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
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
//#pragma GCC optimize("unroll-loops")

#define getchar getchar_unlocked
#define putchar putchar_unlocked
int32_t nextint(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); bool s=false; if(c=='-'){s=true;c=getchar();} uint32_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
int64_t nextlong(void){ char c=getchar(); while(c!='-'&&(c<'0'||'9'<c)) c=getchar(); int s=0; if(c=='-'){s=1;c=getchar();} uint64_t x=0; while('0'<=c && c<='9'){ x=x*10+c-'0'; c=getchar(); } return s?-x:x; }
uint32_t nextstr(char *s){ char c=getchar(); while(c==' '||c=='\n') c=getchar(); uint32_t len=0; while(c!=' '&&c!='\n'){ *s++=c; len++; c=getchar(); } *s='\0'; return len; }
void rsorta_d32(void *base, const int count, const int size, const int index){
	typedef int32_t rsort_t;
	rsort_t (*a)[size] = (rsort_t(*)[size])base;
	rsort_t (*b)[size] = (rsort_t(*)[size])malloc(count*size*sizeof(rsort_t));
	int c[0x100];
	for(int k=0; k<4; k++){
		memset(c, 0, sizeof(c)); for(int i=0; i<count; i++){ c[(a[i][index]>>(k<<3))&0xFF]++; } for(int i=1; i<0x100; i++) c[i]+=c[i-1]; for(int i=count-1; i>=0; i--){ int to=--c[(a[i][index]>>(k<<3))&0xFF]; for(int j=0; j<size; j++){ b[to][j]=a[i][j]; } }{rsort_t(*t)[size]=a; a=b; b=t;}
	}
	free(b);
}

int main(void){
	int x=nextint();
	int k=0;
	for(int i=600; i<=2000; i+=200){
		k+=(x<i);
	}
	printf("%d\n", k);
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L5
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L28:
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L5
.L26:
	cmpb	$9, %cl
	ja	.L28
	cmpb	$45, %dl
	je	.L5
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L13
.L6:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L9:
	leal	0(%rbp,%rbp,4), %eax
	leal	(%rdx,%rax,2), %r12d
	call	getchar_unlocked@PLT
	leal	-48(%r12), %ebp
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L9
	movl	$48, %eax
	subl	%r12d, %eax
	testb	%bl, %bl
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%ebp, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L13
	movl	$1, %ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.p2align 4
	.globl	nextlong
	.type	nextlong, @function
nextlong:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L33
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L55:
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L33
.L54:
	cmpb	$9, %cl
	ja	.L55
	cmpb	$45, %dl
	je	.L33
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L41
.L34:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	0(%rbp,%rbp,4), %rax
	leaq	(%rdx,%rax,2), %r12
	call	getchar_unlocked@PLT
	leaq	-48(%r12), %rbp
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L37
	movl	$48, %eax
	subq	%r12, %rax
	testl	%ebx, %ebx
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%rbp, %rax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L41
	movl	$1, %ebx
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L41:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextlong, .-nextlong
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB8:
	.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
	call	getchar_unlocked@PLT
	cmpb	$32, %al
	je	.L68
	movl	%eax, %edx
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L68:
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L68
.L73:
	cmpb	$10, %al
	je	.L68
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L60:
	movb	%dl, (%rbx)
	addq	$1, %rbx
	addl	$1, %r12d
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L62
	cmpb	$10, %al
	jne	.L60
.L62:
	movb	$0, (%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	rsorta_d32
	.type	rsorta_d32, @function
rsorta_d32:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movslq	%edx, %r15
	pushq	%r14
	.cfi_offset 14, -32
	movl	%esi, %r14d
	pushq	%r13
	.cfi_offset 13, -40
	movl	%ecx, %r13d
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%r15, %rbx
	andq	$-32, %rsp
	subq	$1152, %rsp
	movq	%rdi, 72(%rsp)
	movl	%esi, %edi
	imull	%r15d, %edi
	movl	%esi, 104(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1144(%rsp)
	xorl	%eax, %eax
	movslq	%edi, %rdi
	movq	%r15, 88(%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	leaq	0(,%r15,4), %rsi
	movslq	%r13d, %rdx
	movl	$0, 108(%rsp)
	movq	%rax, %r12
	leal	-1(%r14), %eax
	movq	%rsi, 96(%rsp)
	leaq	0(,%rdx,4), %rcx
	movl	%eax, 36(%rsp)
	cltq
	imulq	%rax, %rsi
	movq	%rcx, 16(%rsp)
	imulq	%r15, %rax
	movq	%rdx, 64(%rsp)
	leaq	1136(%rsp), %rdx
	movq	%rsi, 40(%rsp)
	movq	72(%rsp), %rsi
	movq	%rax, 24(%rsp)
	leal	-1(%r15), %eax
	movl	%eax, 60(%rsp)
	movl	%r15d, %eax
	shrl	$3, %eax
	leal	-1(%rax), %r9d
	movl	%r15d, %eax
	andl	$-8, %eax
	addq	$1, %r9
	movl	%eax, 56(%rsp)
	leaq	112(%rsp), %rax
	salq	$5, %r9
	movq	%rax, 8(%rsp)
	leaq	116(%rsp), %rax
	movq	%rax, (%rsp)
	movl	%r15d, %eax
	andl	$7, %eax
	movl	%eax, 52(%rsp)
	subl	$1, %eax
	movl	%eax, 48(%rsp)
.L80:
	movq	8(%rsp), %rdi
	movl	$128, %ecx
	xorl	%eax, %eax
	addq	16(%rsp), %rsi
	rep stosq
	movl	104(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L78
	.p2align 4,,10
	.p2align 3
.L77:
	movl	(%rsi), %edi
	movzbl	108(%rsp), %ecx
	addl	$1, %eax
	addq	96(%rsp), %rsi
	sarl	%cl, %edi
	movzbl	%dil, %ecx
	addl	$1, 112(%rsp,%rcx,4)
	cmpl	%eax, 104(%rsp)
	jne	.L77
.L78:
	movl	112(%rsp), %ecx
	movq	(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L76:
	addl	(%rax), %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	cmpq	%rdx, %rax
	jne	.L76
	movl	36(%rsp), %eax
	movl	60(%rsp), %edi
	movq	72(%rsp), %rsi
	movq	24(%rsp), %r10
	movq	%rdi, 80(%rsp)
	addq	40(%rsp), %rsi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	.L84
	.p2align 4,,10
	.p2align 3
.L83:
	movq	64(%rsp), %rax
	movzbl	108(%rsp), %ecx
	movl	(%rsi,%rax,4), %eax
	sarl	%cl, %eax
	movzbl	%al, %ecx
	movl	112(%rsp,%rcx,4), %eax
	subl	$1, %eax
	movl	%eax, 112(%rsp,%rcx,4)
	testl	%ebx, %ebx
	jle	.L89
	cltq
	imulq	88(%rsp), %rax
	leaq	4(%rsi), %r8
	leaq	(%r12,%rax,4), %rcx
	movq	%rcx, %rdi
	subq	%r8, %rdi
	cmpq	$24, %rdi
	jbe	.L85
	movl	60(%rsp), %edi
	cmpl	$2, %edi
	jbe	.L85
	cmpl	$6, %edi
	jbe	.L98
	xorl	%edi, %edi
	.p2align 4,,10
	.p2align 3
.L87:
	vmovdqu	(%rsi,%rdi), %ymm1
	vmovdqu	%ymm1, (%rcx,%rdi)
	addq	$32, %rdi
	cmpq	%r9, %rdi
	jne	.L87
	movl	56(%rsp), %r8d
	movl	%r8d, %edi
	cmpl	%ebx, %r8d
	je	.L89
	cmpl	$2, 48(%rsp)
	movl	52(%rsp), %r14d
	jbe	.L91
.L86:
	movq	72(%rsp), %r11
	leaq	(%r8,%r10), %r15
	addq	%r8, %rax
	vmovdqu	(%r11,%r15,4), %xmm0
	vmovdqu	%xmm0, (%r12,%rax,4)
	movl	%r14d, %eax
	andl	$-4, %eax
	addl	%eax, %edi
	cmpl	%eax, %r14d
	je	.L89
.L91:
	movslq	%edi, %rax
	salq	$2, %rax
	leaq	(%rsi,%rax), %r8
	addq	%rcx, %rax
	leal	1(%rdi), %ecx
	movl	(%r8), %r14d
	movl	%r14d, (%rax)
	cmpl	%ecx, %ebx
	jle	.L89
	movl	4(%r8), %ecx
	addl	$2, %edi
	movl	%ecx, 4(%rax)
	cmpl	%edi, %ebx
	jle	.L89
	movl	8(%r8), %ecx
	movl	%ecx, 8(%rax)
.L89:
	subl	$1, %r13d
	subq	96(%rsp), %rsi
	subq	88(%rsp), %r10
	cmpl	$-1, %r13d
	jne	.L83
.L84:
	addl	$8, 108(%rsp)
	movl	108(%rsp), %esi
	movq	%r12, %rax
	movq	72(%rsp), %r12
	cmpl	$32, %esi
	je	.L115
	movq	%rax, 72(%rsp)
	movq	%rax, %rsi
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L85:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L93:
	movl	(%rsi,%rax,4), %edi
	movl	%edi, (%rcx,%rax,4)
	movq	%rax, %rdi
	addq	$1, %rax
	cmpq	80(%rsp), %rdi
	jne	.L93
	jmp	.L89
.L98:
	movl	%ebx, %r14d
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	jmp	.L86
.L115:
	movq	1144(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
	movq	%r12, %rdi
	vzeroupper
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	jmp	free@PLT
.L116:
	.cfi_restore_state
	vzeroupper
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE9:
	.size	rsorta_d32, .-rsorta_d32
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	andq	$-32, %rsp
	call	nextint
	vmovdqa	.LC0(%rip), %ymm1
	leaq	.LC2(%rip), %rdi
	vmovd	%eax, %xmm0
	xorl	%eax, %eax
	vpbroadcastd	%xmm0, %ymm0
	vpcmpgtd	%ymm0, %ymm1, %ymm1
	vpand	.LC1(%rip), %ymm1, %ymm1
	vmovdqa	%xmm1, %xmm0
	vextracti128	$0x1, %ymm1, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$8, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$4, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vmovd	%xmm0, %esi
	vzeroupper
	call	printf@PLT
	xorl	%eax, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata.cst32,"aM",@progbits,32
	.align 32
.LC0:
	.long	600
	.long	800
	.long	1000
	.long	1200
	.long	1400
	.long	1600
	.long	1800
	.long	2000
	.align 32
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.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
	.p2align 4
	.globl	nextint
	.type	nextint, @function
nextint:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L5
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L28:
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L5
.L26:
	cmpb	$9, %cl
	ja	.L28
	cmpb	$45, %dl
	je	.L5
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L13
.L6:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L9:
	leal	0(%rbp,%rbp,4), %eax
	leal	(%rdx,%rax,2), %r12d
	call	getchar_unlocked@PLT
	leal	-48(%r12), %ebp
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L9
	movl	$48, %eax
	subl	%r12d, %eax
	testb	%bl, %bl
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%ebp, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbl	%al, %edx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L13
	movl	$1, %ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6:
	.size	nextint, .-nextint
	.p2align 4
	.globl	nextlong
	.type	nextlong, @function
nextlong:
.LFB7:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	getchar_unlocked@PLT
	cmpb	$45, %al
	je	.L33
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L55:
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	leal	-48(%rax), %ecx
	cmpb	$45, %al
	je	.L33
.L54:
	cmpb	$9, %cl
	ja	.L55
	cmpb	$45, %dl
	je	.L33
	xorl	%ebx, %ebx
	cmpb	$9, %cl
	ja	.L41
.L34:
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L37:
	leaq	0(%rbp,%rbp,4), %rax
	leaq	(%rdx,%rax,2), %r12
	call	getchar_unlocked@PLT
	leaq	-48(%r12), %rbp
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	jbe	.L37
	movl	$48, %eax
	subq	%r12, %rax
	testl	%ebx, %ebx
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	cmove	%rbp, %rax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	call	getchar_unlocked@PLT
	movsbq	%al, %rdx
	subl	$48, %eax
	cmpb	$9, %al
	ja	.L41
	movl	$1, %ebx
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L41:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE7:
	.size	nextlong, .-nextlong
	.p2align 4
	.globl	nextstr
	.type	nextstr, @function
nextstr:
.LFB8:
	.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
	call	getchar_unlocked@PLT
	cmpb	$32, %al
	je	.L68
	movl	%eax, %edx
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L68:
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L68
.L73:
	cmpb	$10, %al
	je	.L68
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L60:
	movb	%dl, (%rbx)
	addq	$1, %rbx
	addl	$1, %r12d
	call	getchar_unlocked@PLT
	movl	%eax, %edx
	cmpb	$32, %al
	je	.L62
	cmpb	$10, %al
	jne	.L60
.L62:
	movb	$0, (%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	movl	%r12d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8:
	.size	nextstr, .-nextstr
	.p2align 4
	.globl	rsorta_d32
	.type	rsorta_d32, @function
rsorta_d32:
.LFB9:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movslq	%edx, %r15
	pushq	%r14
	.cfi_offset 14, -32
	movl	%esi, %r14d
	pushq	%r13
	.cfi_offset 13, -40
	movl	%ecx, %r13d
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%r15, %rbx
	andq	$-32, %rsp
	subq	$1152, %rsp
	movq	%rdi, 72(%rsp)
	movl	%esi, %edi
	imull	%r15d, %edi
	movl	%esi, 104(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1144(%rsp)
	xorl	%eax, %eax
	movslq	%edi, %rdi
	movq	%r15, 88(%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	leaq	0(,%r15,4), %rsi
	movslq	%r13d, %rdx
	movl	$0, 108(%rsp)
	movq	%rax, %r12
	leal	-1(%r14), %eax
	movq	%rsi, 96(%rsp)
	leaq	0(,%rdx,4), %rcx
	movl	%eax, 36(%rsp)
	cltq
	imulq	%rax, %rsi
	movq	%rcx, 16(%rsp)
	imulq	%r15, %rax
	movq	%rdx, 64(%rsp)
	leaq	1136(%rsp), %rdx
	movq	%rsi, 40(%rsp)
	movq	72(%rsp), %rsi
	movq	%rax, 24(%rsp)
	leal	-1(%r15), %eax
	movl	%eax, 60(%rsp)
	movl	%r15d, %eax
	shrl	$3, %eax
	leal	-1(%rax), %r9d
	movl	%r15d, %eax
	andl	$-8, %eax
	addq	$1, %r9
	movl	%eax, 56(%rsp)
	leaq	112(%rsp), %rax
	salq	$5, %r9
	movq	%rax, 8(%rsp)
	leaq	116(%rsp), %rax
	movq	%rax, (%rsp)
	movl	%r15d, %eax
	andl	$7, %eax
	movl	%eax, 52(%rsp)
	subl	$1, %eax
	movl	%eax, 48(%rsp)
.L80:
	movq	8(%rsp), %rdi
	movl	$128, %ecx
	xorl	%eax, %eax
	addq	16(%rsp), %rsi
	rep stosq
	movl	104(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L78
	.p2align 4,,10
	.p2align 3
.L77:
	movl	(%rsi), %edi
	movzbl	108(%rsp), %ecx
	addl	$1, %eax
	addq	96(%rsp), %rsi
	sarl	%cl, %edi
	movzbl	%dil, %ecx
	addl	$1, 112(%rsp,%rcx,4)
	cmpl	%eax, 104(%rsp)
	jne	.L77
.L78:
	movl	112(%rsp), %ecx
	movq	(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L76:
	addl	(%rax), %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	cmpq	%rdx, %rax
	jne	.L76
	movl	36(%rsp), %eax
	movl	60(%rsp), %edi
	movq	72(%rsp), %rsi
	movq	24(%rsp), %r10
	movq	%rdi, 80(%rsp)
	addq	40(%rsp), %rsi
	movl	%eax, %r13d
	testl	%eax, %eax
	js	.L84
	.p2align 4,,10
	.p2align 3
.L83:
	movq	64(%rsp), %rax
	movzbl	108(%rsp), %ecx
	movl	(%rsi,%rax,4), %eax
	sarl	%cl, %eax
	movzbl	%al, %ecx
	movl	112(%rsp,%rcx,4), %eax
	subl	$1, %eax
	movl	%eax, 112(%rsp,%rcx,4)
	testl	%ebx, %ebx
	jle	.L89
	cltq
	imulq	88(%rsp), %rax
	leaq	4(%rsi), %r8
	leaq	(%r12,%rax,4), %rcx
	movq	%rcx, %rdi
	subq	%r8, %rdi
	cmpq	$24, %rdi
	jbe	.L85
	movl	60(%rsp), %edi
	cmpl	$2, %edi
	jbe	.L85
	cmpl	$6, %edi
	jbe	.L98
	xorl	%edi, %edi
	.p2align 4,,10
	.p2align 3
.L87:
	vmovdqu	(%rsi,%rdi), %ymm1
	vmovdqu	%ymm1, (%rcx,%rdi)
	addq	$32, %rdi
	cmpq	%r9, %rdi
	jne	.L87
	movl	56(%rsp), %r8d
	movl	%r8d, %edi
	cmpl	%ebx, %r8d
	je	.L89
	cmpl	$2, 48(%rsp)
	movl	52(%rsp), %r14d
	jbe	.L91
.L86:
	movq	72(%rsp), %r11
	leaq	(%r8,%r10), %r15
	addq	%r8, %rax
	vmovdqu	(%r11,%r15,4), %xmm0
	vmovdqu	%xmm0, (%r12,%rax,4)
	movl	%r14d, %eax
	andl	$-4, %eax
	addl	%eax, %edi
	cmpl	%eax, %r14d
	je	.L89
.L91:
	movslq	%edi, %rax
	salq	$2, %rax
	leaq	(%rsi,%rax), %r8
	addq	%rcx, %rax
	leal	1(%rdi), %ecx
	movl	(%r8), %r14d
	movl	%r14d, (%rax)
	cmpl	%ecx, %ebx
	jle	.L89
	movl	4(%r8), %ecx
	addl	$2, %edi
	movl	%ecx, 4(%rax)
	cmpl	%edi, %ebx
	jle	.L89
	movl	8(%r8), %ecx
	movl	%ecx, 8(%rax)
.L89:
	subl	$1, %r13d
	subq	96(%rsp), %rsi
	subq	88(%rsp), %r10
	cmpl	$-1, %r13d
	jne	.L83
.L84:
	addl	$8, 108(%rsp)
	movl	108(%rsp), %esi
	movq	%r12, %rax
	movq	72(%rsp), %r12
	cmpl	$32, %esi
	je	.L115
	movq	%rax, 72(%rsp)
	movq	%rax, %rsi
	jmp	.L80
	.p2align 4,,10
	.p2align 3
.L85:
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L93:
	movl	(%rsi,%rax,4), %edi
	movl	%edi, (%rcx,%rax,4)
	movq	%rax, %rdi
	addq	$1, %rax
	cmpq	80(%rsp), %rdi
	jne	.L93
	jmp	.L89
.L98:
	movl	%ebx, %r14d
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	jmp	.L86
.L115:
	movq	1144(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
	movq	%r12, %rdi
	vzeroupper
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	jmp	free@PLT
.L116:
	.cfi_restore_state
	vzeroupper
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE9:
	.size	rsorta_d32, .-rsorta_d32
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	andq	$-32, %rsp
	call	nextint
	vmovdqa	.LC0(%rip), %ymm1
	leaq	.LC2(%rip), %rdi
	vmovd	%eax, %xmm0
	xorl	%eax, %eax
	vpbroadcastd	%xmm0, %ymm0
	vpcmpgtd	%ymm0, %ymm1, %ymm1
	vpand	.LC1(%rip), %ymm1, %ymm1
	vmovdqa	%xmm1, %xmm0
	vextracti128	$0x1, %ymm1, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$8, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vpsrldq	$4, %xmm0, %xmm1
	vpaddd	%xmm1, %xmm0, %xmm0
	vmovd	%xmm0, %esi
	vzeroupper
	call	printf@PLT
	xorl	%eax, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata.cst32,"aM",@progbits,32
	.align 32
.LC0:
	.long	600
	.long	800
	.long	1000
	.long	1200
	.long	1400
	.long	1600
	.long	1800
	.long	2000
	.align 32
.LC1:
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.long	1
	.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:
