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

```asm
<cholmod>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  movslq %esi,%r13
  push   %r12
  mov    %r13,%r12
  push   %rbp
  mov    %r13d,%ebp
  push   %rbx
  imul   %r13d,%ebp
  sub    $0x78,%rsp
  mov    %rdi,0x18(%rsp)
  lea    0x0(,%rbp,8),%edi
  mov    %rdx,0x8(%rsp)
  movsd  %xmm0,(%rsp)
  call   <malloc@plt>
  movsd  (%rsp),%xmm4
  movsd  D17(%rip),%xmm7
  mov    %rax,0x30(%rsp)
  mulsd  %xmm4,%xmm7
  test   %r13d,%r13d
  jle    L139
  lea    0x1(%r13),%rbx
  mov    %r13d,%ecx
  mov    %r15,%rdx
  lea    0x0(,%rbx,8),%rsi
  lea    (%rax,%rcx,8),%rcx
  nopw   0x0(%rax,%rax,1)
L206:
  movsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    %rsi,%rdx
  movsd  %xmm0,-0x8(%rax)
  cmp    %rcx,%rax
  jne    L206
  lea    -0x1(%rbp),%eax
  test   %ebp,%ebp
  mov    0x8(%rsp),%rdi
  movsd  %xmm4,0x10(%rsp)
  lea    0x8(,%rax,8),%rdx
  mov    $0x8,%eax
  movsd  %xmm7,(%rsp)
  cmovle %rax,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  mov    0x30(%rsp),%rdi
  mov    %r12d,%esi
  call   <array_max_abs@plt>
  movsd  0x10(%rsp),%xmm4
  pxor   %xmm2,%xmm2
  movsd  (%rsp),%xmm7
  ucomisd %xmm2,%xmm4
  jp     L238
  je     L230
L238:
  movsd  D23(%rip),%xmm6
  mulsd  %xmm4,%xmm6
L125:
  mov    0x8(%rsp),%rbp
  mov    %r13,(%rsp)
  xor    %r11d,%r11d
  movapd %xmm2,%xmm5
  lea    0x0(,%rbx,8),%rax
  movq   D18(%rip),%xmm3
  mov    $0x1,%r10d
  movapd %xmm2,%xmm1
  lea    -0x8(%rax),%r15
  mov    %rax,0x28(%rsp)
  lea    0x8(%rbp),%rax
  mov    %rax,0x20(%rsp)
  lea    (%rax,%r15,1),%r14
  mov    0x18(%rsp),%rax
  mov    %rax,0x10(%rsp)
  nopl   0x0(%rax,%rax,1)
L185:
  mov    0x10(%rsp),%rax
  mov    %r10d,%r8d
  mov    %r10d,%ebx
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x0(%rbp)
  cmp    %r10d,%r12d
  jle    L159
  mov    0x8(%rsp),%rax
  lea    0x0(,%r11,8),%rdi
  mov    0x20(%rsp),%rsi
  movapd %xmm2,%xmm8
  movslq (%rsp),%rdx
  lea    (%rax,%rdi,1),%r9
  lea    -0x2(%r10),%eax
  add    0x18(%rsp),%rdi
  add    %r11,%rax
  sub    %r11,%rdx
  lea    (%rsi,%rax,8),%rcx
  mov    %r10,%rsi
  cs nopw 0x0(%rax,%rax,1)
L36:
  cmp    $0x1,%r8d
  je     L239
  mov    %r9,%rax
  movapd %xmm2,%xmm1
  nopl   0x0(%rax)
L132:
  movsd  (%rax),%xmm0
  mulsd  (%rax,%rdx,8),%xmm0
  add    $0x8,%rax
  addsd  %xmm0,%xmm1
  cmp    %rax,%rcx
  jne    L132
L8:
  movsd  (%rdi,%rsi,8),%xmm0
  add    $0x1,%rsi
  subsd  %xmm1,%xmm0
  movsd  %xmm0,0x0(%rbp,%rdx,8)
  andpd  %xmm3,%xmm0
  add    %r13,%rdx
  maxsd  %xmm8,%xmm0
  movapd %xmm0,%xmm8
  cmp    %esi,%r12d
  jg     L36
  movsd  0x0(%rbp),%xmm0
L229:
  divsd  %xmm4,%xmm8
  maxsd  %xmm7,%xmm8
  movapd %xmm8,%xmm1
  mulsd  %xmm8,%xmm1
  comisd %xmm1,%xmm0
  ja     L23
  comisd %xmm8,%xmm6
  jbe    L119
  movapd %xmm6,%xmm1
  movapd %xmm6,%xmm8
  mulsd  %xmm6,%xmm1
L119:
  subsd  %xmm0,%xmm1
  maxsd  %xmm5,%xmm1
  movapd %xmm1,%xmm5
L35:
  movsd  %xmm8,0x0(%rbp)
  cmp    %r13,%r10
  je     L111
L163:
  lea    -0x8(%r14),%rax
  nopl   (%rax)
L64:
  add    $0x1,%ebx
  movsd  (%rax),%xmm0
  divsd  0x0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  add    %r15,%rax
  cmp    %ebx,%r12d
  jne    L64
  mov    0x8(%rsp),%rax
  mov    (%rsp),%rdi
  movapd %xmm2,%xmm1
  lea    (%rax,%rdi,8),%rax
  nopl   0x0(%rax)
L7:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  cmp    %r14,%rax
  jne    L7
  mov    0x28(%rsp),%rax
  add    %r13,(%rsp)
  add    %r13,%r11
  add    $0x1,%r10
  add    %rax,0x10(%rsp)
  add    %rax,%rbp
  add    %rax,%r14
  jmp    L185
  nopl   (%rax)
L239:
  movapd %xmm2,%xmm1
  jmp    L8
L23:
  ucomisd %xmm0,%xmm2
  ja     L42
  sqrtsd %xmm0,%xmm0
  movapd %xmm0,%xmm8
  movsd  %xmm8,0x0(%rbp)
  cmp    %r13,%r10
  jne    L163
L111:
  mov    0x30(%rsp),%rdi
  movsd  %xmm5,(%rsp)
  call   <free@plt>
  movsd  (%rsp),%xmm5
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  movapd %xmm5,%xmm0
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L159:
  movapd %xmm2,%xmm8
  jmp    L229
L139:
  test   %ebp,%ebp
  jne    L214
  movsd  %xmm4,0x10(%rsp)
  movsd  %xmm7,(%rsp)
L39:
  mov    0x30(%rsp),%rdi
  mov    %r12d,%esi
  call   <array_max_abs@plt>
  movsd  0x10(%rsp),%xmm4
  pxor   %xmm2,%xmm2
  ucomisd %xmm2,%xmm4
  jp     L226
  movsd  (%rsp),%xmm7
  jne    L226
L230:
  ucomisd %xmm0,%xmm2
  ja     L234
  movapd %xmm0,%xmm4
  sqrtsd %xmm4,%xmm4
L156:
  movsd  D23(%rip),%xmm6
  mulsd  %xmm4,%xmm6
  test   %r12d,%r12d
  jle    L226
  lea    0x1(%r13),%rbx
  jmp    L125
L226:
  movapd %xmm2,%xmm5
  jmp    L111
L214:
  lea    -0x1(%rbp),%eax
  mov    0x8(%rsp),%rdi
  movsd  %xmm4,0x10(%rsp)
  lea    0x8(,%rax,8),%rdx
  mov    $0x8,%eax
  movsd  %xmm7,(%rsp)
  cmovle %rax,%rdx
  xor    %esi,%esi
  call   <memset@plt>
  jmp    L39
  nopl   0x0(%rax)
L42:
  mov    %r10,0x68(%rsp)
  mov    %r11,0x60(%rsp)
  movsd  %xmm2,0x58(%rsp)
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm5,0x48(%rsp)
  movsd  %xmm6,0x40(%rsp)
  movsd  %xmm7,0x38(%rsp)
  call   <sqrt@plt>
  movsd  0x38(%rsp),%xmm7
  mov    0x60(%rsp),%r11
  movsd  0x40(%rsp),%xmm6
  movsd  0x48(%rsp),%xmm5
  movapd %xmm0,%xmm8
  movsd  0x50(%rsp),%xmm4
  movsd  0x58(%rsp),%xmm2
  movq   D18(%rip),%xmm3
  mov    0x68(%rsp),%r10
  jmp    L35
L234:
  movsd  %xmm2,0x10(%rsp)
  movsd  %xmm7,(%rsp)
  call   <sqrt@plt>
  movsd  0x10(%rsp),%xmm2
  movsd  (%rsp),%xmm7
  movapd %xmm0,%xmm4
  jmp    L156
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D17
type_infered: byte[8]
name: extract_symbolic_data
arguments: data_tag: D23
type_infered: byte[8]
name: extract_symbolic_data
arguments: data_tag: D18
type_infered: qword

tool: {"D17": [0x23,0x26,0xc1,0x61,0xea,0x4e,0x27,0x3f]}

tool: {"D23": [0x40,0xeb,0xd6,0x89,0x33,0xfa,0x60,0x3e]}

tool: D18: 9223372036854775807

assistant: ```c
double cholmod(double *A, int N, double *L, double maxinp) {
  int i, j, k, step, step2;
  double beta, d1, ls;
  double *U22;
  double maxadd, maxdiag, minl, minl2, minljj;
  U22 = (double *)malloc(sizeof(double) * N * N);
  minl = sqrt(sqrt((double)1e-15)) * maxinp;
  maxadd = 0.0;
  for (i = 0; i < N; ++i) {
    U22[i] = A[i + i * N];
  }
  for (i = 0; i < N * N; ++i) {
    L[i] = 0.0;
  }
  maxdiag = array_max_abs(U22, N);
  if (maxinp == 0.0) {
    maxinp = sqrt(maxdiag);
  }
  minl2 = sqrt((double)1e-15) * maxinp;
  for (j = 0; j < N; ++j) {
    step = j * N;
    ls = 0.0;
    for (i = 0; i < j; ++i) {
      ls += L[step + i] * L[step + i];
    }
    L[step + j] = A[step + j] - ls;
    minljj = 0.0;
    for (i = j + 1; i < N; ++i) {
      ls = 0.0;
      step2 = i * N;
      for (k = 0; k < j; ++k) {
        ls += L[step + k] * L[step2 + k];
      }
      L[step2 + j] = A[step + i] - ls;
      if (fabs(L[step2 + j]) > minljj) {
        minljj = fabs(L[step2 + j]);
      }
    }
    if (minljj / maxinp > minl) {
      minljj = minljj / maxinp;
    } else {
      minljj = minl;
    }
    if (L[step + j] > minljj * minljj) {
      L[step + j] = sqrt(L[step + j]);
    } else {
      if (minljj < minl2) {
        minljj = minl2;
      }
      if (maxadd < (minljj * minljj - L[step + j])) {
        maxadd = minljj * minljj - L[step + j];
      }
      L[step + j] = minljj;
    }
    for (i = j + 1; i < N; ++i) {
      L[i * N + j] /= L[step + j];
    }
  }
  free(U22);
  return maxadd;
}
```