user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movabs $0x6e6f6c6563726142,%rax
  mov    %rax,-0x90(%rbp)
  movw   $0x61,-0x88(%rbp)
  movabs $0x6e616c694d,%rax
  mov    %rax,-0x86(%rbp)
  movw   $0x0,-0x7e(%rbp)
  movabs $0x6f6163736156,%rax
  mov    %rax,-0x7c(%rbp)
  movw   $0x0,-0x74(%rbp)
  movl   $0x9,-0xb4(%rbp)
  movl   $0x5,-0xb0(%rbp)
  movl   $0x6,-0xac(%rbp)
  movl   $0x0,-0xd4(%rbp)
  jmp    L84
L67:
  movl   $0x0,-0xd0(%rbp)
  jmp    L171
L155:
  mov    -0xd0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xd4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x70(%rbp,%rax,4)
  addl   $0x1,-0xd0(%rbp)
L171:
  cmpl   $0x2,-0xd0(%rbp)
  jle    L155
  addl   $0x1,-0xd4(%rbp)
L84:
  cmpl   $0x2,-0xd4(%rbp)
  jle    L67
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0xd4(%rbp)
  jmp    L246
L153:
  lea    -0x90(%rbp),%rcx
  mov    -0xd4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  lea    (%rcx,%rax,1),%rdx
  mov    -0xd4(%rbp),%eax
  mov    %eax,%esi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0xd4(%rbp)
