// File: /workspace/github_cpp_makefile_star2_O3/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), %rbx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6a42
movq (%rbx), %r14
movq 0x8(%rbx), %rax
cmpq %rax, %r14
setne %cl
movq %rax, %rbx
addq $-0x20, %rbx
cmpq %r14, %rbx
seta %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x64cf
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3190
addq $0x20, %r14
addq $-0x20, %rbx
cmpq %rbx, %r14
jb 0x64ad
movq 0x70(%rsp), %r14
movq 0x78(%rsp), %rax
movq 0x8(%rsp), %rdx
leaq 0x30(%rdx), %rcx
movq %rcx, (%rdx)
movq $0x1, 0x8(%rdx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdx)
movl $0x3f800000, 0x20(%rdx) # imm = 0x3F800000
movups %xmm0, 0x28(%rdx)
cmpq %rax, %r14
je 0x66e9
leaq 0x20(%rsp), %r12
leaq 0x60(%rsp), %rbp
leaq 0x10(%rsp), %rbx
leaq 0x88(%rsp), %r15
movq %r12, 0x10(%rsp)
movq %rbx, %rdi
leaq 0x6f6f(%rip), %rsi      # 0xd493
leaq 0x6f6f(%rip), %rdx      # 0xd49a
callq 0xc1d2
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x6f48(%rip), %rsi      # 0xd491
leaq 0x6f4a(%rip), %rdx      # 0xd49a
callq 0xc1d2
movq %rbp, 0x50(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0x6efa(%rip), %rsi      # 0xd460
leaq 0x6ef5(%rip), %rdx      # 0xd462
callq 0xc1d2
movl $0x2, %edx
movq %r15, %rdi
movq %r14, %rsi
leaq 0x7(%rsp), %rcx
callq 0x4324
leaq 0x70(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %r13
movq %rbx, %rdx
movq %r15, %rcx
callq 0x633c
movl %eax, %ebx
movq %r15, %rdi
callq 0x436c
movq $-0x40, %r12
movq %rbp, %r14
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x65c8
movq (%rbp), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %rbp
addq $0x20, %r12
jne 0x65b3
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %r12
cmpq %r12, %rdi
je 0x65ee
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
testb %bl, %bl
movq %r14, %rbp
jne 0x66d6
movq %r12, 0x10(%rsp)
movq %r13, %rbx
movq %r13, %rdi
leaq 0x6ea2(%rip), %rsi      # 0xd4ad
leaq 0x6e9f(%rip), %rdx      # 0xd4b1
callq 0xc1d2
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %r12
movq %r12, %rdi
leaq 0x6e7b(%rip), %rsi      # 0xd4ab
leaq 0x6e7a(%rip), %rdx      # 0xd4b1
callq 0xc1d2
movq %rbp, 0x50(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0x6e16(%rip), %rsi      # 0xd463
leaq 0x6e11(%rip), %rdx      # 0xd465
callq 0xc1d2
movl $0x2, %edx
movq %r15, %rdi
movq %r12, %rsi
leaq 0x7(%rsp), %rcx
callq 0x4324
leaq 0x70(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rbx, %rdx
movq %r15, %rcx
callq 0x633c
movl %eax, %ebx
movq %r15, %rdi
callq 0x436c
movq $-0x40, %r12
movq -0x10(%rbp), %rdi
cmpq %rdi, %rbp
je 0x66a9
movq (%rbp), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %rbp
addq $0x20, %r12
jne 0x6694
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %r12
cmpq %r12, %rdi
je 0x66cf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
testb %bl, %bl
movq %r14, %rbp
je 0x670a
movq 0x70(%rsp), %rax
cmpq 0x78(%rsp), %rax
movq %r13, %rbx
jne 0x6515
leaq 0x70(%rsp), %rdi
callq 0x436c
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 %r12, (%rdi)
leaq 0x6dc0(%rip), %rsi      # 0xd4d9
leaq 0x6dbd(%rip), %rdx      # 0xd4dd
callq 0xc1d2
leaq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
movq %rax, (%rdi)
leaq 0x6d9e(%rip), %rsi      # 0xd4d7
leaq 0x6d9d(%rip), %rdx      # 0xd4dd
callq 0xc1d2
leaq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x6d0c(%rip), %rsi      # 0xd466
leaq 0x6d07(%rip), %rdx      # 0xd468
callq 0xc1d2
leaq 0x88(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x7(%rsp), %rcx
movl $0x2, %edx
callq 0x4324
leaq 0x70(%rsp), %rdi
leaq 0x10(%rsp), %rdx
leaq 0x88(%rsp), %rcx
movq 0x8(%rsp), %rsi
callq 0x633c
leaq 0x88(%rsp), %rdi
callq 0x436c
movq $-0x40, %r14
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x67c6
movq (%rbx), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %rbx
addq $0x20, %r14
jne 0x67b2
leaq 0x10(%rsp), %rdi
callq 0x3100
movq 0xa0(%rsp), %rax
movq (%rax), %rsi
leaq 0x6c7d(%rip), %rdi      # 0xd469
xorl %eax, %eax
callq 0x3050
leaq 0x6fa5(%rip), %rdi      # 0xd79f
callq 0x3370
leaq 0x6c78(%rip), %rdi      # 0xd47e
leaq 0x6c80(%rip), %rsi      # 0xd48d
xorl %eax, %eax
callq 0x3050
leaq 0x6c80(%rip), %rdi      # 0xd49b
leaq 0x6c85(%rip), %rsi      # 0xd4a7
xorl %eax, %eax
callq 0x3050
leaq 0x6c82(%rip), %rdi      # 0xd4b2
leaq 0x6c9c(%rip), %rsi      # 0xd4d3
xorl %eax, %eax
callq 0x3050
movl $0x1, %edi
callq 0x32c0
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x436c
jmp 0x685d
movq %rax, %r14
xorl %r15d, %r15d
movq 0x50(%rsp,%r15), %rdi
leaq (%rbx,%r15), %rax
cmpq %rdi, %rax
je 0x6879
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r15
cmpq $-0x40, %r15
jne 0x6860
jmp 0x6944
jmp 0x68e3
jmp 0x68de
jmp 0x68d6
jmp 0x68d6
jmp 0x68e3
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x436c
jmp 0x68a9
jmp 0x68de
movq %rax, %r14
leaq 0x60(%rsp), %rbx
xorl %r15d, %r15d
movq 0x50(%rsp,%r15), %rdi
leaq (%rbx,%r15), %rax
cmpq %rdi, %rax
je 0x68ca
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r15
cmpq $-0x40, %r15
jne 0x68b1
jmp 0x6944
movq %rax, %r14
jmp 0x6960
movq %rax, %r14
jmp 0x6944
movq %rax, %r14
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6944
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3240
jmp 0x6944
movq %rax, %r14
jmp 0x6919
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x436c
leaq 0x60(%rsp), %rbx
xorl %r15d, %r15d
movq 0x50(%rsp,%r15), %rdi
leaq (%rbx,%r15), %rax
cmpq %rdi, %rax
je 0x693a
movq (%rax), %rsi
incq %rsi
callq 0x3240
addq $-0x20, %r15
cmpq $-0x40, %r15
jne 0x6921
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6960
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3240
movq 0x8(%rsp), %rdi
callq 0x7814
leaq 0x70(%rsp), %rdi
callq 0x436c
movq %r14, %rdi
callq 0x33a0