user: 请从给定的汇编指令推导出C源代码：

```asm
<radixSort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r13
  push   %r12
  sub    $0x70,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %esi,-0x7c(%rbp)
  mov    %fs:0x28,%rcx
  mov    %rcx,-0x18(%rbp)
  xor    %ecx,%ecx
  mov    %rsp,%rcx
  mov    %rcx,%r11
  mov    -0x7c(%rbp),%ecx
  movslq %ecx,%rsi
  sub    $0x1,%rsi
  mov    %rsi,-0x50(%rbp)
  movslq %ecx,%rsi
  mov    %rsi,%r12
  mov    $0x0,%r13d
  movslq %ecx,%rsi
  shl    $0x2,%rsi
  movslq %ecx,%rdi
  mov    %rdi,%rax
  mov    $0x0,%edx
  imul   $0x140,%rdx,%r10
  imul   $0x0,%rax,%rdi
  add    %r10,%rdi
  mov    $0x140,%r10d
  mul    %r10
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  movslq %ecx,%rax
  mov    %rax,%r8
  mov    $0x0,%r9d
  imul   $0x140,%r9,%rdx
  imul   $0x0,%r8,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    $0x140,%eax
  mul    %r8
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L121:
  cmp    %rdx,%rsp
  je     L144
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L121
L144:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L72
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L72:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x78(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x70(%rbp)
  movl   $0x0,-0x6c(%rbp)
  jmp    L73
L103:
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x70(%rbp)
  jge    L76
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x70(%rbp)
L76:
  addl   $0x1,-0x6c(%rbp)
L73:
  mov    -0x6c(%rbp),%eax
  cmp    -0x7c(%rbp),%eax
  jl     L103
  movl   $0x0,-0x68(%rbp)
  jmp    L61
L184:
  addl   $0x1,-0x68(%rbp)
  mov    -0x70(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x70(%rbp)
L61:
  cmpl   $0x0,-0x70(%rbp)
  jg     L184
  movl   $0x1,-0x64(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L68
L145:
  movl   $0x0,-0x6c(%rbp)
  jmp    L13
L44:
  mov    -0x6c(%rbp),%eax
  cltq
  movl   $0x0,-0x40(%rbp,%rax,4)
  addl   $0x1,-0x6c(%rbp)
L13:
  cmpl   $0x9,-0x6c(%rbp)
  jle    L44
  movl   $0x0,-0x6c(%rbp)
  jmp    L35
L120:
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltd
  idivl  -0x64(%rbp)
  mov    %eax,%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,-0x54(%rbp)
  mov    -0x54(%rbp),%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  sub    %eax,%edx
  mov    %edx,-0x54(%rbp)
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %rsi,%r8
  shr    $0x2,%r8
  mov    -0x54(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  lea    0x1(%rax),%ecx
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,-0x40(%rbp,%rdx,4)
  mov    (%rdi),%ecx
  mov    -0x48(%rbp),%rdx
  movslq %eax,%rdi
  mov    -0x54(%rbp),%eax
  cltq
  imul   %r8,%rax
  add    %rdi,%rax
  mov    %ecx,(%rdx,%rax,4)
  addl   $0x1,-0x6c(%rbp)
L35:
  mov    -0x6c(%rbp),%eax
  cmp    -0x7c(%rbp),%eax
  jl     L120
  movl   $0x0,-0x6c(%rbp)
  movl   $0x0,-0x58(%rbp)
  jmp    L80
L81:
  movl   $0x0,-0x5c(%rbp)
  jmp    L59
L177:
  mov    %rsi,%rdi
  shr    $0x2,%rdi
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  mov    -0x5c(%rbp),%ecx
  movslq %ecx,%r8
  mov    -0x58(%rbp),%ecx
  movslq %ecx,%rcx
  imul   %rdi,%rcx
  add    %r8,%rcx
  mov    (%rax,%rcx,4),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x5c(%rbp)
L59:
  mov    -0x58(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,4),%eax
  cmp    %eax,-0x5c(%rbp)
  jl     L177
  addl   $0x1,-0x58(%rbp)
L80:
  cmpl   $0x9,-0x58(%rbp)
  jle    L81
  mov    -0x64(%rbp),%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,-0x64(%rbp)
  addl   $0x1,-0x60(%rbp)
L68:
  mov    -0x60(%rbp),%eax
  cmp    -0x68(%rbp),%eax
  jl     L145
  mov    %r11,%rsp
  nop
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L111
  call   <__stack_chk_fail@plt>
L111:
  lea    -0x10(%rbp),%rsp
  pop    %r12
  pop    %r13
  pop    %rbp
  ret
```

assistant: ```c
void radixSort(int A[], int n) {
  int bucket[10][n], app[10];
  int maxn = A[0];
  int i;
  for (i = 0; i < n; i++)
    if (A[i] > maxn)
      maxn = A[i];
  int sizen = 0;
  while (maxn > 0) {
    sizen++;
    maxn = maxn / 10;
  }
  int div = 1;
  int count;
  for (count = 0; count < sizen; count++) {
    for (i = 0; i < 10; i++)
      app[i] = 0;
    for (i = 0; i < n; i++) {
      int digit = (A[i] / div) % 10;
      bucket[digit][app[digit]++] = A[i];
    }
    i = 0;
    int j, k;
    for (k = 0; k < 10; k++)
      for (j = 0; j < app[k]; j++)
        A[i++] = bucket[k][j];
    div *= 10;
  }
}
```