LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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>::json_value::destroy(nlohmann::detail::value_t)
void destroy(value_t t)
        {
            switch (t)
            {
                case value_t::object:
                {
                    AllocatorType<object_t> alloc;
                    alloc.destroy(object);
                    alloc.deallocate(object, 1);
                    break;
                }

                case value_t::array:
                {
                    AllocatorType<array_t> alloc;
                    alloc.destroy(array);
                    alloc.deallocate(array, 1);
                    break;
                }

                case value_t::string:
                {
                    AllocatorType<string_t> alloc;
                    alloc.destroy(string);
                    alloc.deallocate(string, 1);
                    break;
                }

                default:
                {
                    break;
                }
            }
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x3, %esi
je 0xf2e6
cmpl $0x2, %esi
je 0xf2d6
cmpl $0x1, %esi
jne 0xf318
movq (%rbx), %rdi
callq 0xf320
movl $0x30, %r14d
jmp 0xf306
movq (%rbx), %rdi
callq 0xf3a4
movl $0x18, %r14d
jmp 0xf306
movq (%rbx), %rax
movq (%rax), %rdi
addq $0x10, %rax
movl $0x20, %r14d
cmpq %rax, %rdi
je 0xf306
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq (%rbx), %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xa5d0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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> 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>::operator[]<char const>(char const*) const
const_reference operator[](T* key) const
    {
        // at only works for objects
        if (JSON_LIKELY(is_object()))
        {
            assert(m_value.object->find(key) != m_value.object->end());
            return m_value.object->find(key)->second;
        }

        JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name())));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
cmpb $0x1, (%rdi)
jne 0xfb16
movq %rsi, %rbx
movq 0x8(%r14), %r15
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xd3c6
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0xfe8a
movq 0x8(%r14), %rcx
addq $0x8, %rcx
cmpq %rcx, %rax
je 0xfb93
leaq 0x18(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0xfac7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x8(%r14), %r14
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
movq %rbx, %rsi
callq 0xd3c6
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0xfe8a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xfb04
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0x40, %rbx
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xa2d0
movq %rax, %rbx
movzbl (%r14), %eax
cmpq $0x8, %rax
ja 0xfb3a
leaq 0x45914(%rip), %rcx     # 0x55448
movq (%rcx,%rax,8), %rsi
jmp 0xfb41
leaq 0x2cba0(%rip), %rsi     # 0x3c6e1
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xd3c6
leaq 0x2cb38(%rip), %rsi     # 0x3c68f
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xfdfa
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xfc94
xorl %ebp, %ebp
leaq 0x4594c(%rip), %rsi     # 0x554d0
leaq 0x2df(%rip), %rdx       # 0xfe6a
movq %rbx, %rdi
callq 0xaa00
leaq 0x2c966(%rip), %rdi     # 0x3c500
leaq 0x2c77b(%rip), %rsi     # 0x3c31c
leaq 0x2c98b(%rip), %rcx     # 0x3c533
movl $0x27a7, %edx           # imm = 0x27A7
callq 0xa3c0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0xfbd4
jmp 0xfc3e
jmp 0xfbe3
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfc3e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0xfc3e
movq %rax, %r14
jmp 0xfc3e
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfc0e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0xfc0e
movq %rax, %r14
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xfc31
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0xfc31
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0xfc3e
movq %rbx, %rdi
callq 0xa450
movq %r14, %rdi
callq 0xaa30
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/date.cc
// Function: cordpp::Date::toString[abi:cxx11]() const
const std::string Date::toString() const {
  char t[126] = {0};
  static const char* format = "%Y-%m-%dT%H:%M:%SZ";
  std::strftime(t, sizeof(t), format, &dtime);
  return std::string(t);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movups %xmm0, 0x6e(%r14)
movaps %xmm0, 0x60(%r14)
movaps %xmm0, 0x50(%r14)
movaps %xmm0, 0x40(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
leaq 0x2c89a(%rip), %rdx     # 0x3cbb8
movl $0x7e, %esi
movq %r14, %rdi
callq 0xa4c0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0xa2a0
leaq (%rsp,%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf09e
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/gateway.cc
// Function: cordpp::Gateway::Gateway(cordpp::Client*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned char&, unsigned char&)
Gateway::Gateway(Client *client,
  const std::string &host, uint8_t &id, uint8_t &max)
  : shard_id(id), max_shards(max), beat(client->service.get())
{
  this->host_url = host; 
  this->client = client;
  this->resume_delay = 0;
  this->is_resume = false;
  conn = std::make_unique<WebsockClient>(client->service);
  connect(); 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r15
movq %rcx, (%rdi)
movq %r8, 0x8(%rdi)
leaq 0x10(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x20(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x10(%rdi)
xorl %eax, %eax
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x10(%rsp)
movq %rax, 0x30(%rdi)
leaq 0x60(%rdi), %r14
movq %r14, 0x50(%rdi)
movq %rax, 0x58(%rdi)
movb %al, 0x60(%rdi)
leaq 0x18(%rsi), %rbp
movq %rbp, %rdi
callq 0x25e48
leaq 0x70(%r15), %r12
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x16ed8
movq 0x18(%rsp), %rdi
movq %rbx, %rsi
callq 0xa340
movq %r13, 0xe8(%r15)
movl $0x0, 0x4c(%r15)
movb $0x0, 0x38(%r15)
movl $0x3a0, %edi            # imm = 0x3A0
callq 0xa5b0
movq %rax, %rbx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x39ae8
leaq 0x20(%rsp), %r13
movq $0x0, (%r13)
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x147f2
movq %r13, %rdi
callq 0xf440
movq %r15, %rdi
callq 0x10bd6
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
movl $0x3a0, %esi            # imm = 0x3A0
movq %rbx, %rdi
callq 0xa5d0
jmp 0x10b83
jmp 0x10b80
movq %rax, %r13
movq %r12, %rdi
callq 0xdb26
jmp 0x10b90
movq %rax, %r13
movq 0x50(%r15), %rdi
cmpq %r14, %rdi
je 0x10ba4
movq (%r14), %rsi
incq %rsi
callq 0xa5d0
movq 0x10(%rsp), %rdi
callq 0xf440
movq 0x18(%rsp), %rax
movq (%rax), %rdi
cmpq 0x8(%rsp), %rdi
je 0x10bcd
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq %r13, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// Function: void 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>>::dump_integer<long, 0>(long)
void dump_integer(NumberType x)
    {
        // special case for "0"
        if (x == 0)
        {
            o->write_character('0');
            return;
        }

        const bool is_negative = x < 0;
        std::size_t i = 0;

        // spare 1 byte for '\0'
        while (x != 0 and i < number_buffer.size() - 1)
        {
            const auto digit = std::labs(static_cast<long>(x % 10));
            number_buffer[i++] = static_cast<char>('0' + digit);
            x /= 10;
        }

        // make sure the number has been processed completely
        assert(x == 0);

        if (is_negative)
        {
            // make sure there is capacity for the '-'
            assert(i < number_buffer.size() - 2);
            number_buffer[i++] = '-';
        }

        std::reverse(number_buffer.begin(), number_buffer.begin() + i);
        o->write_characters(number_buffer.data(), i);
    }

// Assembly:
pushq %rax
testq %rsi, %rsi
je 0x165c4
xorl %ecx, %ecx
movabsq $0x6666666666666667, %r9 # imm = 0x6666666666666667
movq %rsi, %r8
cmpq $0x3f, %rcx
je 0x165d5
movq %r8, %rax
imulq %r9
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x2, %rdx
addq %rax, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %r8, %r10
subq %rax, %r10
movq %r10, %rax
negq %rax
cmovsq %r10, %rax
addb $0x30, %al
movb %al, 0x10(%rdi,%rcx)
incq %rcx
addq $0x9, %r8
cmpq $0x13, %r8
movq %rdx, %r8
jae 0x1651f
testq %rsi, %rsi
jns 0x16582
leaq -0x1(%rcx), %rax
cmpq $0x3d, %rax
jae 0x165f4
movb $0x2d, 0x10(%rdi,%rcx)
incq %rcx
leaq 0x10(%rdi), %rsi
leaq (%rdi,%rcx), %rax
addq $0xf, %rax
cmpq %rsi, %rax
jbe 0x165b4
leaq 0x11(%rdi), %rdx
movb -0x1(%rdx), %r8b
movb (%rax), %r9b
movb %r9b, -0x1(%rdx)
movb %r8b, (%rax)
decq %rax
leaq 0x1(%rdx), %r8
cmpq %rax, %rdx
movq %r8, %rdx
jb 0x16597
movq (%rdi), %rdi
movq (%rdi), %rax
movq 0x8(%rax), %rax
movq %rcx, %rdx
popq %rcx
jmpq *%rax
movq (%rdi), %rdi
movq (%rdi), %rax
movq (%rax), %rax
movl $0x30, %esi
popq %rcx
jmpq *%rax
leaq 0x2740f(%rip), %rdi     # 0x3d9eb
leaq 0x25d39(%rip), %rsi     # 0x3c31c
leaq 0x27408(%rip), %rcx     # 0x3d9f2
movl $0x19b2, %edx           # imm = 0x19B2
callq 0xa3c0
leaq 0x27487(%rip), %rdi     # 0x3da82
leaq 0x25d1a(%rip), %rsi     # 0x3c31c
leaq 0x273e9(%rip), %rcx     # 0x3d9f2
movl $0x19b7, %edx           # imm = 0x19B7
callq 0xa3c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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>::operator[](unsigned long) const
const_reference operator[](size_type idx) const
    {
        // const operator[] only works for arrays
        if (JSON_LIKELY(is_array()))
        {
            return m_value.array->operator[](idx);
        }

        JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name())));
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %r14
cmpb $0x2, (%rdi)
jne 0x1c27b
movq 0x8(%r14), %rax
shlq $0x4, %rsi
addq (%rax), %rsi
movq %rsi, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl $0x20, %edi
callq 0xa2d0
movq %rax, %rbx
movzbl (%r14), %eax
cmpq $0x8, %rax
ja 0x1c29f
leaq 0x3961f(%rip), %rcx     # 0x558b8
movq (%rcx,%rax,8), %rsi
jmp 0x1c2a6
leaq 0x2043b(%rip), %rsi     # 0x3c6e1
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xd3c6
leaq 0x203d3(%rip), %rsi     # 0x3c68f
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xfdfa
movb $0x1, %bpl
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xfc94
xorl %ebp, %ebp
leaq 0x391e7(%rip), %rsi     # 0x554d0
leaq -0xc486(%rip), %rdx     # 0xfe6a
movq %rbx, %rdi
callq 0xaa00
movq %rax, %r14
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c31e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0x1c31e
movq %rax, %r14
movb $0x1, %bpl
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c341
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0x1c341
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x1c34e
movq %rbx, %rdi
callq 0xa450
movq %r14, %rdi
callq 0xaa30
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// Function: nlohmann::detail::json_ref<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>>::moved_or_copied() const
value_type moved_or_copied() const
    {
        if (is_rvalue)
        {
            return std::move(*value_ref);
        }
        else
        {
            return *value_ref;
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rsi), %r14
cmpb $0x1, 0x18(%rsi)
jne 0x1c392
movb (%r14), %al
movb %al, (%rbx)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
movq %r14, %rdi
callq 0xf20e
movb $0x0, (%r14)
movq $0x0, 0x8(%r14)
movq %rbx, %rdi
callq 0xf20e
jmp 0x1c39d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1c3a8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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>::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
iterator find(typename object_t::key_type key)
    {
        auto result = end();

        if (is_object())
        {
            result.m_it.object_iterator = m_value.object->find(key);
        }

        return result;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x1d08c
cmpb $0x1, (%r15)
jne 0x1d083
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xfe8a
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// Function: nlohmann::detail::lexer<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>>::add(int)
void add(int c)
    {
        // resize yytext if necessary; this condition is deemed unlikely,
        // because we start with a 1024-byte buffer
        if (JSON_UNLIKELY((yylen + 1 > yytext.capacity())))
        {
            yytext.resize(2 * yytext.capacity(), '\0');
        }
        assert(yylen < yytext.size());
        yytext[yylen++] = static_cast<char>(c);
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0x38(%rdi), %rsi
movq 0x40(%rdi), %rax
incq %rax
subq 0x28(%rdi), %rsi
cmpq %rsi, %rax
ja 0x1e8bc
movq 0x40(%r14), %rax
movq 0x28(%r14), %rcx
movq 0x30(%r14), %rdx
subq %rcx, %rdx
cmpq %rdx, %rax
jae 0x1e8d2
leaq 0x1(%rax), %rdx
movq %rdx, 0x40(%r14)
movb %bl, (%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x28(%r14), %rdi
addq %rsi, %rsi
leaq 0x7(%rsp), %rdx
movb $0x0, (%rdx)
callq 0x1eab6
jmp 0x1e895
leaq 0x1fab2(%rip), %rdi     # 0x3e38b
leaq 0x1da3c(%rip), %rsi     # 0x3c31c
leaq 0x1faba(%rip), %rcx     # 0x3e3a1
movl $0xa3b, %edx            # imm = 0xA3B
callq 0xa3c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// Function: nlohmann::detail::lexer<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>>::get_codepoint()
int get_codepoint()
    {
        // this function only makes sense after reading `\u`
        assert(current == 'u');
        int codepoint = 0;

        const auto factors = { 12, 8, 4, 0 };
        for (const auto factor : factors)
        {
            get();

            if (current >= '0' and current <= '9')
            {
                codepoint += ((current - 0x30) << factor);
            }
            else if (current >= 'A' and current <= 'F')
            {
                codepoint += ((current - 0x37) << factor);
            }
            else if (current >= 'a' and current <= 'f')
            {
                codepoint += ((current - 0x57) << factor);
            }
            else
            {
                return -1;
            }
        }

        assert(0x0000 <= codepoint and codepoint <= 0xFFFF);
        return codepoint;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpl $0x75, 0x10(%rdi)
jne 0x1e9b2
movq %rdi, %rbx
movaps 0x1e59e(%rip), %xmm0    # 0x3ceb0
movups %xmm0, (%rsp)
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %r12d, %r12d
movl (%rsp,%r12), %ebp
incq 0x18(%rbx)
cmpb $0x1, 0x14(%rbx)
jne 0x1e933
movb $0x0, 0x14(%rbx)
jmp 0x1e93e
movq (%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movl %eax, 0x10(%rbx)
movl 0x10(%rbx), %eax
leal -0x30(%rax), %edx
movl $0xffffffd0, %ecx       # imm = 0xFFFFFFD0
cmpl $0xa, %edx
jb 0x1e968
leal -0x41(%rax), %edx
movl $0xffffffc9, %ecx       # imm = 0xFFFFFFC9
cmpl $0x6, %edx
jb 0x1e968
leal -0x61(%rax), %edx
movl $0xffffffa9, %ecx       # imm = 0xFFFFFFA9
cmpl $0x5, %edx
ja 0x1e98a
addl %ecx, %eax
movl %ebp, %ecx
shll %cl, %eax
addl %r14d, %eax
movb $0x1, %cl
movl %eax, %r14d
testb %cl, %cl
je 0x1e98e
addq $0x4, %r12
cmpq $0x10, %r12
sete %r15b
jne 0x1e91f
jmp 0x1e98e
xorl %ecx, %ecx
jmp 0x1e976
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb $0x1, %r15b
je 0x1e9a5
movl %r14d, %eax
cmpl $0x10000, %r14d         # imm = 0x10000
jae 0x1e9d1
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1fa67(%rip), %rdi     # 0x3e420
leaq 0x1d95c(%rip), %rsi     # 0x3c31c
leaq 0x1fa68(%rip), %rcx     # 0x3e42f
movl $0x689, %edx            # imm = 0x689
callq 0xa3c0
leaq 0x1fac5(%rip), %rdi     # 0x3e49d
leaq 0x1d93d(%rip), %rsi     # 0x3c31c
leaq 0x1fa49(%rip), %rcx     # 0x3e42f
movl $0x6a3, %edx            # imm = 0x6A3
callq 0xa3c0
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// Function: nlohmann::detail::input_adapter::input_adapter<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, 0>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>)
input_adapter(IteratorType first, IteratorType last)
    {
        // assertion to check that the iterator range is indeed contiguous,
        // see http://stackoverflow.com/a/35008842/266378 for more discussion
        assert(std::accumulate(
                   first, last, std::pair<bool, int>(true, 0),
                   [&first](std::pair<bool, int> res, decltype(*first) val)
        {
            res.first &= (val == *(std::next(std::addressof(*first), res.second++)));
            return res;
        }).first);

        // assertion to check that each element is 1 byte long
        static_assert(
            sizeof(typename std::iterator_traits<IteratorType>::value_type) == 1,
            "each element in the iterator range must have the size of 1 byte");

        const auto len = static_cast<size_t>(std::distance(first, last));
        if (JSON_LIKELY(len > 0))
        {
            // there is at least one element: use the address of first
            ia = std::make_shared<input_buffer_adapter>(reinterpret_cast<const char*>(&(*first)), len);
        }
        else
        {
            // the address of first cannot be used: use nullptr
            ia = std::make_shared<input_buffer_adapter>(nullptr, len);
        }
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
cmpq %rdx, %rsi
je 0x1fee2
movl $0x1, %r8d
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rsi, %rdi
movb (%rdi), %r9b
movq %r8, %r10
sarq $0x20, %r10
cmpb (%rsi,%r10), %r9b
sete %r9b
andb %r8b, %r9b
andq %rax, %r8
movzbl %r9b, %r10d
orq %r8, %r10
addq %rcx, %r10
incq %rdi
movq %r10, %r8
cmpq %rdx, %rdi
jne 0x1feac
testb %r9b, %r9b
je 0x1ff66
subq %rsi, %rdx
movq %rdx, 0x8(%rsp)
je 0x1ff4a
leaq 0x20(%rsp), %rcx
movq %rsi, (%rcx)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0x7(%rsp), %rdx
leaq 0x8(%rsp), %r8
callq 0x1ffa0
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x8(%rbx), %rdi
movups %xmm0, (%rbx)
testq %rdi, %rdi
je 0x1ff33
callq 0xf02e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff42
callq 0xf02e
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movl $0x30, %edi
callq 0xa5b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
movq %rbx, %rdx
callq 0xac55
jmp 0x1ff42
leaq 0x1e93b(%rip), %rdi     # 0x3e8a8
leaq 0x1c3a8(%rip), %rsi     # 0x3c31c
leaq 0x1ea04(%rip), %rcx     # 0x3e97f
movl $0x5e0, %edx            # imm = 0x5E0
callq 0xa3c0
jmp 0x1ff87
movq %rax, %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x1ff98
callq 0xf02e
movq %r14, %rdi
callq 0xaa30
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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>>::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>> const&) const
bool operator==(const iter_impl& other) const
    {
        // if objects are not the same, the comparison is undefined
        if (JSON_UNLIKELY(m_object != other.m_object))
        {
            JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers"));
        }

        assert(m_object != nullptr);

        switch (m_object->m_type)
        {
            case value_t::object:
                return (m_it.object_iterator == other.m_it.object_iterator);

            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 0x2015a
testq %rax, %rax
je 0x201b5
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x2013a
cmpl $0x1, %eax
jne 0x20144
movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
jmp 0x2014c
movq 0x10(%rdi), %rax
cmpq 0x10(%rsi), %rax
jmp 0x2014c
movq 0x18(%rdi), %rax
cmpq 0x18(%rsi), %rax
sete %al
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0xa2d0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1e8a8(%rip), %rsi     # 0x3ea1f
leaq 0x1e8d1(%rip), %rdx     # 0x3ea4f
leaq 0x8(%rsp), %rdi
callq 0xf09e
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd4, %esi
callq 0x2020c
xorl %ebp, %ebp
leaq 0x3629a(%rip), %rsi     # 0x56440
leaq -0x10343(%rip), %rdx    # 0xfe6a
movq %rbx, %rdi
callq 0xaa00
leaq 0x1e894(%rip), %rdi     # 0x3ea50
leaq 0x1c159(%rip), %rsi     # 0x3c31c
leaq 0x1e89a(%rip), %rcx     # 0x3ea64
movl $0xf17, %edx            # imm = 0xF17
callq 0xa3c0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x201f6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0x201f6
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x20203
movq %rbx, %rdi
callq 0xa450
movq %r14, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/guild.cc
// Function: cordpp::Guild::Guild()
Guild::Guild() : Item() {
  _roles.cache_size(10);
  _emojis.cache_size(10);
  _members.cache_size(10);
  _channels.cache_size(10);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorl %r14d, %r14d
movq %r14, (%rdi)
addq $0x8, %rdi
callq 0x1015c
leaq 0x58(%rbx), %rax
movq %rax, 0x28(%rsp)
movq %rax, 0x48(%rbx)
movq %r14, 0x50(%rbx)
movb %r14b, 0x58(%rbx)
leaq 0x78(%rbx), %rax
movq %rax, 0x20(%rsp)
movq %rax, 0x68(%rbx)
movq %r14, 0x70(%rbx)
movb %r14b, 0x78(%rbx)
leaq 0x98(%rbx), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x88(%rbx)
movq %r14, 0x90(%rbx)
movb %r14b, 0x98(%rbx)
leaq 0xb8(%rbx), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0xa8(%rbx)
movq %r14, 0xb0(%rbx)
movb %r14b, 0xb8(%rbx)
leaq 0xf0(%rbx), %r14
movq %r14, %rdi
callq 0x20e0c
leaq 0x128(%rbx), %r15
movq %r15, %rdi
callq 0x20e7c
leaq 0x160(%rbx), %r13
movq %r13, %rdi
callq 0x20eec
leaq 0x198(%rbx), %rbp
movq %rbp, %rdi
callq 0x20f5c
leaq 0x1e8(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x200(%rbx), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x208(%rbx)
movups %xmm0, 0x1f8(%rbx)
movups %xmm0, 0x1e8(%rbx)
movl $0xa, %esi
movq %r14, %rdi
callq 0x20fcc
movl $0xa, %esi
movq %r15, %rdi
callq 0x21088
movl $0xa, %esi
movq %r13, %rdi
callq 0x21144
movl $0xa, %esi
movq %rbp, %rdi
callq 0x21200
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x8(%rsp)
jmp 0x20cb9
movq %rax, 0x8(%rsp)
jmp 0x20cc1
movq %rax, 0x8(%rsp)
jmp 0x20cc9
movq %rax, 0x8(%rsp)
jmp 0x20cd1
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x212bc
movq 0x30(%rsp), %rdi
callq 0xd6d0
movq %rbp, %rdi
callq 0x21318
movq %r13, %rdi
callq 0x21338
movq %r15, %rdi
callq 0x21358
movq %r14, %rdi
callq 0x21378
movq 0xa8(%rbx), %rdi
cmpq 0x10(%rsp), %rdi
je 0x20cef
movq 0x10(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x88(%rbx), %rdi
cmpq 0x18(%rsp), %rdi
je 0x20d0d
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x68(%rbx), %rdi
cmpq 0x20(%rsp), %rdi
je 0x20d28
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x48(%rbx), %rdi
cmpq 0x28(%rsp), %rdi
je 0x20d43
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x8(%rsp), %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/http.cc
// Function: cordpp::RestClient::get_route(cordpp::Request const&)
RestRoute& RestClient::get_route(const Request &req) {
  const std::string index = req.method + ";" + req.endpoint;
  if (routes.find(index) == routes.end())
    routes[index] = RestRoute();
  return routes[index];
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x10(%rsi), %rsi
movq 0x18(%r14), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0xcd56
leaq 0x1da99(%rip), %rsi     # 0x3f557
movq %r15, %rdi
callq 0xab40
movq 0x30(%r14), %rsi
movq 0x38(%r14), %rdx
leaq 0x20(%rsp), %rdi
callq 0xa1c0
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x21aff
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x21b07
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x21b36
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
leaq 0x148(%rbx), %r14
movq %rsp, %rsi
movq %r14, %rdi
callq 0x24a52
addq $0x150, %rbx            # imm = 0x150
cmpq %rbx, %rax
jne 0x21baf
leaq 0x28(%rsp), %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x38(%r15)
movaps %xmm0, 0x28(%r15)
movaps %xmm0, 0x18(%r15)
movaps %xmm0, 0x8(%r15)
movaps %xmm0, -0x8(%r15)
movq $0x0, 0x48(%r15)
movq %r15, %rdi
xorl %esi, %esi
callq 0x247b0
movq %rsp, %rsi
movq %r14, %rdi
callq 0x242c6
movb 0x20(%rsp), %cl
movb %cl, (%rax)
addq $0x8, %rax
movq %rax, %rdi
movq %r15, %rsi
callq 0x2469c
movq %r15, %rdi
callq 0xd760
movq %rsp, %rsi
movq %r14, %rdi
callq 0x242c6
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x21bd3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0xd760
jmp 0x21bfb
jmp 0x21bf8
jmp 0x21bf8
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x21c27
movq 0x10(%rsp), %rsi
jmp 0x21c1f
jmp 0x21c0d
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x21c27
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/http.cc
// Function: cordpp::RestClient::perform_task(cordpp::RestTask const&)
void RestClient::perform_task(const RestTask &task) {
  RestRoute& route = get_route(task.req);
  if (route.rate_limited) {
    route.pending.push_back(task);
  } else if (global_route.rate_limited) {
    global_route.pending.push_back(task);
  } else {
    conn->write(to_string(task.req));
    tasks.push_back(task);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x21a80
cmpb $0x1, (%rax)
jne 0x21c54
addq $0x8, %rax
movq %rax, %r14
jmp 0x21cae
cmpb $0x1, 0x80(%r14)
jne 0x21c67
addq $0x88, %r14
jmp 0x21cae
movq 0x128(%r14), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x21cec
movq %r15, %rdi
movq %r12, %rsi
callq 0x262f0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21ca7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0xd8, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x244d2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21ce3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/http.cc
// Function: cordpp::RestClient::RestClient(cordpp::Service&)
RestClient::RestClient(Service &s) : service(s) {
  global_route.rate_limited = false;
  conn = std::make_unique<SSLClient>(service);
  conn->on_close([this](const Error &err) {
    conn.reset(new SSLClient(service));
    connect_and_flush();
  });
  connect_and_flush();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rsi, (%rdi)
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
leaq 0x58(%rdi), %rcx
movl $0x0, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movq %rcx, 0x68(%rdi)
movq %rcx, 0x70(%rdi)
movq %rax, 0x78(%rdi)
leaq 0x88(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x88(%rdi)
movups %xmm0, 0x98(%rdi)
movups %xmm0, 0xa8(%rdi)
movups %xmm0, 0xb8(%rdi)
movups %xmm0, 0xc8(%rdi)
movq %r14, %rdi
xorl %esi, %esi
callq 0x247b0
leaq 0xd8(%rbx), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x118(%rbx)
movups %xmm0, 0x108(%rbx)
movups %xmm0, 0xf8(%rbx)
movups %xmm0, 0xe8(%rbx)
movups %xmm0, 0xd8(%rbx)
movq %r15, %rdi
xorl %esi, %esi
callq 0x247b0
leaq 0x128(%rbx), %r12
leaq 0x150(%rbx), %rax
movl $0x0, 0x150(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x158(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x128(%rbx)
movups %xmm0, 0x138(%rbx)
movq %rax, 0x160(%rbx)
movq %rax, 0x168(%rbx)
movq %rcx, 0x170(%rbx)
movb $0x0, 0x80(%rbx)
movq (%rbx), %r13
movl $0x2a8, %edi            # imm = 0x2A8
callq 0xa5b0
movq %rax, %rbp
movq %rax, %rdi
movq %r13, %rsi
callq 0x260ca
leaq 0x10(%rsp), %r13
movq $0x0, (%r13)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x2494a
movq %r13, %rdi
callq 0xd72c
movq 0x128(%rbx), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%r13)
movaps %xmm0, 0x10(%r13)
movq %rbx, (%r13)
leaq 0xe56(%rip), %rax       # 0x23168
movq %rax, 0x18(%r13)
leaq 0xea1(%rip), %rax       # 0x231be
movq %rax, 0x10(%r13)
leaq 0x10(%rsp), %rsi
callq 0x2626e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x22344
leaq 0x10(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x22404
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2237d
jmp 0x22397
movq %rax, %r13
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x2239a
leaq 0x10(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2239a
movq %rax, %rdi
callq 0xd3bb
movq %rax, %r13
movl $0x2a8, %esi            # imm = 0x2A8
movq %rbp, %rdi
callq 0xa5d0
jmp 0x2239a
movq %rax, %r13
leaq 0x130(%rbx), %rbp
leaq 0x148(%rbx), %rdi
callq 0xd7aa
movq %rbp, %rdi
callq 0xd6d0
movq %r12, %rdi
callq 0xd72c
movq %r15, %rdi
callq 0xd760
jmp 0x223ca
movq %rax, %r13
movq %r14, %rdi
callq 0xd760
leaq 0x28(%rbx), %rdi
callq 0x24592
movq 0x8(%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x223f6
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq %r13, %rdi
callq 0xaa30
movq %rax, %r13
jmp 0x223d2
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/http.cc
// Function: cordpp::RestClient::flush_route(cordpp::RestRoute&)
void RestClient::flush_route(RestRoute &route) {
  RestTask task;
  route.rate_limited = false;
  size_t i, remaining = route.pending.size();
  for (i = 0; i < remaining; i++) {
    task = std::move(route.pending.front());
    route.pending.pop_front();
    perform_task(task);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
xorl %r14d, %r14d
leaq 0x18(%rsp), %r15
movb %r14b, (%r15)
movq %r15, %rdi
callq 0xf20e
movq %r15, %rdi
callq 0xf20e
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r14, -0x8(%rax)
movb %r14b, (%rax)
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r14, -0x8(%rax)
movb %r14b, (%rax)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r14, -0x8(%rax)
movb %r14b, (%rax)
leaq 0x88(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movb %r14b, (%rbx)
movq 0x50(%rbx), %rax
movq %rax, %rcx
subq 0x30(%rbx), %rcx
sarq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
leaq (%rcx,%rcx,2), %rax
movq 0x28(%rbx), %r14
movq 0x38(%rbx), %rcx
subq 0x40(%rbx), %rcx
sarq $0x4, %rcx
movabsq $-0x71c71c71c71c71c7, %rdx # imm = 0x8E38E38E38E38E39
imulq %rdx, %rcx
subq 0x18(%rbx), %r14
addq %rax, %rcx
sarq $0x4, %r14
imulq %rdx, %r14
addq %rcx, %r14
je 0x22644
leaq 0x8(%rbx), %r15
movq %rsp, %r13
leaq 0x18(%rsp), %rbp
movq 0x18(%rbx), %r12
movb (%r12), %al
movb %al, (%rsp)
movq 0x8(%r12), %rax
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0xf20e
movb $0x0, (%r12)
movq $0x0, 0x8(%r12)
movq %r13, %rdi
callq 0xf20e
movq %r13, %rdi
callq 0xf20e
movb 0x18(%rsp), %al
movb (%rsp), %cl
movb %cl, 0x18(%rsp)
movb %al, (%rsp)
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0xf20e
movq %r13, %rdi
callq 0xf20e
movzbl (%rsp), %esi
leaq 0x8(%rsp), %rdi
callq 0xf2b0
leaq 0x10(%r12), %rsi
leaq 0x28(%rsp), %rdi
callq 0xa720
leaq 0x30(%r12), %rsi
leaq 0x48(%rsp), %rdi
callq 0xa720
leaq 0x50(%r12), %rsi
leaq 0x68(%rsp), %rdi
callq 0xa720
addq $0x70, %r12
leaq 0x88(%rsp), %rdi
movq %r12, %rsi
callq 0x2498a
movq %r15, %rdi
callq 0x245ba
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x21c30
decq %r14
jne 0x2256a
movq 0x98(%rsp), %rax
testq %rax, %rax
je 0x22663
leaq 0x88(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2267f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2269b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x226b7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5d0
leaq 0x18(%rsp), %rdi
callq 0xf20e
leaq 0x20(%rsp), %rdi
movzbl -0x8(%rdi), %esi
callq 0xf2b0
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0xd3bb
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2450c
movq %rbx, %rdi
callq 0xaa30
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/./include/json.h
// 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>::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
const_iterator find(typename object_t::key_type key) const
    {
        auto result = cend();

        if (is_object())
        {
            result.m_it.object_iterator = m_value.object->find(key);
        }

        return result;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x25564
cmpb $0x1, (%r15)
jne 0x24693
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xfe8a
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/items.cc
// Function: cordpp::Role::Role(cordpp::Guild*)
Role::Role(Guild *g) : Item() {
  guild = g;
  _color = 0;
  _position = 0;
  _hoist = false;
  _managed = false;
  _permissions = 0;
  _mentionable = false;
}

// Assembly:
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x28(%rdi), %rcx
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movb %al, 0x28(%rdi)
movq %rsi, 0x40(%rdi)
movl $0x0, 0xc(%rdi)
movq %rax, 0x38(%rdi)
movw $0x0, 0x8(%rdi)
movb %al, 0x10(%rdi)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/items.cc
// Function: cordpp::Emoji::Emoji(cordpp::Guild*)
Emoji::Emoji(Guild *g) : Item()  {
  guild = g;
  _managed = false;
  _roles.cache_size(2);
  _require_colons = false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x20(%rdi), %r12
movq %r12, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
leaq 0x38(%rdi), %r15
movq %r15, %rdi
callq 0x20e0c
movq %r14, 0x70(%rbx)
movb $0x0, 0x8(%rbx)
movl $0x2, %esi
movq %r15, %rdi
callq 0x20fcc
movb $0x0, 0x30(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x21378
jmp 0x25a72
movq %rax, %r14
movq 0x10(%rbx), %rdi
cmpq %r12, %rdi
je 0x25a87
movq (%r12), %rsi
incq %rsi
callq 0xa5d0
movq %r14, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/ssl.cc
// Function: cordpp::Service::call_later(long, void*, std::function<void (void*)> const&)
void Service::call_later(const long delay, void *data, const RawAction &action)
{
  new Timer(service, delay, data, action, [](Timer *timer) {
    const RawAction &action = std::move(timer->get());
    action(timer->raw());
    delete timer;
  });
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movl $0xb8, %edi
callq 0xa5b0
movq %rax, %rbx
addq $0x18, %r13
xorps %xmm0, %xmm0
movq %rsp, %r9
movaps %xmm0, (%r9)
leaq 0x7a5f(%rip), %rax      # 0x2d8ec
movq %rax, 0x18(%r9)
leaq 0x7ad6(%rip), %rax      # 0x2d96e
movq %rax, 0x10(%r9)
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
callq 0x25f0e
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x25ec7
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x25f06
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x25ef1
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movl $0xb8, %esi
movq %rbx, %rdi
callq 0xa5d0
movq %r14, %rdi
callq 0xaa30
movq %rax, %rdi
callq 0xd3bb
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/ssl.cc
// Function: cordpp::Timer::Timer(boost::asio::io_context&, long, void*, std::function<void (void*)> const&, std::function<void (cordpp::Timer*)> const&)
Timer::Timer(asio::io_service &service, const long delay_ms, void *data,
  const RawAction &action, const std::function<void(Timer*)> &cb) : timer(service)
{
  this->data = data;
  this->callback = cb;
  this->action = action;
  timer.expires_from_now(boost::posix_time::millisec(delay_ms));
  timer.async_wait([this](const Error &err) {
    if (!err) callback(this);
  });
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbx
movq %r8, %rbp
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %r14
leaq 0x8(%rdi), %rax
movq %rax, (%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x8(%rdi)
leaq 0x28(%rdi), %r15
movq %r15, %rdi
xorl %edx, %edx
callq 0x16ed8
leaq 0x98(%r14), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0xa8(%r14)
movups %xmm0, 0x98(%r14)
movq %r12, (%r14)
movq %rdi, %r12
movq %rbx, %rsi
callq 0x2df72
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0x2dfe0
imulq $0x3e8, %r13, %rax      # imm = 0x3E8
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r15, %rdi
callq 0x14690
leaq 0x20(%rsp), %rax
movq %r14, (%rax)
movq 0x28(%r14), %r13
movq %rax, 0x8(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x25fbc
movq 0x8(%rax), %rdi
jmp 0x25fbe
xorl %edi, %edi
movl $0x60, %esi
callq 0x14990
movq %rax, %rbp
leaq 0x30(%r14), %rbx
leaq 0x68(%r14), %rsi
movq %rax, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x18(%rsp)
movq %rax, (%rbp)
leaq 0xbdc(%rip), %rcx       # 0x26bc6
movq %rcx, 0x8(%rbp)
movl %eax, 0x10(%rbp)
movl %eax, 0x18(%rbp)
movb $0x0, 0x1c(%rbp)
leaq 0x2f161(%rip), %rax     # 0x55160
movq %rax, 0x20(%rbp)
movq 0x20(%rsp), %rax
movq %rax, 0x28(%rbp)
movq %rbp, %rdi
addq $0x30, %rdi
callq 0x152d0
movq %rbp, 0x18(%rsp)
movb $0x1, 0x38(%r14)
movq 0x68(%r13), %rdi
addq $0x28, %r13
leaq 0x40(%r14), %rcx
movq %r13, %rsi
movq %rbx, %rdx
movq %rbp, %r8
callq 0x14816
leaq 0x10(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq 0x8(%rsp), %rdi
callq 0x26dfc
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x260c1
movq %rax, %r13
leaq 0x8(%rsp), %rdi
callq 0x26dfc
jmp 0x2607f
jmp 0x260c1
jmp 0x2607c
jmp 0x2607c
movq %rax, %r13
jmp 0x260a0
movq %rax, %r13
movq 0xa8(%r14), %rax
testq %rax, %rax
je 0x26098
movq %r12, %rdi
movq %r12, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0xdb26
movq 0x18(%r14), %rax
testq %rax, %rax
je 0x260b7
movq (%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %r13, %rdi
callq 0xaa30
jmp 0x260c1
movq %rax, %rdi
callq 0xd3bb
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/ssl.cc
// Function: cordpp::SSLClient::SSLClient(cordpp::Service&)
SSLClient::SSLClient(Service& service) :
  service(service), sock(service.get(), service.get_ssl_context()) {
  remaining = 0;                          // no remaining read data
  connected = false;                      // client starts of disconnected
  on_close([](const Error &e) {});        // default close callback
  sock.set_verify_mode(ssl::verify_none); // no ssl verification 
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r13
movq %rdi, %r14
movq %rsi, 0x8(%rdi)
leaq 0x18(%rdi), %rbx
leaq 0x58(%rdi), %r15
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movups %xmm0, 0x48(%rdi)
movq %rsp, %rdx
movq %r15, %rdi
movq $-0x1, %rsi
callq 0x2e04e
leaq 0xb8(%r14), %r12
leaq 0x18(%r13), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq 0x2e120
leaq 0x258(%r14), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x298(%r14)
movups %xmm0, 0x288(%r14)
movups %xmm0, 0x278(%r14)
movups %xmm0, 0x268(%r14)
movups %xmm0, 0x258(%r14)
movq %r13, %rdi
xorl %esi, %esi
callq 0x2ee9c
movq $0x0, 0x10(%r14)
movb $0x0, (%r14)
movq %rsp, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
leaq 0x7809(%rip), %rax      # 0x2d986
movq %rax, 0x18(%rsi)
leaq 0x7800(%rip), %rax      # 0x2d988
movq %rax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x156f8
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x261ab
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x108(%r14), %rbp
movq %rbp, %rdi
callq 0xa220
movq %rbp, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xa400
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x26266
movq %rax, %rbp
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x2620b
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2620b
jmp 0x26266
movq %rax, %rbp
jmp 0x26213
movq %rax, %rbp
jmp 0x26227
movq %rax, %rbp
jmp 0x2622f
movq %rax, %rbp
movq %r13, %rdi
callq 0xd8e0
leaq 0x108(%r14), %rdi
callq 0xda7a
movq %r12, %rdi
callq 0xe1f6
movq %r15, %rdi
callq 0xd92a
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x26246
leaq 0x38(%r14), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x2625c
movq %rbx, %rdi
movq %rbx, %rsi
movl $0x3, %edx
callq *%rax
movq %rbp, %rdi
callq 0xaa30
jmp 0x26266
movq %rax, %rdi
callq 0xd3bb
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/ssl.cc
// Function: cordpp::SSLClient::read(unsigned int, std::function<void (std::vector<char, std::allocator<char>> const&)> const&)
void SSLClient::read(const unsigned int size, const BufferAction& action) {
  if (!connected) return;
  queue.push_back(action);

  // read at least {size} amount of data
  buffer.prepare(size);
  remaining = buffer.size();
  asio::async_read(sock, buffer,
    asio::transfer_exactly(size - remaining),
    boost::bind(&SSLClient::read_handler, this,
      asio::placeholders::error, asio::placeholders::bytes_transferred));
}

// Assembly:
cmpb $0x1, (%rdi)
jne 0x267aa
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebp
movq %rdi, %rbx
addq $0x258, %rdi            # imm = 0x258
movq %rdx, %rsi
callq 0x2e2c6
leaq 0x58(%rbx), %r14
movl %ebp, %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0xe72c
movq 0x80(%rbx), %rax
subq 0x68(%rbx), %rax
movq %rax, 0x10(%rbx)
leaq 0xb8(%rbx), %rcx
subq %rax, %r15
leaq 0x18(%rsp), %rdi
movq %r15, (%rdi)
movq %rcx, 0x8(%rdi)
movq %r14, 0x10(%rdi)
xorl %eax, %eax
movl %eax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
leaq -0x46c(%rip), %rcx      # 0x26306
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movq %rbx, 0x38(%rdi)
leaq 0x8(%rsp), %rsi
movl %eax, (%rsi)
movb $0x0, 0x4(%rsi)
leaq 0x2e9d0(%rip), %rax     # 0x55160
movq %rax, 0x8(%rsi)
xorl %edx, %edx
movl $0x1, %ecx
callq 0x323bc
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/ssl.cc
// Function: cordpp::SSLClient::read_until(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::function<void (std::vector<char, std::allocator<char>> const&)> const&)
void SSLClient::read_until(const std::string &term, const BufferAction& action) {
  if (!connected) return;
  queue.push_back(action);

  // read until {term} string
  asio::async_read_until(sock, buffer, term,
    boost::bind(&SSLClient::read_handler, this,
      asio::placeholders::error, asio::placeholders::bytes_transferred));
}

// Assembly:
cmpb $0x1, (%rdi)
jne 0x26811
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x258, %rdi            # imm = 0x258
movq %rdx, %rsi
callq 0x2e2c6
leaq 0xb8(%rbx), %rdi
movq (%r14), %rcx
movq 0x8(%r14), %rdx
leaq -0x4dc(%rip), %rax      # 0x26306
leaq 0x10(%rsp), %r8
movq %rax, (%r8)
movq $0x0, 0x8(%r8)
movq %rbx, 0x10(%r8)
addq $0x58, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
xorl %r9d, %r9d
callq 0x343f6
addq $0x28, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/king1600[P]cordpp/src/user.cc
// Function: cordpp::User::User(cordpp::Client*)
User::User(Client *client) : Item() {
  this->client = client;
  _bot = false;
  _verified = false;
  _mfa_enabled = false;
}

// Assembly:
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
leaq 0x60(%rdi), %rcx
movq %rcx, 0x50(%rdi)
movq %rax, 0x58(%rdi)
movb %al, 0x60(%rdi)
leaq 0x80(%rdi), %rcx
movq %rcx, 0x70(%rdi)
movq %rax, 0x78(%rdi)
movb %al, 0x80(%rdi)
movq %rsi, 0x90(%rdi)
movw $0x0, 0x8(%rdi)
movb %al, 0xa(%rdi)
retq