LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/beast_output.cc
// Function: beast::SocketOutput::handle_error(boost::system::error_code const&)
void SocketOutput::handle_error(const boost::system::error_code &ec) {
        if (ec == boost::asio::error::eof) {
            std::cerr << peer << ": connection closed" << std::endl;
        } else if (ec != boost::asio::error::operation_aborted) {
            std::cerr << peer << ": connection error: " << ec.message() << std::endl;
        }

        close();
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x4ca78(%rip), %rax     # 0x71a80
movabsq $-0x70502de1da3a1f65, %r15 # imm = 0x8FAFD21E25C5E09B
cmpq %r15, %rax
je 0x2503c
movabsq $-0x4d54ee85da8120f3, %rcx # imm = 0xB2AB117A257EDF0D
cmpq %rcx, %rax
je 0x2503c
movq 0x4ca4b(%rip), %rax     # 0x71a78
leaq 0x4ca44(%rip), %rdi     # 0x71a78
movl $0x2, %esi
callq *0x30(%rax)
movl (%r14), %eax
cmpl $0x7d, %eax
je 0x250d3
cmpl $0x2, %eax
jne 0x250e1
movq 0x8(%r14), %rax
movq 0x4ca24(%rip), %rcx     # 0x71a80
leaq 0x4ca15(%rip), %rdx     # 0x71a78
xorl %esi, %esi
cmpq %rdx, %rax
sete %sil
xorl %edx, %edx
cmpq %rcx, 0x8(%rax)
sete %dl
testq %rcx, %rcx
cmovel %esi, %edx
cmpb $0x1, %dl
jne 0x250e1
leaq 0x70(%rbx), %rsi
movq 0x4bf4d(%rip), %rdi     # 0x70fd8
callq 0x21543
movq %rax, %r14
leaq 0x2ad8d(%rip), %rsi     # 0x4fe27
movl $0x13, %edx
movq %rax, %rdi
callq 0xe730
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xe5f0
movsbl %al, %esi
movq %r14, %rdi
callq 0xe040
movq %rax, %rdi
callq 0xe470
jmp 0x2516f
movq 0x8(%r14), %rax
cmpq %r15, 0x8(%rax)
je 0x2516f
leaq 0x70(%rbx), %rsi
movq 0x4beec(%rip), %rdi     # 0x70fd8
callq 0x21543
movq %rax, %r15
leaq 0x2ad40(%rip), %rsi     # 0x4fe3b
movl $0x14, %edx
movq %rax, %rdi
callq 0xe730
movq 0x8(%r14), %rsi
movl (%r14), %edx
movq (%rsi), %rax
movq %rsp, %r14
movq %r14, %rdi
callq *0x20(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xe730
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xe5f0
movsbl %al, %esi
movq %r14, %rdi
callq 0xe040
movq %rax, %rdi
callq 0xe470
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2516f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
leaq 0x20(%rbx), %rdi
callq 0x228fc
cmpq $0x0, 0xf0(%rbx)
je 0x2518f
leaq 0xe0(%rbx), %rdi
callq *0xf8(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x251b7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq %rbx, %rdi
callq 0xeb40
nop
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/beast_output.cc
// Function: beast::SocketListener::start()
void SocketListener::start() {
        acceptor.open(endpoint.protocol());
        acceptor.set_option(asio::socket_base::reuse_address(true));
        acceptor.set_option(tcp::acceptor::reuse_address(true));

        // We are v6 aware and bind separately to v4 and v6 addresses
        if (endpoint.protocol() == tcp::v6())
            acceptor.set_option(asio::ip::v6_only(true));

        acceptor.bind(endpoint);
        acceptor.listen();
        accept_connection();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
leaq 0x68(%rdi), %r15
xorl %eax, %eax
cmpw $0x2, 0x68(%rdi)
setne %al
leal 0x2(,%rax,8), %eax
leaq 0xc(%rsp), %r12
movl %eax, (%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x29608
movl $0x1, %ebp
movl %ebp, (%r12)
leaq 0xc(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x296a8
movl %ebp, (%r12)
leaq 0xc(%rsp), %rsi
movq %r14, %rdi
callq 0x296a8
cmpw $0x2, 0x68(%rbx)
je 0x25336
leaq 0xc(%rsp), %rsi
movl $0x1, (%rsi)
movq %r14, %rdi
callq 0x29748
movq %r14, %rdi
movq %r15, %rsi
callq 0x297e8
movq %r14, %rdi
movl $0x1000, %esi           # imm = 0x1000
callq 0x29888
movq %rbx, %rdi
callq 0x25364
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/beast_output.cc
// Function: beast::SocketConnector::schedule_reconnect()
void SocketConnector::schedule_reconnect() {
        if (running) {
            std::cerr << host << ":" << port_or_service << ": reconnecting in " << std::chrono::duration_cast<std::chrono::seconds>(reconnect_interval).count() << " seconds" << std::endl;

            auto self(shared_from_this());
            reconnect_timer.expires_from_now(reconnect_interval);
            reconnect_timer.async_wait(std::bind(&SocketConnector::resolve_and_connect, self, std::placeholders::_1));
        }
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
cmpb $0x1, 0x1a0(%rdi)
jne 0x263f7
movq %rdi, %rbx
movq 0x128(%rdi), %rsi
movq 0x130(%rdi), %rdx
movq 0x4ad38(%rip), %rdi     # 0x70fd8
callq 0xe730
movq %rax, %r14
leaq 0x27d6b(%rip), %rsi     # 0x4e01a
movl $0x1, %edx
movq %rax, %rdi
callq 0xe730
movq 0x148(%rbx), %rsi
movq 0x150(%rbx), %rdx
movq %r14, %rdi
callq 0xe730
movq %rax, %r14
leaq 0x29bd8(%rip), %rsi     # 0x4feb4
movl $0x12, %edx
movq %rax, %rdi
callq 0xe730
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x10(%rbx)
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x7, %rdx
addq %rdx, %rsi
movq %r14, %rdi
callq 0xe5e0
movq %rax, %r14
leaq 0x29bb0(%rip), %rsi     # 0x4fec7
movl $0x8, %edx
movq %rax, %rdi
callq 0xe730
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xe5f0
movsbl %al, %esi
movq %r14, %rdi
callq 0xe040
movq %rax, %rdi
callq 0xe470
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x2b0b4
leaq 0xb8(%rbx), %rdi
imulq $0xf4240, 0x10(%rbx), %rax # imm = 0xF4240
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
callq 0x13140
leaq -0xc13(%rip), %rax      # 0x25768
movq %rax, 0x18(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x263b7
movq 0x4abd7(%rip), %rcx     # 0x70f80
cmpb $0x0, (%rcx)
je 0x263b3
incl 0x8(%rax)
jmp 0x263b7
lock
incl 0x8(%rax)
movq 0xb8(%rbx), %rdi
leaq 0xc0(%rbx), %rsi
addq $0xf8, %rbx
leaq 0x18(%rsp), %rdx
movq %rbx, %rcx
callq 0x2a06c
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x263e8
callq 0x14590
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x263f7
callq 0x14590
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x26416
callq 0x14590
jmp 0x26416
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x26425
callq 0x14590
movq %rbx, %rdi
callq 0xeb40
nop
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/./modes_message.h
// Function: modes::Message::corrected_data() const
const std::vector<std::uint8_t> &corrected_data() const {
            if (!crc_bad()) {
                return m_data;
            }

            if (m_corrected_data.size() != 0) {
                // already corrected
                return m_corrected_data;
            }

            auto bit = crc_correctable_bit();
            if (bit < 0) {
                // not correctable
                return m_corrected_data; // empty vector
            }

            // copy the original data and do FEC
            m_corrected_data = m_data;
            m_corrected_data[bit / 8] ^= (1 << (7 - (bit & 7)));
            return m_corrected_data;
        }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0x1024a
testb %al, %al
je 0x2952f
leaq 0x38(%r14), %rbx
movq 0x40(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0x29536
movq %r14, %rdi
callq 0x103cc
testl %eax, %eax
js 0x29536
movl %eax, %r15d
leaq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x29a50
movl %r15d, %ecx
notb %cl
andb $0x7, %cl
movl $0x1, %eax
shll %cl, %eax
shrl $0x3, %r15d
movq 0x38(%r14), %rcx
xorb %al, (%rcx,%r15)
jmp 0x29536
addq $0x18, %r14
movq %r14, %rbx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/status_writer.cc
// Function: splitter::StatusWriter::start()
void StatusWriter::start() {
        auto self(shared_from_this());

        modes::Filter filter;
        filter.receive_status = true;
        filter_handle = distributor.add_client(std::bind(&StatusWriter::write, self, std::placeholders::_1), filter);

        reset_timeout();
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq %rsp, %rdi
movq %rbx, %rsi
callq 0x2c9b6
leaq 0x31(%rsp), %rdi
callq 0xfa58
movb $0x1, 0x54(%rsp)
movq 0x20(%rbx), %r14
movq (%rsp), %r12
movq 0x8(%rsp), %r15
testq %r15, %r15
je 0x2b2eb
movq 0x45ca5(%rip), %rax     # 0x70f80
cmpb $0x0, (%rax)
je 0x2b2e6
incl 0x8(%r15)
jmp 0x2b2eb
lock
incl 0x8(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movl $0x20, %edi
callq 0xe620
leaq 0xd1(%rip), %rcx        # 0x2b3da
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movq %r12, 0x10(%rax)
movq %r15, 0x18(%rax)
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x16e1(%rip), %rax      # 0x2ca0c
movq %rax, 0x18(%rsi)
leaq 0x16f2(%rip), %rax      # 0x2ca28
movq %rax, 0x10(%rsi)
leaq 0x31(%rsp), %rdx
movq %r14, %rdi
callq 0xfcf4
movl %eax, 0x78(%rbx)
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x2b363
leaq 0x10(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x2b954
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2b37a
callq 0x14590
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x2b3a6
movq %rax, %rbx
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x2b3c3
leaq 0x10(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2b3c3
movq %rax, %rdi
callq 0xf7cb
movq %rax, %rbx
testq %r15, %r15
je 0x2b3c3
movq %r15, %rdi
callq 0x14590
jmp 0x2b3c3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2b3d2
callq 0x14590
movq %rbx, %rdi
callq 0xeb40
// File: /workspace/github_cpp_makefile_star2_O3/flightaware[P]beast-splitter/status_writer.cc
// Function: splitter::StatusWriter::status_timeout(boost::system::error_code const&)
void StatusWriter::status_timeout(const boost::system::error_code &ec) {
        if (ec == boost::asio::error::operation_aborted)
            return;

        reset_timeout();
        if (input && input->is_connected() && input->receiver() == beast::ReceiverType::RADARCAPE) {
            // we should be getting status messages, but we are not.
            write_status_file("red", "No recent GPS status message received");
        } else {
            // Not connected or it's a regular Beast, no GPS status.
            write_status_file();
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
cmpl $0x7d, (%rsi)
jne 0x2baa7
movq 0x8(%rsi), %rax
movabsq $-0x70502de1da3a1f65, %rcx # imm = 0x8FAFD21E25C5E09B
cmpq %rcx, 0x8(%rax)
je 0x2bb82
movq %rbx, %rdi
callq 0x2b954
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x2bb1e
cmpb $0x1, 0x230(%rax)
jne 0x2bb1e
cmpl $0x2, 0x50(%rax)
jne 0x2bb1e
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x245ca(%rip), %rsi     # 0x500a1
leaq 0x245c6(%rip), %rdx     # 0x500a4
leaq 0x20(%rsp), %rdi
callq 0x134ac
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x245ad(%rip), %rsi     # 0x500a5
leaq 0x245cb(%rip), %rdx     # 0x500ca
movq %rsp, %rdi
callq 0x134ac
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
movl $0xffffd8f1, %ecx       # imm = 0xFFFFD8F1
callq 0x2bbd0
jmp 0x2bb55
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb %al, (%r14)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
movl $0xffffd8f1, %ecx       # imm = 0xFFFFD8F1
callq 0x2bbd0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2bb6b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2bb82
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xe650
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x2bb98
movq %rax, %rbx
jmp 0x2bbb1
movq %rax, %rbx
jmp 0x2bbc8
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2bbb1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xe650
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2bbc8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xe650
movq %rbx, %rdi
callq 0xeb40
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::initialize_system()
void initialize_system()
{
	assert( !s_is_system_initialized );
	s_is_system_initialized = true;

	// UTF8 ワークアラウンド
	//setvbuf( stdout, nullptr, _IOFBF, 1024 );
	setvbuf( stderr, nullptr, _IOFBF, 1024 );

#if NHSP_CONFIG_MEMLEAK_DETECTION
	if ( s_memory_map_ == nullptr )
	{
		s_memory_map_ = reinterpret_cast<list_t*>( zmalloc( sizeof(list_t) ) );
		s_memory_map_->head_ = s_memory_map_->tail_ = nullptr;
	}
#endif
#if NHSP_CONFIG_VALUE_ALLOCATION_CACHE
	for( size_t i=0; i<MAX_VALUE_ALLOCATION_CACHE; ++i )
	{
		s_value_allocation_cache[i] = reinterpret_cast<value_t*>( xmalloc( sizeof(value_t) ) );
	}
	s_value_allocation_cache_idx = 0;
#endif
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x1, 0x13989(%rip)     # 0x16190
je 0x285e
movb $0x1, 0x13980(%rip)     # 0x16190
movq 0x137c9(%rip), %rax     # 0x15fe0
movq (%rax), %rdi
xorl %ebx, %ebx
movl $0x400, %ecx            # imm = 0x400
xorl %esi, %esi
xorl %edx, %edx
callq 0x2040
leaq 0x1396f(%rip), %r14     # 0x161a0
movl $0x18, %edi
callq 0x21d0
movq %rax, (%rbx,%r14)
addq $0x8, %rbx
cmpq $0x200, %rbx            # imm = 0x200
jne 0x2831
movl $0x0, 0x13b4a(%rip)     # 0x163a0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0xa01b(%rip), %rdi      # 0xc880
leaq 0xa02d(%rip), %rsi      # 0xc899
leaq 0xa03d(%rip), %rcx      # 0xc8b0
movl $0x4c4, %edx            # imm = 0x4C4
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::uninitialize_system()
void uninitialize_system()
{
	assert( s_is_system_initialized );
	s_is_system_initialized = false;

#if NHSP_CONFIG_VALUE_ALLOCATION_CACHE
	assert( s_value_allocation_cache_idx == 0 );
	for( size_t i=0; i<MAX_VALUE_ALLOCATION_CACHE; ++i )
	{
		if ( s_value_allocation_cache[i] != nullptr )
		{
			xfree( s_value_allocation_cache[i] );
			s_value_allocation_cache[i] = nullptr;
		}
	}
	s_value_allocation_cache_idx = 0;
#endif
#if NHSP_CONFIG_MEMLEAK_DETECTION
	if ( s_memory_map_ != nullptr )
	{
		printf( "====leaked memories\n" );
		auto node = s_memory_map_->head_;
		while( node != nullptr )
		{
			printf( "[%p]\n", node->value_ );
			node = node->next_;
		}
		printf( "----" );
	}
#endif
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, 0x13903(%rip)     # 0x16190
je 0x28dd
movb $0x0, 0x138fa(%rip)     # 0x16190
cmpl $0x0, 0x13b03(%rip)     # 0x163a0
jne 0x28fc
xorl %ebx, %ebx
leaq 0x138f8(%rip), %r14     # 0x161a0
movq (%rbx,%r14), %rdi
testq %rdi, %rdi
je 0x28be
callq 0x21a0
movq $0x0, (%rbx,%r14)
addq $0x8, %rbx
cmpq $0x200, %rbx            # imm = 0x200
jne 0x28a8
movl $0x0, 0x13acb(%rip)     # 0x163a0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x9f9d(%rip), %rdi      # 0xc881
leaq 0x9fae(%rip), %rsi      # 0xc899
leaq 0x9fe2(%rip), %rcx      # 0xc8d4
movl $0x4dd, %edx            # imm = 0x4DD
callq 0x20e0
leaq 0x9ff7(%rip), %rdi      # 0xc8fa
leaq 0x9f8f(%rip), %rsi      # 0xc899
leaq 0x9fc3(%rip), %rcx      # 0xc8d4
movl $0x4e1, %edx            # imm = 0x4E1
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::create_string_buffer(unsigned long, int)
string_buffer_t* create_string_buffer( size_t initial_len, int expand_step )
{
	assert( initial_len > 0 );
	auto* const res = reinterpret_cast<string_buffer_t*>( xmalloc( sizeof( string_buffer_t ) ) );
	initialize_string_buffer( res, initial_len, expand_step );
	return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x2969
movl %esi, %ebx
movq %rdi, %r14
movl $0x18, %edi
callq 0x21d0
movq %rax, %r15
leaq 0x1(%r14), %rdi
callq 0x21d0
movq %rax, (%r15)
movl %r14d, 0x8(%r15)
movl $0x0, 0xc(%r15)
movl %ebx, 0x10(%r15)
movb $0x0, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x9fac(%rip), %rdi      # 0xc91c
leaq 0x9f22(%rip), %rsi      # 0xc899
leaq 0x9fae(%rip), %rcx      # 0xc92c
movl $0x52c, %edx            # imm = 0x52C
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::uninitialize_string_buffer(neteruhsp::string_buffer_t*)
void uninitialize_string_buffer( string_buffer_t* sb )
{
	assert( sb != nullptr );

	if ( sb->buffer_ != nullptr )
	{
		xfree( sb->buffer_ );
		sb->buffer_ = nullptr;
	}
	sb->buffer_size_ = 0;
	sb->cursor_ = 0;
	sb->expand_step_ = 0;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x29fa
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x29e9
callq 0x21a0
movq $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
movl $0x0, 0x10(%rbx)
popq %rbx
retq
leaq 0x9f69(%rip), %rdi      # 0xc96a
leaq 0x9e91(%rip), %rsi      # 0xc899
leaq 0x9f69(%rip), %rcx      # 0xc978
movl $0x543, %edx            # imm = 0x543
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::string_buffer_append(neteruhsp::string_buffer_t*, char const*, int)
void string_buffer_append( string_buffer_t* sb, const char* s, int len )
{
	if ( len < 0 )
	{
		len = static_cast<int>( strlen( s ) );
	}

	if ( len == 0 )
	{
		return;
	}

	const auto left = sb->buffer_size_ - sb->cursor_;
	const auto required = len + 4;
	if ( left < required )
	{
		const int nexpand = ( required - left );
		const int expand_step = ( sb->expand_step_ <= 0 ? sb->buffer_size_/* x2 */ : sb->expand_step_ );
		const int expand = ( expand_step < nexpand ? nexpand : expand_step );
		const size_t nsize = sb->buffer_size_ + expand;
		sb->buffer_ = reinterpret_cast<char*>( xrealloc( sb->buffer_, static_cast<size_t>( nsize ) ) );
		sb->buffer_size_ = static_cast<int>( nsize );
	}

	memcpy( sb->buffer_ + sb->cursor_, s, len );
	sb->cursor_ += len;
	sb->buffer_[sb->cursor_] = '\0';
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
testl %edx, %edx
jns 0x2a39
movq %r14, %rdi
callq 0x20b0
movq %rax, %r15
testl %r15d, %r15d
je 0x2a9f
movl 0x8(%rbx), %ecx
movl 0xc(%rbx), %edx
movl %ecx, %edi
subl %edx, %edi
leal 0x4(%r15), %esi
movq (%rbx), %rax
subl %edi, %esi
jle 0x2a7a
movl 0x10(%rbx), %edx
testl %edx, %edx
cmovlel %ecx, %edx
cmpl %esi, %edx
cmovlel %esi, %edx
addl %ecx, %edx
movslq %edx, %r12
movq %rax, %rdi
movq %r12, %rsi
callq 0x2280
movq %rax, (%rbx)
movl %r12d, 0x8(%rbx)
movl 0xc(%rbx), %edx
movslq %edx, %rdi
addq %rax, %rdi
movslq %r15d, %r15
movq %r14, %rsi
movq %r15, %rdx
callq 0x2120
movslq 0xc(%rbx), %rax
addq %r15, %rax
movl %eax, 0xc(%rbx)
movq (%rbx), %rcx
movb $0x0, (%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::unlink_list_node(neteruhsp::list_node_t*)
bool unlink_list_node( list_node_t* node )
{
	if ( node->prev_==nullptr && node->next_==nullptr )
	{ 
		return false;
	}
	if ( node->prev_ != nullptr )
	{
		node->prev_->next_ = node->next_;
	}
	if ( node->next_ != nullptr )
	{
		node->next_->prev_ = node->prev_;
	}
	node->prev_ = node->next_ = nullptr;
	return true;
}

// Assembly:
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
testq %rax, %rax
je 0x2af2
movq %rcx, 0x8(%rax)
testq %rcx, %rcx
jne 0x2af7
jmp 0x2afa
testq %rcx, %rcx
je 0x2b03
movq %rax, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movb $0x1, %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::link_next(neteruhsp::list_node_t*, neteruhsp::list_node_t*)
void link_next( list_node_t* node, list_node_t* list )
{
	assert( node->prev_==nullptr && node->next_==nullptr );
	node->prev_ = list;
	node->next_ = list->next_;
	list->next_ = node;
}

// Assembly:
cmpq $0x0, (%rdi)
jne 0x2b23
cmpq $0x0, 0x8(%rdi)
jne 0x2b23
movq %rsi, (%rdi)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rdi)
movq %rdi, 0x8(%rsi)
retq
pushq %rax
leaq 0x9e8b(%rip), %rdi      # 0xc9b6
leaq 0x9d67(%rip), %rsi      # 0xc899
leaq 0x9eaa(%rip), %rcx      # 0xc9e3
movl $0x57e, %edx            # imm = 0x57E
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::link_prev(neteruhsp::list_node_t*, neteruhsp::list_node_t*)
void link_prev( list_node_t* node, list_node_t* list )
{
	assert( node->prev_==nullptr && node->next_==nullptr );
	node->prev_ = list->prev_;
	node->next_ = list;
	list->prev_ = node;
}

// Assembly:
cmpq $0x0, (%rdi)
jne 0x2b5e
cmpq $0x0, 0x8(%rdi)
jne 0x2b5e
movq (%rsi), %rax
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rdi, (%rsi)
retq
pushq %rax
leaq 0x9e50(%rip), %rdi      # 0xc9b6
leaq 0x9d2c(%rip), %rsi      # 0xc899
leaq 0x9ea7(%rip), %rcx      # 0xca1b
movl $0x586, %edx            # imm = 0x586
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::list_prepend(neteruhsp::list_t&, neteruhsp::list_node_t*)
void list_prepend( list_t& list, list_node_t* node )
{
	if ( list.head_ == nullptr )
	{
		assert( list.tail_==nullptr );
		list.head_ = list.tail_ = node;
		return;
	}
	link_prev( node, list.head_ );
	list.head_ = node;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x2bae
movq %rbx, %rdi
callq 0x2b43
jmp 0x2bb9
cmpq $0x0, 0x8(%r14)
jne 0x2bc4
movq %rbx, 0x8(%r14)
movq %rbx, (%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x9e88(%rip), %rdi      # 0xca53
leaq 0x9cc7(%rip), %rsi      # 0xc899
leaq 0x9e8e(%rip), %rcx      # 0xca67
movl $0x5ae, %edx            # imm = 0x5AE
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::list_append(neteruhsp::list_t&, neteruhsp::list_node_t*)
void list_append( list_t& list, list_node_t* node )
{
	if ( list.tail_ == nullptr )
	{
		assert( list.head_==nullptr );
		list.head_ = list.tail_ = node;
		return;
	}
	link_next( node, list.tail_ );
	list.tail_ = node;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x8(%rdi), %r14
movq 0x8(%rdi), %rsi
testq %rsi, %rsi
je 0x2c04
movq %rbx, %rdi
callq 0x2b06
movq %r14, %rdi
jmp 0x2c0d
cmpq $0x0, (%rdi)
jne 0x2c18
movq %rbx, (%r14)
movq %rbx, (%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x9e7e(%rip), %rdi      # 0xca9d
leaq 0x9c73(%rip), %rsi      # 0xc899
leaq 0x9e84(%rip), %rcx      # 0xcab1
movl $0x5ba, %edx            # imm = 0x5BA
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::list_erase(neteruhsp::list_t&, neteruhsp::list_node_t*)
void list_erase( list_t& list, list_node_t* node )
{
	if ( list.head_ == node )
	{
		list.head_ = node->next_;
	}
	if ( list.tail_ == node )
	{
		list.tail_ = node->prev_;
	}
	unlink_list_node( node );
}

// Assembly:
cmpq %rsi, (%rdi)
jne 0x2c43
movq 0x8(%rsi), %rax
movq %rax, (%rdi)
movq (%rsi), %rax
cmpq %rsi, 0x8(%rdi)
jne 0x2c50
movq %rax, 0x8(%rdi)
movq 0x8(%rsi), %rcx
testq %rax, %rax
je 0x2c64
movq %rcx, 0x8(%rax)
testq %rcx, %rcx
jne 0x2c69
jmp 0x2c6c
testq %rcx, %rcx
je 0x2c72
movq %rax, (%rcx)
xorps %xmm0, %xmm0
movups %xmm0, (%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::list_free_all(neteruhsp::list_t&)
void list_free_all( list_t& list )
{
	auto* node = list.head_;
	while( node != nullptr )
	{
		auto next = node->next_;
		list_erase( list, node );
		xfree( node );
		node = next;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x2cb9
movq %rdi, %rbx
movq 0x8(%r14), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2c37
movq %r14, %rdi
callq 0x21a0
movq %r15, %r14
testq %r15, %r15
jne 0x2c9a
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::(anonymous namespace)::string_equal_igcase(char const*, char const*, int)
bool string_equal_igcase( const char* sl, const char* r, int len =-1 )
{
	const auto tol =[]( char c ) -> int
	{
		if ( c>='A' && c<='Z' )
		{ return c -'A' +'a'; }
		return c;
	};

	int iter =0;
	for( ; ; )
	{
		if ( sl[0]=='\0' || r[0]=='\0' )
		{
			if ( len < 0 )
			{
				if ( sl[0] != r[0] )
				{ return false; }
			}
			else
			{
				if ( sl[0]!='\0' || iter!=len )
				{ return false; }
			}
			break;
		}
		if ( tol( sl[0] ) != tol( r[0] ) )
		{ return false; }
		++sl, ++r; ++iter;
	}
	return true;
}

// Assembly:
movb (%rdi), %r8b
testb %r8b, %r8b
je 0x2d7e
xorl %eax, %eax
movsbl (%rsi,%rax), %r9d
testl %r9d, %r9d
setne %cl
je 0x2d87
movsbl %r8b, %r8d
leal -0x41(%r8), %r10d
movl %r8d, %r11d
orl $0x20, %r11d
cmpb $0x1a, %r10b
cmovael %r8d, %r11d
leal -0x41(%r9), %r8d
movl %r9d, %r10d
orl $0x20, %r10d
cmpb $0x1a, %r8b
cmovael %r9d, %r10d
cmpl %r10d, %r11d
jne 0x2d9f
movb 0x1(%rdi,%rax), %r8b
incq %rax
testb %r8b, %r8b
jne 0x2d30
addq %rax, %rsi
jmp 0x2d82
movb $0x1, %cl
xorl %eax, %eax
xorl %r8d, %r8d
jmp 0x2d8a
addq %rax, %rsi
testl %edx, %edx
js 0x2d9a
cmpl %edx, %eax
sete %al
testb %al, %cl
je 0x2d9f
movb $0x1, %al
retq
cmpb (%rsi), %r8b
je 0x2d97
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::(anonymous namespace)::raise_error(char const*, ...)
void raise_error( const char* message, ... )
{
	va_list args;
	va_start( args, message );
	vfprintf( stderr, message, args );
	va_end( args );
	fflush( stderr );
	exit( -1 );
}

// Assembly:
pushq %rbx
subq $0xd0, %rsp
movq %rdi, %r10
leaq 0x20(%rsp), %rdi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x34ac
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rsp, %rdx
movq %rdi, 0x10(%rdx)
leaq 0xe0(%rsp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rdx)
movq 0x12b0d(%rip), %rbx     # 0x15fe0
movq (%rbx), %rdi
movq %r10, %rsi
callq 0x21e0
movq (%rbx), %rdi
callq 0x2180
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21b0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::create_token_string(char const*, unsigned long)
char* create_token_string( const char* str, size_t len )
{
	char* res = create_string( len );

	size_t w =0;
	for( size_t i=0; i<len; ++i, ++w )
	{
		if ( str[i]=='\\' && (i+1)<len )
		{
			switch( str[i+1] )
			{
				case 't':	res[w] = '\t'; break;
				case 'n':	res[w] = '\n'; break;
				case '\"':	res[w] = '\"'; break;
				default:
					raise_error( "読み取れないエスケープシーケンス@@ %c%c", str[i], str[i+1] );
					break;
			}
			++i;
		}
		else
		{
			res[w] = str[i];
		}
	}
	res[w] = '\0';
	return res;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1(%rsi), %rdi
callq 0x21d0
testq %rbx, %rbx
je 0x3552
xorl %edx, %edx
xorl %ecx, %ecx
movb (%r14,%rdx), %sil
cmpb $0x5c, %sil
jne 0x3541
leaq 0x1(%rdx), %rdi
cmpq %rbx, %rdi
jae 0x3541
movzbl (%r14,%rdi), %edx
cmpl $0x22, %edx
je 0x353b
movb $0x9, %sil
cmpl $0x74, %edx
je 0x353e
cmpl $0x6e, %edx
jne 0x3560
movb $0xa, %sil
jmp 0x353e
movb $0x22, %sil
movq %rdi, %rdx
movb %sil, (%rax,%rcx)
incq %rdx
incq %rcx
cmpq %rbx, %rdx
jb 0x350c
jmp 0x3554
xorl %ecx, %ecx
movb $0x0, (%rax,%rcx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movsbl %dl, %edx
leaq 0x9689(%rip), %rdi      # 0xcbf3
movl $0x5c, %esi
xorl %eax, %eax
callq 0x344d
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::uninitialize_parse_context(neteruhsp::parse_context_t*)
void uninitialize_parse_context( parse_context_t* c )
{
	if ( c->token_list_ != nullptr )
	{
		list_node_t* iter =c->token_list_->head_;
		while( iter != nullptr )
		{
			const auto next =iter->next_;
			token_t* token =reinterpret_cast<token_t*>( iter->value_ );
			destroy_token( token );
			destroy_list_node( iter );
			iter = next;
		}
		destroy_list( c->token_list_ );
	}

	c->token_list_ = nullptr;
	c->token_current_ = nullptr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x360d
movq (%rdi), %r14
testq %r14, %r14
je 0x3608
movq 0x8(%r14), %r15
movq 0x10(%r14), %rdi
callq 0x3576
movq %r14, %rdi
callq 0x2aba
movq %r15, %r14
testq %r15, %r15
jne 0x35e8
movq (%rbx), %rdi
callq 0x21a0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::read_token(neteruhsp::parse_context_t&)
token_t* read_token( parse_context_t& c )
{
	const auto read = [&c]()
	{
		auto list = create_list_node();
		list->value_ = get_token( *c.tokenize_context_ );
		return list;
	};

	if ( c.token_current_ == nullptr )
	{
		const auto node =read();
		list_append( *c.token_list_, node );
		c.token_current_ = node;
	}
	assert( c.token_current_ != nullptr );
	const auto res = c.token_current_;
	c.token_current_ = c.token_current_->next_;
	return reinterpret_cast<token_t*>( res->value_ );
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %r14
testq %r14, %r14
jne 0x3657
movq 0x10(%rbx), %r15
movl $0x1, %edi
movl $0x18, %esi
callq 0x20f0
movq %rax, %r14
movq %r15, %rdi
callq 0x2e25
movq %rax, 0x10(%r14)
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x2be3
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::unread_token(neteruhsp::parse_context_t&, unsigned long)
void unread_token( parse_context_t& c, size_t num )
{
	if ( num <= 0 )
	{
		return;
	}

	if ( c.token_current_ == nullptr )
	{
		c.token_current_ = c.token_list_->tail_;
		--num;
	}

	while( num-- > 0 )
	{
		assert( c.token_current_ != nullptr );
		c.token_current_ = c.token_current_->prev_;
	}
}

// Assembly:
pushq %rax
testq %rsi, %rsi
je 0x3692
movq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x3688
movq (%rdi), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rdi)
decq %rsi
je 0x3692
testq %rax, %rax
je 0x3694
movq (%rax), %rax
jmp 0x367f
popq %rax
retq
leaq 0x9590(%rip), %rdi      # 0xcc2b
leaq 0x91f7(%rip), %rsi      # 0xc899
leaq 0x959e(%rip), %rcx      # 0xcc47
movl $0x7ad, %edx            # imm = 0x7AD
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::prev_token(neteruhsp::parse_context_t&, unsigned long)
token_t* prev_token( parse_context_t& c, size_t num )
{
	auto current = c.token_current_;
	if ( current == nullptr )
	{
		current = c.token_list_->tail_;
	}
	while( num-- > 0 )
	{
		assert( current != nullptr );
		current = current->prev_;
	}
	return reinterpret_cast<token_t*>( current->value_ );
}

// Assembly:
pushq %rax
movq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x36c4
movq (%rdi), %rax
movq 0x8(%rax), %rax
testq %rsi, %rsi
je 0x36d6
testq %rax, %rax
je 0x36dc
movq (%rax), %rax
decq %rsi
jne 0x36c9
movq 0x10(%rax), %rax
popq %rcx
retq
leaq 0x959c(%rip), %rdi      # 0xcc7f
leaq 0x91af(%rip), %rsi      # 0xc899
leaq 0x95a1(%rip), %rcx      # 0xcc92
movl $0x7bb, %edx            # imm = 0x7BB
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::macro_free_content(neteruhsp::macro_t*)
void macro_free_content( macro_t* macro )
{
	if ( macro->name_ != nullptr )
	{
		destroy_string( macro->name_ );
		macro->name_ = nullptr;
	}

	if ( macro->replacing_ != nullptr )
	{
		destroy_string( macro->replacing_ );
		macro->replacing_ = nullptr;
	}

	for ( auto& it : macro->params_ )
	{
		if ( it.default_param_ != nullptr )
		{
			destroy_string( it.default_param_ );
			it.default_param_ = nullptr;
		}
	}
	macro->param_num_ = 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x37f8
callq 0x21a0
movq $0x0, (%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x380e
callq 0x21a0
movq $0x0, 0x10(%rbx)
xorl %r14d, %r14d
movq 0x20(%rbx,%r14), %rdi
testq %rdi, %rdi
je 0x3829
callq 0x21a0
movq $0x0, 0x20(%rbx,%r14)
addq $0x8, %r14
cmpq $0x80, %r14
jne 0x3811
movl $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::destroy_prepro_context(neteruhsp::prepro_context_t*)
void destroy_prepro_context( prepro_context_t* pctx )
{
	assert( pctx != nullptr );
	{
		auto* node = pctx->macro_list_->head_;
		while( node != nullptr )
		{
			auto* macro = reinterpret_cast<macro_t*>( node->value_ );
			destroy_macro( macro );
			node = node->next_;;
		}
	}
	list_free_all( *pctx->macro_list_ );
	destroy_list( pctx->macro_list_ );

	if ( pctx->out_buffer_ != nullptr )
	{
		destroy_string_buffer( pctx->out_buffer_ );
		pctx->out_buffer_ = nullptr;
	}
	xfree( pctx );
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x38fa
movq %rdi, %rbx
movq (%rdi), %rdi
movq (%rdi), %r15
testq %r15, %r15
je 0x38c7
movq 0x10(%r15), %r14
movq %r14, %rdi
callq 0x37dd
movq %r14, %rdi
callq 0x21a0
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x38a7
movq (%rbx), %rdi
callq 0x2c8a
movq (%rbx), %rdi
callq 0x21a0
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x38ed
movq %r14, %rdi
callq 0x29cc
movq %r14, %rdi
callq 0x21a0
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x21a0
leaq 0x93e9(%rip), %rdi      # 0xccea
leaq 0x8f91(%rip), %rsi      # 0xc899
leaq 0x93eb(%rip), %rcx      # 0xccfa
movl $0x82a, %edx            # imm = 0x82A
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::prepro_register_default_macros(neteruhsp::prepro_context_t*)
void prepro_register_default_macros( prepro_context_t* pctx )
{
	{
		auto* const nm = create_macro();
		nm->name_ = create_string( "M_PI" );
		nm->replacing_ = create_string( "3.141592653589793238" );
		prepro_register_macro( pctx, nm );
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0xa0, %edi
callq 0x21d0
movq %rax, %r14
movb $0x0, 0x8(%rax)
movl $0x0, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x60(%rax)
movups %xmm0, 0x70(%rax)
movups %xmm0, 0x80(%rax)
movups %xmm0, 0x90(%rax)
leaq 0x93cd(%rip), %rdi      # 0xcd35
callq 0x3992
movq %rax, (%r14)
leaq 0x93c3(%rip), %rdi      # 0xcd3a
callq 0x3992
movq %rax, 0x10(%r14)
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x39ca
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::prepro_register_macro(neteruhsp::prepro_context_t*, neteruhsp::macro_t*)
bool prepro_register_macro( prepro_context_t* pctx, macro_t* macro )
{
	const auto* d = prepro_find_macro( pctx, macro->name_ );

	if ( d != nullptr )
	{
		raise_error( "プリプロセス：マクロが再定義されました（%s）", macro->name_ );
		return false;
	}

	auto* const lnode = create_list_node();
	lnode->value_ = macro;

	list_append( *pctx->macro_list_, lnode );

	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
movq %r15, %rsi
callq 0x4d12
testq %rax, %rax
jne 0x3a0b
movl $0x1, %edi
movl $0x18, %esi
callq 0x20f0
movq %r14, 0x10(%rax)
movq (%rbx), %rdi
movq %rax, %rsi
callq 0x2be3
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
leaq 0xa230(%rip), %rdi      # 0xdc42
movq %r15, %rsi
xorl %eax, %eax
callq 0x344d
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::prepro_erase_macro(neteruhsp::prepro_context_t*, char const*)
bool prepro_erase_macro( prepro_context_t* pctx, const char* name )
{
	list_node_t* found_node = nullptr;
	auto* node = pctx->macro_list_->head_;
	while( node != nullptr )
	{
		auto* const macro = reinterpret_cast<macro_t*>( node->value_ );
		if ( string_equal_igcase( macro->name_, name ) )
		{
			found_node = node;
			break;
		}
		node = node->next_;
	}

	if ( found_node == nullptr )
	{ return false; }

	list_erase( *pctx->macro_list_, found_node );
	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq (%rdi), %rbx
movq (%rbx), %r14
testq %r14, %r14
je 0x4b85
movq %rsi, %r15
movq 0x10(%r14), %rax
movq (%rax), %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2d26
testb %al, %al
jne 0x4b89
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x4b64
xorl %eax, %eax
jmp 0x4b96
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2c37
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::evaluate_ast_immediate(neteruhsp::ast_node_t*)
value_t* evaluate_ast_immediate( ast_node_t* ast )
{
	value_stack_t stack{};
	initialize_value_stack( &stack );

	const bool is_succeeded = evaluate_ast_node( ast, &stack );

	// 戻り値
	value_t* res = nullptr;
	if ( is_succeeded && stack.top_ == 1 )
	{
		res = create_value( *stack_peek( &stack, 0 ) );
		value_isolate( *res );
	}
	uninitialize_value_stack( &stack );
	return res;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl $0x80, %edi
callq 0x21d0
leaq 0x8(%rsp), %r14
movq %rax, (%r14)
movabsq $0x1000000000, %rax     # imm = 0x1000000000
movq %rax, 0x8(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x99ec
movl 0x8(%r14), %ecx
cmpl $0x1, %ecx
sete %dl
andb %al, %dl
cmpb $0x1, %dl
jne 0x4c05
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x6e17
movq %rax, %rbx
movq %rax, %rdi
callq 0x4d52
movl 0x10(%rsp), %ecx
jmp 0x4c07
xorl %ebx, %ebx
movslq %ecx, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x7a28
movq (%r14), %rdi
callq 0x21a0
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::value_calc_boolean(neteruhsp::value_t const&)
bool value_calc_boolean( const value_t& r )
{
	switch( value_get_primitive_tag( r ) )
	{
		case VALUE_INT:			return value_calc_int(r) != 0;
		case VALUE_DOUBLE:		return value_calc_double(r) != 0.0;
		case VALUE_STRING:		return value_calc_int(r) != 0;
		default: assert( false ); break;
	}
	return false;
}

// Assembly:
pushq %rax
movl (%rdi), %eax
cmpl $0x4, %eax
jne 0x4c39
movq 0x8(%rdi), %rax
movl 0x8(%rax), %eax
cmpl $0x3, %eax
je 0x4c48
cmpl $0x2, %eax
je 0x4c54
cmpl $0x1, %eax
jne 0x4c6c
callq 0x4e28
testl %eax, %eax
setne %al
jmp 0x4c6a
callq 0x6fee
xorpd %xmm1, %xmm1
cmpneqsd %xmm0, %xmm1
movq %xmm1, %rax
andl $0x1, %eax
popq %rcx
retq
leaq 0x8b12(%rip), %rdi      # 0xd785
leaq 0x7c1f(%rip), %rsi      # 0xc899
leaq 0xa16e(%rip), %rcx      # 0xedef
movl $0x118c, %edx           # imm = 0x118C
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::destroy_ast_node(neteruhsp::ast_node_t*)
void destroy_ast_node( ast_node_t* node )
{
	assert( node != nullptr );
	if ( node->left_ != nullptr )
	{ destroy_ast_node( node->left_ ); }
	if ( node->right_ != nullptr )
	{ destroy_ast_node( node->right_ ); }
	xfree( node );
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x4cb9
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
testq %rdi, %rdi
je 0x4ca2
callq 0x4c8b
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4cb0
callq 0x4c8b
movq %rbx, %rdi
popq %rbx
jmp 0x21a0
leaq 0xb220(%rip), %rdi      # 0xfee0
leaq 0x7bd2(%rip), %rsi      # 0xc899
leaq 0x8fb6(%rip), %rcx      # 0xdc84
movl $0xbd6, %edx            # imm = 0xBD6
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::prepro_find_macro(neteruhsp::prepro_context_t*, char const*)
macro_t* prepro_find_macro( prepro_context_t* pctx, const char* name )
{
	auto* node = pctx->macro_list_->head_;
	while( node != nullptr )
	{
		auto* const macro = reinterpret_cast<macro_t*>( node->value_ );
		if ( string_equal_igcase( macro->name_, name ) )
		{
			return macro;
		}
		node = node->next_;
	}

	return nullptr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq (%rdi), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x4d46
movq %rsi, %rbx
movq 0x10(%r15), %r14
movq (%r14), %rdi
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2d26
testb %al, %al
jne 0x4d49
movq 0x8(%r15), %r15
testq %r15, %r15
jne 0x4d25
xorl %r14d, %r14d
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::value_isolate(neteruhsp::value_t&)
void value_isolate( value_t& v )
{
	if ( v.type_ != VALUE_VARIABLE )
	{ return; }

	switch( v.variable_->type_ )
	{
		case VALUE_INT:
			value_set( &v, variable_calc_int( *v.variable_, v.index_ ) );
			break;
		case VALUE_DOUBLE:
			value_set( &v, variable_calc_double( *v.variable_, v.index_ ) );
			break;
		case VALUE_STRING:
			value_move( &v, variable_calc_string( *v.variable_, v.index_ ) );
			break;
		default:
			assert( false );
			break;
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
cmpl $0x4, (%rdi)
jne 0x4df1
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movl 0x8(%rdi), %eax
cmpl $0x3, %eax
je 0x4dce
cmpl $0x2, %eax
je 0x4d9f
cmpl $0x1, %eax
jne 0x4dfa
movl 0x10(%rbx), %esi
callq 0x6bb3
movl %eax, %ebp
cmpl $0x3, (%rbx)
jne 0x4d94
movq 0x8(%rbx), %rdi
callq 0x21a0
movl $0x1, (%rbx)
movl %ebp, 0x8(%rbx)
jmp 0x4df1
movl 0x10(%rbx), %esi
callq 0x6c00
cmpl $0x3, (%rbx)
jne 0x4dc1
movq 0x8(%rbx), %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x21a0
movsd 0x8(%rsp), %xmm0
movl $0x2, (%rbx)
movsd %xmm0, 0x8(%rbx)
jmp 0x4df1
movl 0x10(%rbx), %esi
callq 0x6c5c
movq %rax, %r14
cmpl $0x3, (%rbx)
jne 0x4de7
movq 0x8(%rbx), %rdi
callq 0x21a0
movl $0x3, (%rbx)
movq %r14, 0x8(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8984(%rip), %rdi      # 0xd785
leaq 0x7a91(%rip), %rsi      # 0xc899
leaq 0xa0ef(%rip), %rcx      # 0xeefe
movl $0x11ea, %edx           # imm = 0x11EA
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::value_calc_int(neteruhsp::value_t const&)
int value_calc_int( const value_t& r )
{
	switch( r.type_ )
	{
		case VALUE_INT:			return r.ivalue_;
		case VALUE_DOUBLE:		return static_cast<int>( r.dvalue_ );
		case VALUE_STRING:		return atoi( r.svalue_ );
		case VALUE_VARIABLE:	return variable_calc_int( *r.variable_, r.index_ ); break;
		default: assert( false ); break;
	}
	return 0;
}

// Assembly:
movl (%rdi), %eax
decl %eax
cmpl $0x3, %eax
ja 0x4e63
leaq 0x7568(%rip), %rcx      # 0xc3a0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x8(%rdi), %eax
retq
movq 0x8(%rdi), %rdi
jmp 0x2250
movq 0x8(%rdi), %rax
movl 0x10(%rdi), %esi
movq %rax, %rdi
jmp 0x6bb3
cvttsd2si 0x8(%rdi), %eax
retq
pushq %rax
leaq 0x891a(%rip), %rdi      # 0xd785
leaq 0x7a27(%rip), %rsi      # 0xc899
leaq 0x9faa(%rip), %rcx      # 0xee23
movl $0x1199, %edx           # imm = 0x1199
callq 0x20e0
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::(anonymous namespace)::create_string_from(int)
char* create_string_from( int v )
{
	const auto len = snprintf( nullptr, 0, "%d", v );
	auto res = create_string( len );
	sprintf( res, "%d", v );
	return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0xbca4(%rip), %r14      # 0x10b35
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0x2270
movslq %eax, %rdi
incq %rdi
callq 0x21d0
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2080
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::parse_script(neteruhsp::parse_context_t&)
list_t* parse_script( parse_context_t& c )
{
	auto res = create_list();

	for( ; ; )
	{
		auto statement = parse_statement( c );
		if ( statement == nullptr )
		{ break; }

		auto node = create_list_node();
		node->value_ = statement;
		list_append( *res, node );
	}

	{
		const auto token = read_token( c );
		if ( token->tag_ != TOKEN_EOF )
		{
			raise_error( "スクリプトを最後まで正しくパースできませんでした@@ %d行目", token->appear_line_ );
		}
	}

	return res;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x1, %edi
movl $0x10, %esi
callq 0x20f0
movq %rax, %rbx
movq %r14, %rdi
callq 0x4fbd
testq %rax, %rax
je 0x4f96
movq %rax, %r15
movl $0x1, %edi
movl $0x18, %esi
callq 0x20f0
movq %r15, 0x10(%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2be3
movq %r14, %rdi
callq 0x4fbd
movq %rax, %r15
testq %rax, %rax
jne 0x4f68
movq %r14, %rdi
callq 0x3619
cmpl $0x0, (%rax)
jne 0x4fac
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movl 0x18(%rax), %esi
leaq 0x8cfd(%rip), %rdi      # 0xdcb3
xorl %eax, %eax
callq 0x344d
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::parse_statement(neteruhsp::parse_context_t&)
ast_node_t* parse_statement( parse_context_t& c )
{
	// 何もない？
	{
		const auto token = read_token( c );
		if ( token->tag_ == TOKEN_EOF )
		{ return nullptr; }
		if ( is_eos_like_token( token->tag_ ) )
		{ return create_ast_node( NODE_EMPTY ); }
		unread_token( c );
	}

	ast_node_t* statement = nullptr;

	// ラベルを試す
	if ( statement == nullptr )
	{
		statement = parse_label_safe( c );
	}

	// 制御構文を試す
	if ( statement == nullptr )
	{
		statement = parse_control_safe( c );
	}

	// コマンドを試す
	if ( statement == nullptr )
	{
		statement = parse_command_safe( c );
	}

	// それ以外は全て代入
	if ( statement == nullptr )
	{
		statement = parse_assign_safe( c );
	}

	// ここまで来て何もないなら、パース不能
	if ( statement == nullptr )
	{
		const auto token = read_token( c );
		raise_error( "ステートメントが解析不能です@@ %d行目", token->appear_line_ );
	}

	// 最後の改行チェック
	{
		const auto token = read_token( c );
		if ( !is_eos_like_token( token->tag_ ) )
		{
			raise_error( "ステートメントをすべて正しく解析できませんでした@@ %d行目", token->appear_line_ );
		}
	}

	return statement;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3619
movl (%rax), %eax
leal -0x1(%rax), %ecx
cmpl $0x2, %ecx
jb 0x4fdc
testl %eax, %eax
je 0x4ffc
cmpl $0x5, %eax
jne 0x5001
movl $0x28, %edi
callq 0x21d0
movq %rax, %r14
movl $0x0, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x14(%rax)
jmp 0x5059
xorl %r14d, %r14d
jmp 0x5059
movl $0x1, %esi
movq %rbx, %rdi
callq 0x3669
movq %rbx, %rdi
callq 0x50be
testq %rax, %rax
jne 0x5042
movq %rbx, %rdi
callq 0x5121
testq %rax, %rax
jne 0x5042
movq %rbx, %rdi
callq 0x57fd
testq %rax, %rax
jne 0x5042
movq %rbx, %rdi
callq 0x58b3
testq %rax, %rax
je 0x5075
movq %rax, %r14
movq %rbx, %rdi
callq 0x3619
movl (%rax), %ecx
cmpl $0x3, %ecx
jb 0x5059
cmpl $0x5, %ecx
jne 0x5064
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl 0x18(%rax), %esi
leaq 0x8ccf(%rip), %rdi      # 0xdd3d
xorl %eax, %eax
callq 0x344d
movq %rbx, %rdi
callq 0x3619
movl 0x18(%rax), %esi
leaq 0x8c80(%rip), %rdi      # 0xdd07
jmp 0x506e
// File: /workspace/github_cpp_makefile_star2_O3/exrd[P]neteruhsp/neteruhsp/neteruhsp.cc
// Function: neteruhsp::destroy_ast(neteruhsp::list_t*)
void destroy_ast( list_t* ast )
{
	auto node = ast->head_;
	while( node != nullptr )
	{
		const auto ast_node = reinterpret_cast<ast_node_t*>( node->value_ );
		destroy_ast_node( ast_node );
		node = node->next_;
	}

	list_free_all( *ast );
	destroy_list( ast );
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x50a7
movq 0x10(%r14), %rdi
callq 0x4c8b
movq 0x8(%r14), %r14
jmp 0x5093
movq %rbx, %rdi
callq 0x2c8a
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x21a0