// File: /workspace/github_cpp_makefile_star2_O1/evincarofautumn[P]protodata/arguments.cpp
// Function: parse_arguments(int, char const* const*)
std::tuple<std::vector<Input>, unique_ostream>
  parse_arguments(int count, const char* const* begin) {
  using namespace std;
  const char* const stdin_name = "STDIN";
  --count;
  ++begin;
  vector<Input> inputs;
  unique_ostream output;
  bool enable_parsing = true;
  const auto end = begin + count;
  for (auto argument = begin; argument != end; ++argument) {
    if (!enable_parsing) {
      inputs.push_back(Input(*argument,
        unique_istream(new ifstream(*argument, ios::binary))));
      continue;
    }
    if (match_argument(*argument, "-h", "--help")) {
      throw print_usage();
    } else if (match_argument(*argument, "-e", "--eval")) {
      if (argument + 1 == end)
        throw missing_value(*argument);
      ++argument;
      inputs.push_back(Input(*argument,
        unique_istream(new istringstream(*argument))));
    } else if (match_argument(*argument, "-o", "--output")) {
      if (output)
        throw excessive_value(*argument);
      if (argument + 1 == end)
        throw missing_value(*argument);
      ++argument;
      output.reset(new ofstream(*argument, ios::binary));
    } else if (streq(*argument, "-")) {
      inputs.push_back(Input(stdin_name, unique_istream(&cin)));
    } else if (streq(*argument, "--")) {
      enable_parsing = false;
    } else if (**argument == '-') {
      throw unknown_option(*argument);
    } else {
      inputs.push_back(Input(*argument,
        unique_istream(new ifstream(*argument, ios::binary))));
    }
  }
  if (inputs.empty())
    inputs.push_back(Input(stdin_name, unique_istream(&cin)));
  if (!output)
    output.reset(&cout);
  return make_tuple(move(inputs), move(output));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbp
movq %rdi, 0x60(%rsp)
xorl %eax, %eax
movq %rax, 0x50(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq %rax, 0x38(%rsp)
movslq %esi, %rax
leaq (%rdx,%rax,8), %r13
addq $0x8, %rbp
cmpq %r13, %rbp
je 0x752f
movb $0x1, %r14b
leaq 0x10(%rsp), %rbx
testb $0x1, %r14b
je 0x73b0
movq (%rbp), %r15
movq %r15, %rdi
leaq 0x4fda(%rip), %rsi      # 0xc2c8
leaq 0x4fd6(%rip), %rdx      # 0xc2cb
callq 0x7261
testb %al, %al
jne 0x75ef
movq %r15, %rdi
leaq 0x4fc6(%rip), %rsi      # 0xc2d2
leaq 0x4fc2(%rip), %rdx      # 0xc2d5
callq 0x7261
testb %al, %al
je 0x741b
leaq 0x8(%rbp), %r12
cmpq %r13, %r12
je 0x7630
movq (%r12), %rbp
movl $0x180, %edi            # imm = 0x180
callq 0x3200
movq %rax, %r15
movq (%r12), %rsi
movq %rbx, %rdi
leaq 0x37(%rsp), %rdx
callq 0x7892
movq %r15, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x3340
movq %rbp, (%rsp)
movq %r15, 0x8(%rsp)
movq $0x0, 0x58(%rsp)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x7fb2
leaq 0x8(%rsp), %rdi
callq 0x786c
leaq 0x58(%rsp), %rdi
callq 0x786c
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x7406
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x7406
movq (%rbp), %r12
movl $0x208, %edi            # imm = 0x208
callq 0x3200
movq %rax, %r15
movq (%rbp), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x33a0
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq $0x0, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7fb2
leaq 0x18(%rsp), %rdi
callq 0x786c
movq %rsp, %rdi
callq 0x786c
movq %rbp, %r12
addq $0x8, %r12
movq %r12, %rbp
cmpq %r13, %r12
jne 0x72d6
jmp 0x752f
movq %r15, %rdi
leaq 0x4eb7(%rip), %rsi      # 0xc2dc
leaq 0x4eb3(%rip), %rdx      # 0xc2df
callq 0x7261
testb %al, %al
je 0x747b
cmpq $0x0, 0x38(%rsp)
jne 0x76c6
leaq 0x8(%rbp), %r12
cmpq %r13, %r12
je 0x767b
movl $0x200, %edi            # imm = 0x200
callq 0x3200
movq %rax, %r15
movq (%r12), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x3240
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
callq 0x8216
jmp 0x7406
movq %r15, %rdi
leaq 0x4e64(%rip), %rsi      # 0xc2e9
callq 0x32c0
testl %eax, %eax
je 0x74f5
movq %r15, %rdi
leaq 0x4e50(%rip), %rsi      # 0xc2e8
callq 0x32c0
testl %eax, %eax
je 0x7527
cmpb $0x2d, (%r15)
je 0x770e
movq (%rbp), %r12
movl $0x208, %edi            # imm = 0x208
callq 0x3200
movq %rax, %r15
movq (%rbp), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x33a0
movq %r12, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq $0x0, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7fb2
jmp 0x73f1
leaq 0x4dc6(%rip), %rax      # 0xc2c2
movq %rax, 0x10(%rsp)
movq 0xaab8(%rip), %rax      # 0x11fc0
movq %rax, 0x18(%rsp)
movq $0x0, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7fb2
jmp 0x73f1
xorl %r14d, %r14d
jmp 0x7403
movq 0x40(%rsp), %rax
cmpq 0x48(%rsp), %rax
jne 0x757c
movq 0xaa7e(%rip), %rax      # 0x11fc0
leaq 0x4d79(%rip), %rcx      # 0xc2c2
leaq 0x18(%rsp), %r14
movq %rcx, -0x8(%r14)
movq %rax, (%r14)
movq $0x0, (%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x7fb2
movq %r14, %rdi
callq 0x786c
movq %rsp, %rdi
callq 0x786c
cmpq $0x0, 0x38(%rsp)
jne 0x7595
movq 0xaa1d(%rip), %rsi      # 0x11fa8
leaq 0x38(%rsp), %rdi
callq 0x8216
leaq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq 0x60(%rsp), %r14
movq %rax, (%r14)
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x40(%rsp), %rbx
movq (%rbx), %rcx
movq %rcx, 0x8(%r14)
movq 0x8(%rbx), %rcx
movq %rcx, 0x10(%r14)
movq 0x10(%rbx), %rcx
movq %rcx, 0x18(%r14)
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
callq 0x7a62
movq %rbx, %rdi
callq 0x7a88
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
leaq 0x4ce8(%rip), %rsi      # 0xc2eb
movq %rax, %rdi
callq 0x33c0
leaq 0xa596(%rip), %rax      # 0x11ba8
movq %rax, (%r14)
leaq 0xa51c(%rip), %rsi      # 0x11b38
movq 0xa975(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7754
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%rbp), %rsi
leaq 0x10(%rsp), %rdi
movq %rsp, %rdx
callq 0x7892
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x78d0
xorl %ebp, %ebp
leaq 0xa4e9(%rip), %rsi      # 0x11b50
movq 0xa92a(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7754
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%rbp), %rsi
leaq 0x10(%rsp), %rdi
movq %rsp, %rdx
callq 0x7892
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x78d0
xorl %ebp, %ebp
leaq 0xa49e(%rip), %rsi      # 0x11b50
movq 0xa8df(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7754
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%rbp), %rsi
leaq 0x10(%rsp), %rdi
movq %rsp, %rdx
callq 0x7892
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x7956
xorl %ebp, %ebp
leaq 0xa46b(%rip), %rsi      # 0x11b68
movq 0xa894(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7754
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%rbp), %rsi
leaq 0x10(%rsp), %rdi
movq %rsp, %rdx
callq 0x7892
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x79dc
xorl %ebp, %ebp
leaq 0xa43b(%rip), %rsi      # 0x11b80
movq 0xa84c(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
movq %rax, %rbx
movq %r14, %rdi
jmp 0x7831
jmp 0x7784
jmp 0x77a5
jmp 0x7829
jmp 0x7829
jmp 0x7840
jmp 0x7824
jmp 0x7784
jmp 0x77a5
jmp 0x7784
jmp 0x77a5
jmp 0x7824
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x77ab
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x77ab
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
jne 0x77d9
jmp 0x7850
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
jmp 0x7848
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x77fc
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x7818
jmp 0x7824
jmp 0x7824
movq %rax, %rbx
movq %r14, %rdi
callq 0x3170
jmp 0x7850
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x786c
leaq 0x58(%rsp), %rdi
callq 0x786c
xorl %ebp, %ebp
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x7818
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3210
testb %bpl, %bpl
je 0x7850
movl $0x180, %esi            # imm = 0x180
jmp 0x7848
movq %rax, %rbx
jmp 0x7850
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x786c
movq %rsp, %rdi
callq 0x786c
jmp 0x7850
movq %rax, %rbx
movl $0x208, %esi            # imm = 0x208
movq %r15, %rdi
callq 0x3210
leaq 0x38(%rsp), %rdi
callq 0x7a62
leaq 0x40(%rsp), %rdi
callq 0x7a88
movq %rbx, %rdi
callq 0x3380