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

```asm
<make5Darray_int_continuousMem>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %edx,-0x2c(%rbp)
  mov    %ecx,-0x30(%rbp)
  mov    %r8d,-0x34(%rbp)
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  imul   -0x30(%rbp),%eax
  imul   -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L27
L79:
  mov    -0x28(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    -0x20(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  movl   $0x0,-0x1c(%rbp)
  jmp    L6
L12:
  mov    -0x2c(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    -0x20(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x1c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  movl   $0x0,-0x18(%rbp)
  jmp    L16
L14:
  mov    -0x30(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    -0x20(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x8(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x1c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    -0x18(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  movl   $0x0,-0x14(%rbp)
  jmp    L17
L32:
  mov    -0x20(%rbp),%eax
  imul   -0x28(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  imul   -0x30(%rbp),%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  imul   -0x30(%rbp),%eax
  imul   -0x34(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x30(%rbp),%eax
  imul   -0x34(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  imul   -0x34(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rdx,(%rax)
  addl   $0x1,-0x14(%rbp)
L17:
  mov    -0x14(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L32
  addl   $0x1,-0x18(%rbp)
L16:
  mov    -0x18(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L14
  addl   $0x1,-0x1c(%rbp)
L6:
  mov    -0x1c(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L12
  addl   $0x1,-0x20(%rbp)
L27:
  mov    -0x20(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L79
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
int *****make5Darray_int_continuousMem(int a1, int a2, int a3, int a4, int a5) {
  int *tmp_vec = (int *)malloc(a1 * a2 * a3 * a4 * a5 * sizeof(int));
  int *****tmp;
  tmp = (int *****)malloc(a1 * sizeof(int ****));
  for (int i = 0; i < a1; i++) {
    tmp[i] = (int ****)malloc(a2 * sizeof(int ***));
    for (int j = 0; j < a2; j++) {
      tmp[i][j] = (int ***)malloc(a3 * sizeof(int **));
      for (int k = 0; k < a3; k++) {
        tmp[i][j][k] = (int **)malloc(a4 * sizeof(int *));
        for (int ell = 0; ell < a4; ell++) {
          tmp[i][j][k][ell] = &(tmp_vec[i * a2 * a3 * a4 * a5 + j * a3 * a4 * a5 + k * a4 * a5 + ell * a5]);
        }
      }
    }
  }
  return tmp;
}
```