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>
int main(void)
{
    int n;
    int match;
    int data[5000][4],x[1001][3]={{0}};
    int i,j;
    int hoge=0,hoge2=0;
    int cnt = 1;

    scanf("%d",&n);
    match = n*(n-1)/2;
    for(i = 1;i <= n; i++)x[i][1] = i;
    /*勝ち点決め*/
    for(i = 1;i <= match; i++){
        for(j = 0;j < 4; j++)scanf("%d",&data[i][j]);
        if(data[i][2] > data[i][3])x[data[i][0]][0] += 3;
        else if(data[i][3] > data[i][2])x[data[i][1]][0] += 3;
        else {
            x[data[i][0]][0] += 1;
            x[data[i][1]][0] += 1;
        }
    }
    /*ソート*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][0] > x[j][0]){
               hoge = x[i][0];
               x[i][0] = x[j][0];
               x[j][0] = hoge;
               hoge2 = x[i][1];
               x[i][1] = x[j][1];
               x[j][1] = hoge2;
            }
        }
    }
    /*順位決め*/
    for(i = 1;i <= n; ){
        for(;;){
            if(x[i][0] == x[i+cnt][0]){
                cnt++;
            }
            else{
             for(j = i;j < cnt+i; j++)x[j][2] = i;
             i += cnt;
             cnt = 1;
             break;
            }
        }
    }
    /*ソート（戻す）*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][1] < x[j][1]){
                hoge = x[i][1];
                x[i][1] = x[j][1];
                x[j][1] = hoge;
                hoge2 = x[i][2];
                x[i][2] = x[j][2];
                x[j][2] = hoge2;
            }
        }
    }
    /*出力*/
    for(i = 1;i <= n; i++)printf("%d\n",x[i][2]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%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
	leaq	-90112(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-92032(%rbp), %rax
	movl	$12012, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -92044(%rbp)
	movl	$0, -92040(%rbp)
	movl	$1, -92048(%rbp)
	leaq	-92060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92060(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-92060(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -92036(%rbp)
	movl	$1, -92056(%rbp)
	jmp	.L2
.L3:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92056(%rbp)
.L2:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L3
	movl	$1, -92056(%rbp)
	jmp	.L4
.L10:
	movl	$0, -92052(%rbp)
	jmp	.L5
.L6:
	leaq	-80016(%rbp), %rdx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rcx
	movl	-92056(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -92052(%rbp)
.L5:
	cmpl	$3, -92052(%rbp)
	jle	.L6
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L7:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L9
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L9:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -92056(%rbp)
.L4:
	movl	-92056(%rbp), %eax
	cmpl	-92036(%rbp), %eax
	jle	.L10
	movl	$1, -92056(%rbp)
	jmp	.L11
.L15:
	movl	$1, -92052(%rbp)
	jmp	.L12
.L14:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	.L13
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92032(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L13:
	addl	$1, -92052(%rbp)
.L12:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L14
	addl	$1, -92056(%rbp)
.L11:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L15
	movl	$1, -92056(%rbp)
	jmp	.L16
.L21:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92056(%rbp), %edx
	movl	-92048(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L17
	addl	$1, -92048(%rbp)
	jmp	.L21
.L17:
	movl	-92056(%rbp), %eax
	movl	%eax, -92052(%rbp)
	jmp	.L19
.L20:
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92052(%rbp)
.L19:
	movl	-92048(%rbp), %edx
	movl	-92056(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -92052(%rbp)
	jl	.L20
	movl	-92048(%rbp), %eax
	addl	%eax, -92056(%rbp)
	movl	$1, -92048(%rbp)
.L16:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L21
	movl	$1, -92056(%rbp)
	jmp	.L22
.L26:
	movl	$1, -92052(%rbp)
	jmp	.L23
.L25:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jge	.L24
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L24:
	addl	$1, -92052(%rbp)
.L23:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L25
	addl	$1, -92056(%rbp)
.L22:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L26
	movl	$1, -92056(%rbp)
	jmp	.L27
.L28:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -92056(%rbp)
.L27:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L28
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	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	"%d"
.LC1:
	.string	"%d\n"
	.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	-90112(%rsp), %r11
	.cfi_def_cfa 11, 90168
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1944, %rsp
	.cfi_def_cfa_offset 92112
	movl	$12012, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 92040(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	movq	%rbx, %rdi
	call	memset@PLT
	leaq	12(%rsp), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	leal	-1(%rsi), %r8d
	imull	%esi, %r8d
	movl	%r8d, %r13d
	shrl	$31, %r13d
	addl	%r8d, %r13d
	sarl	%r13d
	testl	%esi, %esi
	jle	.L2
	leaq	32(%rsp), %rdi
	leal	1(%rsi), %ecx
	movl	$1, %eax
	movq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%eax, (%rdx)
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%ecx, %eax
	jne	.L3
	cmpl	$1, %r8d
	jle	.L7
.L5:
	leaq	12064(%rsp), %r14
	movl	$1, %r15d
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	-16(%r14), %rbp
.L8:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__isoc99_scanf@PLT
	cmpq	%r14, %rbp
	jne	.L8
	movl	-4(%r14), %eax
	cmpl	%eax, -8(%r14)
	jle	.L9
	movslq	-16(%r14), %rax
	leaq	(%rax,%rax,2), %rax
	addl	$3, 16(%rsp,%rax,4)
.L10:
	addq	$1, %r15
	addq	$16, %r14
	cmpl	%r15d, %r13d
	jge	.L12
	movl	12(%rsp), %esi
	leaq	32(%rsp), %rdi
	testl	%esi, %esi
	jle	.L6
.L7:
	leaq	28(%rsp), %r10
	movl	$1, %r11d
	movq	%r10, %r8
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%r10, %rax
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%r8), %edx
	movl	(%rax), %r9d
	cmpl	%r9d, %edx
	jle	.L14
	movd	4(%r8), %xmm1
	movl	%r9d, (%r8)
	movd	%edx, %xmm0
	movl	4(%rax), %r9d
	punpckldq	%xmm1, %xmm0
	movl	%r9d, 4(%r8)
	movq	%xmm0, (%rax)
.L14:
	addl	$1, %ecx
	addq	$12, %rax
	cmpl	%ecx, %esi
	jge	.L15
	addl	$1, %r11d
	addq	$12, %r8
	cmpl	%r11d, %esi
	jge	.L16
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L17:
	movslq	%r8d, %rbp
	leal	1(%r8), %r9d
	movslq	%r9d, %rdx
	leaq	0(%rbp,%rbp,2), %rax
	salq	$2, %rax
	leaq	(%rdx,%rdx,2), %rcx
	leal	2(%r8), %edx
	movl	16(%rsp,%rax), %r11d
	addq	%rbx, %rax
	cmpl	16(%rsp,%rcx,4), %r11d
	jne	.L21
	.p2align 4,,10
	.p2align 3
.L20:
	movl	24(%rax), %ecx
	movl	%edx, %r9d
	addq	$12, %rax
	addl	$1, %edx
	cmpl	%r11d, %ecx
	je	.L20
.L21:
	cmpl	%r9d, %r8d
	jge	.L23
	movl	%r9d, %edx
	leaq	0(%rbp,%rbp,2), %rax
	subl	%r8d, %edx
	leaq	(%rbx,%rax,4), %rax
	subl	$1, %edx
	addq	%rbp, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%r10,%rdx,4), %rdx
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%r8d, 8(%rax)
	addq	$12, %rax
	cmpq	%rdx, %rax
	jne	.L22
.L23:
	cmpl	%r9d, %esi
	jl	.L47
	movl	%r9d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	-12(%r14), %rax
	jge	.L11
	leaq	(%rax,%rax,2), %rax
	addl	$3, 16(%rsp,%rax,4)
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movslq	-16(%r14), %rdx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rdx,%rdx,2), %rdx
	addl	$1, 16(%rsp,%rdx,4)
	addl	$1, 16(%rsp,%rax,4)
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L47:
	movq	%rdi, %r8
	movl	$1, %r10d
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rdi, %rax
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L26:
	movl	(%r8), %edx
	movl	(%rax), %r9d
	cmpl	%r9d, %edx
	jge	.L25
	movd	4(%r8), %xmm2
	movl	%r9d, (%r8)
	movd	%edx, %xmm0
	movl	4(%rax), %r9d
	punpckldq	%xmm2, %xmm0
	movl	%r9d, 4(%r8)
	movq	%xmm0, (%rax)
.L25:
	addl	$1, %ecx
	addq	$12, %rax
	cmpl	%ecx, %esi
	jge	.L26
	addl	$1, %r10d
	addq	$12, %r8
	cmpl	%r10d, %esi
	jge	.L19
	leaq	36(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L28:
	movl	0(%rbp), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addq	$12, %rbp
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jge	.L28
.L6:
	movq	92040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$92056, %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
.L2:
	.cfi_restore_state
	subl	$1, %r8d
	jg	.L5
	jmp	.L6
.L48:
	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	"%d"
.LC1:
	.string	"%d\n"
	.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	-90112(%rsp), %r11
	.cfi_def_cfa 11, 90168
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1944, %rsp
	.cfi_def_cfa_offset 92112
	movl	$12012, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 92040(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	movq	%rbx, %rdi
	call	memset@PLT
	leaq	12(%rsp), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	leal	-1(%rsi), %r8d
	imull	%esi, %r8d
	movl	%r8d, %r13d
	shrl	$31, %r13d
	addl	%r8d, %r13d
	sarl	%r13d
	testl	%esi, %esi
	jle	.L2
	leaq	32(%rsp), %rdi
	leal	1(%rsi), %ecx
	movl	$1, %eax
	movq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%eax, (%rdx)
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%ecx, %eax
	jne	.L3
	cmpl	$1, %r8d
	jle	.L7
.L5:
	leaq	12064(%rsp), %r14
	movl	$1, %r15d
	.p2align 4,,10
	.p2align 3
.L12:
	leaq	-16(%r14), %rbp
.L8:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$4, %rbp
	call	__isoc99_scanf@PLT
	cmpq	%r14, %rbp
	jne	.L8
	movl	-4(%r14), %eax
	cmpl	%eax, -8(%r14)
	jle	.L9
	movslq	-16(%r14), %rax
	leaq	(%rax,%rax,2), %rax
	addl	$3, 16(%rsp,%rax,4)
.L10:
	addq	$1, %r15
	addq	$16, %r14
	cmpl	%r15d, %r13d
	jge	.L12
	movl	12(%rsp), %esi
	leaq	32(%rsp), %rdi
	testl	%esi, %esi
	jle	.L6
.L7:
	leaq	28(%rsp), %r10
	movl	$1, %r11d
	movq	%r10, %r8
	.p2align 4,,10
	.p2align 3
.L16:
	movq	%r10, %rax
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L15:
	movl	(%r8), %edx
	movl	(%rax), %r9d
	cmpl	%r9d, %edx
	jle	.L14
	movd	4(%r8), %xmm1
	movl	%r9d, (%r8)
	movd	%edx, %xmm0
	movl	4(%rax), %r9d
	punpckldq	%xmm1, %xmm0
	movl	%r9d, 4(%r8)
	movq	%xmm0, (%rax)
.L14:
	addl	$1, %ecx
	addq	$12, %rax
	cmpl	%ecx, %esi
	jge	.L15
	addl	$1, %r11d
	addq	$12, %r8
	cmpl	%r11d, %esi
	jge	.L16
	movl	$1, %r8d
	.p2align 4,,10
	.p2align 3
.L17:
	movslq	%r8d, %rbp
	leal	1(%r8), %r9d
	movslq	%r9d, %rdx
	leaq	0(%rbp,%rbp,2), %rax
	salq	$2, %rax
	leaq	(%rdx,%rdx,2), %rcx
	leal	2(%r8), %edx
	movl	16(%rsp,%rax), %r11d
	addq	%rbx, %rax
	cmpl	16(%rsp,%rcx,4), %r11d
	jne	.L21
	.p2align 4,,10
	.p2align 3
.L20:
	movl	24(%rax), %ecx
	movl	%edx, %r9d
	addq	$12, %rax
	addl	$1, %edx
	cmpl	%r11d, %ecx
	je	.L20
.L21:
	cmpl	%r9d, %r8d
	jge	.L23
	movl	%r9d, %edx
	leaq	0(%rbp,%rbp,2), %rax
	subl	%r8d, %edx
	leaq	(%rbx,%rax,4), %rax
	subl	$1, %edx
	addq	%rbp, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%r10,%rdx,4), %rdx
	.p2align 4,,10
	.p2align 3
.L22:
	movl	%r8d, 8(%rax)
	addq	$12, %rax
	cmpq	%rdx, %rax
	jne	.L22
.L23:
	cmpl	%r9d, %esi
	jl	.L47
	movl	%r9d, %r8d
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L9:
	movslq	-12(%r14), %rax
	jge	.L11
	leaq	(%rax,%rax,2), %rax
	addl	$3, 16(%rsp,%rax,4)
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	movslq	-16(%r14), %rdx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rdx,%rdx,2), %rdx
	addl	$1, 16(%rsp,%rdx,4)
	addl	$1, 16(%rsp,%rax,4)
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L47:
	movq	%rdi, %r8
	movl	$1, %r10d
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%rdi, %rax
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L26:
	movl	(%r8), %edx
	movl	(%rax), %r9d
	cmpl	%r9d, %edx
	jge	.L25
	movd	4(%r8), %xmm2
	movl	%r9d, (%r8)
	movd	%edx, %xmm0
	movl	4(%rax), %r9d
	punpckldq	%xmm2, %xmm0
	movl	%r9d, 4(%r8)
	movq	%xmm0, (%rax)
.L25:
	addl	$1, %ecx
	addq	$12, %rax
	cmpl	%ecx, %esi
	jge	.L26
	addl	$1, %r10d
	addq	$12, %r8
	cmpl	%r10d, %esi
	jge	.L19
	leaq	36(%rsp), %rbp
	movl	$1, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L28:
	movl	0(%rbp), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addl	$1, %ebx
	addq	$12, %rbp
	call	__printf_chk@PLT
	cmpl	%ebx, 12(%rsp)
	jge	.L28
.L6:
	movq	92040(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$92056, %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
.L2:
	.cfi_restore_state
	subl	$1, %r8d
	jg	.L5
	jmp	.L6
.L48:
	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>
int main(void)
{
    int n;
    int match;
    int data[5000][4],x[1001][3]={{0}};
    int i,j;
    int hoge=0,hoge2=0;
    int cnt = 1;

    scanf("%d",&n);
    match = n*(n-1)/2;
    for(i = 1;i <= n; i++)x[i][1] = i;
    /*勝ち点決め*/
    for(i = 1;i <= match; i++){
        for(j = 0;j < 4; j++)scanf("%d",&data[i][j]);
        if(data[i][2] > data[i][3])x[data[i][0]][0] += 3;
        else if(data[i][3] > data[i][2])x[data[i][1]][0] += 3;
        else {
            x[data[i][0]][0] += 1;
            x[data[i][1]][0] += 1;
        }
    }
    /*ソート*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][0] > x[j][0]){
               hoge = x[i][0];
               x[i][0] = x[j][0];
               x[j][0] = hoge;
               hoge2 = x[i][1];
               x[i][1] = x[j][1];
               x[j][1] = hoge2;
            }
        }
    }
    /*順位決め*/
    for(i = 1;i <= n; ){
        for(;;){
            if(x[i][0] == x[i+cnt][0]){
                cnt++;
            }
            else{
             for(j = i;j < cnt+i; j++)x[j][2] = i;
             i += cnt;
             cnt = 1;
             break;
            }
        }
    }
    /*ソート（戻す）*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][1] < x[j][1]){
                hoge = x[i][1];
                x[i][1] = x[j][1];
                x[j][1] = hoge;
                hoge2 = x[i][2];
                x[i][2] = x[j][2];
                x[j][2] = hoge2;
            }
        }
    }
    /*出力*/
    for(i = 1;i <= n; i++)printf("%d\n",x[i][2]);
    return 0;
}
4
1 2 0 1
1 3 2 1
1 4 2 2
2 3 2 1
2 4 3 0
3 4 1 3
 4
1 2 0 1
1 3 2 1
1 4 2 2
4 3 2 1
2 4 3 0
3 4 1 3
 4
1 2 1 1
1 3 2 1
1 4 2 2
4 0 3 1
2 4 3 0
0 4 1 4
 4
1 1 1 1
1 3 2 1
1 4 2 0
4 0 3 1
2 4 3 0
0 4 1 4
 4
1 2 0 1
2 3 2 1
1 4 2 2
2 3 2 1
2 4 3 0
3 4 1 3
 4
1 2 0 1
1 3 2 1
1 4 2 2
4 0 2 1
3 4 3 0
0 4 1 4
 4
1 1 1 1
1 3 2 1
1 3 2 2
4 0 3 2
2 4 3 0
0 4 1 4
 4
1 4 0 1
1 3 2 1
1 4 2 2
4 0 2 1
3 4 3 0
-1 4 1 4
 4
1 1 1 1
1 3 2 1
2 4 2 0
4 0 3 1
2 4 3 0
0 4 2 8
 4
1 2 0 1
1 3 2 1
1 4 2 2
2 3 1 0
2 4 3 0
3 4 1 0

2
1
4
2
 3
2
4
1
 2
3
4
1
 1
3
4
2
 3
1
4
2
 2
3
3
1
 1
3
4
1
 2
4
3
1
 3
1
4
1
 2
1
3
4

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>
int main(void)
{
    int n;
    int match;
    int data[5000][4],x[1001][3]={{0}};
    int i,j;
    int hoge=0,hoge2=0;
    int cnt = 1;

    scanf("%d",&n);
    match = n*(n-1)/2;
    for(i = 1;i <= n; i++)x[i][1] = i;
    /*勝ち点決め*/
    for(i = 1;i <= match; i++){
        for(j = 0;j < 4; j++)scanf("%d",&data[i][j]);
        if(data[i][2] > data[i][3])x[data[i][0]][0] += 3;
        else if(data[i][3] > data[i][2])x[data[i][1]][0] += 3;
        else {
            x[data[i][0]][0] += 1;
            x[data[i][1]][0] += 1;
        }
    }
    /*ソート*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][0] > x[j][0]){
               hoge = x[i][0];
               x[i][0] = x[j][0];
               x[j][0] = hoge;
               hoge2 = x[i][1];
               x[i][1] = x[j][1];
               x[j][1] = hoge2;
            }
        }
    }
    /*順位決め*/
    for(i = 1;i <= n; ){
        for(;;){
            if(x[i][0] == x[i+cnt][0]){
                cnt++;
            }
            else{
             for(j = i;j < cnt+i; j++)x[j][2] = i;
             i += cnt;
             cnt = 1;
             break;
            }
        }
    }
    /*ソート（戻す）*/
    for(i = 1;i <= n; i++){
        for(j = 1;j <= n; j++){
            if(x[i][1] < x[j][1]){
                hoge = x[i][1];
                x[i][1] = x[j][1];
                x[j][1] = hoge;
                hoge2 = x[i][2];
                x[i][2] = x[j][2];
                x[j][2] = hoge2;
            }
        }
    }
    /*出力*/
    for(i = 1;i <= n; i++)printf("%d\n",x[i][2]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%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
	leaq	-90112(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-92032(%rbp), %rax
	movl	$12012, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -92044(%rbp)
	movl	$0, -92040(%rbp)
	movl	$1, -92048(%rbp)
	leaq	-92060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92060(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-92060(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -92036(%rbp)
	movl	$1, -92056(%rbp)
	jmp	.L2
.L3:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92056(%rbp)
.L2:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L3
	movl	$1, -92056(%rbp)
	jmp	.L4
.L10:
	movl	$0, -92052(%rbp)
	jmp	.L5
.L6:
	leaq	-80016(%rbp), %rdx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rcx
	movl	-92056(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -92052(%rbp)
.L5:
	cmpl	$3, -92052(%rbp)
	jle	.L6
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L7:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L9
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L9:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -92056(%rbp)
.L4:
	movl	-92056(%rbp), %eax
	cmpl	-92036(%rbp), %eax
	jle	.L10
	movl	$1, -92056(%rbp)
	jmp	.L11
.L15:
	movl	$1, -92052(%rbp)
	jmp	.L12
.L14:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	.L13
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92032(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L13:
	addl	$1, -92052(%rbp)
.L12:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L14
	addl	$1, -92056(%rbp)
.L11:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L15
	movl	$1, -92056(%rbp)
	jmp	.L16
.L21:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92056(%rbp), %edx
	movl	-92048(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L17
	addl	$1, -92048(%rbp)
	jmp	.L21
.L17:
	movl	-92056(%rbp), %eax
	movl	%eax, -92052(%rbp)
	jmp	.L19
.L20:
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92052(%rbp)
.L19:
	movl	-92048(%rbp), %edx
	movl	-92056(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -92052(%rbp)
	jl	.L20
	movl	-92048(%rbp), %eax
	addl	%eax, -92056(%rbp)
	movl	$1, -92048(%rbp)
.L16:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L21
	movl	$1, -92056(%rbp)
	jmp	.L22
.L26:
	movl	$1, -92052(%rbp)
	jmp	.L23
.L25:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jge	.L24
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L24:
	addl	$1, -92052(%rbp)
.L23:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L25
	addl	$1, -92056(%rbp)
.L22:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L26
	movl	$1, -92056(%rbp)
	jmp	.L27
.L28:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -92056(%rbp)
.L27:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L28
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	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\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
	leaq	-90112(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1952, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-92032(%rbp), %rax
	movl	$12012, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -92044(%rbp)
	movl	$0, -92040(%rbp)
	movl	$1, -92048(%rbp)
	leaq	-92060(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92060(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-92060(%rbp), %eax
	imull	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	sarl	%eax
	movl	%eax, -92036(%rbp)
	movl	$1, -92056(%rbp)
	jmp	.L2
.L3:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92056(%rbp)
.L2:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L3
	movl	$1, -92056(%rbp)
	jmp	.L4
.L10:
	movl	$0, -92052(%rbp)
	jmp	.L5
.L6:
	leaq	-80016(%rbp), %rdx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rcx
	movl	-92056(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -92052(%rbp)
.L5:
	cmpl	$3, -92052(%rbp)
	jle	.L6
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L7:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80004, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80008, %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jle	.L9
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	3(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	jmp	.L8
.L9:
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80016, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$80012, %rax
	movl	(%rax), %eax
	leal	1(%rdx), %ecx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%ecx, (%rax)
.L8:
	addl	$1, -92056(%rbp)
.L4:
	movl	-92056(%rbp), %eax
	cmpl	-92036(%rbp), %eax
	jle	.L10
	movl	$1, -92056(%rbp)
	jmp	.L11
.L15:
	movl	$1, -92052(%rbp)
	jmp	.L12
.L14:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jle	.L13
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92032(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L13:
	addl	$1, -92052(%rbp)
.L12:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L14
	addl	$1, -92056(%rbp)
.L11:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L15
	movl	$1, -92056(%rbp)
	jmp	.L16
.L21:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %ecx
	movl	-92056(%rbp), %edx
	movl	-92048(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92032, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L17
	addl	$1, -92048(%rbp)
	jmp	.L21
.L17:
	movl	-92056(%rbp), %eax
	movl	%eax, -92052(%rbp)
	jmp	.L19
.L20:
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92056(%rbp), %eax
	movl	%eax, (%rdx)
	addl	$1, -92052(%rbp)
.L19:
	movl	-92048(%rbp), %edx
	movl	-92056(%rbp), %eax
	addl	%edx, %eax
	cmpl	%eax, -92052(%rbp)
	jl	.L20
	movl	-92048(%rbp), %eax
	addl	%eax, -92056(%rbp)
	movl	$1, -92048(%rbp)
.L16:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L21
	movl	$1, -92056(%rbp)
	jmp	.L22
.L26:
	movl	$1, -92052(%rbp)
	jmp	.L23
.L25:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %ecx
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jge	.L24
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %eax
	movl	%eax, -92044(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92028, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92028(%rax), %rdx
	movl	-92044(%rbp), %eax
	movl	%eax, (%rdx)
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, -92040(%rbp)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %edx
	movl	-92056(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	%edx, (%rax)
	movl	-92052(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	leaq	-92024(%rax), %rdx
	movl	-92040(%rbp), %eax
	movl	%eax, (%rdx)
.L24:
	addl	$1, -92052(%rbp)
.L23:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92052(%rbp)
	jle	.L25
	addl	$1, -92056(%rbp)
.L22:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L26
	movl	$1, -92056(%rbp)
	jmp	.L27
.L28:
	movl	-92056(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rbp, %rax
	subq	$92024, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -92056(%rbp)
.L27:
	movl	-92060(%rbp), %eax
	cmpl	%eax, -92056(%rbp)
	jle	.L28
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	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:
