LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/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> 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>>>::find<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
const_iterator find(KeyT&& key) const
    {
        auto result = cend();

        if (is_object())
        {
            result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
        }

        return result;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2bfc8
cmpb $0x1, (%r15)
jne 0x2b571
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x29790
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x2cfdc
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x9898
movq %r14, %rdi
callq 0x97a0
// File: /workspace/github_cpp_makefile_star2_O2/Falldog[P]dcinja/src/include/inja/inja.hpp
// Function: std::vector<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*, std::allocator<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*>> inja::Renderer::get_argument_vector<true>(unsigned long, inja::AstNode const&)
Arguments get_argument_vector(size_t N, const AstNode& node) {
    Arguments result {N};
    for (size_t i = 0; i < N; i += 1) {
      result[N - i - 1] = json_eval_stack.top();
      json_eval_stack.pop();

      if (!result[N - i - 1]) {
        auto json_node = not_found_stack.top();
        not_found_stack.pop();

        if (throw_not_found) {
          throw_renderer_error("variable '" + static_cast<std::string>(json_node->name) + "' not found", *json_node);
        }
      }
    }
    return result;
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x40(%rsp), %rdx
movq %r14, %rsi
callq 0x2fa1e
leaq 0x68(%r15), %rax
movq %rax, 0x18(%rsp)
leaq 0xb8(%r15), %rax
movq %rax, 0x10(%rsp)
leaq 0x60(%rsp), %r13
movq %rbx, 0x8(%rsp)
subq $0x1, %r14
jb 0x2baeb
movq 0x98(%r15), %rax
cmpq 0xa0(%r15), %rax
jne 0x2ba2e
movq 0xb0(%r15), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %rax
movq (%rbx), %rcx
movq %rax, (%rcx,%r14,8)
movq 0x18(%rsp), %rdi
callq 0x2cb78
movq (%rbx), %rax
cmpq $0x0, (%rax,%r14,8)
jne 0x2ba01
movq 0xe8(%r15), %rax
cmpq 0xf0(%r15), %rax
jne 0x2ba70
movq 0x100(%r15), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movq -0x8(%rax), %r12
movq 0x10(%rsp), %rdi
callq 0x2cbce
leaq 0x10(%r12), %rsi
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x95f0
movq %r13, %rdi
leaq 0x1e1ff(%rip), %rsi     # 0x49c99
movq %rbx, %rdx
callq 0x17df0
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
leaq 0x1e1f0(%rip), %rdx     # 0x49ca4
callq 0x1093d
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x2b03a
movq %rbx, %rdi
callq 0x9898
movq %r13, %rdi
callq 0x9898
leaq 0x20(%rsp), %rdi
callq 0x9898
movq 0x8(%rsp), %rbx
jmp 0x2ba01
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2bb1b
movq %rax, %r14
jmp 0x2bb25
movq %rax, %r14
jmp 0x2bb2f
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x9898
leaq 0x60(%rsp), %rdi
callq 0x9898
leaq 0x20(%rsp), %rdi
callq 0x9898
movq 0x8(%rsp), %rdi
callq 0x2a44e
movq %r14, %rdi
callq 0x97a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2c026
movzbl (%rax), %ecx
cmpl $0x2, %ecx
je 0x2c010
cmpl $0x1, %ecx
jne 0x2c01d
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 0x1c439(%rip), %rdi     # 0x48467
leaq 0x1ac54(%rip), %rsi     # 0x46c89
leaq 0x1dd9e(%rip), %rcx     # 0x49dda
movl $0x2ae3, %edx           # imm = 0x2AE3
callq 0x92f0
// File: /workspace/github_cpp_makefile_star2_O2/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::detail::operator<(nlohmann::detail::value_t, nlohmann::detail::value_t)
inline bool operator<(const value_t lhs, const value_t rhs) noexcept
{
    static constexpr std::array<std::uint8_t, 9> order = {{
            0 /* null */, 3 /* object */, 4 /* array */, 5 /* string */,
            1 /* boolean */, 2 /* integer */, 2 /* unsigned */, 2 /* float */,
            6 /* binary */
        }
    };

    const auto l_index = static_cast<std::size_t>(lhs);
    const auto r_index = static_cast<std::size_t>(rhs);
    return l_index < order.size() && r_index < order.size() && order[l_index] < order[r_index];
}

// Assembly:
cmpb $0x9, %dil
setae %al
cmpb $0x9, %sil
setae %cl
orb %al, %cl
jne 0x2c384
movzbl %sil, %eax
movzbl %dil, %ecx
leaq 0x223dc(%rip), %rdx     # 0x4e756
movb (%rcx,%rdx), %cl
cmpb (%rax,%rdx), %cl
setb %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2cef7
movq %rdi, %rbx
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x2cee7
cmpl $0x1, %eax
jne 0x2ceee
leaq 0x8(%rbx), %rdi
pushq $-0x1
popq %rsi
callq 0x2bf08
jmp 0x2cef2
addq $-0x10, 0x10(%rbx)
jmp 0x2cef2
decq 0x18(%rbx)
movq %rbx, %rax
popq %rbx
retq
leaq 0x1b569(%rip), %rdi     # 0x48467
leaq 0x19d84(%rip), %rsi     # 0x46c89
leaq 0x1d0bc(%rip), %rcx     # 0x49fc8
movl $0x2b7f, %edx           # imm = 0x2B7F
callq 0x92f0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2d4e4
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x1d1fc
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x30, %rsp
movq (%rdi), %rax
testq %rax, %rax
je 0x2ddd6
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x2ddc1
cmpl $0x1, %eax
je 0x2ddf5
movq 0x18(%rdi), %rax
subq 0x18(%rsi), %rax
jmp 0x2ddcd
movq 0x10(%rdi), %rax
subq 0x10(%rsi), %rax
sarq $0x4, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1a68a(%rip), %rdi     # 0x48467
leaq 0x18ea5(%rip), %rsi     # 0x46c89
leaq 0x1c7bf(%rip), %rcx     # 0x4a5aa
movl $0x2c40, %edx           # imm = 0x2C40
callq 0x92f0
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %rbx
leaq 0x1c5bd(%rip), %rsi     # 0x4a3c4
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xc0a4
movb $0x1, %bpl
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0xd1, %esi
callq 0x2006c
xorl %ebp, %ebp
leaq 0x4314c(%rip), %rsi     # 0x70f80
leaq -0xc3e5(%rip), %rdx     # 0x21a56
movq %rbx, %rdi
callq 0x9760
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x9898
testb %bpl, %bpl
jne 0x2de5a
jmp 0x2de62
movq %rax, %r14
movq %rbx, %rdi
callq 0x9320
movq %r14, %rdi
callq 0x97a0
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x30, %rsp
movq (%rdi), %rax
cmpq (%rsi), %rax
jne 0x2e4f3
testq %rax, %rax
je 0x2e543
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x2e4df
cmpl $0x1, %eax
je 0x2e562
movq 0x18(%rdi), %rax
cmpq 0x18(%rsi), %rax
setl %al
jmp 0x2e4ea
movq 0x10(%rdi), %rax
cmpq 0x10(%rsi), %rax
setb %al
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %rbx
leaq 0x1b94e(%rip), %rsi     # 0x49e53
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xc0a4
movb $0x1, %bpl
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0xd4, %esi
callq 0x2006c
xorl %ebp, %ebp
leaq 0x42a4e(%rip), %rsi     # 0x70f80
leaq -0xcae3(%rip), %rdx     # 0x21a56
movq %rbx, %rdi
callq 0x9760
jmp 0x2e5b0
leaq 0x19f1d(%rip), %rdi     # 0x48467
leaq 0x18738(%rip), %rsi     # 0x46c89
leaq 0x1bf0f(%rip), %rcx     # 0x4a467
movl $0x2bc9, %edx           # imm = 0x2BC9
callq 0x92f0
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %rbx
leaq 0x1bf88(%rip), %rsi     # 0x4a4fc
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xc0a4
movb $0x1, %bpl
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0xd5, %esi
callq 0x2006c
xorl %ebp, %ebp
leaq 0x429df(%rip), %rsi     # 0x70f80
leaq -0xcb52(%rip), %rdx     # 0x21a56
movq %rbx, %rdi
callq 0x9760
jmp 0x2e5b4
jmp 0x2e5c8
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x9898
testb %bpl, %bpl
jne 0x2e5cb
jmp 0x2e5d3
movq %rax, %r14
movq %rbx, %rdi
callq 0x9320
movq %r14, %rdi
callq 0x97a0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x30, %rsp
movq (%rdi), %rax
testq %rax, %rax
je 0x2eaff
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x2eaeb
cmpl $0x1, %eax
je 0x2eb1e
addq %rsi, 0x18(%rdi)
jmp 0x2eaf3
shlq $0x4, %rsi
addq %rsi, 0x10(%rdi)
movq %rdi, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x19961(%rip), %rdi     # 0x48467
leaq 0x1817c(%rip), %rsi     # 0x46c89
leaq 0x1b81c(%rip), %rcx     # 0x4a330
movl $0x2bf9, %edx           # imm = 0x2BF9
callq 0x92f0
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %rbx
leaq 0x1b894(%rip), %rsi     # 0x4a3c4
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xc0a4
movb $0x1, %bpl
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0xd1, %esi
callq 0x2006c
xorl %ebp, %ebp
leaq 0x42423(%rip), %rsi     # 0x70f80
leaq -0xd10e(%rip), %rdx     # 0x21a56
movq %rbx, %rdi
callq 0x9760
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x9898
testb %bpl, %bpl
jne 0x2eb83
jmp 0x2eb8b
movq %rax, %r14
movq %rbx, %rdi
callq 0x9320
movq %r14, %rdi
callq 0x97a0
// File: /workspace/github_cpp_makefile_star2_O2/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
jne 0x31fa8
pushq %rax
leaq 0x19007(%rip), %rdi     # 0x4af92
leaq 0x14cf7(%rip), %rsi     # 0x46c89
leaq 0x19002(%rip), %rcx     # 0x4af9b
movl $0x3891, %edx           # imm = 0x3891
callq 0x92f0
addq %rdi, %rdi
decl %esi
testq %rdi, %rdi
jns 0x31fa3
movq %rdi, %rax
movl %esi, %edx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x31fd4
movq (%rdi), %rdx
movq %rdx, %rax
shlq %cl, %rax
movq %rax, %rdi
shrq %cl, %rdi
cmpq %rdx, %rdi
jne 0x31ff3
movl %esi, %edx
popq %rcx
retq
leaq 0x19002(%rip), %rdi     # 0x4afdd
leaq 0x14ca7(%rip), %rsi     # 0x46c89
leaq 0x18fff(%rip), %rcx     # 0x4afe8
movl $0x38a4, %edx           # imm = 0x38A4
callq 0x92f0
leaq 0x19046(%rip), %rdi     # 0x4b040
leaq 0x14c88(%rip), %rsi     # 0x46c89
leaq 0x18fe0(%rip), %rcx     # 0x4afe8
movl $0x38a5, %edx           # imm = 0x38A5
callq 0x92f0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x325aa
cmpq %rcx, %rdx
ja 0x325c9
subq %r8, %rcx
jb 0x325e8
testq %r9, %r9
je 0x32607
movl %esi, %eax
movq %r9, %rsi
subq %rdx, %rsi
movq %rdx, %r10
subq %r8, %r10
cmpq %rdx, %r8
jae 0x32589
subq %r9, %rcx
jb 0x32589
leaq (%r8,%r9), %r11
cmpq %rdx, %r11
jb 0x3256e
addq %rsi, %r8
cmpq %r8, %r10
jbe 0x32589
movb -0x1(%rdi,%rax), %r8b
cmpb $0x30, %r8b
je 0x3258b
decb %r8b
movb %r8b, -0x1(%rdi,%rax)
subq %r9, %r10
movq %r11, %r8
jmp 0x32553
popq %rax
retq
leaq 0x18e10(%rip), %rdi     # 0x4b3a2
leaq 0x146f0(%rip), %rsi     # 0x46c89
leaq 0x18d64(%rip), %rcx     # 0x4b304
movl $0x3a3f, %edx           # imm = 0x3A3F
callq 0x92f0
leaq 0x18d4a(%rip), %rdi     # 0x4b2fb
leaq 0x146d1(%rip), %rsi     # 0x46c89
leaq 0x18d45(%rip), %rcx     # 0x4b304
movl $0x3a23, %edx           # imm = 0x3A23
callq 0x92f0
leaq 0x18dac(%rip), %rdi     # 0x4b37c
leaq 0x146b2(%rip), %rsi     # 0x46c89
leaq 0x18d26(%rip), %rcx     # 0x4b304
movl $0x3a24, %edx           # imm = 0x3A24
callq 0x92f0
leaq 0x18d9b(%rip), %rdi     # 0x4b38a
leaq 0x14693(%rip), %rsi     # 0x46c89
leaq 0x18d07(%rip), %rcx     # 0x4b304
movl $0x3a25, %edx           # imm = 0x3A25
callq 0x92f0
leaq 0x18d8a(%rip), %rdi     # 0x4b398
leaq 0x14674(%rip), %rsi     # 0x46c89
leaq 0x18ce8(%rip), %rcx     # 0x4b304
movl $0x3a26, %edx           # imm = 0x3A26
callq 0x92f0
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %r14
cmpb $0x1, (%rdi)
jne 0x3f31d
movq 0x8(%r14), %rdi
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x3fa50
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %rbx
movq %r14, %rdi
callq 0x20438
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %rax, %rsi
callq 0xc0a4
leaq 0x9289(%rip), %rsi      # 0x485d2
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x17df0
movb $0x1, %bpl
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
movl $0x133, %esi            # imm = 0x133
callq 0x20382
xorl %ebp, %ebp
leaq 0x31c72(%rip), %rsi     # 0x70fe8
leaq -0x1d927(%rip), %rdx    # 0x21a56
movq %rbx, %rdi
callq 0x9760
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x9898
jmp 0x3f39a
movq %rax, %r14
movb $0x1, %bpl
leaq 0x10(%rsp), %rdi
callq 0x9898
testb %bpl, %bpl
jne 0x3f3ae
jmp 0x3f3b6
movq %rax, %r14
movq %rbx, %rdi
callq 0x9320
movq %r14, %rdi
callq 0x97a0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1e89(%rip), %rax      # 0x30c0
leaq 0x1de5(%rip), %rsi      # 0x3023
cmoveq %rax, %rsi
testb $0x4, %dil
leaq 0x1ddc(%rip), %rdx      # 0x3029
cmoveq %rax, %rdx
testb $0x8, %dil
leaq 0x1dd4(%rip), %rcx      # 0x3030
cmoveq %rax, %rcx
testb $0x10, %dil
leaq 0x1dcc(%rip), %r8       # 0x3037
cmoveq %rax, %r8
leaq 0x1d9a(%rip), %rdi      # 0x3010
xorl %eax, %eax
jmp 0x1030
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2720
leaq 0x4246(%rip), %rcx      # 0x54d0
movl %eax, (%rcx)
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x1340
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x1370
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x13a3
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x1532
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x1695
movl $0xf4240, %edi          # imm = 0xF4240
callq 0x16c5
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O2/bitwiseshiftleft[P]crandom/bench.cpp
// Function: void test<crandom::v_chacha<12, 128>, 2u, 22u>(int)
void test(int n) {
  unsigned int old_features = crandom_features,
    good = HAVE(new_features) && ((new_features & MUST_MASK) == (MUST_MASK & of_features));
  crandom_features = (crandom_features & ~of_features) | new_features | 1;
  print_features(new_features);
  
  if (good) {
    unsigned char key[generator::input_size], output[generator::output_size];
    int i;
    u_int64_t iv=0, ctr=0;
    bzero(key, sizeof(key));
    bzero(output, sizeof(output));
    
    double start=now();
    for (i=0; i<n; i++) {
      generator::expand(iv, ctr, key, output);
    }
    start = now() - start;
    
    printf("%s: %0.1f MB / %0.3f sec = %0.1f MB/sec\nchecksum = ",
           generator::get_name().c_str(),
           i * generator::output_size / 1000000.0,
           start,
           i * generator::output_size / 1000000.0 / start);
    for (i=16; i<32; i++) {
      printf("%02x", output[i]);
      if ((i&3)==3) printf(" ");
    }
    printf("\n\n");
  } else {
    printf("(unsupported)\n\n");
  }
  
  crandom_features = old_features;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movl %edi, %ebx
leaq 0x4113(%rip), %r13      # 0x54d0
movl (%r13), %r15d
pushq $0x2
popq %rbp
movl %ebp, %edi
callq 0x12cc
movl %eax, %r14d
movl (%r13), %eax
andl $-0x18, %eax
orl $0x3, %eax
movl %eax, (%r13)
movl %ebp, %edi
callq 0x122c
testl %r14d, %r14d
je 0x1510
movl %r15d, 0x14(%rsp)
leaq 0x18(%rsp), %r14
andq $0x0, (%r14)
xorpd %xmm0, %xmm0
leaq 0x20(%rsp), %r15
movapd %xmm0, (%r15)
movapd %xmm0, 0x10(%r15)
leaq 0x60(%rsp), %r12
movapd %xmm0, (%r12)
movapd %xmm0, 0x10(%r12)
movapd %xmm0, 0x20(%r12)
movapd %xmm0, 0x30(%r12)
movapd %xmm0, 0x40(%r12)
movapd %xmm0, 0x50(%r12)
movapd %xmm0, 0x60(%r12)
movapd %xmm0, 0x70(%r12)
callq 0x1311
movsd %xmm0, 0x8(%rsp)
xorl %eax, %eax
testl %ebx, %ebx
cmovlel %eax, %ebx
movl %ebx, %ebp
subl $0x1, %ebp
jb 0x1475
xorl %edi, %edi
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x1828
jmp 0x145e
callq 0x1311
subsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x1848
movq (%r14), %rsi
shll $0x7, %ebx
cvtsi2sd %ebx, %xmm0
divsd 0x1b63(%rip), %xmm0     # 0x3008
movapd %xmm0, %xmm2
movsd 0x8(%rsp), %xmm1
divsd %xmm1, %xmm2
leaq 0x1b82(%rip), %rdi      # 0x303c
movb $0x3, %al
callq 0x1030
movq %r14, %rdi
callq 0x1050
pushq $0x10
popq %r14
leaq 0x1b9c(%rip), %rbx      # 0x3070
pushq $0x20
popq %rbp
movl 0x14(%rsp), %r15d
cmpq $0x20, %r14
je 0x1507
movzbl 0x60(%rsp,%r14), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1030
movl %r14d, %eax
notl %eax
testb $0x3, %al
jne 0x1502
movl %ebp, %edi
callq 0x10c0
incq %r14
jmp 0x14dc
leaq 0x1bb1(%rip), %rdi      # 0x30bf
jmp 0x1517
leaq 0x1b9b(%rip), %rdi      # 0x30b2
callq 0x10d0
movl %r15d, (%r13)
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x130bd7(%rip), %rdi    # 0x244345
xorl %eax, %eax
callq 0x111060
xorpd %xmm0, %xmm0
popq %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x28, %rsp
leaq -0x28(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x2de0(%rip), %rbx      # 0x3fe0
leaq -0x38(%rbp), %r14
movq 0x2dc5(%rip), %r15      # 0x3fd0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1030
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1240
cmpq $0x0, -0x30(%rbp)
je 0x120b
movq %r15, %rdi
movq %r14, %rsi
callq 0x1070
movq %rax, %rdi
callq 0x1050
jmp 0x120b
leaq -0x38(%rbp), %rdi
callq 0x1040
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x1040
movq %rbx, %rdi
callq 0x1090
// File: /workspace/github_cpp_makefile_star2_O2/bigtit[P]ps3patcher/tmain.cc
// Function: show_help(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void show_help(string appname){
  cout << "Usage: " << appname << " options [inputfile]" << endl;
  cout << " -h --help" << setw(40) << "Display help information." << endl;
  cout << " -t --trvk" << setw(40) << "Set the trvkpatches flag." << endl;
  cout << " -f --force" << setw(38) << "Set the forcepatch flag." << endl;
  cout << " -a --autoexit" << setw(33) << "Set the autoexit flag." << endl;
  cout << " -s --swap" << setw(38) << "Enable the swap option." << endl;
  cout << " -d --debug" << setw(30) << "Show debug info." << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movq 0x3be3(%rip), %rbx      # 0x5fd0
leaq 0x1c10(%rip), %rsi      # 0x4004
movq %rbx, %rdi
callq 0x2110
movq %rax, %rdi
movq %r14, %rsi
callq 0x20f0
leaq 0x1bfe(%rip), %rsi      # 0x400c
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1bfc(%rip), %rsi      # 0x4021
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
pushq $0x28
popq %r14
movq %r14, 0x10(%rax,%rcx)
leaq 0x1be8(%rip), %rsi      # 0x402c
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1beb(%rip), %rsi      # 0x4046
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r14, 0x10(%rax,%rcx)
leaq 0x1bdb(%rip), %rsi      # 0x4051
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1bde(%rip), %rsi      # 0x406b
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
pushq $0x26
popq %r14
movq %r14, 0x10(%rax,%rcx)
leaq 0x1bcb(%rip), %rsi      # 0x4077
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1bcd(%rip), %rsi      # 0x4090
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x21, 0x10(%rax,%rcx)
leaq 0x1bbd(%rip), %rsi      # 0x409f
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1bbd(%rip), %rsi      # 0x40b6
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq %r14, 0x10(%rax,%rcx)
leaq 0x1bad(%rip), %rsi      # 0x40c1
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
callq 0x20a0
leaq 0x1bae(%rip), %rsi      # 0x40d9
movq %rbx, %rdi
callq 0x2110
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x1e, 0x10(%rax,%rcx)
leaq 0x1b9b(%rip), %rsi      # 0x40e5
movq %rax, %rdi
callq 0x2110
movq %rax, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x20a0
// File: /workspace/github_cpp_makefile_star2_O2/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 $0x228, %rsp            # imm = 0x228
movl %edx, %r14d
movq %rdi, %rbx
movq (%rsi), %rsi
leaq -0x240(%rbp), %r15
pushq $0x6
popq %rdx
movq %r15, %rdi
callq 0x2220
movq (%r15), %rax
movq -0x18(%rax), %rax
andl $0xffffefff, -0x228(%rbp,%rax) # imm = 0xFFFFEFFF
movq %r15, %rdi
callq 0x21f0
movq %rax, %r15
leaq -0x38(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x3168
leaq -0x240(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2190
movq -0x38(%rbp), %rsi
leaq -0x240(%rbp), %rdi
movq %r15, %rdx
callq 0x2160
testb %r14b, %r14b
je 0x2865
leaq -0x38(%rbp), %rdi
callq 0x2740
leaq -0x38(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x345e
movq %r14, %rdi
callq 0x339a
leaq -0x240(%rbp), %rdi
callq 0x2060
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2898
movq %rax, %rbx
jmp 0x28a9
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x339a
leaq -0x240(%rbp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2200
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2b5b(%rip), %xmm2     # 0x5004
cvtss2sd %xmm2, %xmm0
mulsd 0x2b8b(%rip), %xmm0     # 0x5040
cvtsd2ss %xmm0, %xmm0
callq 0x2220
movss 0x2b42(%rip), %xmm1     # 0x5008
divss %xmm0, %xmm1
xorps %xmm0, %xmm0
movups %xmm0, 0x14(%rbx)
andl $0x0, 0x34(%rbx)
movups %xmm0, 0x24(%rbx)
movups %xmm0, 0x4(%rbx)
movss %xmm1, (%rbx)
movaps -0x20(%rbp), %xmm3
movaps %xmm3, %xmm0
movss -0xc(%rbp), %xmm2
subss %xmm2, %xmm0
mulss %xmm3, %xmm2
xorps 0x2b54(%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_O2/kryffin[P]software-rasterizer/./geometry.cpp
// Function: lookAt(Vec3f, Vec3f, Vec3f)
Mat4f lookAt (Vec3f eye, Vec3f target, Vec3f upDir) {
    // compute the forward vector from target to eye
    Vec3f forward = (eye - target).normalize();

    // compute the left vector
    Vec3f left = (upDir.cross(forward)).normalize(); // cross product

    // recompute the orthonormal up vector
    Vec3f up = forward.cross(left);    // cross product

    // init 4x4 matrix
    Mat4f M = Mat4f(1.f);

    // set rotation part, inverse rotation matrix: M^-1 = M^T for Euclidean transform
    M.m[0][0] = left.x;
    M.m[1][0] = left.y;
    M.m[2][0] = left.z;
    M.m[0][1] = up.x;
    M.m[1][1] = up.y;
    M.m[2][1] = up.z;
    M.m[0][2] = forward.x;
    M.m[1][2] = forward.y;
    M.m[2][2] = forward.z;

    // set translation part
    M.m[3][0] = -left.x * eye.x - left.y * eye.y - left.z * eye.z;
    M.m[3][1] = -up.x * eye.x - up.y * eye.y - up.z * eye.z;
    M.m[3][2] = -forward.x * eye.x - forward.y * eye.y - forward.z * eye.z;

    return M;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movss %xmm1, -0x28(%rbp)
movaps %xmm0, -0x80(%rbp)
movq %rdi, %rbx
leaq -0xa0(%rbp), %r15
movlps %xmm4, (%r15)
movss %xmm5, 0x8(%r15)
movaps %xmm0, %xmm4
subps %xmm2, %xmm4
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movaps %xmm0, -0x70(%rbp)
movaps %xmm1, %xmm0
subss %xmm3, %xmm0
leaq -0x38(%rbp), %r12
movlps %xmm4, (%r12)
movss %xmm0, 0x8(%r12)
movq %r12, %rdi
callq 0x39b0
leaq -0x90(%rbp), %r14
movlps %xmm0, (%r14)
movss %xmm1, 0x8(%r14)
movq %r15, %rdi
callq 0x39f4
movlps %xmm0, (%r12)
movss %xmm1, 0x8(%r12)
leaq -0x38(%rbp), %rdi
callq 0x39b0
movaps %xmm0, -0x50(%rbp)
movss %xmm1, -0x24(%rbp)
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2     # xmm2 = xmm2[1,1],xmm0[1,1]
movaps %xmm2, -0x60(%rbp)
movq %r14, %rdi
callq 0x39f4
xorps %xmm2, %xmm2
andl $0x0, 0x2c(%rbx)
movups %xmm2, 0xc(%rbx)
movups %xmm2, 0x1c(%rbx)
movl $0x3f800000, 0x3c(%rbx) # imm = 0x3F800000
movaps -0x50(%rbp), %xmm10
movss %xmm10, (%rbx)
movaps -0x60(%rbp), %xmm7
movss %xmm7, 0x10(%rbx)
movss -0x24(%rbp), %xmm11
movss %xmm11, 0x20(%rbx)
movss %xmm0, 0x4(%rbx)
movaps %xmm0, %xmm5
shufps $0x55, %xmm0, %xmm5     # xmm5 = xmm5[1,1],xmm0[1,1]
movss %xmm5, 0x14(%rbx)
movss %xmm1, 0x24(%rbx)
movss (%r14), %xmm2
movss %xmm2, 0x8(%rbx)
movss 0x4(%r14), %xmm4
movss %xmm4, 0x18(%rbx)
movss 0x8(%r14), %xmm3
movss %xmm3, 0x28(%rbx)
movaps 0x2a12(%rip), %xmm6     # 0x5050
xorps %xmm6, %xmm10
movaps -0x70(%rbp), %xmm8
mulss %xmm8, %xmm7
movaps -0x80(%rbp), %xmm9
mulss %xmm9, %xmm10
subss %xmm7, %xmm10
movss -0x28(%rbp), %xmm7
mulss %xmm7, %xmm11
subss %xmm11, %xmm10
movss %xmm10, 0x30(%rbx)
xorps %xmm6, %xmm0
mulss %xmm8, %xmm5
mulss %xmm9, %xmm0
subss %xmm5, %xmm0
mulss %xmm7, %xmm1
subss %xmm1, %xmm0
movss %xmm0, 0x34(%rbx)
xorps %xmm6, %xmm2
mulss %xmm4, %xmm8
mulss %xmm9, %xmm2
subss %xmm8, %xmm2
mulss %xmm7, %xmm3
subss %xmm3, %xmm2
movss %xmm2, 0x38(%rbx)
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, 0x28(%rdi)
andl $0x0, 0x38(%rdi)
movups %xmm1, 0x18(%rdi)
movups %xmm1, 0x8(%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, 0x28(%rdi)
callq 0x2110
movss %xmm0, (%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x2946(%rip), %xmm0     # 0x5050
movss %xmm0, 0x10(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x4(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2110
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_O2/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, 0x14(%rdi)
andq $0x0, 0x34(%rdi)
movups %xmm1, 0x24(%rdi)
movups %xmm1, 0x4(%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, 0x14(%rdi)
callq 0x2110
movss %xmm0, (%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x20(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x28b9(%rip), %xmm0     # 0x5050
movss %xmm0, 0x8(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2110
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_O2/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, 0x24(%rdi)
andq $0x0, 0x34(%rdi)
movups %xmm1, 0x14(%rdi)
movups %xmm1, 0x4(%rdi)
movl $0x3f800000, %r14d      # imm = 0x3F800000
movl %r14d, (%rdi)
callq 0x2110
movss %xmm0, 0x14(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
xorps 0x284a(%rip), %xmm0     # 0x5050
movss %xmm0, 0x24(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2140
movss %xmm0, 0x18(%rbx)
movss -0x14(%rbp), %xmm0
callq 0x2110
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_O2/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, 0x14(%rdi)
movups %xmm3, 0x24(%rdi)
movups %xmm3, 0x4(%rdi)
andq $0x0, 0x34(%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_O2/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, 0x14(%rdi)
movups %xmm3, 0x20(%rdi)
movups %xmm3, 0x4(%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_O2/kryffin[P]software-rasterizer/rasterizer.cpp
// Function: writeImage(std::vector<int, std::allocator<int>>)
void writeImage (std::vector<int>frameBuffer) {
    std::ofstream file;
    file.open("out.ppm");
    file << "P3" << std::endl << WIDTH << " " << HEIGHT << std::endl << 255 << std::endl;
    int x, y, c;
    for (y = 0; y < HEIGHT; y++) {
        for (x = WIDTH-1; x >= 0; x--) { //reverse course to inverse the rendered image along the x-axis
            for (c = 0; c < 3; c++) {
                file << frameBuffer[((x + (y * WIDTH)) * 3) + c] << " ";
            }
        }
        file << std::endl;
    }
    file.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdi, %rbx
leaq -0x240(%rbp), %r14
movq %r14, %rdi
callq 0x2270
leaq 0x24c7(%rip), %rsi      # 0x5080
pushq $0x10
popq %rdx
movq %r14, %rdi
callq 0x2040
leaq 0x24bd(%rip), %rsi      # 0x5088
leaq -0x240(%rbp), %rdi
callq 0x2170
movq %rax, %rdi
callq 0x20b0
movq %rax, %rdi
movl $0x320, %esi            # imm = 0x320
callq 0x2280
leaq 0x2599(%rip), %rsi      # 0x518c
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
movl $0x320, %esi            # imm = 0x320
callq 0x2280
movq %rax, %rdi
callq 0x20b0
movq %rax, %rdi
movl $0xff, %esi
callq 0x2280
movq %rax, %rdi
callq 0x20b0
xorl %r12d, %r12d
movl $0x95d, -0x2c(%rbp)     # imm = 0x95D
leaq 0x2556(%rip), %r15      # 0x518c
cmpl $0x320, %r12d           # imm = 0x320
je 0x2cac
movl $0x31f, %eax            # imm = 0x31F
movl -0x2c(%rbp), %ecx
movq %r12, -0x40(%rbp)
testl %eax, %eax
js 0x2c98
movl %eax, -0x34(%rbp)
movl %ecx, -0x30(%rbp)
movl %ecx, %r12d
shlq $0x2, %r12
xorl %r13d, %r13d
cmpq $0x3, %r13
je 0x2c87
movq (%rbx), %rax
addq %r12, %rax
movl (%rax,%r13,4), %esi
movq %r14, %rdi
callq 0x2280
movq %rax, %rdi
movq %r15, %rsi
callq 0x2170
incq %r13
jmp 0x2c5f
movl -0x34(%rbp), %eax
decl %eax
movl -0x30(%rbp), %ecx
addl $-0x3, %ecx
movq -0x40(%rbp), %r12
jmp 0x2c4b
movq %r14, %rdi
callq 0x20b0
incl %r12d
addl $0x960, -0x2c(%rbp)     # imm = 0x960
jmp 0x2c36
leaq -0x240(%rbp), %rdi
callq 0x2200
leaq -0x240(%rbp), %rdi
callq 0x2230
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2cdc
jmp 0x2cdc
jmp 0x2cdc
movq %rax, %rbx
leaq -0x240(%rbp), %rdi
callq 0x2230
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq -0x19(%rbp), %rdx
movl $0x1d4c00, %esi         # imm = 0x1D4C00
callq 0x3a40
movq (%r15), %rax
movq (%rbx), %rcx
movq (%r14), %rdx
addq $0x8, %rcx
xorl %esi, %esi
cmpq $0x320, %rsi            # imm = 0x320
je 0x346c
movq %rcx, %rdi
xorl %r8d, %r8d
cmpq $0x271000, %r8          # imm = 0x271000
je 0x345b
movl (%rax,%r8), %r9d
movl %r9d, -0x8(%rdi)
andl $0x0, -0x4(%rdi)
movl (%rdx,%r8), %r9d
movl %r9d, (%rdi)
addq $0xc80, %r8             # imm = 0xC80
addq $0x2580, %rdi           # imm = 0x2580
jmp 0x342f
incq %rsi
addq $0x4, %rax
addq $0x4, %rdx
addq $0xc, %rcx
jmp 0x3420
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq