// File: /workspace/github_cpp_makefile_star2_O2/TheStanian[P]Args/Args/Args.cpp
// Function: operator<<(std::ostream&, ArgsHandler&)
std::ostream& operator<<(std::ostream& os, ArgsHandler &args) {
	os << "-----------------------------" << std::endl
			<< "This program was run as:" << std::endl << "    " << args.getExecutionPath() << std::endl
			<< "with the following flags and arguments:" << std::endl;
	if (args.getStartArguments().size() > 0) {
		os << "    flagless arguments:" << std::endl;
		for (std::string arg:args.getStartArguments()) {
			os << "        " << arg << std::endl;
		}
	}
	for (std::string flag:args.getFlags()) {
		os << "    flag \"" << flag << "\"";
		std::string flval = args.flags.find(flag)->second.value;
		if (flval != "") {
			os << " with value \"" << flval << "\"";
		}

		std::vector<std::string> flargs;
		for (int arg:(args.flags.find(flag)->second.arguments)) {
			flargs.push_back(args.arguments[arg]);
		}

		if (flargs.size() > 0) {
			os << ":";
		}

		os << std::endl;

		for (std::string arg:flargs) {
			os << "        " << arg << std::endl;
		}
	}
	os << "-----------------------------";
	return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2902(%rip), %rsi      # 0x612c
callq 0x2170
movq %rax, %rdi
callq 0x20c0
leaq 0x290c(%rip), %rsi      # 0x614a
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20c0
leaq 0x2952(%rip), %rsi      # 0x61a7
movq %rax, %rdi
callq 0x2170
movq %rax, %r15
leaq 0x60(%r14), %rsi
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0x2200
movq %r15, %rdi
movq %r12, %rsi
callq 0x2160
movq %rax, %rdi
callq 0x20c0
leaq 0x28d8(%rip), %rsi      # 0x6163
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20c0
leaq 0x10(%rsp), %rdi
callq 0x20b0
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x33f4
movq 0x8(%r15), %r12
movq (%r15), %r13
movq %r15, %rdi
callq 0x2838
cmpq %r13, %r12
je 0x394f
leaq 0x28b7(%rip), %rsi      # 0x618b
movq %rbx, %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20c0
leaq 0x60(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x33f4
movq (%r12), %r15
movq 0x8(%r12), %rbp
leaq 0x10(%rsp), %r12
leaq 0x289a(%rip), %r13      # 0x61a3
cmpq %rbp, %r15
je 0x3945
movq %r12, %rdi
movq %r15, %rsi
callq 0x2200
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2170
movq %rax, %rdi
movq %r12, %rsi
callq 0x2160
movq %rax, %rdi
callq 0x20c0
movq %r12, %rdi
callq 0x20b0
addq $0x20, %r15
jmp 0x3909
leaq 0x60(%rsp), %rdi
callq 0x2838
leaq 0x80(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3462
movq (%r15), %rsi
movq 0x8(%r15), %rax
movq %rax, 0x50(%rsp)
leaq 0x18(%r14), %rax
movq %rax, 0x8(%rsp)
leaq 0x30(%rsp), %rbp
leaq 0x98(%rsp), %r12
cmpq 0x50(%rsp), %rsi
je 0x3b09
leaq 0x10(%rsp), %rdi
movq %rsi, 0x58(%rsp)
callq 0x2200
movq %rbx, %rdi
leaq 0x2804(%rip), %rsi      # 0x61ac
callq 0x2170
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x2160
movq %rax, %rdi
leaq 0x27ff(%rip), %rsi      # 0x61c3
callq 0x2170
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x518c
leaq 0x60(%rsp), %r15
addq $0x60, %rax
movq %r15, %rdi
movq %rax, %rsi
callq 0x2200
movq %r15, %rdi
leaq 0x2735(%rip), %rsi      # 0x612b
callq 0x3c3a
testb %al, %al
je 0x3a2a
movq %rbx, %rdi
leaq 0x27ae(%rip), %rsi      # 0x61b7
callq 0x2170
movq %rax, %rdi
leaq 0x60(%rsp), %rsi
callq 0x2160
movq %rax, %rdi
leaq 0x279e(%rip), %rsi      # 0x61c3
callq 0x2170
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
andq $0x0, 0x40(%rsp)
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x518c
movq 0x80(%rax), %r15
movq 0x88(%rax), %r13
cmpq %r13, %r15
je 0x3a72
movslq (%r15), %rsi
shlq $0x5, %rsi
addq (%r14), %rsi
movq %rbp, %rdi
callq 0x3c0e
addq $0x4, %r15
jmp 0x3a55
movq 0x38(%rsp), %rax
cmpq 0x30(%rsp), %rax
je 0x3a8d
movq %rbx, %rdi
leaq 0x26d9(%rip), %rsi      # 0x6161
callq 0x2170
movq %rbx, %rdi
callq 0x20c0
movq 0x30(%rsp), %r15
movq 0x38(%rsp), %r13
cmpq %r13, %r15
je 0x3adf
movq %r12, %rdi
movq %r15, %rsi
callq 0x2200
movq %rbx, %rdi
leaq 0x26ea(%rip), %rsi      # 0x61a3
callq 0x2170
movq %rax, %rdi
movq %r12, %rsi
callq 0x2160
movq %rax, %rdi
callq 0x20c0
movq %r12, %rdi
callq 0x20b0
addq $0x20, %r15
jmp 0x3a9f
movq %rbp, %rdi
callq 0x2838
leaq 0x60(%rsp), %rdi
callq 0x20b0
leaq 0x10(%rsp), %rdi
callq 0x20b0
movq 0x58(%rsp), %rsi
addq $0x20, %rsi
jmp 0x3984
leaq 0x80(%rsp), %rdi
callq 0x2838
leaq 0x260f(%rip), %rsi      # 0x612c
movq %rbx, %rdi
callq 0x2170
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x20b0
jmp 0x3bb9
movq %rax, %rbx
jmp 0x3b64
movq %rax, %rbx
jmp 0x3bac
jmp 0x3b79
jmp 0x3b79
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x20b0
leaq 0x60(%rsp), %rdi
jmp 0x3bb4
jmp 0x3b72
movq %rax, %rbx
jmp 0x3b98
movq %rax, %rbx
jmp 0x3ba2
jmp 0x3b79
movq %rax, %rbx
jmp 0x3b8e
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
callq 0x20b0
leaq 0x30(%rsp), %rdi
callq 0x2838
leaq 0x60(%rsp), %rdi
callq 0x20b0
leaq 0x10(%rsp), %rdi
callq 0x20b0
leaq 0x80(%rsp), %rdi
callq 0x2838
movq %rbx, %rdi
callq 0x2260
nop