// File: ATOMIC-LICHESS[P]ATOMKRAFT/ucioption.cpp
// Function: OptionsMap::print_all[abi:cxx11]() const
string OptionsMap::print_all() const {

  std::stringstream s;

  for (size_t i = 0; i <= size(); i++)
      for (OptionsMap::const_iterator it = begin(); it != end(); ++it)
          if (it->second.idx == i)
          {
              const UCIOption& o = it->second;
              s << "\noption name " << it->first << " type " << o.type;

              if (o.type != "button")
                  s << " default " << o.defaultValue;

              if (o.type == "spin")
                  s << " min " << o.minValue << " max " << o.maxValue;

              break;
          }
  return s.str();
}

// Assembly:
subq $0x238, %rsp            # imm = 0x238
movq %rdi, 0x58(%rsp)
movq %rdi, %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x230(%rsp)
movq %rsi, 0x228(%rsp)
movq 0x228(%rsp), %rax
movq %rax, 0x68(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x6340
movq $0x0, 0x98(%rsp)
movq 0x68(%rsp), %rdi
movq 0x98(%rsp), %rax
movq %rax, 0x50(%rsp)
callq 0x568e0
movq %rax, %rcx
movq 0x50(%rsp), %rax
cmpq %rcx, %rax
ja 0x56345
movq 0x68(%rsp), %rdi
callq 0x568f0
movq %rax, 0x90(%rsp)
movq 0x68(%rsp), %rdi
callq 0x56940
movq %rax, 0x88(%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x56920
testb $0x1, %al
jne 0x56164
jmp 0x5632a
leaq 0x90(%rsp), %rdi
callq 0x56970
movq 0x88(%rax), %rax
cmpq 0x98(%rsp), %rax
jne 0x56316
leaq 0x90(%rsp), %rdi
callq 0x56970
addq $0x20, %rax
movq %rax, 0x80(%rsp)
leaq 0xb0(%rsp), %rdi
leaq 0x5d72(%rip), %rsi      # 0x5bf20
callq 0x64b0
movq %rax, 0x48(%rsp)
jmp 0x561ba
leaq 0x90(%rsp), %rdi
callq 0x56970
movq 0x48(%rsp), %rdi
movq %rax, %rsi
callq 0x6420
movq %rax, 0x40(%rsp)
jmp 0x561db
movq 0x40(%rsp), %rdi
leaq 0x5d47(%rip), %rsi      # 0x5bf2e
callq 0x64b0
movq %rax, 0x38(%rsp)
jmp 0x561f3
movq 0x38(%rsp), %rdi
movq 0x80(%rsp), %rsi
addq $0x40, %rsi
callq 0x6420
jmp 0x5620b
movq 0x80(%rsp), %rdi
addq $0x40, %rdi
leaq 0x5cfb(%rip), %rsi      # 0x5bf19
callq 0x4ee40
movb %al, 0x37(%rsp)
jmp 0x56229
movb 0x37(%rsp), %al
testb $0x1, %al
jne 0x56233
jmp 0x56284
leaq 0xb0(%rsp), %rdi
leaq 0x5cf3(%rip), %rsi      # 0x5bf35
callq 0x64b0
movq %rax, 0x28(%rsp)
jmp 0x5624e
movq 0x28(%rsp), %rdi
movq 0x80(%rsp), %rsi
callq 0x6420
jmp 0x56262
jmp 0x56284
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x78(%rsp)
movl %eax, 0x74(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x6a80
jmp 0x56373
movq 0x80(%rsp), %rdi
addq $0x40, %rdi
leaq 0x5ca8(%rip), %rsi      # 0x5bf3f
callq 0x28180
movb %al, 0x27(%rsp)
jmp 0x562a2
movb 0x27(%rsp), %al
testb $0x1, %al
jne 0x562ac
jmp 0x56314
leaq 0xb0(%rsp), %rdi
leaq 0x5c89(%rip), %rsi      # 0x5bf44
callq 0x64b0
movq %rax, 0x18(%rsp)
jmp 0x562c7
movq 0x18(%rsp), %rdi
movq 0x80(%rsp), %rax
movl 0x60(%rax), %esi
callq 0x6940
movq %rax, 0x10(%rsp)
jmp 0x562e3
movq 0x10(%rsp), %rdi
leaq 0x5c5b(%rip), %rsi      # 0x5bf4a
callq 0x64b0
movq %rax, 0x8(%rsp)
jmp 0x562fb
movq 0x8(%rsp), %rdi
movq 0x80(%rsp), %rax
movl 0x64(%rax), %esi
callq 0x6940
jmp 0x56312
jmp 0x56314
jmp 0x5632a
jmp 0x56318
leaq 0x90(%rsp), %rdi
callq 0x56990
jmp 0x56134
jmp 0x5632c
movq 0x98(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x98(%rsp)
jmp 0x560fa
movq 0x58(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x64a0
jmp 0x56359
leaq 0xa0(%rsp), %rdi
callq 0x6a80
movq 0x60(%rsp), %rax
addq $0x238, %rsp            # imm = 0x238
retq
movq 0x78(%rsp), %rdi
callq 0x6970
nopl (%rax)