user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D79(%rip),%rdi
  push   %r14
  push   %r13
  lea    D24(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x3a8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x398(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    D60(%rip),%rdi
  call   <puts@plt>
  lea    D56(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D74(%rip),%rdi
  call   <puts@plt>
  lea    0x6c(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  lea    D29(%rip),%rdi
  call   <puts@plt>
  mov    0x6c(%rsp),%ecx
  test   %ecx,%ecx
  jle    L300
  xor    %r15d,%r15d
  xor    %r14d,%r14d
  lea    0x200(%rsp),%rbp
L303:
  lea    0x0(%rbp,%r15,4),%r12
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L270:
  mov    %r12,%rsi
  mov    %r13,%rdi
  add    $0x1,%ebx
  add    $0x4,%r12
  call   <scanf@plt>
  mov    0x6c(%rsp),%eax
  cmp    %ebx,%eax
  jg     L270
  add    $0x1,%r14d
  cmp    %r14d,%eax
  jle    L300
  add    $0xa,%r15
  jmp    L303
L300:
  lea    D98(%rip),%rdi
  call   <puts@plt>
  mov    0x6c(%rsp),%edx
  test   %edx,%edx
  jle    L20
  lea    0x200(%rsp),%r12
  xor    %r13d,%r13d
  lea    D82(%rip),%rbp
  nop
L23:
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L57:
  mov    (%r12,%rbx,4),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x6c(%rsp)
  jg     L57
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%r12
  call   <putchar@plt>
  cmp    %r13d,0x6c(%rsp)
  jg     L23
L20:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x6c(%rsp),%ebx
  test   %ebx,%ebx
  jle    L6
  lea    -0x1(%rbx),%eax
  lea    0x70(%rsp),%r15
  xor    %r14d,%r14d
  mov    %eax,0xc(%rsp)
  mov    %ebx,%eax
  lea    0x200(%rsp),%rbp
  lea    0x0(,%rax,4),%r13
  mov    %rax,0x58(%rsp)
  mov    %r15,0x50(%rsp)
  lea    0x0(%r13,%rax,1),%r12
  shl    $0x3,%r12
  nopl   0x0(%rax,%rax,1)
L143:
  lea    (%r15,%r14,1),%rdi
  lea    0x0(%rbp,%r14,1),%rsi
  mov    %r13,%rdx
  add    $0x28,%r14
  call   <memcpy@plt>
  cmp    %r12,%r14
  jne    L143
  mov    0x50(%rsp),%rdx
  mov    %ebx,%ecx
  xor    %r11d,%r11d
  movq   $0x0,0x38(%rsp)
  and    $0xfffffffc,%ecx
  mov    %rdx,%rax
  lea    0x1(%rcx),%esi
  lea    0x2(%rcx),%edi
  mov    %ecx,0x14(%rsp)
  neg    %rax
  mov    %esi,0x30(%rsp)
  mov    %rdx,%r9
  mov    %rax,0x48(%rsp)
  movslq %ebx,%rax
  lea    0x0(,%rax,4),%r14
  mov    %ebx,%eax
  mov    %edi,0x34(%rsp)
  shr    $0x2,%eax
  mov    %eax,0x10(%rsp)
  mov    $0x4,%eax
  sub    %rdx,%rax
  mov    %rax,%r15
  movslq %ecx,%rax
  mov    %rax,0x18(%rsp)
  movslq %esi,%rax
  mov    %rax,0x20(%rsp)
  movslq %edi,%rax
  mov    %rax,0x40(%rsp)
  nop
L118:
  mov    0x48(%rsp),%rsi
  mov    0x18(%rsp),%r12
  xor    %ecx,%ecx
  xor    %r8d,%r8d
  mov    0x50(%rsp),%rax
  lea    -0x4(%rsi),%rbp
  movslq 0x38(%rsp),%rsi
  lea    (%rax,%r11,1),%rdx
  lea    (%rsi,%rsi,4),%rsi
  lea    (%rsi,%rsi,1),%rdi
  mov    %rdi,0x28(%rsp)
  add    %rdi,%r12
  add    0x20(%rsp),%rdi
  mov    %rdi,%r13
  nopl   0x0(%rax)
L238:
  lea    (%rcx,%r14,1),%rdi
  lea    (%rcx,%r11,1),%rsi
  cmp    %rsi,%rdi
  lea    (%r15,%rdx,1),%rsi
  setle  %dil
  cmp    %rcx,%rsi
  setle  %sil
  or     %dil,%sil
  je     L296
  lea    0x0(%rbp,%rax,1),%rsi
  cmp    $0x8,%rsi
  seta   %dil
  cmpl   $0x2,0xc(%rsp)
  seta   %sil
  test   %sil,%dil
  je     L296
  movd   (%rdx),%xmm4
  movdqu (%r9),%xmm2
  movdqu (%rax),%xmm5
  cmpl   $0x1,0x10(%rsp)
  pshufd $0x0,%xmm4,%xmm3
  paddd  %xmm3,%xmm2
  movdqa %xmm5,%xmm1
  movdqa %xmm2,%xmm0
  pcmpgtd %xmm5,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,(%rax)
  jbe    L241
  movdqu 0x10(%r9),%xmm2
  movdqu 0x10(%rax),%xmm6
  paddd  %xmm3,%xmm2
  movdqa %xmm6,%xmm1
  movdqa %xmm2,%xmm0
  pcmpgtd %xmm6,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,0x10(%rax)
L241:
  cmp    %ebx,0x14(%rsp)
  je     L55
  movslq %r8d,%rsi
  mov    0x18(%rsp),%rdi
  lea    (%rsi,%rsi,4),%rsi
  add    %rsi,%rsi
  lea    (%rsi,%rdi,1),%r10
  mov    0x70(%rsp,%r12,4),%edi
  add    (%rdx),%edi
  cmp    0x70(%rsp,%r10,4),%edi
  cmovg  0x70(%rsp,%r10,4),%edi
  mov    %edi,0x70(%rsp,%r10,4)
  cmp    0x30(%rsp),%ebx
  jle    L55
  mov    0x20(%rsp),%rdi
  lea    (%rsi,%rdi,1),%r10
  mov    0x70(%rsp,%r13,4),%edi
  add    (%rdx),%edi
  cmp    0x70(%rsp,%r10,4),%edi
  cmovg  0x70(%rsp,%r10,4),%edi
  mov    %edi,0x70(%rsp,%r10,4)
  cmp    0x34(%rsp),%ebx
  jle    L55
  mov    0x40(%rsp),%r10
  mov    0x28(%rsp),%rdi
  add    %r10,%rsi
  add    %r10,%rdi
  mov    0x70(%rsp,%rsi,4),%r10d
  mov    0x70(%rsp,%rdi,4),%edi
  add    (%rdx),%edi
  cmp    %r10d,%edi
  cmovg  %r10d,%edi
  mov    %edi,0x70(%rsp,%rsi,4)
L55:
  add    $0x1,%r8d
  add    $0x28,%rcx
  add    $0x28,%rdx
  add    $0x28,%rax
  cmp    %r8d,%ebx
  jne    L238
  addq   $0x1,0x38(%rsp)
  add    $0x28,%r9
  mov    0x38(%rsp),%rax
  add    $0x4,%r11
  subq   $0x28,0x48(%rsp)
  cmp    0x58(%rsp),%rax
  jne    L118
L6:
  lea    D34(%rip),%rdi
  call   <puts@plt>
  mov    0x6c(%rsp),%eax
  test   %eax,%eax
  jle    L31
  lea    0x70(%rsp),%r12
  xor    %r13d,%r13d
  lea    D82(%rip),%rbp
  nopw   0x0(%rax,%rax,1)
L10:
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L183:
  mov    (%r12,%rbx,4),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x6c(%rsp)
  jg     L183
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%r12
  call   <putchar@plt>
  cmp    %r13d,0x6c(%rsp)
  jg     L10
L31:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x398(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L212
  add    $0x3a8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L296:
  mov    (%rax),%edi
  mov    (%rdx),%esi
  add    (%r9),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,(%rax)
  cmp    $0x1,%ebx
  je     L55
  mov    0x4(%rax),%edi
  mov    0x4(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x4(%rax)
  cmp    $0x2,%ebx
  je     L55
  mov    0x8(%rax),%edi
  mov    0x8(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x8(%rax)
  cmp    $0x3,%ebx
  je     L55
  mov    0xc(%rax),%edi
  mov    0xc(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0xc(%rax)
  cmp    $0x4,%ebx
  je     L55
  mov    0x10(%rax),%edi
  mov    0x10(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x10(%rax)
  cmp    $0x5,%ebx
  je     L55
  mov    0x14(%rax),%edi
  mov    0x14(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x14(%rax)
  cmp    $0x6,%ebx
  je     L55
  mov    0x18(%rax),%edi
  mov    0x18(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x18(%rax)
  cmp    $0x7,%ebx
  je     L55
  mov    0x1c(%rax),%edi
  mov    0x1c(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x1c(%rax)
  cmp    $0x8,%ebx
  je     L55
  mov    0x20(%rax),%edi
  mov    0x20(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x20(%rax)
  cmp    $0x9,%ebx
  je     L55
  mov    0x24(%rax),%edi
  mov    0x24(%r9),%esi
  add    (%rdx),%esi
  cmp    %edi,%esi
  cmovg  %edi,%esi
  mov    %esi,0x24(%rax)
  jmp    L55
L212:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D79
data_type: string
name: extract_symbolic_data
arguments: label: D24
data_type: string
name: extract_symbolic_data
arguments: label: D60
data_type: string
name: extract_symbolic_data
arguments: label: D56
data_type: string
name: extract_symbolic_data
arguments: label: D74
data_type: string
name: extract_symbolic_data
arguments: label: D29
data_type: string
name: extract_symbolic_data
arguments: label: D98
data_type: string
name: extract_symbolic_data
arguments: label: D82
data_type: string
name: extract_symbolic_data
arguments: label: D34
data_type: string

tool: D79: 
*********************************************************

tool: D24: %d

tool: D60: 
*	PROGRAM TO IMPLEMENT FLOYD'S ALGORITHM	*

tool: D56: *********************************************************

tool: D74: 
Enter the iNber of vertices

tool: D29: 
Enter the Cost adjacency Matrix

tool: D98: 
Input Graph

tool: D82: %d	

tool: D34: 
All Pair Shortest Path Matrix

assistant: ```c
int main(void) {
  int iN, i, j, k;
  int iaFloyd[10][10], iaCost[10][10];
  printf("\n*********************************************************");
  printf("\n*\tPROGRAM TO IMPLEMENT FLOYD'S ALGORITHM\t*\n");
  printf("*********************************************************");
  printf("\nEnter the iNber of vertices\n");
  scanf("%d", &iN);
  printf("\nEnter the Cost adjacency Matrix\n");
  for (i = 0; i < iN; i++)
    for (j = 0; j < iN; j++)
      scanf("%d", &iaCost[i][j]);
  printf("\nInput Graph\n");
  for (i = 0; i < iN; i++) {
    for (j = 0; j < iN; j++) {
      printf("%d\t", iaCost[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  for (i = 0; i < iN; i++) {
    for (j = 0; j < iN; j++) {
      iaFloyd[i][j] = iaCost[i][j];
    }
  }
  for (k = 0; k < iN; k++) {
    for (i = 0; i < iN; i++) {
      for (j = 0; j < iN; j++) {
        iaFloyd[i][j] = (iaFloyd[i][j] < (iaFloyd[i][k] + iaFloyd[k][j])) ? (iaFloyd[i][j]) : (iaFloyd[i][k] + iaFloyd[k][j]);
      }
    }
  }
  printf("\nAll Pair Shortest Path Matrix\n");
  for (i = 0; i < iN; i++) {
    for (j = 0; j < iN; j++) {
      printf("%d\t", iaFloyd[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  return 0;
}
```