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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0xc(%rbp),%rax
  mov    %rax,%rsi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0xc(%rbp),%eax
  and    $0x3,%eax
  test   %eax,%eax
  je     L40
  mov    -0xc(%rbp),%edx
  movslq %edx,%rax
  imul   $0xffffffff92492493,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x2,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  mov    %eax,%ecx
  shl    $0x3,%ecx
  sub    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  je     L40
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffffdd67c8a7,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x6,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x4a,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  test   %edx,%edx
  je     L40
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffffae4c415d,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x5,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x2f,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  test   %edx,%edx
  je     L40
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffff8a42f871,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x8,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x1da,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  test   %edx,%edx
  je     L40
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  imul   $0xffffffff929cebf5,%rdx,%rdx
  shr    $0x20,%rdx
  add    %eax,%edx
  sar    $0x8,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x1bf,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  test   %edx,%edx
  je     L40
  mov    -0xc(%rbp),%edx
  movslq %edx,%rax
  imul   $0x89645c5,%rax,%rax
  shr    $0x20,%rax
  sar    $0x4,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x1dd,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  test   %eax,%eax
  jne    L22
L40:
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L66
L22:
  mov    -0xc(%rbp),%eax
  cmp    $0x306,%eax
  je     L86
  mov    -0xc(%rbp),%eax
  cmp    $0x2e8,%eax
  je     L86
  mov    -0xc(%rbp),%eax
  cmp    $0x2eb,%eax
  jne    L83
L86:
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L66
L83:
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L66:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L54
  call   <__stack_chk_fail@plt>
L54:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D21
datatype: string
name: extract_symbolic_data
arguments: tag: D31
datatype: string
name: extract_symbolic_data
arguments: tag: D7
datatype: string

tool: D21: %d

tool: D31: YES

tool: D7: NO

assistant: ```c
int main() {
  int num;
  scanf("%d", &num);
  if (num % 4 == 0 || num % 7 == 0 || num % 74 == 0 || num % 47 == 0 || num % 474 == 0 || num % 447 == 0 || num % 477 == 0)
    printf("YES");
  else if (num == 774 || num == 744 || num == 747)
    printf("YES");
  else
    printf("NO");
  return 0;
}
```