LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/danfai[P]dboc/./entry.h
// Function: Field::getFieldName(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&)
void getFieldName(std::ostringstream &oss) {
            oss << "    ";
            //TODO: Check for relation
            switch(type) {
                case Field::b:
                    oss << "bool";
                    break;
                case Field::e:
                case Field::c:
                    oss << additionalType;
                    break;
                case Field::d:
                    oss << "double";
                    break;
                case Field::f:
                    oss << "float";
                    break;
                case Field::i:
                    oss << "int";
                    break;
                case Field::l:
                    oss << "long";
                    break;
                case Field::p:
                    oss << "Wt::Dbo::ptr<" << additionalType << ">";
                    break;
                case Field::ss:
                    oss << "std::string";
                    break;
                case Field::Wdt:
                    oss << "Wt::WDateTime";
                    break;
                case Field::Ws:
                    oss << "Wt::WString";
                    break;
                default:
                    // I dont know
                    break;
            }
            oss  << " " << fieldName << ";" << std::endl;
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1484(%rip), %rsi      # 0x5379
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2210
movl (%r14), %eax
cmpq $0xa, %rax
ja 0x3fd0
leaq 0x12ae(%rip), %rcx      # 0x51c4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
jmp 0x3fc8
leaq 0x1457(%rip), %rsi      # 0x538a
movl $0x5, %edx
jmp 0x3fc8
leaq 0x146f(%rip), %rsi      # 0x53b3
movl $0xd, %edx
jmp 0x3fc8
leaq 0x142c(%rip), %rsi      # 0x537e
jmp 0x3fac
leaq 0x1428(%rip), %rsi      # 0x5383
movl $0x6, %edx
jmp 0x3fc8
leaq 0x1430(%rip), %rsi      # 0x5399
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2210
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
movq %rbx, %rdi
callq 0x2210
leaq 0x1097(%rip), %rsi      # 0x5024
movl $0x1, %edx
movq %rax, %rdi
jmp 0x3fcb
leaq 0x13f2(%rip), %rsi      # 0x5390
movl $0x3, %edx
jmp 0x3fc8
leaq 0x13e8(%rip), %rsi      # 0x5394
movl $0x4, %edx
jmp 0x3fc8
leaq 0x1407(%rip), %rsi      # 0x53c1
jmp 0x3fc3
leaq 0x13e4(%rip), %rsi      # 0x53a7
movl $0xb, %edx
movq %rbx, %rdi
callq 0x2210
leaq 0x13a5(%rip), %rsi      # 0x537c
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2210
movq 0x30(%r14), %rsi
movq 0x38(%r14), %rdx
movq %rbx, %rdi
callq 0x2210
movq %rax, %rbx
leaq 0x12c1(%rip), %rsi      # 0x52bf
movl $0x1, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2150
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>, nlohmann::json_abi_v3_11_3::detail::input_stream_adapter>::get()
char_int_type get()
    {
        ++position.chars_read_total;
        ++position.chars_read_current_line;

        if (next_unget)
        {
            // just reset the next_unget variable and work with current
            next_unget = false;
        }
        else
        {
            current = ia.get_character();
        }

        if (JSON_HEDLEY_LIKELY(current != char_traits<char_type>::eof()))
        {
            token_string.push_back(char_traits<char_type>::to_char_type(current));
        }

        if (current == '\n')
        {
            ++position.lines_read;
            position.chars_read_current_line = 0;
        }

        return current;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
incq 0x20(%rdi)
incq 0x28(%rdi)
cmpb $0x1, 0x18(%rdi)
jne 0x3610
movb $0x0, 0x18(%rbx)
movl 0x14(%rbx), %eax
cmpl $-0x1, %eax
je 0x361d
movb %al, -0x9(%rbp)
movq 0x40(%rbx), %rsi
cmpq 0x48(%rbx), %rsi
je 0x35e8
movb %al, (%rsi)
incq 0x40(%rbx)
jmp 0x35f5
leaq 0x38(%rbx), %rdi
leaq -0x9(%rbp), %rdx
callq 0x729c
movl 0x14(%rbx), %eax
cmpl $0xa, %eax
jne 0x3609
incq 0x30(%rbx)
andq $0x0, 0x28(%rbx)
pushq $0xa
popq %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rbx, %rdi
callq 0x3622
movl %eax, 0x14(%rbx)
jmp 0x35ce
pushq $-0x1
jmp 0x3608
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::detail::input_stream_adapter::get_character()
std::char_traits<char>::int_type get_character()
    {
        auto res = sb->sbumpc();
        // set eof manually, as we don't use the istream interface.
        if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof()))
        {
            is->clear(is->rdstate() | std::ios::eofbit);
        }
        return res;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movq 0x10(%rdi), %rcx
cmpq 0x18(%rdi), %rcx
jae 0x364a
movzbl (%rcx), %eax
incq %rcx
movq %rcx, 0x10(%rdi)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq (%rdi), %rax
callq *0x50(%rax)
cmpl $-0x1, %eax
jne 0x3643
movq (%rbx), %rax
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
leaq (%rax,%rcx), %rdi
movl 0x20(%rax,%rcx), %esi
orl $0x2, %esi
callq 0x34e0
pushq $-0x1
popq %rax
jmp 0x3643
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/main.cpp
// Function: checkdir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool checkdir(string str) {
	DIR* dir = opendir(str.c_str());
	if (dir) {
		closedir(dir);
		return true;
	}
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rdi
callq 0x3430
movq %rax, %rbx
testq %rax, %rax
je 0x3c5a
movq %rbx, %rdi
callq 0x3490
testq %rbx, %rbx
setne %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/main.cpp
// Function: refreshValues()
void refreshValues()
{		
	auto batInit = getBatteryInfo();
	currentEnergy = batInit.energy;
	currentPower = batInit.power;

	ifstream st(Path + "status");
	timeNow = time(NULL);
	//timeElapsed = timeElapsed + timeNow - lastTime;
	timeElapsed += refreshRate;
	lastTime = timeNow;
	st >> status;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
callq 0x3c67
movss %xmm0, 0x14c3e(%rip)    # 0x19364
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movss %xmm0, 0x14c36(%rip)    # 0x19368
leaq -0x20(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x14c47(%rip), %rsi     # 0x19388
movq 0x14c48(%rip), %rdx     # 0x19390
addq %rsi, %rdx
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
callq 0x51f6
leaq 0xbf59(%rip), %rsi      # 0x106b7
movq %rbx, %rdi
callq 0x3560
leaq -0x238(%rbp), %rdi
leaq -0x30(%rbp), %rsi
movl $0x8, %edx
callq 0x34a0
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x4789
callq 0x32f0
xorl %edi, %edi
callq 0x32e0
movl %eax, 0x14be2(%rip)     # 0x19378
movl 0x14b44(%rip), %ecx     # 0x192e0
addl %ecx, 0x14bda(%rip)     # 0x1937c
movl %eax, 0x14bd8(%rip)     # 0x19380
leaq 0x14bf9(%rip), %rsi     # 0x193a8
leaq -0x238(%rbp), %rdi
callq 0x33e0
leaq -0x238(%rbp), %rdi
callq 0x30c0
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x238(%rbp), %rdi
callq 0x30c0
jmp 0x47f7
jmp 0x47e6
movq %rax, %rbx
movq -0x30(%rbp), %rdi
cmpq %r14, %rdi
je 0x47f7
callq 0x32f0
movq %rbx, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/main.cpp
// Function: keyListenerFunction()
void keyListenerFunction()
{
	int ch = 0;
	while((ch = wgetch(mainwin)) != 'q')
	{
		if(ch == 27)
			break;

		switch ( ch ) {

		case KEY_UP:
			if (logIndex > 0)
				--logIndex;
			newPrint();
			break;

		case KEY_DOWN:
			if (logIndex + 1 < logCache.size())
				++logIndex;
			newPrint();
			break;
		}
	}
	quit = 1;
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x1470f(%rip), %rdi     # 0x19470
callq 0x3120
cmpl $0x102, %eax            # imm = 0x102
jg 0x4d92
jne 0x4db2
movslq 0x1460e(%rip), %rax     # 0x19384
incq %rax
movq 0x14700(%rip), %rcx     # 0x19480
subq 0x146f1(%rip), %rcx     # 0x19478
sarq $0x5, %rcx
cmpq %rax, %rcx
ja 0x4da5
jmp 0x4dab
cmpl $0x103, %eax            # imm = 0x103
jne 0x4d5a
movl 0x145e5(%rip), %eax     # 0x19384
testl %eax, %eax
jle 0x4dab
decl %eax
movl %eax, 0x145d9(%rip)     # 0x19384
callq 0x47ff
jmp 0x4d5a
cmpl $0x1b, %eax
je 0x4dbc
cmpl $0x71, %eax
jne 0x4d5a
movb $0x1, 0x146a6(%rip)     # 0x19469
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/main.cpp
// Function: coreFunction()
void coreFunction() {
	lastTime = time(NULL);
	// sleep(1);
	while(!quit) {
		refreshValues();
		newPrint();
		if(timeElapsed % (LOG_P * refreshRate) == 0)
			addLog();
		sleep(refreshRate);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %edi, %edi
callq 0x32e0
movl %eax, 0x145aa(%rip)     # 0x19380
cmpb $0x0, 0x1468c(%rip)     # 0x19469
jne 0x4e1e
callq 0x470b
callq 0x47ff
movl 0x1458d(%rip), %eax     # 0x1937c
movl 0x144eb(%rip), %edi     # 0x192e0
movl 0x144e9(%rip), %ecx     # 0x192e4
imull %edi, %ecx
cltd
idivl %ecx
testl %edx, %edx
jne 0x4e10
callq 0x4c48
movl 0x144d0(%rip), %edi     # 0x192e0
callq 0x3260
cmpb $0x1, 0x1464d(%rip)     # 0x19469
jne 0x4ddf
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/main.cpp
// Function: main
int main() {

	init();
	thread keyListener(keyListenerFunction);
	thread core(coreFunction);
	thread *p;
	keyListener.join();
	//core.join();
	//terminate();
	//delete p;
	core.detach();
	erase();
	delwin(mainwin);
	endwin();
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0x424b
leaq -0xde(%rip), %rsi       # 0x4d56
leaq -0x10(%rbp), %rdi
callq 0x5174
leaq -0x7f(%rip), %rsi       # 0x4dc5
leaq -0x8(%rbp), %rdi
callq 0x5174
leaq -0x10(%rbp), %rdi
callq 0x3500
leaq -0x8(%rbp), %rdi
callq 0x3520
callq 0x3360
movq 0x14605(%rip), %rdi     # 0x19470
callq 0x3060
callq 0x33a0
cmpq $0x0, -0x8(%rbp)
jne 0x4ea3
cmpq $0x0, -0x10(%rbp)
jne 0x4ea3
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
jmp 0x4e94
cmpq $0x0, -0x8(%rbp)
jne 0x4ea3
cmpq $0x0, -0x10(%rbp)
jne 0x4ea3
movq %rax, %rdi
callq 0x3530
callq 0x30d0
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::operator=(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>)
basic_json& operator=(basic_json other) noexcept (
        std::is_nothrow_move_constructible<value_t>::value&&
        std::is_nothrow_move_assignable<value_t>::value&&
        std::is_nothrow_move_constructible<json_value>::value&&
        std::is_nothrow_move_assignable<json_value>::value&&
        std::is_nothrow_move_assignable<json_base_class_t>::value
    )
    {
        // check that passed value is valid
        other.assert_invariant();

        using std::swap;
        swap(m_data.m_type, other.m_data.m_type);
        swap(m_data.m_value, other.m_data.m_value);
        json_base_class_t::operator=(std::move(other));

        set_parents();
        assert_invariant();
        return *this;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
movl $0x1, %esi
callq 0x5332
movb (%r14), %al
movb (%rbx), %cl
movb %cl, (%r14)
movb %al, (%rbx)
movq 0x8(%r14), %rax
movq 0x8(%rbx), %rcx
movq %rcx, 0x8(%r14)
movq %rax, 0x8(%rbx)
movq %r14, %rdi
movl $0x1, %esi
callq 0x5332
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: void nlohmann::json_abi_v3_11_3::detail::external_constructor<(nlohmann::json_abi_v3_11_3::detail::value_t)3>::construct<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::string_t const&)
static void construct(BasicJsonType& j, const typename BasicJsonType::string_t& s)
    {
        j.m_data.m_value.destroy(j.m_data.m_type);
        j.m_data.m_type = value_t::string;
        j.m_data.m_value = s;
        j.assert_invariant();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
addq $0x8, %rdi
movzbl (%r14), %esi
callq 0x5424
movb $0x3, (%r14)
movq %rbx, %rdi
callq 0xb60c
movq %rax, 0x8(%r14)
movq %r14, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5332
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: void nlohmann::json_abi_v3_11_3::detail::external_constructor<(nlohmann::json_abi_v3_11_3::detail::value_t)7>::construct<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::number_float_t)
static void construct(BasicJsonType& j, typename BasicJsonType::number_float_t val) noexcept
    {
        j.m_data.m_value.destroy(j.m_data.m_type);
        j.m_data.m_type = value_t::number_float;
        j.m_data.m_value = val;
        j.assert_invariant();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movsd %xmm0, -0x10(%rbp)
movq %rdi, %rbx
addq $0x8, %rdi
movzbl (%rbx), %esi
callq 0x5424
movb $0x7, (%rbx)
movsd -0x10(%rbp), %xmm0
movsd %xmm0, 0x8(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x5332
movq %rax, %rdi
callq 0x51e7
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: void nlohmann::json_abi_v3_11_3::detail::external_constructor<(nlohmann::json_abi_v3_11_3::detail::value_t)4>::construct<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::boolean_t)
static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept
    {
        j.m_data.m_value.destroy(j.m_data.m_type);
        j.m_data.m_type = value_t::boolean;
        j.m_data.m_value = b;
        j.assert_invariant();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
addq $0x8, %rdi
movzbl (%rbx), %esi
callq 0x5424
movb $0x4, (%rbx)
movzbl %r14b, %eax
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5332
movq %rax, %rdi
callq 0x51e7
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: void nlohmann::json_abi_v3_11_3::detail::external_constructor<(nlohmann::json_abi_v3_11_3::detail::value_t)5>::construct<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::number_integer_t)
static void construct(BasicJsonType& j, typename BasicJsonType::number_integer_t val) noexcept
    {
        j.m_data.m_value.destroy(j.m_data.m_type);
        j.m_data.m_type = value_t::number_integer;
        j.m_data.m_value = val;
        j.assert_invariant();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
addq $0x8, %rdi
movzbl (%rbx), %esi
callq 0x5424
movb $0x5, (%rbx)
movq %r14, 0x8(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5332
movq %rax, %rdi
callq 0x51e7
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: void nlohmann::json_abi_v3_11_3::detail::external_constructor<(nlohmann::json_abi_v3_11_3::detail::value_t)6>::construct<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>(nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>&, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::number_unsigned_t)
static void construct(BasicJsonType& j, typename BasicJsonType::number_unsigned_t val) noexcept
    {
        j.m_data.m_value.destroy(j.m_data.m_type);
        j.m_data.m_type = value_t::number_unsigned;
        j.m_data.m_value = val;
        j.assert_invariant();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
addq $0x8, %rdi
movzbl (%rbx), %esi
callq 0x5424
movb $0x6, (%rbx)
movq %r14, 0x8(%rbx)
movq %rbx, %rdi
movl $0x1, %esi
popq %rbx
popq %r14
popq %rbp
jmp 0x5332
movq %rax, %rdi
callq 0x51e7
nop
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::detail::json_sax_dom_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>::key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool key(string_t& val)
    {
        JSON_ASSERT(!ref_stack.empty());
        JSON_ASSERT(ref_stack.back()->is_object());

        // add null at given key and store the reference for later
        object_element = &(ref_stack.back()->m_data.m_value.object->operator[](val));
        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0xdd98
movq -0x8(%rax), %rax
cmpb $0x1, (%rax)
jne 0xddb7
movq %rdi, %rbx
movq 0x8(%rax), %rdi
callq 0xbe9c
movq %rax, 0x20(%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x4420(%rip), %rdi      # 0x121bf
leaq 0x2aaf(%rip), %rsi      # 0x10855
leaq 0x5189(%rip), %rcx      # 0x12f36
movl $0x1ae0, %edx           # imm = 0x1AE0
callq 0x3210
leaq 0x43af(%rip), %rdi      # 0x1216d
leaq 0x2a90(%rip), %rsi      # 0x10855
leaq 0x516a(%rip), %rcx      # 0x12f36
movl $0x1ae1, %edx           # imm = 0x1AE1
callq 0x3210
// File: /workspace/github_cpp_makefile_star2_O3/Juve45[P]batstat/./include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
reference operator[](typename object_t::key_type key)
    {
        // implicitly convert null value to an empty object
        if (is_null())
        {
            m_data.m_type = value_t::object;
            m_data.m_value.object = create<object_t>();
            assert_invariant();
        }

        // operator[] only works for objects
        if (JSON_HEDLEY_LIKELY(is_object()))
        {
            auto result = m_data.m_value.object->emplace(std::move(key), nullptr);
            return set_parent(result.first->second);
        }

        JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movb (%rdi), %al
testb %al, %al
jne 0xf1b3
movb $0x1, (%r14)
movl $0x30, %edi
callq 0x3320
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
xorl %edx, %edx
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %rdx, 0x28(%rax)
movq %rax, 0x8(%r14)
movq %r14, %rdi
movl $0x1, %esi
callq 0x5332
movb (%r14), %al
cmpb $0x1, %al
jne 0xf1dd
movq 0x8(%r14), %rdi
leaq -0x40(%rbp), %rdx
movq $0x0, (%rdx)
movq %rbx, %rsi
callq 0xf2f4
addq $0x40, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x31d0
movq %rax, %rbx
movq %r14, %rdi
callq 0xbce8
leaq -0x20(%rbp), %rdx
movq %rax, (%rdx)
leaq 0x4223(%rip), %rsi      # 0x13423
leaq -0x40(%rbp), %rdi
callq 0xf268
movb $0x1, %r15b
leaq -0x40(%rbp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
movq %r14, %rcx
callq 0xbac4
xorl %r15d, %r15d
leaq 0x9a96(%rip), %rsi      # 0x18cc0
leaq -0x69c1(%rip), %rdx     # 0x8870
movq %rbx, %rdi
callq 0x3510
movq %rax, %r14
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf24e
callq 0x32f0
testb %r15b, %r15b
jne 0xf258
jmp 0xf260
movq %rax, %r14
movq %rbx, %rdi
callq 0x3250
movq %r14, %rdi
callq 0x3530
// File: /workspace/github_cpp_makefile_star2_O3/cesarblum[P]propertypp/example.cpp
// Function: main
int main()
{
    Example e;
    e.printProperties(); // should print all 0

    e.i = 14;
    e.f = 2.3;
    e.p = new int;
    *e.p = 5;
    e.printProperties(); // should print assigned values

    e.f = -1.0;
    e.printProperties(); // e.f should be unchanged (see setter above)

    e.i = e.f;           // implicit type conversion
    e.printProperties(); // e.i should equal the integer part of e.f

    e.f = 5.5;
    e.printProperties(); // only e.f should be changed

    e.i = e.f = 9.3;     // chained assignment
    e.printProperties(); // e.i should be 9, e.f should be 9.3

    e.i = *e.p;
    e.printProperties(); // e.i should equal the value pointed to by e.p

    delete e.p;
    e.p = 0;
    e.printProperties(); // e.p should be null

    return 0;
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x120c
movq %rbx, %rdi
callq 0x123e
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
movl $0xe, %esi
callq *(%rax)
movq 0x28(%rbx), %rdi
movq (%rdi), %rax
movss 0xc54(%rip), %xmm0      # 0x2004
callq *(%rax)
movl $0x4, %edi
callq 0x1080
movq 0x40(%rbx), %rdi
movq (%rdi), %rcx
movq %rax, %rsi
callq *(%rcx)
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *(%rax)
movl $0x5, (%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x28(%rbx), %rdi
movq (%rdi), %rax
movss 0xc18(%rip), %xmm0      # 0x2008
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *(%rax)
cvttss2si %xmm0, %esi
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x28(%rbx), %rdi
movq (%rdi), %rax
movss 0xbe3(%rip), %xmm0      # 0x200c
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x28(%rbx), %rdi
movq (%rdi), %rax
movss 0xbce(%rip), %xmm0      # 0x2010
callq *(%rax)
cvttss2si %xmm0, %esi
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *(%rax)
movl (%rax), %esi
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
movq 0x38(%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *(%rax)
movl $0x4, %esi
movq %rax, %rdi
callq 0x1090
movq 0x40(%rbx), %rdi
movq (%rdi), %rax
xorl %esi, %esi
callq *(%rax)
movq %rbx, %rdi
callq 0x123e
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/bloody76[P]Chip8-Disassembler/src/disassembler.cc
// Function: main
int main(int argc, char** argv)
{
    if (argc < 2)
    {
        std::cerr << "First argument must be a filename." << std::endl;
        return 1;
    }
    std::string file(argv[1]);

    functions[0x200] = Type::SUB;
    std::ifstream rom(file, std::ios::ate);
    if (!rom.is_open())
    {
        std::cerr << "Fill with a valid filename." << std::endl;
        return 1;
    }
    parse(rom);
    pretty_print();
    delete[] mem;
    return 0;
}

// Assembly:
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
cmpl $0x1, %edi
jg 0x2c2f
movq 0x3406(%rip), %rbx      # 0x5ff0
leaq 0x1581(%rip), %rsi      # 0x4172
movl $0x22, %edx
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20e0
movl $0x1, %ebx
jmp 0x2d1a
movq 0x8(%rsi), %rsi
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rbx
movq %rbx, %rdx
callq 0x2dca
movw $0x200, (%rbx)          # imm = 0x200
leaq 0x34ff(%rip), %rdi      # 0x6150
leaq 0x28(%rsp), %rsi
callq 0x2d62
movl $0x0, (%rax)
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movl $0x2, %edx
callq 0x21f0
leaq 0xa0(%rsp), %rdi
callq 0x2070
testb %al, %al
je 0x2caa
leaq 0x28(%rsp), %rdi
callq 0x23dc
callq 0x2509
movq 0x34e4(%rip), %rdi      # 0x6180
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x2cf5
callq 0x21b0
jmp 0x2cf5
movq 0x333f(%rip), %rbx      # 0x5ff0
leaq 0x14dd(%rip), %rsi      # 0x4195
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x2180
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq 0x330d(%rip), %rdi      # 0x5ff0
callq 0x2040
movl $0x1, %ebx
movq %rax, %rdi
callq 0x20e0
leaq 0x28(%rsp), %rdi
callq 0x2080
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d1a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movl %ebx, %eax
addq $0x230, %rsp            # imm = 0x230
popq %rbx
retq
jmp 0x2d27
movq %rax, %rbx
jmp 0x2d39
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x2080
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d54
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2160
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/t0mm4rx[P]piscine_cpp/day04/ex02/Squad.cpp
// Function: Squad::operator=(Squad const&)
Squad &Squad::operator=(Squad const &other)
{
	std::cout << "Copy" << std::endl;
	for (int i = 0; i < this->current; i++)
		delete this->units[i];
	delete []this->units;
	this->units = 0;
	this->current = 0;
	for (int i = 0; i < other.getCount(); i++)
		this->push(other.getUnit(i)->clone());
	return (*this);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x2a85(%rip), %r15      # 0x3fd8
leaq 0xb48(%rip), %rsi       # 0x20a2
movl $0x4, %edx
movq %r15, %rdi
callq 0x10c0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq %r15, %rdi
callq 0x1040
movq %rax, %rdi
callq 0x1070
movl 0x8(%rbx), %eax
testl %eax, %eax
jle 0x15b9
xorl %r15d, %r15d
movq 0x10(%rbx), %rcx
movq (%rcx,%r15,8), %rdi
testq %rdi, %rdi
je 0x15ae
movq (%rdi), %rax
callq *0x8(%rax)
movl 0x8(%rbx), %eax
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jl 0x1598
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x15c7
callq 0x10d0
movq $0x0, 0x10(%rbx)
movl $0x0, 0x8(%rbx)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testl %eax, %eax
jle 0x1618
xorl %r15d, %r15d
movq (%r14), %rax
movq %r14, %rdi
movl %r15d, %esi
callq *0x18(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
movq (%rbx), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq *0x20(%rcx)
incl %r15d
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
cmpl %eax, %r15d
jl 0x15e6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/t0mm4rx[P]piscine_cpp/day04/ex02/Squad.cpp
// Function: Squad::~Squad()
Squad::~Squad(void)
{
	for (int i = 0; i < this->current; i++)
		delete this->units[i];
	delete []this->units;
	this->units = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x26d9(%rip), %rax      # 0x3d10
movq %rax, (%rdi)
movl 0x8(%rdi), %eax
testl %eax, %eax
jle 0x1665
xorl %r14d, %r14d
movq 0x10(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
testq %rdi, %rdi
je 0x165a
movq (%rdi), %rax
callq *0x8(%rax)
movl 0x8(%rbx), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x1644
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1673
callq 0x10d0
movq $0x0, 0x10(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/t0mm4rx[P]piscine_cpp/day04/ex02/Squad.cpp
// Function: Squad::push(ISpaceMarine*)
int Squad::push(ISpaceMarine *unit)
{
	if (unit == 0)
		return (0);
	for (int i = 0; i < this->current; i++)
	{
		if (this->units[i] == unit)
			return (0);
	}
	ISpaceMarine **tmp = new ISpaceMarine*[this->current + 1];
	for (int i = 0; i < this->current; i++)
		tmp[i] = this->units[i];
	tmp[this->current++] = unit;
	if (this->units != 0)
		delete []this->units;
	this->units = tmp;
	return (1);
}

// Assembly:
testq %rsi, %rsi
je 0x174f
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movslq 0x8(%rdi), %r12
testq %r12, %r12
jle 0x1702
movq 0x10(%rbx), %rcx
xorl %eax, %eax
xorl %edx, %edx
cmpq %r14, (%rcx,%rdx,8)
je 0x1770
incq %rdx
cmpq %rdx, %r12
jne 0x16f4
leaq 0x1(%r12), %r13
cmpl $-0x1, %r12d
leaq 0x8(,%r12,8), %rax
movq $-0x1, %rdi
cmovgeq %rax, %rdi
callq 0x1030
movq %rax, %r15
movq 0x10(%rbx), %rdi
testl %r12d, %r12d
jle 0x1752
xorl %eax, %eax
movq (%rdi,%rax,8), %rcx
movq %rcx, (%r15,%rax,8)
incq %rax
cmpq %rax, %r12
jne 0x1731
movl %r13d, 0x8(%rbx)
movq %r14, (%r15,%r12,8)
addq $0x10, %rbx
jmp 0x1763
xorl %eax, %eax
retq
movl %r13d, 0x8(%rbx)
movq %r14, (%r15,%r12,8)
addq $0x10, %rbx
testq %rdi, %rdi
je 0x1768
callq 0x10d0
movq %r15, (%rbx)
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/t0mm4rx[P]piscine_cpp/day04/ex02/main.cpp
// Function: main
int main(void)
{
	ISpaceMarine* bob = new TacticalMarine;
	ISpaceMarine* jim = new AssaultTerminator;
	Squad *vlc = new Squad;
	Squad copy;
	vlc->push(bob);
	copy = *vlc;
	vlc->push(jim);
	std::cout << "--- First squad ---" << std::endl;
	for (int i = 0; i < vlc->getCount(); ++i)
	{
		ISpaceMarine* cur = vlc->getUnit(i);
		cur->battleCry();
		cur->rangedAttack();
		cur->meleeAttack();
	}
	std::cout << "--- Second squad ---" << std::endl;
	for (int i = 0; i < copy.getCount(); ++i)
	{
		ISpaceMarine* cur = copy.getUnit(i);
		cur->battleCry();
		cur->rangedAttack();
		cur->meleeAttack();
	}
	delete vlc;
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl $0x8, %edi
callq 0x10a0
movq %rax, %r12
movq %rax, %rdi
callq 0x1780
movl $0x8, %edi
callq 0x10a0
movq %rax, %r14
movq %rax, %rdi
callq 0x12cc
movl $0x18, %edi
callq 0x10a0
movq %rax, %rbx
movq %rax, %rdi
callq 0x14fc
leaq -0x38(%rbp), %rdi
callq 0x14fc
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
callq *0x20(%rax)
leaq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x153c
movq (%rbx), %rax
movq %rbx, %rdi
movq %r14, %rsi
callq *0x20(%rax)
movq 0x25b6(%rip), %r14      # 0x3fd8
leaq 0x712(%rip), %rsi       # 0x213b
movl $0x13, %edx
movq %r14, %rdi
callq 0x10c0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq 0x2584(%rip), %rdi      # 0x3fd8
callq 0x1040
movq %rax, %rdi
callq 0x1070
xorl %r14d, %r14d
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
cmpl %eax, %r14d
jge 0x1aa1
movq (%rbx), %rax
movq %rbx, %rdi
movl %r14d, %esi
callq *0x18(%rax)
movq %rax, %r15
movq (%rax), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq (%r15), %rax
movq %r15, %rdi
callq *0x20(%rax)
movq (%r15), %rax
movq %r15, %rdi
callq *0x28(%rax)
incl %r14d
jmp 0x1a64
movq 0x2530(%rip), %r14      # 0x3fd8
leaq 0x6a0(%rip), %rsi       # 0x214f
movl $0x14, %edx
movq %r14, %rdi
callq 0x10c0
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x1090
movsbl %al, %esi
movq 0x24fe(%rip), %rdi      # 0x3fd8
callq 0x1040
movq %rax, %rdi
callq 0x1070
xorl %r14d, %r14d
leaq -0x38(%rbp), %r15
movq %r15, %rdi
callq 0x16a2
cmpl %eax, %r14d
jge 0x1b2b
movq %r15, %rdi
movl %r14d, %esi
callq 0x16ac
movq %rax, %r12
movq (%rax), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq (%r12), %rax
movq %r12, %rdi
callq *0x20(%rax)
movq (%r12), %rax
movq %r12, %rdi
callq *0x28(%rax)
incl %r14d
jmp 0x1aee
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq -0x38(%rbp), %rdi
callq 0x1626
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movl $0x18, %esi
movq %rbx, %rdi
jmp 0x1b71
movq %rax, %r15
movl $0x8, %esi
movq %r14, %rdi
jmp 0x1b71
movq %rax, %r15
movl $0x8, %esi
movq %r12, %rdi
callq 0x10b0
jmp 0x1b8c
jmp 0x1b80
jmp 0x1b80
jmp 0x1b80
jmp 0x1b80
movq %rax, %r15
leaq -0x38(%rbp), %rdi
callq 0x1626
movq %r15, %rdi
callq 0x10f0
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/emass.cpp
// Function: convolute_basic(std::vector<peak, std::allocator<peak>>&, std::vector<peak, std::allocator<peak>> const&, std::vector<peak, std::allocator<peak>> const&)
void convolute_basic(Pattern & h, const Pattern & g, const Pattern & f)
{
  h.clear();
  size_t g_n = g.size();
  size_t f_n = f.size();
  if(g_n == 0 || f_n == 0)
     return;
  for(size_t k = 0; k < g_n + f_n - 1; k++) {
    double sumweight = 0, summass = 0;
    size_t start = k < (f_n - 1) ? 0 : k - f_n + 1; // max(0, k-f_n+1)
    size_t end = k < (g_n - 1) ? k : g_n - 1;       // min(g_n - 1, k)
    for(size_t i = start; i <= end; i++) {
      double weight = g[i].rel_area * f[k - i].rel_area;
      double mass = g[i].mass + f[k - i].mass;
      sumweight += weight;
      summass += weight * mass;
    }
    peak p;
    if(sumweight == 0)
      p.mass = DUMMY_MASS;
    else
      p.mass = summass / sumweight;
    p.rel_area = sumweight;
    h.push_back(p);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %rbx
movq (%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0x3b99
movq %rax, 0x8(%rbx)
movq 0x8(%rsp), %rcx
movq 0x8(%rcx), %r15
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rbp
subq (%rax), %rbp
sete %al
subq (%rcx), %r15
sete %cl
orb %al, %cl
jne 0x3d06
sarq $0x4, %rbp
sarq $0x4, %r15
decq %r15
movq %r15, %r14
addq %rbp, %r14
je 0x3d06
leaq -0x1(%rbp), %r13
movq %rbp, %r9
negq %r9
shlq $0x4, %rbp
movl $0x18, %eax
subq %rbp, %rax
movq %rax, 0x20(%rsp)
addq $-0x8, %rbp
xorl %r12d, %r12d
xorpd %xmm4, %xmm4
movsd 0x440c(%rip), %xmm5     # 0x8010
movq %rbx, 0x18(%rsp)
cmpq %r13, %r12
movq %r13, %rax
cmovaq %r12, %rax
leaq 0x1(%r12,%r9), %rcx
movl $0x0, %edx
cmovaeq %rcx, %rdx
cmpq %r15, %r12
movq %r15, %rcx
cmovbq %r12, %rcx
xorpd %xmm1, %xmm1
xorpd %xmm0, %xmm0
cmpq %rcx, %rdx
ja 0x3c8e
leaq (%r9,%rax), %rdx
shlq $0x4, %rax
movq 0x10(%rsp), %rsi
movq (%rsi), %rsi
addq %rbp, %rsi
movq 0x8(%rsp), %rdi
movq (%rdi), %rdi
addq 0x20(%rsp), %rdi
addq %rax, %rdi
negq %rax
movsd -0x8(%rdi), %xmm2
movsd (%rdi), %xmm3
mulsd (%rsi,%rax), %xmm3
addsd -0x8(%rsi,%rax), %xmm2
addsd %xmm3, %xmm0
mulsd %xmm3, %xmm2
addsd %xmm2, %xmm1
incq %rdx
addq $-0x10, %rsi
addq $0x10, %rdi
cmpq %rcx, %rdx
jb 0x3c5e
divsd %xmm0, %xmm1
movapd %xmm0, %xmm2
cmpeqsd %xmm4, %xmm2
movapd %xmm2, %xmm3
andnpd %xmm1, %xmm3
andpd %xmm5, %xmm2
orpd %xmm3, %xmm2
movlpd %xmm2, 0x28(%rsp)
movsd %xmm0, 0x30(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3cd2
movupd 0x28(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x10, 0x8(%rbx)
jmp 0x3cf6
movq %rbx, %rdi
leaq 0x28(%rsp), %rdx
movq %r9, %rbx
callq 0x53ca
movsd 0x4326(%rip), %xmm5     # 0x8010
xorpd %xmm4, %xmm4
movq %rbx, %r9
movq 0x18(%rsp), %rbx
incq %r12
addq $0x10, %rbp
cmpq %r14, %r12
jne 0x3c09
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/emass.cpp
// Function: prune(std::vector<peak, std::allocator<peak>>&, double)
void prune(Pattern & f, double limit)
{
  // prune the front
  Pattern::iterator i = f.begin();
  while(i != f.end()) {
    if((*i).rel_area > limit)
      break;
    i++;
  }
  f.erase(f.begin(), i);

  // prune the end
  while(1) {
    if(f.size() == 0)
      break;
    if(f.back().rel_area > limit)
      break;
    f.pop_back();
  } 
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %r14
movq 0x8(%rdi), %rax
cmpq %rax, %r14
je 0x3d90
movq %r14, %r15
movsd 0x8(%r15), %xmm1
ucomisd %xmm0, %xmm1
ja 0x3d48
addq $0x10, %r15
cmpq %rax, %r15
jne 0x3d30
movq %rax, %r15
cmpq %r14, %r15
je 0x3d90
movq %rax, %rdx
subq %r15, %rdx
je 0x3d78
movq %r14, %rdi
movq %r15, %rsi
movsd %xmm0, 0x8(%rsp)
callq 0x33f0
movsd 0x8(%rsp), %xmm0
movq 0x8(%rbx), %rax
movq %rax, %rcx
movq %rax, %rdx
jmp 0x3d7e
movq %r15, %rcx
movq %r15, %rdx
subq %r15, %rcx
addq %rcx, %r14
cmpq %r14, %rdx
je 0x3d90
movq %r14, 0x8(%rbx)
movq %r14, %rax
movq (%rbx), %rcx
cmpq %rcx, %rax
je 0x3dad
movsd -0x8(%rax), %xmm1
ucomisd %xmm0, %xmm1
ja 0x3dad
addq $-0x10, %rax
movq %rax, 0x8(%rbx)
jmp 0x3d93
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/parser.cpp
// Function: Parser::parse_formula(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&)
void Parser::parse_formula(const wstring & frml)
{
  _tokenizer.set_input(frml);
  _tokenizer.get_token();
  Parser::ElementListNode * tmp = parse();
  
  if(_tokenizer._ttype != EOS) {
    delete tmp; 
    _tokenizer.error(L"End of input expected");
  }
  delete tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
leaq 0x8(%rdi), %rbx
movq $0x0, 0x30(%rdi)
leaq 0x40(%rdi), %r15
movq %r15, %rdi
callq 0x33b0
movq 0x58cf(%rip), %rsi      # 0xb370
movq 0x58d0(%rip), %rdx      # 0xb378
movq %r15, %rdi
callq 0x3320
movq %rbx, %rdi
callq 0x5b7a
movq %r14, %rdi
callq 0x5f12
cmpl $0x2, 0x8(%r14)
jne 0x5ae8
testq %rax, %rax
je 0x5ade
movq (%rax), %rcx
movq %rax, %rdi
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmpq *0x8(%rcx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
testq %rax, %rax
je 0x5af6
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x26b6(%rip), %rsi      # 0x81bc
leaq 0x2703(%rip), %rdx      # 0x8210
movq %rsp, %r14
movq %r14, %rdi
callq 0x697a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x61c4
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x5b41
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3470
nop
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/parser.cpp
// Function: Parser::Tokenizer::error(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>)
void Parser::Tokenizer::error(wstring msg)
{
  msg += L":\n";
  _input.resize(_input.length() - ENDTOKEN.length());
  msg += _input + L"\n";
  msg += wstring(_last, L' ') + L"^\n";
  throw Parser::Error(msg);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x210b(%rip), %rsi      # 0x82e8
movq %rbx, %rdi
callq 0x34a0
leaq 0x38(%r14), %rdi
movq 0x40(%r14), %rsi
subq 0x5184(%rip), %rsi      # 0xb378
xorl %edx, %edx
callq 0x34b0
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rax
leaq (%rsi,%rax,4), %rdx
movq %rsp, %r15
movq %r15, %rdi
callq 0x4cd2
leaq 0x20c9(%rip), %rsi      # 0x82ec
movq %r15, %rdi
callq 0x34a0
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x3320
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x6257
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movq 0x30(%r14), %rsi
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x20(%rsp), %rdi
movl $0x20, %edx
callq 0x34d0
leaq 0x207a(%rip), %rsi      # 0x82f4
leaq 0x20(%rsp), %rdi
callq 0x34a0
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x34f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x3320
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x62bc
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x62d8
movq 0x30(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movl $0x20, %edi
callq 0x3130
movq %rax, %r14
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rax
leaq (%rsi,%rax,4), %rdx
leaq 0x40(%rsp), %rdi
callq 0x4cd2
movq %r14, %rax
addq $0x10, %rax
movq %rax, (%r14)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rax
leaq (%rsi,%rax,4), %rdx
movb $0x1, %bpl
movq %r14, %rdi
callq 0x4cd2
xorl %ebp, %ebp
leaq 0x49c1(%rip), %rsi      # 0xacf0
leaq 0x2f8(%rip), %rdx       # 0x662e
movq %r14, %rdi
callq 0x3430
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x635d
movq 0x50(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
testb %bpl, %bpl
jne 0x6367
jmp 0x63ca
movq %rax, %rbx
movq %r14, %rdi
callq 0x31d0
jmp 0x63ca
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x6394
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
jmp 0x6394
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x63ca
movq 0x30(%rsp), %rax
jmp 0x63bd
movq %rax, %rbx
jmp 0x63ca
jmp 0x63ac
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x63ca
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3470
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/parser.cpp
// Function: Parser::write_compound(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&, std::map<unsigned long, long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, long>>>&)
void Parser::write_compound(const wstring & frml, FormMap & c)
{
  c.clear();

  _tokenizer.set_input(frml);
  _tokenizer.get_token();
  Parser::ElementListNode * tmp = parse();
  
  if(_tokenizer._ttype != EOS) {
    delete tmp;	
    _tokenizer.error(L"End of input expected");
  }

  tmp->fill_compound(1, c);
  cleanUpFormula(c);
  delete tmp;	
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rdx, %rdi
callq 0x58e2
leaq 0x8(%r15), %rbx
movq $0x0, 0x30(%r15)
leaq 0x40(%r15), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x33b0
movq 0x4f5e(%rip), %rsi      # 0xb370
movq 0x4f5f(%rip), %rdx      # 0xb378
movq %r13, %rdi
callq 0x3320
movq %rbx, %rdi
callq 0x5b7a
movq %r15, %rdi
callq 0x5f12
movq %rax, %r12
cmpl $0x2, 0x8(%r15)
jne 0x646c
movq (%r12), %rax
movl $0x1, %esi
movq %r12, %rdi
movq %r14, %rdx
callq *0x10(%rax)
movq %r14, %rdi
callq 0x6aa4
movq (%r12), %rax
movq %r12, %rdi
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmpq *0x8(%rax)
testq %r12, %r12
je 0x647b
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1d31(%rip), %rsi      # 0x81bc
leaq 0x1d7e(%rip), %rdx      # 0x8210
movq %rsp, %r14
movq %r14, %rdi
callq 0x697a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x61c4
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x64c6
movq 0x10(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0x32f0
movq %rbx, %rdi
callq 0x3470
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/parser.cpp
// Function: Parser::ElementListNode::~ElementListNode()
Parser::ElementListNode::~ElementListNode()
{
  for(NodeList::iterator i = _NodeList.begin();
      i != _NodeList.end();
      ++i)
    {
      delete *i;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x4793(%rip), %rax      # 0xad10
movq %rax, (%rdi)
movq 0x8(%rdi), %r14
addq $0x8, %rbx
cmpq %rbx, %r14
je 0x65a7
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x659c
movq (%rdi), %rax
callq *0x8(%rax)
movq (%r14), %r14
cmpq %rbx, %r14
jne 0x658d
movq (%rbx), %r14
cmpq %rbx, %r14
je 0x65c4
movq (%r14), %r15
movl $0x18, %esi
movq %r14, %rdi
callq 0x32f0
movq %r15, %r14
cmpq %rbx, %r15
jne 0x65ac
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/princelab[P]emass/parser.cpp
// Function: Parser::ElementListNode::fill_compound(unsigned long, std::map<unsigned long, long, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, long>>>&) const
void Parser::ElementListNode::fill_compound(ulong weight, FormMap & c) const
{
  ulong totalweight = _count * weight;
  
  for(NodeList::const_iterator i = _NodeList.begin();
      i != _NodeList.end();
      ++i)
    {
      (*i)->fill_compound(totalweight, c);
    }

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x8(%rdi), %r15
movq 0x8(%rdi), %r12
cmpq %r15, %r12
je 0x661c
movq %rdx, %rbx
movq %rsi, %r14
imulq 0x20(%rdi), %r14
movq 0x10(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movq %rbx, %rdx
callq *0x10(%rax)
movq (%r12), %r12
cmpq %r15, %r12
jne 0x6602
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq