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

```asm
<_p3dZeroPadding3D_float>:
  endbr64
  lea    (%r9,%r9,1),%eax
  push   %r15
  mov    %rsi,%r10
  xor    %esi,%esi
  push   %r14
  lea    (%rax,%rdx,1),%r15d
  mov    %ecx,%r14d
  push   %r13
  push   %r12
  mov    %r9d,%r12d
  push   %rbp
  mov    %rdi,%rbp
  mov    %r10,%rdi
  push   %rbx
  mov    %edx,%ebx
  lea    (%rax,%rcx,1),%edx
  mov    %edx,%r13d
  lea    (%rax,%r8,1),%edx
  imul   %r15d,%r13d
  sub    $0x58,%rsp
  mov    %ecx,0x18(%rsp)
  imul   %r13d,%edx
  mov    %r15d,0x4(%rsp)
  mov    %r13d,0x4c(%rsp)
  mov    %r8d,0x38(%rsp)
  movslq %edx,%rdx
  shl    $0x2,%rdx
  call   <memset@plt>
  mov    0x38(%rsp),%edx
  test   %edx,%edx
  jle    L79
  test   %r14d,%r14d
  jle    L79
  test   %ebx,%ebx
  jle    L79
  mov    %rax,%r10
  imul   %ebx,%r14d
  movslq %r15d,%rax
  movslq %r12d,%rdx
  imul   %r12d,%r15d
  shl    $0x2,%rax
  movl   $0x0,0x34(%rsp)
  mov    %rax,0x8(%rsp)
  imul   %r12d,%r13d
  mov    %r14d,0x48(%rsp)
  mov    %ebx,%r14d
  movslq %r15d,%rax
  mov    %r15d,0x3c(%rsp)
  mov    %ebx,%r15d
  add    %rdx,%rax
  and    $0xfffffffc,%r15d
  mov    %rax,0x40(%rsp)
  movslq %ebx,%rax
  shl    $0x2,%rax
  mov    %rax,0x10(%rsp)
  mov    %ebx,%eax
  shr    $0x2,%eax
  lea    -0x1(%rax),%ecx
  lea    (%r15,%r12,1),%eax
  mov    %eax,0x20(%rsp)
  lea    0x1(%r15),%eax
  add    $0x1,%rcx
  mov    %eax,0x24(%rsp)
  add    %r12d,%eax
  shl    $0x4,%rcx
  mov    %eax,0x28(%rsp)
  lea    0x2(%r15),%eax
  add    %eax,%r12d
  mov    %eax,0x2c(%rsp)
  lea    -0x1(%rbx),%eax
  mov    %eax,0x1c(%rsp)
  mov    %r12d,0x30(%rsp)
  xor    %r12d,%r12d
  nopl   (%rax)
L125:
  movslq %r13d,%rax
  add    0x40(%rsp),%rax
  mov    0x3c(%rsp),%edi
  xor    %esi,%esi
  lea    (%r10,%rax,4),%rdx
  movslq %r12d,%rax
  xor    %r8d,%r8d
  lea    0x0(%rbp,%rax,4),%rax
  nopl   (%rax)
L45:
  lea    0x4(%rax),%r11
  mov    %rdx,%r9
  sub    %r11,%r9
  cmp    $0x8,%r9
  jbe    L58
  xor    %r9d,%r9d
  cmpl   $0x2,0x1c(%rsp)
  jbe    L58
  nopw   0x0(%rax,%rax,1)
L107:
  movups (%rax,%r9,1),%xmm1
  movups %xmm1,(%rdx,%r9,1)
  add    $0x10,%r9
  cmp    %rcx,%r9
  jne    L107
  cmp    %ebx,%r15d
  je     L52
  lea    (%rsi,%r15,1),%r9d
  mov    0x20(%rsp),%r11d
  add    %r12d,%r9d
  movslq %r9d,%r9
  movss  0x0(%rbp,%r9,4),%xmm0
  lea    (%rdi,%r11,1),%r9d
  mov    0x24(%rsp),%r11d
  add    %r13d,%r9d
  movslq %r9d,%r9
  movss  %xmm0,(%r10,%r9,4)
  cmp    %r11d,%ebx
  jle    L52
  lea    (%rsi,%r11,1),%r9d
  mov    0x28(%rsp),%r11d
  add    %r12d,%r9d
  movslq %r9d,%r9
  movss  0x0(%rbp,%r9,4),%xmm0
  lea    (%rdi,%r11,1),%r9d
  mov    0x2c(%rsp),%r11d
  add    %r13d,%r9d
  movslq %r9d,%r9
  movss  %xmm0,(%r10,%r9,4)
  cmp    %r11d,%ebx
  jle    L52
  lea    (%rsi,%r11,1),%r9d
  mov    0x30(%rsp),%r11d
  add    %r12d,%r9d
  movslq %r9d,%r9
  movss  0x0(%rbp,%r9,4),%xmm0
  lea    (%rdi,%r11,1),%r9d
  add    %r13d,%r9d
  movslq %r9d,%r9
  movss  %xmm0,(%r10,%r9,4)
L52:
  add    $0x1,%r8d
  add    0x8(%rsp),%rdx
  add    0x10(%rsp),%rax
  add    %ebx,%esi
  add    0x4(%rsp),%edi
  cmp    %r8d,0x18(%rsp)
  jne    L45
  addl   $0x1,0x34(%rsp)
  add    0x4c(%rsp),%r13d
  mov    0x34(%rsp),%eax
  add    0x48(%rsp),%r12d
  cmp    %eax,0x38(%rsp)
  jne    L125
L79:
  add    $0x58,%rsp
  mov    $0x2,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L58:
  xor    %r9d,%r9d
  nopl   0x0(%rax,%rax,1)
L12:
  movss  (%rax,%r9,4),%xmm0
  movss  %xmm0,(%rdx,%r9,4)
  add    $0x1,%r9
  cmp    %r14,%r9
  jne    L12
  jmp    L52
```

assistant: ```c
int _p3dZeroPadding3D_float(float *in_rev, float *out_rev, const int dimx, const int dimy, const int dimz, const int size) {
  int a_dimx, a_dimy, a_dimz;
  int i, j, k;
  a_dimx = dimx + size * 2;
  a_dimy = dimy + size * 2;
  a_dimz = dimz + size * 2;
  memset(out_rev, 0, a_dimx * a_dimy * a_dimz * sizeof(float));
#pragma omp parallel for private(i, j)
  for (k = 0; k < dimz; k++)
    for (j = 0; j < dimy; j++)
      for (i = 0; i < dimx; i++)
        out_rev[((j + size) * (a_dimx) + (i + size) + (k + size) * (a_dimx) * (a_dimy))] = (float)(in_rev[((j) * (dimx) + (i) + (k) * (dimx) * (dimy))]);
  return 2;
}
```