// File: /workspace/github_cpp_makefile_star2_O2/ATOMIC-LICHESS[P]ATOMKRAFT/misc.cpp
// Function: engine_name[abi:cxx11]()
const string engine_name() {

  const string months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec");
  const string cpu64(CpuIs64Bit ? " 64bit" : "");

  if (!EngineVersion.empty())
      return AppName + " " + EngineVersion + cpu64;

  stringstream s, date(__DATE__); // From compiler, format is "Sep 21 2008"
  string month, day, year;

  date >> month >> day >> year;

  s << setfill('0') << AppName + " " + AppTag + " "
    << year.substr(2, 2) << setw(2)
    << (1 + months.find(month) / 4) << setw(2)
    << day << cpu64;

  return s.str();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x438, %rsp            # imm = 0x438
movq %rdi, %rbx
leaq 0x16970(%rip), %rsi     # 0x294f0
leaq 0x108(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x9c42
leaq 0x13698(%rip), %rsi     # 0x26234
leaq 0x68(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x9c42
cmpq $0x0, 0x39927a(%rip)    # 0x3abe30
je 0x12c23
leaq 0x399249(%rip), %rsi    # 0x3abe08
leaq 0x1599a(%rip), %rdx     # 0x28560
leaq 0x2b0(%rsp), %rdi
callq 0x1320e
leaq 0x39924e(%rip), %rdx    # 0x3abe28
leaq 0x128(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x131ef
leaq 0x128(%rsp), %rsi
leaq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x131ef
leaq 0x128(%rsp), %rdi
callq 0x5858
leaq 0x2b0(%rsp), %rdi
callq 0x5858
jmp 0x12e41
leaq 0x128(%rsp), %rdi
callq 0x5280
leaq 0x16654(%rip), %rsi     # 0x2928b
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x9c42
leaq 0x2b0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x18
popq %rdx
callq 0x5680
leaq 0x8(%rsp), %rdi
callq 0x5858
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
movb %cl, (%rax)
movb %cl, (%rdx)
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq 0x2b0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x54e0
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x54e0
leaq 0x48(%rsp), %rsi
movq %rax, %rdi
callq 0x54e0
leaq 0x138(%rsp), %rdi
pushq $0x30
popq %rsi
callq 0x5650
movq %rax, %r14
leaq 0x39912b(%rip), %rsi    # 0x3abe08
leaq 0x1587c(%rip), %rdx     # 0x28560
leaq 0xa8(%rsp), %rdi
callq 0x1320e
leaq 0x399150(%rip), %rdx    # 0x3abe48
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x131ef
leaq 0x1584c(%rip), %rdx     # 0x28560
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xd16d
leaq 0xe8(%rsp), %rsi
movq %r14, %rdi
callq 0x5340
movq %rax, %r14
leaq 0x88(%rsp), %rdi
leaq 0x48(%rsp), %rsi
pushq $0x2
popq %rcx
movq %rcx, %rdx
callq 0x5400
leaq 0x88(%rsp), %rsi
movq %r14, %rdi
callq 0x5340
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x10(%r14,%rax)
leaq 0x108(%rsp), %rdi
leaq 0x8(%rsp), %rsi
xorl %edx, %edx
callq 0x5840
shrq $0x2, %rax
leaq 0x1(%rax), %rsi
movq %r14, %rdi
callq 0x5260
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x2, 0x10(%rax,%rcx)
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x5340
leaq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x5340
leaq 0x88(%rsp), %rdi
callq 0x5858
leaq 0xe8(%rsp), %rdi
callq 0x5858
leaq 0xc8(%rsp), %rdi
callq 0x5858
leaq 0xa8(%rsp), %rdi
callq 0x5858
leaq 0x140(%rsp), %rsi
movq %rbx, %rdi
callq 0x5670
leaq 0x48(%rsp), %rdi
callq 0x5858
leaq 0x28(%rsp), %rdi
callq 0x5858
leaq 0x8(%rsp), %rdi
callq 0x5858
leaq 0x2b0(%rsp), %rdi
callq 0x5860
leaq 0x128(%rsp), %rdi
callq 0x5860
leaq 0x68(%rsp), %rdi
callq 0x5858
leaq 0x108(%rsp), %rdi
callq 0x5858
movq %rbx, %rax
addq $0x438, %rsp            # imm = 0x438
popq %rbx
popq %r14
retq
jmp 0x12e68
movq %rax, %rbx
jmp 0x12ed6
movq %rax, %rbx
jmp 0x12ee3
movq %rax, %rbx
jmp 0x12ef0
jmp 0x12eff
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5858
jmp 0x12f2d
movq %rax, %rbx
jmp 0x12f2d
jmp 0x12ebc
movq %rax, %rbx
leaq 0x128(%rsp), %rdi
callq 0x5858
jmp 0x12ead
movq %rax, %rbx
leaq 0x2b0(%rsp), %rdi
callq 0x5858
jmp 0x12f3a
movq %rax, %rbx
jmp 0x12f3a
movq %rax, %rbx
jmp 0x12f44
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x5858
leaq 0xe8(%rsp), %rdi
callq 0x5858
leaq 0xc8(%rsp), %rdi
callq 0x5858
leaq 0xa8(%rsp), %rdi
callq 0x5858
jmp 0x12f02
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x5858
leaq 0x28(%rsp), %rdi
callq 0x5858
leaq 0x8(%rsp), %rdi
callq 0x5858
leaq 0x2b0(%rsp), %rdi
callq 0x5860
leaq 0x128(%rsp), %rdi
callq 0x5860
leaq 0x68(%rsp), %rdi
callq 0x5858
leaq 0x108(%rsp), %rdi
callq 0x5858
movq %rbx, %rdi
callq 0x5780