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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    D2(%rip),%rbx
  sub    $0xcd8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xcc8(%rsp)
  xor    %eax,%eax
  lea    0x28(%rsp),%rax
  movl   $0x1,0x14(%rsp)
  lea    0x34(%rsp),%r14
  mov    %rax,0x18(%rsp)
L150:
  mov    0x18(%rsp),%rsi
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  je     L174
  jle    L175
  lea    -0x1(%rax),%edx
  lea    0x40(%rsp),%rcx
  lea    (%rdx,%rdx,4),%rdx
  lea    0x0(,%rax,4),%rbp
  shl    $0x4,%rdx
  lea    0x90(%rsp,%rdx,1),%r12
  nopl   0x0(%rax,%rax,1)
L91:
  mov    %rcx,%rdi
  mov    %rbp,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    %rax,%rcx
  add    $0x50,%rcx
  cmp    %r12,%rcx
  jne    L91
  lea    0x2c(%rsp),%rax
  xor    %r13d,%r13d
  mov    %rax,0x8(%rsp)
  cs nopw 0x0(%rax,%rax,1)
L65:
  mov    0x8(%rsp),%rsi
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jle    L43
  movslq %r13d,%rax
  xor    %r15d,%r15d
  lea    0x30(%rsp),%r12
  lea    (%rax,%rax,4),%rbp
  shl    $0x2,%rbp
  xchg   %ax,%ax
L55:
  mov    %r14,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x30(%rsp),%eax
  mov    0x34(%rsp),%edx
  add    $0x1,%r15d
  sub    $0x1,%eax
  cltq
  add    %rbp,%rax
  mov    %edx,0x40(%rsp,%rax,4)
  cmp    %r15d,0x2c(%rsp)
  jg     L55
L43:
  add    $0x1,%r13d
  cmp    %r13d,0x28(%rsp)
  jg     L65
L175:
  lea    0x3c(%rsp),%rdx
  lea    0x38(%rsp),%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x28(%rsp),%r8d
  subl   $0x1,0x38(%rsp)
  lea    0x680(%rsp),%rbp
  subl   $0x1,0x3c(%rsp)
  test   %r8d,%r8d
  jle    L127
  mov    %r8d,%r9d
  mov    %r8d,%r11d
  lea    -0x1(%r8),%r10d
  mov    %rbp,%rsi
  shr    $0x2,%r9d
  and    $0xfffffffc,%r11d
  xor    %eax,%eax
  nopl   (%rax)
L93:
  cmp    $0x2,%r10d
  jbe    L23
  movd   %eax,%xmm1
  pshufd $0x0,%xmm1,%xmm0
  movaps %xmm0,(%rsi)
  cmp    $0x1,%r9d
  jbe    L126
  movaps %xmm0,0x10(%rsi)
  cmp    $0x2,%r9d
  je     L126
  movaps %xmm0,0x20(%rsi)
  cmp    $0x3,%r9d
  je     L126
  movaps %xmm0,0x30(%rsi)
  cmp    $0x4,%r9d
  je     L126
  movaps %xmm0,0x40(%rsi)
L126:
  mov    %r11d,%edx
  cmp    %r8d,%r11d
  je     L239
L141:
  movslq %eax,%rcx
  movslq %edx,%rdi
  lea    (%rcx,%rcx,4),%rcx
  shl    $0x2,%rcx
  add    %rcx,%rdi
  mov    %eax,0x680(%rsp,%rdi,4)
  lea    0x1(%rdx),%edi
  cmp    %r8d,%edi
  jge    L239
  movslq %edi,%rdi
  add    $0x2,%edx
  add    %rcx,%rdi
  mov    %eax,0x680(%rsp,%rdi,4)
  cmp    %edx,%r8d
  jle    L239
  movslq %edx,%rdx
  add    %rdx,%rcx
  mov    %eax,0x680(%rsp,%rcx,4)
L239:
  add    $0x1,%eax
  add    $0x50,%rsi
  cmp    %r8d,%eax
  jne    L93
  lea    0x0(,%r10,4),%r8
  lea    0x40(%rsp),%r13
  mov    %r14,0x8(%rsp)
  add    %r8,%r10
  lea    0x44(%rsp,%r8,1),%rsi
  mov    %r13,%r12
  mov    %r13,%rdi
  mov    %r10,%rax
  mov    %rsi,%r14
  mov    %rbp,%r10
  shl    $0x4,%rax
  lea    0x90(%rsp,%rax,1),%r11
  nopl   (%rax)
