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

```asm
<lu_decomp>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,%rbx
  mov    %esi,%r15d
  mov    %rdx,0x28(%rsp)
  mov    %rcx,%r14
  mov    %rcx,0x48(%rsp)
  mov    %esi,%edi
  call   <vec@plt>
  mov    %rax,0x20(%rsp)
  mov    D80(%rip),%rsi
  mov    %rsi,(%r14)
  movslq %r15d,%r13
  shl    $0x3,%r13
  lea    (%rbx,%r13,1),%r14
  cmp    %r14,%rbx
  jae    L238
  mov    %rax,%r12
  mov    %rbx,%rbp
  jmp    L92
L18:
  pxor   %xmm4,%xmm4
  movsd  %xmm4,0x8(%rsp)
L239:
  lea    D32(%rip),%rsi
  mov    $0xffffffff,%edi
  call   <int_error@plt>
L91:
  add    $0x8,%r12
  movsd  D80(%rip),%xmm0
  divsd  0x8(%rsp),%xmm0
  movsd  %xmm0,-0x8(%r12)
  add    $0x8,%rbp
  cmp    %rbp,%r14
  jbe    L238
L92:
  mov    0x0(%rbp),%rax
  lea    (%rax,%r13,1),%rdx
  cmp    %rdx,%rax
  jae    L18
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x8(%rsp)
L175:
  add    $0x8,%rax
  movsd  -0x8(%rax),%xmm0
  andpd  D67(%rip),%xmm0
  maxsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  cmp    %rax,%rdx
  ja     L175
  ucomisd D89(%rip),%xmm0
  jp     L91
  jne    L91
  jmp    L239
L238:
  test   %r15d,%r15d
  jle    L290
  lea    0x8(%rbx),%rcx
  mov    %rcx,0x38(%rsp)
  mov    %r15d,%eax
  shl    $0x3,%rax
  mov    %rax,0x40(%rsp)
  movq   $0x0,0x18(%rsp)
  movl   $0x1,0x30(%rsp)
  mov    $0x0,%r14d
  mov    $0x0,%esi
  movl   $0xffffffff,0x14(%rsp)
  pxor   %xmm5,%xmm5
  movq   D67(%rip),%xmm2
  movq   D18(%rip),%xmm8
  movapd %xmm5,%xmm4
  movapd %xmm5,%xmm3
  movsd  D27(%rip),%xmm7
  lea    -0x1(%r15),%eax
  mov    %eax,0x34(%rsp)
  movsd  D80(%rip),%xmm6
  jmp    L167
L131:
  mov    %rbp,%r12
  mov    %r8,%rdx
  add    0x0(%rbp),%rdx
  test   %r10d,%r10d
  jle    L257
  mov    $0x0,%eax
L30:
  mov    (%r12),%r13
  mov    (%rbx,%rax,1),%r9
  movsd  0x0(%r13,%rax,1),%xmm1
  mulsd  (%r9,%r8,1),%xmm1
  movsd  (%rdx),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx)
  add    $0x8,%rax
  cmp    %rax,%rdi
  jne    L30
L257:
  add    $0x8,%rbp
  add    $0x8,%rdi
L230:
  add    $0x1,%r10d
  cmp    %r10d,%r11d
  jne    L131
L136:
  add    $0x1,%esi
  add    $0x1,%r14
  addl   $0x1,0x30(%rsp)
  add    $0x8,%rcx
  subq   $0x8,0x18(%rsp)
L167:
  lea    0x0(,%r14,8),%rdi
  mov    0x20(%rsp),%r13
  mov    0x18(%rsp),%rdx
  sub    %rdx,%r13
  mov    %esi,%r12d
  cmp    %esi,%r15d
  jle    L95
  mov    %rbx,%r11
  sub    %rdx,%r11
  lea    -0x1(%rsi),%eax
  lea    0x8(,%rax,8),%r9
  mov    %r14,%r10
  movapd %xmm5,%xmm9
  add    %rdx,%r13
  mov    %r14,%r8
  jmp    L252
L196:
  add    $0x1,%r10
  add    $0x8,%r11
  cmp    %r10d,%r15d
  jle    L303
L252:
  mov    %r10d,%r14d
  mov    %r11,%rbp
  mov    %rdi,%rdx
  add    (%r11),%rdx
  test   %r12d,%r12d
  jle    L168
  mov    $0x0,%eax
  mov    %rcx,0x8(%rsp)
L304:
  mov    0x0(%rbp),%rcx
  movsd  (%rcx,%rax,1),%xmm1
  mov    (%rbx,%rax,1),%rcx
  mulsd  (%rcx,%rdi,1),%xmm1
  movsd  (%rdx),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rdx)
  add    $0x8,%rax
  cmp    %rax,%r9
  jne    L304
  mov    0x8(%rsp),%rcx
L168:
  movsd  (%rdx),%xmm0
  andpd  %xmm2,%xmm0
  mulsd  0x0(%r13,%r10,8),%xmm0
  comisd %xmm9,%xmm0
  jb     L196
  movapd %xmm0,%xmm9
  mov    %r14d,0x14(%rsp)
  jmp    L196
L303:
  mov    %r8,%r14
L95:
  mov    0x14(%rsp),%eax
  cmp    %r12d,%eax
  jne    L31
L202:
  mov    0x28(%rsp),%rax
  mov    0x14(%rsp),%edx
  mov    %edx,(%rax,%r14,4)
  mov    %rcx,%rdx
  mov    %rdi,%rax
  add    -0x8(%rcx),%rax
  ucomisd (%rax),%xmm4
  jp     L274
  ucomisd (%rax),%xmm3
  jne    L274
  movsd  %xmm7,(%rax)
L274:
  cmp    %r12d,0x34(%rsp)
  je     L46
  mov    -0x8(%rdx),%rax
  movapd %xmm6,%xmm1
  divsd  (%rax,%rdi,1),%xmm1
  mov    0x30(%rsp),%eax
  mov    %eax,%r11d
  cmp    %eax,%r15d
  jle    L290
  cltq
L292:
  mov    %rdi,%rdx
  add    (%rbx,%rax,8),%rdx
  movapd %xmm1,%xmm0
  mulsd  (%rdx),%xmm0
  movsd  %xmm0,(%rdx)
  add    $0x1,%rax
  cmp    %eax,%r15d
  jg     L292
L78:
  test   %r11d,%r11d
  jle    L136
  movslq %r11d,%r8
  shl    $0x3,%r8
  mov    0x38(%rsp),%rbp
  mov    $0x8,%edi
  mov    $0x0,%r10d
  jmp    L230
L31:
  movslq %eax,%r8
  mov    (%rbx,%r8,8),%rax
  mov    -0x8(%rcx),%rdx
  mov    0x40(%rsp),%r11
  lea    (%rax,%r11,1),%r9
L254:
  movsd  (%rax),%xmm0
  movsd  (%rdx),%xmm1
  movsd  %xmm1,(%rax)
  movsd  %xmm0,(%rdx)
  add    $0x8,%rax
  add    $0x8,%rdx
  cmp    %r9,%rax
  jne    L254
  mov    0x48(%rsp),%rax
  movsd  (%rax),%xmm0
  xorpd  %xmm8,%xmm0
  movsd  %xmm0,(%rax)
  mov    0x20(%rsp),%rax
  movsd  (%rax,%r14,8),%xmm0
  movsd  %xmm0,(%rax,%r8,8)
  jmp    L202
L46:
  mov    0x30(%rsp),%eax
  mov    %eax,%r11d
  cmp    %eax,%r15d
  jg     L78
L290:
  mov    0x20(%rsp),%rdi
  call   <free@plt>
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D80
type: f64
name: extract_symbolic_data
arguments: data_label: D32
type: string
name: extract_symbolic_data
arguments: data_label: D67
type: qword[2]
name: extract_symbolic_data
arguments: data_label: D89
type: f64
name: extract_symbolic_data
arguments: data_label: D18
type: byte[8]
name: extract_symbolic_data
arguments: data_label: D27
type: byte[8]

tool: D80: 1

tool: D32: Singular matrix in LU-DECOMP

tool: {"D67": [0x7fffffffffffffff,0x0000000000000000]}

tool: D89: 0

tool: {"D18": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80]}

tool: {"D27": [0xa0,0xc2,0xeb,0xfe,0x4b,0x48,0xb4,0x39]}

assistant: ```c
void lu_decomp(double **a, int n, int *indx, double *d) {
  int i, imax = -1, j, k;
  double large, dummy, temp, **ar, **lim, *limc, *ac, *dp, *vscal;
  dp = vscal = vec(n);
  *d = 1.0;
  for (ar = a, lim = &(a[n]); ar < lim; ar++) {
    large = 0.0;
    for (ac = *ar, limc = &(ac[n]); ac < limc;)
      if ((temp = fabs(*ac++)) > large)
        large = temp;
    if (large == 0.0)
      int_error((-1), "Singular matrix in LU-DECOMP");
    *dp++ = 1 / large;
  }
  ar = a;
  for (j = 0; j < n; j++, ar++) {
    for (i = 0; i < j; i++) {
      ac = &(a[i][j]);
      for (k = 0; k < i; k++)
        *ac -= a[i][k] * a[k][j];
    }
    large = 0.0;
    dp = &(vscal[j]);
    for (i = j; i < n; i++) {
      ac = &(a[i][j]);
      for (k = 0; k < j; k++)
        *ac -= a[i][k] * a[k][j];
      if ((dummy = *dp++ * fabs(*ac)) >= large) {
        large = dummy;
        imax = i;
      }
    }
    if (j != imax) {
      ac = a[imax];
      dp = *ar;
      for (k = 0; k < n; k++, ac++, dp++) {
        double temp = (*ac);
        (*ac) = (*dp);
        (*dp) = temp;
      };
      *d = -(*d);
      vscal[imax] = vscal[j];
    }
    indx[j] = imax;
    if (*(dp = &(*ar)[j]) == 0)
      *dp = 1e-30;
    if (j != n - 1) {
      dummy = 1 / (*ar)[j];
      for (i = j + 1; i < n; i++)
        a[i][j] *= dummy;
    }
  }
  free(vscal);
}
```