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

```asm
<choldc>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %esi,0xc(%rsp)
  test   %esi,%esi
  jle    L80
  mov    %rdi,%r8
  mov    $0x1,%r11d
  pxor   %xmm3,%xmm3
  xor    %r15d,%r15d
  mov    $0xfffffffffffffff8,%r9
L53:
  mov    %r15d,%eax
  mov    %r15d,%ebp
  mov    (%r8,%r11,8),%r14
  mov    %r11d,%r10d
  shr    %eax
  and    $0x1,%ebp
  lea    0x0(,%r11,8),%rdi
  mov    %r11,%rbx
  lea    -0x1(%rax),%r13d
  mov    %r15d,%eax
  not    %r13
  and    $0xfffffffe,%eax
  shl    $0x4,%r13
  cmp    $0x2,%r11d
  mov    %eax,0x30(%rsp)
  cmove  %r15d,%ebp
  movslq %ebp,%rbp
  shl    $0x3,%rbp
  lea    (%r14,%rbp,1),%r12
  nopw   0x0(%rax,%rax,1)
L37:
  movsd  (%r14,%rbx,8),%xmm1
  test   %r15d,%r15d
  je     L66
  mov    (%r8,%rbx,8),%rdx
  cmp    $0x2,%r11
  je     L101
  lea    (%r14,%r9,1),%rsi
  lea    (%rdx,%r9,1),%rcx
  xor    %eax,%eax
  nop
L138:
  movupd (%rcx,%rax,1),%xmm0
  movupd (%rsi,%rax,1),%xmm2
  sub    $0x10,%rax
  shufpd $0x1,%xmm0,%xmm0
  shufpd $0x1,%xmm2,%xmm2
  mulpd  %xmm2,%xmm0
  subsd  %xmm0,%xmm1
  unpckhpd %xmm0,%xmm0
  subsd  %xmm0,%xmm1
  cmp    %r13,%rax
  jne    L138
  cmp    0x30(%rsp),%r15d
  je     L66
L101:
  movsd  (%rdx,%rbp,1),%xmm0
  mulsd  (%r12),%xmm0
  subsd  %xmm0,%xmm1
L66:
  cmp    %ebx,%r10d
  je     L105
  mov    (%r8,%rbx,8),%rax
  divsd  (%r14,%rdi,1),%xmm1
  movsd  %xmm1,(%rax,%rdi,1)
L137:
  add    $0x1,%rbx
  cmp    %ebx,0xc(%rsp)
  jge    L37
  add    $0x1,%r15d
  add    $0x1,%r11
  add    $0x8,%r9
  cmp    %r11d,0xc(%rsp)
  jge    L53
  cmpl   $0x1,0xc(%rsp)
  jle    L80
  mov    0xc(%rsp),%r12d
  mov    $0x2,%ebx
  mov    %r8,%r13
  lea    0x1(%r12),%ebp
L96:
  cmp    %ebx,%r12d
  jl     L97
  mov    %r12d,%eax
  xor    %esi,%esi
  sub    %ebx,%eax
  lea    0x8(,%rax,8),%rdx
  mov    -0x8(%r13,%rbx,8),%rax
  lea    (%rax,%rbx,8),%rdi
  call   <memset@plt>
L97:
  add    $0x1,%rbx
  cmp    %rbx,%rbp
  jne    L96
L80:
  add    $0x48,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L105:
  comisd %xmm1,%xmm3
  jae    L118
  ucomisd %xmm1,%xmm3
  lea    (%r14,%rdi,1),%rax
  ja     L117
  sqrtsd %xmm1,%xmm1
L99:
  movsd  %xmm1,(%rax)
  jmp    L137
L118:
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L117:
  movapd %xmm1,%xmm0
  mov    %r8,0x38(%rsp)
  mov    %r10d,0x34(%rsp)
  mov    %rdi,0x28(%rsp)
  mov    %r9,0x20(%rsp)
  mov    %r11,0x18(%rsp)
  mov    %rax,0x10(%rsp)
  call   <sqrt@plt>
  mov    0x38(%rsp),%r8
  mov    0x34(%rsp),%r10d
  pxor   %xmm3,%xmm3
  mov    0x28(%rsp),%rdi
  mov    0x20(%rsp),%r9
  movapd %xmm0,%xmm1
  mov    0x18(%rsp),%r11
  mov    0x10(%rsp),%rax
  jmp    L99
```

assistant: ```c
int choldc(double **a, int n) {
  int i, j, k;
  double sum;
  for (i = 1; i <= n; i++) {
    for (j = i; j <= n; j++) {
      for (sum = a[i][j], k = i - 1; k >= 1; k--)
        sum -= a[i][k] * a[j][k];
      if (i == j) {
        if (sum <= 0.0)
          return (0);
        a[i][i] = sqrt(sum);
      } else
        a[j][i] = sum / a[i][i];
    }
  }
  for (i = 1; i <= n - 1; i++)
    for (j = i + 1; j <= n; j++)
      a[i][j] = 0.0;
  return (1);
}
```