// File: /workspace/github_cpp_makefile_star2_O3/ATOMIC-LICHESS[P]ATOMKRAFT/uci.cpp
// Function: (anonymous namespace)::set_option(std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char>>&)
void set_option(UCIParser& up) {

    string token, name;
    string value = "true"; // UCI buttons don't have a "value" field

    up >> token; // Consume "name" token
    up >> name;  // Read option name

    // Handle names with included spaces
    while (up >> token && token != "value")
        name += " " + token;

    up >> value; // Read option value

    // Handle values with included spaces
    while (up >> token)
        value += " " + token;

    if (Options.find(name) != Options.end())
        Options[name].set_value(value);
    else
        cout << "No such option: " << name << endl;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x6af9(%rip), %rsi      # 0x32217
leaq 0x6af6(%rip), %rdx      # 0x3221b
leaq 0x48(%rsp), %rdi
callq 0xad16
leaq 0x68(%rsp), %rsi
movq %rbx, %rdi
callq 0x5510
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x5510
leaq 0x18(%rsp), %rbp
leaq 0x68(%rsp), %r14
leaq 0x87f0(%rip), %r15      # 0x33f4a
leaq 0x8(%rsp), %r13
leaq 0x28(%rsp), %r12
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5510
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2b7c9
movq %r14, %rdi
movq %r15, %rsi
callq 0x5120
testl %eax, %eax
je 0x2b7c9
movq %r13, %rdi
leaq 0x5f2a(%rip), %rsi      # 0x316c0
movq %r14, %rdx
callq 0x212a3
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r12, %rdi
callq 0x5130
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b764
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b764
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x5510
leaq 0x68(%rsp), %r14
leaq 0x5ede(%rip), %r15      # 0x316c0
leaq 0x8(%rsp), %r12
leaq 0x48(%rsp), %r13
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5510
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2b83e
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x212a3
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x5130
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b7ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b7ec
leaq 0x3a2833(%rip), %rbx    # 0x3ce078
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x2bac8
addq $0x8, %rbx
cmpq %rbx, %rax
je 0x2b87b
leaq 0x3a2816(%rip), %rdi    # 0x3ce078
leaq 0x28(%rsp), %rsi
callq 0x15b38
leaq 0x48(%rsp), %rsi
movq %rax, %rdi
callq 0x2dffa
jmp 0x2b8d3
movq 0x1171e(%rip), %rdi     # 0x3cfa0
leaq 0x86c7(%rip), %rsi      # 0x33f50
movl $0x10, %edx
callq 0x5460
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x116fc(%rip), %rdi     # 0x3cfa0
callq 0x5460
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x53c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5050
movq %rax, %rdi
callq 0x5270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2b8ef
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2b90b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2b927
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5400
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b966
movq %rax, %rbx
jmp 0x2b985
jmp 0x2b966
jmp 0x2b966
jmp 0x2b948
jmp 0x2b966
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b969
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b969
jmp 0x2b966
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2b985
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2b9a1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2b9bd
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5400
movq %rbx, %rdi
callq 0x5790