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

```asm
<frdet>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  cmpl   $0x0,-0x3c(%rbp)
  jne    L81
  pxor   %xmm0,%xmm0
  jmp    L82
L81:
  cmpl   $0x1,-0x3c(%rbp)
  jne    L97
  mov    -0x38(%rbp),%rax
  movss  (%rax),%xmm0
  jmp    L82
L97:
  cmpl   $0x2,-0x3c(%rbp)
  jne    L38
  mov    -0x38(%rbp),%rax
  movss  (%rax),%xmm1
  mov    -0x38(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  %xmm1,%xmm0
  mov    -0x38(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm2
  mov    -0x38(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  jmp    L82
L38:
  mov    -0x3c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x3c(%rbp),%eax
  sub    $0x1,%eax
  imul   %edx,%eax
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <alloca@plt>
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x28(%rbp)
  jmp    L34
L78:
  movl   $0x0,-0x20(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L148
L93:
  mov    -0x24(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  je     L68
  movl   $0x0,-0x1c(%rbp)
  jmp    L125
L168:
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0x3c(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%eax
  add    %ecx,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L125:
  mov    -0x3c(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jb     L168
  addl   $0x1,-0x20(%rbp)
  jmp    L135
L68:
  nop
L135:
  addl   $0x1,-0x24(%rbp)
L148:
  mov    -0x24(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jb     L93
  mov    -0x3c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x10(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <frdet>
  movd   %xmm0,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x28(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L167
  mov    -0x28(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movaps %xmm0,%xmm1
  mulss  -0x14(%rbp),%xmm1
  movss  -0x18(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  jmp    L164
L167:
  mov    -0x28(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
L164:
  addl   $0x1,-0x28(%rbp)
L34:
  mov    -0x28(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jb     L78
  movss  -0x18(%rbp),%xmm0
L82:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L17
  call   <__stack_chk_fail@plt>
L17:
  leave
  ret
```

assistant: ```c
float frdet(const float *c, unsigned int d) {
  float *c2;
  unsigned int i, j, k, l;
  float det = 0, dr;
  if (!d)
    return 0;
  if (d == 1)
    return c[0];
  if (d == 2)
    return c[0] * c[3] - c[1] * c[2];
  c2 = alloca(sizeof(float) * (d - 1) * (d - 1));
  for (i = 0; i < d; i++) {
    for (j = k = 0; j < d; j++) {
      if (j == i)
        continue;
      for (l = 0; l < d - 1; l++)
        c2[l * (d - 1) + k] = c[(l + 1) * d + j];
      k++;
    }
    dr = frdet(c2, d - 1);
    if (i & 1)
      det -= dr * c[i];
    else
      det += dr * c[i];
  }
  return det;
}
```