LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/include/forecast_io/parsers/../../json/AbstractJsonStateMapParser.hpp
// Function: json::AbstractJsonStateMapParser<forecast_io::parsers::FlagsAttribute>::parse(json_object* const&)
void parse(json_object* const & pJsonObj)
	{
		// Parse JSON data values
		json_object_object_foreach(pJsonObj, key, value)
		{
			parseAttribute(key, value);
		}

		finishParse();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
movq (%rsi), %rdi
callq 0x9110
movq 0x8(%rax), %r13
leaq 0x10(%rsp), %r15
leaq 0x7(%rsp), %r12
testq %r13, %r13
je 0x1c21e
movq (%r13), %rsi
movq 0x10(%r13), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%r13), %r13
movq %r15, %rdi
movq %r12, %rdx
callq 0xb070
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1c8ce
movq %r15, %rdi
callq 0x9710
jmp 0x1c1e5
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/include/forecast_io/parsers/../../json/AbstractJsonStateMapParser.hpp
// Function: json::AbstractJsonStateMapParser<forecast_io::parsers::FlagsAttribute>::parseAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, json_object* const&)
void parseAttribute(const std::string& key, json_object* const & pValue)
	{
		auto iter = attributeNames.find(key);
		if (iter == attributeNames.end())
		{
			handleUnmappedAttribute(key, pValue);
		}
		else
		{
			const A& attribute = iter->second;
			parseAttribute(attribute, pValue);
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rdi), %rdi
callq 0x1c91c
testq %rax, %rax
je 0x1c905
addq $0x28, %rax
movq (%r14), %rcx
movq 0x30(%rcx), %rcx
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmpq *%rcx
movq (%r14), %rax
movq 0x28(%rax), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %r15
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/include/forecast_io/parsers/../../json/AbstractJsonStateMapParser.hpp
// Function: json::AbstractJsonStateMapParser<forecast_io::parsers::AlertAttribute>::createUndefinedAttributeErrorMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, forecast_io::parsers::AlertAttribute const&)
static std::string createUndefinedAttributeErrorMessage(
			const std::string& attributeType, const A& attribute)
	{
		std::stringstream errorMessage(std::stringstream::out);
		errorMessage << "No parsing logic for " << attributeType << " value "
				<< common::to_quoted_string(attribute) << " is defined.";
		return errorMessage.str();
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
pushq $0x10
popq %rsi
callq 0x9250
leaq 0x38(%rsp), %rdi
leaq 0x74b2(%rip), %rsi      # 0x2407c
callq 0x9360
movq %rax, %rdi
movq %r15, %rsi
callq 0x9170
leaq 0x76a8(%rip), %rsi      # 0x24289
movq %rax, %rdi
callq 0x9360
movq %rax, %r15
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x1d653
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x9170
leaq 0x7485(%rip), %rsi      # 0x24092
movq %rax, %rdi
callq 0x9360
leaq 0x8(%rsp), %rdi
callq 0x9710
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x91f0
leaq 0x28(%rsp), %rdi
callq 0x91d0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1cc57
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x9710
jmp 0x1cc5a
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x91d0
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/forecast_io/parsers/NotifyingFlagParser.cpp
// Function: forecast_io::parsers::NotifyingFlagParser::finishParse()
void NotifyingFlagParser::finishParse()
{
	// If there are no sources to notify about,
	if (sources.empty())
	{
		// If there are stations to notify about,
		if (!stations.empty())
		{
			for (listeners::FlagListener* const & pListener : getListeners())
			{
				pListener->notifyStations(stations);
			}
		}
	} else if (stations.empty())
	{
		// There are sources but no stations to notify about
		for (listeners::FlagListener* const & pListener : getListeners())
		{
			pListener->notifySources(sources);
		}
	} else
	{
		// There are both sources and stations to notify about
		for (listeners::FlagListener* const & pListener : getListeners())
		{
			pListener->notifySources(sources);
			pListener->notifyStations(stations);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0xb0(%rdi), %r14
cmpq $0x0, 0x90(%rdi)
movq 0xc8(%rdi), %rax
je 0x1d95c
leaq 0x78(%rbx), %r15
addq $0x28, %rbx
testq %rax, %rax
jne 0x1d93b
jmp 0x1d952
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r15, %rsi
callq *0x18(%rax)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x1d921
jmp 0x1d97c
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r15, %rsi
callq *0x18(%rax)
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x1d945
jmp 0x1d97c
testq %rax, %rax
je 0x1d97c
addq $0x28, %rbx
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x1d97c
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
jmp 0x1d965
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/forecast_io/parsers/NotifyingFlagParser.cpp
// Function: forecast_io::parsers::NotifyingFlagParser::handleUnmappedAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, json_object* const&)
void NotifyingFlagParser::handleUnmappedAttribute(const std::string& key, json_object* const & pValue)
{
	const size_t foundIdx = key.find_last_of(sourceStationAttributeSuffix);
	if (foundIdx == std::string::npos)
	{
		json::AbstractJsonStateMapParser<FlagsAttribute>::handleUnmappedAttribute(key, pValue);
	}
	else
	{
		const std::string sourceName = key.substr(0, foundIdx);
		// Parse all values in the JSON array and add them to the set of station IDs for the given source
		json::insertJsonStringArrayValues(stations, sourceName, pValue);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x58(%rdi), %rsi
pushq $-0x1
popq %rdx
movq %r15, %rdi
callq 0x9660
cmpq $-0x1, %rax
je 0x1d9eb
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x9600
addq $0xb0, %r14
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x1dda0
leaq 0x8(%rsp), %rdi
callq 0x9710
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1dd34
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x93b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/forecast_io/parsers/NotifyingFlagParser.cpp
// Function: forecast_io::parsers::NotifyingFlagParser::parseMeasurementSystem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
const math::MeasurementSystem& NotifyingFlagParser::parseMeasurementSystem(const MeasurementSystemAttributeValueMap::key_type& attributeValue) const
{
	auto iter = measurementSystemAttributeValues.find(attributeValue);
	if (iter == measurementSystemAttributeValues.end())
	{
		const json::ParseError error = createUnknownMeasurementSystemAttributeValueError(attributeValue);
		throw error;
	}
	else
	{
		const math::MeasurementSystem& measurementSystem = iter->second;
		return measurementSystem;
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rsi, %rbx
movq 0x50(%rdi), %rdi
callq 0x18b62
testq %rax, %rax
je 0x1dbba
addq $0x28, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
retq
leaq 0x40(%rsp), %rdi
pushq $0x10
popq %rsi
callq 0x9250
leaq 0x50(%rsp), %rdi
leaq 0x669f(%rip), %rsi      # 0x24272
callq 0x9360
leaq 0x1c291(%rip), %rsi     # 0x39e70
movq %rax, %rdi
callq 0x9170
leaq 0x668d(%rip), %rsi      # 0x2427b
movq %rax, %rdi
callq 0x9360
movq %rax, %r14
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x1500a
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x9170
leaq 0x44ee(%rip), %rsi      # 0x22108
movq %rax, %rdi
callq 0x9360
leaq 0x20(%rsp), %rdi
callq 0x9710
leaq 0x58(%rsp), %rsi
movq %rsp, %rdi
callq 0x91f0
leaq 0x40(%rsp), %rdi
callq 0x91d0
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x20ef0
movq %rsp, %rdi
callq 0x9710
pushq $0x10
popq %rdi
callq 0x91e0
movq %rax, %rbx
leaq 0x40(%rsp), %rsi
movq %rax, %rdi
callq 0x1dfc4
leaq 0x19519(%rip), %rsi     # 0x37190
movq 0x1b2ea(%rip), %rdx     # 0x38f68
movq %rbx, %rdi
callq 0x9390
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x9708
jmp 0x1dcc0
movq %rax, %rbx
movq %rsp, %rdi
callq 0x9710
jmp 0x1dcc0
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x9710
jmp 0x1dcb6
jmp 0x1dcb3
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x91d0
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/include/json/json_maps.hpp
// Function: void json::insertJsonStringArrayValues<std::unordered_multimap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::unordered_multimap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, json_object* const&)
void insertJsonStringArrayValues(
		M& multimap, const K& key,
		json_object* const & pArray)
{
	const int arrayLength = json_object_array_length(pArray);
	for (int i = 0; i < arrayLength; ++i)
	{
		json_object* const & arrayElement = json_object_array_get_idx(pArray,
				i);
		const std::string& value = json_object_get_string(arrayElement);
		const typename M::value_type newPair(key, value);
		multimap.insert(newPair);
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, (%rsp)
movq %rdi, %r15
movq (%rdx), %rdi
callq 0x9270
movq %rax, %r12
xorl %r13d, %r13d
testl %r12d, %r12d
cmovlel %r13d, %r12d
leaq 0x8(%rsp), %rbp
leaq 0x28(%rsp), %r14
cmpq %r13, %r12
je 0x1de2c
movq (%rbx), %rdi
movq %r13, %rsi
callq 0x9570
movq %rax, %rdi
callq 0x96b0
movq %rbp, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xb070
movq %r14, %rdi
movq (%rsp), %rsi
movq %rbp, %rdx
callq 0x1e5d6
movq %r15, %rdi
movq %r14, %rsi
callq 0x1e60c
movq %r14, %rdi
callq 0xb3fa
movq %rbp, %rdi
callq 0x9710
incq %r13
jmp 0x1ddd7
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x1de4d
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xb3fa
leaq 0x8(%rsp), %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/include/json/json_maps.hpp
// Function: void json::insertJsonStringArrayValues<std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>(std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, json_object* const&)
void insertJsonStringArrayValues(C& collection, json_object* const & pArray)
{
	const int arrayLength = json_object_array_length(pArray);
	for (int i = 0; i < arrayLength; ++i)
	{
		json_object* const & arrayElement = json_object_array_get_idx(pArray,
				i);
		const std::string& element = json_object_get_string(arrayElement);
		collection.insert(element);
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
callq 0x9270
movq %rax, %r15
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
leaq 0x8(%rsp), %r13
leaq 0x7(%rsp), %rbp
cmpq %r12, %r15
je 0x1ded0
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x9570
movq %rax, %rdi
callq 0x96b0
movq %r13, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0xb070
movq %r14, %rdi
movq %r13, %rsi
callq 0x1e9fc
movq %r13, %rdi
callq 0x9710
incq %r12
jmp 0x1de92
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/json/TokenerParser.cpp
// Function: json::TokenerParser::parse(char const* const&, int)
void TokenerParser::parse(const char* const & input, int inputLength)
{
	json_object* const pJsonObj = json_tokener_parse_ex(pTokener, input, inputLength);
	const json_tokener_error parseErrorCode = json_tokener_get_error(pTokener);
	if (json_tokener_continue != parseErrorCode)
	{
		if (json_tokener_success == parseErrorCode)
		{
			parser.parse(pJsonObj);
		}
		else
		{
			const char * jsonErrorDesc = json_tokener_error_desc(parseErrorCode);
			throw json::ParseError(jsonErrorDesc);
		}
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movq (%rsi), %rsi
callq 0x9680
movq %rax, (%rsp)
movq 0x8(%rbx), %rdi
callq 0x9420
cmpl $0x1, %eax
je 0x20fb0
testl %eax, %eax
jne 0x20fb8
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
movq %rsp, %rsi
callq *0x18(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl %eax, %edi
callq 0x9630
movq %rax, %r14
pushq $0x10
popq %rdi
callq 0x91e0
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq 0x20f06
leaq 0x161b1(%rip), %rsi     # 0x37190
movq 0x17f82(%rip), %rdx     # 0x38f68
movq %rbx, %rdi
callq 0x9390
movq %rax, %r14
movq %rbx, %rdi
callq 0x9530
movq %r14, %rdi
callq 0x93b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/json/TokenerParser.cpp
// Function: json::TokenerParser::parse(std::istream&, char*, int)
std::streamsize TokenerParser::parse(std::istream& input, char* pBuffer,
		int bufferSize)
{
	std::streamsize result(0);

	while (input.read(pBuffer, bufferSize))
	{
		result += input.gcount();
		parse(pBuffer, bufferSize);
	}
	// Add the number of bytes read for the final read attempt
	result += input.gcount();
	// Parse any remaining tokens
	parse(pBuffer, bufferSize);

	return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rax
movq %rdx, (%rax)
movslq %ecx, %rbp
xorl %r13d, %r13d
movq %r14, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0x92c0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movb 0x20(%rax,%rcx), %r12b
addq 0x8(%r14), %r13
movq %r15, %rdi
movq %rsp, %rsi
movl %ebp, %edx
callq 0x20f7a
testb $0x5, %r12b
je 0x21022
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/math/Coordinate.cpp
// Function: math::Coordinate::createLatitudeString[abi:cxx11](double)
std::string Coordinate::createLatitudeString(double latitude)
{
	std::stringstream ss(std::stringstream::out);
	ss << std::setprecision(DEFAULT_PRECISION) << std::abs(latitude);
	ss << POLARITY_SEPARATOR;

	if (latitude < 0)
	{
		ss << LATITUDE_NEGATIVE_SYMBOL;

	}
	else
	{
		ss << LATITUDE_POSITIVE_SYMBOL;
	}

	return ss.str();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movaps %xmm0, (%rsp)
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
pushq $0x10
popq %rsi
callq 0x9250
leaq 0x20(%rsp), %r14
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x28(%rsp,%rax)
movapd 0x355d(%rip), %xmm0     # 0x24600
andpd (%rsp), %xmm0
movq %r14, %rdi
callq 0x94b0
leaq 0x3559(%rip), %rsi      # 0x24610
movq %r14, %rdi
callq 0x9360
xorpd %xmm0, %xmm0
xorl %eax, %eax
ucomisd (%rsp), %xmm0
seta %al
leal (%rax,%rax,4), %esi
addl $0x4e, %esi
movq %r14, %rdi
callq 0x93e0
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x91f0
leaq 0x10(%rsp), %rdi
callq 0x91d0
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x91d0
movq %rbx, %rdi
callq 0x93b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/math/Coordinate.cpp
// Function: math::Coordinate::createLongitudeString[abi:cxx11](double)
std::string Coordinate::createLongitudeString(double longitude)
{
	std::stringstream ss(std::stringstream::out);
	ss << std::setprecision(DEFAULT_PRECISION) << std::abs(longitude);
	ss << POLARITY_SEPARATOR;

	if (longitude < 0)
	{
		ss << LONGITUDE_NEGATIVE_SYMBOL;
	}
	else
	{
		ss << LONGITUDE_POSITIVE_SYMBOL;
	}

	return ss.str();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movaps %xmm0, (%rsp)
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
pushq $0x10
popq %rsi
callq 0x9250
leaq 0x20(%rsp), %r14
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x2, 0x28(%rsp,%rax)
movapd 0x34af(%rip), %xmm0     # 0x24600
andpd (%rsp), %xmm0
movq %r14, %rdi
callq 0x94b0
leaq 0x34ab(%rip), %rsi      # 0x24610
movq %r14, %rdi
callq 0x9360
xorpd %xmm0, %xmm0
ucomisd (%rsp), %xmm0
pushq $0x57
popq %rax
pushq $0x45
popq %rsi
cmoval %eax, %esi
movq %r14, %rdi
callq 0x93e0
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x91f0
leaq 0x10(%rsp), %rdi
callq 0x91d0
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x91d0
movq %rbx, %rdi
callq 0x93b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/errantlinguist[P]Forecast/src/math/RadialVelocity.cpp
// Function: math::RadialVelocity::dump(std::ostream&) const
std::ostream& RadialVelocity::dump(std::ostream& o) const
{
	o << "RadialVelocity[getMagnitude()=";
	o << common::to_quoted_string(getMagnitude());
	o << ", getDirection()=";
	o << common::to_quoted_string(getDirection());
	o << ']';

	return o;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x32d0(%rip), %rsi      # 0x24628
movq %rbx, %rdi
callq 0x9360
movsd 0x8(%r14), %xmm0
movq %rsp, %r15
movq %r15, %rdi
callq 0x2145a
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9170
movq %rsp, %rdi
callq 0x9710
leaq 0x32bc(%rip), %rsi      # 0x24647
movq %rbx, %rdi
callq 0x9360
movsd 0x10(%r14), %xmm0
movq %rsp, %r14
movq %r14, %rdi
callq 0x2145a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9170
movq %rsp, %rdi
callq 0x9710
pushq $0x5d
popq %rsi
movq %rbx, %rdi
callq 0x93e0
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x213d1
movq %rax, %rbx
movq %rsp, %rdi
callq 0x9710
movq %rbx, %rdi
callq 0x93b0
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/CmdLineParser.cpp
// Function: CmdLineParser::printExplanationsPretty(std::ostream&) const
void CmdLineParser::printExplanationsPretty(ostream &os) const {
    int prefixWidth = this->calculatePrefixColumnWidth();
    const unsigned int LINE_WIDTH = 80;
    for (unsigned int i = 0; i < allOptions.size(); i++) {
        printExplanationPretty(allOptions[i], prefixWidth, os, LINE_WIDTH);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x4d2a
movl %eax, %ebp
xorl %eax, %eax
pushq $0x50
popq %r15
movl %eax, %r12d
movq 0x8(%r14), %rax
movq 0x10(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r12, %rcx
jbe 0x4d20
movq (%rax,%r12,8), %rdi
movl %ebp, %esi
movq %rbx, %rdx
movl %r15d, %ecx
callq 0x4d8a
leal 0x1(%r12), %eax
jmp 0x4cf1
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/CmdLineParser.cpp
// Function: CmdLineParser::calculatePrefixColumnWidth() const
int CmdLineParser::calculatePrefixColumnWidth() const {
    int prefixWidth = 0;
    for (unsigned int i = 0; i < allOptions.size(); i++) {
        prefixWidth = max(prefixWidth,
                          (int)prettyOptionNameAndArg(allOptions[i]).size());
    }
    return prefixWidth;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
xorl %ebx, %ebx
leaq 0x8(%rsp), %r15
xorl %eax, %eax
movl %eax, %r12d
movq 0x8(%r14), %rax
movq 0x10(%r14), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r12, %rcx
jbe 0x4d7c
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
callq 0x5070
movl 0x10(%rsp), %eax
cmpl %eax, %ebx
cmovlel %eax, %ebx
movq %r15, %rdi
callq 0x45e8
leal 0x1(%r12), %eax
jmp 0x4d41
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/CmdLineParser.cpp
// Function: CmdLineParser::prettyOptionNameAndArg[abi:cxx11](CmdLineOption const*)
string CmdLineParser::prettyOptionNameAndArg(const CmdLineOption *option) {
    string nameAndArg = string("  -") + option->getName();
    if (option->requiresArgument()) {
        nameAndArg = nameAndArg + string(" ") + option->getArgumentName();
    }

    return nameAndArg;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10027(%rip), %rsi     # 0x150ab
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x53a6
leaq 0x8(%r14), %rdx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x540a
leaq 0x8(%rsp), %rdi
callq 0x45e8
cmpb $0x1, 0x88(%r14)
jne 0x5122
leaq 0x130f5(%rip), %rsi     # 0x181b4
leaq 0x48(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x53a6
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %rbx, %rsi
callq 0x5525
addq $0x28, %r14
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movq %r14, %rdx
callq 0x540a
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4350
movq %r14, %rdi
callq 0x45e8
leaq 0x28(%rsp), %rdi
callq 0x45e8
leaq 0x48(%rsp), %rdi
callq 0x45e8
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x45e8
jmp 0x513f
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0x45e8
jmp 0x514e
movq %rax, %r14
movq %rbx, %rdi
jmp 0x515b
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x45e8
jmp 0x5165
movq %rax, %r14
movq %r14, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::maxNdx(int, int, double*) const
int Datapoint::maxNdx(int start, int end, double *value) const {
    start = start < 0 ? 0 : start;
    if (end == -1) { end = size(); }
    else { end = (end >= (int)size()) ? size() : end; }

    if (size() <= 0 || start >= end || start >= (int)size()) {
        return -1;
    }

    int ndx = start;
    double max = (*this)[start];

    for (unsigned int i = start + 1; i < (unsigned int)end; i++) {
        if ((*this)[i] > max) {
            max = (*this)[i];
            ndx = i;
        }
    }

    if (value) { *value = max; }

    return ndx;
}

// Assembly:
xorl %eax, %eax
testl %esi, %esi
cmovgl %esi, %eax
movq (%rdi), %rsi
movq 0x8(%rdi), %r8
subq %rsi, %r8
sete %r9b
shrq $0x3, %r8
cmpl %edx, %r8d
movl %edx, %edi
cmovll %r8d, %edi
cmpl $-0x1, %edx
cmovel %r8d, %edi
cmpl %edi, %eax
setge %dl
cmpl %r8d, %eax
setge %r8b
orb %r9b, %r8b
orb %dl, %r8b
jne 0x5971
movl %eax, %edx
movsd (%rsi,%rdx,8), %xmm0
movl %edi, %edi
incq %rdx
cmpq %rdi, %rdx
jae 0x5967
movsd (%rsi,%rdx,8), %xmm1
ucomisd %xmm0, %xmm1
cmoval %edx, %eax
maxsd %xmm0, %xmm1
incq %rdx
movapd %xmm1, %xmm0
jmp 0x5949
testq %rcx, %rcx
je 0x5970
movsd %xmm0, (%rcx)
retq
pushq $-0x1
popq %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::operator+=(Datapoint const&)
Datapoint &Datapoint::operator+=(const Datapoint &dp) {
    unsigned int s = size();
    for (unsigned int i = 0; i < s; i++) {
        (*this)[i] += dp[i];
    }

    return *this;
}

// Assembly:
movq %rdi, %rax
movq (%rdi), %rcx
movq 0x8(%rdi), %rdi
subq %rcx, %rdi
shrq $0x3, %rdi
movq (%rsi), %rdx
movl %edi, %esi
xorl %edi, %edi
cmpq %rdi, %rsi
je 0x59a7
movsd (%rdx,%rdi,8), %xmm0
addsd (%rcx,%rdi,8), %xmm0
movsd %xmm0, (%rcx,%rdi,8)
incq %rdi
jmp 0x598e
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::operator/=(double)
Datapoint &Datapoint::operator/=(double d) {
    unsigned int s = size();
    for (unsigned int i = 0; i < s; i++) {
        (*this)[i] /= d;
    }

    return *this;
}

// Assembly:
movq %rdi, %rax
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
subq %rcx, %rdx
shrq $0x3, %rdx
movl %edx, %edx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x59d5
movsd (%rcx,%rsi,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rcx,%rsi,8)
incq %rsi
jmp 0x59bd
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::operator-(Datapoint const&) const
Datapoint Datapoint::operator-(const Datapoint &dp) const {
    Datapoint toReturn(*this);
    unsigned int s = size();

    for (unsigned int i = 0; i < s; i++) {
        toReturn[i] -= dp[i];
    }

    return toReturn;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x5e8a
movq 0x8(%r15), %rdx
subq (%r15), %rdx
shrq $0x3, %rdx
movq (%r14), %rax
movq (%rbx), %rcx
movl %edx, %edx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0x5a4b
movsd (%rcx,%rsi,8), %xmm0
subsd (%rax,%rsi,8), %xmm0
movsd %xmm0, (%rcx,%rsi,8)
incq %rsi
jmp 0x5a32
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::write(std::ostream&) const
void Datapoint::write(ostream &os) const {
    unsigned int s = size();
    os << s << ": ";

    for (unsigned int i = 0; i < s; i++) {
        os << (*this)[i] << " ";
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
subq (%rdi), %rax
shrq $0x3, %rax
movl %eax, %r15d
movq %rsi, %rdi
movq %r15, %rsi
callq 0x41e0
leaq 0xf625(%rip), %rsi      # 0x150a8
movq %rax, %rdi
callq 0x4290
xorl %r13d, %r13d
leaq 0x1271f(%rip), %r12     # 0x181b4
cmpq %r13, %r15
je 0x5abb
movq (%r14), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x44d0
movq %rax, %rdi
movq %r12, %rsi
callq 0x4290
incq %r13
jmp 0x5a95
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::write(_IO_FILE*) const
void Datapoint::write(FILE *out) const {
    unsigned int s = size();
    fprintf(out, "%u: ", s);

    for (unsigned int i = 0; i < s; i++) {
        fprintf(out, "%.20f ", (*this)[i]);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %r15
subq (%rdi), %r15
shrq $0x3, %r15
leaq 0xf6de(%rip), %rsi      # 0x151c5
xorl %r12d, %r12d
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4410
movl %r15d, %r13d
leaq 0xf6c9(%rip), %r15      # 0x151ca
cmpq %r12, %r13
je 0x5b21
movq (%r14), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x4410
incq %r12
jmp 0x5b01
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::read(std::istream&)
void Datapoint::read(istream &is) {
    unsigned int length;
    is >> length;

    char c = is.get();
    Utilities::check(':' == c, "Datapoint::read() missing : separator");

    resize(length);

    for (unsigned int i = 0; i < length; i++) {
        is >> (*this)[i];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x4520
movq %rbx, %rdi
callq 0x4330
movl %eax, %ebp
leaq 0xf675(%rip), %rsi      # 0x151d1
leaq 0x10(%rsp), %r15
leaq 0xb(%rsp), %rdx
movq %r15, %rdi
callq 0x53a6
xorl %edi, %edi
cmpb $0x3a, %bpl
sete %dil
movq %r15, %rsi
callq 0x5364
leaq 0x10(%rsp), %rdi
callq 0x45e8
movl 0xc(%rsp), %esi
movq %r14, %rdi
callq 0x5ed8
xorl %r15d, %r15d
xorl %r12d, %r12d
movl 0xc(%rsp), %eax
cmpq %rax, %r12
jae 0x5bbc
movq (%r14), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x41d0
incq %r12
addq $0x8, %r15
jmp 0x5b9c
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::read(_IO_FILE*)
void Datapoint::read(FILE *in) {
    unsigned int length;
    fscanf(in, "%u", &length);

    char c = fgetc(in);
    Utilities::check(':' == c, "Datapoint::read() missing : separator");

    resize(length);

    for (unsigned int i = 0; i < length; i++) {
        fscanf(in, "%lf", &(*this)[i]);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xf5fe(%rip), %rsi      # 0x151f7
leaq 0x4(%rsp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4560
movq %rbx, %rdi
callq 0x4490
movl %eax, %ebp
leaq 0xf5b8(%rip), %rsi      # 0x151d1
leaq 0x8(%rsp), %r15
leaq 0x3(%rsp), %rdx
movq %r15, %rdi
callq 0x53a6
xorl %edi, %edi
cmpb $0x3a, %bpl
sete %dil
movq %r15, %rsi
callq 0x5364
leaq 0x8(%rsp), %rdi
callq 0x45e8
movl 0x4(%rsp), %esi
movq %r14, %rdi
callq 0x5ed8
leaq 0xf5a0(%rip), %r15      # 0x151fa
xorl %r12d, %r12d
xorl %r13d, %r13d
movl 0x4(%rsp), %eax
cmpq %rax, %r13
jae 0x5c85
movq (%r14), %rdx
addq %r12, %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x4560
incq %r13
addq $0x8, %r12
jmp 0x5c60
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::writeBinary(std::ostream&) const
void Datapoint::writeBinary(ostream &os) const {
    unsigned int s = size();
    os.write((const char *)&s, sizeof(unsigned int));
    Datapoint::const_iterator b = this->begin();
    os.write((const char *)&(*b), size() * sizeof(double));
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
subq (%rdi), %rax
movq %rsi, %r14
shrq $0x3, %rax
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
pushq $0x4
popq %rdx
movq %r14, %rdi
callq 0x43c0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
subq %rsi, %rdx
movq %r14, %rdi
callq 0x43c0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::writeBinary(_IO_FILE*) const
void Datapoint::writeBinary(FILE *out) const {
    unsigned int s = size();
    fwrite((void *)&s, sizeof(unsigned int), 1, out);
    Datapoint::const_iterator b = this->begin();
    fwrite((void *)&(*b), sizeof(double), size(), out);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
subq (%rdi), %rax
movq %rsi, %r14
shrq $0x3, %rax
leaq 0x4(%rsp), %rdi
movl %eax, (%rdi)
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x45a0
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x3, %rdx
pushq $0x8
popq %rsi
movq %r14, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x45a0
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::readBinary(std::istream&)
void Datapoint::readBinary(istream &is) {
    unsigned int length;
    is.read((char *)&length, sizeof(unsigned int));
    resize(length);
    Datapoint::iterator b = this->begin();
    is.read((char *)&(*b), length * sizeof(double));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xc(%rsp), %r15
pushq $0x4
popq %rdx
movq %rsi, %rdi
movq %r15, %rsi
callq 0x4380
movl (%r15), %esi
movq %r14, %rdi
callq 0x5ed8
movq (%r14), %rsi
movl (%r15), %edx
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x4380
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: Datapoint::readBinary(_IO_FILE*)
void Datapoint::readBinary(FILE *in) {
    unsigned int length;
    fread((void *)&length, sizeof(unsigned int), 1, in);
    resize(length);
    Datapoint::iterator b = this->begin();
    fread((void *)&(*b), sizeof(double), length, in);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xc(%rsp), %r15
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
movq %r15, %rdi
movq %rbx, %rcx
callq 0x4450
movl (%r15), %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0x5ed8
movq (%r14), %rdi
pushq $0x8
popq %rsi
movq %r15, %rdx
movq %rbx, %rcx
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x4450
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Datapoint.cpp
// Function: operator<<(std::ostream&, Datapoint const&)
ostream &operator<<(ostream &os, const Datapoint &dp) {
    unsigned int s = dp.size();
    for (unsigned int i = 0; i < s; i++) {
        os.precision(20);
        os << dp[i] << "\t";
    }
    return os;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
subq (%rsi), %rax
shrq $0x3, %rax
movl %eax, %r12d
xorl %r13d, %r13d
leaq 0xf40a(%rip), %r15      # 0x151fe
cmpq %r13, %r12
je 0x5e2a
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x14, 0x8(%rbx,%rax)
movq (%r14), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x44d0
movq %rax, %rdi
movq %r15, %rsi
callq 0x4290
incq %r13
jmp 0x5df4
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::write(std::ostream&) const
void Dataset::write(ostream &os) const {
    bool hasWeights = weights.size() > 0;
    os.precision(20);

    unsigned int nr = numRows();
    os << nr << ":" << (hasWeights ? "w\n" : "\n");

    for (unsigned int row = 0; row < nr; row++) {
        if (hasWeights) { os << weights[row] << " "; }
        (*this)[row].write(os);
        os << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %r12
movq 0x20(%rdi), %r13
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x14, 0x8(%rsi,%rax)
movq 0x8(%rdi), %rax
subq (%rdi), %rax
pushq $0x18
popq %rcx
cqto
idivq %rcx
movl %eax, %esi
movq %rbx, %rdi
movq %rsi, (%rsp)
callq 0x41e0
leaq 0xee94(%rip), %rsi      # 0x1525d
movq %rax, %rdi
callq 0x4290
movq %r12, %rbp
movq %r13, %r15
cmpq %r12, %r13
leaq 0xfbf4(%rip), %rcx      # 0x15fd5
leaq 0xee70(%rip), %rsi      # 0x15258
cmoveq %rcx, %rsi
movq %rax, %rdi
callq 0x4290
xorl %r12d, %r12d
xorl %r13d, %r13d
cmpq %r13, (%rsp)
je 0x6445
cmpq %rbp, %r15
je 0x6426
movq 0x18(%r14), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x44d0
movq %rax, %rdi
leaq 0x11d93(%rip), %rsi     # 0x181b4
callq 0x4290
movq (%r14), %rdi
addq %r12, %rdi
movq %rbx, %rsi
callq 0x5a54
movq %rbx, %rdi
callq 0x4180
incq %r13
addq $0x18, %r12
jmp 0x63fa
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::write(_IO_FILE*) const
void Dataset::write(FILE *out) const {
    bool hasWeights = weights.size() > 0;
    unsigned int nr = numRows();

    fprintf(out, "%u:", nr);
    if (hasWeights) { fprintf(out, "w"); }
    fprintf(out, "\n");

    for (unsigned int row = 0; row < nr; row++) {
        if (hasWeights) { fprintf(out, "%.20f ", weights[row]); }
        (*this)[row].write(out);
        fprintf(out, "\n");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %r12
movq 0x8(%rdi), %rax
movq 0x18(%rdi), %rbp
subq (%rdi), %rax
pushq $0x18
popq %rcx
cqto
idivq %rcx
movq %rax, %r15
leaq 0xedd5(%rip), %rsi      # 0x1525b
movq %rbx, %rdi
movl %r15d, %edx
xorl %eax, %eax
callq 0x4410
movq %r12, (%rsp)
movq %rbp, %r13
cmpq %rbp, %r12
je 0x64aa
pushq $0x77
popq %rdi
movq %rbx, %rsi
callq 0x4370
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x4370
movl %r15d, %r15d
xorl %ebp, %ebp
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x6505
cmpq %r13, (%rsp)
je 0x64e3
movq 0x18(%r14), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
leaq 0xecee(%rip), %rsi      # 0x151ca
movb $0x1, %al
callq 0x4410
movq (%r14), %rdi
addq %rbp, %rdi
movq %rbx, %rsi
callq 0x5ac6
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x4370
incq %r12
addq $0x18, %rbp
jmp 0x64bd
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::read(std::istream&)
void Dataset::read(istream &is) {
    unsigned int length;
    is >> length;

    char c = is.get();
    Utilities::check(':' == c, "Dataset::read() missing : separator");

    resize(length);

    // check for weights (backwards compatibility)
    c = is.get();
    bool hasWeights = (c == 'w');
    double weight;
    if (! hasWeights) { is.putback(c); }

    for (unsigned int i = 0; i < length; i++) {
        if (hasWeights) {
            is >> weight;
            setWeight(i, weight);
        } else {
            setWeight(i, 1.0 / length);
        }
        (*this)[i].read(is);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x4520
movq %rbx, %rdi
callq 0x4330
movl %eax, %ebp
leaq 0xed19(%rip), %rsi      # 0x1525f
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x53a6
xorl %edi, %edi
cmpb $0x3a, %bpl
sete %dil
leaq 0x10(%rsp), %rsi
callq 0x5364
leaq 0x10(%rsp), %rdi
callq 0x45e8
movl 0xc(%rsp), %ebp
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x5868
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x664e
leaq 0x30(%rsp), %rdi
callq 0x5f0a
movq %rbx, %rdi
callq 0x4330
movzbl %al, %ebp
cmpl $0x77, %ebp
je 0x65b6
movsbl %al, %esi
movq %rbx, %rdi
callq 0x4570
xorl %r12d, %r12d
leaq 0x10(%rsp), %r15
xorl %r13d, %r13d
movl 0xc(%rsp), %eax
cmpq %rax, %r13
jae 0x6616
cmpl $0x77, %ebp
jne 0x65e2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x41d0
movsd 0x10(%rsp), %xmm0
jmp 0x65f5
movl %eax, %eax
cvtsi2sd %rax, %xmm1
movsd 0xec5f(%rip), %xmm0     # 0x15250
divsd %xmm1, %xmm0
movq 0x18(%r14), %rax
movsd %xmm0, (%rax,%r13,8)
movq (%r14), %rdi
addq %r12, %rdi
movq %rbx, %rsi
callq 0x5b2c
incq %r13
addq $0x18, %r12
jmp 0x65c1
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x5f0a
jmp 0x6646
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x45e8
jmp 0x6646
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::read(_IO_FILE*)
void Dataset::read(FILE *in) {
    unsigned int length;
    fscanf(in, "%u", &length);

    char c = fgetc(in);
    Utilities::check(':' == c, "Dataset::read() missing : separator");

    resize(length);

    // check for weights (backwards compatibility)
    c = fgetc(in);
    bool hasWeights = (c == 'w');
    double weight;
    if (! hasWeights) { ungetc(c, in); }

    for (unsigned int i = 0; i < length; i++) {
        if (hasWeights) {
            fscanf(in, "%lf", &weight);
            setWeight(i, weight);
        } else {
            setWeight(i, 1.0 / length);
        }
        (*this)[i].read(in);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xeb66(%rip), %rsi      # 0x151f7
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x4560
movq %rbx, %rdi
callq 0x4490
movl %eax, %ebp
leaq 0xebae(%rip), %rsi      # 0x1525f
leaq 0x10(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x53a6
xorl %edi, %edi
cmpb $0x3a, %bpl
sete %dil
leaq 0x10(%rsp), %rsi
callq 0x5364
leaq 0x10(%rsp), %rdi
callq 0x45e8
movl 0xc(%rsp), %ebp
leaq 0x30(%rsp), %r15
movq %r15, %rdi
callq 0x5868
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x664e
leaq 0x30(%rsp), %rdi
callq 0x5f0a
movq %rbx, %rdi
callq 0x4490
movl %eax, %ebp
shll $0x18, %ebp
cmpl $0x77000000, %ebp       # imm = 0x77000000
je 0x6728
movl %ebp, %edi
sarl $0x18, %edi
movq %rbx, %rsi
callq 0x4060
leaq 0x10(%rsp), %r12
xorl %r13d, %r13d
xorl %r15d, %r15d
movl 0xc(%rsp), %eax
cmpq %rax, %r15
jae 0x6794
cmpl $0x77000000, %ebp       # imm = 0x77000000
jne 0x6760
movq %rbx, %rdi
leaq 0xeaac(%rip), %rsi      # 0x151fa
movq %r12, %rdx
xorl %eax, %eax
callq 0x4560
movsd 0x10(%rsp), %xmm0
jmp 0x6773
movl %eax, %eax
cvtsi2sd %rax, %xmm1
movsd 0xeae1(%rip), %xmm0     # 0x15250
divsd %xmm1, %xmm0
movq 0x18(%r14), %rax
movsd %xmm0, (%rax,%r15,8)
movq (%r14), %rdi
addq %r13, %rdi
movq %rbx, %rsi
callq 0x5bde
incq %r15
addq $0x18, %r13
jmp 0x6733
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x5f0a
jmp 0x67c4
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x45e8
jmp 0x67c4
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::writeBinary(std::ostream&) const
void Dataset::writeBinary(ostream &os) const {
    // write the header information... size and whether weights are included
    unsigned int length = numRows();
    os.write((char *)&length, sizeof(unsigned int));

    unsigned int hasWeights = weights.size() > 0;
    os.write((char *)&hasWeights, sizeof(unsigned int));

    // write out all the data & weights (if appropriate)
    for (unsigned int row = 0; row < length; row++) {
        if (hasWeights) { os.write((char *)&(weights[row]), sizeof(double)); }
        (*this)[row].writeBinary(os);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
subq (%rdi), %rax
movq %rsi, %r14
pushq $0x18
popq %rcx
cqto
idivq %rcx
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
pushq $0x4
popq %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x43c0
movq 0x20(%rbx), %rax
xorl %ecx, %ecx
cmpq 0x18(%rbx), %rax
setne %cl
movq %rsp, %rsi
movl %ecx, (%rsi)
movq %r14, %rdi
movq %r15, %rdx
callq 0x43c0
xorl %r12d, %r12d
pushq $0x8
popq %r15
xorl %r13d, %r13d
xorl %ebp, %ebp
movl 0x4(%rsp), %eax
cmpq %rax, %rbp
jae 0x6867
cmpl $0x0, (%rsp)
je 0x684c
movq 0x18(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x43c0
movq (%rbx), %rdi
addq %r12, %rdi
movq %r14, %rsi
callq 0x5caa
incq %rbp
addq $0x8, %r13
addq $0x18, %r12
jmp 0x682b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::writeBinary(_IO_FILE*) const
void Dataset::writeBinary(FILE *out) const {
    // write the header information... size and whether weights are included
    unsigned int length = numRows();
    fwrite((void *)&length, sizeof(unsigned int), 1, out);

    unsigned int hasWeights = weights.size() > 0;
    fwrite((void *)&hasWeights, sizeof(unsigned int), 1, out);

    // write out all the data & weights (if appropriate)
    for (unsigned int row = 0; row < length; row++) {
        if (hasWeights) { fwrite((void *)&(weights[row]), sizeof(double), 1, out); }
        (*this)[row].writeBinary(out);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
subq (%rdi), %rax
movq %rsi, %r14
pushq $0x18
popq %rcx
cqto
idivq %rcx
leaq 0x14(%rsp), %r12
movl %eax, (%r12)
pushq $0x4
popq %r13
pushq $0x1
popq %r15
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x45a0
movq 0x20(%rbx), %rax
xorl %ecx, %ecx
cmpq 0x18(%rbx), %rax
setne %cl
leaq 0x10(%rsp), %rbp
movl %ecx, (%rbp)
movq %rbp, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x45a0
movl (%r12), %r13d
movl (%rbp), %eax
movl %eax, 0xc(%rsp)
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %ebp, %ebp
cmpq %r13, %rbp
jae 0x6930
cmpl $0x0, 0xc(%rsp)
je 0x6915
movq 0x18(%rbx), %rdi
addq %r12, %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x45a0
movq (%rbx), %rdi
addq %r15, %rdi
movq %r14, %rsi
callq 0x5cec
incq %rbp
addq $0x8, %r12
addq $0x18, %r15
jmp 0x68f4
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::readBinary(std::istream&)
void Dataset::readBinary(istream &is) {
    unsigned int length;
    is.read((char *)&length, sizeof(unsigned int));

    unsigned int hasWeights;
    is.read((char *)&hasWeights, sizeof(unsigned int));

    resize(length);

    double weight;
    for (unsigned int i = 0; i < length; i++) {
        if (hasWeights) {
            is.read((char *)&weight, sizeof(double));
            setWeight(i, weight);
        } else {
            setWeight(i, 1.0 / length);
        }
        (*this)[i].readBinary(is);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x4(%rsp), %r15
pushq $0x4
popq %r12
movq %rsi, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x4380
movq %rsp, %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x4380
movl (%r15), %ebp
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x5868
movq %r14, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x664e
leaq 0x10(%rsp), %rdi
callq 0x5f0a
xorl %r13d, %r13d
leaq 0x8(%rsp), %r15
pushq $0x8
popq %r12
xorl %ebp, %ebp
movl 0x4(%rsp), %eax
cmpq %rax, %rbp
jae 0x6a06
cmpl $0x0, (%rsp)
je 0x69d3
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x4380
movsd 0x8(%rsp), %xmm0
jmp 0x69e6
movl %eax, %eax
cvtsi2sd %rax, %xmm1
movsd 0xe86e(%rip), %xmm0     # 0x15250
divsd %xmm1, %xmm0
movq 0x18(%r14), %rax
movsd %xmm0, (%rax,%rbp,8)
movq (%r14), %rdi
addq %r13, %rdi
movq %rbx, %rsi
callq 0x5d36
incq %rbp
addq $0x18, %r13
jmp 0x69ae
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5f0a
movq %rbx, %rdi
callq 0x4530