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

```asm
<main>:
  endbr64
  push   %r15
  lea    D46(%rip),%rdi
  xor    %r15d,%r15d
  push   %r14
  xor    %r14d,%r14d
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  xor    %ebp,%ebp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rsi
  call   <scanf@plt>
  mov    0x14(%rsp),%ecx
  xor    %r8d,%r8d
  xor    %r9d,%r9d
  xor    %r10d,%r10d
  xor    %r11d,%r11d
  mov    $0xcccccccd,%esi
  test   %ecx,%ecx
  jg     L43
  jmp    L172
  xchg   %ax,%ax
L153:
  add    $0x1,%r11d
  nopl   0x0(%rax)
L45:
  imul   %rsi,%rdx
  shr    $0x23,%rdx
  cmp    $0x9,%ecx
  jle    L171
L183:
  mov    %edx,%ecx
L43:
  mov    %ecx,%edx
  mov    %rdx,%rax
  imul   %rsi,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%edi
  mov    %ecx,%eax
  add    %edi,%edi
  sub    %edi,%eax
  je     L153
  cmp    $0x1,%eax
  jne    L161
  imul   %rsi,%rdx
  add    $0x1,%r10d
  shr    $0x23,%rdx
  cmp    $0x9,%ecx
  jg     L183
L171:
  mov    %edx,0x14(%rsp)
L172:
  mov    %r11d,%esi
  lea    D66(%rip),%rdi
  mov    %r8d,0xc(%rsp)
  mov    %r9d,0x8(%rsp)
  mov    %r10d,0x4(%rsp)
  call   <printf@plt>
  mov    0x4(%rsp),%esi
  lea    D12(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%esi
  lea    D26(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D81(%rip),%rdi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D94(%rip),%rdi
  call   <printf@plt>
  mov    %r15d,%esi
  lea    D39(%rip),%rdi
  call   <printf@plt>
  mov    %r14d,%esi
  lea    D20(%rip),%rdi
  call   <printf@plt>
  mov    %r13d,%esi
  lea    D65(%rip),%rdi
  call   <printf@plt>
  mov    %r12d,%esi
  lea    D97(%rip),%rdi
  call   <printf@plt>
  mov    %ebp,%esi
  lea    D69(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L75
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L161:
  cmp    $0x2,%eax
  jne    L36
  add    $0x1,%r9d
  jmp    L45
L36:
  cmp    $0x3,%eax
  jne    L55
  add    $0x1,%r8d
  jmp    L45
L55:
  cmp    $0x4,%eax
  jne    L139
  add    $0x1,%ebx
  jmp    L45
L139:
  cmp    $0x5,%eax
  jne    L138
  add    $0x1,%r15d
  jmp    L45
L138:
  cmp    $0x6,%eax
  jne    L176
  add    $0x1,%r14d
  jmp    L45
L176:
  cmp    $0x7,%eax
  jne    L77
  add    $0x1,%r13d
  jmp    L45
L77:
  cmp    $0x8,%eax
  jne    L76
  add    $0x1,%r12d
  jmp    L45
L76:
  cmp    $0x9,%eax
  jne    L45
  add    $0x1,%ebp
  jmp    L45
L75:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D46
type: string
name: retrieve_data
arguments: data_tag: D66
type: string
name: retrieve_data
arguments: data_tag: D12
type: string
name: retrieve_data
arguments: data_tag: D26
type: string
name: retrieve_data
arguments: data_tag: D81
type: string
name: retrieve_data
arguments: data_tag: D94
type: string
name: retrieve_data
arguments: data_tag: D39
type: string
name: retrieve_data
arguments: data_tag: D20
type: string
name: retrieve_data
arguments: data_tag: D65
type: string
name: retrieve_data
arguments: data_tag: D97
type: string
name: retrieve_data
arguments: data_tag: D69
type: string

tool: D46: %d

tool: D66: 
 0li = %d

tool: D12: 
 1ci = %d

tool: D26: 
 2ki = %d

tool: D81: 
 3ki = %d

tool: D94: 
 4ki = %d

tool: D39: 
 5ci = %d

tool: D20: 
 6ci = %d

tool: D65: 
 7ci = %d

tool: D97: 
 8ci = %d

tool: D69: 
 9ki = %d

assistant: ```c
int main() {
  int n, v;
  int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0, h = 0, k = 0, l = 0;
  scanf("%d", &n);
  while (n > 0) {
    v = n % 10;
    if (v == 0)
      a++;
    if (v == 1)
      b++;
    if (v == 2)
      c++;
    if (v == 3)
      d++;
    if (v == 4)
      e++;
    if (v == 5)
      f++;
    if (v == 6)
      g++;
    if (v == 7)
      h++;
    if (v == 8)
      k++;
    if (v == 9)
      l++;
    n = n / 10;
  }
  printf("\n 0li = %d", a);
  printf("\n 1ci = %d", b);
  printf("\n 2ki = %d", c);
  printf("\n 3ki = %d", d);
  printf("\n 4ki = %d", e);
  printf("\n 5ci = %d", f);
  printf("\n 6ci = %d", g);
  printf("\n 7ci = %d", h);
  printf("\n 8ci = %d", k);
  printf("\n 9ki = %d", l);
}
```