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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x3a000(%rsp),%r11
L105:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L105
  sub    $0xce0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x3,-0x3accc(%rbp)
  jmp    L141
L80:
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  movl   $0x0,-0x3acd8(%rbp)
  jmp    L131
L53:
  movl   $0x0,-0x3acd4(%rbp)
  jmp    L59
L4:
  mov    $0x0,%eax
  call   <rand@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  D9(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  movsd  %xmm0,-0x3a990(%rbp,%rax,8)
  mov    $0x0,%eax
  call   <rand@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  D9(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  movsd  %xmm0,-0x27110(%rbp,%rax,8)
  addl   $0x1,-0x3acd4(%rbp)
L59:
  mov    -0x3acd4(%rbp),%eax
  cmp    -0x3accc(%rbp),%eax
  jl     L4
  addl   $0x1,-0x3acd8(%rbp)
L131:
  mov    -0x3acd8(%rbp),%eax
  cmp    -0x3accc(%rbp),%eax
  jl     L53
  mov    $0x0,%eax
  call   <omp_get_wtime@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x3acc0(%rbp)
  movl   $0x0,-0x3acd8(%rbp)
  jmp    L12
L28:
  movl   $0x0,-0x3acd4(%rbp)
  jmp    L42
L19:
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x13890(%rbp,%rax,8)
  movl   $0x0,-0x3acd0(%rbp)
  jmp    L66
L107:
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  movsd  -0x13890(%rbp,%rax,8),%xmm1
  mov    -0x3acd0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  movsd  -0x3a990(%rbp,%rax,8),%xmm2
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd0(%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
  movsd  -0x27110(%rbp,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x3acd4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x3acd8(%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
  movsd  %xmm0,-0x13890(%rbp,%rax,8)
  addl   $0x1,-0x3acd0(%rbp)
L66:
  mov    -0x3acd0(%rbp),%eax
  cmp    -0x3accc(%rbp),%eax
  jl     L107
  addl   $0x1,-0x3acd4(%rbp)
L42:
  mov    -0x3acd4(%rbp),%eax
  cmp    -0x3accc(%rbp),%eax
  jl     L19
  addl   $0x1,-0x3acd8(%rbp)
L12:
  mov    -0x3acd8(%rbp),%eax
  cmp    -0x3accc(%rbp),%eax
  jl     L28
  mov    $0x0,%eax
  call   <omp_get_wtime@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x3acb8(%rbp)
  movsd  -0x3acb8(%rbp),%xmm0
  subsd  -0x3acc0(%rbp),%xmm0
  mov    -0x3accc(%rbp),%eax
  cltq
  movsd  %xmm0,-0x3acb0(%rbp,%rax,8)
  addl   $0x1,-0x3accc(%rbp)
L141:
  cmpl   $0x63,-0x3accc(%rbp)
  jle    L80
  lea    D42(%rip),%rax
  mov    %rax,%rsi
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x3acc8(%rbp)
  movl   $0x3,-0x3accc(%rbp)
  jmp    L29
L62:
  mov    -0x3accc(%rbp),%eax
  cltq
  mov    -0x3acb0(%rbp,%rax,8),%rdx
  mov    -0x3acc8(%rbp),%rax
  movq   %rdx,%xmm0
  lea    D7(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
  addl   $0x1,-0x3accc(%rbp)
L29:
  cmpl   $0x63,-0x3accc(%rbp)
  jle    L62
  mov    -0x3acc8(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L151
  call   <__stack_chk_fail@plt>
L151:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D9
data_type: byte[8]
name: unpack_data
arguments: tag: D42
data_type: string
name: unpack_data
arguments: tag: D24
data_type: string
name: unpack_data
arguments: tag: D7
data_type: string

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40]}

tool: D42: w

tool: D24: /home/user/Labs/Semestr tasks/Matrix/C/result_double.txt

tool: D7: %lf


assistant: ```c
int main() {
  int i, j, k, N;
  double A[100][100], B[100][100], C[100][100];
  double start, end, time_result[100];
  FILE *file;
  for (N = 3; N < 100; N++) {
    srand(time(NULL));
    for (i = 0; i < N; i++)
      for (j = 0; j < N; j++) {
        A[i][j] = (double)rand() / 10;
        B[i][j] = (double)rand() / 10;
      }
    start = omp_get_wtime();
    for (i = 0; i < N; i++)
      for (j = 0; j < N; j++) {
        C[i][j] = 0;
        for (k = 0; k < N; k++)
          C[i][j] += A[i][k] * B[k][j];
      }
    end = omp_get_wtime();
    time_result[N] = end - start;
  }
  file = fopen("/home/user/Labs/Semestr tasks/Matrix/C/result_double.txt", "w");
  for (N = 3; N < 100; N++)
    fprintf(file, "%lf\n", time_result[N]);
  fclose(file);
}
```