// File: /workspace/github_cpp_makefile_star2_O1/Thomas1995[P]Rentz/src/client.cpp
// Function: parseArgs[abi:cxx11](int, char**)
std::unordered_map<std::string, std::string>
parseArgs(int argc, char ** argv) {

  std::vector<std::string> args(argv + 1, argv + argc);

  std::reverse(args.begin(), args.end());

  std::unordered_map<std::string, std::string> options;

  while(!args.empty()) {

    if(addOptions(args, options, "address", {"--address", "-a"}))
      continue;

    if(addOptions(args, options, "name", {"--name", "-n"}))
      continue;

    if(addOptions(args, options, "help", {"--help", "-h"}))
      goto args_error;

    goto args_error;
  }

  return options;

args_error:
  printf("Usage: %s [OPTIONS]\n", argv[0]);
  printf("Optional arguments:\n");
  printf("%-20s ADDRESS\n", "-a, --address");
  printf("%-20s NAME\n", "-n, --name");
  printf("%-20s display this help message\n", "-h, --help");
  exit(1);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, 0x8(%rsp)
leaq 0x8(%rdx), %rax
movslq %esi, %rcx
movq %rdx, 0xa0(%rsp)
leaq (%rdx,%rcx,8), %rdx
leaq 0x70(%rsp), %r14
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rsi
callq 0x670e
movq (%r14), %rbx
movq 0x8(%r14), %r14
cmpq %r14, %rbx
setne %al
addq $-0x20, %r14
cmpq %rbx, %r14
seta %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x60b6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3190
addq $0x20, %rbx
addq $-0x20, %r14
cmpq %r14, %rbx
jb 0x609e
movq 0x8(%rsp), %rcx
leaq 0x30(%rcx), %rax
movq %rax, (%rcx)
movq $0x1, 0x8(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rcx)
movl $0x3f800000, 0x20(%rcx) # imm = 0x3F800000
movups %xmm0, 0x28(%rcx)
movq 0x70(%rsp), %rax
cmpq 0x78(%rsp), %rax
je 0x62e4
leaq 0x20(%rsp), %r13
leaq 0x50(%rsp), %r12
leaq 0x60(%rsp), %rbp
leaq 0x50(%rsp), %r15
leaq 0x30(%rsp), %rbx
movq %r13, 0x10(%rsp)
leaq 0x10(%rsp), %rdi
leaq 0x733d(%rip), %rsi      # 0xd453
leaq 0x733d(%rip), %rdx      # 0xd45a
callq 0xc0d0
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
leaq 0x731b(%rip), %rsi      # 0xd451
leaq 0x731d(%rip), %rdx      # 0xd45a
callq 0xc0d0
leaq 0x88(%rsp), %r14
movq %rbp, 0x50(%rsp)
movq %r12, %rdi
leaq 0x72c7(%rip), %rsi      # 0xd420
leaq 0x72c2(%rip), %rdx      # 0xd422
callq 0xc0d0
movl $0x2, %edx
movq %r14, %rdi
movq %rbx, %rsi
leaq 0x7(%rsp), %rcx
callq 0x430e
leaq 0x70(%rsp), %rdi
movq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %r14, %rcx
callq 0x5f30
movl %eax, %ebx
movq %r14, %rdi
callq 0x4356
movq $-0x40, %r13
movq %rbp, %r14
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x61ba
movq (%rbp), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %rbp
addq $0x20, %r13
jne 0x61a5
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %r13
cmpq %r13, %rdi
je 0x61e0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
testb %bl, %bl
leaq 0x30(%rsp), %rbx
movq %r14, %rbp
jne 0x62d4
movq %r13, 0x10(%rsp)
leaq 0x10(%rsp), %rdi
leaq 0x726c(%rip), %rsi      # 0xd46d
leaq 0x7269(%rip), %rdx      # 0xd471
callq 0xc0d0
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
leaq 0x724a(%rip), %rsi      # 0xd46b
leaq 0x7249(%rip), %rdx      # 0xd471
callq 0xc0d0
leaq 0x88(%rsp), %r13
movq %rbp, 0x50(%rsp)
movq %r15, %rdi
leaq 0x71df(%rip), %rsi      # 0xd423
leaq 0x71da(%rip), %rdx      # 0xd425
callq 0xc0d0
movl $0x2, %edx
movq %r13, %rdi
movq %rbx, %rsi
leaq 0x7(%rsp), %rcx
callq 0x430e
leaq 0x70(%rsp), %rdi
movq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %r13, %rcx
callq 0x5f30
movl %eax, %ebx
movq %r13, %rdi
callq 0x4356
movq $-0x40, %r13
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x62a2
movq (%rbp), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %rbp
addq $0x20, %r13
jne 0x628d
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %r13
cmpq %r13, %rdi
je 0x62c8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
testb %bl, %bl
leaq 0x30(%rsp), %rbx
movq %r14, %rbp
je 0x6305
movq 0x70(%rsp), %rax
cmpq 0x78(%rsp), %rax
jne 0x6105
leaq 0x70(%rsp), %rdi
callq 0x4356
movq 0x8(%rsp), %rax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x7185(%rip), %rsi      # 0xd499
leaq 0x7182(%rip), %rdx      # 0xd49d
callq 0xc0d0
leaq 0x30(%rsp), %r15
leaq 0x40(%rsp), %rax
movq %rax, (%r15)
leaq 0x7163(%rip), %rsi      # 0xd497
leaq 0x7162(%rip), %rdx      # 0xd49d
movq %r15, %rdi
callq 0xc0d0
leaq 0x50(%rsp), %rbx
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x70cd(%rip), %rsi      # 0xd426
leaq 0x70c8(%rip), %rdx      # 0xd428
movq %rbx, %rdi
callq 0xc0d0
leaq 0x88(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x7(%rsp), %rcx
movl $0x2, %edx
callq 0x430e
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
leaq 0x88(%rsp), %rcx
movq 0x8(%rsp), %rsi
callq 0x5f30
leaq 0x88(%rsp), %rdi
callq 0x4356
movq $-0x40, %rbx
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x63ca
movq (%r12), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r12
addq $0x20, %rbx
jne 0x63b4
leaq 0x10(%rsp), %rdi
callq 0x3100
movq 0xa0(%rsp), %rax
movq (%rax), %rsi
leaq 0x7039(%rip), %rdi      # 0xd429
xorl %eax, %eax
callq 0x3050
leaq 0x7361(%rip), %rdi      # 0xd75f
callq 0x3370
leaq 0x7034(%rip), %rdi      # 0xd43e
leaq 0x703c(%rip), %rsi      # 0xd44d
xorl %eax, %eax
callq 0x3050
leaq 0x703c(%rip), %rdi      # 0xd45b
leaq 0x7041(%rip), %rsi      # 0xd467
xorl %eax, %eax
callq 0x3050
leaq 0x703e(%rip), %rdi      # 0xd472
leaq 0x7058(%rip), %rsi      # 0xd493
xorl %eax, %eax
callq 0x3050
movl $0x1, %edi
callq 0x32c0
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x4356
jmp 0x6461
movq %rax, %r14
xorl %r13d, %r13d
movq 0x50(%rsp,%r13), %rdi
leaq (%r12,%r13), %rax
cmpq %rdi, %rax
je 0x647d
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r13
cmpq $-0x40, %r13
jne 0x6464
movb $0x1, %al
jmp 0x649a
movq %rax, %r14
xorl %eax, %eax
jmp 0x649a
movq %rax, %r14
xorl %eax, %eax
movq %r15, %rbx
cmpq %rbx, %r15
sete %cl
orb %al, %cl
jne 0x6611
addq $-0x10, %rbx
leaq 0x30(%rsp), %r15
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x64c5
movq (%rbx), %rsi
incq %rsi
callq 0x3240
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %r15, %rbx
movq %rax, %rbx
jne 0x64b1
jmp 0x6611
jmp 0x6577
jmp 0x6577
movq %rax, %r14
jmp 0x6503
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x4356
jmp 0x650a
movq %rax, %r14
leaq 0x30(%rsp), %r15
xorl %eax, %eax
jmp 0x6537
movq %rax, %r14
leaq 0x60(%rsp), %rbx
xorl %r12d, %r12d
movq 0x50(%rsp,%r12), %rdi
leaq (%rbx,%r12), %rax
cmpq %rdi, %rax
je 0x652b
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r12
cmpq $-0x40, %r12
jne 0x6512
movb $0x1, %al
leaq 0x30(%rsp), %rbx
cmpq %r15, %rbx
sete %cl
orb %al, %cl
jne 0x6611
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x6562
movq (%r15), %rsi
incq %rsi
callq 0x3240
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %rbx, %r15
movq %rax, %r15
jne 0x654e
jmp 0x6611
movq %rax, %r14
jmp 0x662d
movq %rax, %r14
xorl %eax, %eax
movq %rbx, %r12
jmp 0x65d2
movq %rax, %r14
xorl %eax, %eax
jmp 0x65d2
movq %rax, %r14
jmp 0x65a5
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x4356
leaq 0x60(%rsp), %rbx
xorl %r15d, %r15d
movq 0x50(%rsp,%r15), %rdi
leaq (%rbx,%r15), %rax
cmpq %rdi, %rax
je 0x65c6
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r15
cmpq $-0x40, %r15
jne 0x65ad
movb $0x1, %al
leaq 0x30(%rsp), %rcx
cmpq %r12, %rcx
sete %cl
orb %al, %cl
jne 0x6611
addq $-0x10, %r12
leaq 0x30(%rsp), %rbx
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x6600
movq (%r12), %rsi
incq %rsi
callq 0x3240
leaq -0x20(%r12), %rax
addq $-0x10, %r12
cmpq %rbx, %r12
movq %rax, %r12
jne 0x65ea
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x662d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x8(%rsp), %rdi
callq 0x7540
leaq 0x70(%rsp), %rdi
callq 0x4356
movq %r14, %rdi
callq 0x33a0