user: Demonstrate the C code that generates the assembly output below:

```asm
<double_exp_matrix>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xcc0,%rsp
  mov    %edi,-0xca4(%rbp)
  mov    %esi,-0xca8(%rbp)
  mov    %rdx,-0xcb0(%rbp)
  mov    %ecx,-0xcb4(%rbp)
  mov    %r8,-0xcc0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0x0,-0xcb4(%rbp)
  jne    L172
  movl   $0x0,-0xca0(%rbp)
  jmp    L85
L278:
  movl   $0x0,-0xc9c(%rbp)
  jmp    L8
L229:
  mov    -0xca0(%rbp),%eax
  cmp    -0xc9c(%rbp),%eax
  jne    L36
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  movsd  D1(%rip),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  jmp    L5
L36:
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
L5:
  addl   $0x1,-0xc9c(%rbp)
L8:
  mov    -0xc9c(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L229
  addl   $0x1,-0xca0(%rbp)
L85:
  mov    -0xca0(%rbp),%eax
  cmp    -0xca4(%rbp),%eax
  jb     L278
  jmp    L186
L172:
  movl   $0x0,-0xca0(%rbp)
  jmp    L104
L103:
  movl   $0x0,-0xc9c(%rbp)
  jmp    L280
L90:
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcb0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  movsd  (%rcx,%rax,8),%xmm0
  mov    -0xc9c(%rbp),%eax
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0xc9c(%rbp)
L280:
  mov    -0xc9c(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L90
  addl   $0x1,-0xca0(%rbp)
L104:
  mov    -0xca0(%rbp),%eax
  cmp    -0xca4(%rbp),%eax
  jb     L103
  cmpl   $0x1,-0xcb4(%rbp)
  je     L215
  movl   $0x1,-0xc94(%rbp)
  jmp    L105
L121:
  movl   $0x0,-0xca0(%rbp)
  jmp    L83
L194:
  movl   $0x0,-0xc9c(%rbp)
  jmp    L0
L100:
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0xc9c(%rbp),%ecx
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xc90(%rbp,%rax,8)
  addl   $0x1,-0xc9c(%rbp)
L0:
  mov    -0xc9c(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L100
  addl   $0x1,-0xca0(%rbp)
L83:
  mov    -0xca0(%rbp),%eax
  cmp    -0xca4(%rbp),%eax
  jb     L194
  movl   $0x0,-0xca0(%rbp)
  jmp    L210
L279:
  movl   $0x0,-0xc9c(%rbp)
  jmp    L145
L268:
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0xc9c(%rbp)
L145:
  mov    -0xc9c(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L268
  addl   $0x1,-0xca0(%rbp)
L210:
  mov    -0xca0(%rbp),%eax
  cmp    -0xca4(%rbp),%eax
  jb     L279
  movl   $0x0,-0xca0(%rbp)
  jmp    L55
L167:
  movl   $0x0,-0xc9c(%rbp)
  jmp    L38
L260:
  movl   $0x0,-0xc98(%rbp)
  jmp    L188
L127:
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm1
  mov    -0xc98(%rbp),%ecx
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  -0xc90(%rbp,%rax,8),%xmm2
  mov    -0xc98(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcb0(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc9c(%rbp),%eax
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0xca0(%rbp),%edx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0xcc0(%rbp),%rax
  add    %rax,%rdx
  addsd  %xmm1,%xmm0
  mov    -0xc9c(%rbp),%eax
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0xc98(%rbp)
L188:
  mov    -0xc98(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L127
  addl   $0x1,-0xc9c(%rbp)
L38:
  mov    -0xc9c(%rbp),%eax
  cmp    -0xca8(%rbp),%eax
  jb     L260
  addl   $0x1,-0xca0(%rbp)
L55:
  mov    -0xca0(%rbp),%eax
  cmp    -0xca4(%rbp),%eax
  jb     L167
  addl   $0x1,-0xc94(%rbp)
L105:
  mov    -0xc94(%rbp),%eax
  cmp    -0xcb4(%rbp),%eax
  jb     L121
  jmp    L186
L215:
  nop
L186:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L178
  call   <__stack_chk_fail@plt>
L178:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D1
datatype: f64

tool: D1: 1

assistant: ```c
void double_exp_matrix(unsigned int lines, unsigned int columns, double m1[20][20], unsigned int expNumber, double result[20][20]) {
  unsigned int i, j, k, l;
  double m2[20][20];
  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]);
        }
      }
    }
  }
}
```