LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::get<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 0>() const
ValueType get() const noexcept(noexcept(
                                       JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>())))
    {
        // we cannot static_assert on ValueTypeCV being non-const, because
        // there is support for get<const basic_json_t>(), which is why we
        // still need the uncvref
        static_assert(!std::is_reference<ValueTypeCV>::value,
                      "get() cannot be used with reference types, you might want to use get_ref()");
        static_assert(std::is_default_constructible<ValueType>::value,
                      "types must be DefaultConstructible when used with get()");

        ValueType ret;
        JSONSerializer<ValueType>::from_json(*this, ret);
        return ret;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x389fb
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x374b9
movq (%r15), %rsi
incq %rsi
callq 0x93c0
movq %r14, %rdi
callq 0x9790
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const>::set_end()
void set_end() noexcept
    {
        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
            {
                m_it.object_iterator = m_object->m_value.object->end();
                break;
            }

            case value_t::array:
            {
                m_it.array_iterator = m_object->m_value.array->end();
                break;
            }

            default:
            {
                m_it.primitive_iterator.set_end();
                break;
            }
        }
    }

// Assembly:
movq (%rdi), %rax
testq %rax, %rax
je 0x37da8
movzbl (%rax), %ecx
cmpl $0x2, %ecx
je 0x37d92
cmpl $0x1, %ecx
jne 0x37d9f
movq 0x8(%rax), %rax
addq $0x8, %rax
movq %rax, 0x8(%rdi)
retq
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x10(%rdi)
retq
movq $0x1, 0x18(%rdi)
retq
pushq %rax
leaq 0x20717(%rip), %rdi     # 0x584c7
leaq 0x1ef32(%rip), %rsi     # 0x56ce9
leaq 0x21ed7(%rip), %rcx     # 0x59c95
movl $0x2ae3, %edx           # imm = 0x2AE3
callq 0x92a0
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const>::operator--()
iter_impl& operator--()
    {
        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
            {
                std::advance(m_it.object_iterator, -1);
                break;
            }

            case value_t::array:
            {
                std::advance(m_it.array_iterator, -1);
                break;
            }

            default:
            {
                --m_it.primitive_iterator;
                break;
            }
        }

        return *this;
    }

