user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<determinant>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x110,%rsp
  mov    %rdi,-0xf8(%rbp)
  mov    %esi,-0xfc(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  lea    -0xd0(%rbp),%rdx
  mov    $0x0,%eax
  mov    $0x19,%ecx
  mov    %rdx,%rdi
  rep stos %rax,%es:(%rdi)
  cmpl   $0x0,-0xfc(%rbp)
  jle    L139
  cmpl   $0x1,-0xfc(%rbp)
  jne    L16
  mov    -0xf8(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  jmp    L139
L16:
  cmpl   $0x2,-0xfc(%rbp)
  jne    L53
  mov    -0xf8(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0xf8(%rbp),%rax
  add    $0x28,%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0xf8(%rbp),%rax
  add    $0x28,%rax
  movsd  (%rax),%xmm2
  mov    -0xf8(%rbp),%rax
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  jmp    L139
L53:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  movl   $0x0,-0xe0(%rbp)
  jmp    L127
L56:
  movl   $0x1,-0xe8(%rbp)
  jmp    L52
L78:
  movl   $0x0,-0xdc(%rbp)
  movl   $0x0,-0xe4(%rbp)
  jmp    L133
L46:
  mov    -0xe4(%rbp),%eax
  cmp    -0xe0(%rbp),%eax
  je     L96
  mov    -0xe8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0xf8(%rbp),%rax
  add    %rax,%rdx
  mov    -0xe8(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0xe4(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0xdc(%rbp),%eax
  movslq %eax,%rsi
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  movsd  %xmm0,-0xd0(%rbp,%rax,8)
  addl   $0x1,-0xdc(%rbp)
  jmp    L3
L96:
  nop
L3:
  addl   $0x1,-0xe4(%rbp)
L133:
  mov    -0xe4(%rbp),%eax
  cmp    -0xfc(%rbp),%eax
  jl     L46
  addl   $0x1,-0xe8(%rbp)
L52:
  mov    -0xe8(%rbp),%eax
  cmp    -0xfc(%rbp),%eax
  jl     L78
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0xe0(%rbp),%xmm1
  movsd  D6(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edx
  mov    D9(%rip),%rax
  mov    %edx,%edi
  movq   %rax,%xmm0
  call   <pow@plt>
  mov    -0xf8(%rbp),%rax
  mov    -0xe0(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x108(%rbp)
  mov    -0xfc(%rbp),%eax
  lea    -0x1(%rax),%edx
  lea    -0xd0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <determinant>
  mulsd  -0x108(%rbp),%xmm0
  movsd  -0xd8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  addl   $0x1,-0xe0(%rbp)
L127:
  mov    -0xe0(%rbp),%eax
  cmp    -0xfc(%rbp),%eax
  jl     L56
L139:
  movsd  -0xd8(%rbp),%xmm0
  movq   %xmm0,%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L86
  call   <__stack_chk_fail@plt>
L86:
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D6
type_infered: f64
name: read_data
arguments: label: D9
type_infered: f32[2]

tool: D6: 2

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

assistant: ```c
double determinant(double a[5][5], int n) {
  int i, j, j1, j2;
  double det = 0;
  double m[5][5] = {0};
  if (n < 1) {
  } else if (n == 1) {
    det = a[0][0];
  } else if (n == 2) {
    det = a[0][0] * a[1][1] - a[1][0] * a[0][1];
  } else {
    det = 0;
    for (j1 = 0; j1 < n; j1++) {
      for (i = 1; i < n; i++) {
        j2 = 0;
        for (j = 0; j < n; j++) {
          if (j == j1)
            continue;
          m[i - 1][j2] = a[i][j];
          j2++;
        }
      }
      det += pow(-1.0, j1 + 2.0) * a[0][j1] * determinant(m, n - 1);
    }
  }
  return det;
}
```