user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  lea    D10(%rip),%r13
  push   %r12
  movabs $0xcccccccccccccccd,%r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0x18(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   (%rax)
L24:
  pxor   %xmm0,%xmm0
  lea    D16(%rip),%rdi
  xor    %eax,%eax
  movq   $0x0,0x40(%rsp)
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movq   $0x0,0x18(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  lea    D56(%rip),%rdi
  call   <scanf@plt>
  mov    0x18(%rsp),%rcx
  test   %rcx,%rcx
  je     L26
  jle    L109
  nopl   0x0(%rax,%rax,1)
L35:
  mov    %rcx,%rax
  mul    %r12
  mov    %rcx,%rax
  shr    $0x3,%rdx
  lea    (%rdx,%rdx,4),%rsi
  add    %rsi,%rsi
  sub    %rsi,%rax
  cltq
  addl   $0x1,0x20(%rsp,%rax,4)
  mov    %rcx,%rax
  mov    %rdx,%rcx
  cmp    $0x9,%rax
  jg     L35
  mov    %rdx,0x18(%rsp)
  mov    0x20(%rsp),%r14d
L73:
  lea    0x24(%rsp),%rbp
  lea    0x48(%rsp),%rbx
  mov    %r14d,%ecx
  xor    %edx,%edx
  mov    %rbp,%rax
  jmp    L115
L60:
  mov    (%rax),%ecx
  add    $0x4,%rax
L115:
  add    %ecx,%edx
  cmp    %rbx,%rax
  jne    L60
  test   %edx,%edx
  jne    L47
  lea    D54(%rip),%rdi
  call   <puts@plt>
  jmp    L24
  nopw   0x0(%rax,%rax,1)
L47:
  lea    D23(%rip),%rdi
  xor    %eax,%eax
  xor    %r15d,%r15d
  call   <printf@plt>
  nopl   0x0(%rax)
L104:
  mov    %r15d,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%r15d
  call   <printf@plt>
  cmp    $0xa,%r15d
  jne    L104
  lea    D59(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L83
  nopw   0x0(%rax,%rax,1)
L59:
  mov    0x0(%rbp),%r14d
  add    $0x4,%rbp
L83:
  xor    %eax,%eax
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <printf@plt>
  cmp    %rbx,%rbp
  jne    L59
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L24
  nopl   0x0(%rax)
L26:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L97
  add    $0x58,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L109:
  xor    %r14d,%r14d
  jmp    L73
L97:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D10
datatype: string
name: disassemble_data
arguments: tag: D16
datatype: string
name: disassemble_data
arguments: tag: D56
datatype: string
name: disassemble_data
arguments: tag: D54
datatype: string
name: disassemble_data
arguments: tag: D23
datatype: string
name: disassemble_data
arguments: tag: D59
datatype: string

tool: D10: %d 

tool: D16: Enter a number: 

tool: D56: %ld

tool: D54: No repeated digits

tool: D23: Digit:		

tool: D59: 
Occurances:	

assistant: ```c
int main(void) {
  while (1) {
    int duplicates[10] = {0};
    int digit = 0;
    int empty = 0;
    long n = 0;
    printf("Enter a number: ");
    scanf("%ld", &n);
    if (n == 0) {
      break;
    }
    while (n > 0) {
      digit = n % 10;
      duplicates[digit] += 1;
      n /= 10;
    }
    for (int i = 0; i < 10; i += 1) {
      empty += duplicates[i];
    }
    if (empty == 0) {
      printf("No repeated digits\n");
    } else {
      printf("Digit:\t\t");
      for (int i = 0; i < 10; i += 1) {
        printf("%d ", i);
      }
      printf("\nOccurances:\t");
      for (int i = 0; i < 10; i += 1) {
        printf("%d ", duplicates[i]);
      }
      printf("\n");
    }
  }
  return 0;
}
```