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

```c
char T[99][99]={"OUT OF MAIN PANEL"};
X[99],Y[99],V[99],W[99],c[99],w;
P(p,d){
	for(c[p]=0;scanf("%[^/>]>%d,%d,%d,%d<",T[w],X+w,Y+w,V+w,W+w)&&scanf("%*[^>]>%[<]",&d,c[p]++,P(w++)););
}
main(n,x,y,i){
	for(;scanf("%d\n<",&n)*n;)
		for(w=1,P(0);n--;printf("%s %d\n",T[i],c[i]))
			for(scanf("%d%d",&x,&y),i=w;--i&&x<X[i]|y<Y[i]|x>V[i]|y>W[i];);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	T
	.data
	.align 32
	.type	T, @object
	.size	T, 9801
T:
	.string	"OUT OF MAIN PANEL"
	.zero	81
	.zero	9702
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 396
X:
	.zero	396
	.globl	Y
	.align 32
	.type	Y, @object
	.size	Y, 396
Y:
	.zero	396
	.globl	V
	.align 32
	.type	V, @object
	.size	V, 396
V:
	.zero	396
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 396
W:
	.zero	396
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 396
c:
	.zero	396
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%[^/>]>%d,%d,%d,%d<"
.LC1:
	.string	"%*[^>]>%[<]"
	.text
	.globl	P
	.type	P, @function
P:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
.L3:
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	leaq	(%rdx,%rax), %r8
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	leaq	(%rdx,%rax), %rdi
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	addq	%rax, %rdx
	movl	w(%rip), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	salq	$5, %rsi
	addq	%rsi, %rax
	leaq	T(%rip), %rsi
	addq	%rsi, %rax
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L2
	movl	w(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, w(%rip)
	movl	%eax, %edi
	movl	$0, %eax
	call	P
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %esi
	movslq	%esi, %rsi
	leaq	0(,%rsi,4), %rdi
	leaq	c(%rip), %rsi
	movl	%edx, (%rdi,%rsi)
	leaq	-8(%rbp), %rsi
	movl	%eax, %edx
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	jne	.L3
.L2:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	P, .-P
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%s %d\n"
.LC4:
	.string	"%d\n<"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	jmp	.L5
.L10:
	movl	$1, w(%rip)
	movl	$0, %edi
	movl	$0, %eax
	call	P
	jmp	.L6
.L9:
	leaq	-12(%rbp), %rdx
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	w(%rip), %eax
	movl	%eax, -16(%rbp)
	nop
.L8:
	subl	$1, -16(%rbp)
	cmpl	$0, -16(%rbp)
	je	.L7
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setg	%cl
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setg	%al
	orl	%ecx, %eax
	movzbl	%al, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%eax, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%ecx, %eax
	testl	%eax, %eax
	jne	.L8
.L7:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movq	%rax, %rcx
	salq	$5, %rcx
	addq	%rcx, %rax
	leaq	T(%rip), %rcx
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -4(%rbp)
	testl	%eax, %eax
	jne	.L9
.L5:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"%[^/>]>%d,%d,%d,%d<"
.LC1:
	.string	"%*[^>]>%[<]"
	.text
	.p2align 4
	.globl	P
	.type	P, @function
P:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rax
	leaq	W(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	V(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	Y(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	X(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	T(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	c(%rip), %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	$0, (%rbx,%rax,4)
	leaq	.LC0(%rip), %rbx
	movl	%esi, 12(%rsp)
	movq	%rax, (%rsp)
.L3:
	movslq	w(%rip), %rdx
	movq	%rbx, %rdi
	leaq	(%rdx,%rdx,2), %rsi
	leaq	0(,%rdx,4), %rax
	movq	%rsi, %rdx
	leaq	(%r12,%rax), %r10
	leaq	0(%r13,%rax), %rcx
	salq	$5, %rdx
	leaq	(%r15,%rax), %r9
	leaq	(%r14,%rax), %r8
	xorl	%eax, %eax
	addq	%rdx, %rsi
	movq	%r10, %rdx
	addq	%rbp, %rsi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L4
	movl	w(%rip), %edi
	leal	1(%rdi), %eax
	movl	%eax, w(%rip)
	xorl	%eax, %eax
	call	P
	movq	(%rsp), %rsi
	leaq	c(%rip), %rdi
	movl	%eax, %ecx
	movl	(%rdi,%rsi,4), %edx
	leal	1(%rdx), %eax
	movl	%eax, (%rdi,%rsi,4)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	testl	%eax, %eax
	jne	.L3
.L4:
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	P, .-P
	.section	.rodata.str1.1
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%s %d\n"
.LC4:
	.string	"%d\n<"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	V(%rip), %r15
	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	W(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movl	%edi, 28(%rsp)
	movl	%esi, 24(%rsp)
	movl	%edx, 20(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC4(%rip), %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	imull	28(%rsp), %eax
	testl	%eax, %eax
	je	.L31
	movl	$1, w(%rip)
	movl	$1, %eax
	leaq	Y(%rip), %r13
	leaq	X(%rip), %r12
	movl	$0, c(%rip)
	leaq	.LC0(%rip), %rbp
.L12:
	leaq	0(,%rax,4), %rdx
	leaq	(%rax,%rax,2), %rax
	movq	%rbp, %rdi
	movq	%rax, %rsi
	leaq	(%r12,%rdx), %r10
	leaq	0(%r13,%rdx), %rcx
	salq	$5, %rsi
	leaq	(%rbx,%rdx), %r9
	leaq	(%r15,%rdx), %r8
	movq	%r10, %rdx
	addq	%rsi, %rax
	leaq	T(%rip), %rsi
	addq	%rax, %rsi
	xorl	%eax, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L11
	movl	w(%rip), %edi
	leal	1(%rdi), %eax
	movl	%eax, w(%rip)
	xorl	%eax, %eax
	call	P
	movl	c(%rip), %edx
	leaq	36(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	movl	%eax, %ecx
	leal	1(%rdx), %eax
	movl	%eax, c(%rip)
	xorl	%eax, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L11
	movslq	w(%rip), %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movl	28(%rsp), %eax
	leaq	24(%rsp), %rcx
	leaq	20(%rsp), %r14
	movq	%rcx, (%rsp)
	leaq	.LC3(%rip), %rbp
	leal	-1(%rax), %edx
	movl	%edx, 28(%rsp)
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rsp), %rsi
	movq	%r14, %rdx
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	w(%rip), %eax
	movl	24(%rsp), %esi
	movl	20(%rsp), %ecx
	subl	$1, %eax
	cltq
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%esi, (%r12,%rax,4)
	setg	%dl
	cmpl	%ecx, 0(%r13,%rax,4)
	setg	%dil
	orl	%edi, %edx
	cmpl	(%r15,%rax,4), %esi
	setg	%dil
	orl	%edi, %edx
	cmpl	(%rbx,%rax,4), %ecx
	setg	%dil
	subq	$1, %rax
	orb	%dil, %dl
	je	.L32
.L15:
	movslq	%eax, %r8
	testl	%eax, %eax
	jne	.L33
	leaq	T(%rip), %rsi
.L14:
	leaq	c(%rip), %rax
	movq	%rbp, %rdi
	movl	(%rax,%r8,4), %edx
	xorl	%eax, %eax
	call	printf@PLT
	movl	28(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 28(%rsp)
	testl	%eax, %eax
	jne	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L32:
	leaq	(%r8,%r8,2), %rsi
	movq	%rsi, %rax
	salq	$5, %rax
	addq	%rax, %rsi
	leaq	T(%rip), %rax
	addq	%rax, %rsi
	jmp	.L14
.L31:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$56, %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
.L34:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	w
	.bss
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 396
c:
	.zero	396
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 396
W:
	.zero	396
	.globl	V
	.align 32
	.type	V, @object
	.size	V, 396
V:
	.zero	396
	.globl	Y
	.align 32
	.type	Y, @object
	.size	Y, 396
Y:
	.zero	396
	.globl	X
	.align 32
	.type	X, @object
	.size	X, 396
X:
	.zero	396
	.globl	T
	.data
	.align 32
	.type	T, @object
	.size	T, 9801
T:
	.string	"OUT OF MAIN PANEL"
	.zero	81
	.zero	9702
	.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	"%[^/>]>%d,%d,%d,%d<"
.LC1:
	.string	"%*[^>]>%[<]"
	.text
	.p2align 4
	.globl	P
	.type	P, @function
P:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rax
	leaq	W(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	V(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	Y(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	X(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	T(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	c(%rip), %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movl	$0, (%rbx,%rax,4)
	leaq	.LC0(%rip), %rbx
	movl	%esi, 12(%rsp)
	movq	%rax, (%rsp)
.L3:
	movslq	w(%rip), %rdx
	movq	%rbx, %rdi
	leaq	(%rdx,%rdx,2), %rsi
	leaq	0(,%rdx,4), %rax
	movq	%rsi, %rdx
	leaq	(%r12,%rax), %r10
	leaq	0(%r13,%rax), %rcx
	salq	$5, %rdx
	leaq	(%r15,%rax), %r9
	leaq	(%r14,%rax), %r8
	xorl	%eax, %eax
	addq	%rdx, %rsi
	movq	%r10, %rdx
	addq	%rbp, %rsi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L4
	movl	w(%rip), %edi
	leal	1(%rdi), %eax
	movl	%eax, w(%rip)
	xorl	%eax, %eax
	call	P
	movq	(%rsp), %rsi
	leaq	c(%rip), %rdi
	movl	%eax, %ecx
	movl	(%rdi,%rsi,4), %edx
	leal	1(%rdx), %eax
	movl	%eax, (%rdi,%rsi,4)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	call	scanf@PLT
	testl	%eax, %eax
	jne	.L3
.L4:
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	P, .-P
	.section	.rodata.str1.1
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%s %d\n"
.LC4:
	.string	"%d\n<"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	V(%rip), %r15
	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	W(%rip), %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movl	%edi, 28(%rsp)
	movl	%esi, 24(%rsp)
	movl	%edx, 20(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movq	8(%rsp), %rsi
	leaq	.LC4(%rip), %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	imull	28(%rsp), %eax
	testl	%eax, %eax
	je	.L31
	movl	$1, w(%rip)
	movl	$1, %eax
	leaq	Y(%rip), %r13
	leaq	X(%rip), %r12
	movl	$0, c(%rip)
	leaq	.LC0(%rip), %rbp
.L12:
	leaq	0(,%rax,4), %rdx
	leaq	(%rax,%rax,2), %rax
	movq	%rbp, %rdi
	movq	%rax, %rsi
	leaq	(%r12,%rdx), %r10
	leaq	0(%r13,%rdx), %rcx
	salq	$5, %rsi
	leaq	(%rbx,%rdx), %r9
	leaq	(%r15,%rdx), %r8
	movq	%r10, %rdx
	addq	%rsi, %rax
	leaq	T(%rip), %rsi
	addq	%rax, %rsi
	xorl	%eax, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L11
	movl	w(%rip), %edi
	leal	1(%rdi), %eax
	movl	%eax, w(%rip)
	xorl	%eax, %eax
	call	P
	movl	c(%rip), %edx
	leaq	36(%rsp), %rsi
	leaq	.LC1(%rip), %rdi
	movl	%eax, %ecx
	leal	1(%rdx), %eax
	movl	%eax, c(%rip)
	xorl	%eax, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L11
	movslq	w(%rip), %rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movl	28(%rsp), %eax
	leaq	24(%rsp), %rcx
	leaq	20(%rsp), %r14
	movq	%rcx, (%rsp)
	leaq	.LC3(%rip), %rbp
	leal	-1(%rax), %edx
	movl	%edx, 28(%rsp)
	testl	%eax, %eax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L13:
	movq	(%rsp), %rsi
	movq	%r14, %rdx
	leaq	.LC2(%rip), %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movl	w(%rip), %eax
	movl	24(%rsp), %esi
	movl	20(%rsp), %ecx
	subl	$1, %eax
	cltq
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L33:
	cmpl	%esi, (%r12,%rax,4)
	setg	%dl
	cmpl	%ecx, 0(%r13,%rax,4)
	setg	%dil
	orl	%edi, %edx
	cmpl	(%r15,%rax,4), %esi
	setg	%dil
	orl	%edi, %edx
	cmpl	(%rbx,%rax,4), %ecx
	setg	%dil
	subq	$1, %rax
	orb	%dil, %dl
	je	.L32
.L15:
	movslq	%eax, %r8
	testl	%eax, %eax
	jne	.L33
	leaq	T(%rip), %rsi
.L14:
	leaq	c(%rip), %rax
	movq	%rbp, %rdi
	movl	(%rax,%r8,4), %edx
	xorl	%eax, %eax
	call	printf@PLT
	movl	28(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 28(%rsp)
	testl	%eax, %eax
	jne	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L32:
	leaq	(%r8,%r8,2), %rsi
	movq	%rsi, %rax
	salq	$5, %rax
	addq	%rax, %rsi
	leaq	T(%rip), %rax
	addq	%rax, %rsi
	jmp	.L14
.L31:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$56, %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
.L34:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	w
	.bss
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 396
c:
	.zero	396
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 396
W:
	.zero	396
	.globl	V
	.align 32
	.type	V, @object
	.size	V, 396
V:
	.zero	396
	.globl	Y
	.align 32
	.type	Y, @object
	.size	Y, 396
Y:
	.zero	396
	.globl	X
	.align 32
	.type	X, @object
	.size	X, 396
X:
	.zero	396
	.globl	T
	.data
	.align 32
	.type	T, @object
	.size	T, 9801
T:
	.string	"OUT OF MAIN PANEL"
	.zero	81
	.zero	9702
	.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:

char T[99][99]={"OUT OF MAIN PANEL"};
X[99],Y[99],V[99],W[99],c[99],w;
P(p,d){
	for(c[p]=0;scanf("%[^/>]>%d,%d,%d,%d<",T[w],X+w,Y+w,V+w,W+w)&&scanf("%*[^>]>%[<]",&d,c[p]++,P(w++)););
}
main(n,x,y,i){
	for(;scanf("%d\n<",&n)*n;)
		for(w=1,P(0);n--;printf("%s %d\n",T[i],c[i]))
			for(scanf("%d%d",&x,&y),i=w;--i&&x<X[i]|y<Y[i]|x>V[i]|y>W[i];);
}
5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
10 10
15 15
40 60
1 3
130 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
9 10
15 15
40 60
1 3
130 80
0
 5
<main>10,10,190,150<menu>20,00,72,140</menu><primary>80,20,180,140</primary></main>
10 10
15 15
17 60
1 3
130 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
9 10
15 15
40 13
2 6
130 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
9 10
25 26
40 94
0 3
95 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
5 10
11 23
40 60
2 3
6 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
6 10
15 15
40 3
0 3
130 118
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
6 10
15 15
40 3
0 3
160 2
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
1 10
11 23
40 18
3 5
6 80
0
 5
<main>10,10,190,150<menu>20,20,70,140</menu><primary>80,20,180,140</primary></main>
1 11
11 23
74 10
3 5
12 80
0

main 2
main 2
menu 0
OUT OF MAIN PANEL 1
primary 0
 OUT OF MAIN PANEL 1
main 2
menu 0
OUT OF MAIN PANEL 1
primary 0
 main 2
main 2
main 2
OUT OF MAIN PANEL 1
primary 0
 OUT OF MAIN PANEL 1
main 2
main 2
OUT OF MAIN PANEL 1
primary 0
 OUT OF MAIN PANEL 1
menu 0
menu 0
OUT OF MAIN PANEL 1
primary 0
 OUT OF MAIN PANEL 1
main 2
menu 0
OUT OF MAIN PANEL 1
OUT OF MAIN PANEL 1
 OUT OF MAIN PANEL 1
main 2
OUT OF MAIN PANEL 1
OUT OF MAIN PANEL 1
primary 0
 OUT OF MAIN PANEL 1
main 2
OUT OF MAIN PANEL 1
OUT OF MAIN PANEL 1
OUT OF MAIN PANEL 1
 OUT OF MAIN PANEL 1
main 2
main 2
OUT OF MAIN PANEL 1
OUT OF MAIN PANEL 1
 OUT OF MAIN PANEL 1
main 2
main 2
OUT OF MAIN PANEL 1
main 2

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

```c
char T[99][99]={"OUT OF MAIN PANEL"};
X[99],Y[99],V[99],W[99],c[99],w;
P(p,d){
	for(c[p]=0;scanf("%[^/>]>%d,%d,%d,%d<",T[w],X+w,Y+w,V+w,W+w)&&scanf("%*[^>]>%[<]",&d,c[p]++,P(w++)););
}
main(n,x,y,i){
	for(;scanf("%d\n<",&n)*n;)
		for(w=1,P(0);n--;printf("%s %d\n",T[i],c[i]))
			for(scanf("%d%d",&x,&y),i=w;--i&&x<X[i]|y<Y[i]|x>V[i]|y>W[i];);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	T
	.data
	.align 32
	.type	T, @object
	.size	T, 9801
T:
	.string	"OUT OF MAIN PANEL"
	.zero	81
	.zero	9702
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 396
X:
	.zero	396
	.globl	Y
	.align 32
	.type	Y, @object
	.size	Y, 396
Y:
	.zero	396
	.globl	V
	.align 32
	.type	V, @object
	.size	V, 396
V:
	.zero	396
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 396
W:
	.zero	396
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 396
c:
	.zero	396
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%[^/>]>%d,%d,%d,%d<"
.LC1:
	.string	"%*[^>]>%[<]"
	.text
	.globl	P
	.type	P, @function
P:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
.L3:
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	leaq	(%rdx,%rax), %r8
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	leaq	(%rdx,%rax), %rdi
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	addq	%rax, %rdx
	movl	w(%rip), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	salq	$5, %rsi
	addq	%rsi, %rax
	leaq	T(%rip), %rsi
	addq	%rsi, %rax
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L2
	movl	w(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, w(%rip)
	movl	%eax, %edi
	movl	$0, %eax
	call	P
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %esi
	movslq	%esi, %rsi
	leaq	0(,%rsi,4), %rdi
	leaq	c(%rip), %rsi
	movl	%edx, (%rdi,%rsi)
	leaq	-8(%rbp), %rsi
	movl	%eax, %edx
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	jne	.L3
.L2:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	P, .-P
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%s %d\n"
.LC4:
	.string	"%d\n<"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	jmp	.L5
.L10:
	movl	$1, w(%rip)
	movl	$0, %edi
	movl	$0, %eax
	call	P
	jmp	.L6
.L9:
	leaq	-12(%rbp), %rdx
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	w(%rip), %eax
	movl	%eax, -16(%rbp)
	nop
.L8:
	subl	$1, -16(%rbp)
	cmpl	$0, -16(%rbp)
	je	.L7
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setg	%cl
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setg	%al
	orl	%ecx, %eax
	movzbl	%al, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%eax, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%ecx, %eax
	testl	%eax, %eax
	jne	.L8
.L7:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movq	%rax, %rcx
	salq	$5, %rcx
	addq	%rcx, %rax
	leaq	T(%rip), %rcx
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -4(%rbp)
	testl	%eax, %eax
	jne	.L9
.L5:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	T
	.data
	.align 32
	.type	T, @object
	.size	T, 9801
T:
	.string	"OUT OF MAIN PANEL"
	.zero	81
	.zero	9702
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 396
X:
	.zero	396
	.globl	Y
	.align 32
	.type	Y, @object
	.size	Y, 396
Y:
	.zero	396
	.globl	V
	.align 32
	.type	V, @object
	.size	V, 396
V:
	.zero	396
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 396
W:
	.zero	396
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 396
c:
	.zero	396
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%[^/>]>%d,%d,%d,%d<"
.LC1:
	.string	"%*[^>]>%[<]"
	.text
	.globl	P
	.type	P, @function
P:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	$0, (%rdx,%rax)
	nop
.L3:
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	leaq	(%rdx,%rax), %r8
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	leaq	(%rdx,%rax), %rdi
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	leaq	(%rdx,%rax), %rcx
	movl	w(%rip), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	addq	%rax, %rdx
	movl	w(%rip), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movq	%rax, %rsi
	salq	$5, %rsi
	addq	%rsi, %rax
	leaq	T(%rip), %rsi
	addq	%rsi, %rax
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	je	.L2
	movl	w(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, w(%rip)
	movl	%eax, %edi
	movl	$0, %eax
	call	P
	movl	%eax, %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %esi
	movslq	%esi, %rsi
	leaq	0(,%rsi,4), %rdi
	leaq	c(%rip), %rsi
	movl	%edx, (%rdi,%rsi)
	leaq	-8(%rbp), %rsi
	movl	%eax, %edx
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	testl	%eax, %eax
	jne	.L3
.L2:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	P, .-P
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%s %d\n"
.LC4:
	.string	"%d\n<"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	jmp	.L5
.L10:
	movl	$1, w(%rip)
	movl	$0, %edi
	movl	$0, %eax
	call	P
	jmp	.L6
.L9:
	leaq	-12(%rbp), %rdx
	leaq	-8(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	w(%rip), %eax
	movl	%eax, -16(%rbp)
	nop
.L8:
	subl	$1, -16(%rbp)
	cmpl	$0, -16(%rbp)
	je	.L7
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	X(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setg	%cl
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	Y(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setg	%al
	orl	%ecx, %eax
	movzbl	%al, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	V(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%eax, %ecx
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	W(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-12(%rbp), %eax
	cmpl	%eax, %edx
	setl	%al
	movzbl	%al, %eax
	orl	%ecx, %eax
	testl	%eax, %eax
	jne	.L8
.L7:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movq	%rax, %rcx
	salq	$5, %rcx
	addq	%rcx, %rax
	leaq	T(%rip), %rcx
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L6:
	movl	-4(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -4(%rbp)
	testl	%eax, %eax
	jne	.L9
.L5:
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	-4(%rbp), %edx
	imull	%edx, %eax
	testl	%eax, %eax
	jne	.L10
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
