user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x13000(%rsp),%r11
L99:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L99
  sub    $0x8d8,%rsp
  lea    D56(%rip),%rdi
  lea    D83(%rip),%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x138c8(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x34(%rsp),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D0(%rip),%rdi
  call   <puts@plt>
  mov    0x34(%rsp),%esi
  test   %esi,%esi
  jle    L127
  lea    0x40(%rsp),%r15
  lea    0x9c80(%rsp),%rax
  movq   $0x0,0x10(%rsp)
  mov    %r15,0x20(%rsp)
  movl   $0xa,0x18(%rsp)
  movl   $0x0,0x8(%rsp)
  mov    %rax,(%rsp)
L9:
  mov    0x10(%rsp),%rax
  mov    0x18(%rsp),%edi
  xor    %r14d,%r14d
  mov    0x20(%rsp),%rbx
  mov    %rax,%r13
  lea    0x1(%rdi),%ebp
  sub    %rax,%rbx
  nopl   0x0(%rax)
L244:
  lea    (%rbx,%r13,1),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    (%r15,%r13,1),%ecx
  test   %ecx,%ecx
  jne    L154
  mov    (%rsp),%rdi
  lea    0x0(%rbp,%r14,1),%eax
  add    $0x1,%r14d
  movl   $0x270f,(%r15,%r13,1)
  mov    %eax,(%rdi,%r13,1)
  mov    0x34(%rsp),%eax
  add    $0x4,%r13
  cmp    %eax,%r14d
  jl     L244
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%ebx
  cmp    %eax,%ebx
  jge    L205
L136:
  addl   $0xa,0x18(%rsp)
  addq   $0x190,0x10(%rsp)
  addq   $0x190,0x20(%rsp)
  jmp    L9
  nopw   0x0(%rax,%rax,1)
L154:
  mov    (%rsp),%rdi
  lea    0x0(%rbp,%r14,1),%eax
  add    $0x1,%r14d
  mov    %eax,(%rdi,%r13,1)
  mov    0x34(%rsp),%eax
  add    $0x4,%r13
  cmp    %r14d,%eax
  jg     L244
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%ebx
  cmp    %eax,%ebx
  jl     L136
L205:
  test   %eax,%eax
  jle    L127
  lea    -0x1(%rax),%edx
  mov    %rax,0x20(%rsp)
  xor    %ebx,%ebx
  xor    %r14d,%r14d
  lea    0x0(,%rdx,4),%rax
  mov    %r15,0x10(%rsp)
  movq   D84(%rip),%xmm2
  mov    $0xcccccccd,%r9d
  lea    0x4(%r15,%rax,1),%rdi
  add    %rdx,%rax
  mov    %r15,0x28(%rsp)
  lea    (%rax,%rax,4),%rax
  mov    %rdi,0x18(%rsp)
  shl    $0x4,%rax
  lea    0x9e10(%rsp,%rax,1),%rax
  mov    %rax,0x8(%rsp)
L245:
  mov    0x10(%rsp),%rax
  mov    0x28(%rsp),%r15
  xor    %r10d,%r10d
  mov    (%rsp),%r13
  mov    0x18(%rsp),%rbp
  mov    %rax,%r11
  sub    %rax,%r15
  nopw   0x0(%rax,%rax,1)
L36:
  lea    (%r15,%r11,1),%rsi
  mov    %r13,%rdi
  jmp    L92
  nopl   0x0(%rax)
L73:
  add    $0x4,%rsi
  add    $0x4,%rdi
  cmp    %rbp,%rsi
  je     L121
L92:
  lea    (%rsi,%r10,1),%rdx
  mov    (%r11),%eax
  add    (%rdx,%rbx,1),%eax
  cmp    %eax,(%rsi)
  jle    L73
  mov    %eax,(%rsi)
  lea    (%rdi,%r10,1),%rax
  mov    (%rax,%rbx,1),%r12d
  test   %r12d,%r12d
  jle    L35
  mov    %r12d,%eax
  xor    %edx,%edx
  nop
L88:
  mov    %eax,%eax
  mov    %edx,%r8d
  add    $0x1,%edx
  mov    %rax,%rcx
  imul   %r9,%rax
  shr    $0x23,%rax
  cmp    $0x9,%ecx
  jg     L88
  test   %r8d,%r8d
  je     L5
  mov    %edx,%ecx
  xor    %eax,%eax
  movdqa %xmm2,%xmm0
  shr    %ecx
  nopl   0x0(%rax,%rax,1)
L262:
  movdqa %xmm0,%xmm1
  add    $0x1,%eax
  pslld  $0x2,%xmm1
  paddd  %xmm1,%xmm0
  pslld  $0x1,%xmm0
  cmp    %ecx,%eax
  jne    L262
  movd   %xmm0,%ecx
  pshufd $0xe5,%xmm0,%xmm3
  movd   %xmm3,%eax
  imul   %ecx,%eax
  and    $0x1,%edx
  je     L240
L138:
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
L240:
  movslq 0x0(%r13,%r14,4),%rdx
  add    $0x4,%rsi
  add    $0x4,%rdi
  mov    %rdx,%rcx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%ecx
  sar    $0x22,%rdx
  sub    %ecx,%edx
  imul   %edx,%eax
  add    %r12d,%eax
  mov    %eax,-0x4(%rdi)
  cmp    %rbp,%rsi
  jne    L92
L121:
  lea    0x190(%rsi),%rbp
  add    $0x190,%r13
  add    $0x190,%r11
  sub    $0x190,%r10
  cmp    0x8(%rsp),%r13
  jne    L36
  addq   $0x4,0x10(%rsp)
  add    $0x1,%r14
  add    $0x190,%rbx
  cmp    0x20(%rsp),%r14
  jne    L245
L127:
  lea    D65(%rip),%rdi
  xor    %eax,%eax
  lea    0x40(%rsp),%rbp
  xor    %r13d,%r13d
  call   <printf@plt>
  mov    0x34(%rsp),%edx
  lea    D31(%rip),%r12
  test   %edx,%edx
  jle    L230
L89:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x34(%rsp),%eax
  test   %eax,%eax
  jle    L230
  xor    %ebx,%ebx
  nopl   0x0(%rax)
L2:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  mov    0x34(%rsp),%eax
  cmp    %ebx,%eax
  jg     L2
  add    $0x1,%r13d
  add    $0x190,%rbp
  cmp    %r13d,%eax
  jg     L89
L230:
  lea    D89(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x3c(%rsp),%rdx
  lea    0x38(%rsp),%rsi
  xor    %eax,%eax
  lea    D79(%rip),%rdi
  call   <scanf@plt>
  mov    0x38(%rsp),%eax
  mov    0x3c(%rsp),%edi
  sub    $0x1,%eax
  lea    -0x1(%rdi),%edx
  lea    D68(%rip),%rdi
  mov    %eax,0x38(%rsp)
  cltq
  lea    (%rax,%rax,4),%rax
  mov    %edx,0x3c(%rsp)
  movslq %edx,%rdx
  lea    (%rax,%rax,4),%rax
  lea    (%rdx,%rax,4),%rax
  mov    0x40(%rsp,%rax,4),%edx
  mov    0x9c80(%rsp,%rax,4),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x138c8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L75
  add    $0x138d8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L35:
  mov    $0x1,%eax
  jmp    L240
L5:
  mov    $0x1,%eax
  jmp    L138
L75:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D56
data_type: string
name: unpack_data
arguments: data_label: D83
data_type: string
name: unpack_data
arguments: data_label: D0
data_type: string
name: unpack_data
arguments: data_label: D84
data_type: byte[8]
name: unpack_data
arguments: data_label: D65
data_type: string
name: unpack_data
arguments: data_label: D31
data_type: string
name: unpack_data
arguments: data_label: D89
data_type: string
name: unpack_data
arguments: data_label: D79
data_type: string
name: unpack_data
arguments: data_label: D68
data_type: string

tool: D56: 
Enter the no of vertices 

tool: D83: %d

tool: D0: 
Enter the adjacency matrix 

tool: {"D84": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: D65: 
The shortest path adjacency matrix is 

tool: D31: %d 

tool: D89: 
Enter the vertices whose shortest path is required 

tool: D79: %d%d

tool: D68: 
The shortest path is %d of length %d 

assistant: ```c
int main() {
  int A[100][100], i, j, n, B[100][100], k, x, lbnd, ubnd;
  printf("\nEnter the no of vertices ");
  scanf("%d", &n);
  printf("\nEnter the adjacency matrix \n");
  for (i = 0; i < n; i++)
    for (j = 0; j < n; j++) {
      scanf("%d", &A[i][j]);
      if (A[i][j] == 0)
        A[i][j] = 9999;
      B[i][j] = (i + 1) * 10 + j + 1;
    }
  for (k = 0; k < n; k++)
    for (i = 0; i < n; i++)
      for (j = 0; j < n; j++) {
        if (A[i][j] > A[i][k] + A[k][j]) {
          int dig = 0, ans = 1;
          A[i][j] = A[i][k] + A[k][j];
          x = B[k][j];
          while (x > 0) {
            dig++;
            x = x / 10;
          }
          while (dig--)
            ans = ans * 10;
          x = B[i][k] / 10;
          B[i][j] = (x)*ans + B[k][j];
        }
      }
  printf("\nThe shortest path adjacency matrix is ");
  for (i = 0; i < n; i++) {
    printf("\n");
    for (j = 0; j < n; j++) {
      printf("%d ", A[i][j]);
    }
  }
  printf("\nEnter the vertices whose shortest path is required ");
  scanf("%d%d", &lbnd, &ubnd);
  lbnd--;
  ubnd--;
  printf("\nThe shortest path is %d of length %d ", B[lbnd][ubnd], A[lbnd][ubnd]);
}
```