user: 请将以下的汇编代码转换成C语言代码:

```asm
<det5x5>:
  endbr64
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x2a0,%rsp
  movsd  0x90(%rdi),%xmm7
  movsd  0x30(%rdi),%xmm10
  mov    %fs:0x28,%rax
  mov    %rax,0x298(%rsp)
  xor    %eax,%eax
  movsd  0x38(%rdi),%xmm9
  movsd  0x40(%rdi),%xmm8
  movsd  0x58(%rdi),%xmm6
  movsd  0x48(%rdi),%xmm15
  movsd  %xmm7,0x60(%rsp)
  movsd  0x70(%rdi),%xmm14
  movsd  0x88(%rdi),%xmm1
  movsd  %xmm10,0x10(%rsp)
  movsd  0x60(%rdi),%xmm5
  movsd  0x68(%rdi),%xmm4
  movsd  %xmm9,0x18(%rsp)
  movsd  0x80(%rdi),%xmm2
  movsd  0xb0(%rdi),%xmm7
  movsd  %xmm8,0x20(%rsp)
  movsd  0x98(%rdi),%xmm13
  movsd  0xa8(%rdi),%xmm3
  movsd  %xmm15,0x28(%rsp)
  movsd  %xmm14,0x48(%rsp)
  movsd  %xmm6,0x30(%rsp)
  movsd  %xmm1,0x58(%rsp)
  movsd  %xmm5,0x38(%rsp)
  movsd  %xmm4,0x40(%rsp)
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm13,0x68(%rsp)
  movsd  %xmm7,0x78(%rsp)
  movsd  %xmm3,0x70(%rsp)
  movsd  0xb8(%rdi),%xmm3
  movsd  0x90(%rdi),%xmm0
  movsd  0xc0(%rdi),%xmm12
  movsd  0x28(%rdi),%xmm11
  movsd  %xmm9,0x98(%rsp)
  movsd  %xmm0,0xe0(%rsp)
  movsd  0x50(%rdi),%xmm7
  movsd  0xa0(%rdi),%xmm0
  movsd  %xmm3,0x80(%rsp)
  movsd  0x78(%rdi),%xmm3
  movsd  %xmm0,(%rsp)
  movsd  %xmm0,0xf0(%rsp)
  movsd  0xb0(%rdi),%xmm0
  movsd  %xmm12,0x88(%rsp)
  movsd  %xmm0,0xf8(%rsp)
  movsd  0xb8(%rdi),%xmm0
  movsd  %xmm11,0x90(%rsp)
  movsd  %xmm8,0xa0(%rsp)
  movsd  %xmm15,0xa8(%rsp)
  movsd  %xmm7,0xb0(%rsp)
  movsd  %xmm14,0xc8(%rsp)
  movsd  %xmm3,0xd0(%rsp)
  movsd  %xmm12,0x108(%rsp)
  movsd  %xmm11,0x110(%rsp)
  movsd  %xmm10,0x118(%rsp)
  movsd  %xmm8,0x120(%rsp)
  movsd  %xmm15,0x128(%rsp)
  movsd  %xmm1,0xd8(%rsp)
  movsd  %xmm5,0xb8(%rsp)
  movsd  %xmm4,0xc0(%rsp)
  movsd  %xmm13,0xe8(%rsp)
  movsd  %xmm0,0x100(%rsp)
  movsd  %xmm7,0x130(%rsp)
  movsd  0x90(%rdi),%xmm0
  movsd  %xmm13,0x168(%rsp)
  movsd  %xmm0,0x160(%rsp)
  movsd  (%rsp),%xmm0
  movsd  %xmm13,0x1e8(%rsp)
  movsd  (%rsp),%xmm13
  movsd  %xmm0,0x170(%rsp)
  movsd  0xa8(%rdi),%xmm0
  movsd  %xmm14,0x148(%rsp)
  movsd  %xmm0,0x178(%rsp)
  movsd  0xb8(%rdi),%xmm0
  movsd  %xmm3,0x150(%rsp)
  movsd  %xmm0,0x180(%rsp)
  movsd  0xa8(%rdi),%xmm0
  movsd  %xmm12,0x188(%rsp)
  movsd  %xmm0,0x1f8(%rsp)
  movsd  0xb0(%rdi),%xmm0
  movsd  %xmm11,0x190(%rsp)
  movsd  %xmm10,0x198(%rsp)
  movsd  %xmm9,0x1a0(%rsp)
  movsd  %xmm15,0x1a8(%rsp)
  movsd  %xmm7,0x1b0(%rsp)
  movsd  %xmm14,0x1c8(%rsp)
  movsd  %xmm3,0x1d0(%rsp)
  movsd  %xmm13,0x1f0(%rsp)
  movsd  %xmm6,0x138(%rsp)
  movsd  %xmm6,0x1b8(%rsp)
  movsd  %xmm1,0x1e0(%rsp)
  movsd  %xmm4,0x140(%rsp)
  movsd  %xmm2,0x158(%rsp)
  movsd  %xmm5,0x1c0(%rsp)
  movsd  %xmm2,0x1d8(%rsp)
  movsd  %xmm0,0x200(%rsp)
  movsd  %xmm2,0x258(%rsp)
  movsd  0xb8(%rdi),%xmm2
  movsd  %xmm5,0x240(%rsp)
  movsd  0xa8(%rdi),%xmm5
  movsd  %xmm4,0x248(%rsp)
  movsd  0x90(%rdi),%xmm4
  movsd  %xmm2,0x288(%rsp)
  movsd  (%rdi),%xmm2
  lea    0x10(%rsp),%rdi
  movsd  %xmm12,0x208(%rsp)
  movsd  %xmm11,0x210(%rsp)
  movsd  %xmm10,0x218(%rsp)
  movsd  %xmm9,0x220(%rsp)
  movsd  %xmm8,0x228(%rsp)
  movsd  %xmm7,0x230(%rsp)
  movsd  %xmm3,0x250(%rsp)
  movsd  %xmm13,0x270(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm6,0x238(%rsp)
  movsd  %xmm5,0x278(%rsp)
  movsd  %xmm1,0x260(%rsp)
  movsd  %xmm4,0x268(%rsp)
  movsd  %xmm0,0x280(%rsp)
  call   <det4x4@plt>
  pxor   %xmm0,%xmm0
  movsd  (%rsp),%xmm1
  movsd  0x8(%rbx),%xmm4
  cvtsi2sd %eax,%xmm0
  lea    0x90(%rsp),%rdi
  xor    %eax,%eax
  movsd  %xmm4,(%rsp)
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  call   <det4x4@plt>
  pxor   %xmm0,%xmm0
  movsd  0x8(%rsp),%xmm1
  movsd  0x10(%rbx),%xmm5
  cvtsi2sd %eax,%xmm0
  mulsd  (%rsp),%xmm0
  lea    0x110(%rsp),%rdi
  xor    %eax,%eax
  movsd  %xmm5,0x8(%rsp)
  subsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsp)
  call   <det4x4@plt>
  pxor   %xmm0,%xmm0
  movsd  0x18(%rbx),%xmm6
  lea    0x190(%rsp),%rdi
  cvtsi2sd %eax,%xmm0
  mulsd  0x8(%rsp),%xmm0
  xor    %eax,%eax
  addsd  (%rsp),%xmm0
  movsd  %xmm6,(%rsp)
  movsd  %xmm0,0x8(%rsp)
  call   <det4x4@plt>
  pxor   %xmm1,%xmm1
  movsd  0x8(%rsp),%xmm0
  movsd  0x20(%rbx),%xmm2
  cvtsi2sd %eax,%xmm1
  mulsd  (%rsp),%xmm1
  lea    0x210(%rsp),%rdi
  xor    %eax,%eax
  movsd  %xmm2,0x8(%rsp)
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rsp)
  call   <det4x4@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x8(%rsp),%xmm0
  addsd  (%rsp),%xmm0
  mov    0x298(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0x2a0,%rsp
  pop    %rbx
  ret
L7:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
double det5x5(double M[5 * 5]) {
  double minor11[4 * 4] = {M[6], M[7], M[8], M[9], M[11], M[12], M[13], M[14], M[16], M[17], M[18], M[19], M[21], M[22], M[23], M[24]};
  double minor12[4 * 4] = {M[5], M[7], M[8], M[9], M[10], M[12], M[13], M[14], M[15], M[17], M[18], M[19], M[20], M[22], M[23], M[24]};
  double minor13[4 * 4] = {M[5], M[6], M[8], M[9], M[10], M[11], M[13], M[14], M[15], M[16], M[18], M[19], M[20], M[21], M[23], M[24]};
  double minor14[4 * 4] = {M[5], M[6], M[7], M[9], M[10], M[11], M[12], M[14], M[15], M[16], M[17], M[19], M[20], M[21], M[22], M[24]};
  double minor15[4 * 4] = {M[5], M[6], M[7], M[8], M[10], M[11], M[12], M[13], M[15], M[16], M[17], M[18], M[20], M[21], M[22], M[23]};
  return M[0] * (det4x4(minor11)) - M[1] * (det4x4(minor12)) + M[2] * (det4x4(minor13)) - M[3] * (det4x4(minor14)) + M[4] * (det4x4(minor15));
}
```