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

```asm
<_radixbin_sort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x14(%rbp)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L3
L46:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x18(%rbp)
  jge    L1
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
L1:
  addl   $0x1,-0x20(%rbp)
L3:
  mov    -0x20(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L46
  bsr    -0x18(%rbp),%eax
  xor    $0x1f,%eax
  mov    %eax,%edx
  mov    $0x20,%eax
  sub    %edx,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L95
L112:
  movq   $0x0,-0x10(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L90
L116:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp,%rdx,4),%edx
  add    $0x1,%edx
  cltq
  mov    %edx,-0x10(%rbp,%rax,4)
  addl   $0x1,-0x20(%rbp)
L90:
  mov    -0x20(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L116
  movl   $0x1,-0x20(%rbp)
  jmp    L58
L78:
  mov    -0x20(%rbp),%eax
  cltq
  mov    -0x10(%rbp,%rax,4),%edx
  mov    -0x20(%rbp),%eax
  sub    $0x1,%eax
  cltq
  mov    -0x10(%rbp,%rax,4),%eax
  add    %eax,%edx
  mov    -0x20(%rbp),%eax
  cltq
  mov    %edx,-0x10(%rbp,%rax,4)
  addl   $0x1,-0x20(%rbp)
L58:
  cmpl   $0x1,-0x20(%rbp)
  jle    L78
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L24
L79:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  and    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp,%rdx,4),%edx
  lea    -0x1(%rdx),%ecx
  movslq %eax,%rdx
  mov    %ecx,-0x10(%rbp,%rdx,4)
  cltq
  mov    -0x10(%rbp,%rax,4),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    (%rsi),%eax
  mov    %eax,(%rdx)
  subl   $0x1,-0x20(%rbp)
L24:
  cmpl   $0x0,-0x20(%rbp)
  jns    L79
  mov    -0x34(%rbp),%eax
  lea    0x0(,%rax,4),%edx
  mov    -0x30(%rbp),%rcx
  mov    -0x28(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  addl   $0x1,-0x1c(%rbp)
L95:
  mov    -0x1c(%rbp),%eax
  cmp    %eax,-0x14(%rbp)
  jae    L112
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L14
  call   <__stack_chk_fail@plt>
L14:
  leave
  ret
```

assistant: ```c
void _radixbin_sort(int *vet, int *sorted, int s) {
  int i, j;
  int max;
  unsigned int v = 0;
  max = vet[0];
  for (i = 0; i < s; i++)
    if (vet[i] > max)
      max = vet[i];
  v = 8 * sizeof(int) - __builtin_clz(max);
  while (j <= v) {
    int buckets[2] = {0};
    for (i = 0; i < s; i++)
      buckets[(vet[i] >> j) & 0x01]++;
    for (i = 1; i < 2; i++)
      buckets[i] += buckets[i - 1];
    for (i = s - 1; i >= 0; i--)
      sorted[--buckets[(vet[i] >> j) & 0x01]] = vet[i];
    memcpy(vet, sorted, 4 * s);
    j++;
  }
}
```