user: Translate the below assembly code into C programming language:

```asm
<premnmx>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x18(%rbp)
  mov    %rcx,-0x28(%rbp)
  mov    %r8d,-0x2c(%rbp)
  mov    %r9,-0x38(%rbp)
  movss  %xmm0,-0x30(%rbp)
  movss  %xmm1,-0x3c(%rbp)
  movss  %xmm2,-0x40(%rbp)
  movss  %xmm3,-0x44(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L16
L0:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  movss  -0x3c(%rbp),%xmm0
  mov    -0x30(%rbp),%esi
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %esi,%xmm0
  mov    %eax,%esi
  call   <mapminmax_stride@plt>
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  mov    %rcx,%rdi
  call   <dmin_stride@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x18(%rbp),%rax
  add    %rdx,%rax
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  mov    %rcx,%rdi
  call   <dmax_stride@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x8(%rbp)
L16:
  mov    -0x8(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L0
  movl   $0x0,-0x8(%rbp)
  jmp    L12
L31:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x10(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  movss  -0x44(%rbp),%xmm0
  mov    -0x40(%rbp),%esi
  mov    -0x2c(%rbp),%edx
  mov    -0x14(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %esi,%xmm0
  mov    %eax,%esi
  call   <mapminmax_stride@plt>
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2c(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  mov    %rcx,%rdi
  call   <dmin_stride@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2c(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  mov    %rcx,%rdi
  call   <dmax_stride@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x8(%rbp)
L12:
  mov    -0x8(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L31
  nop
  nop
  leave
  ret
```

assistant: ```c
void premnmx(int size, float *p, int leninp, float *t, int lenoup, float *pn, float *tn, float ymin, float ymax, float omin, float omax, float *pmin, float *pmax, float *tmin, float *tmax) {
  int i;
  float temp;
  for (i = 0; i < leninp; ++i) {
    mapminmax_stride(p + i, size, leninp, ymin, ymax, pn + i);
    temp = dmin_stride(p + i, size, leninp);
    pmin[i] = temp;
    temp = dmax_stride(p + i, size, leninp);
    pmax[i] = temp;
  }
  for (i = 0; i < lenoup; ++i) {
    mapminmax_stride(t + i, size, lenoup, omin, omax, tn + i);
    temp = dmin_stride(t + i, size, lenoup);
    tmin[i] = temp;
    temp = dmax_stride(t + i, size, lenoup);
    tmax[i] = temp;
  }
}
```