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    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %eax,%ebx
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x22,%rdx
  sar    $0x1f,%eax
  sub    %eax,%edx
  lea    (%rdx,%rdx,4),%eax
  add    %eax,%eax
  sub    %eax,%ebx
L104:
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x22,%rdx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,4),%edx
  add    %edx,%edx
  sub    %edx,%eax
  mov    %eax,%r13d
  cmp    %al,%bl
  je     L104
L89:
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x22,%rdx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,4),%edx
  add    %edx,%edx
  sub    %edx,%eax
  mov    %eax,%r14d
  cmp    %al,%bl
  je     L89
  cmp    %al,%r13b
  je     L89
  lea    0x4(%rsp),%r12
  lea    D1(%rip),%rbp
  movsbl %bl,%ebx
  lea    D9(%rip),%r15
  jmp    L139
L30:
  addl   $0x1,0x4(%rsp)
  movsbl %r14b,%edx
  cmp    %edx,%eax
  je     L42
  cmp    %edx,%esi
  sete   %dl
  movzbl %dl,%edx
L131:
  add    $0x1,%edx
L38:
  cmp    %eax,%edi
  je     L156
  cmp    %eax,%ebx
  jne    L108
L156:
  add    $0x1,%edx
L108:
  mov    0x4(%rsp),%esi
  cmp    $0x3,%esi
  je     L137
  mov    %r15,%rdi
  call   <printf@plt>
L139:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%edx
  lea    -0xc(%rdx),%eax
  cmp    $0x3cf,%eax
  ja     L139
  movslq %edx,%rax
  imul   $0x51eb851f,%rax,%rsi
  sar    $0x25,%rsi
  mov    %edx,%edi
  sar    $0x1f,%edi
  sub    %edi,%esi
  imul   $0x64,%esi,%ecx
  mov    %edx,%r8d
  sub    %ecx,%r8d
  movslq %r8d,%rcx
  imul   $0x66666667,%rcx,%rcx
  sar    $0x22,%rcx
  sar    $0x1f,%r8d
  sub    %r8d,%ecx
  imul   $0x66666667,%rax,%rax
  sar    $0x22,%rax
  sub    %edi,%eax
  lea    (%rax,%rax,4),%edi
  add    %edi,%edi
  mov    %edx,%eax
  sub    %edi,%eax
  cmp    %ecx,%esi
  sete   %dl
  cmp    %eax,%ecx
  sete   %dil
  or     %dil,%dl
  jne    L139
  cmp    %eax,%esi
  je     L139
  cmp    %esi,%ebx
  sete   %dl
  movzbl %dl,%edx
  mov    %edx,0x4(%rsp)
  movsbl %r13b,%edi
  cmp    %ecx,%edi
  je     L30
  movsbl %r14b,%edx
  cmp    %eax,%edx
  je     L129
L100:
  cmp    %edx,%esi
  sete   %dl
  cmp    %esi,%edi
  sete   %sil
  or     %esi,%edx
  movzbl %dl,%edx
  cmp    %ecx,%edi
  je     L131
  cmp    %ecx,%ebx
  jne    L38
  jmp    L131
L129:
  mov    %eax,%edx
L42:
  addl   $0x1,0x4(%rsp)
  jmp    L100
L137:
  lea    D2(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L152
  mov    $0x0,%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L152:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D1
type_guessed: string
name: disassemble_data
arguments: tag: D9
type_guessed: string
name: disassemble_data
arguments: tag: D2
type_guessed: string

tool: D1: %3d

tool: D9: %d-%d


tool: D2: Hit!


assistant: ```c
int main() {
  char x, y, z;
  int a, b, c;
  int n, m;
  srand((unsigned int)time(NULL));
  x = (char)(rand() % 10);
  do {
    y = (char)(rand() % 10);
  } while (y == x);
  do {
    z = (char)(rand() % 10);
  } while (z == x || z == y);
  for (;;) {
    scanf("%3d", &n);
    a = n / 100;
    b = n % 100 / 10;
    c = n % 10;
    if (n < 12 || n > 987 || a == b || a == c || b == c)
      continue;
    n = 0;
    if (a == x)
      n++;
    if (b == y)
      n++;
    if (c == z)
      n++;
    m = 0;
    if (a == y || a == z)
      m++;
    if (b == x || b == y)
      m++;
    if (c == x || c == y)
      m++;
    if (n != 3)
      printf("%d-%d\n", n, m);
    else {
      puts("Hit!\n");
      break;
    }
  }
  return 0;
}
```