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

```asm
<floyd>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %ecx,-0x2c(%rbp)
  movl   $0x1,-0x4(%rbp)
  jmp    L108
L75:
  movl   $0x1,-0xc(%rbp)
  jmp    L98
L101:
  movl   $0x1,-0x8(%rbp)
  jmp    L73
L115:
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%edx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x18(%rbp),%rax
  add    %rax,%rcx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rcx,%rax,4),%esi
  mov    -0x4(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x18(%rbp),%rax
  add    %rax,%rcx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rcx,%rax,4),%eax
  lea    (%rsi,%rax,1),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    -0x28(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  add    %ecx,%eax
  cmp    %eax,%edx
  jle    L32
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  cmp    $0x989680,%eax
  je     L32
  mov    -0x4(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  cmp    $0x989680,%eax
  je     L32
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  add    %esi,%ecx
  mov    -0x8(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rax,%rcx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%edx
  mov    -0x8(%rbp),%eax
  cltq
  mov    %edx,(%rcx,%rax,4)
  jmp    L111
L32:
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%edx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x18(%rbp),%rax
  add    %rax,%rcx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rcx,%rax,4),%esi
  mov    -0x4(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x18(%rbp),%rax
  add    %rax,%rcx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rcx,%rax,4),%eax
  lea    (%rsi,%rax,1),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    -0x28(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%eax
  add    %ecx,%eax
  cmp    %eax,%edx
  jne    L111
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%edx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rax,%rcx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rcx,%rax,4),%eax
  cmp    %eax,%edx
  jle    L111
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  add    %esi,%ecx
  mov    -0x8(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  imul   $0xfa8,%rax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rax,%rcx
  mov    -0x4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%edx
  mov    -0x8(%rbp),%eax
  cltq
  mov    %edx,(%rcx,%rax,4)
L111:
  addl   $0x1,-0x8(%rbp)
L73:
  mov    -0x8(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L115
  addl   $0x1,-0xc(%rbp)
L98:
  mov    -0xc(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L101
  addl   $0x1,-0x4(%rbp)
L108:
  mov    -0x4(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jle    L75
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void floyd(int (*dist)[1002], int (*path)[1002], int *ar, int n) {
  int i, j, k;
  for (k = 1; k <= n; k++) {
    for (i = 1; i <= n; i++) {
      for (j = 1; j <= n; j++) {
        if (dist[i][j] > dist[i][k] + dist[k][j] + ar[k] && dist[i][k] != 10000000 && dist[k][j] != 10000000) {
          dist[i][j] = dist[i][k] + dist[k][j] + ar[k];
          path[i][j] = path[i][k];
        } else if (dist[i][j] == dist[i][k] + dist[k][j] + ar[k]) {
          if (path[i][j] > path[i][k]) {
            dist[i][j] = dist[i][k] + dist[k][j] + ar[k];
            path[i][j] = path[i][k];
          }
        }
      }
    }
  }
}
```