user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  lea    D77(%rip),%rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x6(%rsp),%r12
  lea    0x4(%rsp),%rbp
  nopl   (%rax)
L17:
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  movdqa D75(%rip),%xmm8
  cmp    $0x2,%eax
  jne    L177
  movzwl 0x4(%rsp),%r9d
  movzwl 0x6(%rsp),%r8d
  cmp    %r8w,%r9w
  ja     L111
  mov    %r8d,%eax
  sub    %r9d,%eax
  cmp    $0xe,%ax
  jbe    L135
  cmp    $0xffff,%r8w
  je     L135
  lea    0x1(%r8),%ecx
  movd   %r9d,%xmm6
  pxor   %xmm7,%xmm7
  xor    %eax,%eax
  sub    %r9d,%ecx
  punpcklwd %xmm6,%xmm6
  movdqa D73(%rip),%xmm4
  movdqa D76(%rip),%xmm10
  lea    -0x10(%rcx),%edx
  pshufd $0x0,%xmm6,%xmm6
  movdqa D47(%rip),%xmm9
  paddw  D98(%rip),%xmm6
  shr    $0x4,%dx
  pxor   %xmm5,%xmm5
  movdqa D93(%rip),%xmm11
  add    $0x1,%edx
  nopl   (%rax)
L147:
  movdqa D89(%rip),%xmm12
  movdqa %xmm6,%xmm2
  add    $0x1,%eax
  paddw  D39(%rip),%xmm6
  movdqa %xmm2,%xmm1
  movdqa %xmm2,%xmm3
  pmulhuw %xmm8,%xmm1
  paddw  %xmm2,%xmm12
  movdqa %xmm12,%xmm0
  movdqa %xmm12,%xmm14
  pmulhuw %xmm8,%xmm0
  psrlw  $0x3,%xmm1
  movdqa %xmm1,%xmm13
  psllw  $0x2,%xmm13
  psrlw  $0x3,%xmm0
  paddw  %xmm1,%xmm13
  psllw  $0x1,%xmm13
  psubw  %xmm13,%xmm3
  movdqa %xmm0,%xmm13
  psllw  $0x2,%xmm13
  pand   %xmm4,%xmm3
  paddw  %xmm0,%xmm13
  psllw  $0x1,%xmm13
  psubw  %xmm13,%xmm14
  pand   %xmm4,%xmm14
  packuswb %xmm14,%xmm3
  movdqa %xmm1,%xmm14
  pmulhuw %xmm8,%xmm14
  psrlw  $0x3,%xmm14
  movdqa %xmm14,%xmm13
  psllw  $0x2,%xmm13
  paddw  %xmm14,%xmm13
  movdqa %xmm0,%xmm14
  pmulhuw %xmm8,%xmm14
  psllw  $0x1,%xmm13
  psubw  %xmm13,%xmm1
  pand   %xmm4,%xmm1
  psrlw  $0x3,%xmm14
  movdqa %xmm14,%xmm13
  psllw  $0x2,%xmm13
  paddw  %xmm14,%xmm13
  psllw  $0x1,%xmm13
  psubw  %xmm13,%xmm0
  movdqa %xmm12,%xmm13
  psrlw  $0x2,%xmm13
  psrlw  $0x3,%xmm12
  pand   %xmm4,%xmm0
  pmulhuw %xmm10,%xmm13
  pmulhuw %xmm9,%xmm12
  packuswb %xmm0,%xmm1
  movdqa %xmm2,%xmm0
  psrlw  $0x3,%xmm2
  psrlw  $0x2,%xmm0
  pmulhuw %xmm9,%xmm2
  pmulhuw %xmm10,%xmm0
  psrlw  $0x1,%xmm13
  psrlw  $0x4,%xmm12
  pand   %xmm4,%xmm12
  psrlw  $0x4,%xmm2
  psrlw  $0x1,%xmm0
  pand   %xmm4,%xmm2
  movdqa %xmm0,%xmm15
  packuswb %xmm12,%xmm2
  movdqa %xmm1,%xmm12
  pmulhuw %xmm8,%xmm15
  pcmpeqb %xmm2,%xmm12
  pcmpeqb %xmm5,%xmm12
  psrlw  $0x3,%xmm15
  movdqa %xmm15,%xmm14
  psllw  $0x2,%xmm14
  paddw  %xmm15,%xmm14
  movdqa %xmm13,%xmm15
  pmulhuw %xmm8,%xmm15
  psllw  $0x1,%xmm14
  psubw  %xmm14,%xmm0
  pand   %xmm4,%xmm0
  psrlw  $0x3,%xmm15
  movdqa %xmm15,%xmm14
  psllw  $0x2,%xmm14
  paddw  %xmm15,%xmm14
  psllw  $0x1,%xmm14
  psubw  %xmm14,%xmm13
  pand   %xmm4,%xmm13
  packuswb %xmm13,%xmm0
  movdqa %xmm3,%xmm13
  pcmpeqb %xmm1,%xmm13
  pcmpeqb %xmm0,%xmm1
  pcmpeqb %xmm5,%xmm13
  pand   %xmm12,%xmm13
  movdqa %xmm3,%xmm12
  pcmpeqb %xmm0,%xmm12
  pcmpeqb %xmm2,%xmm3
  pcmpeqb %xmm2,%xmm0
  movdqa %xmm5,%xmm2
  pcmpeqb %xmm5,%xmm12
  pcmpeqb %xmm5,%xmm3
  pcmpeqb %xmm5,%xmm0
  movdqa %xmm12,%xmm14
  movdqa %xmm1,%xmm12
  movdqa %xmm13,%xmm1
  pcmpeqb %xmm5,%xmm12
  pand   %xmm0,%xmm3
  pand   %xmm14,%xmm12
  pand   %xmm12,%xmm1
  pand   %xmm3,%xmm1
  pcmpgtb %xmm1,%xmm2
  movdqa %xmm1,%xmm0
  punpckhbw %xmm2,%xmm0
  punpcklbw %xmm2,%xmm1
  pand   %xmm11,%xmm0
  psubw  %xmm1,%xmm0
  paddw  %xmm0,%xmm7
  cmp    %ax,%dx
  ja     L147
  movdqa %xmm7,%xmm0
  shl    $0x4,%edx
  psrldq $0x8,%xmm0
  lea    (%r9,%rdx,1),%esi
  paddw  %xmm0,%xmm7
  movdqa %xmm7,%xmm0
  psrldq $0x4,%xmm0
  paddw  %xmm0,%xmm7
  movdqa %xmm7,%xmm0
  psrldq $0x2,%xmm0
  paddw  %xmm0,%xmm7
  pextrw $0x0,%xmm7,%r10d
  cmp    %dx,%cx
  je     L120
  nop
