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

```asm
<Determinant>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x1(%rsi),%ebx
  movslq %ebx,%r12
  shl    $0x3,%r12
  sub    $0x28,%rsp
  mov    %r12,%rdi
  mov    %esi,0x14(%rsp)
  call   <malloc@plt>
  mov    %rax,%r14
  test   %ebx,%ebx
  jle    L59
  mov    %rax,%rbp
  mov    0x14(%rsp),%eax
  sub    $0x2,%eax
  lea    0x8(%r14,%rax,8),%r13
  nopl   0x0(%rax)
L79:
  mov    %r12,%rdi
  add    $0x8,%rbp
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  cmp    %r13,%rbp
  jne    L79
L59:
  cmpl   $0x2,0x14(%rsp)
  je     L5
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jle    L117
  pxor   %xmm4,%xmm4
  movslq %eax,%r12
  xor    %r13d,%r13d
  movsd  %xmm4,0x8(%rsp)
L40:
  mov    %r13d,%r11d
  test   %ebx,%ebx
  jle    L82
  mov    0x14(%rsp),%eax
  mov    $0x1,%r9d
  lea    -0x2(%rax),%r8d
  lea    0x2(%r8),%r10
  nopl   (%rax)
L52:
  mov    (%r15,%r9,8),%rdi
  mov    -0x8(%r14,%r9,8),%rsi
  xor    %edx,%edx
  xor    %eax,%eax
  jmp    L10
  nop
L89:
  mov    %rcx,%rdx
L10:
  xor    %ecx,%ecx
  cmp    %edx,%r13d
  sete   %cl
  add    %ecx,%eax
  movslq %eax,%rcx
  add    $0x1,%eax
  movsd  (%rdi,%rcx,8),%xmm0
  lea    0x1(%rdx),%rcx
  movsd  %xmm0,(%rsi,%rdx,8)
  cmp    %rdx,%r8
  jne    L89
  add    $0x1,%r9
  cmp    %r9,%r10
  jne    L52
L82:
  mov    D17(%rip),%rax
  and    $0x1,%r11d
  movq   %rax,%xmm0
  je     L20
  mov    D0(%rip),%rax
  movq   %rax,%xmm0
L20:
  mov    (%r15),%rax
  mov    %ebx,%esi
  mov    %r14,%rdi
  mulsd  (%rax,%r13,8),%xmm0
  add    $0x1,%r13
  movsd  %xmm0,0x18(%rsp)
  call   <Determinant>
  mulsd  0x18(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  cmp    %r13,%r12
  jne    L40
L62:
  test   %ebx,%ebx
  jle    L94
  xor    %ebp,%ebp
  nopl   0x0(%rax,%rax,1)
L48:
  mov    (%r14,%rbp,8),%rdi
  add    $0x1,%rbp
  call   <free@plt>
  cmp    %ebp,%ebx
  jg     L48
L94:
  mov    %r14,%rdi
  call   <free@plt>
  movsd  0x8(%rsp),%xmm0
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L5:
  mov    (%r15),%rdx
  mov    0x8(%r15),%rax
  mov    (%r14),%rdi
  movsd  (%rdx),%xmm0
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  0x8(%rdx),%xmm0
  mulsd  (%rax),%xmm0
  subsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  call   <free@plt>
  jmp    L94
L117:
  pxor   %xmm5,%xmm5
  movsd  %xmm5,0x8(%rsp)
  jmp    L62
```

tool_calls: name: parse_data
arguments: data_label: D17
type_infered: f32[2]
name: parse_data
arguments: data_label: D0
type_infered: f32[2]

tool: {"D17": [0.0,1.875]}

tool: {"D0": [0.0,-1.875]}

assistant: ```c
double Determinant(double **matrixA, int userN) {
  int userM = 0;
  int counter = 0;
  int determinantACheck = 0;
  int determinantARow = 0;
  int determinantAColumn = 0;
  int sign = 1;
  double determinantResult = 0;
  double **matrixDeterminantA;
  userM = userN - 1;
  matrixDeterminantA = (double **)malloc(sizeof(double *) * userM);
  for (counter = 0; counter < userM; counter++) {
    matrixDeterminantA[counter] = (double *)malloc(sizeof(double) * userM);
  }
  if (userN == 2) {
    determinantResult = (matrixA[0][0] * matrixA[1][1]) - (matrixA[0][1] * matrixA[1][0]);
  } else {
    for (counter = 0; counter < userN; counter++) {
      for (determinantARow = 0; determinantARow < userM; determinantARow++) {
        determinantACheck = 0;
        for (determinantAColumn = 0; determinantAColumn < userM; determinantAColumn++) {
          if (determinantAColumn == counter) {
            determinantACheck++;
          }
          matrixDeterminantA[determinantARow][determinantAColumn] = matrixA[determinantARow + 1][determinantACheck];
          determinantACheck++;
        }
      }
      if (counter % 2 == 1) {
        sign = -1;
      } else {
        sign = 1;
      }
      determinantResult += sign * matrixA[0][counter] * Determinant(matrixDeterminantA, userM);
    }
  }
  for (counter = 0; counter < userM; counter++) {
    free(matrixDeterminantA[counter]);
  }
  free(matrixDeterminantA);
  return determinantResult;
}
```