// File: ATOMIC-LICHESS[P]ATOMKRAFT/thread.cpp
// Function: ThreadsManager::read_uci_options()
void ThreadsManager::read_uci_options() {
  maxThreadsPerSplitPoint = Options["Maximum Number of Threads per Split Point"].value<int>();
  minimumSplitDepth       = Options["Minimum Split Depth"].value<int>() * ONE_PLY;
  useSleepingThreads      = Options["Use Sleeping Threads"].value<bool>();
  activeThreads           = Options["Threads"].value<int>();
}

// Assembly:
subq $0x128, %rsp            # imm = 0x128
movq %rdi, 0x120(%rsp)
movq 0x120(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0xff(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0x6980
movq 0x68(%rsp), %rdx
leaq 0xbe68(%rip), %rsi      # 0x5b472
leaq 0x100(%rsp), %rdi
callq 0x12070
jmp 0x4f619
leaq 0x3adc08(%rip), %rdi    # 0x3fd228
leaq 0x100(%rsp), %rsi
callq 0x27f60
movq %rax, 0x58(%rsp)
jmp 0x4f634
movq 0x58(%rsp), %rdi
callq 0x28300
movl %eax, 0x54(%rsp)
jmp 0x4f644
movq 0x60(%rsp), %rax
movl 0x54(%rsp), %ecx
movl %ecx, 0x2c(%rax)
leaq 0x100(%rsp), %rdi
callq 0x6a78
leaq 0xff(%rsp), %rdi
callq 0x6550
leaq 0xc7(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x6980
movq 0x48(%rsp), %rdx
leaq 0xbe14(%rip), %rsi      # 0x5b49c
leaq 0xc8(%rsp), %rdi
callq 0x12070
jmp 0x4f697
leaq 0x3adb8a(%rip), %rdi    # 0x3fd228
leaq 0xc8(%rsp), %rsi
callq 0x27f60
movq %rax, 0x40(%rsp)
jmp 0x4f6b2
movq 0x40(%rsp), %rdi
callq 0x28300
movl %eax, 0x3c(%rsp)
jmp 0x4f6c2
movl 0x3c(%rsp), %edi
movl $0x2, %esi
callq 0x34660
movl %eax, 0x38(%rsp)
jmp 0x4f6d6
movq 0x60(%rsp), %rax
movl 0x38(%rsp), %ecx
movl %ecx, 0x28(%rax)
leaq 0xc8(%rsp), %rdi
callq 0x6a78
leaq 0xc7(%rsp), %rdi
callq 0x6550
leaq 0x9f(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x6980
movq 0x30(%rsp), %rdx
leaq 0xbd96(%rip), %rsi      # 0x5b4b0
leaq 0xa0(%rsp), %rdi
callq 0x12070
jmp 0x4f729
leaq 0x3adaf8(%rip), %rdi    # 0x3fd228
leaq 0xa0(%rsp), %rsi
callq 0x27f60
movq %rax, 0x28(%rsp)
jmp 0x4f744
movq 0x28(%rsp), %rdi
callq 0x28050
movb %al, 0x27(%rsp)
jmp 0x4f754
movq 0x60(%rsp), %rax
movb 0x27(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x30(%rax)
leaq 0xa0(%rsp), %rdi
callq 0x6a78
leaq 0x9f(%rsp), %rdi
callq 0x6550
leaq 0x77(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x6980
movq 0x18(%rsp), %rdx
leaq 0xbd25(%rip), %rsi      # 0x5b4bd
leaq 0x78(%rsp), %rdi
callq 0x12070
jmp 0x4f7a4
leaq 0x3ada7d(%rip), %rdi    # 0x3fd228
leaq 0x78(%rsp), %rsi
callq 0x27f60
movq %rax, 0x10(%rsp)
jmp 0x4f7bc
movq 0x10(%rsp), %rdi
callq 0x28300
movl %eax, 0xc(%rsp)
jmp 0x4f7cc
movq 0x60(%rsp), %rax
movl 0xc(%rsp), %ecx
movl %ecx, 0x34(%rax)
leaq 0x78(%rsp), %rdi
callq 0x6a78
leaq 0x77(%rsp), %rdi
callq 0x6550
addq $0x128, %rsp            # imm = 0x128
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
jmp 0x4f82b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
leaq 0x100(%rsp), %rdi
callq 0x6a78
leaq 0xff(%rsp), %rdi
callq 0x6550
jmp 0x4f90a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
jmp 0x4f874
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x6a78
leaq 0xc7(%rsp), %rdi
callq 0x6550
jmp 0x4f90a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
jmp 0x4f8bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x6a78
leaq 0x9f(%rsp), %rdi
callq 0x6550
jmp 0x4f90a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
jmp 0x4f900
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xf0(%rsp)
movl %eax, 0xec(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x6a78
leaq 0x77(%rsp), %rdi
callq 0x6550
movq 0xf0(%rsp), %rdi
callq 0x6970
nopw (%rax,%rax)