user: 这段汇编代码用C语言表示是什么样的?

```asm
<cholsol>:
  endbr64
  push   %r15
  movslq %edx,%rax
  push   %r14
  mov    %rsi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %eax,0x1c(%rsp)
  test   %eax,%eax
  jle    L181
  movslq 0x1c(%rsp),%rax
  mov    %rsi,0x20(%rsp)
  xor    %r15d,%r15d
  pxor   %xmm2,%xmm2
  lea    0x0(,%rax,8),%rbx
  mov    %rax,0x10(%rsp)
  lea    0x8(,%rax,8),%r13
  mov    0x8(%rsp),%rax
  lea    (%rax,%rbx,1),%r12
  mov    %rax,%rbp
  mov    %rax,%r14
  xchg   %ax,%ax
L38:
  mov    %r15d,%r11d
  test   %r15,%r15
  je     L169
  mov    %r15,%rdi
  movsd  0x0(%rbp),%xmm1
  mov    0x8(%rsp),%r10
  xor    %r8d,%r8d
  neg    %rdi
  xor    %esi,%esi
  nopl   0x0(%rax)
L149:
  lea    0x1(%rsi),%r9d
  divsd  (%r10),%xmm1
  movsd  %xmm1,0x0(%rbp,%r8,1)
  cmp    %r9d,%r11d
  je     L130
  movsd  (%r12,%r8,1),%xmm1
  mov    %rbp,%rax
  xor    %edx,%edx
  nopl   0x0(%rax,%rax,1)
L55:
  movsd  (%rax),%xmm0
  mulsd  0x8(%rax,%rdi,8),%xmm0
  mov    %edx,%ecx
  add    %rbx,%rax
  add    $0x1,%edx
  subsd  %xmm0,%xmm1
  cmp    %esi,%ecx
  jne    L55
  add    %rbx,%r8
  add    %r13,%r10
  add    $0x1,%rdi
  mov    %r9d,%esi
  jmp    L149
  nopl   0x0(%rax)
L130:
  movsd  (%r14),%xmm1
  mov    %rbp,%rdx
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L106:
  movsd  (%rdx),%xmm0
  mov    %eax,%ecx
  add    %rbx,%rdx
  add    $0x1,%eax
  mulsd  %xmm0,%xmm0
  subsd  %xmm0,%xmm1
  cmp    %esi,%ecx
  jne    L106
  comisd %xmm2,%xmm1
  jb     L90
L137:
  ucomisd %xmm1,%xmm2
  ja     L216
  sqrtsd %xmm1,%xmm1
L135:
  movsd  %xmm1,(%r14)
  add    $0x1,%r15
  add    %r13,%r14
  add    $0x8,%rbp
  add    $0x8,%r12
  cmp    0x10(%rsp),%r15
  jne    L38
  mov    0x20(%rsp),%r14
L79:
  mov    0x1c(%rsp),%esi
  mov    0x10(%rsp),%rcx
  mov    0x8(%rsp),%rdx
  movsd  (%r14),%xmm0
  lea    -0x1(%rsi),%edi
  mov    %esi,%eax
  shl    $0x3,%rcx
  lea    -0x2(%rsi),%r13d
  imul   %edi,%eax
  divsd  (%rdx),%xmm0
  lea    -0x8(%r14,%rcx,1),%rbp
  movsd  %xmm0,(%r14)
  mov    %eax,%r15d
  lea    (%rdi,%rax,1),%eax
  cltq
  lea    (%rdx,%rax,8),%r12
  mov    %esi,%eax
  cmp    $0x1,%esi
  jle    L40
  lea    0x8(%r14),%r11
  lea    0x8(%rcx),%rbx
  mov    %edi,0x10(%rsp)
  pxor   %xmm2,%xmm2
  lea    (%rdx,%rbx,1),%r10
  lea    0x8(%rdx),%r9
  mov    %r11,%rsi
  mov    %eax,%edi
  mov    $0x1,%r8d
L86:
  mov    %r11,%rax
  mov    %r9,%rdx
  movapd %xmm2,%xmm1
  jmp    L122
  nopl   0x0(%rax,%rax,1)
L209:
  movsd  (%rax),%xmm0
  add    $0x8,%rax
L122:
  mulsd  (%rdx),%xmm0
  add    %rcx,%rdx
  addsd  %xmm0,%xmm1
  cmp    %rax,%rsi
  jne    L209
  movsd  (%rsi),%xmm0
  add    $0x1,%r8d
  add    $0x8,%rsi
  add    $0x8,%r9
  subsd  %xmm1,%xmm0
  divsd  (%r10),%xmm0
  add    %rbx,%r10
  movsd  %xmm0,-0x8(%rsi)
  cmp    %r8d,%edi
  je     L154
  movsd  (%r14),%xmm0
  jmp    L86
L169:
  movsd  (%r14),%xmm1
  comisd %xmm2,%xmm1
  jae    L137
L90:
  add    $0x38,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L154:
  mov    0x10(%rsp),%edi
  movsd  0x0(%rbp),%xmm0
  divsd  (%r12),%xmm0
  movsd  %xmm0,0x0(%rbp)
L3:
  mov    0x1c(%rsp),%ebx
  mov    %r15d,%eax
  movslq %r13d,%rsi
  mov    %ebx,%r10d
  sub    %ebx,%eax
  not    %r10d
  cltq
  movslq %r10d,%r9
  mov    %ebx,%r10d
  mov    0x8(%rsp),%rbx
  lea    (%rax,%rsi,1),%rdx
  shl    $0x3,%r9
  lea    (%rbx,%rdx,8),%r8
  lea    (%rbx,%rax,8),%rdx
L142:
  cmp    %edi,%r10d
  jle    L108
  movslq %edi,%rax
  movapd %xmm2,%xmm1
  nopw   0x0(%rax,%rax,1)
L226:
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  (%r14,%rax,8),%xmm0
  add    $0x1,%rax
  addsd  %xmm0,%xmm1
  cmp    %eax,%r10d
  jg     L226
L99:
  movsd  (%r14,%rsi,8),%xmm0
  sub    $0x1,%edi
  sub    %rcx,%rdx
  subsd  %xmm1,%xmm0
  divsd  (%r8),%xmm0
  movsd  %xmm0,(%r14,%rsi,8)
  sub    $0x1,%rsi
  add    %r9,%r8
  test   %esi,%esi
  jns    L142
L218:
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L108:
  movapd %xmm2,%xmm1
  jmp    L99
L40:
  movsd  0x0(%rbp),%xmm0
  divsd  (%r12),%xmm0
  movsd  %xmm0,0x0(%rbp)
  test   %r13d,%r13d
  js     L218
  pxor   %xmm2,%xmm2
  jmp    L3
  nopl   0x0(%rax,%rax,1)
L181:
  mov    %rax,0x10(%rsp)
  jmp    L79
L216:
  movapd %xmm1,%xmm0
  movsd  %xmm2,0x28(%rsp)
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm2
  movapd %xmm0,%xmm1
  jmp    L135
```

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