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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x9000(%rsp),%r11
L91:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L91
  sub    $0xc70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x9c58(%rbp)
  jmp    L18
L77:
  movl   $0x0,-0x9c54(%rbp)
  jmp    L81
L147:
  mov    -0x9c58(%rbp),%eax
  cmp    -0x9c54(%rbp),%eax
  jne    L78
  mov    -0x9c54(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x9c58(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movl   $0x0,-0x9c50(%rbp,%rax,4)
  jmp    L106
L78:
  mov    -0x9c54(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x9c58(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movl   $0x3e8,-0x9c50(%rbp,%rax,4)
L106:
  addl   $0x1,-0x9c54(%rbp)
L81:
  cmpl   $0x63,-0x9c54(%rbp)
  jle    L147
  addl   $0x1,-0x9c58(%rbp)
L18:
  cmpl   $0x63,-0x9c58(%rbp)
  jle    L77
  lea    -0x9c68(%rbp),%rdx
  lea    -0x9c6c(%rbp),%rax
  mov    %rax,%rsi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x0,-0x9c58(%rbp)
  jmp    L141
L49:
  lea    -0x9c5c(%rbp),%rcx
  lea    -0x9c60(%rbp),%rdx
  lea    -0x9c64(%rbp),%rax
  mov    %rax,%rsi
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x9c64(%rbp),%eax
  mov    -0x9c60(%rbp),%ecx
  mov    -0x9c5c(%rbp),%edx
  movslq %ecx,%rsi
  movslq %eax,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    %edx,-0x9c50(%rbp,%rax,4)
  addl   $0x1,-0x9c58(%rbp)
L141:
  mov    -0x9c68(%rbp),%eax
  cmp    %eax,-0x9c58(%rbp)
  jl     L49
  movl   $0x0,-0x9c58(%rbp)
  jmp    L140
L17:
  movl   $0x0,-0x9c54(%rbp)
  jmp    L130
L88:
  mov    -0x9c54(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x9c58(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x9c50(%rbp,%rax,4),%eax
  cmp    $0x3e8,%eax
  jne    L111
  lea    D18(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L41
L111:
  mov    -0x9c54(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x9c58(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x9c50(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L41:
  addl   $0x1,-0x9c54(%rbp)
L130:
  mov    -0x9c6c(%rbp),%eax
  cmp    %eax,-0x9c54(%rbp)
  jl     L88
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x9c58(%rbp)
L140:
  mov    -0x9c6c(%rbp),%eax
  cmp    %eax,-0x9c58(%rbp)
  jl     L17
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L29
  call   <__stack_chk_fail@plt>
L29:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D27
data_type: string
name: parse_data
arguments: data_label: D29
data_type: string
name: parse_data
arguments: data_label: D18
data_type: string
name: parse_data
arguments: data_label: D37
data_type: string

tool: D27: %d%d

tool: D29: %d%d%d

tool: D18:  INF

tool: D37: %4d

assistant: ```c
int main() {
  int i, j;
  int map[100][100];
  for (i = 0; i < 100; i++) {
    for (j = 0; j < 100; j++) {
      if (i == j)
        map[i][j] = 0;
      else
        map[i][j] = 1000;
    }
  }
  int v, e;
  scanf("%d%d", &v, &e);
  for (i = 0; i < e; i++) {
    int s, t, w;
    scanf("%d%d%d", &s, &t, &w);
    map[s][t] = w;
  }
  for (i = 0; i < v; i++) {
    for (j = 0; j < v; j++) {
      if (map[i][j] == 1000) {
        printf(" INF");
      } else
        printf("%4d", map[i][j]);
    }
    printf("\n");
  }
  return 0;
}
```