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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x348(%rbp)
  movw   $0x7073,-0x1d(%rbp)
  movb   $0x72,-0x1b(%rbp)
  jmp    L128
L187:
  cmpl   $0x0,-0x348(%rbp)
  je     L7
  mov    $0xa,%edi
  call   <putchar@plt>
L7:
  movl   $0x0,-0x348(%rbp)
  jmp    L20
L99:
  mov    -0x348(%rbp),%eax
  cltq
  movl   $0x0,-0x340(%rbp,%rax,4)
  mov    -0x348(%rbp),%eax
  cltq
  movl   $0x0,-0x1b0(%rbp,%rax,4)
  addl   $0x1,-0x348(%rbp)
L20:
  cmpl   $0x63,-0x348(%rbp)
  jle    L99
  movl   $0x0,-0x348(%rbp)
  jmp    L134
L9:
  lea    -0x11(%rbp),%rsi
  lea    -0x34c(%rbp),%rcx
  lea    -0x1a(%rbp),%rdx
  lea    -0x350(%rbp),%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl -0x1a(%rbp),%edx
  movzbl -0x1d(%rbp),%eax
  cmp    %al,%dl
  jne    L118
  movzbl -0x11(%rbp),%edx
  movzbl -0x1d(%rbp),%eax
  cmp    %al,%dl
  je     L205
L118:
  movzbl -0x1a(%rbp),%edx
  movzbl -0x1c(%rbp),%eax
  cmp    %al,%dl
  jne    L48
  movzbl -0x11(%rbp),%edx
  movzbl -0x1c(%rbp),%eax
  cmp    %al,%dl
  je     L205
L48:
  movzbl -0x1a(%rbp),%edx
  movzbl -0x1b(%rbp),%eax
  cmp    %al,%dl
  jne    L18
  movzbl -0x11(%rbp),%edx
  movzbl -0x1b(%rbp),%eax
  cmp    %al,%dl
  je     L205
L18:
  movzbl -0x1a(%rbp),%edx
  movzbl -0x1d(%rbp),%eax
  cmp    %al,%dl
  jne    L89
  movzbl -0x11(%rbp),%edx
  movzbl -0x1c(%rbp),%eax
  cmp    %al,%dl
  jne    L22
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
  jmp    L205
L22:
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
  jmp    L205
L89:
  movzbl -0x1a(%rbp),%edx
  movzbl -0x1c(%rbp),%eax
  cmp    %al,%dl
  jne    L192
  movzbl -0x11(%rbp),%edx
  movzbl -0x1d(%rbp),%eax
  cmp    %al,%dl
  jne    L263
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
  jmp    L205
L263:
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
  jmp    L205
L192:
  movzbl -0x11(%rbp),%edx
  movzbl -0x1d(%rbp),%eax
  cmp    %al,%dl
  jne    L66
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
  jmp    L205
L66:
  mov    -0x34c(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x340(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x340(%rbp,%rax,4)
  mov    -0x350(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x1b0(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x1b0(%rbp,%rax,4)
L205:
  addl   $0x1,-0x348(%rbp)
L134:
  mov    -0x354(%rbp),%edx
  mov    -0x358(%rbp),%eax
  imul   %edx,%eax
  mov    -0x358(%rbp),%edx
  sub    $0x1,%edx
  imul   %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x348(%rbp)
  jl     L9
  movl   $0x0,-0x348(%rbp)
  jmp    L226
L51:
  mov    -0x348(%rbp),%eax
  cltq
  mov    -0x340(%rbp,%rax,4),%edx
  mov    -0x348(%rbp),%eax
  cltq
  mov    -0x1b0(%rbp,%rax,4),%eax
  add    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0x344(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0x344(%rbp),%xmm0
  jp     L82
  pxor   %xmm0,%xmm0
  ucomiss -0x344(%rbp),%xmm0
  jne    L82
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L180
L82:
  mov    -0x348(%rbp),%eax
  cltq
  mov    -0x340(%rbp,%rax,4),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  divss  -0x344(%rbp),%xmm0
  movss  %xmm0,-0x344(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x344(%rbp),%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L180:
  addl   $0x1,-0x348(%rbp)
L226:
  mov    -0x358(%rbp),%eax
  cmp    %eax,-0x348(%rbp)
  jl     L51
L128:
  lea    -0x354(%rbp),%rdx
  lea    -0x358(%rbp),%rax
  mov    %rax,%rsi
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmp    $0x2,%eax
  je     L187
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L216
  call   <__stack_chk_fail@plt>
L216:
  leave
  ret
```

tool_calls: name: read_data
arguments: tag: D26
data_type: string
name: read_data
arguments: tag: D9
data_type: string
name: read_data
arguments: tag: D13
data_type: string
name: read_data
arguments: tag: D19
data_type: string

tool: D26: %d %s %d %s

tool: D9: -

tool: D13: %.3f


tool: D19: %d %d

assistant: ```c
int main(void) {
  int n, k, v, u, i = 0, pw[100], pl[100];
  float w;
  char vt[9], ut[9];
  char type[3] = {'s', 'p', 'r'};
  while (scanf("%d %d", &n, &k) == 2) {
    if (i != 0)
      printf("\n");
    for (i = 0; i < 100; i++) {
      pw[i] = 0;
      pl[i] = 0;
    }
    for (i = 0; i < k * n * (n - 1) / 2; i++) {
      scanf("%d %s %d %s", &v, vt, &u, ut);
      if (vt[0] == type[0] && ut[0] == type[0])
        ;
      else if (vt[0] == type[1] && ut[0] == type[1])
        ;
      else if (vt[0] == type[2] && ut[0] == type[2])
        ;
      else if (vt[0] == type[0]) {
        if (ut[0] == type[1]) {
          pw[v - 1]++;
          pl[u - 1]++;
        } else {
          pw[u - 1]++;
          pl[v - 1]++;
        }
      } else if (vt[0] == type[1]) {
        if (ut[0] == type[0]) {
          pw[u - 1]++;
          pl[v - 1]++;
        } else {
          pw[v - 1]++;
          pl[u - 1]++;
        }
      } else {
        if (ut[0] == type[0]) {
          pw[v - 1]++;
          pl[u - 1]++;
        } else {
          pw[u - 1]++;
          pl[v - 1]++;
        }
      }
    }
    for (i = 0; i < n; i++) {
      w = pw[i] + pl[i];
      if (w == 0)
        printf("-\n");
      else {
        w = pw[i] / w;
        printf("%.3f\n", w);
      }
    }
  }
  return 0;
}
```