// File: lvandeve[P]base256/base256.cpp
// Function: UnixArgs::registerArg(char, 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>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void registerArg(char c, const std::string& s, const std::string& help = "", const std::string& def = "") {
    size_t index = args.size();
    args.resize(args.size() + 1);
    if(!s.empty()) {
      strings[s] = index;
      args.back().helpargs.push_back("--" + s);
      if(!def.empty()) args.back().helpargs.back() += "=[default:" + def + "]";
    }
    if(c) {
      chars[c] = index;
      args.back().helpargs.push_back("-" + std::string(1, c));
    }
    args.back().help = help;
    args.back().value = def;
    args.back().def = def;
  }

// Assembly:
subq $0x158, %rsp            # imm = 0x158
movb %sil, %al
movq %rdi, 0x150(%rsp)
movb %al, 0x14f(%rsp)
movq %rdx, 0x140(%rsp)
movq %rcx, 0x138(%rsp)
movq %r8, 0x130(%rsp)
movq 0x150(%rsp), %rdi
movq %rdi, 0x60(%rsp)
addq $0x60, %rdi
callq 0x11620
movq 0x60(%rsp), %rdi
movq %rax, 0x128(%rsp)
movq %rdi, %rax
addq $0x60, %rax
movq %rax, 0x68(%rsp)
addq $0x60, %rdi
callq 0x11620
movq 0x68(%rsp), %rdi
movq %rax, %rsi
addq $0x1, %rsi
callq 0x118e0
movq 0x140(%rsp), %rdi
callq 0x5480
testb $0x1, %al
jne 0xdc95
movq 0x60(%rsp), %rdi
movq 0x128(%rsp), %rax
movq %rax, 0x48(%rsp)
addq $0xa8, %rdi
movq 0x140(%rsp), %rsi
callq 0x11980
movq 0x48(%rsp), %rcx
movq 0x60(%rsp), %rdi
movq %rcx, (%rax)
addq $0x60, %rdi
callq 0x11a70
movq %rax, 0x50(%rsp)
movq 0x140(%rsp), %rdx
leaq 0x1447b(%rip), %rsi     # 0x21fda
leaq 0x108(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x11ae0
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
callq 0x11ab0
jmp 0xdb82
leaq 0x108(%rsp), %rdi
callq 0x5558
movq 0x130(%rsp), %rdi
callq 0x5480
testb $0x1, %al
jne 0xdc93
movq 0x130(%rsp), %rdx
leaq 0x1442a(%rip), %rsi     # 0x21fdd
leaq 0xb8(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x11ae0
movq 0x40(%rsp), %rsi
leaq 0x136de(%rip), %rdx     # 0x212af
leaq 0xd8(%rsp), %rdi
callq 0x11c10
jmp 0xdbe0
movq 0x60(%rsp), %rdi
addq $0x60, %rdi
callq 0x11a70
movq %rax, %rdi
callq 0x11c60
movq %rax, %rdi
leaq 0xd8(%rsp), %rsi
callq 0x5360
jmp 0xdc08
leaq 0xd8(%rsp), %rdi
callq 0x5558
leaq 0xb8(%rsp), %rdi
callq 0x5558
jmp 0xdc93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x5558
jmp 0xde5a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0xdc81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x5558
leaq 0xb8(%rsp), %rdi
callq 0x5558
jmp 0xde5a
jmp 0xdc95
cmpb $0x0, 0x14f(%rsp)
je 0xddce
movq 0x60(%rsp), %rdi
movq 0x128(%rsp), %rax
movq %rax, 0x20(%rsp)
addq $0x78, %rdi
leaq 0x14f(%rsp), %rsi
callq 0x11ca0
movq 0x20(%rsp), %rcx
movq 0x60(%rsp), %rdi
movq %rcx, (%rax)
addq $0x60, %rdi
callq 0x11a70
movq %rax, 0x28(%rsp)
movsbl 0x14f(%rsp), %eax
movl %eax, 0x34(%rsp)
leaq 0x77(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x54f0
movl 0x34(%rsp), %edx
movq 0x38(%rsp), %rcx
leaq 0x78(%rsp), %rdi
movl $0x1, %esi
callq 0x5200
jmp 0xdd16
leaq 0x142be(%rip), %rsi     # 0x21fdb
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x10f50
jmp 0xdd31
movq 0x28(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x11ab0
jmp 0xdd45
leaq 0x98(%rsp), %rdi
callq 0x5558
leaq 0x78(%rsp), %rdi
callq 0x5558
leaq 0x77(%rsp), %rdi
callq 0x5300
jmp 0xddce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0xddbf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
jmp 0xddb5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x100(%rsp)
movl %eax, 0xfc(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x5558
leaq 0x78(%rsp), %rdi
callq 0x5558
leaq 0x77(%rsp), %rdi
callq 0x5300
jmp 0xde5a
movq 0x60(%rsp), %rdi
movq 0x138(%rsp), %rax
movq %rax, 0x8(%rsp)
addq $0x60, %rdi
callq 0x11a70
movq 0x8(%rsp), %rsi
movq %rax, %rdi
addq $0x18, %rdi
callq 0x5050
movq 0x60(%rsp), %rdi
movq 0x130(%rsp), %rax
movq %rax, 0x10(%rsp)
addq $0x60, %rdi
callq 0x11a70
movq 0x10(%rsp), %rsi
movq %rax, %rdi
addq $0x38, %rdi
callq 0x5050
movq 0x60(%rsp), %rdi
movq 0x130(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0x60, %rdi
callq 0x11a70
movq 0x18(%rsp), %rsi
movq %rax, %rdi
addq $0x58, %rdi
callq 0x5050
addq $0x158, %rsp            # imm = 0x158
retq
movq 0x100(%rsp), %rdi
callq 0x54e0
nopw (%rax,%rax)