user: Translate the below assembly code into C programming language:

```asm
<aan_ecuacion_calor_metodo_explicito_canal>:
  endbr64
  push   %r15
  push   %r14
  mov    %ecx,%r14d
  push   %r13
  push   %r12
  mov    %rdi,%r12
  mov    $0x18,%edi
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0xe8,%rsp
  mov    %rsi,0xb0(%rsp)
  mov    %edx,0x2c(%rsp)
  mov    %ecx,0xac(%rsp)
  movss  %xmm0,0x10(%rsp)
  call   <malloc@plt>
  mov    $0x24,%edi
  mov    %rax,%r15
  call   <malloc@plt>
  mov    %rax,%r13
  mov    %rax,(%r15)
  add    $0xc,%rax
  mov    %rax,0x8(%r15)
  lea    0x18(%r13),%rax
  mov    %rax,0x10(%r15)
  test   %r14d,%r14d
  jle    L85
  mov    %r14d,%eax
  mov    %r14d,%ecx
  movl   $0x0,0x50(%rsp)
  movsd  D9(%rip),%xmm4
  imul   %ebx,%eax
  movl   $0x0,0x34(%rsp)
  movss  0x10(%rsp),%xmm5
  xor    %r14d,%r14d
  cltq
  shl    $0x2,%rax
  lea    -0x4(%r12,%rax,1),%rsi
  lea    -0x8(%r12,%rax,1),%rax
  mov    %rax,0xd8(%rsp)
  movslq %ebx,%rax
  lea    0x0(,%rax,4),%rbp
  mov    %rsi,0xd0(%rsp)
  lea    (%rbx,%rbx,1),%esi
  lea    -0x4(%r12,%rbp,1),%rax
  mov    %esi,0xc(%rsp)
  mov    %rax,0xb8(%rsp)
  lea    -0x8(%r12,%rbp,1),%rax
  mov    %rax,0xc0(%rsp)
  movslq %esi,%rax
  neg    %esi
  lea    -0x4(%r12,%rax,4),%rax
  mov    %esi,0x30(%rsp)
  mov    %rax,0xc8(%rsp)
  lea    (%r12,%rbp,1),%rax
  mov    %rax,0x40(%rsp)
  lea    0x1(%rbx),%eax
  cltq
  lea    (%r12,%rax,4),%rax
  mov    %rax,0x48(%rsp)
  mov    %ebx,%eax
  neg    %ebx
  lea    -0x1(%rax),%eax
  mov    %ebx,0x54(%rsp)
  mov    %eax,0x8(%rsp)
  lea    -0x1(%rcx),%eax
  mov    %eax,0x28(%rsp)
  nopl   (%rax)
L193:
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jle    L268
  mov    0x34(%rsp),%ebx
  mov    0xc(%rsp),%eax
  pxor   %xmm2,%xmm2
  xor    %edi,%edi
  mov    0x2c(%rsp),%r8d
  cvtss2sd %xmm5,%xmm2
  divsd  D17(%rip),%xmm2
  add    %ebx,%eax
  lea    -0x1(%rbx),%r10d
  cltq
  lea    (%r12,%rax,4),%rax
  mov    %rax,0x68(%rsp)
  movslq %ebx,%rax
  shl    $0x2,%rax
  lea    -0x4(%r12,%rax,1),%rsi
  lea    (%r12,%rax,1),%rbx
  add    0xb0(%rsp),%rax
  mov    %rsi,0xa0(%rsp)
  mov    0x30(%rsp),%esi
  mov    %rbx,0x38(%rsp)
  mov    %esi,%ecx
  mov    %rax,0x10(%rsp)
  lea    0x18(%r15),%rax
  add    %r8d,%ecx
  mov    %rax,0x18(%rsp)
  movslq %ecx,%rdx
  mov    %ecx,0xa8(%rsp)
  shl    $0x2,%rdx
  lea    (%r12,%rdx,1),%rcx
  mov    %rcx,0x70(%rsp)
  movslq %esi,%rcx
  lea    (%r12,%rcx,4),%rsi
  lea    0x4(%r12,%rdx,1),%rcx
  movslq 0x54(%rsp),%rdx
  mov    %rcx,0x80(%rsp)
  movslq 0x50(%rsp),%rcx
  mov    %rsi,0x78(%rsp)
  mov    %rdx,%r11
  lea    -0x4(%r12,%rdx,4),%r9
  mov    %rcx,%rsi
  mov    %rcx,%rbx
  lea    (%r12,%rcx,4),%rcx
  sub    %rdx,%rsi
  mov    %rcx,0x90(%rsp)
  shl    $0x2,%rsi
  mov    %rsi,0x60(%rsp)
  lea    (%r12,%rdx,4),%rsi
  lea    0x1(%rdx),%edx
  movslq %edx,%rdx
  mov    %rsi,0x58(%rsp)
  lea    (%r12,%rdx,4),%rsi
  lea    0x1(%rbx),%edx
  movslq %edx,%rdx
  mov    %rsi,0x88(%rsp)
  lea    (%r12,%rdx,4),%rcx
  mov    %rcx,0x98(%rsp)
  nopl   (%rax)
L22:
  mov    %r14d,%eax
  or     %edi,%eax
  je     L170
  mov    %edi,%eax
  cmp    %edi,0x8(%rsp)
  jne    L140
  test   %r14d,%r14d
  je     L145
L140:
  test   %rdi,%rdi
  je     L242
  cmp    %eax,0x8(%rsp)
  je     L48
  test   %r14d,%r14d
  je     L104
  cmp    %r14d,0x28(%rsp)
  je     L72
  mov    %rdi,0x20(%rsp)
  mov    0x18(%rsp),%rsi
  mov    %r9,%rax
  mov    %r13,%rcx
  lea    0x8(%r15),%rdx
L157:
  mov    (%rax),%rdi
  mov    %rdi,(%rcx)
  mov    0x8(%rax),%edi
  add    %rbp,%rax
  mov    %edi,0x8(%rcx)
  cmp    %rsi,%rdx
  je     L0
  mov    (%rdx),%rcx
  add    $0x8,%rdx
  jmp    L157
  nopl   0x0(%rax)
L170:
  mov    0x40(%rsp),%rax
  movss  (%r12),%xmm3
  add    $0x4,%r9
  add    $0x1,%r8d
  movss  0x4(%r12),%xmm1
  movss  (%rax),%xmm0
  mov    0x48(%rsp),%rax
  movss  %xmm3,0x0(%r13)
  movss  %xmm3,0x4(%r13)
  movss  %xmm0,0x18(%r13)
  movss  %xmm0,0x1c(%r13)
  movss  (%rax),%xmm0
  movss  %xmm1,0x8(%r13)
  movss  %xmm3,0xc(%r13)
  movss  %xmm3,0x10(%r13)
  movss  %xmm1,0x14(%r13)
  movss  %xmm0,0x20(%r13)
L36:
  mov    %r13,%rsi
  movaps %xmm3,%xmm0
  xor    %edx,%edx
L231:
  cmp    $0x1,%edx
  cvtss2sd %xmm0,%xmm0
  sete   %cl
  xor    %eax,%eax
  cmp    $0x1,%eax
  jne    L101
L129:
  test   %cl,%cl
  je     L101
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm3,%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
L154:
  add    $0x1,%rax
  cvtss2sd %xmm0,%xmm0
  cmp    $0x1,%eax
  je     L129
L101:
  pxor   %xmm1,%xmm1
  cvtss2sd (%rsi,%rax,4),%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  cmp    $0x2,%rax
  jne    L154
  add    $0x1,%rdx
  cmp    $0x3,%rdx
  je     L137
  mov    (%r15,%rdx,8),%rsi
  jmp    L231
  nopw   0x0(%rax,%rax,1)
L137:
  mov    0x10(%rsp),%rax
  add    $0x1,%r11d
  add    $0x1,%ebx
  add    $0x1,%r10d
  movss  %xmm0,(%rax,%rdi,4)
  add    $0x1,%rdi
  cmp    %r8d,0xc(%rsp)
  jne    L22
L56:
  mov    0x2c(%rsp),%eax
  add    %eax,0x34(%rsp)
  add    $0x1,%r14d
  add    %eax,0x54(%rsp)
  add    %eax,0x50(%rsp)
  mov    0xa8(%rsp),%eax
  mov    %eax,0x30(%rsp)
  cmp    %r14d,0xac(%rsp)
  jne    L193
L85:
  mov    %r13,%rdi
  call   <free@plt>
  add    $0xe8,%rsp
  mov    %r15,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <free@plt>
  nopw   0x0(%rax,%rax,1)
L242:
  cmp    %r14d,0x28(%rsp)
  je     L105
  mov    0x68(%rsp),%rax
  mov    0x18(%rsp),%rsi
  lea    0x8(%r15),%rdx
  mov    %r13,%rcx
  movss  (%rax),%xmm0
  mov    0x58(%rsp),%rax
  movss  %xmm0,0x0(%r13)
  movss  %xmm0,0xc(%r13)
  movss  %xmm0,0x18(%r13)
L285:
  movss  (%rax),%xmm0
  movss  %xmm0,0x4(%rcx)
  movss  0x4(%rax),%xmm0
  add    %rbp,%rax
  movss  %xmm0,0x8(%rcx)
  cmp    %rdx,%rsi
  je     L284
  mov    (%rdx),%rcx
  add    $0x8,%rdx
  jmp    L285
  nopl   0x0(%rax,%rax,1)
L0:
  mov    0x20(%rsp),%rdi
L284:
  movss  0x10(%r13),%xmm3
  add    $0x4,%r9
  add    $0x1,%r8d
  jmp    L36
L72:
  movslq %r10d,%rax
  mov    0x60(%rsp),%rsi
  add    $0x1,%r8d
  movss  (%r12,%rax,4),%xmm0
  mov    0x38(%rsp),%rax
  lea    (%rsi,%r9,1),%rdx
  add    $0x4,%r9
  movss  %xmm0,0x18(%r13)
  movss  (%rax,%rdi,4),%xmm0
  lea    0x2(%r10),%eax
  cltq
  movss  %xmm0,0x1c(%r13)
  movss  (%r12,%rax,4),%xmm0
  movss  %xmm0,0x20(%r13)
  mov    -0x4(%r9),%rax
  mov    %rax,0x0(%r13)
  mov    0x4(%r9),%eax
  mov    %eax,0x8(%r13)
  mov    0x8(%r15),%rax
  mov    (%rdx),%rcx
  mov    %rcx,(%rax)
  mov    0x8(%rdx),%edx
  mov    %edx,0x8(%rax)
  movss  0x10(%r13),%xmm3
  jmp    L36
L48:
  cmp    %r14d,0x28(%rsp)
  je     L115
  mov    0x30(%rsp),%eax
  add    $0x4,%r9
  mov    0x18(%rsp),%rsi
  mov    %r13,%rcx
  lea    0x8(%r15),%rdx
  add    %r8d,%eax
  cltq
  movss  (%r12,%rax,4),%xmm0
  mov    0x38(%rsp),%rax
  movss  %xmm0,0x8(%r13)
  movss  (%rax,%rdi,4),%xmm0
  mov    0x34(%rsp),%eax
  add    %r8d,%eax
  movss  %xmm0,0x14(%r13)
  cltq
  movss  (%r12,%rax,4),%xmm0
  mov    %r9,%rax
  movss  %xmm0,0x20(%r13)
L184:
  movss  -0x4(%rax),%xmm0
  movss  %xmm0,(%rcx)
  movss  (%rax),%xmm0
  add    %rbp,%rax
  movss  %xmm0,0x4(%rcx)
  cmp    %rdx,%rsi
  je     L94
  mov    (%rdx),%rcx
  add    $0x8,%rdx
  jmp    L184
L94:
  movss  0x10(%r13),%xmm3
  add    $0x1,%r8d
  jmp    L36
L104:
  mov    0x8(%r15),%rax
  movss  -0x4(%r12,%rdi,4),%xmm3
  movslq %r8d,%rdx
  add    $0x4,%r9
  movss  0x4(%r12,%rdi,4),%xmm0
  movss  (%r12,%rdi,4),%xmm1
  movss  %xmm3,0x0(%r13)
  movss  %xmm0,0x8(%r13)
  movss  %xmm1,0x4(%r13)
  movss  %xmm3,(%rax)
  movss  %xmm1,0x4(%rax)
  movss  %xmm0,0x8(%rax)
  lea    -0x1(%r8),%eax
  add    $0x1,%r8d
  cltq
  movss  (%r12,%rax,4),%xmm0
  mov    0x10(%r15),%rax
  movss  %xmm0,(%rax)
  movss  (%r12,%rdx,4),%xmm0
  movslq %r8d,%rdx
  movss  %xmm0,0x4(%rax)
  movss  (%r12,%rdx,4),%xmm0
  movss  %xmm0,0x8(%rax)
  movss  0x10(%r13),%xmm3
  jmp    L36
L145:
  mov    0xb8(%rsp),%rax
  movss  (%r12,%rdi,4),%xmm3
  add    $0x4,%r9
  movss  (%rax),%xmm0
  mov    0xc0(%rsp),%rax
  movss  %xmm3,0x10(%r13)
  movss  (%rax),%xmm1
  mov    0xc8(%rsp),%rax
  movss  %xmm0,0x8(%r13)
  movss  %xmm0,0x4(%r13)
  movss  %xmm0,0x14(%r13)
  movss  (%rax),%xmm0
  lea    -0x1(%r8),%eax
  cltq
  movss  %xmm1,0x0(%r13)
  movss  %xmm0,0x20(%r13)
  movss  -0x4(%r12,%rdi,4),%xmm0
  movss  %xmm0,0xc(%r13)
  movss  (%r12,%rax,4),%xmm0
  movslq %r8d,%rax
  add    $0x1,%r8d
  movss  %xmm0,0x18(%r13)
  movss  (%r12,%rax,4),%xmm0
  movss  %xmm0,0x1c(%r13)
  jmp    L36
L105:
  mov    0x70(%rsp),%rax
  mov    0x90(%rsp),%rcx
  add    $0x4,%r9
  add    $0x1,%r8d
  mov    0x98(%rsp),%rsi
  movss  (%rax),%xmm0
  mov    0x78(%rsp),%rax
  movss  %xmm0,0x14(%r13)
  movss  (%rax),%xmm0
  mov    0x80(%rsp),%rax
  movss  %xmm0,0x0(%r13)
  movss  (%rax),%xmm0
  mov    0x58(%rsp),%rax
  movss  %xmm0,0x20(%r13)
  movss  (%rax),%xmm0
  mov    0x88(%rsp),%rax
  movss  %xmm0,0x4(%r13)
  movss  (%rax),%xmm0
  mov    0x8(%r15),%rax
  movss  %xmm0,0x8(%r13)
  movss  (%rcx),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  (%rsi),%xmm0
  movss  %xmm0,0x8(%rax)
  movss  0x10(%r13),%xmm3
  jmp    L36
L115:
  mov    0xd0(%rsp),%rax
  mov    0x8(%r15),%rdx
  add    $0x4,%r9
  add    $0x1,%r8d
  movss  (%rax),%xmm0
  mov    0xa0(%rsp),%rax
  movss  (%rax),%xmm1
  mov    0xd8(%rsp),%rax
  movss  %xmm0,0x20(%r13)
  movss  %xmm0,0x14(%r13)
  movss  %xmm0,0x1c(%r13)
  movss  (%rax),%xmm0
  lea    -0x1(%r11),%eax
  cltq
  movss  %xmm1,0x8(%r13)
  movss  %xmm0,0x18(%r13)
  movss  (%r12,%rax,4),%xmm0
  movslq %r11d,%rax
  movss  %xmm0,0x0(%r13)
  movss  (%r12,%rax,4),%xmm0
  lea    -0x1(%rbx),%eax
  cltq
  movss  %xmm0,0x4(%r13)
  movss  (%r12,%rax,4),%xmm0
  movslq %ebx,%rax
  movss  %xmm0,(%rdx)
  movss  (%r12,%rax,4),%xmm0
  movss  %xmm0,0x4(%rdx)
  movss  0x10(%r13),%xmm3
  jmp    L36
L268:
  mov    0x30(%rsp),%eax
  mov    0x2c(%rsp),%ebx
  add    %ebx,%eax
  mov    %eax,0xa8(%rsp)
  jmp    L56
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D9
datatype: byte[8]
name: extract_symbolic_data
arguments: data_tag: D17
datatype: f64

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0x00,0x20,0xc0]}

tool: D17: 3

assistant: ```c
void aan_ecuacion_calor_metodo_explicito_canal(float *canal_input, float *canal_output, int width, int height, float dt) {
  int i, j, k, l;
  float **area;
  {
    int ml;
    area = (float **)malloc(sizeof(float *) * (3));
    area[0] = (float *)malloc(sizeof(float) * (3) * (3));
    for (ml = 0; ml < (3); ml++)
      area[ml] = &(area[0][ml * (3)]);
  };
  for (j = 0; j < height; j++) {
    for (i = 0; i < width; i++) {
      if (i == 0 && j == 0) {
        area[0][0] = canal_input[0];
        area[0][1] = canal_input[0];
        area[0][2] = canal_input[1];
        area[1][0] = canal_input[0];
        area[2][0] = canal_input[width];
        for (k = 1; k < 3; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1) && j == 0) {
        area[0][2] = canal_input[width - 1];
        area[0][1] = canal_input[width - 1];
        area[0][0] = canal_input[width - 2];
        area[1][2] = canal_input[width - 1];
        area[2][2] = canal_input[width * 2 - 1];
        for (k = 1; k < 3; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == 0 && j == (height - 1)) {
        area[0][2] = canal_input[width * (j - 1)];
        area[0][1] = canal_input[width * (j - 1)];
        area[1][2] = canal_input[width * (j - 1)];
        area[0][0] = canal_input[width * (j - 2)];
        area[2][2] = canal_input[(width * (j - 1)) + 1];
        for (k = 0; k < 2; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1) && j == (height - 1)) {
        area[2][2] = canal_input[width * height - 1];
        area[1][2] = canal_input[width * height - 1];
        area[0][2] = canal_input[width * (height - 1) - 1];
        area[2][1] = canal_input[width * height - 1];
        area[2][0] = canal_input[width * height - 2];
        for (k = 0; k < 2; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == 0) {
        area[0][0] = canal_input[(width * (j - 1 + k)) + i];
        area[1][0] = canal_input[(width * (j - 1 + k)) + i];
        area[2][0] = canal_input[(width * (j - 1 + k)) + i];
        for (k = 0; k < 3; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1)) {
        area[0][2] = canal_input[(width * (j - 1 + 0)) + i];
        area[1][2] = canal_input[(width * (j - 1 + 1)) + i];
        area[2][2] = canal_input[(width * (j - 1 + 2)) + i];
        for (k = 0; k < 3; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (j == 0) {
        area[0][0] = canal_input[(width * j) + (i - 1 + 0)];
        area[0][1] = canal_input[(width * j) + (i - 1 + 1)];
        area[0][2] = canal_input[(width * j) + (i - 1 + 2)];
        for (k = 1; k < 3; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (j == (height - 1)) {
        area[2][0] = canal_input[(width * j) + (i - 1 + 0)];
        area[2][1] = canal_input[(width * j) + (i - 1 + 1)];
        area[2][2] = canal_input[(width * j) + (i - 1 + 2)];
        for (k = 0; k < 2; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else {
        for (k = 0; k < 3; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[width * (j - 1 + k) + (i - 1 + l)];
      }
      canal_output[width * j + i] = area[1][1];
      for (k = 0; k < 3; k++) {
        for (l = 0; l < 3; l++) {
          if (l == 1 && k == 1)
            canal_output[width * j + i] = canal_output[width * j + i] + ((dt / 3.0) * (-8.0 * area[k][l]));
          else
            canal_output[width * j + i] = canal_output[width * j + i] + ((dt / 3.0) * area[k][l]);
        }
      }
    }
  }
  {
    free(area[0]);
    free(area);
  };
}
```