// File: Laakeri[P]maxpre/src/main.cpp
// Function: parseBVEsortMaxFirst(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&)
bool parseBVEsortMaxFirst(map<string, string>& flags) {
  bool BVEsortMaxFirst = false;
  if (flags.count("bvesortmaxfirst")) {
    if (flags["bvesortmaxfirst"] == "1") {
      BVEsortMaxFirst = true;
      cout<<"c BVEsortMaxFirst enabled"<<endl;
      cerr<<"BVEsortMaxFirst enabled"<<endl;
    }
    else if (flags["bvesortmaxfirst"] == "0") {
      BVEsortMaxFirst = false;
      cout<<"c BVEsortMaxFirst disabled"<<endl;
      cerr<<"BVEsortMaxFirst disabled"<<endl;
    }
    else {
      cout<<"Invalid bvesortmaxfirst flag"<<endl;
      cerr<<"Invalid bvesortmaxfirst flag"<<endl;
      exit(0);
    }
  }
  else {
    cout<<"c No -bvesortmaxfirst given, defaulting to disabled"<<endl;
    cerr<<"No -bvesortmaxfirst given, defaulting to disabled"<<endl;
  }
  return BVEsortMaxFirst;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x4620
movq -0xa0(%rbp), %rdx
leaq 0x7ed62(%rip), %rsi     # 0x852ce
leaq -0x30(%rbp), %rdi
callq 0xa430
jmp 0x6577
movq -0xa8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0xa5e0
movq %rax, -0xb0(%rbp)
jmp 0x6590
leaq -0x30(%rbp), %rdi
callq 0x4240
leaq -0x31(%rbp), %rdi
callq 0x43f0
movq -0xb0(%rbp), %rax
cmpq $0x0, %rax
je 0x6856
movq -0x8(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq -0x69(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x4620
movq -0xb8(%rbp), %rdx
leaq 0x7ecf2(%rip), %rsi     # 0x852ce
leaq -0x68(%rbp), %rdi
callq 0xa430
jmp 0x65e7
movq -0xc0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0xa4e0
movq %rax, -0xc8(%rbp)
jmp 0x6600
movq -0xc8(%rbp), %rdi
leaq 0x802e3(%rip), %rsi     # 0x868f1
callq 0xa640
movb %al, -0xc9(%rbp)
jmp 0x661b
leaq -0x68(%rbp), %rdi
callq 0x4240
leaq -0x69(%rbp), %rdi
callq 0x43f0
movb -0xc9(%rbp), %al
testb $0x1, %al
jne 0x663c
jmp 0x66eb
movb $0x1, -0x9(%rbp)
movq 0xa8981(%rip), %rdi     # 0xaefc8
leaq 0x7ec90(%rip), %rsi     # 0x852de
callq 0x4380
movq %rax, %rdi
movq 0xa8953(%rip), %rsi     # 0xaefb0
callq 0x43d0
movq 0xa8987(%rip), %rdi     # 0xaeff0
leaq 0x7ec70(%rip), %rsi     # 0x852e0
callq 0x4380
movq %rax, %rdi
movq 0xa8931(%rip), %rsi     # 0xaefb0
callq 0x43d0
jmp 0x6854
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x66ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x4240
leaq -0x31(%rbp), %rdi
callq 0x43f0
jmp 0x68a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x66dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x4240
leaq -0x69(%rbp), %rdi
callq 0x43f0
jmp 0x68a8
movq -0x8(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x4620
movq -0xd8(%rbp), %rdx
leaq 0x7ebb7(%rip), %rsi     # 0x852ce
leaq -0x90(%rbp), %rdi
callq 0xa430
jmp 0x6725
movq -0xe0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0xa4e0
movq %rax, -0xe8(%rbp)
jmp 0x6741
movq -0xe8(%rbp), %rdi
leaq 0x814d3(%rip), %rsi     # 0x87c22
callq 0xa640
movb %al, -0xe9(%rbp)
jmp 0x675c
leaq -0x90(%rbp), %rdi
callq 0x4240
leaq -0x91(%rbp), %rdi
callq 0x43f0
movb -0xe9(%rbp), %al
testb $0x1, %al
jne 0x6783
jmp 0x6807
movb $0x0, -0x9(%rbp)
movq 0xa883a(%rip), %rdi     # 0xaefc8
leaq 0x7eb63(%rip), %rsi     # 0x852f8
callq 0x4380
movq %rax, %rdi
movq 0xa880c(%rip), %rsi     # 0xaefb0
callq 0x43d0
movq 0xa8840(%rip), %rdi     # 0xaeff0
leaq 0x7eb43(%rip), %rsi     # 0x852fa
callq 0x4380
movq %rax, %rdi
movq 0xa87ea(%rip), %rsi     # 0xaefb0
callq 0x43d0
jmp 0x6852
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x67f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x4240
leaq -0x91(%rbp), %rdi
callq 0x43f0
jmp 0x68a8
movq 0xa87ba(%rip), %rdi     # 0xaefc8
leaq 0x7eafe(%rip), %rsi     # 0x85313
callq 0x4380
movq %rax, %rdi
movq 0xa878c(%rip), %rsi     # 0xaefb0
callq 0x43d0
movq 0xa87c0(%rip), %rdi     # 0xaeff0
leaq 0x7eadc(%rip), %rsi     # 0x85313
callq 0x4380
movq %rax, %rdi
movq 0xa876a(%rip), %rsi     # 0xaefb0
callq 0x43d0
xorl %edi, %edi
callq 0x4480
jmp 0x6854
jmp 0x689a
movq 0xa876b(%rip), %rdi     # 0xaefc8
leaq 0x7eacc(%rip), %rsi     # 0x85330
callq 0x4380
movq %rax, %rdi
movq 0xa873d(%rip), %rsi     # 0xaefb0
callq 0x43d0
movq 0xa8771(%rip), %rdi     # 0xaeff0
leaq 0x7eaac(%rip), %rsi     # 0x85332
callq 0x4380
movq %rax, %rdi
movq 0xa871b(%rip), %rsi     # 0xaefb0
callq 0x43d0
movb -0x9(%rbp), %al
andb $0x1, %al
addq $0xf0, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x4610
nopw %cs:(%rax,%rax)