user: What is the c source code of the assembly code below:

```asm
<double_exp_matrix>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  sub    $0x368,%rsp
  mov    %edi,0x8(%rsp)
  mov    %r8,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x358(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  je     L670
  mov    %rdx,%r12
  test   %edi,%edi
  je     L411
  test   %esi,%esi
  je     L411
  lea    -0x1(%rdi),%ecx
  mov    %r15d,%r10d
  mov    %r8,%rax
  shr    %esi
  lea    (%rcx,%rcx,4),%rcx
  and    $0xfffffffe,%r10d
  lea    -0x1(%r15),%r11d
  shl    $0x4,%rcx
  lea    0x50(%r8,%rcx,1),%rbx
  mov    %r10d,%ecx
L526:
  lea    0x8(%rdx),%rdi
  cmp    %rdi,%rax
  je     L502
  cmp    $0x2,%r11d
  jbe    L502
  movupd (%rdx),%xmm3
  movups %xmm3,(%rax)
  cmp    $0x1,%esi
  jbe    L718
  movupd 0x10(%rdx),%xmm4
  movups %xmm4,0x10(%rax)
  cmp    $0x2,%esi
  je     L718
  movupd 0x20(%rdx),%xmm5
  movups %xmm5,0x20(%rax)
  cmp    $0x3,%esi
  je     L718
  movupd 0x30(%rdx),%xmm6
  movups %xmm6,0x30(%rax)
  cmp    $0x4,%esi
  je     L718
  movupd 0x40(%rdx),%xmm7
  movups %xmm7,0x40(%rax)
  cmp    $0x5,%esi
  je     L718
  mov    $0x50,%edi
  mov    $0x5,%r8d
L23:
  movupd (%rdx,%rdi,1),%xmm3
  add    $0x1,%r8d
  movups %xmm3,(%rax,%rdi,1)
  add    $0x10,%rdi
  cmp    %r8d,%esi
  jne    L23
L718:
  cmp    %r10d,%r15d
  je     L778
  movsd  (%rdx,%rcx,8),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
L778:
  add    $0x50,%rax
  add    $0x50,%rdx
  cmp    %rax,%rbx
  jne    L526
L411:
  cmp    $0x1,%ebp
  je     L584
  lea    0x30(%rsp),%rax
  mov    (%rsp),%rdi
  movl   $0x1,0xc(%rsp)
  mov    %rax,0x10(%rsp)
  mov    0x8(%rsp),%eax
  mov    %ebp,0x28(%rsp)
  mov    %r15d,%ebp
  sub    $0x1,%eax
  lea    (%rax,%rax,4),%rdx
  lea    0x5(%rax,%rax,4),%r13
  shl    $0x4,%rdx
  lea    0x0(%r13,%r13,1),%rax
  lea    0x80(%rsp,%rdx,1),%rcx
  lea    0x50(%rdi,%rdx,1),%rdi
  mov    %rcx,0x20(%rsp)
  lea    -0x1(%r15),%ecx
  mov    %rdi,0x18(%rsp)
  lea    0x8(%r12,%rcx,8),%r14
  lea    0x8(,%rcx,8),%rbx
  mov    %r14,%r15
  mov    %rax,%r14
L281:
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  je     L504
  mov    (%rsp),%r13
  mov    0x10(%rsp),%rdi
  test   %ebp,%ebp
  je     L504
  mov    %r12,%rax
  mov    %ebp,0x2c(%rsp)
  mov    0x20(%rsp),%rbp
  mov    %r13,%r12
  mov    %rax,%r13
  nopl   0x0(%rax,%rax,1)
L570:
  mov    %r12,%rsi
  mov    %rbx,%rdx
  add    $0x50,%r12
  call   <memcpy@plt>
  mov    %rax,%rdi
  add    $0x50,%rdi
  cmp    %rbp,%rdi
  jne    L570
  mov    %r13,%r12
  mov    0x2c(%rsp),%ebp
  mov    (%rsp),%rdi
  mov    0x18(%rsp),%r13
  nopl   0x0(%rax,%rax,1)
L735:
  mov    %rbx,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    %rax,%rdi
  add    $0x50,%rdi
  cmp    %r13,%rdi
  jne    L735
  mov    (%rsp),%r9
  mov    0x10(%rsp),%rsi
  xor    %edi,%edi
  nopl   0x0(%rax)
L360:
  movsd  (%rsi),%xmm2
  mov    %r12,%rdx
  mov    %r9,%rax
  nopw   0x0(%rax,%rax,1)
L800:
  movsd  (%rdx),%xmm1
  mulsd  %xmm2,%xmm1
  addsd  (%rax),%xmm1
  movsd  %xmm1,(%rax)
  cmp    $0x1,%ebp
  je     L621
  movsd  0x8(%rsi),%xmm0
  mulsd  0x50(%rdx),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x2,%ebp
  je     L621
  movsd  0x10(%rsi),%xmm1
  mulsd  0xa0(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x3,%ebp
  je     L621
  movsd  0x18(%rsi),%xmm1
  mulsd  0xf0(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x4,%ebp
  je     L621
  movsd  0x20(%rsi),%xmm1
  mulsd  0x140(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x5,%ebp
  je     L621
  movsd  0x28(%rsi),%xmm1
  mulsd  0x190(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x6,%ebp
  je     L621
  movsd  0x30(%rsi),%xmm1
  mulsd  0x1e0(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x7,%ebp
  je     L621
  movsd  0x38(%rsi),%xmm1
  mulsd  0x230(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x8,%ebp
  je     L621
  movsd  0x40(%rsi),%xmm1
  mulsd  0x280(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x9,%ebp
  je     L621
  movsd  0x48(%rsi),%xmm1
  mulsd  0x2d0(%rdx),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L621:
  add    $0x8,%rdx
  add    $0x8,%rax
  cmp    %r15,%rdx
  jne    L800
  add    $0xa,%rdi
  add    $0x50,%rsi
  add    $0x50,%r9
  cmp    %r14,%rdi
  jne    L360
L504:
  addl   $0x1,0xc(%rsp)
  mov    0xc(%rsp),%eax
  cmp    %eax,0x28(%rsp)
  ja     L281
L584:
  mov    0x358(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L432
  add    $0x368,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L502:
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  cmp    $0x1,%r15d
  je     L778
  movsd  0x8(%rdx),%xmm0
  movsd  %xmm0,0x8(%rax)
  cmp    $0x2,%r15d
  je     L778
  movsd  0x10(%rdx),%xmm0
  movsd  %xmm0,0x10(%rax)
  cmp    $0x3,%r15d
  je     L778
  movsd  0x18(%rdx),%xmm0
  movsd  %xmm0,0x18(%rax)
  cmp    $0x4,%r15d
  je     L778
  movsd  0x20(%rdx),%xmm0
  movsd  %xmm0,0x20(%rax)
  cmp    $0x5,%r15d
  je     L778
  movsd  0x28(%rdx),%xmm0
  movsd  %xmm0,0x28(%rax)
  cmp    $0x6,%r15d
  je     L778
  movsd  0x30(%rdx),%xmm0
  movsd  %xmm0,0x30(%rax)
  cmp    $0x7,%r15d
  je     L778
  movsd  0x38(%rdx),%xmm0
  movsd  %xmm0,0x38(%rax)
  cmp    $0x8,%r15d
  je     L778
  movsd  0x40(%rdx),%xmm0
  movsd  %xmm0,0x40(%rax)
  cmp    $0x9,%r15d
  je     L778
  movsd  0x48(%rdx),%xmm0
  movsd  %xmm0,0x48(%rax)
  cmp    $0xa,%r15d
  je     L778
  movsd  0x50(%rdx),%xmm0
  movsd  %xmm0,0x50(%rax)
  cmp    $0xb,%r15d
  je     L778
  mov    $0xb,%edi
L454:
  movsd  (%rdx,%rdi,8),%xmm0
  movsd  %xmm0,(%rax,%rdi,8)
  add    $0x1,%rdi
  cmp    %edi,%r15d
  ja     L454
  jmp    L778
  nopl   0x0(%rax,%rax,1)
L670:
  mov    0x8(%rsp),%edx
  test   %edx,%edx
  je     L584
  test   %esi,%esi
  je     L584
  movsd  D56(%rip),%xmm0
  mov    %r8,%rax
  test   %ebp,%ebp
  je     L469
L843:
  movq   $0x0,(%rax)
  cmp    $0x1,%r15d
  je     L283
  cmp    $0x1,%ebp
  je     L202
L345:
  movq   $0x0,0x8(%rax)
  cmp    $0x2,%r15d
  jbe    L283
  cmp    $0x2,%ebp
  je     L579
L838:
  movq   $0x0,0x10(%rax)
  cmp    $0x3,%r15d
  jbe    L283
  cmp    $0x3,%ebp
  je     L926
L269:
  movq   $0x0,0x18(%rax)
  cmp    $0x4,%r15d
  jbe    L283
  cmp    $0x4,%ebp
  je     L442
L418:
  movq   $0x0,0x20(%rax)
  cmp    $0x5,%r15d
  jbe    L283
  cmp    $0x5,%ebp
  je     L355
L39:
  movq   $0x0,0x28(%rax)
  cmp    $0x6,%r15d
  jbe    L283
  cmp    $0x6,%ebp
  je     L24
L476:
  movq   $0x0,0x30(%rax)
  cmp    $0x7,%r15d
  jbe    L283
  cmp    $0x7,%ebp
  je     L177
L850:
  movq   $0x0,0x38(%rax)
  cmp    $0x8,%r15d
  jbe    L283
  cmp    $0x8,%ebp
  je     L722
L864:
  pxor   %xmm2,%xmm2
  movsd  %xmm2,0x40(%rax)
  cmp    $0x9,%r15d
  jbe    L283
  cmp    $0x9,%ebp
  je     L350
L686:
  movq   $0x0,0x48(%rax)
  cmp    $0xa,%r15d
  jbe    L283
  movapd %xmm0,%xmm1
  cmp    $0xa,%ebp
  je     L799
  movapd %xmm2,%xmm1
L799:
  movsd  %xmm1,0x50(%rax)
  cmp    $0xb,%r15d
  jbe    L283
  mov    $0xb,%edx
L488:
  cmp    %edx,%ebp
  je     L254
  movq   $0x0,(%rax,%rdx,8)
  add    $0x1,%rdx
  cmp    %edx,%r15d
  ja     L488
L283:
  add    $0x1,%ebp
  add    $0x50,%rax
  cmp    %ebp,0x8(%rsp)
  je     L584
  test   %ebp,%ebp
  jne    L843
L469:
  movsd  %xmm0,(%rax)
  cmp    $0x1,%r15d
  jne    L345
  jmp    L283
L202:
  mov    D56(%rip),%rcx
  mov    %rcx,0x8(%rax)
  cmp    $0x2,%r15d
  jne    L838
  jmp    L283
L926:
  mov    D56(%rip),%rcx
  mov    %rcx,0x18(%rax)
  cmp    $0x4,%r15d
  jne    L418
  jmp    L283
  nopl   0x0(%rax)
L579:
  mov    D56(%rip),%rcx
  mov    %rcx,0x10(%rax)
  cmp    $0x3,%r15d
  jne    L269
  jmp    L283
L355:
  mov    D56(%rip),%rcx
  mov    %rcx,0x28(%rax)
  cmp    $0x6,%r15d
  jne    L476
  jmp    L283
  nopl   0x0(%rax)
L442:
  mov    D56(%rip),%rcx
  mov    %rcx,0x20(%rax)
  cmp    $0x5,%r15d
  jne    L39
  jmp    L283
L722:
  movsd  %xmm0,0x40(%rax)
  pxor   %xmm2,%xmm2
  cmp    $0x9,%r15d
  jne    L686
  jmp    L283
  nopw   0x0(%rax,%rax,1)
L177:
  movsd  %xmm0,0x38(%rax)
  cmp    $0x8,%r15d
  jne    L864
  jmp    L283
  nopl   0x0(%rax)
L24:
  mov    D56(%rip),%rcx
  mov    %rcx,0x30(%rax)
  cmp    $0x7,%r15d
  jne    L850
  jmp    L283
L350:
  movsd  %xmm0,0x48(%rax)
  pxor   %xmm1,%xmm1
  cmp    $0xa,%r15d
  jne    L799
  jmp    L283
L254:
  movsd  %xmm0,(%rax,%rdx,8)
  add    $0x1,%rdx
  cmp    %edx,%r15d
  ja     L488
  jmp    L283
L432:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D56
type: f64

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