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

```asm
<matprod_trans2_sub>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,0x18(%rsp)
  mov    %rsi,(%rsp)
  mov    %rdx,0x10(%rsp)
  mov    %ecx,%r14d
  mov    %r8d,%ebx
  mov    %r8d,0x8(%rsp)
  mov    %r9d,%ebp
  mov    %r9d,0xc(%rsp)
  mov    0x78(%rsp),%r15
  mov    $0x1,%edi
  call   <assert@plt>
  mov    $0x1,%edi
  call   <assert@plt>
  mov    $0x1,%edi
  call   <assert@plt>
  cmp    $0x1,%r14d
  setg   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmp    $0x1,%ebx
  setg   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmp    $0x1,%ebp
  setg   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  cmp    $0x2,%r14d
  je     L102
  cmp    $0x3c0,%r14d
  jg     L126
  cmpl   $0x20,0x8(%rsp)
  jle    L75
L126:
  mov    0x70(%rsp),%eax
  mov    %eax,0x20(%rsp)
  cmp    $0x3c0,%r14d
  jle    L60
  pxor   %xmm1,%xmm1
  cvtsi2sdl 0x8(%rsp),%xmm1
  addsd  D16(%rip),%xmm1
  movsd  D14(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  add    $0x1,%eax
  mov    %eax,0x20(%rsp)
L60:
  mov    0x20(%rsp),%eax
  lea    (%rax,%rax,1),%esi
  mov    %esi,0x24(%rsp)
  mov    %eax,0x28(%rsp)
  jmp    L131
L102:
  mov    0x70(%rsp),%r9d
  mov    0xc(%rsp),%r8d
  mov    0x8(%rsp),%ecx
  mov    0x10(%rsp),%rdx
  mov    (%rsp),%rsi
  mov    0x18(%rsp),%rdi
  call   <matprod_trans2_n2@plt>
  jmp    L106
L75:
  push   %r15
  push   $0x1
  push   $0x0
  mov    0x20(%rsp),%r8d
  push   %r8
  mov    0x90(%rsp),%eax
  push   %rax
  push   %r14
  mov    0x3c(%rsp),%r9d
  mov    %r14d,%ecx
  mov    0x40(%rsp),%rdx
  mov    0x30(%rsp),%rsi
  mov    0x48(%rsp),%rdi
  call   <matprod_trans2_sub_xrowscols@plt>
  add    $0x30,%rsp
  jmp    L106
L82:
  add    $0x7,%ebx
  and    $0xfffffff8,%ebx
  cmp    0x70(%rsp),%ebx
  cmovg  0x70(%rsp),%ebx
  cmp    $0x3c0,%r14d
  jg     L180
  mov    %r14d,%ebp
  mov    0x10(%rsp),%r13
  mov    0x18(%rsp),%r12
L93:
  sub    $0x8,%rsp
  push   %r15
  push   %rbx
  push   %rbp
  mov    0x2c(%rsp),%r9d
  mov    0x28(%rsp),%r8d
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    0x20(%rsp),%rbp
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <matprod_trans2_sub_xrows@plt>
  add    $0x20,%rsp
  sub    %ebx,0x70(%rsp)
  je     L106
  movslq %ebx,%rbx
  lea    0x0(%rbp,%rbx,8),%rax
  mov    %rax,(%rsp)
  movslq %r14d,%rax
  imul   %rbx,%rax
  mov    0x10(%rsp),%rdx
  lea    (%rdx,%rax,8),%rcx
  mov    %rcx,0x10(%rsp)
  test   %r15,%r15
  je     L131
  add    %rax,%rbx
  lea    (%r15,%rbx,8),%r15
L131:
  mov    0x20(%rsp),%eax
  cmp    %eax,0x70(%rsp)
  jle    L18
  mov    0x28(%rsp),%ebx
  mov    0x24(%rsp),%eax
  cmp    0x70(%rsp),%eax
  jle    L82
  mov    0x70(%rsp),%ebx
  shr    $0x1f,%ebx
  add    0x70(%rsp),%ebx
  sar    %ebx
  jmp    L82
L34:
  mov    %r14d,%ebp
  mov    0x10(%rsp),%r13
  mov    0x18(%rsp),%r12
  jmp    L157
L108:
  sub    $0x8,%rsp
  push   %r15
  mov    0x80(%rsp),%eax
  push   %rax
  push   %r14
  mov    0x2c(%rsp),%r9d
  mov    0x28(%rsp),%r8d
  mov    %r14d,%ecx
  mov    0x30(%rsp),%rdx
  mov    0x20(%rsp),%rsi
  mov    0x38(%rsp),%rdi
  call   <matprod_trans2_sub_xrows@plt>
  add    $0x20,%rsp
L106:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L18:
  cmp    $0x3c0,%r14d
  jle    L108
  mov    0x70(%rsp),%ebx
L180:
  cmp    $0x77f,%r14d
  jle    L34
  mov    %r14d,%ebp
  mov    0x10(%rsp),%r13
  mov    0x18(%rsp),%r12
L143:
  sub    $0x8,%rsp
  push   %r15
  push   %rbx
  push   $0x3c0
  mov    0x2c(%rsp),%r9d
  mov    0x28(%rsp),%r8d
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    0x20(%rsp),%rsi
  mov    %r12,%rdi
  call   <matprod_trans2_sub_xrows@plt>
  add    $0x1e00,%r12
  add    $0x1e00,%r13
  sub    $0x3c0,%ebp
  add    $0x20,%rsp
  cmp    $0x77f,%ebp
  jg     L143
  cmp    $0x3c0,%ebp
  jle    L93
L157:
  lea    0x3(%rbp),%eax
  sar    %eax
  and    $0xfffffffc,%eax
  sub    $0x8,%rsp
  push   %r15
  push   %rbx
  mov    %eax,0x44(%rsp)
  push   %rax
  mov    0x2c(%rsp),%r9d
  mov    0x28(%rsp),%r8d
  mov    %r14d,%ecx
  mov    %r13,%rdx
  mov    0x20(%rsp),%rsi
  mov    %r12,%rdi
  call   <matprod_trans2_sub_xrows@plt>
  mov    0x4c(%rsp),%esi
  movslq %esi,%rax
  shl    $0x3,%rax
  add    %rax,%r12
  add    %rax,%r13
  sub    %esi,%ebp
  add    $0x20,%rsp
  jmp    L93
```

