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

```c
#include <stdio.h>

typedef struct {
	int left;
	int right;
} pool;

int main(void)
{
	int i, j, len, k, le, ri, he, h[20001], area[10000], areasum;
	char ch;
	pool p[10000];
	
	h[0] = 0;
	i = 0;
	while(1) {
		scanf("%c",&ch);
		if( ch == '\n' ) break;
		switch (ch) {
		case '/':
			h[i+1] = h[i] + 1;
			break;
		case '\\':
			h[i+1] = h[i] - 1;
			break;
		case '_':
			h[i+1] = h[i];
			break;
		}
		i++;
	}
	len = i;
	
	k = 0;
	for (i=0; i<=len-1; i++) {
		if( h[i] > h[i+1] ) {
			for (j=i+1; j<=len; j++) {
				if( h[i] == h[j] ) {
					p[k].left = i;
					p[k].right = j;
					k++;
					i = j - 1;
					break;
				}
			}
		}
	}
	
	areasum = 0;
	for (i=0; i<k; i++) {
		le = p[i].left;
		ri = p[i].right;
		area[i] = 0;
		he = h[le];
		for (j=le; j<ri; j++) {
			area[i] += ( he - h[j] ) + ( he - h[j+1] );
		}
		area[i] /= 2;
		areasum += area[i];
	}
	
	if( k == 0 ) {
		printf("0\n0\n");
	} else {
		printf("%d\n",areasum);
		printf("%d ",k);
		for (i=0; i<k-1; i++) {
			printf("%d ",area[i]);
		}
		printf("%d\n",area[k-1]);
	}
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"0\n0"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -80016(%rbp)
	movl	$0, -200048(%rbp)
.L8:
	leaq	-200049(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-200049(%rbp), %eax
	cmpb	$10, %al
	je	.L26
	movzbl	-200049(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$95, %eax
	je	.L4
	cmpl	$95, %eax
	jg	.L5
	cmpl	$47, %eax
	je	.L6
	cmpl	$92, %eax
	je	.L7
	jmp	.L5
.L6:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L7:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	-1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L4:
	movl	-200048(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	nop
.L5:
	addl	$1, -200048(%rbp)
	jmp	.L8
.L26:
	nop
	movl	-200048(%rbp), %eax
	movl	%eax, -200032(%rbp)
	movl	$0, -200040(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L9
.L14:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L10
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -200044(%rbp)
	jmp	.L11
.L13:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L12
	movl	-200040(%rbp), %eax
	cltq
	movl	-200048(%rbp), %edx
	movl	%edx, -160016(%rbp,%rax,8)
	movl	-200040(%rbp), %eax
	cltq
	movl	-200044(%rbp), %edx
	movl	%edx, -160012(%rbp,%rax,8)
	addl	$1, -200040(%rbp)
	movl	-200044(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -200048(%rbp)
	jmp	.L10
.L12:
	addl	$1, -200044(%rbp)
.L11:
	movl	-200044(%rbp), %eax
	cmpl	-200032(%rbp), %eax
	jle	.L13
.L10:
	addl	$1, -200048(%rbp)
.L9:
	movl	-200032(%rbp), %eax
	cmpl	-200048(%rbp), %eax
	jg	.L14
	movl	$0, -200036(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L15
.L18:
	movl	-200048(%rbp), %eax
	cltq
	movl	-160016(%rbp,%rax,8), %eax
	movl	%eax, -200028(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	-160012(%rbp,%rax,8), %eax
	movl	%eax, -200024(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	$0, -200016(%rbp,%rax,4)
	movl	-200028(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	%eax, -200020(%rbp)
	movl	-200028(%rbp), %eax
	movl	%eax, -200044(%rbp)
	jmp	.L16
.L17:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	movl	-200044(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	addl	%esi, %eax
	addl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	addl	$1, -200044(%rbp)
.L16:
	movl	-200044(%rbp), %eax
	cmpl	-200024(%rbp), %eax
	jl	.L17
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	addl	%eax, -200036(%rbp)
	addl	$1, -200048(%rbp)
.L15:
	movl	-200048(%rbp), %eax
	cmpl	-200040(%rbp), %eax
	jl	.L18
	cmpl	$0, -200040(%rbp)
	jne	.L19
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L20
.L19:
	movl	-200036(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-200040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -200048(%rbp)
	jmp	.L21
.L22:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -200048(%rbp)
.L21:
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -200048(%rbp)
	jl	.L22
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c"
.LC1:
	.string	"0\n0"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196664
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3448, %rsp
	.cfi_def_cfa_offset 200112
	xorl	%ebx, %ebx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 200040(%rsp)
	xorl	%eax, %eax
	leaq	120032(%rsp), %r12
	leaq	31(%rsp), %r14
	movl	$0, 120032(%rsp)
	movq	%r12, %rbp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	cmpb	$47, %al
	je	.L40
.L7:
	addq	$4, %rbp
.L8:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	31(%rsp), %eax
	cmpb	$10, %al
	je	.L41
	addl	$1, %ebx
	cmpb	$92, %al
	je	.L5
	cmpb	$95, %al
	jne	.L42
	movl	0(%rbp), %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	movl	0(%rbp), %eax
	subl	$1, %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L40:
	movl	0(%rbp), %eax
	addl	$1, %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L41:
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	xorl	%ecx, %ecx
	testl	%ebx, %ebx
	jne	.L3
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%esi, %ecx
	movl	%edi, %edx
	cmpl	%ecx, %ebx
	jle	.L43
.L3:
	leal	1(%rcx), %esi
	movslq	%esi, %rax
	movl	120032(%rsp,%rax,4), %edi
	cmpl	%edx, %edi
	jge	.L24
	leal	2(%rcx), %eax
	cltq
	cmpl	%ebx, %esi
	jg	.L24
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %r8d
	cmpl	%eax, %ebx
	jl	.L24
	addq	$1, %rax
	cmpl	%edx, -4(%r12,%rax,4)
	jne	.L11
	movd	%ecx, %xmm0
	movd	%r8d, %xmm7
	movslq	%ebp, %rax
	movl	%r8d, %ecx
	punpckldq	%xmm7, %xmm0
	addl	$1, %ebp
	movq	%xmm0, 40032(%rsp,%rax,8)
	cmpl	%ecx, %ebx
	jg	.L3
	.p2align 4,,10
	.p2align 3
.L43:
	testl	%ebp, %ebp
	je	.L13
	leaq	36(%rsp), %rsi
	leaq	32(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rsi, 8(%rsp)
	movq	%rax, %r9
	leaq	40032(%rsp), %r13
	movq	%rax, (%rsp)
	leal	-1(%rbp), %eax
	movq	%rax, %rbx
	leaq	(%rsi,%rax,4), %r15
	.p2align 4,,10
	.p2align 3
.L18:
	movslq	0(%r13), %rcx
	movl	4(%r13), %r10d
	movl	$0, (%r9)
	movl	120032(%rsp,%rcx,4), %esi
	movq	%rcx, %rdx
	cmpl	%r10d, %ecx
	jge	.L25
	movl	%r10d, %r11d
	subl	%ecx, %r11d
	leal	-1(%r11), %eax
	cmpl	$2, %eax
	jbe	.L26
	salq	$2, %rcx
	movd	%esi, %xmm6
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	leaq	(%r12,%rcx), %r8
	leaq	4(%r12,%rcx), %rdi
	movl	%r11d, %ecx
	shrl	$2, %ecx
	pshufd	$0, %xmm6, %xmm2
	salq	$4, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movdqu	(%rdi,%rax), %xmm4
	movdqu	(%r8,%rax), %xmm5
	movdqa	%xmm2, %xmm0
	movdqa	%xmm2, %xmm3
	addq	$16, %rax
	psubd	%xmm4, %xmm0
	psubd	%xmm5, %xmm3
	paddd	%xmm3, %xmm0
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rcx
	jne	.L16
	movdqa	%xmm1, %xmm0
	movl	%r11d, %ecx
	psrldq	$8, %xmm0
	andl	$-4, %ecx
	paddd	%xmm0, %xmm1
	addl	%ecx, %edx
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%r11d, %ecx
	je	.L17
	movslq	%edx, %rcx
.L15:
	leal	1(%rdx), %r8d
	movl	%esi, %r11d
	movslq	%r8d, %rdi
	subl	120032(%rsp,%rdi,4), %r11d
	movl	%r11d, %edi
	movl	%esi, %r11d
	subl	120032(%rsp,%rcx,4), %r11d
	movl	%r11d, %ecx
	addl	%edi, %ecx
	addl	%ecx, %eax
	cmpl	%r8d, %r10d
	jle	.L17
	leal	2(%rdx), %r8d
	movl	%esi, %r11d
	movslq	%r8d, %rcx
	subl	120032(%rsp,%rcx,4), %r11d
	addl	%r11d, %edi
	addl	%edi, %eax
	cmpl	%r8d, %r10d
	jle	.L17
	addl	$3, %edx
	movslq	%edx, %rdx
	subl	120032(%rsp,%rdx,4), %esi
	addl	%r11d, %esi
	addl	%esi, %eax
.L17:
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	addl	%eax, %r14d
.L14:
	movl	%eax, (%r9)
	addq	$4, %r9
	addq	$8, %r13
	cmpq	%r15, %r9
	jne	.L18
	leaq	.LC2(%rip), %r13
	movl	%r14d, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	leaq	.LC3(%rip), %r12
	call	__printf_chk@PLT
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	testl	%ebx, %ebx
	je	.L21
	movq	8(%rsp), %rsi
	leal	-2(%rbp), %eax
	movq	(%rsp), %r14
	leaq	(%rsi,%rax,4), %rbp
	.p2align 4,,10
	.p2align 3
.L20:
	movl	(%r14), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r14
	call	__printf_chk@PLT
	cmpq	%rbp, %r14
	jne	.L20
.L21:
	movslq	%ebx, %rbx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	32(%rsp,%rbx,4), %edx
	call	__printf_chk@PLT
.L4:
	movq	200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	addq	$200056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L14
.L26:
	xorl	%eax, %eax
	jmp	.L15
.L13:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c"
.LC1:
	.string	"0\n0"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	-196608(%rsp), %r11
	.cfi_def_cfa 11, 196664
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3448, %rsp
	.cfi_def_cfa_offset 200112
	xorl	%ebx, %ebx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 200040(%rsp)
	xorl	%eax, %eax
	leaq	120032(%rsp), %r12
	leaq	31(%rsp), %r14
	movl	$0, 120032(%rsp)
	movq	%r12, %rbp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	cmpb	$47, %al
	je	.L40
.L7:
	addq	$4, %rbp
.L8:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	31(%rsp), %eax
	cmpb	$10, %al
	je	.L41
	addl	$1, %ebx
	cmpb	$92, %al
	je	.L5
	cmpb	$95, %al
	jne	.L42
	movl	0(%rbp), %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	movl	0(%rbp), %eax
	subl	$1, %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L40:
	movl	0(%rbp), %eax
	addl	$1, %eax
	movl	%eax, 4(%rbp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L41:
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	xorl	%ecx, %ecx
	testl	%ebx, %ebx
	jne	.L3
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L24:
	movl	%esi, %ecx
	movl	%edi, %edx
	cmpl	%ecx, %ebx
	jle	.L43
.L3:
	leal	1(%rcx), %esi
	movslq	%esi, %rax
	movl	120032(%rsp,%rax,4), %edi
	cmpl	%edx, %edi
	jge	.L24
	leal	2(%rcx), %eax
	cltq
	cmpl	%ebx, %esi
	jg	.L24
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%eax, %r8d
	cmpl	%eax, %ebx
	jl	.L24
	addq	$1, %rax
	cmpl	%edx, -4(%r12,%rax,4)
	jne	.L11
	movd	%ecx, %xmm0
	movd	%r8d, %xmm7
	movslq	%ebp, %rax
	movl	%r8d, %ecx
	punpckldq	%xmm7, %xmm0
	addl	$1, %ebp
	movq	%xmm0, 40032(%rsp,%rax,8)
	cmpl	%ecx, %ebx
	jg	.L3
	.p2align 4,,10
	.p2align 3
.L43:
	testl	%ebp, %ebp
	je	.L13
	leaq	36(%rsp), %rsi
	leaq	32(%rsp), %rax
	xorl	%r14d, %r14d
	movq	%rsi, 8(%rsp)
	movq	%rax, %r9
	leaq	40032(%rsp), %r13
	movq	%rax, (%rsp)
	leal	-1(%rbp), %eax
	movq	%rax, %rbx
	leaq	(%rsi,%rax,4), %r15
	.p2align 4,,10
	.p2align 3
.L18:
	movslq	0(%r13), %rcx
	movl	4(%r13), %r10d
	movl	$0, (%r9)
	movl	120032(%rsp,%rcx,4), %esi
	movq	%rcx, %rdx
	cmpl	%r10d, %ecx
	jge	.L25
	movl	%r10d, %r11d
	subl	%ecx, %r11d
	leal	-1(%r11), %eax
	cmpl	$2, %eax
	jbe	.L26
	salq	$2, %rcx
	movd	%esi, %xmm6
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	leaq	(%r12,%rcx), %r8
	leaq	4(%r12,%rcx), %rdi
	movl	%r11d, %ecx
	shrl	$2, %ecx
	pshufd	$0, %xmm6, %xmm2
	salq	$4, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movdqu	(%rdi,%rax), %xmm4
	movdqu	(%r8,%rax), %xmm5
	movdqa	%xmm2, %xmm0
	movdqa	%xmm2, %xmm3
	addq	$16, %rax
	psubd	%xmm4, %xmm0
	psubd	%xmm5, %xmm3
	paddd	%xmm3, %xmm0
	paddd	%xmm0, %xmm1
	cmpq	%rax, %rcx
	jne	.L16
	movdqa	%xmm1, %xmm0
	movl	%r11d, %ecx
	psrldq	$8, %xmm0
	andl	$-4, %ecx
	paddd	%xmm0, %xmm1
	addl	%ecx, %edx
	movdqa	%xmm1, %xmm0
	psrldq	$4, %xmm0
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%r11d, %ecx
	je	.L17
	movslq	%edx, %rcx
.L15:
	leal	1(%rdx), %r8d
	movl	%esi, %r11d
	movslq	%r8d, %rdi
	subl	120032(%rsp,%rdi,4), %r11d
	movl	%r11d, %edi
	movl	%esi, %r11d
	subl	120032(%rsp,%rcx,4), %r11d
	movl	%r11d, %ecx
	addl	%edi, %ecx
	addl	%ecx, %eax
	cmpl	%r8d, %r10d
	jle	.L17
	leal	2(%rdx), %r8d
	movl	%esi, %r11d
	movslq	%r8d, %rcx
	subl	120032(%rsp,%rcx,4), %r11d
	addl	%r11d, %edi
	addl	%edi, %eax
	cmpl	%r8d, %r10d
	jle	.L17
	addl	$3, %edx
	movslq	%edx, %rdx
	subl	120032(%rsp,%rdx,4), %esi
	addl	%r11d, %esi
	addl	%esi, %eax
.L17:
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	addl	%eax, %r14d
.L14:
	movl	%eax, (%r9)
	addq	$4, %r9
	addq	$8, %r13
	cmpq	%r15, %r9
	jne	.L18
	leaq	.LC2(%rip), %r13
	movl	%r14d, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	leaq	.LC3(%rip), %r12
	call	__printf_chk@PLT
	xorl	%eax, %eax
	movl	%ebp, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	testl	%ebx, %ebx
	je	.L21
	movq	8(%rsp), %rsi
	leal	-2(%rbp), %eax
	movq	(%rsp), %r14
	leaq	(%rsi,%rax,4), %rbp
	.p2align 4,,10
	.p2align 3
.L20:
	movl	(%r14), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r14
	call	__printf_chk@PLT
	cmpq	%rbp, %r14
	jne	.L20
.L21:
	movslq	%ebx, %rbx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	movl	32(%rsp,%rbx,4), %edx
	call	__printf_chk@PLT
.L4:
	movq	200040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	addq	$200056, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	xorl	%eax, %eax
	jmp	.L14
.L26:
	xorl	%eax, %eax
	jmp	.L15
.L13:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L4
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include <stdio.h>

typedef struct {
	int left;
	int right;
} pool;

int main(void)
{
	int i, j, len, k, le, ri, he, h[20001], area[10000], areasum;
	char ch;
	pool p[10000];
	
	h[0] = 0;
	i = 0;
	while(1) {
		scanf("%c",&ch);
		if( ch == '\n' ) break;
		switch (ch) {
		case '/':
			h[i+1] = h[i] + 1;
			break;
		case '\\':
			h[i+1] = h[i] - 1;
			break;
		case '_':
			h[i+1] = h[i];
			break;
		}
		i++;
	}
	len = i;
	
	k = 0;
	for (i=0; i<=len-1; i++) {
		if( h[i] > h[i+1] ) {
			for (j=i+1; j<=len; j++) {
				if( h[i] == h[j] ) {
					p[k].left = i;
					p[k].right = j;
					k++;
					i = j - 1;
					break;
				}
			}
		}
	}
	
	areasum = 0;
	for (i=0; i<k; i++) {
		le = p[i].left;
		ri = p[i].right;
		area[i] = 0;
		he = h[le];
		for (j=le; j<ri; j++) {
			area[i] += ( he - h[j] ) + ( he - h[j+1] );
		}
		area[i] /= 2;
		areasum += area[i];
	}
	
	if( k == 0 ) {
		printf("0\n0\n");
	} else {
		printf("%d\n",areasum);
		printf("%d ",k);
		for (i=0; i<k-1; i++) {
			printf("%d ",area[i]);
		}
		printf("%d\n",area[k-1]);
	}
	
	return 0;
}
\/_/\_/\\_\\\__///\\/_/\\\\/\/_\///\\
 ]\//
 \/_/\_/\\_/\\__///\\/_/\\\\/\/_\/\/\\
 \/_/\_/\\_/\\__///\\/_/\[\\0\/_\/\/\\
 -/\]
 \/_/\_/\\_/\\__///\\/_0\[\\0\/_\/\/\\
 \/_/\_/\\_/\\__///\\/_0/[\\0\/_\/\\\\
 \/_/\_/\\_0\\__///\\/_0/[\\0\/_\/\\\\
 \/__\_/\\/0\\__///\\/_0/[\\0\/_\/\\\\
 \\\\/\_/\0\\[/0`/\\///__\\0/\\/_\__/\

