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

```asm
<_radix_sort>:
  endbr64
  push   %r15
  mov    %edx,%r10d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    (%rdi),%r9d
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  test   %edx,%edx
  jle    L9
  lea    -0x1(%rdx),%eax
  cmp    $0x2,%eax
  jbe    L84
  shr    $0x2,%edx
  movd   %r9d,%xmm5
  mov    %rdi,%rax
  sub    $0x1,%edx
  pshufd $0x0,%xmm5,%xmm2
  shl    $0x4,%rdx
  lea    0x10(%rdi,%rdx,1),%rdx
  nopl   0x0(%rax,%rax,1)
L55:
  movdqu (%rax),%xmm0
  add    $0x10,%rax
  movdqa %xmm0,%xmm1
  pcmpgtd %xmm2,%xmm1
  pand   %xmm1,%xmm0
  pandn  %xmm2,%xmm1
  movdqa %xmm1,%xmm2
  por    %xmm0,%xmm2
  cmp    %rax,%rdx
  jne    L55
  movdqa %xmm2,%xmm1
  mov    %r10d,%eax
  psrldq $0x8,%xmm1
  and    $0xfffffffc,%eax
  movdqa %xmm1,%xmm0
  pcmpgtd %xmm2,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  movdqa %xmm0,%xmm2
  psrldq $0x4,%xmm2
  movdqa %xmm2,%xmm1
  pcmpgtd %xmm0,%xmm1
  pand   %xmm1,%xmm2
  pandn  %xmm0,%xmm1
  por    %xmm2,%xmm1
  movd   %xmm1,%r9d
  test   $0x3,%r10b
  je     L9
L170:
  movslq %eax,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    (%rdi,%rdx,4),%edx
  cmp    %edx,%r9d
  cmovl  %edx,%r9d
  lea    0x1(%rax),%edx
  cmp    %r10d,%edx
  jge    L9
  mov    0x4(%rdi,%rcx,1),%edx
  cmp    %edx,%r9d
  cmovl  %edx,%r9d
  add    $0x2,%eax
  cmp    %eax,%r10d
  jle    L9
  mov    0x8(%rdi,%rcx,1),%eax
  cmp    %eax,%r9d
  cmovl  %eax,%r9d
L9:
  test   %r9d,%r9d
  jle    L99
  lea    0x4(%rsi),%rdx
  mov    %rdi,%rax
  lea    -0x1(%r10),%r13d
  mov    %r10d,%ecx
  sub    %rdx,%rax
  mov    %r9d,0x4(%rsp)
  mov    %r13,%r12
  lea    0x4(%rdi,%r13,4),%r8
  cmp    $0x8,%rax
  seta   %dl
  cmp    $0x2,%r13d
  seta   %al
  and    $0xfffffffc,%ecx
  and    %eax,%edx
  mov    %r10d,%eax
  mov    %ecx,0xc(%rsp)
  shr    $0x2,%eax
  mov    %dl,0xb(%rsp)
  lea    -0x1(%rax),%r11d
  movslq %ecx,%rax
  shl    $0x2,%rax
  add    $0x1,%r11
  lea    (%rsi,%rax,1),%rbx
  add    %rdi,%rax
  shl    $0x4,%r11
  mov    %rax,0x10(%rsp)
  lea    0x1(%rcx),%eax
  mov    %rbx,%r9
  mov    %eax,0x28(%rsp)
  cltq
  shl    $0x2,%rax
  lea    (%rsi,%rax,1),%rdx
  add    %rdi,%rax
  mov    %rax,0x20(%rsp)
  lea    0x2(%rcx),%eax
  mov    %eax,0x2c(%rsp)
  cltq
  shl    $0x2,%rax
  mov    %rdx,0x18(%rsp)
  lea    (%rsi,%rax,1),%rcx
  add    %rdi,%rax
  mov    %rax,0x30(%rsp)
  mov    %rcx,0x38(%rsp)
  mov    $0x1,%ecx
  cs nopw 0x0(%rax,%rax,1)
L127:
  movq   $0x0,0x60(%rsp)
  pxor   %xmm0,%xmm0
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  test   %r10d,%r10d
  jle    L51
  mov    %rdi,%rbx
  nopl   0x0(%rax,%rax,1)
L81:
  mov    (%rbx),%eax
  add    $0x4,%rbx
  cltd
  idiv   %ecx
  movslq %eax,%rdx
  mov    %eax,%ebp
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%ebp
  sar    $0x22,%rdx
  sub    %ebp,%edx
  lea    (%rdx,%rdx,4),%ebp
  add    %ebp,%ebp
  sub    %ebp,%eax
  movslq %eax,%rdx
  addl   $0x1,0x40(%rsp,%rdx,4)
  cmp    %rbx,%r8
  jne    L81
  mov    0x48(%rsp),%ebx
  mov    0x40(%rsp),%r14d
  mov    0x4c(%rsp),%r15d
  add    0x44(%rsp),%r14d
  add    %r14d,%ebx
  mov    0x50(%rsp),%edx
  mov    0x54(%rsp),%ebp
  movd   %r14d,%xmm5
  add    %ebx,%r15d
  mov    0x58(%rsp),%eax
  movd   0x40(%rsp),%xmm0
  movd   %ebx,%xmm1
  add    %r15d,%edx
  movd   %r15d,%xmm4
  mov    0x5c(%rsp),%ebx
  movdqu 0x44(%rsp),%xmm2
  add    %edx,%ebp
  punpckldq %xmm4,%xmm1
  punpckldq %xmm5,%xmm0
  movdqu 0x54(%rsp),%xmm4
  add    %ebp,%eax
  punpcklqdq %xmm1,%xmm0
  movd   %ebp,%xmm7
  add    %eax,%ebx
  movd   %eax,%xmm1
  paddd  %xmm0,%xmm2
  movd   %ebx,%xmm6
  movd   %edx,%xmm0
  punpckldq %xmm6,%xmm1
  punpckldq %xmm7,%xmm0
  punpcklqdq %xmm1,%xmm0
  paddd  %xmm4,%xmm0
  pshufd $0xff,%xmm0,%xmm1
  movd   %xmm1,%eax
  add    0x64(%rsp),%eax
L52:
  mov    %eax,0x64(%rsp)
  movslq %r12d,%rbx
  movups %xmm2,0x44(%rsp)
  movups %xmm0,0x54(%rsp)
  test   %r12d,%r12d
  js     L90
  nop
L33:
  mov    (%rdi,%rbx,4),%ebp
  sub    $0x1,%rbx
  mov    %ebp,%eax
  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
  mov    0x40(%rsp,%rdx,4),%eax
  sub    $0x1,%eax
  mov    %eax,0x40(%rsp,%rdx,4)
  cltq
  mov    %ebp,(%rsi,%rax,4)
  test   %ebx,%ebx
  jns    L33
L90:
  test   %r10d,%r10d
  jle    L140
  xor    %eax,%eax
  cmpb   $0x0,0xb(%rsp)
  je     L218
  nopw   0x0(%rax,%rax,1)
L94:
  movdqu (%rsi,%rax,1),%xmm3
  movups %xmm3,(%rdi,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%r11
  jne    L94
  cmp    0xc(%rsp),%r10d
  je     L140
  mov    (%r9),%eax
  mov    0x10(%rsp),%rbx
  mov    %eax,(%rbx)
  cmp    0x28(%rsp),%r10d
  jle    L140
  mov    0x18(%rsp),%rax
  mov    0x20(%rsp),%rbx
  mov    (%rax),%eax
  mov    %eax,(%rbx)
  cmp    0x2c(%rsp),%r10d
  jle    L140
  mov    0x38(%rsp),%rax
  mov    0x30(%rsp),%rbx
  mov    (%rax),%eax
  mov    %eax,(%rbx)
L140:
  mov    0x4(%rsp),%eax
  lea    (%rcx,%rcx,4),%ecx
  add    %ecx,%ecx
  cltd
  idiv   %ecx
  test   %eax,%eax
  jne    L127
L99:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L14
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L218:
  mov    (%rsi,%rax,4),%edx
  mov    %edx,(%rdi,%rax,4)
  mov    %rax,%rdx
  add    $0x1,%rax
  cmp    %r13,%rdx
  jne    L218
  jmp    L140
  nopl   0x0(%rax)
L51:
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  movdqa %xmm0,%xmm2
  jmp    L52
L84:
  xor    %eax,%eax
  jmp    L170
L14:
  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;
  }
}
```