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

```asm
<productExceptSelf>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %rdx,-0x38(%rbp)
  cmpl   $0x1,-0x2c(%rbp)
  jg     L65
  mov    -0x38(%rbp),%rax
  movl   $0x0,(%rax)
  mov    $0x0,%eax
  jmp    L38
L65:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movl   $0x1,(%rax)
  movl   $0x1,-0x14(%rbp)
  jmp    L21
L9:
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x14(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rsi
  mov    -0x10(%rbp),%rdx
  add    %rsi,%rdx
  imul   %ecx,%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x14(%rbp)
L21:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L9
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  mov    -0x2c(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L62
L4:
  mov    -0x14(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x14(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x14(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rsi
  mov    -0x8(%rbp),%rdx
  add    %rsi,%rdx
  imul   %ecx,%eax
  mov    %eax,(%rdx)
  subl   $0x1,-0x14(%rbp)
L62:
  cmpl   $0x0,-0x14(%rbp)
  jns    L4
  movl   $0x0,-0x14(%rbp)
  jmp    L63
L73:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x14(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rsi
  mov    -0x8(%rbp),%rdx
  add    %rsi,%rdx
  imul   %ecx,%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x14(%rbp)
L63:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L73
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x38(%rbp),%rax
  mov    -0x2c(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
L38:
  leave
  ret
```

assistant: ```c
int *productExceptSelf(int *nums, int numsSize, int *returnSize) {
  if (numsSize <= 1) {
    *returnSize = 0;
    return (NULL);
  }
  int *res, *tmp;
  int i;
  tmp = malloc(numsSize * sizeof(nums[0]));
  tmp[0] = 1;
  for (i = 1; i < numsSize; i++)
    tmp[i] = tmp[i - 1] * nums[i - 1];
  res = malloc(numsSize * sizeof(nums[0]));
  res[numsSize - 1] = 1;
  for (i = numsSize - 2; i >= 0; i--)
    res[i] = res[i + 1] * nums[i + 1];
  for (i = 0; i < numsSize; i++)
    res[i] *= tmp[i];
  free(tmp);
  *returnSize = numsSize;
  return (res);
}
```