44
5 1 2 15 5 21
 1
1 1
 32
8 1 2 20 5 1 1 1 1
 34
8 1 2 20 5 3 1 1 1
 0
0
 31
9 1 2 20 1 1 3 1 1 1
 34
7 1 2 20 6 3 1 1
 34
7 1 2 20 6 3 1 1
 26
8 1 2 4 8 6 3 1 1
 43
7 28 3 2 4 2 1 3

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

```c
#include <stdio.h>

typedef struct {
	int left;
	int right;
} pool;

int main(void)
{
	int i, j, len, k, le, ri, he, h[20001], area[10000], areasum;
	char ch;
	pool p[10000];
	
	h[0] = 0;
	i = 0;
	while(1) {
		scanf("%c",&ch);
		if( ch == '\n' ) break;
		switch (ch) {
		case '/':
			h[i+1] = h[i] + 1;
			break;
		case '\\':
			h[i+1] = h[i] - 1;
			break;
		case '_':
			h[i+1] = h[i];
			break;
		}
		i++;
	}
	len = i;
	
	k = 0;
	for (i=0; i<=len-1; i++) {
		if( h[i] > h[i+1] ) {
			for (j=i+1; j<=len; j++) {
				if( h[i] == h[j] ) {
					p[k].left = i;
					p[k].right = j;
					k++;
					i = j - 1;
					break;
				}
			}
		}
	}
	
	areasum = 0;
	for (i=0; i<k; i++) {
		le = p[i].left;
		ri = p[i].right;
		area[i] = 0;
		he = h[le];
		for (j=le; j<ri; j++) {
			area[i] += ( he - h[j] ) + ( he - h[j+1] );
		}
		area[i] /= 2;
		areasum += area[i];
	}
	
	if( k == 0 ) {
		printf("0\n0\n");
	} else {
		printf("%d\n",areasum);
		printf("%d ",k);
		for (i=0; i<k-1; i++) {
			printf("%d ",area[i]);
		}
		printf("%d\n",area[k-1]);
	}
	
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"0\n0"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -80016(%rbp)
	movl	$0, -200048(%rbp)
.L8:
	leaq	-200049(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-200049(%rbp), %eax
	cmpb	$10, %al
	je	.L26
	movzbl	-200049(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$95, %eax
	je	.L4
	cmpl	$95, %eax
	jg	.L5
	cmpl	$47, %eax
	je	.L6
	cmpl	$92, %eax
	je	.L7
	jmp	.L5
.L6:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L7:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	-1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L4:
	movl	-200048(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	nop
.L5:
	addl	$1, -200048(%rbp)
	jmp	.L8
.L26:
	nop
	movl	-200048(%rbp), %eax
	movl	%eax, -200032(%rbp)
	movl	$0, -200040(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L9
.L14:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L10
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -200044(%rbp)
	jmp	.L11
.L13:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L12
	movl	-200040(%rbp), %eax
	cltq
	movl	-200048(%rbp), %edx
	movl	%edx, -160016(%rbp,%rax,8)
	movl	-200040(%rbp), %eax
	cltq
	movl	-200044(%rbp), %edx
	movl	%edx, -160012(%rbp,%rax,8)
	addl	$1, -200040(%rbp)
	movl	-200044(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -200048(%rbp)
	jmp	.L10
.L12:
	addl	$1, -200044(%rbp)
.L11:
	movl	-200044(%rbp), %eax
	cmpl	-200032(%rbp), %eax
	jle	.L13
.L10:
	addl	$1, -200048(%rbp)
.L9:
	movl	-200032(%rbp), %eax
	cmpl	-200048(%rbp), %eax
	jg	.L14
	movl	$0, -200036(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L15
.L18:
	movl	-200048(%rbp), %eax
	cltq
	movl	-160016(%rbp,%rax,8), %eax
	movl	%eax, -200028(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	-160012(%rbp,%rax,8), %eax
	movl	%eax, -200024(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	$0, -200016(%rbp,%rax,4)
	movl	-200028(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	%eax, -200020(%rbp)
	movl	-200028(%rbp), %eax
	movl	%eax, -200044(%rbp)
	jmp	.L16
.L17:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	movl	-200044(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	addl	%esi, %eax
	addl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	addl	$1, -200044(%rbp)
.L16:
	movl	-200044(%rbp), %eax
	cmpl	-200024(%rbp), %eax
	jl	.L17
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	addl	%eax, -200036(%rbp)
	addl	$1, -200048(%rbp)
.L15:
	movl	-200048(%rbp), %eax
	cmpl	-200040(%rbp), %eax
	jl	.L18
	cmpl	$0, -200040(%rbp)
	jne	.L19
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L20
.L19:
	movl	-200036(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-200040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -200048(%rbp)
	jmp	.L21
.L22:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -200048(%rbp)
.L21:
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -200048(%rbp)
	jl	.L22
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"0\n0"
.LC2:
	.string	"%d\n"
.LC3:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-196608(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3456, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -80016(%rbp)
	movl	$0, -200048(%rbp)
.L8:
	leaq	-200049(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-200049(%rbp), %eax
	cmpb	$10, %al
	je	.L26
	movzbl	-200049(%rbp), %eax
	movsbl	%al, %eax
	cmpl	$95, %eax
	je	.L4
	cmpl	$95, %eax
	jg	.L5
	cmpl	$47, %eax
	je	.L6
	cmpl	$92, %eax
	je	.L7
	jmp	.L5
.L6:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L7:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	-200048(%rbp), %edx
	leal	1(%rdx), %ecx
	leal	-1(%rax), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	jmp	.L5
.L4:
	movl	-200048(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movslq	%ecx, %rax
	movl	%edx, -80016(%rbp,%rax,4)
	nop
.L5:
	addl	$1, -200048(%rbp)
	jmp	.L8
.L26:
	nop
	movl	-200048(%rbp), %eax
	movl	%eax, -200032(%rbp)
	movl	$0, -200040(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L9
.L14:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jle	.L10
	movl	-200048(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -200044(%rbp)
	jmp	.L11
.L13:
	movl	-200048(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	cmpl	%eax, %edx
	jne	.L12
	movl	-200040(%rbp), %eax
	cltq
	movl	-200048(%rbp), %edx
	movl	%edx, -160016(%rbp,%rax,8)
	movl	-200040(%rbp), %eax
	cltq
	movl	-200044(%rbp), %edx
	movl	%edx, -160012(%rbp,%rax,8)
	addl	$1, -200040(%rbp)
	movl	-200044(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -200048(%rbp)
	jmp	.L10
.L12:
	addl	$1, -200044(%rbp)
.L11:
	movl	-200044(%rbp), %eax
	cmpl	-200032(%rbp), %eax
	jle	.L13
.L10:
	addl	$1, -200048(%rbp)
.L9:
	movl	-200032(%rbp), %eax
	cmpl	-200048(%rbp), %eax
	jg	.L14
	movl	$0, -200036(%rbp)
	movl	$0, -200048(%rbp)
	jmp	.L15
.L18:
	movl	-200048(%rbp), %eax
	cltq
	movl	-160016(%rbp,%rax,8), %eax
	movl	%eax, -200028(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	-160012(%rbp,%rax,8), %eax
	movl	%eax, -200024(%rbp)
	movl	-200048(%rbp), %eax
	cltq
	movl	$0, -200016(%rbp,%rax,4)
	movl	-200028(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %eax
	movl	%eax, -200020(%rbp)
	movl	-200028(%rbp), %eax
	movl	%eax, -200044(%rbp)
	jmp	.L16
.L17:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %edx
	movl	-200044(%rbp), %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %esi
	movl	-200044(%rbp), %eax
	addl	$1, %eax
	cltq
	movl	-80016(%rbp,%rax,4), %ecx
	movl	-200020(%rbp), %eax
	subl	%ecx, %eax
	addl	%esi, %eax
	addl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	addl	$1, -200044(%rbp)
.L16:
	movl	-200044(%rbp), %eax
	cmpl	-200024(%rbp), %eax
	jl	.L17
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, %edx
	movl	-200048(%rbp), %eax
	cltq
	movl	%edx, -200016(%rbp,%rax,4)
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	addl	%eax, -200036(%rbp)
	addl	$1, -200048(%rbp)
.L15:
	movl	-200048(%rbp), %eax
	cmpl	-200040(%rbp), %eax
	jl	.L18
	cmpl	$0, -200040(%rbp)
	jne	.L19
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L20
.L19:
	movl	-200036(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	-200040(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, -200048(%rbp)
	jmp	.L21
.L22:
	movl	-200048(%rbp), %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -200048(%rbp)
.L21:
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -200048(%rbp)
	jl	.L22
	movl	-200040(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-200016(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
