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

```asm
<double_exp_matrix>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x368,%rsp
  mov    %edi,0xc(%rsp)
  mov    %ecx,0x14(%rsp)
  mov    %r8,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x358(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  je     L203
  mov    %rdx,%r13
  test   %edi,%edi
  je     L223
  lea    -0x1(%rdi),%eax
  mov    %r8,%rcx
  mov    %ebx,%esi
  lea    (%rax,%rax,4),%rax
  shl    $0x4,%rax
  lea    0x50(%rdx,%rax,1),%rdi
L125:
  xor    %eax,%eax
  test   %ebx,%ebx
  je     L200
L152:
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L152
L200:
  add    $0x50,%rdx
  add    $0x50,%rcx
  cmp    %rdi,%rdx
  jne    L125
L223:
  cmpl   $0x1,0x14(%rsp)
  je     L53
  lea    0x30(%rsp),%rax
  mov    (%rsp),%rdi
  movl   $0x1,0x10(%rsp)
  mov    %rax,0x18(%rsp)
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  lea    (%rax,%rax,4),%rdx
  lea    -0x1(%rbx),%eax
  shl    $0x4,%rdx
  lea    0x8(%r13,%rax,8),%r15
  lea    0x8(,%rax,8),%r12
  lea    0x50(%rdi,%rdx,1),%rdi
  lea    0x80(%rsp,%rdx,1),%rbp
  lea    (%rax,%rax,4),%rdx
  mov    %rdi,0x28(%rsp)
  mov    %r13,%rax
  shl    $0x4,%rdx
  lea    0x50(%r13,%rdx,1),%rdi
  mov    %r15,%r13
  mov    %rax,%r15
  mov    %rdi,0x20(%rsp)
L34:
  mov    0xc(%rsp),%eax
  mov    (%rsp),%r14
  mov    0x18(%rsp),%rcx
  test   %eax,%eax
  je     L32
  nopw   0x0(%rax,%rax,1)
L38:
  test   %ebx,%ebx
  je     L173
  mov    %rcx,%rdi
  mov    %r12,%rdx
  mov    %r14,%rsi
  call   <memcpy@plt>
  mov    %rax,%rcx
L173:
  add    $0x50,%rcx
  add    $0x50,%r14
  cmp    %rbp,%rcx
  jne    L38
  mov    (%rsp),%rcx
  mov    0x28(%rsp),%r14
  nopl   0x0(%rax,%rax,1)
L170:
  test   %ebx,%ebx
  je     L82
  mov    %rcx,%rdi
  mov    %r12,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    %rax,%rcx
L82:
  add    $0x50,%rcx
  cmp    %r14,%rcx
  jne    L170
  mov    (%rsp),%r10
  mov    0x18(%rsp),%r9
  mov    0x20(%rsp),%r8
  nopl   0x0(%rax,%rax,1)
L88:
  mov    %r8,%rsi
  mov    %r15,%rdi
  mov    %r10,%rcx
  test   %ebx,%ebx
  je     L146
  nopl   (%rax)
L36:
  movsd  (%rcx),%xmm1
  mov    %rdi,%rax
  mov    %r9,%rdx
  nopw   0x0(%rax,%rax,1)
L205:
  movsd  (%rdx),%xmm0
  mulsd  (%rax),%xmm0
  add    $0x50,%rax
  add    $0x8,%rdx
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx)
  cmp    %rax,%rsi
  jne    L205
  add    $0x8,%rdi
  add    $0x8,%rcx
  add    $0x8,%rsi
  cmp    %r13,%rdi
  jne    L36
L146:
  add    $0x50,%r9
  add    $0x50,%r10
  cmp    %rbp,%r9
  jne    L88
L32:
  addl   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    %eax,0x14(%rsp)
  ja     L34
L53:
  mov    0x358(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L168
  add    $0x368,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L203:
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  je     L53
  mov    (%rsp),%rdx
  mov    0x14(%rsp),%esi
  mov    %ebx,%ecx
  pxor   %xmm2,%xmm2
  movsd  D9(%rip),%xmm1
L30:
  xor    %eax,%eax
  test   %ebx,%ebx
  je     L187
L183:
  movapd %xmm1,%xmm0
  cmp    %eax,%esi
  je     L94
  movapd %xmm2,%xmm0
L94:
  movsd  %xmm0,(%rdx,%rax,8)
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L183
L187:
  add    $0x1,%esi
  add    $0x50,%rdx
  cmp    %esi,0xc(%rsp)
  jne    L30
  jmp    L53
L168:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D9
type_infered: f64

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