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>
#include <memory.h>
struct data{
	int h,w;
};
int main(void){
	struct data box[200];
	int n,t,d,i,minw,maxw,minh,maxh;
	while(1){
		scanf("%d",&n);
		if(!n)break;
		memset(box,0,sizeof(box));
		box[0].h=box[0].w=0;
		for(i=1;i<n;i++){
			scanf("%d %d",&t,&d);
			switch(d){
				case 0:box[i].w=box[t].w-1; box[i].h=box[t].h; break;
				case 1:box[i].w=box[t].w; box[i].h=box[t].h-1; break;
				case 2:box[i].w=box[t].w+1; box[i].h=box[t].h; break;
				case 3:box[i].w=box[t].w; box[i].h=box[t].h+1; break;
			}
		}
		minw=minh=202;
		maxw=maxh=-202;
		for(i=0;i<n;i++){
			if(box[i].w<minw)minw=box[i].w;
			if(box[i].w>maxw)maxw=box[i].w;
			if(box[i].h<minh)minh=box[i].h;
			if(box[i].h>maxh)maxh=box[i].h;
		}
		printf("%d %d\n",maxw-minw+1,maxh-minh+1);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.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
	subq	$1648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L17:
	leaq	-1648(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1648(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	leaq	-1616(%rbp), %rax
	movl	$1600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -1612(%rbp)
	movl	-1612(%rbp), %eax
	movl	%eax, -1616(%rbp)
	movl	$1, -1636(%rbp)
	jmp	.L4
.L10:
	leaq	-1640(%rbp), %rdx
	leaq	-1644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1640(%rbp), %eax
	cmpl	$3, %eax
	je	.L5
	cmpl	$3, %eax
	jg	.L6
	cmpl	$2, %eax
	je	.L7
	cmpl	$2, %eax
	jg	.L6
	testl	%eax, %eax
	je	.L8
	cmpl	$1, %eax
	je	.L9
	jmp	.L6
.L8:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L9:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L7:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L5:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	nop
.L6:
	addl	$1, -1636(%rbp)
.L4:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L10
	movl	$202, -1624(%rbp)
	movl	-1624(%rbp), %eax
	movl	%eax, -1632(%rbp)
	movl	$-202, -1620(%rbp)
	movl	-1620(%rbp), %eax
	movl	%eax, -1628(%rbp)
	movl	$0, -1636(%rbp)
	jmp	.L11
.L16:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1632(%rbp)
	jle	.L12
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1632(%rbp)
.L12:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1628(%rbp)
	jge	.L13
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1628(%rbp)
.L13:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1624(%rbp)
	jle	.L14
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1624(%rbp)
.L14:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1620(%rbp)
	jge	.L15
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1620(%rbp)
.L15:
	addl	$1, -1636(%rbp)
.L11:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L16
	movl	-1620(%rbp), %eax
	subl	-1624(%rbp), %eax
	leal	1(%rax), %edx
	movl	-1628(%rbp), %eax
	subl	-1632(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L21:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %d"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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
	leaq	.LC3(%rip), %r13
	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
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1712
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	testl	%esi, %esi
	je	.L2
	leaq	32(%rsp), %rbx
	movl	$200, %ecx
	xorl	%eax, %eax
	movq	%rbx, %rdi
	rep stosq
	cmpl	$1, %esi
	jle	.L3
	leaq	40(%rsp), %r15
	movl	$1, %r14d
	leaq	28(%rsp), %r12
	leaq	24(%rsp), %rbp
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$1, %eax
	jne	.L8
	movslq	24(%rsp), %rax
	movl	32(%rsp,%rax,8), %ecx
	movl	36(%rsp,%rax,8), %eax
	subl	$1, %ecx
	movd	%eax, %xmm7
	movd	%ecx, %xmm0
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	.p2align 4,,10
	.p2align 3
.L8:
	movl	20(%rsp), %esi
	addl	$1, %r14d
	addq	$8, %r15
	cmpl	%r14d, %esi
	jle	.L3
.L10:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$2, %eax
	je	.L4
	jg	.L5
	testl	%eax, %eax
	jne	.L23
	movslq	24(%rsp), %rdx
	movl	36(%rsp,%rdx,8), %eax
	movd	32(%rsp,%rdx,8), %xmm0
	subl	$1, %eax
	movd	%eax, %xmm7
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	cmpl	$3, %eax
	jne	.L8
	movslq	24(%rsp), %rax
	movl	32(%rsp,%rax,8), %ecx
	movl	36(%rsp,%rax,8), %eax
	leal	1(%rcx), %edi
	movd	%eax, %xmm5
	movd	%edi, %xmm0
	punpckldq	%xmm5, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	24(%rsp), %rdx
	movl	36(%rsp,%rdx,8), %eax
	movd	32(%rsp,%rdx,8), %xmm0
	addl	$1, %eax
	movd	%eax, %xmm7
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%esi, %esi
	jle	.L17
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L18
	movl	%esi, %eax
	movdqa	.LC0(%rip), %xmm2
	movdqa	.LC1(%rip), %xmm6
	shrl	$2, %eax
	subl	$1, %eax
	movdqa	%xmm2, %xmm1
	movdqa	%xmm6, %xmm5
	salq	$5, %rax
	leaq	64(%rsp,%rax), %rax
	.p2align 4,,10
	.p2align 3
.L13:
	movdqa	(%rbx), %xmm0
	movdqa	%xmm5, %xmm3
	addq	$32, %rbx
	movdqa	%xmm0, %xmm4
	shufps	$221, -16(%rbx), %xmm0
	pcmpgtd	%xmm0, %xmm3
	movdqa	%xmm0, %xmm7
	shufps	$136, -16(%rbx), %xmm4
	pand	%xmm3, %xmm7
	pandn	%xmm5, %xmm3
	movdqa	%xmm3, %xmm5
	movdqa	%xmm1, %xmm3
	pcmpgtd	%xmm0, %xmm3
	por	%xmm7, %xmm5
	pand	%xmm3, %xmm1
	pandn	%xmm0, %xmm3
	movdqa	%xmm6, %xmm0
	pcmpgtd	%xmm4, %xmm0
	por	%xmm3, %xmm1
	movdqa	%xmm4, %xmm3
	pand	%xmm0, %xmm3
	pandn	%xmm6, %xmm0
	movdqa	%xmm0, %xmm6
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm4, %xmm0
	por	%xmm3, %xmm6
	pand	%xmm0, %xmm2
	pandn	%xmm4, %xmm0
	por	%xmm0, %xmm2
	cmpq	%rbx, %rax
	jne	.L13
	movdqa	%xmm2, %xmm3
	movl	%esi, %eax
	psrldq	$8, %xmm3
	andl	$-4, %eax
	movdqa	%xmm3, %xmm0
	pcmpgtd	%xmm2, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm2, %xmm0
	por	%xmm3, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm3
	pandn	%xmm0, %xmm2
	por	%xmm3, %xmm2
	movdqa	%xmm6, %xmm3
	psrldq	$8, %xmm3
	movd	%xmm2, %ecx
	movdqa	%xmm3, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm6
	pandn	%xmm3, %xmm0
	por	%xmm6, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movd	%xmm2, %r8d
	movdqa	%xmm1, %xmm2
	psrldq	$8, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm2
	pandn	%xmm1, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	psrldq	$8, %xmm2
	movd	%xmm1, %edx
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm5, %xmm1
	pand	%xmm1, %xmm5
	pandn	%xmm2, %xmm1
	movdqa	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %edi
	testb	$3, %sil
	je	.L14
.L12:
	movslq	%eax, %r10
	movl	36(%rsp,%r10,8), %r9d
	cmpl	%r9d, %edi
	cmovg	%r9d, %edi
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	movl	32(%rsp,%r10,8), %r9d
	cmpl	%r9d, %r8d
	cmovg	%r9d, %r8d
	cmpl	%r9d, %ecx
	cmovl	%r9d, %ecx
	leal	1(%rax), %r9d
	cmpl	%esi, %r9d
	jge	.L14
	movslq	%r9d, %r9
	movl	36(%rsp,%r9,8), %r10d
	movl	32(%rsp,%r9,8), %r9d
	cmpl	%r10d, %edi
	cmovg	%r10d, %edi
	cmpl	%r10d, %edx
	cmovl	%r10d, %edx
	cmpl	%r9d, %r8d
	cmovg	%r9d, %r8d
	cmpl	%r9d, %ecx
	cmovl	%r9d, %ecx
	addl	$2, %eax
	cmpl	%eax, %esi
	jle	.L14
	cltq
	movl	36(%rsp,%rax,8), %esi
	movl	32(%rsp,%rax,8), %eax
	cmpl	%esi, %edi
	cmovg	%esi, %edi
	cmpl	%esi, %edx
	cmovl	%esi, %edx
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	cmpl	%eax, %ecx
	cmovl	%eax, %ecx
.L14:
	subl	%r8d, %ecx
	subl	%edi, %edx
	addl	$1, %ecx
	addl	$1, %edx
.L11:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L2:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1656, %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
.L17:
	.cfi_restore_state
	movl	$-403, %edx
	movl	$-403, %ecx
	jmp	.L11
.L18:
	movl	$-202, %ecx
	movl	$202, %r8d
	movl	$-202, %edx
	xorl	%eax, %eax
	movl	$202, %edi
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	-202
	.long	-202
	.long	-202
	.long	-202
	.align 16
.LC1:
	.long	202
	.long	202
	.long	202
	.long	202
	.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
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %d"
.LC4:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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
	leaq	.LC3(%rip), %r13
	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
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1712
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movq	8(%rsp), %rsi
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %esi
	testl	%esi, %esi
	je	.L2
	leaq	32(%rsp), %rbx
	movl	$200, %ecx
	xorl	%eax, %eax
	movq	%rbx, %rdi
	rep stosq
	cmpl	$1, %esi
	jle	.L3
	leaq	40(%rsp), %r15
	movl	$1, %r14d
	leaq	28(%rsp), %r12
	leaq	24(%rsp), %rbp
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$1, %eax
	jne	.L8
	movslq	24(%rsp), %rax
	movl	32(%rsp,%rax,8), %ecx
	movl	36(%rsp,%rax,8), %eax
	subl	$1, %ecx
	movd	%eax, %xmm7
	movd	%ecx, %xmm0
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	.p2align 4,,10
	.p2align 3
.L8:
	movl	20(%rsp), %esi
	addl	$1, %r14d
	addq	$8, %r15
	cmpl	%r14d, %esi
	jle	.L3
.L10:
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$2, %eax
	je	.L4
	jg	.L5
	testl	%eax, %eax
	jne	.L23
	movslq	24(%rsp), %rdx
	movl	36(%rsp,%rdx,8), %eax
	movd	32(%rsp,%rdx,8), %xmm0
	subl	$1, %eax
	movd	%eax, %xmm7
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	cmpl	$3, %eax
	jne	.L8
	movslq	24(%rsp), %rax
	movl	32(%rsp,%rax,8), %ecx
	movl	36(%rsp,%rax,8), %eax
	leal	1(%rcx), %edi
	movd	%eax, %xmm5
	movd	%edi, %xmm0
	punpckldq	%xmm5, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	movslq	24(%rsp), %rdx
	movl	36(%rsp,%rdx,8), %eax
	movd	32(%rsp,%rdx,8), %xmm0
	addl	$1, %eax
	movd	%eax, %xmm7
	punpckldq	%xmm7, %xmm0
	movq	%xmm0, (%r15)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	testl	%esi, %esi
	jle	.L17
	leal	-1(%rsi), %eax
	cmpl	$2, %eax
	jbe	.L18
	movl	%esi, %eax
	movdqa	.LC0(%rip), %xmm2
	movdqa	.LC1(%rip), %xmm6
	shrl	$2, %eax
	subl	$1, %eax
	movdqa	%xmm2, %xmm1
	movdqa	%xmm6, %xmm5
	salq	$5, %rax
	leaq	64(%rsp,%rax), %rax
	.p2align 4,,10
	.p2align 3
.L13:
	movdqa	(%rbx), %xmm0
	movdqa	%xmm5, %xmm3
	addq	$32, %rbx
	movdqa	%xmm0, %xmm4
	shufps	$221, -16(%rbx), %xmm0
	pcmpgtd	%xmm0, %xmm3
	movdqa	%xmm0, %xmm7
	shufps	$136, -16(%rbx), %xmm4
	pand	%xmm3, %xmm7
	pandn	%xmm5, %xmm3
	movdqa	%xmm3, %xmm5
	movdqa	%xmm1, %xmm3
	pcmpgtd	%xmm0, %xmm3
	por	%xmm7, %xmm5
	pand	%xmm3, %xmm1
	pandn	%xmm0, %xmm3
	movdqa	%xmm6, %xmm0
	pcmpgtd	%xmm4, %xmm0
	por	%xmm3, %xmm1
	movdqa	%xmm4, %xmm3
	pand	%xmm0, %xmm3
	pandn	%xmm6, %xmm0
	movdqa	%xmm0, %xmm6
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm4, %xmm0
	por	%xmm3, %xmm6
	pand	%xmm0, %xmm2
	pandn	%xmm4, %xmm0
	por	%xmm0, %xmm2
	cmpq	%rbx, %rax
	jne	.L13
	movdqa	%xmm2, %xmm3
	movl	%esi, %eax
	psrldq	$8, %xmm3
	andl	$-4, %eax
	movdqa	%xmm3, %xmm0
	pcmpgtd	%xmm2, %xmm0
	pand	%xmm0, %xmm3
	pandn	%xmm2, %xmm0
	por	%xmm3, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm3
	pandn	%xmm0, %xmm2
	por	%xmm3, %xmm2
	movdqa	%xmm6, %xmm3
	psrldq	$8, %xmm3
	movd	%xmm2, %ecx
	movdqa	%xmm3, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm6
	pandn	%xmm3, %xmm0
	por	%xmm6, %xmm0
	movdqa	%xmm0, %xmm3
	psrldq	$4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm0, %xmm2
	pand	%xmm2, %xmm0
	pandn	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movd	%xmm2, %r8d
	movdqa	%xmm1, %xmm2
	psrldq	$8, %xmm2
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm2
	pandn	%xmm1, %xmm0
	por	%xmm2, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm2
	pandn	%xmm0, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm5, %xmm2
	psrldq	$8, %xmm2
	movd	%xmm1, %edx
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm5, %xmm1
	pand	%xmm1, %xmm5
	pandn	%xmm2, %xmm1
	movdqa	%xmm5, %xmm0
	por	%xmm1, %xmm0
	movdqa	%xmm0, %xmm2
	psrldq	$4, %xmm2
	movdqa	%xmm2, %xmm1
	pcmpgtd	%xmm0, %xmm1
	pand	%xmm1, %xmm0
	pandn	%xmm2, %xmm1
	por	%xmm0, %xmm1
	movd	%xmm1, %edi
	testb	$3, %sil
	je	.L14
.L12:
	movslq	%eax, %r10
	movl	36(%rsp,%r10,8), %r9d
	cmpl	%r9d, %edi
	cmovg	%r9d, %edi
	cmpl	%r9d, %edx
	cmovl	%r9d, %edx
	movl	32(%rsp,%r10,8), %r9d
	cmpl	%r9d, %r8d
	cmovg	%r9d, %r8d
	cmpl	%r9d, %ecx
	cmovl	%r9d, %ecx
	leal	1(%rax), %r9d
	cmpl	%esi, %r9d
	jge	.L14
	movslq	%r9d, %r9
	movl	36(%rsp,%r9,8), %r10d
	movl	32(%rsp,%r9,8), %r9d
	cmpl	%r10d, %edi
	cmovg	%r10d, %edi
	cmpl	%r10d, %edx
	cmovl	%r10d, %edx
	cmpl	%r9d, %r8d
	cmovg	%r9d, %r8d
	cmpl	%r9d, %ecx
	cmovl	%r9d, %ecx
	addl	$2, %eax
	cmpl	%eax, %esi
	jle	.L14
	cltq
	movl	36(%rsp,%rax,8), %esi
	movl	32(%rsp,%rax,8), %eax
	cmpl	%esi, %edi
	cmovg	%esi, %edi
	cmpl	%esi, %edx
	cmovl	%esi, %edx
	cmpl	%eax, %r8d
	cmovg	%eax, %r8d
	cmpl	%eax, %ecx
	cmovl	%eax, %ecx
.L14:
	subl	%r8d, %ecx
	subl	%edi, %edx
	addl	$1, %ecx
	addl	$1, %edx
.L11:
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L2:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$1656, %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
.L17:
	.cfi_restore_state
	movl	$-403, %edx
	movl	$-403, %ecx
	jmp	.L11
.L18:
	movl	$-202, %ecx
	movl	$202, %r8d
	movl	$-202, %edx
	xorl	%eax, %eax
	movl	$202, %edi
	jmp	.L12
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	-202
	.long	-202
	.long	-202
	.long	-202
	.align 16
.LC1:
	.long	202
	.long	202
	.long	202
	.long	202
	.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>
#include <memory.h>
struct data{
	int h,w;
};
int main(void){
	struct data box[200];
	int n,t,d,i,minw,maxw,minh,maxh;
	while(1){
		scanf("%d",&n);
		if(!n)break;
		memset(box,0,sizeof(box));
		box[0].h=box[0].w=0;
		for(i=1;i<n;i++){
			scanf("%d %d",&t,&d);
			switch(d){
				case 0:box[i].w=box[t].w-1; box[i].h=box[t].h; break;
				case 1:box[i].w=box[t].w; box[i].h=box[t].h-1; break;
				case 2:box[i].w=box[t].w+1; box[i].h=box[t].h; break;
				case 3:box[i].w=box[t].w; box[i].h=box[t].h+1; break;
			}
		}
		minw=minh=202;
		maxw=maxh=-202;
		for(i=0;i<n;i++){
			if(box[i].w<minw)minw=box[i].w;
			if(box[i].w>maxw)maxw=box[i].w;
			if(box[i].h<minh)minh=box[i].h;
			if(box[i].h>maxh)maxh=box[i].h;
		}
		printf("%d %d\n",maxw-minw+1,maxh-minh+1);
	}
	return 0;
}
1
5
0 0
0 1
0 2
0 3
12
0 0
1 1
2 0
3 1
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 2
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 1
0 2
0 3
12
0 0
1 0
2 0
3 1
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 0
0 2
0 3
12
0 0
1 0
2 0
3 1
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 0
0 2
0 3
12
0 0
1 0
2 0
3 0
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 0
0 2
0 3
12
0 0
1 0
2 0
3 0
4 1
5 1
6 2
3 2
8 2
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 1
0 2
0 3
12
0 0
1 0
2 0
3 1
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 2
2 2
3 2
2 1
5 1
6 1
7 1
8 2
0
 1
5
0 0
0 1
0 2
0 3
12
0 0
1 0
2 0
3 1
4 2
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 1
0 2
0 3
12
0 0
1 0
2 0
3 1
4 1
5 1
6 2
7 2
8 2
9 3
10 3
10
0 2
1 2
2 1
3 2
2 1
5 1
6 1
7 1
8 2
0
 1
5
0 0
0 1
0 2
0 3
12
0 0
1 0
2 0
3 1
4 2
5 1
6 2
7 1
8 1
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0
 1
5
0 0
0 1
0 2
0 3
12
0 1
1 0
2 0
3 1
4 2
5 1
6 2
7 1
8 1
9 3
10 3
10
0 2
1 3
2 2
3 2
2 1
5 1
6 1
7 1
8 1
0

1 1
3 3
4 5
5 6
 1 1
3 3
4 4
4 6
 1 1
3 2
4 4
4 6
 1 1
3 2
5 3
4 6
 1 1
3 2
5 5
4 6
 1 1
3 3
4 4
5 5
 1 1
3 3
5 3
4 6
 1 1
3 3
4 4
4 5
 1 1
3 3
4 5
4 6
 1 1
3 3
3 6
4 6

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>
#include <memory.h>
struct data{
	int h,w;
};
int main(void){
	struct data box[200];
	int n,t,d,i,minw,maxw,minh,maxh;
	while(1){
		scanf("%d",&n);
		if(!n)break;
		memset(box,0,sizeof(box));
		box[0].h=box[0].w=0;
		for(i=1;i<n;i++){
			scanf("%d %d",&t,&d);
			switch(d){
				case 0:box[i].w=box[t].w-1; box[i].h=box[t].h; break;
				case 1:box[i].w=box[t].w; box[i].h=box[t].h-1; break;
				case 2:box[i].w=box[t].w+1; box[i].h=box[t].h; break;
				case 3:box[i].w=box[t].w; box[i].h=box[t].h+1; break;
			}
		}
		minw=minh=202;
		maxw=maxh=-202;
		for(i=0;i<n;i++){
			if(box[i].w<minw)minw=box[i].w;
			if(box[i].w>maxw)maxw=box[i].w;
			if(box[i].h<minh)minh=box[i].h;
			if(box[i].h>maxh)maxh=box[i].h;
		}
		printf("%d %d\n",maxw-minw+1,maxh-minh+1);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.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
	subq	$1648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L17:
	leaq	-1648(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1648(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	leaq	-1616(%rbp), %rax
	movl	$1600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -1612(%rbp)
	movl	-1612(%rbp), %eax
	movl	%eax, -1616(%rbp)
	movl	$1, -1636(%rbp)
	jmp	.L4
.L10:
	leaq	-1640(%rbp), %rdx
	leaq	-1644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1640(%rbp), %eax
	cmpl	$3, %eax
	je	.L5
	cmpl	$3, %eax
	jg	.L6
	cmpl	$2, %eax
	je	.L7
	cmpl	$2, %eax
	jg	.L6
	testl	%eax, %eax
	je	.L8
	cmpl	$1, %eax
	je	.L9
	jmp	.L6
.L8:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L9:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L7:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L5:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	nop
.L6:
	addl	$1, -1636(%rbp)
.L4:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L10
	movl	$202, -1624(%rbp)
	movl	-1624(%rbp), %eax
	movl	%eax, -1632(%rbp)
	movl	$-202, -1620(%rbp)
	movl	-1620(%rbp), %eax
	movl	%eax, -1628(%rbp)
	movl	$0, -1636(%rbp)
	jmp	.L11
.L16:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1632(%rbp)
	jle	.L12
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1632(%rbp)
.L12:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1628(%rbp)
	jge	.L13
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1628(%rbp)
.L13:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1624(%rbp)
	jle	.L14
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1624(%rbp)
.L14:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1620(%rbp)
	jge	.L15
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1620(%rbp)
.L15:
	addl	$1, -1636(%rbp)
.L11:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L16
	movl	-1620(%rbp), %eax
	subl	-1624(%rbp), %eax
	leal	1(%rax), %edx
	movl	-1628(%rbp), %eax
	subl	-1632(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L21:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.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
	subq	$1648, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L17:
	leaq	-1648(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1648(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	leaq	-1616(%rbp), %rax
	movl	$1600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -1612(%rbp)
	movl	-1612(%rbp), %eax
	movl	%eax, -1616(%rbp)
	movl	$1, -1636(%rbp)
	jmp	.L4
.L10:
	leaq	-1640(%rbp), %rdx
	leaq	-1644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-1640(%rbp), %eax
	cmpl	$3, %eax
	je	.L5
	cmpl	$3, %eax
	jg	.L6
	cmpl	$2, %eax
	je	.L7
	cmpl	$2, %eax
	jg	.L6
	testl	%eax, %eax
	je	.L8
	cmpl	$1, %eax
	je	.L9
	jmp	.L6
.L8:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L9:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	-1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L7:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	jmp	.L6
.L5:
	movl	-1644(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1612(%rbp,%rax,8)
	movl	-1644(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	leal	1(%rax), %edx
	movl	-1636(%rbp), %eax
	cltq
	movl	%edx, -1616(%rbp,%rax,8)
	nop
.L6:
	addl	$1, -1636(%rbp)
.L4:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L10
	movl	$202, -1624(%rbp)
	movl	-1624(%rbp), %eax
	movl	%eax, -1632(%rbp)
	movl	$-202, -1620(%rbp)
	movl	-1620(%rbp), %eax
	movl	%eax, -1628(%rbp)
	movl	$0, -1636(%rbp)
	jmp	.L11
.L16:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1632(%rbp)
	jle	.L12
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1632(%rbp)
.L12:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	cmpl	%eax, -1628(%rbp)
	jge	.L13
	movl	-1636(%rbp), %eax
	cltq
	movl	-1612(%rbp,%rax,8), %eax
	movl	%eax, -1628(%rbp)
.L13:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1624(%rbp)
	jle	.L14
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1624(%rbp)
.L14:
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	cmpl	%eax, -1620(%rbp)
	jge	.L15
	movl	-1636(%rbp), %eax
	cltq
	movl	-1616(%rbp,%rax,8), %eax
	movl	%eax, -1620(%rbp)
.L15:
	addl	$1, -1636(%rbp)
.L11:
	movl	-1648(%rbp), %eax
	cmpl	%eax, -1636(%rbp)
	jl	.L16
	movl	-1620(%rbp), %eax
	subl	-1624(%rbp), %eax
	leal	1(%rax), %edx
	movl	-1628(%rbp), %eax
	subl	-1632(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L17
.L21:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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:
