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

```c
/*
AizuOnline A0196
Title Baseball Championship
*/
#include <stdio.h>
// Select Below
//#include <stdlib.h>
//#include <string.h>
//#include <float.h>
//#include <math.h>
//#include <limits.h>
//Global data section
int n;

struct BTEAM
{
  char nam[4];
  int  order;  //input order
  int  win;
  int  draw;
  int  lose;
} team_info[10];
//
int team_compare (struct BTEAM * a,struct BTEAM * b)
{
  if(a->win < b->win)return(1);
  if(a->win > b->win)return(-1);
  if(a->lose > b->lose)return(1);
  if(a->lose < b->lose)return(-1);
  if(a->order > b->order)return(1);
  if(a->order < b->order)return(-1);
  return(0);
}
main()
{
  int i,j,ss;

  while(1)
    {
      EOF!=scanf("%d",&n);
      if(n==0)break;
      for(i=0;i<n;i++)
	{
	  scanf("%s",team_info[i].nam);
	  team_info[i].win = team_info[i].draw = team_info[i].lose=0;
	  team_info[i].order=i;
	  for(j=0;j<n-1;j++)
	    {
	      scanf("%d ",&ss);
	      if(ss==0)
		team_info[i].win++;
	      else if(ss==1)
		team_info[i].lose++;
	      else if(ss==2)
		team_info[i].draw++;
	    }
	}
      qsort(team_info,n,sizeof(struct BTEAM ),team_compare);
      for(i=0;i<n;i++)
          puts(team_info[i].nam);
    }
      return(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	team_info
	.align 32
	.type	team_info, @object
	.size	team_info, 200
team_info:
	.zero	200
	.text
	.globl	team_compare
	.type	team_compare, @function
team_compare:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	$1, %eax
	jmp	.L3
.L7:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$-1, %eax
	jmp	.L3
.L8:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	team_compare, .-team_compare
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d "
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L21:
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L25
	movl	$0, -16(%rbp)
	jmp	.L12
.L18:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	12+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	8+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	4+team_info(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -12(%rbp)
	jmp	.L13
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jne	.L14
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L14:
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L16:
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L15
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L15:
	addl	$1, -12(%rbp)
.L13:
	movl	n(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	addl	$1, -16(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	n(%rip), %eax
	leaq	team_compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$20, %edx
	movl	%eax, %esi
	leaq	team_info(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	jmp	.L21
.L25:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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
	.p2align 4
	.globl	team_compare
	.type	team_compare, @function
team_compare:
.LFB23:
	.cfi_startproc
	endbr64
	movl	8(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, 8(%rdi)
	jl	.L1
	movl	$-1, %eax
	jg	.L1
	movl	16(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 16(%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE23:
	.size	team_compare, .-team_compare
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L19:
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %esi
	testl	%esi, %esi
	je	.L10
	jle	.L11
	leaq	team_info(%rip), %r14
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %esi
	movl	$0, 16(%r14)
	movl	$0, 12(%r14)
	movl	$0, 8(%r14)
	movl	%r12d, 4(%r14)
	cmpl	$1, %esi
	jle	.L11
	xorl	%r15d, %r15d
	leaq	4(%rsp), %rbx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$1, 8(%r14)
.L14:
	movl	n(%rip), %esi
	addl	$1, %r15d
	leal	-1(%rsi), %eax
	cmpl	%r15d, %eax
	jle	.L29
.L16:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L30
	cmpl	$1, %eax
	je	.L31
	cmpl	$2, %eax
	jne	.L14
	addl	$1, 12(%r14)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L31:
	addl	$1, 16(%r14)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L29:
	addl	$1, %r12d
	addq	$20, %r14
	cmpl	%r12d, %esi
	jg	.L17
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	team_compare(%rip), %rcx
	movl	$20, %edx
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	leaq	team_info(%rip), %rdi
	leaq	team_info(%rip), %r12
	call	qsort@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%r12, %rdi
	addl	$1, %ebx
	addq	$20, %r12
	call	puts@PLT
	cmpl	%ebx, n(%rip)
	jg	.L20
	jmp	.L19
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	team_info
	.bss
	.align 32
	.type	team_info, @object
	.size	team_info, 200
team_info:
	.zero	200
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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
	.p2align 4
	.globl	team_compare
	.type	team_compare, @function
team_compare:
.LFB23:
	.cfi_startproc
	endbr64
	movl	8(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, 8(%rdi)
	jl	.L1
	movl	$-1, %eax
	jg	.L1
	movl	16(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 16(%rdi)
	jg	.L1
	movl	$-1, %eax
	jl	.L1
	movl	4(%rsi), %ecx
	movl	$1, %eax
	cmpl	%ecx, 4(%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE23:
	.size	team_compare, .-team_compare
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L19:
	leaq	n(%rip), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %esi
	testl	%esi, %esi
	je	.L10
	jle	.L11
	leaq	team_info(%rip), %r14
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L17:
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %esi
	movl	$0, 16(%r14)
	movl	$0, 12(%r14)
	movl	$0, 8(%r14)
	movl	%r12d, 4(%r14)
	cmpl	$1, %esi
	jle	.L11
	xorl	%r15d, %r15d
	leaq	4(%rsp), %rbx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$1, 8(%r14)
.L14:
	movl	n(%rip), %esi
	addl	$1, %r15d
	leal	-1(%rsi), %eax
	cmpl	%r15d, %eax
	jle	.L29
.L16:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	je	.L30
	cmpl	$1, %eax
	je	.L31
	cmpl	$2, %eax
	jne	.L14
	addl	$1, 12(%r14)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L31:
	addl	$1, 16(%r14)
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L29:
	addl	$1, %r12d
	addq	$20, %r14
	cmpl	%r12d, %esi
	jg	.L17
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	team_compare(%rip), %rcx
	movl	$20, %edx
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	leaq	team_info(%rip), %rdi
	leaq	team_info(%rip), %r12
	call	qsort@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	jle	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	movq	%r12, %rdi
	addl	$1, %ebx
	addq	$20, %r12
	call	puts@PLT
	cmpl	%ebx, n(%rip)
	jg	.L20
	jmp	.L19
.L10:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$24, %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
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.globl	team_info
	.bss
	.align 32
	.type	team_info, @object
	.size	team_info, 200
team_info:
	.zero	200
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.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:

/*
AizuOnline A0196
Title Baseball Championship
*/
#include <stdio.h>
// Select Below
//#include <stdlib.h>
//#include <string.h>
//#include <float.h>
//#include <math.h>
//#include <limits.h>
//Global data section
int n;

struct BTEAM
{
  char nam[4];
  int  order;  //input order
  int  win;
  int  draw;
  int  lose;
} team_info[10];
//
int team_compare (struct BTEAM * a,struct BTEAM * b)
{
  if(a->win < b->win)return(1);
  if(a->win > b->win)return(-1);
  if(a->lose > b->lose)return(1);
  if(a->lose < b->lose)return(-1);
  if(a->order > b->order)return(1);
  if(a->order < b->order)return(-1);
  return(0);
}
main()
{
  int i,j,ss;

  while(1)
    {
      EOF!=scanf("%d",&n);
      if(n==0)break;
      for(i=0;i<n;i++)
	{
	  scanf("%s",team_info[i].nam);
	  team_info[i].win = team_info[i].draw = team_info[i].lose=0;
	  team_info[i].order=i;
	  for(j=0;j<n-1;j++)
	    {
	      scanf("%d ",&ss);
	      if(ss==0)
		team_info[i].win++;
	      else if(ss==1)
		team_info[i].lose++;
	      else if(ss==2)
		team_info[i].draw++;
	    }
	}
      qsort(team_info,n,sizeof(struct BTEAM ),team_compare);
      for(i=0;i<n;i++)
          puts(team_info[i].nam);
    }
      return(0);
}
6
A 1 0 0 2 0
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 1 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
h 0 1 2
x 0 0 0
b 0 2 1
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 1 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
h 0 1 2
x 0 0 0
b 0 2 1
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
h 0 1 2
x 0 0 0
b 0 2 1
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
h 0 1 2
x 0 0 0
b 0 2 2
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
g 0 1 2
x 0 0 0
b 0 2 2
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 2
4
g 1 1 1
g 0 1 0
x 0 0 0
b 0 2 2
0
 6
A 1 0 0 2 0
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 1 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
g 0 1 2
x 0 0 0
b 0 2 1
0
 6
A 1 0 0 2 -1
B 1 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
h 0 1 2
x 0 0 0
b 0 2 1
0
 6
A 1 0 0 2 -1
B 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 0 2
E 2 0 0 0 0
F 1 1 0 2 1
4
h 1 1 1
g 0 1 2
x 0 0 0
b 0 2 2
0
 6
A 1 0 0 2 0
C 0 0 1 1 0
C 1 1 1 1 1
D 1 0 0 1 2
E 2 0 0 0 0
F 1 1 0 2 1
4
g 1 1 1
g 0 1 2
x 0 0 0
b 0 2 1
0

E
A
B
D
F
C
x
h
b
g
 E
B
A
D
F
C
x
h
b
g
 E
D
B
A
F
C
x
h
b
g
 E
D
B
A
F
C
x
b
h
g
 E
D
B
A
F
C
x
b
g
g
 E
D
B
A
F
C
x
g
b
g
 E
A
B
D
F
C
x
g
b
g
 E
D
A
B
F
C
x
h
b
g
 E
D
B
A
F
C
x
b
g
h
 E
A
C
D
F
C
x
g
b
g

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

```c
/*
AizuOnline A0196
Title Baseball Championship
*/
#include <stdio.h>
// Select Below
//#include <stdlib.h>
//#include <string.h>
//#include <float.h>
//#include <math.h>
//#include <limits.h>
//Global data section
int n;

