user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x288,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x278(%rsp)
  xor    %eax,%eax
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D39(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  lea    D38(%rip),%rdi
  call   <scanf@plt>
  mov    0x8(%rsp),%r11
  test   %r11,%r11
  jle    L171
  lea    0x10(%rsp),%r10
  mov    %r10,%rdi
  mov    %r11,%rcx
  mov    $0x0,%esi
  movabs $0x6666666666666667,%r9
L54:
  mov    %rcx,%rax
  imul   %r9
  sar    $0x2,%rdx
  mov    %rcx,%rax
  sar    $0x3f,%rax
  sub    %rax,%rdx
  lea    (%rdx,%rdx,4),%rax
  add    %rax,%rax
  mov    %rcx,%r8
  sub    %rax,%r8
  mov    %r8d,(%rdi)
  mov    %rcx,%rax
  mov    %rdx,%rcx
  mov    %esi,%r8d
  add    $0x1,%esi
  add    $0x4,%rdi
  cmp    $0x9,%rax
  jg     L54
  test   %esi,%esi
  jle    L171
  mov    $0x0,%esi
  mov    $0x0,%ebx
  lea    0x10(%rsp),%r9
  lea    0xe0(%rsp),%r13
  lea    0x1b0(%rsp),%r12
  jmp    L44
L82:
  add    $0x1,%rax
  lea    -0x1(%rax),%edx
  cmp    %edx,%r8d
  jl     L169
L160:
  cmp    (%r9,%rax,4),%ecx
  jne    L82
  add    $0x1,%edi
  jmp    L82
L169:
  cmp    $0x1,%edi
  jg     L43
L0:
  lea    0x1(%rbx),%eax
  add    $0x4,%r10
  cmp    %ebx,%r8d
  jle    L53
  mov    %eax,%ebx
L44:
  mov    (%r10),%ecx
  mov    $0x0,%eax
  mov    $0x0,%edi
  jmp    L160
L43:
  test   %ebx,%ebx
  js     L0
  movslq %esi,%rdx
  shl    $0x2,%rdx
  lea    0x0(%r13,%rdx,1),%rax
  lea    0x4(%r12,%rdx,1),%rdx
  lea    0x1(%rsi,%rbx,1),%ebp
L164:
  cmp    (%rax),%ecx
  je     L0
  add    $0x1,%esi
  mov    %ecx,0x4(%rax)
  mov    %edi,(%rdx)
  add    $0x4,%rax
  add    $0x4,%rdx
  cmp    %ebp,%esi
  jne    L164
  mov    %ebp,%esi
  jmp    L0
L53:
  test   %esi,%esi
  jle    L171
  movslq %esi,%rbx
  lea    D25(%rip),%rbp
L15:
  mov    0x1b0(%rsp,%rbx,4),%edx
  mov    0xe0(%rsp,%rbx,4),%esi
  mov    0x8(%rsp),%rcx
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  sub    $0x1,%rbx
  test   %ebx,%ebx
  jg     L15
L159:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x278(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  mov    $0x0,%eax
  add    $0x288,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L171:
  mov    %r11,%rsi
  lea    D18(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L159
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D39
data_type: string
name: extract_symbolic_data
arguments: data_tag: D38
data_type: string
name: extract_symbolic_data
arguments: data_tag: D25
data_type: string
name: extract_symbolic_data
arguments: data_tag: D18
data_type: string

tool: D39:   Enter Number: 

tool: D38: %lli

tool: D25:   %d is Met %d Times in the Number %lli 


tool: D18:   Everything in the Number %lli is Met Only Once 


assistant: ```c
int main() {
  int a[50], b[50], c[50], d[50], m = 0, i, t, u, v = 0, o;
  long long int n, p;
  printf("\n");
  printf("  Enter Number: ");
  scanf("%lli", &n);
  p = n;
  for (i = 0; p > 0; i++) {
    a[i] = p % 10;
    p = p / 10;
  }
  for (t = 0; t < i; t++) {
    for (u = 0; u <= i; u++) {
      if (a[t] == a[u])
        m++;
    }
    b[t] = m;
    m = 0;
    if (b[t] > 1) {
      o = t;
      while (o >= 0) {
        if (a[t] == c[v])
          break;
        else {
          v++;
          c[v] = a[t];
          d[v] = b[t];
        }
        o--;
      }
    }
  }
  if (v > 0) {
    for (; v > 0; v--) {
      printf("  %d is Met %d Times in the Number %lli \n", c[v], d[v], n);
    }
  } else
    printf("  Everything in the Number %lli is Met Only Once \n", n);
  printf("\n");
  return 0;
}
```