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

```asm
<vec_mult_ref>:
  endbr64
  push   %r14
  push   %r13
  mov    %ecx,%r13d
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdx,%rbp
  mov    %ecx,%edx
  push   %rbx
  mov    %rbp,%rsi
  mov    %rdi,%rbx
  mov    %r12,%rdi
  call   <init@plt>
  test   %r13d,%r13d
  jle    L62
  lea    0x4(%rbp),%rdx
  mov    %rbx,%rax
  sub    %rdx,%rax
  cmp    $0x8,%rax
  seta   %dl
  cmp    $0x1,%r13d
  setne  %al
  test   %al,%dl
  je     L125
  lea    0x4(%r12),%rdx
  mov    %rbx,%rax
  sub    %rdx,%rax
  cmp    $0x8,%rax
  jbe    L125
  lea    -0x1(%r13),%r14d
  mov    %r13d,%ecx
  cmp    $0x2,%r14d
  jbe    L31
  mov    %r13d,%edx
  xor    %eax,%eax
  shr    $0x2,%edx
  shl    $0x4,%rdx
L147:
  movups (%r12,%rax,1),%xmm0
  movups 0x0(%rbp,%rax,1),%xmm2
  mulps  %xmm2,%xmm0
  movups %xmm0,(%rbx,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L147
  mov    %r13d,%edx
  and    $0xfffffffc,%edx
  mov    %edx,%eax
  cmp    %edx,%r13d
  je     L47
  mov    %r13d,%ecx
  sub    %edx,%ecx
  cmp    $0x1,%ecx
  je     L92
L141:
  movq   (%r12,%rdx,4),%xmm0
  movq   0x0(%rbp,%rdx,4),%xmm1
  mulps  %xmm1,%xmm0
  movlps %xmm0,(%rbx,%rdx,4)
  mov    %ecx,%edx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  cmp    %edx,%ecx
  je     L47
L92:
  cltq
  movss  (%r12,%rax,4),%xmm0
  mulss  0x0(%rbp,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
L47:
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <init_again@plt>
  mov    %r13d,%ecx
  cmp    $0x2,%r14d
  jbe    L60
  mov    %r13d,%edx
  xor    %eax,%eax
  shr    $0x2,%edx
  shl    $0x4,%rdx
  nopl   0x0(%rax)
L139:
  movups (%r12,%rax,1),%xmm0
  movups 0x0(%rbp,%rax,1),%xmm3
  movups (%rbx,%rax,1),%xmm4
  mulps  %xmm3,%xmm0
  addps  %xmm4,%xmm0
  movups %xmm0,(%rbx,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rdx
  jne    L139
  mov    %r13d,%edx
  and    $0xfffffffc,%edx
  mov    %edx,%eax
  cmp    %edx,%r13d
  je     L124
  mov    %r13d,%ecx
  sub    %edx,%ecx
  cmp    $0x1,%ecx
  je     L82
L145:
  movq   0x0(%rbp,%rdx,4),%xmm1
  movq   (%r12,%rdx,4),%xmm0
  lea    (%rbx,%rdx,4),%rsi
  mov    %ecx,%edx
  and    $0xfffffffe,%edx
  mulps  %xmm1,%xmm0
  movq   (%rsi),%xmm1
  add    %edx,%eax
  addps  %xmm1,%xmm0
  movlps %xmm0,(%rsi)
  cmp    %edx,%ecx
  je     L124
L82:
  cltq
  movss  (%r12,%rax,4),%xmm0
  lea    (%rbx,%rax,4),%rdx
  mulss  0x0(%rbp,%rax,4),%xmm0
  addss  (%rdx),%xmm0
  movss  %xmm0,(%rdx)
L124:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L125:
  movslq %r13d,%r14
  xor    %eax,%eax
  nopl   (%rax)
L63:
  movss  (%r12,%rax,4),%xmm0
  mulss  0x0(%rbp,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%r14
  jne    L63
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <init_again@plt>
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L39:
  movss  0x0(%rbp,%rax,4),%xmm0
  mulss  (%r12,%rax,4),%xmm0
  addss  (%rbx,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %r14,%rax
  jne    L39
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L62:
  pop    %rbx
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %r12,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1060 <init_again@plt>
L31:
  xor    %edx,%edx
  xor    %eax,%eax
  jmp    L141
L60:
  xor    %edx,%edx
  xor    %eax,%eax
  jmp    L145
```

assistant: ```c
void vec_mult_ref(float *p, float *v1, float *v2, int N) {
  int i;
  init(v1, v2, N);
  for (i = 0; i < N; i++)
    p[i] = v1[i] * v2[i];
  init_again(v1, v2, N);
  for (i = 0; i < N; i++)
    p[i] = p[i] + (v1[i] * v2[i]);
}
```