user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<sludecomp>:
  endbr64
  cmp    $0x1,%esi
  jle    L83
  push   %r15
  lea    -0x2(%rsi),%eax
  mov    %esi,%r15d
  push   %r14
  mov    $0x10,%r14d
  push   %r13
  lea    -0x1(%rsi),%r13d
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  movslq %esi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  lea    0x8(,%rbp,8),%rdi
  sub    $0x68,%rsp
  mov    %eax,0x50(%rsp)
  mov    %rax,0x40(%rsp)
  lea    0x0(,%rbp,8),%rax
  mov    %rax,0x18(%rsp)
  lea    -0x8(%rbx),%rax
  mov    %rax,0x58(%rsp)
  lea    (%rsi,%rsi,1),%eax
  movq   $0x0,0x8(%rsp)
  mov    0x8(%rsp),%rcx
  mov    %rdi,0x38(%rsp)
  movq   $0x0,0x30(%rsp)
  mov    %eax,0x54(%rsp)
  jmp    L91
L137:
  lea    D9(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
L13:
  mov    0x8(%rsp),%rax
  add    $0x1,%rax
  mov    %rax,0x28(%rsp)
L38:
  mov    0x24(%rsp),%r12d
  subl   $0x1,0x50(%rsp)
  sub    $0x1,%r13d
  add    %rbp,0x30(%rsp)
  mov    0x40(%rsp),%rsi
  add    0x54(%rsp),%r12d
  add    0x38(%rsp),%r14
  cmp    %rsi,0x8(%rsp)
  je     L68
  mov    0x28(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rax,%rcx
L91:
  movsd  -0x10(%rbx,%r14,1),%xmm4
  mov    %r12d,%eax
  pxor   %xmm5,%xmm5
  mov    %ecx,%edx
  sub    %r15d,%eax
  lea    0x1(%rcx),%edi
  ucomisd %xmm5,%xmm4
  mov    %eax,0x24(%rsp)
  mov    %edi,%r11d
  jp     L7
  je     L137
L7:
  cmp    %edi,%r15d
  jle    L13
  mov    0x8(%rsp),%rcx
  mov    0x30(%rsp),%r10
  movslq %r12d,%rax
  mov    %r15d,%r8d
  sub    %edx,%r8d
  lea    0x1(%rcx),%rsi
  sub    %rax,%r10
  mov    %r8d,0x14(%rsp)
  lea    (%rsi,%rax,1),%rcx
  mov    %r13d,%eax
  mov    %rsi,0x28(%rsp)
  shr    %eax
  shl    $0x3,%rcx
  lea    -0x1(%rax),%esi
  mov    %r13d,%eax
  and    $0xfffffffe,%eax
  add    $0x1,%rsi
  add    %eax,%edi
  mov    %eax,0x20(%rsp)
  mov    0x24(%rsp),%eax
  shl    $0x4,%rsi
  add    %edi,%eax
  cltq
  lea    (%rbx,%rax,8),%r9
  mov    0x50(%rsp),%eax
  lea    0x8(%rbx,%rax,8),%rax
  mov    %rax,0x48(%rsp)
  mov    0x58(%rsp),%rax
  lea    (%rax,%r14,1),%r8
  nopw   0x0(%rax,%rax,1)
L15:
  movsd  -0x8(%rbx,%rcx,1),%xmm0
  cmpl   $0x2,0x14(%rsp)
  divsd  %xmm4,%xmm0
  movsd  %xmm0,-0x8(%rbx,%rcx,1)
  je     L29
  cmp    %r14,%rcx
  je     L29
  movapd %xmm0,%xmm3
  lea    (%rbx,%rcx,1),%rdx
  xor    %eax,%eax
  unpcklpd %xmm3,%xmm3
  nopw   0x0(%rax,%rax,1)
L139:
  movupd (%r8,%rax,1),%xmm2
  movupd (%rdx,%rax,1),%xmm1
  mulpd  %xmm3,%xmm2
  subpd  %xmm2,%xmm1
  movups %xmm1,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rsi,%rax
  jne    L139
  cmp    %r13d,0x20(%rsp)
  je     L104
  mulsd  (%r9),%xmm0
  lea    (%r12,%rdi,1),%eax
  cltq
  lea    (%rbx,%rax,8),%rax
  movsd  (%rax),%xmm1
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
L104:
  add    $0x1,%r11d
  add    0x18(%rsp),%rcx
  add    %r15d,%r12d
  sub    %rbp,%r10
  cmp    %r11d,%r15d
  jne    L15
  jmp    L38
  nop
L29:
  mov    0x48(%rsp),%rdx
  lea    (%rbx,%rcx,1),%rax
  add    %rcx,%rdx
  nopl   0x0(%rax)
L22:
  movsd  (%rax,%r10,8),%xmm2
  movsd  (%rax),%xmm1
  add    $0x8,%rax
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm1
  movsd  %xmm1,-0x8(%rax)
  cmp    %rdx,%rax
  jne    L22
  jmp    L104
L68:
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L83:
  xor    %eax,%eax
  ret
```

tool_calls: name: retrieve_data
arguments: label: D9
datatype: string

tool: D9: The Matrix is Singular

assistant: ```c
int sludecomp(double *A, int N) {
  int k, j, l, c1, c2;
  double ld, mult;
  for (k = 0; k < N - 1; ++k) {
    c2 = k * N;
    ld = A[c2 + k];
    if (ld != 0.) {
      for (j = k + 1; j < N; ++j) {
        c1 = j * N;
        mult = A[c1 + k] /= ld;
        for (l = k + 1; l < N; ++l) {
          A[c1 + l] -= mult * A[c2 + l];
        }
      }
    } else {
      printf("The Matrix is Singular");
      exit(-1);
    }
  }
  return 0;
}
```