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

```c
#include<stdio.h>
#include<stdlib.h>
#define min(p,q)((p)<(q)?(p):(q))
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int ans[3010];
int main(){
	int n,x,y;
	scanf("%d%d%d",&n,&x,&y);
	rep(i,1,n+1)rep(j,i+1,n+1){
		ans[min(j-i,min(abs(i-x)+1+abs(y-j),abs(i-y)+1+abs(x-j)))]++;
	}
	rep(i,1,n)printf("%d\n",ans[i]);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.L2
	movl	16(%rsp), %r12d
	movl	20(%rsp), %r14d
	leal	1(%rbp), %r13d
	movl	$1, %ebx
	leaq	ans(%rip), %rsi
	leal	-1(%r12), %edi
	movl	%r14d, %r10d
	movl	%edi, %r11d
	subl	%r12d, %r10d
	subl	%ebp, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	cmpl	%ebp, %ebx
	jg	.L3
	movl	%ebx, %eax
	movl	%edi, %r8d
	movl	%r12d, %ecx
	subl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, %r9d
	negl	%r9d
	cmovs	%eax, %r9d
	addl	$1, %r9d
	negl	%r8d
	cmovs	%edi, %r8d
	subl	%ebx, %ecx
	addl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L4:
	leal	(%r10,%rcx), %edx
	movl	%edi, %r15d
	movl	%edx, %eax
	negl	%eax
	cmovs	%edx, %eax
	movl	%ecx, %edx
	addl	%r8d, %eax
	negl	%edx
	cmovs	%ecx, %edx
	subl	%ecx, %r15d
	addl	%r9d, %edx
	cmpl	%r15d, %edx
	cmovg	%r15d, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	subl	$1, %ecx
	cltq
	addl	$1, (%rsi,%rax,4)
	cmpl	%ecx, %r11d
	jne	.L4
.L3:
	subl	$1, %edi
	cmpl	%r13d, %ebx
	jne	.L5
	cmpl	$1, %ebp
	jle	.L2
	movl	$1, %ebx
	leaq	ans(%rip), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L6
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$40, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 12040
ans:
	.zero	12040
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.L2
	movl	16(%rsp), %r12d
	movl	20(%rsp), %r14d
	leal	1(%rbp), %r13d
	movl	$1, %ebx
	leaq	ans(%rip), %rsi
	leal	-1(%r12), %edi
	movl	%r14d, %r10d
	movl	%edi, %r11d
	subl	%r12d, %r10d
	subl	%ebp, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	cmpl	%ebp, %ebx
	jg	.L3
	movl	%ebx, %eax
	movl	%edi, %r8d
	movl	%r12d, %ecx
	subl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, %r9d
	negl	%r9d
	cmovs	%eax, %r9d
	addl	$1, %r9d
	negl	%r8d
	cmovs	%edi, %r8d
	subl	%ebx, %ecx
	addl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L4:
	leal	(%r10,%rcx), %edx
	movl	%edi, %r15d
	movl	%edx, %eax
	negl	%eax
	cmovs	%edx, %eax
	movl	%ecx, %edx
	addl	%r8d, %eax
	negl	%edx
	cmovs	%ecx, %edx
	subl	%ecx, %r15d
	addl	%r9d, %edx
	cmpl	%r15d, %edx
	cmovg	%r15d, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	subl	$1, %ecx
	cltq
	addl	$1, (%rsi,%rax,4)
	cmpl	%ecx, %r11d
	jne	.L4
.L3:
	subl	$1, %edi
	cmpl	%r13d, %ebx
	jne	.L5
	cmpl	$1, %ebp
	jle	.L2
	movl	$1, %ebx
	leaq	ans(%rip), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L6
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$40, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 12040
ans:
	.zero	12040
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.L2
	movl	16(%rsp), %r12d
	movl	20(%rsp), %r14d
	leal	1(%rbp), %r13d
	movl	$1, %ebx
	leaq	ans(%rip), %rsi
	leal	-1(%r12), %edi
	movl	%r14d, %r10d
	movl	%edi, %r11d
	subl	%r12d, %r10d
	subl	%ebp, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	cmpl	%ebp, %ebx
	jg	.L3
	movl	%ebx, %eax
	movl	%edi, %r8d
	movl	%r12d, %ecx
	subl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, %r9d
	negl	%r9d
	cmovs	%eax, %r9d
	addl	$1, %r9d
	negl	%r8d
	cmovs	%edi, %r8d
	subl	%ebx, %ecx
	addl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L4:
	leal	(%r10,%rcx), %edx
	movl	%edi, %r15d
	movl	%edx, %eax
	negl	%eax
	cmovs	%edx, %eax
	movl	%ecx, %edx
	addl	%r8d, %eax
	negl	%edx
	cmovs	%ecx, %edx
	subl	%ecx, %r15d
	addl	%r9d, %edx
	cmpl	%r15d, %edx
	cmovg	%r15d, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	subl	$1, %ecx
	cltq
	addl	$1, (%rsi,%rax,4)
	cmpl	%ecx, %r11d
	jne	.L4
.L3:
	subl	$1, %edi
	cmpl	%r13d, %ebx
	jne	.L5
	cmpl	$1, %ebp
	jle	.L2
	movl	$1, %ebx
	leaq	ans(%rip), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L6
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$40, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 12040
ans:
	.zero	12040
	.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:
```
```c
#include<stdio.h>
#include<stdlib.h>
#define min(p,q)((p)<(q)?(p):(q))
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int ans[3010];
int main(){
	int n,x,y;
	scanf("%d%d%d",&n,&x,&y);
	rep(i,1,n+1)rep(j,i+1,n+1){
		ans[min(j-i,min(abs(i-x)+1+abs(y-j),abs(i-y)+1+abs(x-j)))]++;
	}
	rep(i,1,n)printf("%d\n",ans[i]);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>
#define min(p,q)((p)<(q)?(p):(q))
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int ans[3010];
int main(){
	int n,x,y;
	scanf("%d%d%d",&n,&x,&y);
	rep(i,1,n+1)rep(j,i+1,n+1){
		ans[min(j-i,min(abs(i-x)+1+abs(y-j),abs(i-y)+1+abs(x-j)))]++;
	}
	rep(i,1,n)printf("%d\n",ans[i]);
}```

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.
Optimized Assembly Code:

