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

```asm
<double_exp_matrix>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %edi,-0x344(%rbp)
  mov    %esi,-0x348(%rbp)
  mov    %rdx,-0x350(%rbp)
  mov    %ecx,-0x354(%rbp)
  mov    %r8,-0x360(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0x0,-0x354(%rbp)
  jne    L41
  movl   $0x0,-0x340(%rbp)
  jmp    L295
L275:
  movl   $0x0,-0x33c(%rbp)
  jmp    L75
L231:
  mov    -0x340(%rbp),%eax
  cmp    -0x33c(%rbp),%eax
  jne    L149
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  movsd  D1(%rip),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  jmp    L122
L149:
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
L122:
  addl   $0x1,-0x33c(%rbp)
L75:
  mov    -0x33c(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L231
  addl   $0x1,-0x340(%rbp)
L295:
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  jb     L275
  jmp    L282
L41:
  movl   $0x0,-0x340(%rbp)
  jmp    L309
L71:
  movl   $0x0,-0x33c(%rbp)
  jmp    L13
L229:
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x350(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  movsd  (%rcx,%rax,8),%xmm0
  mov    -0x33c(%rbp),%eax
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x33c(%rbp)
L13:
  mov    -0x33c(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L229
  addl   $0x1,-0x340(%rbp)
L309:
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  jb     L71
  cmpl   $0x1,-0x354(%rbp)
  je     L8
  movl   $0x1,-0x334(%rbp)
  jmp    L70
L186:
  movl   $0x0,-0x340(%rbp)
  jmp    L34
L254:
  movl   $0x0,-0x33c(%rbp)
  jmp    L253
L308:
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x33c(%rbp),%ecx
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0x330(%rbp,%rax,8)
  addl   $0x1,-0x33c(%rbp)
L253:
  mov    -0x33c(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L308
  addl   $0x1,-0x340(%rbp)
L34:
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  jb     L254
  movl   $0x0,-0x340(%rbp)
  jmp    L88
L225:
  movl   $0x0,-0x33c(%rbp)
  jmp    L241
L189:
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x33c(%rbp)
L241:
  mov    -0x33c(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L189
  addl   $0x1,-0x340(%rbp)
L88:
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  jb     L225
  movl   $0x0,-0x340(%rbp)
  jmp    L252
L178:
  movl   $0x0,-0x33c(%rbp)
  jmp    L233
L130:
  movl   $0x0,-0x338(%rbp)
  jmp    L213
L260:
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm1
  mov    -0x338(%rbp),%ecx
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rcx,%rax
  movsd  -0x330(%rbp,%rax,8),%xmm2
  mov    -0x338(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x350(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x340(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x360(%rbp),%rax
  add    %rax,%rdx
  addsd  %xmm1,%xmm0
  mov    -0x33c(%rbp),%eax
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x338(%rbp)
L213:
  mov    -0x338(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L260
  addl   $0x1,-0x33c(%rbp)
L233:
  mov    -0x33c(%rbp),%eax
  cmp    -0x348(%rbp),%eax
  jb     L130
  addl   $0x1,-0x340(%rbp)
L252:
  mov    -0x340(%rbp),%eax
  cmp    -0x344(%rbp),%eax
  jb     L178
  addl   $0x1,-0x334(%rbp)
L70:
  mov    -0x334(%rbp),%eax
  cmp    -0x354(%rbp),%eax
  jb     L186
  jmp    L282
L8:
  nop
L282:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L239
  call   <__stack_chk_fail@plt>
L239:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D1
type_infered: f64

tool: D1: 1

assistant: ```c
void double_exp_matrix(unsigned int lines, unsigned int columns, double m1[10][10], unsigned int expNumber, double result[10][10]) {
  unsigned int i, j, k, l;
  double m2[10][10];
  if (expNumber == 0) {
    for (i = 0; i < lines; i++) {
      for (j = 0; j < columns; j++) {
        if (i == j) {
          result[i][j] = 1.0;
        } else {
          result[i][j] = 0.0;
        }
      }
    }
    return;
  }
  for (i = 0; i < lines; i++)
    for (j = 0; j < columns; j++)
      result[i][j] = m1[i][j];
  if (expNumber == 1) {
    return;
  }
  for (l = 1; l < expNumber; l++) {
    for (i = 0; i < lines; i++)
      for (j = 0; j < columns; j++)
        m2[i][j] = result[i][j];
    for (i = 0; i < lines; i++)
      for (j = 0; j < columns; j++)
        result[i][j] = 0;
    for (i = 0; i < lines; i++) {
      for (j = 0; j < columns; j++) {
        for (k = 0; k < columns; k++) {
          result[i][j] = result[i][j] + (m2[i][k] * m1[k][j]);
        }
      }
    }
  }
}
```