// File: /workspace/github_cpp_makefile_star2_O1/CoinXu[P]reviser-compiler/src/command_line_interface.cpp
// Function: reviser::CommandLineInterface::ParseArguments(int, char const* const*)
bool CommandLineInterface::ParseArguments(int argc, const char* const argv[]) {
    executable_name = argv[0];

    for (int i = 1; i < argc; i++) {
      string name, value;

      if (ParseArgument(argv[i], &name, &value)) {
        if (i + 1 == argc || argv[i + 1][0] == '-') {
          cerr << "missing value for flag: " << name << endl;
          return false;
        } else {
          i++;
          value = argv[i];
        }
      }

      if (!InterpretArgument(name, value)) {
        return false;
      }
    }

    if (input_files.empty()) {
      cerr << "missing input file." << endl;
      return false;
    }

    if (output_directives.empty()) {
      cerr << "missing output directives." << endl;
      return false;
    }

    return true;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %esi, %r14d
movq %rdx, -0x40(%rbp)
movq (%rdx), %r12
leaq 0xa0(%rdi), %r13
movq %rdi, -0x38(%rbp)
movq 0xa8(%rdi), %rbx
movq %r12, %rdi
callq 0x25180
movq %r13, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x25530
movl %r14d, -0x2c(%rbp)
cmpl $0x2, %r14d
setge %r13b
jl 0x29747
movl $0x1, %ebx
xorl %r14d, %r14d
leaq -0x70(%rbp), %rax
movq %rax, -0x80(%rbp)
movq %r14, -0x78(%rbp)
movb %r14b, -0x70(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0x60(%rbp)
movq %r14, -0x58(%rbp)
movb %r14b, -0x50(%rbp)
movslq %ebx, %rax
movq -0x40(%rbp), %rcx
movq (%rcx,%rax,8), %rsi
leaq -0x80(%rbp), %rdx
leaq -0x60(%rbp), %rcx
callq 0x299f4
testb %al, %al
je 0x296cb
leal 0x1(%rbx), %r15d
cmpl -0x2c(%rbp), %r15d
je 0x29670
movslq %r15d, %rax
movq -0x40(%rbp), %rcx
movq (%rcx,%rax,8), %r12
cmpb $0x2d, (%r12)
jne 0x2971f
movl $0x18, %edx
movq 0x3796c(%rip), %rdi     # 0x60fe8
leaq 0x269ac(%rip), %rsi     # 0x5002f
callq 0x253c0
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
movq 0x37951(%rip), %rdi     # 0x60fe8
callq 0x253c0
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x25330
movsbl %al, %esi
movq %r12, %rdi
callq 0x25040
movq %rax, %rdi
callq 0x25270
xorl %r12d, %r12d
jmp 0x296e5
movl %ebx, %r15d
movq -0x38(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x29bac
movl %eax, %r12d
movl %r15d, %ebx
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x296f7
callq 0x25320
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x29709
callq 0x25320
testb %r12b, %r12b
je 0x29741
incl %ebx
cmpl -0x2c(%rbp), %ebx
setl %r13b
jl 0x29614
jmp 0x29747
movq -0x58(%rbp), %rbx
movq %r12, %rdi
callq 0x25180
leaq -0x60(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x25530
jmp 0x296ce
testb $0x1, %r13b
jne 0x297bc
movq -0x38(%rbp), %rdx
movq 0x48(%rdx), %rax
cmpq 0x50(%rdx), %rax
je 0x29776
movq 0x30(%rdx), %rcx
movb $0x1, %al
cmpq 0x38(%rdx), %rcx
jne 0x297be
movq 0x37880(%rip), %rdi     # 0x60fe8
leaq 0x268ed(%rip), %rsi     # 0x5005c
movl $0x1a, %edx
jmp 0x29789
movq 0x3786b(%rip), %rdi     # 0x60fe8
leaq 0x268c4(%rip), %rsi     # 0x50048
movl $0x13, %edx
callq 0x253c0
movq 0x37853(%rip), %rbx     # 0x60fe8
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x25330
movsbl %al, %esi
movq %rbx, %rdi
callq 0x25040
movq %rax, %rdi
callq 0x25270
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x297e2
callq 0x25320
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x297f4
callq 0x25320
movq %rbx, %rdi
callq 0x255f0