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

```asm
<__c99_sd_t_d1_1>:
  endbr64
  push   %r15
  mov    %edi,%eax
  mov    %ecx,%edi
  push   %r14
  movslq %eax,%rcx
  push   %r13
  lea    0x0(,%rcx,8),%r15
  mov    %r8d,%r13d
  push   %r12
  mov    %esi,%r12d
  movslq %edx,%rsi
  push   %rbp
  movslq %r12d,%rdx
  push   %rbx
  imul   %rcx,%rdx
  movslq %edi,%rcx
  sub    $0x50,%rsp
  mov    %esi,-0x28(%rsp)
  imul   %rdx,%rsi
  mov    0x88(%rsp),%ebp
  mov    %edi,-0x24(%rsp)
  movslq %r13d,%rdi
  mov    0xa0(%rsp),%r14
  mov    %r9d,0x34(%rsp)
  lea    0x0(,%rsi,8),%r10
  mov    %r13d,0x30(%rsp)
  mov    %r9d,%r13d
  movslq %r9d,%r9
  imul   %rcx,%rsi
  lea    0x0(,%rsi,8),%r8
  imul   %rdi,%rsi
  mov    %rsi,-0x20(%rsp)
  movslq %ebp,%rsi
  lea    0x0(,%rsi,8),%rbx
  imul   %r9,%rsi
  lea    0x0(,%rsi,8),%r9
  mov    %r9,-0x18(%rsp)
  imul   %rdi,%rsi
  test   %r13d,%r13d
  jle    L54
  mov    %r15,%r9
  lea    0x0(,%rdx,8),%r11
  shr    $0x3,%r8
  shr    $0x3,%r9
  shr    $0x3,%r10
  mov    %r8,-0x10(%rsp)
  mov    %r9,%r13
  mov    %rbx,%r9
  shr    $0x3,%r11
  mov    %r10,-0x8(%rsp)
  shr    $0x3,%r9
  mov    %r11,-0x60(%rsp)
  mov    %r9,(%rsp)
  mov    0x30(%rsp),%r9d
  test   %r9d,%r9d
  jle    L54
  mov    -0x24(%rsp),%r8d
  test   %r8d,%r8d
  jle    L54
  mov    -0x28(%rsp),%edi
  test   %edi,%edi
  jle    L54
  test   %r12d,%r12d
  jle    L54
  test   %eax,%eax
  jle    L54
  test   %ebp,%ebp
  jle    L54
  sub    $0x1,%eax
  lea    -0x1(%rbp),%edi
  lea    0x0(,%rsi,8),%rbx
  movq   $0x0,-0x30(%rsp)
  imul   %rcx,%rdx
  lea    0x8(%r14,%rax,8),%rax
  mov    %rbx,0x8(%rsp)
  mov    %r15,%r14
  mov    %rax,0x40(%rsp)
  mov    0x98(%rsp),%rax
  mov    %r12d,%r15d
  movl   $0x0,-0x78(%rsp)
  mov    0xa0(%rsp),%r12
  lea    0x8(%rax,%rdi,8),%rax
  lea    0x0(,%rdx,8),%rsi
  movq   $0x0,-0x38(%rsp)
  mov    %rax,0x48(%rsp)
L73:
  mov    0x90(%rsp),%rax
  mov    -0x38(%rsp),%rbx
  movq   $0x0,-0x40(%rsp)
  movl   $0x0,-0x74(%rsp)
  lea    (%rax,%rbx,8),%rax
  mov    %r12,0xa0(%rsp)
  mov    %r15d,%r12d
  mov    %r14,%r15
  mov    %rax,0x28(%rsp)
  mov    -0x30(%rsp),%rax
  mov    %r13,%r14
  mov    0xa0(%rsp),%r13
  shl    $0x3,%rax
  mov    %rax,-0x48(%rsp)
L109:
  mov    -0x48(%rsp),%rbx
  mov    0x48(%rsp),%rax
  movq   $0x0,-0x68(%rsp)
  movl   $0x0,-0x70(%rsp)
  add    %rbx,%rax
  mov    %rax,0x20(%rsp)
  mov    -0x40(%rsp),%rax
  mov    %rax,-0x50(%rsp)
  mov    0x98(%rsp),%rax
  add    %rbx,%rax
  mov    %rax,0x38(%rsp)
L76:
  mov    -0x68(%rsp),%rbx
  mov    0x40(%rsp),%rax
  movq   $0x0,-0x58(%rsp)
  movl   $0x0,-0x6c(%rsp)
  mov    0x38(%rsp),%r10
  lea    (%rax,%rbx,8),%rax
  mov    -0x50(%rsp),%rbx
  mov    0x20(%rsp),%rdi
  mov    %rax,0x18(%rsp)
  mov    0x28(%rsp),%rax
  lea    (%rax,%rbx,8),%rax
  mov    %rax,0x10(%rsp)
L133:
  mov    -0x58(%rsp),%rbx
  mov    0x10(%rsp),%rax
  xor    %r11d,%r11d
  mov    0x18(%rsp),%r9
  lea    (%rax,%rbx,8),%rbp
  mov    -0x68(%rsp),%rbx
  nopl   0x0(%rax,%rax,1)
L106:
  lea    0x0(%r13,%rbx,8),%r8
  mov    %rbp,%rcx
  nopl   0x0(%rax,%rax,1)
L41:
  movsd  (%rcx),%xmm1
  mov    %r8,%rdx
  mov    %r10,%rax
  nopw   0x0(%rax,%rax,1)
L118:
  movsd  (%rax),%xmm0
  mulsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    %rsi,%rdx
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx)
  cmp    %rdi,%rax
  jne    L118
  add    $0x8,%r8
  add    $0x8,%rcx
  cmp    %r9,%r8
  jne    L41
  add    $0x1,%r11d
  lea    (%r8,%r15,1),%r9
  add    %r15,%rbp
  add    %r14,%rbx
  cmp    %r11d,%r12d
  jne    L106
  mov    0x8(%rsp),%rdi
  addl   $0x1,-0x6c(%rsp)
  mov    -0x60(%rsp),%rcx
  mov    -0x6c(%rsp),%ebx
  add    %rdi,%r10
  add    %rcx,-0x58(%rsp)
  add    %rax,%rdi
  cmp    %ebx,-0x28(%rsp)
  jne    L133
  mov    -0x8(%rsp),%rdi
  addl   $0x1,-0x70(%rsp)
  add    %rdi,-0x50(%rsp)
  mov    -0x70(%rsp),%eax
  mov    -0x60(%rsp),%rdi
  add    %rdi,-0x68(%rsp)
  cmp    %eax,-0x24(%rsp)
  jne    L76
  mov    -0x18(%rsp),%rdi
  addl   $0x1,-0x74(%rsp)
  add    %rdi,-0x48(%rsp)
  mov    -0x74(%rsp),%eax
  mov    -0x10(%rsp),%rdi
  add    %rdi,-0x40(%rsp)
  cmp    %eax,0x30(%rsp)
  jne    L109
  mov    %r13,%rax
  mov    -0x20(%rsp),%rdi
  addl   $0x1,-0x78(%rsp)
  mov    %r14,%r13
  add    %rdi,-0x38(%rsp)
  mov    %r15,%r14
  mov    (%rsp),%rdi
  mov    %r12d,%r15d
  add    %rdi,-0x30(%rsp)
  mov    %rax,%r12
  mov    -0x78(%rsp),%eax
  cmp    %eax,0x34(%rsp)
  jne    L73
L54:
  add    $0x50,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void __c99_sd_t_d1_1(const int h3u, const int h2u, const int h1u, const int p6u, const int p5u, const int p4u, const int h7u, double t3[p4u][p5u][p6u][h1u][h2u][h3u], const double t2[h1u][p5u][p4u][h7u], const double v2[h7u][p6u][h2u][h3u]) {

  for (int p4 = 0; p4 < p4u; p4++)
    for (int p5 = 0; p5 < p5u; p5++)
      for (int p6 = 0; p6 < p6u; p6++)
        for (int h1 = 0; h1 < h1u; h1++)
          for (int h2 = 0; h2 < h2u; h2++)
            for (int h3 = 0; h3 < h3u; h3++)

#pragma GCC ivdep

              for (int h7 = 0; h7 < h7u; h7++)
                t3[p4][p5][p6][h1][h2][h3] += t2[h1][p5][p4][h7] * v2[h7][p6][h2][h3];
  return;
}
```