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

```asm
<double_exp_matrix>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x368,%rsp
  mov    %edi,0xc(%rsp)
  mov    %esi,%r11d
  mov    %ecx,%r13d
  mov    %r8,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x358(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  je     L198
  mov    %rdx,%r12
  mov    %edi,%eax
  test   %edi,%edi
  je     L327
  mov    %rdx,%rdi
  lea    -0x1(%rax),%eax
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  lea    0x50(%rdx,%rax,1),%r9
  mov    %esi,%esi
  jmp    L243
L198:
  cmpl   $0x0,0xc(%rsp)
  je     L228
  mov    0x10(%rsp),%rsi
  mov    %r11d,%edx
  movsd  D6(%rip),%xmm0
  jmp    L151
L209:
  movsd  %xmm0,(%rcx,%rax,8)
L110:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L59
L315:
  cmp    %eax,%r13d
  je     L209
  movq   $0x0,(%rcx,%rax,8)
  jmp    L110
L59:
  add    $0x1,%r13d
  add    $0x50,%rsi
  cmp    %r13d,0xc(%rsp)
  je     L228
L151:
  mov    %rsi,%rcx
  mov    $0x0,%eax
  test   %r11d,%r11d
  jne    L315
  jmp    L59
L252:
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L252
L297:
  add    $0x50,%rdi
  add    $0x50,%r8
  cmp    %r9,%rdi
  je     L327
L243:
  mov    %rdi,%rcx
  mov    %r8,%rdx
  mov    $0x0,%eax
  test   %r11d,%r11d
  jne    L252
  jmp    L297
L327:
  cmp    $0x1,%r13d
  je     L228
  lea    0x30(%rsp),%rax
  mov    %rax,0x18(%rsp)
  mov    0xc(%rsp),%eax
  lea    -0x1(%rax),%ecx
  lea    0x0(,%rcx,4),%rax
  lea    (%rax,%rcx,1),%rdx
  shl    $0x4,%rdx
  lea    0x80(%rsp,%rdx,1),%rbp
  lea    -0x1(%r11),%r9d
  lea    0x0(,%r9,8),%rdx
  mov    0x10(%rsp),%rbx
  lea    0x8(%rbx,%rdx,1),%rdi
  mov    %rdi,0x20(%rsp)
  add    %rcx,%rax
  lea    (%r9,%rax,2),%rax
  lea    0x58(%rbx,%rax,8),%r15
  lea    (%r9,%r9,4),%rax
  shl    $0x4,%rax
  lea    0x50(%r12,%rax,1),%r14
  lea    0x8(%r12,%rdx,1),%r10
  movl   $0x1,0x28(%rsp)
  mov    %r9,%rax
  not    %rax
  shl    $0x3,%rax
  mov    %r13d,0x2c(%rsp)
  mov    %rax,%r13
  jmp    L229
L312:
  movsd  (%rsi,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %rdx,%r9
  jne    L312
L323:
  add    $0x50,%rdi
  add    $0x50,%rcx
  cmp    %rbp,%rcx
  je     L308
L114:
  mov    %rdi,%rsi
  mov    $0x0,%eax
  test   %r11d,%r11d
  jne    L312
  jmp    L323
L272:
  movq   $0x0,(%rax)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L272
L246:
  add    $0x50,%rdx
  cmp    %r15,%rdx
  je     L212
L184:
  lea    0x0(%r13,%rdx,1),%rax
  test   %r11d,%r11d
  jne    L272
  jmp    L246
L308:
  mov    0x20(%rsp),%rdx
  jmp    L184
L19:
  mov    %rdi,%rax
  mov    %r8,%rdx
L322:
  movsd  (%rdx),%xmm0
  mulsd  (%rax),%xmm0
  addsd  (%rcx),%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x8,%rdx
  add    $0x50,%rax
  cmp    %rax,%rsi
  jne    L322
  add    $0x8,%rdi
  add    $0x8,%rcx
  add    $0x8,%rsi
  cmp    %r10,%rdi
  jne    L19
L120:
  add    $0x50,%r8
  add    $0x50,%rbx
  cmp    %rbp,%r8
  je     L305
L160:
  mov    %r14,%rsi
  mov    %rbx,%rcx
  mov    %r12,%rdi
  test   %r11d,%r11d
  jne    L19
  jmp    L120
L212:
  mov    0x10(%rsp),%rbx
  mov    0x18(%rsp),%r8
  jmp    L160
L305:
  addl   $0x1,0x28(%rsp)
  mov    0x28(%rsp),%eax
  cmp    %eax,0x2c(%rsp)
  jbe    L228
L229:
  mov    0x18(%rsp),%rcx
  mov    0x10(%rsp),%rdi
  cmpl   $0x0,0xc(%rsp)
  jne    L114
  jmp    L305
L228:
  mov    0x358(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L135
  add    $0x368,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L135:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D6
type_guessed: f64

tool: D6: 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]);
        }
      }
    }
  }
}
```