user: Please show me the C implementation that matches the assembly code listed below:

```asm
<bucketSort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x88,%rsp
  mov    %esi,-0x8c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,-0xa8(%rbp)
  cmp    $0x1,%esi
  jle    L14
  movslq %esi,%rax
  mov    %rsp,%rcx
  mov    %rdi,%r15
  mov    %rax,-0x98(%rbp)
  lea    (%rax,%rax,4),%rax
  lea    0xf(,%rax,8),%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rcx
  and    $0xfffffffffffffff0,%rax
  cmp    %rcx,%rsp
  je     L54
L181:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L181
L54:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L198
L133:
  mov    -0x8c(%rbp),%eax
  mov    (%r15),%ebx
  pxor   %xmm0,%xmm0
  mov    %rsp,-0x80(%rbp)
  movq   $0x0,-0x40(%rbp)
  lea    -0x1(%rax),%ecx
  sub    $0x2,%eax
  mov    %ebx,-0x78(%rbp)
  movaps %xmm0,-0x60(%rbp)
  movaps %xmm0,-0x50(%rbp)
  cmp    $0x2,%eax
  jbe    L187
  mov    %ecx,%edx
  movd   %ebx,%xmm3
  lea    0x4(%r15),%rax
  shr    $0x2,%edx
  pshufd $0x0,%xmm3,%xmm2
  sub    $0x1,%edx
  shl    $0x4,%rdx
  lea    0x14(%r15,%rdx,1),%rdx
L215:
  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    %rdx,%rax
  jne    L215
  movdqa %xmm2,%xmm1
  mov    %ecx,%edx
  psrldq $0x8,%xmm1
  and    $0xfffffffc,%edx
  movdqa %xmm1,%xmm0
  lea    0x1(%rdx),%eax
  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
  movdqa %xmm1,%xmm0
  por    %xmm2,%xmm0
  movd   %xmm0,-0x78(%rbp)
  cmp    %edx,%ecx
  je     L91
L19:
  movslq %eax,%rsi
  mov    -0x78(%rbp),%edi
  lea    0x0(,%rsi,4),%rdx
  mov    (%r15,%rsi,4),%esi
  cmp    %esi,%edi
  cmovge %edi,%esi
  mov    -0x8c(%rbp),%edi
  mov    %esi,-0x78(%rbp)
  mov    %esi,%ebx
  lea    0x1(%rax),%esi
  cmp    %esi,%edi
  jle    L91
  mov    0x4(%r15,%rdx,1),%esi
  cmp    %esi,%ebx
  cmovge %ebx,%esi
  add    $0x2,%eax
  mov    %esi,-0x78(%rbp)
  cmp    %eax,%edi
  jle    L91
  mov    0x8(%r15,%rdx,1),%eax
  cmp    %eax,%esi
  cmovge %esi,%eax
  mov    %eax,-0x78(%rbp)
L91:
  cmpl   $0x1,-0x78(%rbp)
  jle    L21
  mov    -0x8c(%rbp),%eax
  movl   $0x1,-0x74(%rbp)
  shl    $0x2,%rax
  mov    %rax,-0xa0(%rbp)
  mov    -0x98(%rbp),%rax
  shl    $0x2,%rax
  mov    %rax,-0x70(%rbp)
  lea    -0x60(%rbp),%rax
  mov    %rax,-0x88(%rbp)
  lea    -0x5c(%rbp,%rcx,4),%rax
  mov    %rax,-0x68(%rbp)
  nopl   0x0(%rax)
L237:
  mov    -0xa0(%rbp),%rdx
  mov    -0x88(%rbp),%rdi
  xor    %esi,%esi
  call   <memset@plt>
  mov    (%r15),%ecx
  mov    -0x74(%rbp),%r8d
  mov    -0x98(%rbp),%rbx
  mov    -0x80(%rbp),%r9
  mov    %ecx,%eax
  mov    -0x8c(%rbp),%r10d
  cltd
  mov    %rbx,%rdi
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  imul   %rdx,%rdi
  movslq -0x60(%rbp,%rdx,4),%rsi
  mov    %rsi,%rax
  add    %rdi,%rsi
  add    $0x1,%eax
  mov    %rbx,%rdi
  mov    %ecx,(%r9,%rsi,4)
  mov    0x4(%r15),%ecx
  mov    %eax,-0x60(%rbp,%rdx,4)
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x2,%r10d
  je     L20
  mov    0x8(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x3,%r10d
  je     L20
  mov    0xc(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x4,%r10d
  je     L20
  mov    0x10(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x5,%r10d
  je     L20
  mov    0x14(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x6,%r10d
  je     L20
  mov    0x18(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x7,%r10d
  je     L20
  mov    0x1c(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x8,%r10d
  je     L20
  mov    0x20(%r15),%ecx
  mov    %rbx,%rdi
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rdi
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rdi,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
  cmp    $0x9,%r10d
  je     L20
  mov    0x24(%r15),%ecx
  mov    %ecx,%eax
  cltd
  idiv   %r8d
  movslq %eax,%rdx
  mov    %eax,%esi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%esi
  sar    $0x22,%rdx
  sub    %esi,%edx
  lea    (%rdx,%rdx,4),%esi
  add    %esi,%esi
  sub    %esi,%eax
  movslq %eax,%rdx
  movslq -0x60(%rbp,%rdx,4),%rsi
  imul   %rdx,%rbx
  mov    %rsi,%rax
  add    $0x1,%eax
  add    %rbx,%rsi
  mov    %ecx,(%r9,%rsi,4)
  mov    %eax,-0x60(%rbp,%rdx,4)
L20:
  mov    -0x80(%rbp),%r13
  mov    -0x88(%rbp),%r12
  xor    %r14d,%r14d
  nopl   (%rax)
L205:
  mov    (%r12),%ebx
  test   %ebx,%ebx
  jle    L72
  movslq %r14d,%rax
  movslq %ebx,%rdx
  mov    %r13,%rsi
  add    %ebx,%r14d
  lea    (%r15,%rax,4),%rdi
  shl    $0x2,%rdx
  call   <memcpy@plt>
L72:
  add    $0x4,%r12
  add    -0x70(%rbp),%r13
  cmp    %r12,-0x68(%rbp)
  jne    L205
  mov    -0x74(%rbp),%eax
  lea    (%rax,%rax,4),%ebx
  lea    (%rbx,%rbx,1),%eax
  mov    %eax,-0x74(%rbp)
  cmp    -0x78(%rbp),%eax
  jl     L237
L21:
  mov    -0xa8(%rbp),%rsp
L14:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L128
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L198:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L133
L187:
  mov    $0x1,%eax
  jmp    L19
L128:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void bucketSort(int toSort[], int arrLen) {
  if (arrLen <= 1)
    return;
  int bucket[10][arrLen];
  int indexes[10] = {0};
  int max = toSort[0];
  int i, j, row;
  int modBy = 10;
  int divBy = 1;
  for (i = 1; i < arrLen; i++)
    if (toSort[i] > max) {
      max = toSort[i];
    }
  while (divBy < max) {
    for (i = 0; i < arrLen; i++) {
      indexes[i] = 0;
    }
    for (i = 0; i < arrLen; i++) {
      row = (toSort[i] / divBy) % modBy;
      bucket[row][indexes[row]] = toSort[i];
      ++indexes[row];
    }
    row = 0;
    for (i = 0; i < arrLen; i++) {
      for (j = 0; j < indexes[i]; j++)
        toSort[row++] = bucket[i][j];
    }
    divBy *= 10;
  }
}
```