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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rsi
  lea    D15(%rip),%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%edx
  test   %edx,%edx
  jle    L11
  movl   $0x0,0x4(%rsp)
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x8(%rsp)
  mov    $0x0,%ebx
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  mov    $0x0,%r13d
  mov    $0x0,%r14d
  mov    $0x0,%r15d
  mov    $0x0,%esi
  jmp    L23
L78:
  cmp    $0x1,%eax
  jne    L2
  add    $0x1,%r15d
L130:
  cmp    $0x4,%eax
  jne    L76
  add    $0x1,%r12d
L95:
  cmp    $0x7,%eax
  jne    L163
  addl   $0x1,0x8(%rsp)
L56:
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  sar    $0x22,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  cmp    $0x9,%edx
  jle    L145
  mov    %eax,%edx
L23:
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  sar    $0x22,%rax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  lea    (%rax,%rax,4),%ecx
  add    %ecx,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  jne    L78
  add    $0x1,%esi
L115:
  cmp    $0x3,%eax
  jne    L130
  add    $0x1,%r13d
L122:
  cmp    $0x6,%eax
  jne    L95
  add    $0x1,%ebx
L42:
  cmp    $0x9,%eax
  jne    L56
  addl   $0x1,0x4(%rsp)
  jmp    L56
L2:
  cmp    $0x2,%eax
  jne    L115
  add    $0x1,%r14d
L76:
  cmp    $0x5,%eax
  jne    L122
  add    $0x1,%ebp
L163:
  cmp    $0x8,%eax
  jne    L42
  addl   $0x1,0xc(%rsp)
  jmp    L56
L145:
  mov    %eax,0x14(%rsp)
L136:
  lea    D107(%rip),%rdi
  call   <printf@plt>
  mov    %r15d,%esi
  lea    D3(%rip),%rdi
  call   <printf@plt>
  mov    %r14d,%esi
  lea    D56(%rip),%rdi
  call   <printf@plt>
  mov    %r13d,%esi
  lea    D69(%rip),%rdi
  call   <printf@plt>
  mov    %r12d,%esi
  lea    D96(%rip),%rdi
  call   <printf@plt>
  mov    %ebp,%esi
  lea    D65(%rip),%rdi
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D83(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D42(%rip),%rdi
  call   <printf@plt>
  mov    0x4(%rsp),%esi
  lea    D5(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L94
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L11:
  movl   $0x0,0x4(%rsp)
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x8(%rsp)
  mov    $0x0,%ebx
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  mov    $0x0,%r13d
  mov    $0x0,%r14d
  mov    $0x0,%r15d
  mov    $0x0,%esi
  jmp    L136
L94:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D15
type: string
name: retrieve_data
arguments: data_tag: D107
type: string
name: retrieve_data
arguments: data_tag: D3
type: string
name: retrieve_data
arguments: data_tag: D56
type: string
name: retrieve_data
arguments: data_tag: D69
type: string
name: retrieve_data
arguments: data_tag: D96
type: string
name: retrieve_data
arguments: data_tag: D65
type: string
name: retrieve_data
arguments: data_tag: D83
type: string
name: retrieve_data
arguments: data_tag: D7
type: string
name: retrieve_data
arguments: data_tag: D42
type: string
name: retrieve_data
arguments: data_tag: D5
type: string

tool: D15: %d

tool: D107: 
 0li = %d

tool: D3: 
 1ci = %d

tool: D56: 
 2ki = %d

tool: D69: 
 3ki = %d

tool: D96: 
 4ki = %d

tool: D65: 
 5ci = %d

tool: D83: 
 6ci = %d

tool: D7: 
 7ci = %d

tool: D42: 
 8ci = %d

tool: D5: 
 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);
}
```