// Assembly:
pushq %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x38960
movq %rdi, %rbx
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x38950
cmpl $0x1, %eax
jne 0x38957
movq 0x8(%rbx), %rdi
callq 0x9420
movq %rax, 0x8(%rbx)
jmp 0x3895b
addq $-0x10, 0x10(%rbx)
jmp 0x3895b
decq 0x18(%rbx)
movq %rbx, %rax
popq %rbx
retq
leaq 0x1fb60(%rip), %rdi     # 0x584c7
leaq 0x1e37b(%rip), %rsi     # 0x56ce9
leaq 0x2150e(%rip), %rcx     # 0x59e83
movl $0x2b7f, %edx           # imm = 0x2B7F
callq 0x92a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: void nlohmann::detail::external_constructor<(nlohmann::detail::value_t)2>::construct<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>, std::vector<int, std::allocator<int>>, 0>(nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>&, std::vector<int, std::allocator<int>> const&)
static void construct(BasicJsonType& j, const CompatibleArrayType& arr)
    {
        using std::begin;
        using std::end;
        j.m_type = value_t::array;
        j.m_value.array = j.template create<typename BasicJsonType::array_t>(begin(arr), end(arr));
        j.assert_invariant();
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movb $0x2, (%rdi)
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq 0x8(%rsi), %rax
movq %rsp, %rsi
movq %rax, (%rsi)
callq 0x38e04
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x2450a
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>>::operator-(nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>> const&) const
difference_type operator-(const iter_impl& other) const
    {
        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
                JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators"));

            case value_t::array:
                return m_it.array_iterator - other.m_it.array_iterator;

            default:
                return m_it.primitive_iterator - other.m_it.primitive_iterator;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq (%rdi), %rax
testq %rax, %rax
je 0x398b2
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x3989b
cmpl $0x1, %eax
je 0x398d1
movq 0x18(%rdi), %rax
subq 0x18(%rsi), %rax
jmp 0x398a7
movq 0x10(%rdi), %rax
subq 0x10(%rsi), %rax
sarq $0x4, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ec0e(%rip), %rdi     # 0x584c7
leaq 0x1d429(%rip), %rsi     # 0x56ce9
leaq 0x20986(%rip), %rcx     # 0x5a24d
movl $0x2c40, %edx           # imm = 0x2C40
callq 0x92a0
movl $0x20, %edi
callq 0x91f0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x20779(%rip), %rsi     # 0x5a067
leaq 0x2079a(%rip), %rdx     # 0x5a08f
leaq 0x8(%rsp), %rdi
callq 0x12646
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd1, %esi
callq 0x27eb0
xorl %ebp, %ebp
leaq 0x3e66b(%rip), %rsi     # 0x77f88
leaq -0xf2ca(%rip), %rdx     # 0x2a65a
movq %rbx, %rdi
callq 0x9750
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3994e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x3994e
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3995b
movq %rbx, %rdi
callq 0x92e0
movq %r14, %rdi
callq 0x9790
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>>::operator<(nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>> const&) const
bool operator<(const iter_impl& other) const
    {
        // if objects are not the same, the comparison is undefined
        if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
        {
            JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers"));
        }

        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
                JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators"));

            case value_t::array:
                return (m_it.array_iterator < other.m_it.array_iterator);

            default:
                return (m_it.primitive_iterator < other.m_it.primitive_iterator);
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq (%rdi), %rax
cmpq (%rsi), %rax
jne 0x39f75
testq %rax, %rax
je 0x39fd2
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x39f5f
cmpl $0x1, %eax
je 0x39ff1
movq 0x18(%rdi), %rax
cmpq 0x18(%rsi), %rax
setl %al
jmp 0x39f6a
movq 0x10(%rdi), %rax
cmpq 0x10(%rsi), %rax
setb %al
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x91f0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1fd7c(%rip), %rsi     # 0x59d0e
leaq 0x1fda5(%rip), %rdx     # 0x59d3e
leaq 0x8(%rsp), %rdi
callq 0x12646
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd4, %esi
callq 0x27eb0
xorl %ebp, %ebp
leaq 0x3dfc7(%rip), %rsi     # 0x77f88
leaq -0xf96e(%rip), %rdx     # 0x2a65a
movq %rbx, %rdi
callq 0x9750
jmp 0x3a04c
leaq 0x1e4ee(%rip), %rdi     # 0x584c7
leaq 0x1cd09(%rip), %rsi     # 0x56ce9
leaq 0x20123(%rip), %rcx     # 0x5a10a
movl $0x2bc9, %edx           # imm = 0x2BC9
callq 0x92a0
movl $0x20, %edi
callq 0x91f0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x20191(%rip), %rsi     # 0x5a19f
leaq 0x201b2(%rip), %rdx     # 0x5a1c7
leaq 0x8(%rsp), %rdi
callq 0x12646
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd5, %esi
callq 0x27eb0
xorl %ebp, %ebp
leaq 0x3df4b(%rip), %rsi     # 0x77f88
leaq -0xf9ea(%rip), %rdx     # 0x2a65a
movq %rbx, %rdi
callq 0x9750
jmp 0x3a050
jmp 0x3a06c
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a072
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x3a072
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3a07f
movq %rbx, %rdi
callq 0x92e0
movq %r14, %rdi
callq 0x9790
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::iter_impl<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>>::operator+=(long)
iter_impl& operator+=(difference_type i)
    {
        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
                JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators"));

            case value_t::array:
            {
                std::advance(m_it.array_iterator, i);
                break;
            }

            default:
            {
                m_it.primitive_iterator += i;
                break;
            }
        }

        return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq (%rdi), %rax
testq %rax, %rax
je 0x3a809
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x3a7f3
cmpl $0x1, %eax
je 0x3a828
addq %rsi, 0x18(%rdi)
jmp 0x3a7fb
shlq $0x4, %rsi
addq %rsi, 0x10(%rdi)
movq %rdi, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1dcb7(%rip), %rdi     # 0x584c7
leaq 0x1c4d2(%rip), %rsi     # 0x56ce9
leaq 0x1f7b5(%rip), %rcx     # 0x59fd3
movl $0x2bf9, %edx           # imm = 0x2BF9
callq 0x92a0
movl $0x20, %edi
callq 0x91f0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1f822(%rip), %rsi     # 0x5a067
leaq 0x1f843(%rip), %rdx     # 0x5a08f
leaq 0x8(%rsp), %rdi
callq 0x12646
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd1, %esi
callq 0x27eb0
xorl %ebp, %ebp
leaq 0x3d714(%rip), %rsi     # 0x77f88
leaq -0x10221(%rip), %rdx    # 0x2a65a
movq %rbx, %rdi
callq 0x9750
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a8a5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x3a8a5
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x3a8b2
movq %rbx, %rdi
callq 0x92e0
movq %r14, %rdi
callq 0x9790
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::serializer<nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>>::dump_float(double)
void dump_float(number_float_t x)
    {
        // NaN / inf
        if (!std::isfinite(x))
        {
            o->write_characters("null", 4);
            return;
        }

        // If number_float_t is an IEEE-754 single or double precision number,
        // use the Grisu2 algorithm to produce short numbers which are
        // guaranteed to round-trip, using strtof and strtod, resp.
        //
        // NB: The test below works if <long double> == <double>.
        static constexpr bool is_ieee_single_or_double
            = (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 24 && std::numeric_limits<number_float_t>::max_exponent == 128) ||
              (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 53 && std::numeric_limits<number_float_t>::max_exponent == 1024);

        dump_float(x, std::integral_constant<bool, is_ieee_single_or_double>());
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
cmpq %rcx, %rax
jl 0x3dab7
movq (%rbx), %rdi
movq (%rdi), %rax
movq 0x8(%rax), %rax
leaq 0x1abad(%rip), %rsi     # 0x58656
movl $0x4, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
leaq 0x10(%rbx), %r14
leaq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0x3db59
movq (%rbx), %rdi
subq %r14, %rax
movq (%rdi), %rcx
movq 0x8(%rcx), %rcx
movq %r14, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rcx
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::dtoa_impl::diyfp::normalize(nlohmann::detail::dtoa_impl::diyfp)
static diyfp normalize(diyfp x) noexcept
    {
        JSON_ASSERT(x.f != 0);

        while ((x.f >> 63u) == 0)
        {
            x.f <<= 1u;
            x.e--;
        }

        return x;
    }

// Assembly:
testq %rdi, %rdi
je 0x3e277
js 0x3e271
addq %rdi, %rdi
decl %esi
testq %rdi, %rdi
jns 0x3e267
movq %rdi, %rax
movl %esi, %edx
retq
pushq %rax
leaq 0x1c852(%rip), %rdi     # 0x5aad1
leaq 0x18a63(%rip), %rsi     # 0x56ce9
leaq 0x1c84d(%rip), %rcx     # 0x5aada
movl $0x3891, %edx           # imm = 0x3891
callq 0x92a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::dtoa_impl::diyfp::normalize_to(nlohmann::detail::dtoa_impl::diyfp const&, int)
static diyfp normalize_to(const diyfp& x, const int target_exponent) noexcept
    {
        const int delta = x.e - target_exponent;

        JSON_ASSERT(delta >= 0);
        JSON_ASSERT(((x.f << delta) >> delta) == x.f);

        return {x.f << delta, target_exponent};
    }

// Assembly:
pushq %rax
movl 0x8(%rdi), %ecx
subl %esi, %ecx
js 0x3e2b8
movq (%rdi), %rdx
movq %rdx, %rax
shlq %cl, %rax
movq %rax, %rdi
shrq %cl, %rdi
cmpq %rdx, %rdi
jne 0x3e2d7
movl %esi, %edx
popq %rcx
retq
leaq 0x1c85d(%rip), %rdi     # 0x5ab1c
leaq 0x18a23(%rip), %rsi     # 0x56ce9
leaq 0x1c85a(%rip), %rcx     # 0x5ab27
movl $0x38a4, %edx           # imm = 0x38A4
callq 0x92a0
leaq 0x1c8a1(%rip), %rdi     # 0x5ab7f
leaq 0x18a04(%rip), %rsi     # 0x56ce9
leaq 0x1c83b(%rip), %rcx     # 0x5ab27
movl $0x38a5, %edx           # imm = 0x38A5
callq 0x92a0
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::dtoa_impl::grisu2_round(char*, int, unsigned long, unsigned long, unsigned long, unsigned long)
inline void grisu2_round(char* buf, int len, std::uint64_t dist, std::uint64_t delta,
                         std::uint64_t rest, std::uint64_t ten_k)
{
    JSON_ASSERT(len >= 1);
    JSON_ASSERT(dist <= delta);
    JSON_ASSERT(rest <= delta);
    JSON_ASSERT(ten_k > 0);

    //               <--------------------------- delta ---->
    //                                  <---- dist --------->
    // --------------[------------------+-------------------]--------------
    //               M-                 w                   M+
    //
    //                                  ten_k
    //                                <------>
    //                                       <---- rest ---->
    // --------------[------------------+----+--------------]--------------
    //                                  w    V
    //                                       = buf * 10^k
    //
    // ten_k represents a unit-in-the-last-place in the decimal representation
    // stored in buf.
    // Decrement buf by ten_k while this takes buf closer to w.

    // The tests are written in this order to avoid overflow in unsigned
    // integer arithmetic.

    while (rest < dist
            && delta - rest >= ten_k
            && (rest + ten_k < dist || dist - rest > rest + ten_k - dist))
    {
        JSON_ASSERT(buf[len - 1] != '0');
        buf[len - 1]--;
        rest += ten_k;
    }
}

// Assembly:
pushq %rax
testl %esi, %esi
jle 0x3e90f
cmpq %rcx, %rdx
ja 0x3e92e
movq %rcx, %r10
subq %r8, %r10
jb 0x3e94d
testq %r9, %r9
je 0x3e96c
movq %rdx, %rax
subq %r8, %rax
setbe %r11b
cmpq %r9, %r10
setb %r10b
orb %r11b, %r10b
jne 0x3e8ee
movl %esi, %esi
addq %r9, %r8
subq %r8, %rcx
movq %rdx, %r10
negq %r10
cmpq %rdx, %r8
jb 0x3e8c4
leaq (%r10,%r8), %r11
cmpq %r11, %rax
jbe 0x3e8ee
movb -0x1(%rdi,%rsi), %r11b
cmpb $0x30, %r11b
je 0x3e8f0
decb %r11b
movb %r11b, -0x1(%rdi,%rsi)
subq %r9, %rcx
setb %r11b
cmpq %rdx, %r8
jae 0x3e8ee
subq %r9, %rax
addq %r9, %r8
testb %r11b, %r11b
je 0x3e8b6
popq %rax
retq
leaq 0x1c5ea(%rip), %rdi     # 0x5aee1
leaq 0x183eb(%rip), %rsi     # 0x56ce9
leaq 0x1c53e(%rip), %rcx     # 0x5ae43
movl $0x3a3f, %edx           # imm = 0x3A3F
callq 0x92a0
leaq 0x1c524(%rip), %rdi     # 0x5ae3a
leaq 0x183cc(%rip), %rsi     # 0x56ce9
leaq 0x1c51f(%rip), %rcx     # 0x5ae43
movl $0x3a23, %edx           # imm = 0x3A23
callq 0x92a0
leaq 0x1c586(%rip), %rdi     # 0x5aebb
leaq 0x183ad(%rip), %rsi     # 0x56ce9
leaq 0x1c500(%rip), %rcx     # 0x5ae43
movl $0x3a24, %edx           # imm = 0x3A24
callq 0x92a0
leaq 0x1c575(%rip), %rdi     # 0x5aec9
leaq 0x1838e(%rip), %rsi     # 0x56ce9
leaq 0x1c4e1(%rip), %rcx     # 0x5ae43
movl $0x3a25, %edx           # imm = 0x3A25
callq 0x92a0
leaq 0x1c564(%rip), %rdi     # 0x5aed7
leaq 0x1836f(%rip), %rsi     # 0x56ce9
leaq 0x1c4c2(%rip), %rcx     # 0x5ae43
movl $0x3a26, %edx           # imm = 0x3A26
callq 0x92a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::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::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::erase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
size_type erase(const typename object_t::key_type& key)
    {
        // this erase only works for objects
        if (JSON_HEDLEY_LIKELY(is_object()))
        {
            return m_value.object->erase(key);
        }

        JSON_THROW(type_error::create(307, "cannot use erase() with " + std::string(type_name())));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
cmpb $0x1, (%rdi)
jne 0x4cff7
movq 0x8(%r14), %rbx
movq %rbx, %rdi
callq 0x4d82e
movq 0x28(%rbx), %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x4d8d6
subq 0x28(%rbx), %r14
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x91f0
movq %rax, %rbx
movq %r14, %rdi
callq 0x2858a
movq %rax, %r14
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rax, %rdi
callq 0x91b0
leaq (%rax,%r14), %rdx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x12646
leaq 0xb5fa(%rip), %rsi      # 0x58632
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x1dc69
movb $0x1, %bpl
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
movl $0x133, %esi            # imm = 0x133
callq 0x28424
xorl %ebp, %ebp
leaq 0x2af8b(%rip), %rsi     # 0x77ff0
leaq -0x22a12(%rip), %rdx    # 0x2a65a
movq %rbx, %rdi
callq 0x9750
movq %rax, %r14
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d09a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x4d09a
movq %rax, %r14
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x4d0b9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x4d0b9
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x4d0c6
movq %rbx, %rdi
callq 0x92e0
movq %r14, %rdi
callq 0x9790
// File: /workspace/github_cpp_makefile_star2_O1/bitwiseshiftleft[P]crandom/bench.cpp
// Function: print_features(unsigned int)
void print_features(unsigned int features) {
  printf("features:%s%s%s%s\n",
         (features & SSE2)  ? " SSE2"  : "",
         (features & SSSE3) ? " SSSE3" : "",
         (features & AESNI) ? " AESNI" : "",
         (features & XOP)   ? " XOP"   : "");
}

// Assembly:
testb $0x2, %dil
leaq 0x1e8f(%rip), %rax      # 0x3096
leaq 0x1e15(%rip), %rsi      # 0x3023
cmoveq %rax, %rsi
testb $0x4, %dil
leaq 0x1e0c(%rip), %rdx      # 0x3029
cmoveq %rax, %rdx
testb $0x8, %dil
leaq 0x1e04(%rip), %rcx      # 0x3030
cmoveq %rax, %rcx
testb $0x10, %dil
leaq 0x1dfc(%rip), %r8       # 0x3037
cmoveq %rax, %r8
leaq 0x1dca(%rip), %rdi      # 0x3010
xorl %eax, %eax
jmp 0x1030
// File: /workspace/github_cpp_makefile_star2_O1/bitwiseshiftleft[P]crandom/bench.cpp
// Function: main
int main(int argc, char **argv) {
  (void) argc; (void) argv;
  crandom_features = crandom_detect_features();
  
  test<chacha, SSE2 | SSSE3 | XOP, SSE2 | SSSE3 | XOP>(1000000);
  test<chacha, SSE2 | SSSE3, SSE2 | SSSE3 | XOP>(1000000);
  test<chacha, SSE2, SSE2 | SSSE3 | XOP>(1000000);
  test<chacha, 0, SSE2 | SSSE3 | XOP>(1000000);
  
  test<aes, AESNI, AESNI>(1000000);
  test<aes, 0, AESNI>(1000000);
  
  return 0;
}

// Assembly:
pushq %rax
callq 0x296c
leaq 0x4266(%rip), %rcx      # 0x54c0
movl %eax, (%rcx)
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x129c
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x12ee
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x133f
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x1564
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x175b
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x17a5
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk-extras/exprtk_gcd.cpp
// Function: double gcd_println<double>(double, double, double)
T gcd_println(T x, T y, T z)
{
   printf("gcd(%2d,%2d) = %2d\n",
          static_cast<int>(x),
          static_cast<int>(y),
          static_cast<int>(z));

   return T(0);
}

// Assembly:
pushq %rax
cvttsd2si %xmm0, %esi
cvttsd2si %xmm1, %edx
cvttsd2si %xmm2, %ecx
leaq 0x1b8e02(%rip), %rdi    # 0x2d5b05
xorl %eax, %eax
callq 0x119050
xorpd %xmm0, %xmm0
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH03_StringsVectorsAndArrays/examples/string_size3.cc
// Function: main
int main() 
{
	string line;

	// read input a line at a time and discard blank lines
	while (getline(cin, line))
		if (!line.empty())
			cout << line << endl;

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movq 0x2db7(%rip), %rbx      # 0x3fe0
leaq -0x48(%rbp), %r14
movq 0x2d9c(%rip), %r15      # 0x3fd0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x12a5
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
je 0x1234
movq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0x1080
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %r12, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
jmp 0x1234
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x12ba
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x1070
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x12e3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x1070
movq %rbx, %rdi
callq 0x10a0
// File: /workspace/github_cpp_makefile_star2_O1/bigtit[P]ps3patcher/patcher.cc
// Function: patcher::get_pdata(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void patcher::get_pdata(string name, bool swap){
  std::ifstream freader(name.c_str(), std::ios::binary|std::ios::ate);
  freader >> std::noskipws;
  auto pos = freader.tellg();
  std::vector<byte> tmp(pos);

  freader.seekg(0, std::ios::beg);
  freader.read(&tmp[0], pos);
  if(swap) pbase::swap_bytes(tmp); // swap_byte(vector<byte>&, pos_type)

  pdata = std::move(tmp); // c++11 dafahao
  return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movl %edx, %r14d
movq %rdi, %rbx
movq (%rsi), %rsi
leaq -0x248(%rbp), %r15
movq %r15, %rdi
movl $0x6, %edx
callq 0x2260
movq (%r15), %rax
movq -0x18(%rax), %rax
andl $0xffffefff, -0x230(%rbp,%rax) # imm = 0xFFFFEFFF
movq %r15, %rdi
callq 0x2220
movq %rax, %r15
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x3916
leaq -0x248(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21c0
movq -0x40(%rbp), %rsi
leaq -0x248(%rbp), %rdi
movq %r15, %rdx
callq 0x21a0
testb %r14b, %r14b
je 0x2b51
leaq -0x40(%rbp), %rdi
callq 0x29ec
movq (%rbx), %rdi
movq -0x40(%rbp), %rax
movq %rax, (%rbx)
movq -0x38(%rbp), %rax
movq %rax, 0x8(%rbx)
movq -0x30(%rbp), %rax
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
testq %rdi, %rdi
je 0x2b84
callq 0x2120
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x2b92
callq 0x2120
leaq -0x248(%rbp), %rdi
callq 0x2060
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2bae
movq %rax, %rbx
jmp 0x2bc4
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x2bc4
callq 0x2120
leaq -0x248(%rbp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2230
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: projectionMatrix(float, float, float, float, float)
Mat4f projectionMatrix (float near, float far, float fov, float width, float height) {
    float aspectRatio = (float)height / (float)width;
    float fovRad = 1.f / tanf((fov / 2.f) * (M_PI / 180.f));

    Mat4f P;

    P.m[0][0] = fovRad;
    P.m[1][1] = fovRad;
    P.m[2][2] = -(far / (far - near));
    P.m[2][3] = (far * near) / (far - near);
    P.m[3][2] = -1.f;
    P.m[3][3] = 0.f;

    return P;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
movaps %xmm1, -0x20(%rbp)
movss %xmm0, -0xc(%rbp)
movq %rdi, %rbx
mulss 0x2a78(%rip), %xmm2     # 0x5004
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
mulsd 0x2aad(%rip), %xmm0     # 0x5048
cvtsd2ss %xmm0, %xmm0
callq 0x2260
movss 0x2a5c(%rip), %xmm1     # 0x5008
divss %xmm0, %xmm1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x30(%rbx)
movss %xmm1, (%rbx)
movaps -0x20(%rbp), %xmm3
movaps %xmm3, %xmm0
movss -0xc(%rbp), %xmm2
subss %xmm2, %xmm0
mulss %xmm3, %xmm2
xorps 0x2a6f(%rip), %xmm3     # 0x5050
movss %xmm1, 0x14(%rbx)
divss %xmm0, %xmm3
movss %xmm3, 0x28(%rbx)
divss %xmm0, %xmm2
movss %xmm2, 0x2c(%rbx)
movl $0xbf800000, %eax       # imm = 0xBF800000
movq %rax, 0x38(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: rotationZ(float)
Mat4f rotationZ (float angle) {
	Mat4f out;
	out.m[2][2] = 1.f;
	out.m[0][0] = cosf(angle);
	out.m[1][0] = -sinf(angle);
	out.m[0][1] = sinf(angle);
	out.m[1][1] = cosf(angle);
	out.m[3][3] = 1.f;
	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movss %xmm0, -0x14(%rbp)
movq %rdi, %rbx
xorps %xmm1, %xmm1
movups %xmm1, 0x20(%rdi)
movups %xmm1, 0x30(%rdi)
movups %xmm1, 0x10(%rdi)
movups %xmm1, (%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, 0x28(%rdi)
callq 0x2120
movss %xmm0, (%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x2799(%rip), %xmm0     # 0x5050
movss %xmm0, 0x10(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x4(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2120
movss %xmm0, 0x14(%rbx)
movl %r14d, 0x3c(%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: rotationY(float)
Mat4f rotationY (float angle) {
	Mat4f out;
	out.m[1][1] = 1.f;
	out.m[0][0] = cosf(angle);
	out.m[2][0] = sinf(angle);
	out.m[0][2] = -sinf(angle);
	out.m[2][2] = cosf(angle);
	out.m[3][3] = 1.f;
	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movss %xmm0, -0x14(%rbp)
movq %rdi, %rbx
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rdi)
movups %xmm1, 0x30(%rdi)
movups %xmm1, 0x20(%rdi)
movups %xmm1, (%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, 0x14(%rdi)
callq 0x2120
movss %xmm0, (%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x20(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x270e(%rip), %xmm0     # 0x5050
movss %xmm0, 0x8(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2120
movss %xmm0, 0x28(%rbx)
movl %r14d, 0x3c(%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: rotationX(float)
Mat4f rotationX (float angle) {
	Mat4f out;
	out.m[0][0] = 1.f;
	out.m[1][1] = cosf(angle);
	out.m[2][1] = -sinf(angle);
	out.m[1][2] = sinf(angle);
	out.m[2][2] = cosf(angle);
	out.m[3][3] = 1.f;
	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movss %xmm0, -0x14(%rbp)
movq %rdi, %rbx
xorps %xmm1, %xmm1
movups %xmm1, (%rdi)
movups %xmm1, 0x30(%rdi)
movups %xmm1, 0x20(%rdi)
movups %xmm1, 0x10(%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, (%rdi)
callq 0x2120
movss %xmm0, 0x14(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x26a1(%rip), %xmm0     # 0x5050
movss %xmm0, 0x24(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x18(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2120
movss %xmm0, 0x28(%rbx)
movl %r14d, 0x3c(%rbx)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: scale(float, float, float)
Mat4f scale (float x, float y, float z) {
	Mat4f S;
	S.m[0][0] = x;
	S.m[1][1] = y;
	S.m[2][2] = z;
	S.m[3][3] = 1.f;
	return S;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
xorps %xmm3, %xmm3
movups %xmm3, (%rdi)
movups %xmm3, 0x10(%rdi)
movups %xmm3, 0x20(%rdi)
movups %xmm3, 0x30(%rdi)
movss %xmm0, (%rdi)
movss %xmm1, 0x14(%rdi)
movss %xmm2, 0x28(%rdi)
movl $0x3f800000, 0x3c(%rdi) # imm = 0x3F800000
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: translation(float, float, float)
Mat4f translation (float x, float y, float z) {
	Mat4f T = Mat4f(1.f);
	T.m[3][0] = x;
	T.m[3][1] = y;
	T.m[3][2] = z;
	return T;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
xorps %xmm3, %xmm3
movups %xmm3, (%rdi)
movups %xmm3, 0x10(%rdi)
movups %xmm3, 0x20(%rdi)
movups %xmm3, 0x30(%rdi)
movl $0x3f800000, %ecx       # imm = 0x3F800000
movl %ecx, (%rdi)
movl %ecx, 0x14(%rdi)
movl %ecx, 0x28(%rdi)
movl %ecx, 0x3c(%rdi)
movss %xmm0, 0x30(%rdi)
movss %xmm1, 0x34(%rdi)
movss %xmm2, 0x38(%rdi)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/rasterizer.cpp
// Function: barycenter(Vec3f, Vec3f, Vec3f, Vec3f)
Vec3f barycenter (Vec3f a, Vec3f b, Vec3f c, Vec3f pixel) {
	Vec3f bc = Vec3f();
	bc.x = (c.x-b.x)*(pixel.y-b.y) - (c.y-b.y)*(pixel.x-b.x);
	bc.y = (a.x-c.x)*(pixel.y-c.y) - (a.y-c.y)*(pixel.x-c.x);
	bc.z = (b.x-a.x)*(pixel.y-a.y) - (b.y-a.y)*(pixel.x-a.x);
	return bc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movaps %xmm4, %xmm5
movaps %xmm0, %xmm7
subss %xmm4, %xmm7
movaps %xmm6, %xmm8
subss %xmm4, %xmm8
movaps %xmm4, %xmm9
subss %xmm2, %xmm9
movaps %xmm6, %xmm1
shufps $0x55, %xmm6, %xmm1     # xmm1 = xmm1[1,1],xmm6[1,1]
movaps %xmm2, %xmm4
shufps $0x55, %xmm2, %xmm4     # xmm4 = xmm4[1,1],xmm2[1,1]
movaps %xmm1, %xmm3
subss %xmm4, %xmm3
mulss %xmm9, %xmm3
shufps $0x55, %xmm5, %xmm5     # xmm5 = xmm5[1,1,1,1]
movaps %xmm6, %xmm9
subss %xmm2, %xmm9
movaps %xmm1, %xmm10
subss %xmm5, %xmm10
subss %xmm0, %xmm2
subss %xmm0, %xmm6
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movaps %xmm0, %xmm11
subss %xmm5, %xmm11
subss %xmm4, %xmm5
mulss %xmm5, %xmm9
subss %xmm9, %xmm3
mulss %xmm7, %xmm10
mulss %xmm11, %xmm8
subss %xmm8, %xmm10
unpcklps %xmm10, %xmm3           # xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1]
subss %xmm0, %xmm1
mulss %xmm2, %xmm1
subss %xmm0, %xmm4
mulss %xmm4, %xmm6
subss %xmm6, %xmm1
movaps %xmm3, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/rasterizer.cpp
// Function: mix_channels(std::vector<int, std::allocator<int>>, std::vector<int, std::allocator<int>>)
std::vector<int> mix_channels(std::vector<int> buffR, std::vector<int> buffB){
    std::vector<int>frameBuffer(WIDTH * HEIGHT * 3); //vector representing the anaglyph render
    
    //red buffer goes in red channel, blue buffer in blue channel
    for (int x = 0; x < WIDTH; x++) {
        for (int y = 0; y < HEIGHT; y++) {
            frameBuffer[((x + (y * WIDTH)) * 3) + 0] = buffR[x + (y * WIDTH)]; //red
            frameBuffer[((x + (y * WIDTH)) * 3) + 1] = 0; //green
            frameBuffer[((x + (y * WIDTH)) * 3) + 2] = buffB[x + (y * WIDTH)]; //blue
        }
    }

    return frameBuffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, -0x30(%rbp)
movq %rsi, %r12
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x753000, %edi         # imm = 0x753000
callq 0x2190
movq %rax, %r14
movq %rax, (%rbx)
movq %rax, 0x8(%rbx)
leaq 0x753000(%rax), %r15
movq %r15, 0x10(%rbx)
xorl %r13d, %r13d
movl $0x753000, %edx         # imm = 0x753000
movq %rax, %rdi
xorl %esi, %esi
callq 0x20c0
movq %r15, 0x8(%rbx)
movq (%r12), %rax
movq -0x30(%rbp), %rcx
movq (%rcx), %rcx
addq $0x8, %r14
movq %r14, %rdx
xorl %esi, %esi
movl (%rax,%rsi), %edi
movl %edi, -0x8(%rdx)
movl $0x0, -0x4(%rdx)
movl (%rcx,%rsi), %edi
movl %edi, (%rdx)
addq $0xc80, %rsi            # imm = 0xC80
addq $0x2580, %rdx           # imm = 0x2580
cmpq $0x271000, %rsi         # imm = 0x271000
jne 0x3806
incq %r13
addq $0x4, %rax
addq $0x4, %rcx
addq $0xc, %r14
cmpq $0x320, %r13            # imm = 0x320
jne 0x3801
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./parser.cpp
// Function: Model::triangleVertice(int, int)
int triangleVertice (int ti, int i) {
	    assert(ti >= 0 && ti < nTriangles() && i >= 0 && i < 3);
	    if (i == 0) return triangles[ti].x;
	    if (i == 1) return triangles[ti].y;
	    return triangles[ti].z;
	}

// Assembly:
testl %esi, %esi
js 0x3f18
cmpl $0x2, %edx
ja 0x3f18
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
cmpl %esi, %ecx
jle 0x3f18
movl %esi, %ecx
leaq (%rcx,%rcx,2), %rcx
cmpl $0x1, %edx
je 0x3f03
testl %edx, %edx
jne 0x3f0d
leaq (%rax,%rcx,4), %rax
jmp 0x3f15
leaq (%rax,%rcx,4), %rax
addq $0x4, %rax
jmp 0x3f15
leaq (%rax,%rcx,4), %rax
addq $0x8, %rax
movl (%rax), %eax
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x117c(%rip), %rdi      # 0x509f
leaq 0x11a5(%rip), %rsi      # 0x50cf
leaq 0x11ab(%rip), %rcx      # 0x50dc
movl $0x54, %edx
callq 0x20f0
nop
// File: /workspace/github_cpp_makefile_star2_O1/kryffin[P]software-rasterizer/./geometry.cpp
// Function: Mat4f::operator*(Vec3f)
Vec3f operator* (Vec3f in) {
		Vec3f out = Vec3f(
			out.x = in.x * m[0][0] + in.y * m[1][0] + in.z * m[2][0] + m[3][0],
			out.y = in.x * m[0][1] + in.y * m[1][1] + in.z * m[2][1] + m[3][1],
			out.z = in.x * m[0][2] + in.y * m[1][2] + in.z * m[2][2] + m[3][2]
		);

		float w = in.x * m[0][3] + in.y * m[1][3] + in.z * m[2][3] + m[3][3];

		if (w != 0.f) {
			out.x /= w;
			out.y /= w;
			out.z /= w;
		}

		return out;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movss (%rdi), %xmm2
mulss %xmm0, %xmm2
movss 0x4(%rdi), %xmm3
mulss %xmm0, %xmm3
movss 0x8(%rdi), %xmm4
mulss %xmm0, %xmm4
movss 0xc(%rdi), %xmm6
mulss %xmm0, %xmm6
movaps %xmm0, %xmm7
shufps $0x55, %xmm0, %xmm7     # xmm7 = xmm7[1,1],xmm0[1,1]
movss 0x10(%rdi), %xmm0
mulss %xmm7, %xmm0
addss %xmm0, %xmm2
movss 0x20(%rdi), %xmm0
mulss %xmm1, %xmm0
addss %xmm2, %xmm0
addss 0x30(%rdi), %xmm0
movss 0x14(%rdi), %xmm2
mulss %xmm7, %xmm2
addss %xmm2, %xmm3
movss 0x24(%rdi), %xmm5
mulss %xmm1, %xmm5
addss %xmm3, %xmm5
addss 0x34(%rdi), %xmm5
movss 0x18(%rdi), %xmm2
mulss %xmm7, %xmm2
addss %xmm2, %xmm4
movss 0x28(%rdi), %xmm2
mulss %xmm1, %xmm2
addss %xmm4, %xmm2
addss 0x38(%rdi), %xmm2
mulss 0x1c(%rdi), %xmm7
mulss 0x2c(%rdi), %xmm1
addss %xmm7, %xmm6
addss %xmm6, %xmm1
addss 0x3c(%rdi), %xmm1
xorps %xmm3, %xmm3
ucomiss %xmm3, %xmm1
jne 0x408c
jnp 0x409d
divss %xmm1, %xmm0
divss %xmm1, %xmm5
unpcklps %xmm5, %xmm0            # xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
divss %xmm1, %xmm2
jmp 0x40a0
unpcklps %xmm5, %xmm0            # xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
movaps %xmm2, %xmm1
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/src/utils.hpp
// Function: range(long)
vector<int64_t> range(int64_t stop){
	vector<int64_t> out(stop);
	int64_t i = 0;
	for (int64_t x=0 ; x < stop ; x++){
		out[i++] = x;
	}
	return out;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x7(%rsp), %rdx
callq 0x4c96
testq %r14, %r14
jle 0x2376
movq (%rbx), %rax
xorl %ecx, %ecx
movq %rcx, (%rax,%rcx,8)
incq %rcx
cmpq %rcx, %r14
jne 0x236a
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/src/utils.hpp
// Function: range(long, long, long)
vector<int64_t> range(int64_t start, int64_t stop, int64_t step=1){

	if ((start > stop) and (step > 0)){
		start = stop;
	}

	int64_t i = 0;
	vector<int64_t> out((stop-start)/step);
	for (int64_t x=start ; x < stop ; x = x + step){
		out[i++] = x;
	}
	return out;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
cmpq %rdx, %rsi
movq %rdx, %r12
cmovlq %rsi, %r12
testq %rcx, %rcx
cmovleq %rsi, %r12
movq %rdx, %rax
subq %r12, %rax
cqto
idivq %rcx
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x4c96
cmpq %r12, %r14
jle 0x23d2
movq (%r15), %rax
movq %r12, (%rax)
addq %rbx, %r12
addq $0x8, %rax
cmpq %r14, %r12
jl 0x23c3
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/test/test_ndarray.cpp
// Function: testOutOfBounds()
void testOutOfBounds(){
	array<size_t, 2> shape = {16, 16};
	vector<int64_t> basevec  = range(product<size_t>(shape));
	auto array = ndarray<int64_t, 2>(basevec.data(), shape);

	try{
		array[array.shape[0]];
		assert(false); // exception not thrown!
	} catch(IndexError){}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movl $0x10, %eax
movq %rax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movl $0x1, %eax
xorl %ecx, %ecx
imull 0x60(%rsp,%rcx), %eax
addq $0x8, %rcx
cmpq $0x10, %rcx
jne 0x2ad4
movslq %eax, %rbx
movq %rsp, %rdi
leaq 0x60(%rsp), %rdx
movq %rbx, %rsi
callq 0x4c96
testl %ebx, %ebx
jle 0x2b0c
movq (%rsp), %rax
xorl %ecx, %ecx
movq %rcx, (%rax,%rcx,8)
incq %rcx
cmpq %rcx, %rbx
jne 0x2b00
movq (%rsp), %rsi
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %r8
movaps %xmm0, (%r8)
movaps %xmm0, 0x10(%r8)
leaq 0x2308(%rip), %rax      # 0x4e30
movq %rax, (%r8)
leaq 0x33ea(%rip), %rax      # 0x5f1c
movq %rax, 0x18(%r8)
leaq 0x33e7(%rip), %rax      # 0x5f24
movq %rax, 0x10(%r8)
leaq 0x60(%rsp), %rdi
movl $0x10, %edx
movl $0x10, %ecx
callq 0x4d20
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x2b6e
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x60(%rsp), %rsi
movq 0x20(%rsi), %rdx
leaq 0xa0(%rsp), %rdi
callq 0x4e32
leaq 0xa0(%rsp), %rdi
callq 0x52e4
leaq 0x453a(%rip), %rdi      # 0x70d2
leaq 0x44a9(%rip), %rsi      # 0x7048
leaq 0x4532(%rip), %rcx      # 0x70d8
movl $0x2f, %edx
callq 0x20b0
jmp 0x2cba
movq %rax, %rbx
cmpl $0x2, %edx
jne 0x2c5a
movq %rbx, %rdi
callq 0x2130
leaq 0x70b0(%rip), %r14      # 0x9c80
leaq 0x20(%rsp), %rdi
movq %r14, -0x8(%rdi)
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
callq 0x59d6
movq %rbx, %rdi
callq 0x2070
movq %r14, 0x18(%rsp)
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2c16
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2120
leaq 0x18(%rsp), %rdi
callq 0x21c0
callq 0x2180
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x2c34
callq 0x5924
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2c4a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2120
addq $0xd0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x2c9c
callq 0x5924
jmp 0x2c9c
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x21c0
movq %rbx, %rdi
callq 0x52f2
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x2c9c
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2cb2
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2120
movq %rbx, %rdi
callq 0x21a0
movq %rax, %rdi
callq 0x52f2
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/test/test_ndarray.cpp
// Function: main
int main(){

	testAssignment();
	testOutOfBounds();
	testSlicing();
	testIterator();
	testBroadcasting();

	return 0;
}

// Assembly:
pushq %rax
callq 0x23e1
callq 0x2ab2
callq 0x2cc2
callq 0x4135
callq 0x4932
xorl %eax, %eax
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/src/funcs.hpp
// Function: Ndarray<long, 2ul> ndarray<long, 2ul>(long*, std::array<unsigned long, 2ul>, std::function<void (long*)>)
Ndarray<T, N> ndarray(T* data_, array<size_t, N> shape_, function<void(T*)> destructor_=_deleteNothing<T>){
	return Ndarray<T,N>(product(shape_),
						0,
						shared_ptr<T>(data_, destructor_),
						shape_,
						calcStrides(shape_)
						);	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rdx, 0x18(%rsp)
movq %rcx, 0x20(%rsp)
movl $0x1, %ebp
xorl %eax, %eax
imull 0x18(%rsp,%rax), %ebp
addq $0x8, %rax
cmpq $0x10, %rax
jne 0x4d4b
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %r8, %rsi
callq 0x5a82
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x5ae8
movslq %ebp, %rax
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rbx)
movq 0x10(%rsp), %rax
movq %rax, 0x18(%rbx)
testq %rax, %rax
je 0x4db4
movq 0x5232(%rip), %rcx      # 0x9fd8
cmpb $0x0, (%rcx)
je 0x4db0
incl 0x8(%rax)
jmp 0x4db4
lock
incl 0x8(%rax)
movq %r15, 0x20(%rbx)
movq %r14, 0x28(%rbx)
movq %r14, 0x30(%rbx)
movq $0x1, 0x38(%rbx)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4dd7
callq 0x5924
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x4df0
leaq 0x28(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4e28
movq %rax, %rbx
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x4e20
leaq 0x28(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x21a0
movq %rax, %rdi
callq 0x52f2
// File: /workspace/github_cpp_makefile_star2_O1/schaefed[P]Ndarray/src/ndarray.hpp
// Function: Ndarray<long, 2ul>::operator[](long)
Ndarray<T,N-1> operator[](int64_t idx){

		idx = this->updateIndex(idx, 0);
		this->checkIndex(idx, 0);

		auto newshape = subarray<size_t, N-1>(this->shape, 1);
		auto start = idx * this->strides[0];

		return Ndarray<T, N-1>(product(newshape),
							   start + this->offset,
							   shared_ptr<T>(this->data, this->data.get()+start),
							   newshape,
							   subarray<size_t, N-1>(this->strides, 1)
							   );
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, %r14
sarq $0x3f, %r14
andq 0x20(%rsi), %r14
addq %rdx, %r14
movq %rsi, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x5f46
movq 0x18(%r15), %rdi
imulq 0x30(%r15), %r14
movq 0x28(%r15), %rax
movslq %eax, %rcx
movq 0x8(%r15), %rdx
addq %r14, %rdx
shlq $0x3, %r14
addq 0x10(%r15), %r14
testq %rdi, %rdi
je 0x4e91
movq 0x5155(%rip), %rsi      # 0x9fd8
cmpb $0x0, (%rsi)
je 0x4e8d
incl 0x8(%rdi)
jmp 0x4e91
lock
incl 0x8(%rdi)
movq 0x38(%r15), %rsi
movq %rcx, (%rbx)
movq %rdx, 0x8(%rbx)
movq %r14, 0x10(%rbx)
movq %rdi, 0x18(%rbx)
testq %rdi, %rdi
je 0x4eba
movq 0x5128(%rip), %rcx      # 0x9fd8
cmpb $0x0, (%rcx)
je 0x4ec4
incl 0x8(%rdi)
jmp 0x4ec8
movq %rax, 0x20(%rbx)
movq %rsi, 0x28(%rbx)
jmp 0x4eda
lock
incl 0x8(%rdi)
movq %rax, 0x20(%rbx)
movq %rsi, 0x28(%rbx)
testq %rdi, %rdi
je 0x4eda
callq 0x5924
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
nop