L115:
  movzwl %si,%eax
  mov    %esi,%edi
  imul   $0xcccd,%eax,%eax
  shr    $0x13,%eax
  lea    (%rax,%rax,4),%edx
  add    %edx,%edx
  sub    %edx,%edi
  movzwl %ax,%edx
  imul   $0xcccd,%edx,%edx
  shr    $0x13,%edx
  lea    (%rdx,%rdx,4),%edx
  add    %edx,%edx
  sub    %edx,%eax
  mov    %esi,%edx
  shr    $0x2,%dx
  movzwl %dx,%edx
  imul   $0x147b,%edx,%edx
  shr    $0x11,%edx
  movzwl %dx,%ecx
  imul   $0xcccd,%ecx,%ecx
  shr    $0x13,%ecx
  lea    (%rcx,%rcx,4),%ecx
  add    %ecx,%ecx
  sub    %ecx,%edx
  cmp    %al,%dil
  je     L137
  cmp    %dl,%dil
  je     L137
  mov    %esi,%ecx
  shr    $0x3,%cx
  movzwl %cx,%ecx
  imul   $0x20c5,%ecx,%ecx
  shr    $0x14,%ecx
  cmp    %cl,%dil
  je     L137
  cmp    %dl,%al
  je     L137
  cmp    %cl,%al
  je     L137
  cmp    %cl,%dl
  setne  %al
  cmp    $0x1,%al
  sbb    $0xffff,%r10w
  nopw   0x0(%rax,%rax,1)
L137:
  add    $0x1,%esi
  cmp    %si,%r8w
  jae    L115
L120:
  movzwl %r10w,%esi
