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

```asm
<merge_matrix_3fts>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x44(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    %rcx,-0x60(%rbp)
  mov    %r8,-0x68(%rbp)
  mov    %r9,-0x70(%rbp)
  mov    -0x44(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x44(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x44(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x34(%rbp)
  jmp    L159
L140:
  mov    -0x34(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x34(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x34(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  mov    %eax,-0x10(%rbp)
  movl   $0x0,-0x30(%rbp)
  jmp    L110
L63:
  mov    -0x30(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x30(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x30(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L8
L23:
  movl   $0x0,-0x28(%rbp)
  jmp    L57
L21:
  mov    -0x14(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%ecx
  mov    -0x2c(%rbp),%eax
  add    %ecx,%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%eax
  add    %eax,%ecx
  mov    -0x28(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L57:
  cmpl   $0x5,-0x28(%rbp)
  jle    L21
  movl   $0x0,-0x28(%rbp)
  jmp    L13
L104:
  mov    -0x14(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%ecx
  mov    -0x2c(%rbp),%eax
  add    %ecx,%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%eax
  add    %ecx,%eax
  lea    0x6(%rax),%ecx
  mov    -0x28(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L13:
  cmpl   $0x4,-0x28(%rbp)
  jle    L104
  addl   $0x1,-0x2c(%rbp)
L8:
  cmpl   $0x5,-0x2c(%rbp)
  jle    L23
  movl   $0x0,-0x2c(%rbp)
  jmp    L34
L152:
  movl   $0x0,-0x28(%rbp)
  jmp    L10
L158:
  mov    -0x10(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%ecx
  mov    -0x2c(%rbp),%eax
  add    %ecx,%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%eax
  add    %eax,%ecx
  mov    -0x28(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L10:
  cmpl   $0x5,-0x28(%rbp)
  jle    L158
  movl   $0x0,-0x28(%rbp)
  jmp    L90
L16:
  mov    -0x10(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  lea    0x6(%rax),%ecx
  mov    -0x2c(%rbp),%eax
  add    %ecx,%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%ecx
  mov    -0xc(%rbp),%eax
  add    %ecx,%eax
  lea    0x6(%rax),%ecx
  mov    -0x28(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x70(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L90:
  cmpl   $0x4,-0x28(%rbp)
  jle    L16
  addl   $0x1,-0x2c(%rbp)
L34:
  cmpl   $0x4,-0x2c(%rbp)
  jle    L152
  addl   $0x1,-0x30(%rbp)
L110:
  mov    -0x30(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L63
  addl   $0x1,-0x34(%rbp)
L159:
  mov    -0x34(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L140
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void merge_matrix_3fts(int np, const double *mat_ll, const double *mat_lh, const double *mat_hl, const double *mat_hh, double *mat) {
  int i, j;
  int ii, jj;
  int i11, i6, i5;
  int j11, j6, j5;
  int n11, n6, n5;
  n11 = np * 11;
  n6 = np * 6;
  n5 = np * 5;
  for (i = 0; i < np; ++i) {
    i11 = i * 11;
    i6 = i * 6;
    i5 = i * 5;
    for (j = 0; j < np; ++j) {
      j11 = j * 11;
      j6 = j * 6;
      j5 = j * 5;
      for (ii = 0; ii < 6; ++ii) {
        for (jj = 0; jj < 6; ++jj) {
          mat[(i11 + ii) * n11 + j11 + jj] = mat_ll[(i6 + ii) * n6 + j6 + jj];
        }
        for (jj = 0; jj < 5; ++jj) {
          mat[(i11 + ii) * n11 + j11 + 6 + jj] = mat_lh[(i6 + ii) * n5 + j5 + jj];
        }
      }
      for (ii = 0; ii < 5; ++ii) {
        for (jj = 0; jj < 6; ++jj) {
          mat[(i11 + 6 + ii) * n11 + j11 + jj] = mat_hl[(i5 + ii) * n6 + j6 + jj];
        }
        for (jj = 0; jj < 5; ++jj) {
          mat[(i11 + 6 + ii) * n11 + j11 + 6 + jj] = mat_hh[(i5 + ii) * n5 + j5 + jj];
        }
      }
    }
  }
}
```