// File: /workspace/github_cpp_makefile_star2_O3/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, %r12
movq %rdi, %r15
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), %r14
addq $0x8, %r12
cmpq %r14, %r12
je 0x7389
movq %r15, 0x60(%rsp)
movb $0x1, %al
movq %rsp, %rbx
leaq 0x20(%rsp), %rbp
testb $0x1, %al
je 0x71fb
movq (%r12), %r15
movq %r15, %rdi
leaq 0x5197(%rip), %rsi      # 0xc2c8
leaq 0x5193(%rip), %rdx      # 0xc2cb
callq 0x70a1
testb %al, %al
jne 0x7437
movq %r15, %rdi
leaq 0x5183(%rip), %rsi      # 0xc2d2
leaq 0x517f(%rip), %rdx      # 0xc2d5
callq 0x70a1
testb %al, %al
je 0x7255
leaq 0x8(%r12), %r13
cmpq %r14, %r13
je 0x7478
movq (%r13), %r12
movl $0x180, %edi            # imm = 0x180
callq 0x3200
movq %rax, %r15
movq (%r13), %rsi
movq %rbx, %rdi
leaq 0x37(%rsp), %rdx
callq 0x76e6
movq %r15, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x3340
movq %r12, 0x20(%rsp)
movq %r15, 0x28(%rsp)
movq $0x0, 0x58(%rsp)
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x7e10
leaq 0x28(%rsp), %rdi
callq 0x76c0
leaq 0x58(%rsp), %rdi
callq 0x76c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x72b4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x72b4
movq (%r12), %r13
movl $0x208, %edi            # imm = 0x208
callq 0x3200
movq %rax, %r15
movq (%r12), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x33a0
movq %r13, (%rsp)
movq %r15, 0x8(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7e10
leaq 0x8(%rsp), %rdi
callq 0x76c0
movq %rbp, %rdi
callq 0x76c0
xorl %eax, %eax
movq %r12, %r13
jmp 0x72b6
movq %r15, %rdi
leaq 0x507d(%rip), %rsi      # 0xc2dc
leaq 0x5079(%rip), %rdx      # 0xc2df
callq 0x70a1
testb %al, %al
je 0x72cb
cmpq $0x0, 0x38(%rsp)
jne 0x750a
leaq 0x8(%r12), %r13
cmpq %r14, %r13
je 0x74c1
movl $0x200, %edi            # imm = 0x200
callq 0x3200
movq %rax, %r15
movq (%r13), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x3240
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
callq 0x8082
movb $0x1, %al
addq $0x8, %r13
movq %r13, %r12
cmpq %r14, %r13
jne 0x711b
jmp 0x7378
cmpb $0x2d, (%r15)
jne 0x72f3
cmpb $0x0, 0x1(%r15)
je 0x7332
cmpb $0x2d, 0x1(%r15)
jne 0x7550
cmpb $0x0, 0x2(%r15)
je 0x724e
jmp 0x7550
movl $0x208, %edi            # imm = 0x208
callq 0x3200
movq %rax, %r13
movq (%r12), %rsi
movq %rax, %rdi
movl $0x4, %edx
callq 0x33a0
movq %r15, (%rsp)
movq %r13, 0x8(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7e10
jmp 0x735f
leaq 0x4f89(%rip), %rax      # 0xc2c2
movq %rax, (%rsp)
movq 0xac7c(%rip), %rax      # 0x11fc0
movq %rax, 0x8(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x7e10
leaq 0x8(%rsp), %rdi
callq 0x76c0
movq %rbp, %rdi
callq 0x76c0
movb $0x1, %al
jmp 0x7250
movq 0x40(%rsp), %rax
cmpq 0x48(%rsp), %rax
movq 0x60(%rsp), %r15
jne 0x73cb
leaq 0x4f32(%rip), %rax      # 0xc2c2
leaq 0x8(%rsp), %r14
movq %rax, -0x8(%r14)
movq 0xac20(%rip), %rax      # 0x11fc0
movq %rax, (%r14)
movq $0x0, 0x20(%rsp)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x7e10
movq %r14, %rdi
callq 0x76c0
leaq 0x20(%rsp), %rdi
callq 0x76c0
movq 0x38(%rsp), %rax
testq %rax, %rax
jne 0x73ec
movq 0xabcc(%rip), %rsi      # 0x11fa8
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x8082
movq (%rbx), %rax
movq %rax, (%r15)
xorl %eax, %eax
leaq 0x38(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x40(%rsp), %rbx
movaps (%rbx), %xmm0
movups %xmm0, 0x8(%r15)
movq 0x10(%rbx), %rcx
movq %rcx, 0x18(%r15)
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
callq 0x78b6
movq %rbx, %rdi
callq 0x78dc
movq %r15, %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 0x4e9d(%rip), %rsi      # 0xc2e8
movq %rax, %rdi
callq 0x33c0
leaq 0xa74e(%rip), %rax      # 0x11ba8
movq %rax, (%r14)
leaq 0xa6d4(%rip), %rsi      # 0x11b38
movq 0xab2d(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7594
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%r12), %rsi
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x76e6
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x7724
xorl %ebp, %ebp
leaq 0xa6a3(%rip), %rsi      # 0x11b50
movq 0xaae4(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7594
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%r12), %rsi
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x76e6
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x7724
xorl %ebp, %ebp
leaq 0xa65a(%rip), %rsi      # 0x11b50
movq 0xaa9b(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7594
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%r12), %rsi
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x76e6
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x77aa
xorl %ebp, %ebp
leaq 0xa629(%rip), %rsi      # 0x11b68
movq 0xaa52(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x7594
movl $0x10, %edi
callq 0x3100
movq %rax, %r14
movq (%r12), %rsi
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x76e6
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x7830
xorl %ebp, %ebp
leaq 0xa5fb(%rip), %rsi      # 0x11b80
movq 0xaa0c(%rip), %rdx      # 0x11f98
movq %r14, %rdi
callq 0x3360
jmp 0x767b
movq %rax, %rbx
movq %r14, %rdi
jmp 0x7683
jmp 0x75d3
jmp 0x763a
jmp 0x75d3
jmp 0x763a
jmp 0x75d3
jmp 0x763a
jmp 0x767b
movq %rax, %rbx
movl $0x208, %esi            # imm = 0x208
movq %r13, %rdi
jmp 0x769f
jmp 0x7676
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x75f1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
testb %bpl, %bpl
jne 0x763d
jmp 0x76a4
jmp 0x763a
movq %rax, %rbx
movl $0x200, %esi            # imm = 0x200
jmp 0x769c
jmp 0x7676
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x762f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x762f
movq %rax, %rbx
movl $0x180, %esi            # imm = 0x180
jmp 0x769c
jmp 0x7676
jmp 0x7676
movq %rax, %rbx
movq %r14, %rdi
callq 0x3170
jmp 0x76a4
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x76c0
leaq 0x58(%rsp), %rdi
callq 0x76c0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x76a4
movq 0x10(%rsp), %rsi
incq %rsi
jmp 0x769f
movq %rax, %rbx
jmp 0x76a4
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x76c0
leaq 0x20(%rsp), %rdi
callq 0x76c0
jmp 0x76a4
movq %rax, %rbx
movl $0x208, %esi            # imm = 0x208
movq %r15, %rdi
callq 0x3210
leaq 0x38(%rsp), %rdi
callq 0x78b6
leaq 0x40(%rsp), %rdi
callq 0x78dc
movq %rbx, %rdi
callq 0x3380