user: Converte this assembly snippet into its equivalent C code:

```asm
<gemm_tt>:
  endbr64
  movslq %edi,%rax
  test   %eax,%eax
  jle    L101
  test   %esi,%esi
  jle    L101
  push   %r15
  mov    %edx,%r11d
  sub    $0x1,%esi
  movaps %xmm0,%xmm3
  push   %r14
  mov    %r8d,%r14d
  mov    %r11d,%r15d
  movaps %xmm0,%xmm4
  push   %r13
  and    $0xfffffffc,%r15d
  pxor   %xmm5,%xmm5
  shufps $0x0,%xmm3,%xmm3
  push   %r12
  mov    %rcx,%r12
  movslq %r8d,%rcx
  push   %rbp
  mov    %rcx,%r8
  lea    (%rcx,%rcx,2),%rdi
  push   %rbx
  shl    $0x4,%r8
  mov    %r9,%rbx
  shl    $0x2,%rdi
  mov    %rax,-0x20(%rsp)
  lea    -0x1(%rdx),%eax
  shr    $0x2,%edx
  mov    %eax,-0x28(%rsp)
  sub    $0x1,%edx
  lea    0x0(,%rcx,4),%rax
  mov    0x40(%rsp),%rcx
  add    $0x1,%rdx
  movl   $0x0,-0x24(%rsp)
  add    $0x4,%rcx
  shl    $0x4,%rdx
  mov    %rsi,-0x18(%rsp)
  movq   $0x0,-0x30(%rsp)
  mov    %rcx,-0x10(%rsp)
  mov    %rdx,-0x38(%rsp)
  nopw   0x0(%rax,%rax,1)
L74:
  movslq -0x24(%rsp),%rdx
  mov    0x40(%rsp),%rsi
  mov    -0x30(%rsp),%rcx
  mov    -0x10(%rsp),%r9
  lea    (%rsi,%rdx,4),%rsi
  add    -0x18(%rsp),%rdx
  lea    (%r9,%rdx,4),%rdx
  mov    %ecx,%r13d
  lea    (%r12,%rcx,4),%rcx
  xor    %r9d,%r9d
  mov    %rdx,-0x48(%rsp)
  mov    %rcx,-0x40(%rsp)
  nopl   (%rax)
L8:
  movaps %xmm5,%xmm1
  test   %r11d,%r11d
  jle    L75
  cmpl   $0x2,-0x28(%rsp)
  jbe    L44
  movslq %r9d,%rdx
  movaps %xmm5,%xmm1
  lea    (%rbx,%rdx,4),%rcx
  mov    -0x38(%rsp),%rdx
  lea    (%rdx,%rcx,1),%r10
  mov    -0x40(%rsp),%rdx
  nop
L33:
  movss  (%rdx,%rdi,1),%xmm0
  movss  (%rdx,%rax,2),%xmm2
  add    $0x10,%rcx
  movss  (%rdx,%rax,1),%xmm6
  movups -0x10(%rcx),%xmm7
  unpcklps %xmm0,%xmm2
  movss  (%rdx),%xmm0
  add    %r8,%rdx
  unpcklps %xmm6,%xmm0
  movlhps %xmm2,%xmm0
  mulps  %xmm3,%xmm0
  mulps  %xmm7,%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm0,%xmm2
  shufps $0x55,%xmm0,%xmm2
  addss  %xmm1,%xmm2
  movaps %xmm0,%xmm1
  unpckhps %xmm0,%xmm1
  shufps $0xff,%xmm0,%xmm0
  addss  %xmm2,%xmm1
  addss  %xmm0,%xmm1
  cmp    %rcx,%r10
  jne    L33
  mov    %r15d,%edx
  cmp    %r11d,%r15d
  je     L75
L38:
  mov    %r14d,%ecx
  imul   %edx,%ecx
  lea    (%rcx,%r13,1),%r10d
  movslq %r10d,%r10
  movss  (%r12,%r10,4),%xmm0
  lea    (%r9,%rdx,1),%r10d
  movslq %r10d,%r10
  mulss  %xmm4,%xmm0
  mulss  (%rbx,%r10,4),%xmm0
  lea    0x1(%rdx),%r10d
  addss  %xmm0,%xmm1
  cmp    %r10d,%r11d
  jle    L75
  add    %r14d,%ecx
  add    %r9d,%r10d
  add    $0x2,%edx
  lea    0x0(%r13,%rcx,1),%ebp
  movslq %r10d,%r10
  movslq %ebp,%rbp
  movss  (%r12,%rbp,4),%xmm0
  mulss  %xmm4,%xmm0
  mulss  (%rbx,%r10,4),%xmm0
  addss  %xmm0,%xmm1
  cmp    %edx,%r11d
  jle    L75
  add    %r14d,%ecx
  add    %r9d,%edx
  add    %r13d,%ecx
  movslq %edx,%rdx
  movslq %ecx,%rcx
  movss  (%r12,%rcx,4),%xmm0
  mulss  %xmm4,%xmm0
  mulss  (%rbx,%rdx,4),%xmm0
  addss  %xmm0,%xmm1
L75:
  addss  (%rsi),%xmm1
  add    0x38(%rsp),%r9d
  add    $0x4,%rsi
  movss  %xmm1,-0x4(%rsi)
  cmp    -0x48(%rsp),%rsi
  jne    L8
  addq   $0x1,-0x30(%rsp)
  mov    0x48(%rsp),%edx
  mov    -0x30(%rsp),%rsi
  add    %edx,-0x24(%rsp)
  cmp    -0x20(%rsp),%rsi
  jne    L74
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L44:
  movaps %xmm5,%xmm1
  xor    %edx,%edx
  jmp    L38
L101:
  ret
```

assistant: ```c
void gemm_tt(int M, int N, int K, float ALPHA, float *A, int lda, float *B, int ldb, float *C, int ldc) {
  int i, j, k;
#pragma omp parallel for
  for (i = 0; i < M; ++i) {
    for (j = 0; j < N; ++j) {
      register float sum = 0;
      for (k = 0; k < K; ++k) {
        sum += ALPHA * A[i + k * lda] * B[k + j * ldb];
      }
      C[i * ldc + j] += sum;
    }
  }
}
```