user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D37(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  lea    D32(%rip),%rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  movabs $0x1ca00000346,%rax
  mov    %rsp,%rbx
  mov    %rax,(%rsp)
  movabs $0x11e000003d1,%rax
  mov    %rax,0x8(%rsp)
  movabs $0x3720000034a,%rax
  mov    %rax,0x10(%rsp)
  movabs $0x1b200000331,%rax
  mov    %rax,0x18(%rsp)
  movabs $0x2630000022d,%rax
  mov    %rax,0x20(%rsp)
  call   <puts@plt>
  nopl   0x0(%rax)
L15:
  mov    (%rbx,%r12,4),%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r12
  call   <printf@plt>
  cmp    $0xa,%r12
  jne    L15
  xor    %r12d,%r12d
  lea    0x30(%rsp),%r14
  lea    0x60(%rsp),%r13
L5:
  xor    %r15d,%r15d
  nopl   0x0(%rax,%rax,1)
L28:
  mov    (%rbx,%r15,4),%edi
  mov    %r12,%rsi
  call   <getVal@plt>
  mov    %eax,(%r14,%r15,4)
  add    $0x1,%r15
  cmp    $0xa,%r15
  jne    L28
  mov    %r12,%rsi
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  xor    %r15d,%r15d
  call   <printf@plt>
  mov    $0xa,%ecx
  mov    %r13,%rdx
  mov    %r14,%rsi
  mov    %rbx,%rdi
  call   <counting_sort@plt>
  nopl   0x0(%rax)
L24:
  mov    0x0(%r13,%r15,4),%edx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %edx,(%rbx,%r15,4)
  add    $0x1,%r15
  call   <printf@plt>
  cmp    $0xa,%r15
  jne    L24
  add    $0x1,%r12
  cmp    $0x3,%r12
  jne    L5
  lea    D10(%rip),%rdi
  xor    %r12d,%r12d
  call   <puts@plt>
  nopl   0x0(%rax)
L27:
  mov    (%rbx,%r12,4),%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r12
  call   <printf@plt>
  cmp    $0xa,%r12
  jne    L27
  mov    $0x3,%esi
  mov    $0xa,%edi
  call   <pow@plt>
  lea    D47(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L13
  add    $0x98,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L13:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D37
type_guessed: string
name: extract_symbolic_data
arguments: tag: D32
type_guessed: string
name: extract_symbolic_data
arguments: tag: D13
type_guessed: string
name: extract_symbolic_data
arguments: tag: D10
type_guessed: string
name: extract_symbolic_data
arguments: tag: D47
type_guessed: string

tool: D37: The test data is:

tool: D32: %zu	,%d,


tool: D13: For the %zuth digit sorting:


tool: D10: For the final sorted data:

tool: D47: ....%d


assistant: ```c
int main(void) {
  int srcdata[10] = {838, 458, 977, 286, 842, 882, 817, 434, 557, 611};
  int testdata[10];
  int rtndata[10];
  int digit = 3;
  size_t idx, jdx;
  printf("The test data is:\n");
  for (idx = 0; idx < 10; idx++) {
    printf("%zu\t,%d,\n", idx, srcdata[idx]);
  }
  for (jdx = 0; jdx < digit; jdx++) {
    for (idx = 0; idx < 10; idx++) {
      testdata[idx] = getVal(srcdata[idx], jdx);
    }
    printf("For the %zuth digit sorting:\n", jdx);
    counting_sort(srcdata, testdata, rtndata, 10);
    for (idx = 0; idx < 10; idx++) {
      srcdata[idx] = rtndata[idx];
      printf("%zu\t,%d,\n", idx, rtndata[idx]);
    }
  }
  printf("For the final sorted data:\n");
  for (idx = 0; idx < 10; idx++) {
    printf("%zu\t,%d,\n", idx, srcdata[idx]);
  }
  printf("....%d\n", (int)pow(10, 3));
  return 0;
}
```