L246:
  cmpl   $0x2,-0xd4(%rbp)
  jle    L153
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0xe0(%rbp),%rax
  mov    %rax,%rsi
  lea    D134(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa0(%rbp)
  mov    -0xe0(%rbp),%eax
  mov    %eax,%esi
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0xd4(%rbp)
  jmp    L85
L238:
  lea    -0x12(%rbp),%rsi
  lea    -0xd8(%rbp),%rcx
  lea    -0xdc(%rbp),%rdx
  lea    -0x1c(%rbp),%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D128(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0xffffffff,-0xcc(%rbp)
  movl   $0xffffffff,-0xc8(%rbp)
  movl   $0x0,-0xd0(%rbp)
  jmp    L251
L105:
  mov    -0xd0(%rbp),%eax
  cltq
  mov    -0xb4(%rbp,%rax,4),%edx
  lea    -0x90(%rbp),%rsi
  mov    -0xd0(%rbp),%eax
  movslq %eax,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  add    %rax,%rax
  lea    (%rsi,%rax,1),%rcx
  lea    -0x1c(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <strAreEquals@plt>
  test   %eax,%eax
  je     L88
  mov    -0xd0(%rbp),%eax
  mov    %eax,-0xcc(%rbp)
L88:
  mov    -0xd0(%rbp),%eax
  cltq
  mov    -0xb4(%rbp,%rax,4),%edx
  lea    -0x90(%rbp),%rsi
  mov    -0xd0(%rbp),%eax
  movslq %eax,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  add    %rax,%rax
  lea    (%rsi,%rax,1),%rcx
  lea    -0x12(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <strAreEquals@plt>
  test   %eax,%eax
  je     L239
  mov    -0xd0(%rbp),%eax
  mov    %eax,-0xc8(%rbp)
L239:
  cmpl   $0xffffffff,-0xcc(%rbp)
  je     L289
  cmpl   $0xffffffff,-0xc8(%rbp)
  jne    L125
L289:
  addl   $0x1,-0xd0(%rbp)
L251:
  cmpl   $0x2,-0xd0(%rbp)
  jle    L105
  jmp    L106
L125:
  nop
L106:
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0xffffffff,-0xcc(%rbp)
  jne    L40
  cmpl   $0xffffffff,-0xc8(%rbp)
  jne    L40
  mov    $0x29a,%eax
  jmp    L102
L40:
  lea    D127(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  (%rax),%xmm1
  mov    -0xdc(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  %xmm0,(%rax)
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  (%rax),%xmm1
  mov    -0xd8(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  %xmm0,(%rax)
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x68,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  mov    -0xdc(%rbp),%edx
  mov    -0xd8(%rbp),%eax
  cmp    %eax,%edx
  jle    L245
  movsd  D82(%rip),%xmm0
  jmp    L110
L245:
  pxor   %xmm0,%xmm0
L110:
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x68,%rax
  movss  %xmm0,(%rax)
  mov    -0xd8(%rbp),%edx
  mov    -0xdc(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <points@plt>
  mov    %eax,%ecx
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  %xmm0,(%rax)
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x60,%rax
  movss  (%rax),%xmm1
  mov    -0xdc(%rbp),%eax
  mov    -0xd8(%rbp),%edx
  sub    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x60,%rax
  movss  %xmm0,(%rax)
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  (%rax),%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movq   %xmm2,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <average@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x5c,%rax
  movss  %xmm0,(%rax)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  (%rax),%xmm1
  mov    -0xd8(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  %xmm0,(%rax)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  (%rax),%xmm1
  mov    -0xdc(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  %xmm0,(%rax)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x68,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  mov    -0xd8(%rbp),%edx
  mov    -0xdc(%rbp),%eax
  cmp    %eax,%edx
  jle    L60
  movsd  D82(%rip),%xmm0
  jmp    L232
L60:
  pxor   %xmm0,%xmm0
L232:
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x68,%rax
  movss  %xmm0,(%rax)
  mov    -0xdc(%rbp),%edx
  mov    -0xd8(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <points@plt>
  mov    %eax,%ecx
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  %xmm0,(%rax)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x60,%rax
  movss  (%rax),%xmm1
  mov    -0xd8(%rbp),%eax
  mov    -0xdc(%rbp),%edx
  sub    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  addss  %xmm1,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x60,%rax
  movss  %xmm0,(%rax)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x6c,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x70,%rax
  movss  (%rax),%xmm1
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm1,%xmm3
  movq   %xmm3,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  mov    $0x2,%eax
  call   <average@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x5c,%rax
  movss  %xmm0,(%rax)
  mov    -0xcc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  (%rax),%xmm0
  mov    -0xcc(%rbp),%eax
  cltq
  movss  %xmm0,-0xa8(%rbp,%rax,4)
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  add    %rbp,%rax
  sub    $0x64,%rax
  movss  (%rax),%xmm0
  mov    -0xc8(%rbp),%eax
  cltq
  movss  %xmm0,-0xa8(%rbp,%rax,4)
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  addl   $0x1,-0xd4(%rbp)
L85:
  mov    -0xe0(%rbp),%eax
  cmp    %eax,-0xd4(%rbp)
  jl     L238
  movl   $0x0,-0x9c(%rbp)
  movl   $0x1,-0x98(%rbp)
  movl   $0x2,-0x94(%rbp)
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L72:
  movl   $0x0,-0xc4(%rbp)
  movl   $0x1,-0xd4(%rbp)
  jmp    L282
L160:
  mov    -0xd4(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc0(%rbp)
  mov    -0xd4(%rbp),%eax
  mov    %eax,-0xbc(%rbp)
  mov    -0xc0(%rbp),%eax
  cltq
  movss  -0xa8(%rbp,%rax,4),%xmm1
  mov    -0xbc(%rbp),%eax
  cltq
  movss  -0xa8(%rbp,%rax,4),%xmm0
  comiss %xmm1,%xmm0
  jbe    L141
  mov    -0xc0(%rbp),%eax
  cltq
  movss  -0xa8(%rbp,%rax,4),%xmm0
  movss  %xmm0,-0xb8(%rbp)
  mov    -0xbc(%rbp),%eax
  cltq
  movss  -0xa8(%rbp,%rax,4),%xmm0
  mov    -0xc0(%rbp),%eax
  cltq
  movss  %xmm0,-0xa8(%rbp,%rax,4)
  mov    -0xbc(%rbp),%eax
  cltq
  movss  -0xb8(%rbp),%xmm0
  movss  %xmm0,-0xa8(%rbp,%rax,4)
  movl   $0x1,-0xc4(%rbp)
L141:
  addl   $0x1,-0xd4(%rbp)
L282:
  cmpl   $0x2,-0xd4(%rbp)
  jle    L160
  cmpl   $0x0,-0xc4(%rbp)
  jne    L72
  lea    D114(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0xd4(%rbp)
  jmp    L285
L233:
  lea    -0x90(%rbp),%rcx
  mov    -0xd4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  lea    (%rcx,%rax,1),%rdx
  mov    -0xd4(%rbp),%eax
  mov    %eax,%esi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0xd4(%rbp)
L285:
  cmpl   $0x2,-0xd4(%rbp)
  jle    L233
  movl   $0x0,-0xd4(%rbp)
  jmp    L130
L290:
  mov    -0xd4(%rbp),%eax
  cltq
  movss  -0xa8(%rbp,%rax,4),%xmm0
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm0,%xmm4
  movq   %xmm4,%rdx
  mov    -0xd4(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addl   $0x1,-0xd4(%rbp)
L130:
  cmpl   $0x2,-0xd4(%rbp)
  jle    L290
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
L102:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L45
  call   <__stack_chk_fail@plt>
L45:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D66
datatype: string
name: extract_symbolic_data
arguments: label: D52
datatype: string
name: extract_symbolic_data
arguments: label: D26
datatype: string
name: extract_symbolic_data
arguments: label: D134
datatype: string
name: extract_symbolic_data
arguments: label: D103
datatype: string
name: extract_symbolic_data
arguments: label: D128
datatype: string
name: extract_symbolic_data
arguments: label: D63
datatype: string
name: extract_symbolic_data
arguments: label: D127
datatype: string
name: extract_symbolic_data
arguments: label: D82
datatype: f64
name: extract_symbolic_data
arguments: label: D51
datatype: string
name: extract_symbolic_data
arguments: label: D99
datatype: string
name: extract_symbolic_data
arguments: label: D114
datatype: string
name: extract_symbolic_data
arguments: label: D53
datatype: string
name: extract_symbolic_data
arguments: label: D29
datatype: string
name: extract_symbolic_data
arguments: label: D0
datatype: string

tool: D66: Times cadastrados:

tool: D52: %d -> %s


tool: D26: 
Quantidade de jogos: 

tool: D134: %d

tool: D103: 
Resultados das %d partidas (ex: "Vascao 1 x 3 Barcelona"):


tool: D128:  %s %d x %d %s

tool: D63: (Procurando times... 

tool: D127: Ok. Processando escrita... 

tool: D82: 1

tool: D51: Ok. Pronto.)

tool: D99: 
(Classificando... 

tool: D114: Ok. Imprimindo...)

tool: D53: %d: %s


tool: D29: %do lugar tem %f pontos.


tool: D0: (Pronto.)

assistant: ```c
int main() {
  int gamesQtt;
  char table_names[3][10] = {"Barcelona", "Milan", "Vascao"};
  int table_names_sizes[3] = {9, 5, 6};
  float table_data[3][6];
  int i, j, k;
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      table_data[i][j] = 0;
    }
  }
  printf("Times cadastrados:\n");
  for (i = 0; i < 3; i++) {
    printf("%d -> %s\n", i, table_names[i]);
  }
  printf("\nQuantidade de jogos: ");
  scanf("%d", &gamesQtt);
  char teamName1[10], teamName2[10];
  int teamScore1, teamScore2;
  int teamIndex1, teamIndex2;
  float pointsAux[3] = {0, 0, 0};
  printf("\nResultados das %d partidas (ex: \"Vascao 1 x 3 Barcelona\"):\n", gamesQtt);
  for (i = 0; i < gamesQtt; i++) {
    scanf(" %s %d x %d %s", teamName1, &teamScore1, &teamScore2, teamName2);
    teamIndex1 = -1;
    teamIndex2 = -1;
    for (j = 0; j < 3; j++) {
      if (strAreEquals(teamName1, table_names[j], table_names_sizes[j]))
        teamIndex1 = j;
      if (strAreEquals(teamName2, table_names[j], table_names_sizes[j]))
        teamIndex2 = j;
      if ((teamIndex1 != -1) && (teamIndex2 != -1))
        break;
    }
    printf("(Procurando times... ");
    if ((teamIndex1 == -1) && (teamIndex2 == -1))
      return 666;
    printf("Ok. Processando escrita... ");
    table_data[teamIndex1][0] += (float)teamScore1;
    table_data[teamIndex1][1] += (float)teamScore2;
    table_data[teamIndex1][2] += (teamScore1 > teamScore2) ? 1.0 : 0.0;
    table_data[teamIndex1][3] += points(teamScore1, teamScore2);
    table_data[teamIndex1][4] += (float)(teamScore1 - teamScore2);
    table_data[teamIndex1][5] = average(table_data[teamIndex1][0], table_data[teamIndex1][1]);
    table_data[teamIndex2][0] += (float)teamScore2;
    table_data[teamIndex2][1] += (float)teamScore1;
    table_data[teamIndex2][2] += (teamScore2 > teamScore1) ? 1.0 : 0.0;
    table_data[teamIndex2][3] += points(teamScore2, teamScore1);
    table_data[teamIndex2][4] += (float)(teamScore2 - teamScore1);
    table_data[teamIndex2][5] = average(table_data[teamIndex2][0], table_data[teamIndex2][1]);
    pointsAux[teamIndex1] = table_data[teamIndex1][3];
    pointsAux[teamIndex2] = table_data[teamIndex2][3];
    printf("Ok. Pronto.)\n");
  }
  int classification[3] = {0, 1, 2};
  float aux;
  int leftIndex, rightIndex, swapped;
  printf("\n(Classificando... ");
  do {
    swapped = 0;
    for (i = 1; i < 3; i++) {
      leftIndex = i - 1;
      rightIndex = i;
      if (pointsAux[leftIndex] < pointsAux[rightIndex]) {
        aux = pointsAux[leftIndex];
        pointsAux[leftIndex] = pointsAux[rightIndex];
        pointsAux[rightIndex] = aux;
        swapped = 1;
      }
    }
  } while (swapped);
  printf("Ok. Imprimindo...)\n");
  for (i = 0; i < 3; i++) {
    printf("%d: %s\n", i, table_names[i]);
  }
  for (i = 0; i < 3; i++) {
    printf("%do lugar tem %f pontos.\n", i, pointsAux[i]);
  }
  printf("(Pronto.)\n");
  return 0;
}
```