user: Demonstrate the C code that generates the assembly output below:

```asm
<radix_sort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1f8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1e8(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  jle    L4
  lea    -0x1(%rsi),%eax
  mov    %esi,%ebx
  mov    %rdi,%rbp
  xor    %r12d,%r12d
  mov    %rax,%rsi
  lea    0x4(%rdi,%rax,4),%r13
  mov    %rdi,%rax
  cs nopw 0x0(%rax,%rax,1)
L9:
  mov    (%rax),%edx
  cmp    %edx,%r12d
  cmovl  %edx,%r12d
  add    $0x4,%rax
  cmp    %rax,%r13
  jne    L9
  test   %r12d,%r12d
  je     L4
  mov    %ebx,%eax
  movslq %esi,%rsi
  lea    0x48(%rsp),%r14
  mov    %r12d,0xc(%rsp)
  shl    $0x2,%rax
  mov    %rsi,0x10(%rsp)
  mov    %rbp,%r12
  mov    $0x1,%r15d
  mov    %rax,(%rsp)
  lea    0x24(%rsp),%rax
  mov    %ebx,%ebp
  mov    %r14,%rbx
  mov    %rax,0x18(%rsp)
  lea    0x50(%rsp),%rax
  mov    %r13,%r14
  mov    %rax,%r13
  nopw   0x0(%rax,%rax,1)
L22:
  movq   $0x0,0x40(%rsp)
  pxor   %xmm0,%xmm0
  mov    %r12,%rsi
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  nopw   0x0(%rax,%rax,1)
L45:
  mov    (%rsi),%eax
  add    $0x4,%rsi
  cltd
  idiv   %r15d
  movslq %eax,%rdx
  mov    %eax,%ecx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%ecx
  sar    $0x22,%rdx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,4),%ecx
  add    %ecx,%ecx
  sub    %ecx,%eax
  movslq %eax,%rdx
  addl   $0x1,0x20(%rsp,%rdx,4)
  cmp    %rsi,%r14
  jne    L45
  mov    0x18(%rsp),%rax
  nopl   0x0(%rax,%rax,1)
L61:
  mov    -0x4(%rax),%edx
  add    %edx,(%rax)
  add    $0x4,%rax
  cmp    %rbx,%rax
  jne    L61
  mov    0x10(%rsp),%rsi
  nopl   0x0(%rax,%rax,1)
L19:
  mov    (%r12,%rsi,4),%ecx
  sub    $0x1,%rsi
  mov    %ecx,%eax
  cltd
  idiv   %r15d
  movslq %eax,%rdx
  mov    %eax,%edi
  imul   $0x66666667,%rdx,%rdx
  sar    $0x1f,%edi
  sar    $0x22,%rdx
  sub    %edi,%edx
  lea    (%rdx,%rdx,4),%edi
  add    %edi,%edi
  sub    %edi,%eax
  movslq %eax,%rdx
  mov    0x20(%rsp,%rdx,4),%eax
  sub    $0x1,%eax
  mov    %eax,0x20(%rsp,%rdx,4)
  cltq
  mov    %ecx,0x50(%rsp,%rax,4)
  test   %esi,%esi
  jns    L19
  mov    (%rsp),%rdx
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <memcpy@plt>
  lea    (%r15,%r15,4),%ecx
  lea    D5(%rip),%rdi
  lea    (%rcx,%rcx,1),%r15d
  call   <printf@plt>
  mov    %ebp,%esi
  mov    %r12,%rdi
  call   <print@plt>
  mov    0xc(%rsp),%eax
  cltd
  idiv   %r15d
  test   %eax,%eax
  jne    L22
L4:
  mov    0x1e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0x1f8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L69:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D5
type: string

tool: D5: 

PASS   : 

assistant: ```c
void radix_sort(int *a, int n) {
  int i, b[100], m = 0, exp = 1;
  for (i = 0; i < n; i++) {
    if (a[i] > m)
      m = a[i];
  }
  while (m / exp > 0) {
    int box[10] = {0};
    for (i = 0; i < n; i++)
      box[a[i] / exp % 10]++;
    for (i = 1; i < 10; i++)
      box[i] += box[i - 1];
    for (i = n - 1; i >= 0; i--)
      b[--box[a[i] / exp % 10]] = a[i];
    for (i = 0; i < n; i++)
      a[i] = b[i];
    exp *= 10;
    printf("\n\nPASS   : ");
    print(a, n);
  }
}
```