struct BTEAM
{
  char nam[4];
  int  order;  //input order
  int  win;
  int  draw;
  int  lose;
} team_info[10];
//
int team_compare (struct BTEAM * a,struct BTEAM * b)
{
  if(a->win < b->win)return(1);
  if(a->win > b->win)return(-1);
  if(a->lose > b->lose)return(1);
  if(a->lose < b->lose)return(-1);
  if(a->order > b->order)return(1);
  if(a->order < b->order)return(-1);
  return(0);
}
main()
{
  int i,j,ss;

  while(1)
    {
      EOF!=scanf("%d",&n);
      if(n==0)break;
      for(i=0;i<n;i++)
	{
	  scanf("%s",team_info[i].nam);
	  team_info[i].win = team_info[i].draw = team_info[i].lose=0;
	  team_info[i].order=i;
	  for(j=0;j<n-1;j++)
	    {
	      scanf("%d ",&ss);
	      if(ss==0)
		team_info[i].win++;
	      else if(ss==1)
		team_info[i].lose++;
	      else if(ss==2)
		team_info[i].draw++;
	    }
	}
      qsort(team_info,n,sizeof(struct BTEAM ),team_compare);
      for(i=0;i<n;i++)
          puts(team_info[i].nam);
    }
      return(0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	team_info
	.align 32
	.type	team_info, @object
	.size	team_info, 200
team_info:
	.zero	200
	.text
	.globl	team_compare
	.type	team_compare, @function
team_compare:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	$1, %eax
	jmp	.L3
.L7:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$-1, %eax
	jmp	.L3
.L8:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	team_compare, .-team_compare
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d "
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L21:
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L25
	movl	$0, -16(%rbp)
	jmp	.L12
.L18:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	12+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	8+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	4+team_info(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -12(%rbp)
	jmp	.L13
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jne	.L14
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L14:
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L16:
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L15
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L15:
	addl	$1, -12(%rbp)
.L13:
	movl	n(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	addl	$1, -16(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	n(%rip), %eax
	leaq	team_compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$20, %edx
	movl	%eax, %esi
	leaq	team_info(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	jmp	.L21
.L25:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	team_info
	.align 32
	.type	team_info, @object
	.size	team_info, 200
team_info:
	.zero	200
	.text
	.globl	team_compare
	.type	team_compare, @function
team_compare:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -8(%rbp)
	movq	%rsi, -16(%rbp)
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jge	.L2
	movl	$1, %eax
	jmp	.L3
.L2:
	movq	-8(%rbp), %rax
	movl	8(%rax), %edx
	movq	-16(%rbp), %rax
	movl	8(%rax), %eax
	cmpl	%eax, %edx
	jle	.L4
	movl	$-1, %eax
	jmp	.L3
.L4:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jle	.L5
	movl	$1, %eax
	jmp	.L3
.L5:
	movq	-8(%rbp), %rax
	movl	16(%rax), %edx
	movq	-16(%rbp), %rax
	movl	16(%rax), %eax
	cmpl	%eax, %edx
	jge	.L6
	movl	$-1, %eax
	jmp	.L3
.L6:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jle	.L7
	movl	$1, %eax
	jmp	.L3
.L7:
	movq	-8(%rbp), %rax
	movl	4(%rax), %edx
	movq	-16(%rbp), %rax
	movl	4(%rax), %eax
	cmpl	%eax, %edx
	jge	.L8
	movl	$-1, %eax
	jmp	.L3
.L8:
	movl	$0, %eax
.L3:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	team_compare, .-team_compare
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%d "
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L21:
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	n(%rip), %eax
	testl	%eax, %eax
	je	.L25
	movl	$0, -16(%rbp)
	jmp	.L12
.L18:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	$0, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	12+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-16(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	8+team_info(%rip), %rax
	movl	%edx, (%rcx,%rax)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rcx
	leaq	4+team_info(%rip), %rdx
	movl	-16(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -12(%rbp)
	jmp	.L13
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	testl	%eax, %eax
	jne	.L14
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	8+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L14:
	movl	-20(%rbp), %eax
	cmpl	$1, %eax
	jne	.L16
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	16+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L15
.L16:
	movl	-20(%rbp), %eax
	cmpl	$2, %eax
	jne	.L15
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	movq	%rax, %rdx
	leaq	12+team_info(%rip), %rax
	movl	%ecx, (%rdx,%rax)
.L15:
	addl	$1, -12(%rbp)
.L13:
	movl	n(%rip), %eax
	subl	$1, %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	addl	$1, -16(%rbp)
.L12:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L18
	movl	n(%rip), %eax
	leaq	team_compare(%rip), %rdx
	movq	%rdx, %rcx
	movl	$20, %edx
	movl	%eax, %esi
	leaq	team_info(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	qsort@PLT
	movl	$0, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	leaq	team_info(%rip), %rdx
	addq	%rdx, %rax
	movq	%rax, %rdi
	call	puts@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	n(%rip), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	jmp	.L21
.L25:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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:
