// File: /workspace/github_cpp_makefile_star2_O1/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 0x5db1(%rip), %rsi      # 0x31197
leaq 0x5dae(%rip), %rdx      # 0x3119b
leaq 0x48(%rsp), %rdi
callq 0xa7de
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 0x7ac8(%rip), %r15      # 0x32eea
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 0x2b491
movq %r14, %rdi
movq %r15, %rsi
callq 0x5120
testl %eax, %eax
je 0x2b491
movq %r13, %rdi
leaq 0x51e2(%rip), %rsi      # 0x30640
movq %r14, %rdx
callq 0x20db4
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r12, %rdi
callq 0x5130
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b42c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b42c
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x5510
leaq 0x68(%rsp), %r14
leaq 0x5196(%rip), %r15      # 0x30640
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 0x2b506
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x20db4
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x5130
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b4b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b4b4
leaq 0x3a1b6b(%rip), %rbx    # 0x3cd078
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x2b790
addq $0x8, %rbx
cmpq %rbx, %rax
je 0x2b543
leaq 0x3a1b4e(%rip), %rdi    # 0x3cd078
leaq 0x28(%rsp), %rsi
callq 0x155b0
leaq 0x48(%rsp), %rsi
movq %rax, %rdi
callq 0x2dcc4
jmp 0x2b59b
movq 0x10a56(%rip), %rdi     # 0x3bfa0
leaq 0x799f(%rip), %rsi      # 0x32ef0
movl $0x10, %edx
callq 0x5460
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq 0x10a34(%rip), %rdi     # 0x3bfa0
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 0x2b5b7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2b5d3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2b5ef
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 0x2b62e
movq %rax, %rbx
jmp 0x2b64d
jmp 0x2b62e
jmp 0x2b62e
jmp 0x2b610
jmp 0x2b62e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2b631
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5400
jmp 0x2b631
jmp 0x2b62e
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2b64d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2b669
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x5400
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2b685
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x5400
movq %rbx, %rdi
callq 0x5790