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

```asm
<blind_shiftc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %ecx,-0x2c(%rbp)
  mov    %r8d,-0x30(%rbp)
  mov    %r9d,-0x34(%rbp)
  cmpl   $0x0,-0x30(%rbp)
  js     L33
  mov    -0x30(%rbp),%eax
  cltq
  mov    -0x28(%rbp),%rdx
  lea    (%rdx,%rdx,1),%rcx
  mov    $0x0,%edx
  div    %rcx
  mov    %rdx,%rax
  mov    %eax,-0x30(%rbp)
  mov    -0x30(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  ja     L91
  mov    -0x2c(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  mov    -0x30(%rbp),%eax
  mov    -0x28(%rbp),%rdx
  sub    %edx,%eax
  mov    %eax,-0x30(%rbp)
L91:
  movl   $0x0,-0x4(%rbp)
  jmp    L38
L4:
  mov    -0x4(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x4(%rbp)
L38:
  mov    -0x4(%rbp),%eax
  cltq
  mov    -0x30(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x28(%rbp),%rdx
  sub    %rcx,%rdx
  cmp    %rdx,%rax
  jb     L4
  jmp    L122
L138:
  mov    -0x4(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cltq
  sub    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    -0x2c(%rbp),%edx
  sub    %ecx,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x4(%rbp)
L122:
  mov    -0x4(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  ja     L138
  jmp    L115
L33:
  mov    -0x30(%rbp),%eax
  neg    %eax
  cltq
  mov    -0x28(%rbp),%rdx
  lea    (%rdx,%rdx,1),%rcx
  mov    $0x0,%edx
  div    %rcx
  mov    %rdx,%rax
  mov    %eax,-0x30(%rbp)
  mov    -0x30(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  ja     L2
  mov    -0x2c(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    %eax,-0x34(%rbp)
  mov    -0x30(%rbp),%eax
  mov    -0x28(%rbp),%rdx
  sub    %edx,%eax
  mov    %eax,-0x30(%rbp)
L2:
  movl   $0x0,-0x4(%rbp)
  jmp    L16
L118:
  mov    -0x4(%rbp),%eax
  sub    -0x30(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    -0x2c(%rbp),%edx
  sub    %ecx,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0x4(%rbp)
L16:
  mov    -0x4(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L118
  jmp    L109
L89:
  mov    -0x4(%rbp),%eax
  sub    -0x30(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x20(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x4(%rbp)
L109:
  mov    -0x4(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  ja     L89
L115:
  movl   $0x0,-0x4(%rbp)
  jmp    L77
L113:
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  imul   -0x34(%rbp),%eax
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rdx,%rcx
  cltd
  idivl  -0x2c(%rbp)
  mov    %edx,%eax
  mov    %eax,(%rcx)
  addl   $0x1,-0x4(%rbp)
L77:
  mov    -0x4(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  ja     L113
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void blind_shiftc(int32_t v[], int32_t t[], size_t n, int32_t q, int st, int32_t c) {
  int i;
  if (st >= 0) {
    st %= 2 * n;
    if (st >= n) {
      c = q - c;
      st -= n;
    }
    for (i = 0; i < n - st; i++)
      t[i] = v[i + st];
    for (; i < n; i++)
      t[i] = q - v[i + st - n];
  } else {
    st = (-st) % (2 * n);
    if (st >= n) {
      c = q - c;
      st -= n;
    }
    for (i = 0; i < st; i++)
      t[i] = q - v[i - st + n];
    for (; i < n; i++)
      t[i] = v[i - st];
  }
  for (i = 0; i < n; i++)
    v[i] = (c * t[i]) % q;
}
```