user: 这段汇编代码用C语言表示是什么样的?

```asm
<_radix_sort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x38,%rsp
  mov    (%rdi),%r11d
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  jle    L80
  lea    -0x1(%rdx),%edx
  lea    0x4(%rdi),%rax
  lea    (%rax,%rdx,4),%rcx
  mov    %r11d,%edx
  jmp    L38
  nopl   0x0(%rax,%rax,1)
L147:
  mov    (%rax),%edx
  add    $0x4,%rax
L38:
  cmp    %edx,%r11d
  cmovl  %edx,%r11d
  cmp    %rax,%rcx
  jne    L147
L80:
  test   %r11d,%r11d
  jle    L104
  lea    -0x1(%rbx),%r9d
  mov    $0x1,%ecx
  lea    0x4(%rsp),%r12
  mov    %r9,%rbp
  lea    0x4(%rdi,%r9,4),%r10
  lea    0x28(%rsp),%r8
  cs nopw 0x0(%rax,%rax,1)
L116:
  movq   $0x0,0x20(%rsp)
  pxor   %xmm0,%xmm0
  movaps %xmm0,(%rsp)
  movaps %xmm0,0x10(%rsp)
  test   %ebx,%ebx
  jle    L87
  mov    %rdi,%r13
  nopl   0x0(%rax)
L131:
  mov    0x0(%r13),%eax
  add    $0x4,%r13
  cltd
  idiv   %ecx
  movslq %eax,%rdx
  mov    %eax,%r14d
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%r14d
  sar    $0x22,%rdx
  sub    %r14d,%edx
  lea    (%rdx,%rdx,4),%r14d
  add    %r14d,%r14d
  sub    %r14d,%eax
  movslq %eax,%rdx
  addl   $0x1,(%rsp,%rdx,4)
  cmp    %r13,%r10
  jne    L131
  mov    0x4(%rsp),%edx
  mov    (%rsp),%r13d
L114:
  mov    %r12,%rax
  jmp    L109
  xchg   %ax,%ax
L44:
  mov    (%rax),%edx
  mov    -0x4(%rax),%r13d
L109:
  add    %r13d,%edx
  add    $0x4,%rax
  mov    %edx,-0x4(%rax)
  cmp    %rax,%r8
  jne    L44
  movslq %ebp,%r13
  test   %ebp,%ebp
  js     L145
  nopl   0x0(%rax)
L110:
  mov    (%rdi,%r13,4),%r14d
  sub    $0x1,%r13
  mov    %r14d,%eax
  cltd
  idiv   %ecx
  movslq %eax,%rdx
  mov    %eax,%r15d
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%r15d
  sar    $0x22,%rdx
  sub    %r15d,%edx
  lea    (%rdx,%rdx,4),%r15d
  add    %r15d,%r15d
  sub    %r15d,%eax
  movslq %eax,%rdx
  mov    (%rsp,%rdx,4),%eax
  sub    $0x1,%eax
  mov    %eax,(%rsp,%rdx,4)
  cltq
  mov    %r14d,(%rsi,%rax,4)
  test   %r13d,%r13d
  jns    L110
L145:
  xor    %eax,%eax
  test   %ebx,%ebx
  jle    L95
  nopl   (%rax)
L127:
  mov    (%rsi,%rax,4),%edx
  mov    %edx,(%rdi,%rax,4)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %r9,%rdx
  jne    L127
L95:
  mov    %r11d,%eax
  lea    (%rcx,%rcx,4),%ecx
  add    %ecx,%ecx
  cltd
  idiv   %ecx
  test   %eax,%eax
  jne    L116
L104:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L75
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L87:
  xor    %r13d,%r13d
  xor    %edx,%edx
  jmp    L114
L75:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void _radix_sort(int *vet, int *sorted, int s) {
  int i;
  int max = vet[0];
  int exp = 1;
  for (i = 0; i < s; i++)
    if (vet[i] > max)
      max = vet[i];
  while (max / exp > 0) {
    int buckets[10] = {0};
    for (i = 0; i < s; i++)
      buckets[(vet[i] / exp) % 10]++;
    for (i = 1; i < 10; i++)
      buckets[i] += buckets[i - 1];
    for (i = s - 1; i >= 0; i--)
      sorted[--buckets[(vet[i] / exp) % 10]] = vet[i];
    for (i = 0; i < s; i++)
      vet[i] = sorted[i];
    exp *= 10;
  }
}
```