user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  lea    D38(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x698,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x688(%rsp)
  xor    %eax,%eax
  lea    0x40(%rsp),%rax
  movl   $0x1,0x1c(%rsp)
  lea    0x30(%rsp),%r13
  mov    %rax,0x10(%rsp)
  lea    0x2c(%rsp),%rax
  mov    %rax,0x8(%rsp)
L73:
  mov    0x10(%rsp),%rdi
  mov    $0x640,%edx
  xor    %esi,%esi
  xor    %r14d,%r14d
  call   <memset@plt>
  nopl   0x0(%rax)
L18:
  mov    0x8(%rsp),%rsi
  xor    %eax,%eax
  mov    %r12,%rdi
  call   <scanf@plt>
  test   %rax,%rax
  jle    L40
  mov    0x2c(%rsp),%edx
  test   %edx,%edx
  jle    L30
  movslq %r14d,%rbp
  xor    %r15d,%r15d
  lea    0x0(%rbp,%rbp,4),%rbx
  shl    $0x2,%rbx
  nopw   0x0(%rax,%rax,1)
L26:
  mov    %r13,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%r15d
  call   <scanf@plt>
  mov    0x30(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x30(%rsp)
  cltq
  lea    (%rax,%rax,4),%rcx
  add    %rbx,%rax
  lea    0x0(%rbp,%rcx,4),%rcx
  movl   $0x1,0x40(%rsp,%rcx,4)
  movl   $0x1,0x40(%rsp,%rax,4)
  cmp    %r15d,0x2c(%rsp)
  jg     L26
L30:
  add    $0x1,%r14d
  cmp    $0x13,%r14d
  jne    L18
  mov    0x10(%rsp),%rdi
  mov    $0x14,%esi
  call   <computeAllPairShortestPath@plt>
  mov    0x1c(%rsp),%esi
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x34(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x34(%rsp),%eax
  test   %eax,%eax
  jle    L39
  xor    %ebx,%ebx
  lea    0x3c(%rsp),%r14
  lea    0x38(%rsp),%rbp
  lea    D27(%rip),%r15
  nopw   0x0(%rax,%rax,1)
L53:
  mov    %r14,%rdx
  mov    %rbp,%rsi
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x38(%rsp),%esi
  mov    %r15,%rdi
  add    $0x1,%ebx
  mov    0x3c(%rsp),%r8d
  lea    -0x1(%rsi),%eax
  lea    -0x1(%r8),%edx
  cltq
  movslq %edx,%rdx
  lea    (%rax,%rax,4),%rax
  lea    (%rdx,%rax,4),%rax
  mov    %r8d,%edx
  mov    0x40(%rsp,%rax,4),%ecx
  xor    %eax,%eax
  call   <printf@plt>
  cmp    %ebx,0x34(%rsp)
  jg     L53
L39:
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,0x1c(%rsp)
  jmp    L73
L40:
  mov    0x688(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x698,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D38
data_type: string
name: read_data
arguments: label: D13
data_type: string
name: read_data
arguments: label: D27
data_type: string
name: read_data
arguments: label: D14
data_type: string

tool: D38: %d

tool: D13: Test Set #%d


tool: D27: %2d to %2d: %d


tool: D14: %d %d

assistant: ```c
int main(void) {
  int caseId, adjMat[20][20], numNeighbor, neighbor, stopFlg, city, time, numQuery, cityOne, cityTwo, query;
  caseId = 1;
  stopFlg = 0;
  while (1) {
    memset(adjMat, 0, 20 * 20 * sizeof(int));
    for (city = 0; city < 20 - 1; city++)
      if (scanf("%d", &numNeighbor) > 0) {
        for (time = 0; time < numNeighbor; time++) {
          scanf("%d", &neighbor);
          neighbor--;
          adjMat[neighbor][city] = 1;
          adjMat[city][neighbor] = 1;
        }
      } else {
        stopFlg = 1;
        break;
      }
    if (stopFlg)
      break;
    computeAllPairShortestPath(adjMat, 20);
    printf("Test Set #%d\n", caseId);
    scanf("%d", &numQuery);
    for (query = 0; query < numQuery; query++) {
      scanf("%d %d", &cityOne, &cityTwo);
      printf("%2d to %2d: %d\n", cityOne, cityTwo, adjMat[cityOne - 1][cityTwo - 1]);
    }
    printf("\n");
    caseId++;
  }
  return 0;
}
```