L114:
  mov    %r12,%rcx
  mov    %rbp,%r9
  mov    %r13,%rsi
  nopl   0x0(%rax)
L145:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L131:
  mov    (%rcx),%edx
  test   %edx,%edx
  jne    L100
L260:
  add    $0x50,%rsi
  add    $0x50,%r9
  add    $0x50,%rcx
  cmp    %r11,%rsi
  jne    L145
  add    $0x4,%r12
  add    $0x50,%rdi
  add    $0x50,%r10
  cmp    %r14,%r12
  jne    L114
  mov    0x8(%rsp),%r14
L127:
  mov    0x14(%rsp),%r15d
  lea    D21(%rip),%rdi
  mov    %r15d,%esi
  add    $0x1,%r15d
  call   <printf@plt>
  mov    0x3c(%rsp),%edx
  mov    0x38(%rsp),%esi
  mov    %rbp,%rdi
  call   <printRoute@plt>
  movslq 0x38(%rsp),%rax
  movslq 0x3c(%rsp),%rdx
  lea    D24(%rip),%rdi
  lea    (%rax,%rax,4),%rax
  lea    (%rdx,%rax,4),%rax
  mov    0x40(%rsp,%rax,4),%esi
  call   <printf@plt>
  mov    %r15d,0x14(%rsp)
  jmp    L150
  nopl   (%rax)
L100:
  mov    (%rdi,%rax,1),%r15d
  test   %r15d,%r15d
  je     L130
  add    %r15d,%edx
  mov    (%rsi,%rax,1),%r15d
  test   %r15d,%r15d
  je     L40
  cmp    %edx,%r15d
  jle    L130
L40:
  mov    %edx,(%rsi,%rax,1)
  mov    (%r10,%rax,1),%edx
  mov    %edx,(%r9,%rax,1)
L130:
  cmp    %r8,%rax
  je     L260
  add    $0x4,%rax
  jmp    L131
L23:
  xor    %edx,%edx
  jmp    L141
L174:
  mov    0xcc8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L233
  add    $0xcd8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L233:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D2
type_guessed: string
name: unpack_data
arguments: tag: D14
type_guessed: string
name: unpack_data
arguments: tag: D21
type_guessed: string
name: unpack_data
arguments: tag: D24
type_guessed: string

tool: D2: %d %d

tool: D14: %d

tool: D21: Case %d: Path =

tool: D24: ; %d second delay


assistant: ```c
int main(void) {
  int caseId, numV, adjMat[20][20], numE, nextV, w, startV, endV, parentMat[20][20], newW, i, j, k, v;
  caseId = 1;
  while (1) {
    scanf("%d", &numV);
    if (numV == 0)
      break;
    for (i = 0; i < numV; i++)
      for (j = 0; j < numV; j++)
        adjMat[i][j] = 0;
    for (v = 0; v < numV; v++) {
      scanf("%d", &numE);
      for (i = 0; i < numE; i++) {
        scanf("%d %d", &nextV, &w);
        adjMat[v][nextV - 1] = w;
      }
    }
    scanf("%d %d", &startV, &endV);
    startV--;
    endV--;
    for (i = 0; i < numV; i++)
      for (j = 0; j < numV; j++)
        parentMat[i][j] = i;
    for (k = 0; k < numV; k++)
      for (i = 0; i < numV; i++)
        for (j = 0; j < numV; j++)
          if (adjMat[i][k] && adjMat[k][j]) {
            newW = adjMat[i][k] + adjMat[k][j];
            if (newW < adjMat[i][j] || adjMat[i][j] == 0) {
              adjMat[i][j] = newW;
              parentMat[i][j] = parentMat[k][j];
            }
          }
    printf("Case %d: Path =", caseId);
    printRoute(parentMat, startV, endV);
    printf("; %d second delay\n", adjMat[startV][endV]);
    caseId++;
  }
  return 0;
}
```