L21:
  movzwl %r8w,%ecx
  movzwl %r9w,%edx
  lea    D4(%rip),%rdi
  call   <printf@plt>
  jmp    L17
  nopw   0x0(%rax,%rax,1)
L135:
  mov    %r9d,%esi
  xor    %r10d,%r10d
  xchg   %ax,%ax
L51:
  movzwl %si,%edx
  mov    %esi,%edi
  imul   $0xcccd,%edx,%edx
  shr    $0x13,%edx
  lea    (%rdx,%rdx,4),%eax
  add    %eax,%eax
  sub    %eax,%edi
  movzwl %dx,%eax
  imul   $0xcccd,%eax,%eax
  shr    $0x13,%eax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%edx
  mov    %esi,%eax
  shr    $0x2,%ax
  movzwl %ax,%eax
  imul   $0x147b,%eax,%eax
  shr    $0x11,%eax
  movzwl %ax,%ecx
  imul   $0xcccd,%ecx,%ecx
  shr    $0x13,%ecx
  lea    (%rcx,%rcx,4),%ecx
  add    %ecx,%ecx
  sub    %ecx,%eax
  cmp    %dil,%al
  je     L87
  cmp    %dil,%dl
  je     L87
  mov    %esi,%ecx
  shr    $0x3,%cx
  movzwl %cx,%ecx
  imul   $0x20c5,%ecx,%ecx
  shr    $0x14,%ecx
  cmp    %dil,%cl
  je     L87
  cmp    %dl,%al
  je     L87
  cmp    %dl,%cl
  je     L87
  cmp    %al,%cl
  setne  %al
  cmp    $0x1,%al
  sbb    $0xffff,%r10w
  nopw   0x0(%rax,%rax,1)
L87:
  add    $0x1,%esi
  cmp    %si,%r8w
  jae    L51
  jmp    L120
  nopw   0x0(%rax,%rax,1)
L177:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L125
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L111:
  xor    %esi,%esi
  jmp    L21
L125:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D77
type_guessed: string
name: parse_data
arguments: data_label: D75
type_guessed: byte[16]
name: parse_data
arguments: data_label: D73
type_guessed: byte[16]
name: parse_data
arguments: data_label: D76
type_guessed: byte[16]
name: parse_data
arguments: data_label: D47
type_guessed: byte[16]
name: parse_data
arguments: data_label: D98
type_guessed: byte[16]
name: parse_data
arguments: data_label: D93
type_guessed: byte[16]
name: parse_data
arguments: data_label: D89
type_guessed: byte[16]
name: parse_data
arguments: data_label: D39
type_guessed: byte[16]
name: parse_data
arguments: data_label: D4
type_guessed: string

tool: D77: %hu %hu

tool: {"D75": [0xcd,0xcc,0xcd,0xcc,0xcd,0xcc,0xcd,0xcc,0xcd,0xcc,0xcd,0xcc,0xcd,0xcc,0xcd,0xcc]}

tool: {"D73": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

tool: {"D76": [0x7b,0x14,0x7b,0x14,0x7b,0x14,0x7b,0x14,0x7b,0x14,0x7b,0x14,0x7b,0x14,0x7b,0x14]}

tool: {"D47": [0xc5,0x20,0xc5,0x20,0xc5,0x20,0xc5,0x20,0xc5,0x20,0xc5,0x20,0xc5,0x20,0xc5,0x20]}

tool: {"D98": [0x00,0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x05,0x00,0x06,0x00,0x07,0x00]}

tool: {"D93": [0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00]}

tool: {"D89": [0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00]}

tool: {"D39": [0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00]}

tool: D4: There are %hu non-repeating years between %hu and %hu.


assistant: ```c
int main(void) {
  unsigned short begin, end;
  while (scanf("%hu %hu", &begin, &end) == 2) {
    unsigned short counter = 0;
    for (unsigned short i = begin; i <= end; i++) {
      char a = i % 10;
      char b = (i / 10) % 10;
      char c = (i / 100) % 10;
      char d = i / 1000;
      if (!(a == b || a == c || a == d || b == c || b == d || c == d))
        counter++;
    }
    printf("There are %hu non-repeating years between %hu and %hu.\n", counter, begin, end);
  }
}
```