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

```asm
<LUDecomp>:
  endbr64
  push   %r15
  mov    %rcx,%r15
  push   %r14
  push   %r13
  push   %r12
  mov    %esi,%r12d
  mov    $0x8,%esi
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %r12d,%edi
  sub    $0x38,%rsp
  mov    %rdx,0x18(%rsp)
  mov    %rcx,0x28(%rsp)
  call   <Array1D@plt>
  movsd  D38(%rip),%xmm5
  mov    %rax,0x8(%rsp)
  movsd  %xmm5,(%r15)
  test   %r12d,%r12d
  jle    L182
  mov    0x8(%rsp),%rax
  mov    %r12d,%r15d
  mov    %rbx,%rdi
  pxor   %xmm4,%xmm4
  lea    0x0(,%r15,8),%rsi
  movq   D10(%rip),%xmm2
  lea    (%rax,%rsi,1),%r8
  mov    %rax,%rcx
  sub    %rax,%rdi
  cs nopw 0x0(%rax,%rax,1)
L105:
  mov    (%rdi,%rcx,1),%rax
  movapd %xmm4,%xmm1
  lea    (%rax,%rsi,1),%rdx
  nopl   0x0(%rax)
L31:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  andpd  %xmm2,%xmm0
  maxsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  cmp    %rax,%rdx
  jne    L31
  ucomisd %xmm4,%xmm0
  jp     L195
  je     L206
L195:
  movapd %xmm5,%xmm0
  add    $0x8,%rcx
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rcx)
  cmp    %r8,%rcx
  jne    L105
  lea    -0x1(%r12),%eax
  movq   D19(%rip),%xmm7
  xor    %r14d,%r14d
  xor    %r11d,%r11d
  mov    %eax,0x24(%rsp)
  movsd  D26(%rip),%xmm6
  nopw   0x0(%rax,%rax,1)
L224:
  lea    0x0(,%r14,8),%rdx
  test   %r11d,%r11d
  je     L226
  mov    (%rbx),%r10
  xor    %r8d,%r8d
  mov    $0x8,%esi
  add    $0x1,%r8d
  lea    (%r10,%rdx,1),%r9
  movsd  (%r9),%xmm1
  movsd  %xmm1,(%r9)
  cmp    %r11d,%r8d
  je     L226
  nop
L73:
  mov    (%rbx,%rsi,1),%rcx
  mov    %r10,%rdi
  xor    %eax,%eax
  lea    (%rcx,%rdx,1),%r9
  movsd  (%r9),%xmm1
  jmp    L146
  nopl   0x0(%rax)
L20:
  mov    (%rbx,%rax,1),%rdi
L146:
  movsd  (%rdi,%rdx,1),%xmm0
  mulsd  (%rcx,%rax,1),%xmm0
  add    $0x8,%rax
  subsd  %xmm0,%xmm1
  cmp    %rax,%rsi
  jne    L20
  add    $0x1,%r8d
  add    $0x8,%rsi
  movsd  %xmm1,(%r9)
  cmp    %r11d,%r8d
  jne    L73
L226:
  mov    0x8(%rsp),%rax
  mov    %r14,%r8
  movapd %xmm4,%xmm3
  lea    -0x1(%r14),%edi
  add    %rdx,%rax
  mov    %rax,0x10(%rsp)
  mov    %rax,%r9
L28:
  mov    (%rbx,%r8,8),%rsi
  mov    %r8d,%r13d
  lea    (%rsi,%rdx,1),%r10
  movsd  (%r10),%xmm1
  test   %r11d,%r11d
  je     L243
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L96:
  mov    (%rbx,%rax,8),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mulsd  (%rsi,%rax,8),%xmm0
  mov    %rax,%rcx
  add    $0x1,%rax
  subsd  %xmm0,%xmm1
  cmp    %rcx,%rdi
  jne    L96
L243:
  movsd  %xmm1,(%r10)
  andpd  %xmm2,%xmm1
  mulsd  (%r9),%xmm1
  comisd %xmm3,%xmm1
  jb     L58
  movapd %xmm1,%xmm3
  mov    %r13d,%ebp
L58:
  add    $0x1,%r8
  add    $0x8,%r9
  cmp    %r8d,%r12d
  jg     L28
  mov    (%rbx,%r14,8),%rcx
  cmp    %r11d,%ebp
  jne    L240
L216:
  add    %rdx,%rcx
  mov    0x18(%rsp),%rax
  ucomisd (%rcx),%xmm4
  mov    %ebp,(%rax,%r14,4)
  jp     L74
  jne    L74
  movsd  %xmm6,(%rcx)
L74:
  add    $0x1,%r11d
  cmp    %r14d,0x24(%rsp)
  je     L188
  movapd %xmm5,%xmm1
  divsd  (%rcx),%xmm1
  cmp    %r11d,%r12d
  jle    L182
  add    $0x1,%r14
  mov    %r14,%rax
  nopw   0x0(%rax,%rax,1)
L228:
  mov    (%rbx,%rax,8),%rcx
  add    $0x1,%rax
  add    %rdx,%rcx
  movsd  (%rcx),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rcx)
  cmp    %eax,%r12d
  jg     L228
  jmp    L224
L182:
  mov    0x8(%rsp),%rdi
  call   <FreeArray1D@plt>
  add    $0x38,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L188:
  cmp    %r11d,%r12d
  jle    L182
  add    $0x1,%r14
  jmp    L224
L240:
  movslq %ebp,%rdi
  xor    %eax,%eax
  mov    (%rbx,%rdi,8),%rsi
  cs nopw 0x0(%rax,%rax,1)
L106:
  movsd  (%rsi,%rax,8),%xmm0
  movsd  (%rcx,%rax,8),%xmm1
  movsd  %xmm1,(%rsi,%rax,8)
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%r15
  jne    L106
  mov    0x28(%rsp),%rax
  movsd  (%rax),%xmm0
  xorpd  %xmm7,%xmm0
  movsd  %xmm0,(%rax)
  mov    0x10(%rsp),%rax
  movsd  (%rax),%xmm0
  mov    0x8(%rsp),%rax
  movsd  %xmm0,(%rax,%rdi,8)
  jmp    L216
L206:
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_label: D38
datatype: f64
name: read_data
arguments: data_label: D10
datatype: qword
name: read_data
arguments: data_label: D19
datatype: f32[2]
name: read_data
arguments: data_label: D26
datatype: byte[8]

tool: D38: 1

tool: D10: 9223372036854775807

tool: {"D19": [0.0,-0.0]}

tool: {"D26": [0x23,0x42,0x92,0x0c,0xa1,0x9c,0xc7,0x3b]}

assistant: ```c
int LUDecomp(double **a, int n, int *indx, double *d) {
  int i, imax, j, k;
  double big, dum, sum, temp;
  double *vv;
  vv = (double *)Array1D(n, sizeof(double));
  *d = 1.0;
  for (i = 0; i < n; i++) {
    big = 0.0;
    for (j = 0; j < n; j++)
      if ((temp = fabs(a[i][j])) > big)
        big = temp;
    if (big == 0.0) {
      return (0);
    }
    vv[i] = 1.0 / big;
  }
  for (j = 0; j < n; j++) {
    for (i = 0; i < j; i++) {
      sum = a[i][j];
      for (k = 0; k < i; k++)
        sum -= a[i][k] * a[k][j];
      a[i][j] = sum;
    }
    big = 0.0;
    for (i = j; i < n; i++) {
      sum = a[i][j];
      for (k = 0; k < j; k++)
        sum -= a[i][k] * a[k][j];
      a[i][j] = sum;
      if ((dum = vv[i] * fabs(sum)) >= big) {
        big = dum;
        imax = i;
      }
    }
    if (j != imax) {
      for (k = 0; k < n; k++) {
        dum = a[imax][k];
        a[imax][k] = a[j][k];
        a[j][k] = dum;
      }
      *d = -(*d);
      vv[imax] = vv[j];
    }
    indx[j] = imax;
    if (a[j][j] == 0.0)
      a[j][j] = 1.0e-20;
    ;
    if (j != n - 1) {
      dum = 1.0 / (a[j][j]);
      for (i = j + 1; i < n; i++)
        a[i][j] *= dum;
    }
  }
  FreeArray1D(vv);
  return (1);
}
```