tool_calls: name: parse_data
arguments: tag: D16
type_infered: byte[8]
name: parse_data
arguments: tag: D14
type_infered: byte[8]

tool: {"D16": [0x00,0x00,0x00,0x00,0x00,0x00,0x8e,0x40]}

tool: {"D14": [0x00,0x00,0x00,0x00,0x80,0x31,0xf7,0x40]}

assistant: ```c
void matprod_trans2_sub(double *restrict x, double *restrict y, double *restrict z, int n, int k, int m, int yrows, double *sym) {
  assert(((uintptr_t)(x) & (1 - 1)) == 0);
  assert(((uintptr_t)(y) & (1 - 1)) == 0);
  assert(((uintptr_t)(z) & (1 - 1)) == 0);
  x = (x);
  y = (y);
  z = (z);
  assert(n >= 2);
  assert(k >= 2);
  assert(m >= 2);
  if (n == 2) {
    matprod_trans2_n2(x, y, z, k, m, yrows);
    return;
  }
  if (n <= (1024 - 64) && k <= 32) {
    matprod_trans2_sub_xrowscols(x, y, z, n, k, m, n, yrows, k, 0, 1, sym);
    return;
  }
  int cachable = n <= (1024 - 64) ? yrows : 1 + (int)(95000 / ((1024 - 64) + (double)k));
  int mm = yrows;
  for (;;) {
    int m1 = mm;
    if (m1 > cachable) {
      m1 = mm < 2 * cachable ? mm / 2 : cachable;
      m1 = (m1 + 7) & ~7;
      if (m1 > mm)
        m1 = mm;
    }
    double *xx = x;
    double *zz = z;
    int xrows = n;
    if (xrows > (1024 - 64)) {
      while (xrows >= 2 * (1024 - 64)) {
        matprod_trans2_sub_xrows(xx, y, zz, n, k, m, (1024 - 64), m1, sym);
        xx += (1024 - 64);
        zz += (1024 - 64);
        xrows -= (1024 - 64);
      }
      if (xrows > (1024 - 64)) {
        int nr = (((xrows + 3) >> 1) & ~3);
        matprod_trans2_sub_xrows(xx, y, zz, n, k, m, nr, m1, sym);
        xx += nr;
        zz += nr;
        xrows -= nr;
      }
    }
    matprod_trans2_sub_xrows(xx, y, zz, n, k, m, xrows, m1, sym);
    mm -= m1;
    if (mm == 0) {
      break;
    }
    y += m1;
    z += (size_t)m1 * n;
    if (sym) {
      sym += (size_t)m1 * n;
      sym += m1;
    }
  }
}
```