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

```asm
<main>:
  endbr64
  push   %r13
  mov    $0x4e200,%edi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <malloc@plt>
  mov    $0x4e200,%edi
  mov    %rax,%rbp
  call   <malloc@plt>
  mov    $0x1,%esi
  mov    $0x1000000,%edi
  mov    %rax,%rbx
  call   <spm_malloc@plt>
  movdqa D26(%rip),%xmm2
  movapd D21(%rip),%xmm1
  xor    %edx,%edx
  mov    %rax,%r12
  mov    D13(%rip),%rax
  movdqa D33(%rip),%xmm3
  lea    0x640(%r12),%rcx
  mov    %rax,0x0
L30:
  pxor   %xmm6,%xmm6
  lea    -0x640(%rcx),%rax
  movdqa %xmm3,%xmm5
  cvtsi2sd %edx,%xmm6
  unpcklpd %xmm6,%xmm6
L89:
  movdqa %xmm5,%xmm0
  add    $0x20,%rax
  paddd  %xmm2,%xmm5
  cvtdq2pd %xmm0,%xmm4
  mulpd  %xmm6,%xmm4
  pshufd $0xee,%xmm0,%xmm0
  cvtdq2pd %xmm0,%xmm0
  mulpd  %xmm6,%xmm0
  divpd  %xmm1,%xmm4
  divpd  %xmm1,%xmm0
  movups %xmm4,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %rcx,%rax
  jne    L89
  add    $0x1,%edx
  lea    0x640(%rax),%rcx
  cmp    $0xc8,%edx
  jne    L30
  lea    0x640(%rbp),%rcx
  xor    %edx,%edx
L12:
  pxor   %xmm6,%xmm6
  lea    -0x640(%rcx),%rax
  movdqa %xmm3,%xmm5
  cvtsi2sd %edx,%xmm6
  unpcklpd %xmm6,%xmm6
L75:
  movdqa %xmm5,%xmm0
  add    $0x20,%rax
  paddd  %xmm2,%xmm5
  cvtdq2pd %xmm0,%xmm4
  mulpd  %xmm6,%xmm4
  pshufd $0xee,%xmm0,%xmm0
  cvtdq2pd %xmm0,%xmm0
  mulpd  %xmm6,%xmm0
  divpd  %xmm1,%xmm4
  divpd  %xmm1,%xmm0
  movups %xmm4,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %rcx,%rax
  jne    L75
  add    $0x1,%edx
  lea    0x640(%rax),%rcx
  cmp    $0xc8,%edx
  jne    L12
  lea    0x640(%rbx),%rcx
  xor    %edx,%edx
L88:
  pxor   %xmm6,%xmm6
  lea    -0x640(%rcx),%rax
  movdqa %xmm3,%xmm5
  cvtsi2sd %edx,%xmm6
  unpcklpd %xmm6,%xmm6
L11:
  movdqa %xmm5,%xmm0
  add    $0x20,%rax
  paddd  %xmm2,%xmm5
  cvtdq2pd %xmm0,%xmm4
  mulpd  %xmm6,%xmm4
  pshufd $0xee,%xmm0,%xmm0
  cvtdq2pd %xmm0,%xmm0
  mulpd  %xmm6,%xmm0
  divpd  %xmm1,%xmm4
  divpd  %xmm1,%xmm0
  movups %xmm4,-0x20(%rax)
  movups %xmm0,-0x10(%rax)
  cmp    %rcx,%rax
  jne    L11
  add    $0x1,%edx
  lea    0x640(%rax),%rcx
  cmp    $0xc8,%edx
  jne    L88
  xor    %esi,%esi
  xor    %edi,%edi
  lea    0x4e200(%rbx),%r13
  call   <m5_reset_stats@plt>
  mov    %r12,%r11
  xor    %r10d,%r10d
  sub    %rbx,%r11
L51:
  lea    0x0(,%r10,8),%rax
  mov    %r13,%rcx
  xor    %edi,%edi
  lea    (%rax,%rbp,1),%r9
  lea    -0x4e200(%rax,%r11,1),%r8
L38:
  lea    (%r8,%rcx,1),%rsi
  lea    -0x4e200(%rcx),%rax
  mov    %r9,%rdx
  movsd  (%rsi),%xmm1
  mulsd  0x0,%xmm1
  movsd  %xmm1,(%rsi)
  nopl   0x0(%rax,%rax,1)
L15:
  movsd  0x0,%xmm0
  mulsd  (%rdx),%xmm0
  add    $0x640,%rax
  add    $0x8,%rdx
  mulsd  -0x640(%rax),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsi)
  cmp    %rcx,%rax
  jne    L15
  add    $0x1,%edi
  lea    0x8(%rax),%rcx
  cmp    $0xc8,%edi
  jne    L38
  add    $0xc8,%r10
  cmp    $0x9c40,%r10
  jne    L51
  xor    %esi,%esi
  xor    %edi,%edi
  call   <m5_dump_stats@plt>
  movsd  0x58(%rbx),%xmm2
  movsd  0x58(%r12),%xmm0
  lea    D12(%rip),%rdi
  movsd  0x58(%rbp),%xmm1
  call   <printf@plt>
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
```

tool_calls: name: read_data
arguments: data_tag: D26
data_type: byte[16]
name: read_data
arguments: data_tag: D21
data_type: byte[16]
name: read_data
arguments: data_tag: D13
data_type: byte[8]
name: read_data
arguments: data_tag: D33
data_type: byte[16]
name: read_data
arguments: data_tag: D12
data_type: string

tool: {"D26": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D21": [0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x40]}

tool: {"D13": [0x00,0x00,0x00,0x00,0x00,0x96,0xa0,0x40]}

tool: {"D33": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: D12: %f, %f, %f


assistant: ```c
int main(int argc, char **argv) {
  int ni = 200;
  int nj = 200;
  int nk = 200;
  int i, j, k;
  double *alpha;
  double *beta;
  double *A = (double *)malloc(ni * nk * sizeof(double));
  double *B = (double *)malloc(nk * nj * sizeof(double));
  double *C = (double *)spm_malloc(1024 * 1024 * 16, 1);
  *alpha = 32412;
  *beta = 2123;
  for (i = 0; i < ni; i++)
    for (j = 0; j < nj; j++)
      C[i * ni + j] = ((double)i * j) / ni;
  for (i = 0; i < ni; i++)
    for (j = 0; j < nk; j++)
      A[i * ni + j] = ((double)i * j) / ni;
  for (i = 0; i < nk; i++)
    for (j = 0; j < nj; j++)
      B[i * nk + j] = ((double)i * j) / ni;
  m5_reset_stats(0, 0);
#pragma scop
  for (i = 0; i < 200; i++)
    for (j = 0; j < 200; j++) {
      C[i * 200 + j] *= *beta;
      for (k = 0; k < 200; ++k)
        C[i * 200 + j] += *alpha * A[i * 200 + k] * B[k * 200 + j];
    }
#pragma endscop
  m5_dump_stats(0, 0);
  printf("%f, %f, %f\n", C[11], A[11], B[11]);
  return 0;
}
```