4 1 3
 7 3 4
 10 4 6
 9 2 4
 14 3 4
 10 4 9
 10 4 5
 3 2 3
 5 1 4
 4 1 2

4
2
0
 6
5
4
3
2
1
 10
9
8
7
5
3
2
1
0
 9
8
6
5
4
3
1
0
 13
12
11
10
9
8
7
6
5
4
3
2
1
 10
12
11
7
4
1
0
0
0
 9
8
7
6
5
4
3
2
1
 2
1
 5
4
1
0
 3
2
1

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

```c
#include<stdio.h>
#include<stdlib.h>
#define min(p,q)((p)<(q)?(p):(q))
#define rep(i,l,r)for(int i=(l);i<(r);i++)

int ans[3010];
int main(){
	int n,x,y;
	scanf("%d%d%d",&n,&x,&y);
	rep(i,1,n+1)rep(j,i+1,n+1){
		ans[min(j-i,min(abs(i-x)+1+abs(y-j),abs(i-y)+1+abs(x-j)))]++;
	}
	rep(i,1,n)printf("%d\n",ans[i]);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.L2
	movl	16(%rsp), %r12d
	movl	20(%rsp), %r14d
	leal	1(%rbp), %r13d
	movl	$1, %ebx
	leaq	ans(%rip), %rsi
	leal	-1(%r12), %edi
	movl	%r14d, %r10d
	movl	%edi, %r11d
	subl	%r12d, %r10d
	subl	%ebp, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	cmpl	%ebp, %ebx
	jg	.L3
	movl	%ebx, %eax
	movl	%edi, %r8d
	movl	%r12d, %ecx
	subl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, %r9d
	negl	%r9d
	cmovs	%eax, %r9d
	addl	$1, %r9d
	negl	%r8d
	cmovs	%edi, %r8d
	subl	%ebx, %ecx
	addl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L4:
	leal	(%r10,%rcx), %edx
	movl	%edi, %r15d
	movl	%edx, %eax
	negl	%eax
	cmovs	%edx, %eax
	movl	%ecx, %edx
	addl	%r8d, %eax
	negl	%edx
	cmovs	%ecx, %edx
	subl	%ecx, %r15d
	addl	%r9d, %edx
	cmpl	%r15d, %edx
	cmovg	%r15d, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	subl	$1, %ecx
	cltq
	addl	$1, (%rsi,%rax,4)
	cmpl	%ecx, %r11d
	jne	.L4
.L3:
	subl	$1, %edi
	cmpl	%r13d, %ebx
	jne	.L5
	cmpl	$1, %ebp
	jle	.L2
	movl	$1, %ebx
	leaq	ans(%rip), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L6
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$40, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 12040
ans:
	.zero	12040
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	12(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	testl	%ebp, %ebp
	jle	.L2
	movl	16(%rsp), %r12d
	movl	20(%rsp), %r14d
	leal	1(%rbp), %r13d
	movl	$1, %ebx
	leaq	ans(%rip), %rsi
	leal	-1(%r12), %edi
	movl	%r14d, %r10d
	movl	%edi, %r11d
	subl	%r12d, %r10d
	subl	%ebp, %r11d
	.p2align 4,,10
	.p2align 3
.L5:
	addl	$1, %ebx
	cmpl	%ebp, %ebx
	jg	.L3
	movl	%ebx, %eax
	movl	%edi, %r8d
	movl	%r12d, %ecx
	subl	%r14d, %eax
	subl	$1, %eax
	movl	%eax, %r9d
	negl	%r9d
	cmovs	%eax, %r9d
	addl	$1, %r9d
	negl	%r8d
	cmovs	%edi, %r8d
	subl	%ebx, %ecx
	addl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L4:
	leal	(%r10,%rcx), %edx
	movl	%edi, %r15d
	movl	%edx, %eax
	negl	%eax
	cmovs	%edx, %eax
	movl	%ecx, %edx
	addl	%r8d, %eax
	negl	%edx
	cmovs	%ecx, %edx
	subl	%ecx, %r15d
	addl	%r9d, %edx
	cmpl	%r15d, %edx
	cmovg	%r15d, %edx
	cmpl	%edx, %eax
	cmovg	%edx, %eax
	subl	$1, %ecx
	cltq
	addl	$1, (%rsi,%rax,4)
	cmpl	%ecx, %r11d
	jne	.L4
.L3:
	subl	$1, %edi
	cmpl	%r13d, %ebx
	jne	.L5
	cmpl	$1, %ebp
	jle	.L2
	movl	$1, %ebx
	leaq	ans(%rip), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jg	.L6
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L13
	addq	$40, %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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	ans
	.bss
	.align 32
	.type	ans, @object
	.size	ans, 12040
ans:
	.zero	12040
	.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:
```