LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/king1600[P]cordpp/src/client.cc
// Function: cordpp::Client::login(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Client::login(const std::string &_token) {
  // set the bot token
  token = _token;
  _api->set_token(token);

  // fetch the gateway url
  _api->get("/gateway/bot", "", {}, [this](const Json &data) {
    max_shards = (max_shards < 1) ? data["shards"].get<uint8_t>() : max_shards;
    std::string url = data["url"].get<std::string>();
    url = url.substr(url.find("://") + 3);
    _gateway = std::make_unique<Gateway>(this, url, shard_id, max_shards);
  });

  // run the event loop
  service.run();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rdi, %rbx
leaq 0x50(%rdi), %r14
movq %r14, %rdi
callq 0xa340
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x2106c
movq 0x8(%rbx), %r14
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2e1f1(%rip), %rsi     # 0x3b1c0
leaq 0x2e1f6(%rip), %rdx     # 0x3b1cc
leaq 0x20(%rsp), %rdi
callq 0xefcc
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x317d9(%rip), %rdx     # 0x3e7c9
movq %rsp, %rdi
movq %rdx, %rsi
callq 0xefcc
leaq 0x40(%rsp), %r15
movb $0x0, (%r15)
movq %r15, %rdi
callq 0xf13a
movq %r15, %rdi
callq 0xf13a
leaq 0x50(%rsp), %r8
movq $0x0, 0x8(%r8)
movq %rbx, (%r8)
leaq 0x111(%rip), %rax       # 0xd13c
movq %rax, 0x18(%r8)
leaq 0x25e(%rip), %rax       # 0xd294
movq %rax, 0x10(%r8)
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
movq %r14, %rdi
movq %r15, %rcx
callq 0x21076
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0xd066
leaq 0x50(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x40(%rsp), %rdi
callq 0xd47e
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0xd086
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0xd09d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0x18, %rbx
movq %rbx, %rdi
callq 0x25822
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xd0f7
movq %rax, %rbx
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0xd0d5
leaq 0x50(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x40(%rsp), %rdi
callq 0xd47e
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0xd102
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0xd102
movq %rax, %rdi
callq 0xd3a3
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0xd119
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
movq %rdi, %rbx
cmpl $0x3, %esi
je 0xf213
cmpl $0x2, %esi
je 0xf201
cmpl $0x1, %esi
jne 0xf23e
movq (%rbx), %rdi
callq 0xf240
movq (%rbx), %rdi
movl $0x30, %esi
jmp 0xf238
movq (%rbx), %rdi
callq 0xf2c4
movq (%rbx), %rdi
movl $0x18, %esi
jmp 0xf238
movq (%rbx), %rdi
movq (%rdi), %rax
leaq 0x10(%rdi), %rcx
cmpq %rcx, %rax
je 0xf233
movq (%rcx), %rsi
incq %rsi
movq %rax, %rdi
callq 0xa5d0
movq (%rbx), %rdi
movl $0x20, %esi
popq %rbx
jmp 0xa5d0
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2b91e(%rip), %rdx     # 0x3bbb8
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 0xefcc
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x258c0
leaq 0x70(%r15), %r12
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x16b20
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 0x38a28
leaq 0x20(%rsp), %r13
movq $0x0, (%r13)
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x1454a
movq %r13, %rdi
callq 0xf366
movq %r15, %rdi
callq 0x10b52
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 0x10aff
jmp 0x10afc
movq %rax, %r13
movq %r12, %rdi
callq 0xdb20
jmp 0x10b0c
movq %rax, %r13
movq 0x50(%r15), %rdi
cmpq %r14, %rdi
je 0x10b20
movq (%r14), %rsi
incq %rsi
callq 0xa5d0
movq 0x10(%rsp), %rdi
callq 0xf366
movq 0x18(%rsp), %rax
movq (%rax), %rdi
cmpq 0x8(%rsp), %rdi
je 0x10b49
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq %r13, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x16223
movq %rsi, %r8
leaq 0x10(%rdi), %rsi
xorl %ecx, %ecx
movabsq $0x6666666666666667, %r10 # imm = 0x6666666666666667
movq %r8, %r9
cmpq $0x3f, %rcx
je 0x16234
movq %r9, %rax
imulq %r10
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x2, %rdx
addq %rax, %rdx
leaq (%rdx,%rdx), %rax
leaq (%rax,%rax,4), %rax
movq %r9, %r11
subq %rax, %r11
movq %r11, %rax
negq %rax
cmovsq %r11, %rax
addb $0x30, %al
movb %al, 0x10(%rdi,%rcx)
incq %rcx
addq $0x9, %r9
cmpq $0x13, %r9
movq %rdx, %r9
jae 0x16182
testq %r8, %r8
jns 0x161e5
leaq -0x1(%rcx), %rax
cmpq $0x3d, %rax
jae 0x16253
movb $0x2d, 0x10(%rdi,%rcx)
incq %rcx
leaq (%rdi,%rcx), %rax
addq $0xf, %rax
cmpq %rsi, %rax
jbe 0x16213
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 0x161f6
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 0x2679e(%rip), %rdi     # 0x3c9d9
leaq 0x250da(%rip), %rsi     # 0x3b31c
leaq 0x26797(%rip), %rcx     # 0x3c9e0
movl $0x19b2, %edx           # imm = 0x19B2
callq 0xa3c0
leaq 0x26816(%rip), %rdi     # 0x3ca70
leaq 0x250bb(%rip), %rsi     # 0x3b31c
leaq 0x26778(%rip), %rcx     # 0x3c9e0
movl $0x19b7, %edx           # imm = 0x19B7
callq 0xa3c0
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1bd99
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 0x1bdbd
leaq 0x38b81(%rip), %rcx     # 0x54938
movq (%rcx,%rax,8), %rsi
jmp 0x1bdc4
leaq 0x1f91d(%rip), %rsi     # 0x3b6e1
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xd3ae
leaq 0x1f8b5(%rip), %rsi     # 0x3b68f
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xfd4a
movb $0x1, %bpl
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xfbe4
xorl %ebp, %ebp
leaq 0x38751(%rip), %rsi     # 0x54558
leaq -0xc054(%rip), %rdx     # 0xfdba
movq %rbx, %rdi
callq 0xaa00
movq %rax, %r14
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1be34
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xa5d0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1be4f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xa5d0
testb %bpl, %bpl
jne 0x1be79
jmp 0x1be81
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1be79
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xa5d0
jmp 0x1be79
movq %rax, %r14
movq %rbx, %rdi
callq 0xa450
movq %r14, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1bec6
movb (%r14), %al
movb %al, (%rbx)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
movq %r14, %rdi
callq 0xf13a
movb $0x0, (%r14)
movq $0x0, 0x8(%r14)
movq %rbx, %rdi
callq 0xf13a
jmp 0x1bed1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1bedc
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
callq 0x1fe48
cmpb $0x1, (%r15)
jne 0x1cc1f
movq %rbx, %r12
addq $0x8, %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xfdda
movq %rax, (%r12)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x40(%rdi), %rax
leaq 0x1(%rax), %rdx
movq 0x28(%rdi), %rcx
movq 0x38(%rdi), %rsi
subq %rcx, %rsi
cmpq %rsi, %rdx
ja 0x1e3b8
movq 0x30(%r14), %rdx
subq %rcx, %rdx
cmpq %rdx, %rax
jae 0x1e3d6
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 0x1e56a
movq 0x28(%r14), %rcx
movq 0x40(%r14), %rax
jmp 0x1e399
leaq 0x1ef9c(%rip), %rdi     # 0x3d379
leaq 0x1cf38(%rip), %rsi     # 0x3b31c
leaq 0x1efa4(%rip), %rcx     # 0x3d38f
movl $0xa3b, %edx            # imm = 0xA3B
callq 0xa3c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %rbx
subq $0x18, %rsp
cmpl $0x75, 0x10(%rdi)
jne 0x1e4ad
movq %rdi, %r14
movaps 0x1da9c(%rip), %xmm0    # 0x3beb0
movaps %xmm0, (%rsp)
xorl %ebx, %ebx
movl $0x75, %eax
xorl %r15d, %r15d
movl (%rsp,%r15), %ebp
incq 0x18(%r14)
cmpb $0x1, 0x14(%r14)
jne 0x1e438
movb $0x0, 0x14(%r14)
jmp 0x1e444
movq (%r14), %rdi
movq (%rdi), %rax
callq *(%rax)
movl %eax, 0x10(%r14)
leal -0x30(%rax), %edx
cmpl $0xa, %edx
jb 0x1e464
leal -0x41(%rax), %ecx
cmpl $0x5, %ecx
ja 0x1e459
leal -0x37(%rax), %edx
jmp 0x1e464
leal -0x61(%rax), %ecx
cmpl $0x5, %ecx
ja 0x1e49b
leal -0x57(%rax), %edx
movl %ebp, %ecx
shll %cl, %edx
addl %edx, %ebx
addq $0x4, %r15
cmpq $0x10, %r15
jne 0x1e422
cmpl $0x10000, %ebx          # imm = 0x10000
jb 0x1e4a0
leaq 0x1f008(%rip), %rdi     # 0x3d48b
leaq 0x1ce92(%rip), %rsi     # 0x3b31c
leaq 0x1ef8c(%rip), %rcx     # 0x3d41d
movl $0x6a3, %edx            # imm = 0x6A3
callq 0xa3c0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ef5a(%rip), %rdi     # 0x3d40e
leaq 0x1ce61(%rip), %rsi     # 0x3b31c
leaq 0x1ef5b(%rip), %rcx     # 0x3d41d
movl $0x689, %edx            # imm = 0x689
callq 0xa3c0
// File: /workspace/github_cpp_makefile_star2_O3/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>>::next_byte_in_range(std::initializer_list<int>)
bool next_byte_in_range(std::initializer_list<int> ranges)
    {
        assert(ranges.size() == 2 or ranges.size() == 4 or ranges.size() == 6);
        add(current);

        for (auto range = ranges.begin(); range != ranges.end(); ++range)
        {
            get();
            if (JSON_LIKELY(*range <= current and current <= *(++range)))
            {
                add(current);
            }
            else
            {
                error_message = "invalid string: ill-formed UTF-8 byte";
                return false;
            }
        }

        return true;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq $0x6, %rdx
ja 0x1e54a
movq %rdx, %r15
movl $0x54, %eax
btq %rdx, %rax
jae 0x1e54a
movq %rsi, %r14
movq %rdi, %rbx
movl 0x10(%rdi), %esi
callq 0x1e378
leaq (%r14,%r15,4), %r15
incq 0x18(%rbx)
cmpb $0x1, 0x14(%rbx)
jne 0x1e50a
movb $0x0, 0x14(%rbx)
movl 0x10(%rbx), %esi
jmp 0x1e517
movq (%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movl %eax, %esi
movl %eax, 0x10(%rbx)
cmpl %esi, (%r14)
jg 0x1e53b
cmpl 0x4(%r14), %esi
jg 0x1e53b
movq %rbx, %rdi
callq 0x1e378
addq $0x8, %r14
cmpq %r15, %r14
jne 0x1e4f7
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1ee11(%rip), %rax     # 0x3d353
movq %rax, 0x48(%rbx)
xorl %eax, %eax
jmp 0x1e535
leaq 0x1ef66(%rip), %rdi     # 0x3d4b7
leaq 0x1cdc4(%rip), %rsi     # 0x3b31c
leaq 0x1ef97(%rip), %rcx     # 0x3d4f6
movl $0x6b2, %edx            # imm = 0x6B2
callq 0xa3c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 $0x38, %rsp
movq %rdx, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
cmpq %rdx, %rsi
je 0x1f9fa
movl $0x1, %edi
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rsi, %rdx
movb (%rdx), %r8b
movq %rdi, %r9
sarq $0x20, %r9
cmpb (%rsi,%r9), %r8b
sete %r8b
andb %dil, %r8b
andq %rax, %rdi
movzbl %r8b, %r9d
orq %rdi, %r9
addq %rcx, %r9
incq %rdx
movq %r9, %rdi
cmpq %r14, %rdx
jne 0x1f95c
testb %r8b, %r8b
je 0x1fa17
subq %rsi, %r14
movq %r14, 0x28(%rsp)
je 0x1f9fd
leaq 0x30(%rsp), %rcx
movq %rsi, (%rcx)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rdx
leaq 0x28(%rsp), %r8
callq 0x1fa52
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x8(%rbx), %rdi
movups %xmm0, (%rbx)
testq %rdi, %rdi
je 0x1f9f2
callq 0xef5c
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1f9f2
callq 0xef5c
addq $0x38, %rsp
popq %rbx
popq %r14
retq
subq %rsi, %r14
movl $0x30, %edi
callq 0xa5b0
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xac4f
jmp 0x1f9f2
leaq 0x1de78(%rip), %rdi     # 0x3d896
leaq 0x1b8f7(%rip), %rsi     # 0x3b31c
leaq 0x1df41(%rip), %rcx     # 0x3d96d
movl $0x5e0, %edx            # imm = 0x5E0
callq 0xa3c0
jmp 0x1fa38
movq %rax, %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x1fa49
callq 0xef5c
movq %r14, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x1fc06
testq %rax, %rax
je 0x1fc61
movzbl (%rax), %eax
cmpl $0x2, %eax
je 0x1fbe6
cmpl $0x1, %eax
jne 0x1fbf0
movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
jmp 0x1fbf8
movq 0x10(%rdi), %rax
cmpq 0x10(%rsi), %rax
jmp 0x1fbf8
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 0x1ddea(%rip), %rsi     # 0x3da0d
leaq 0x1de13(%rip), %rdx     # 0x3da3d
leaq 0x8(%rsp), %rdi
callq 0xefcc
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0xd4, %esi
callq 0x1fcb4
xorl %ebp, %ebp
leaq 0x357ee(%rip), %rsi     # 0x55440
leaq -0xfe9f(%rip), %rdx     # 0xfdba
movq %rbx, %rdi
callq 0xaa00
leaq 0x1ddd6(%rip), %rdi     # 0x3da3e
leaq 0x1b6ad(%rip), %rsi     # 0x3b31c
leaq 0x1dddc(%rip), %rcx     # 0x3da52
movl $0xf17, %edx            # imm = 0xF17
callq 0xa3c0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1fc9a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
testb %bpl, %bpl
jne 0x1fca4
jmp 0x1fcac
movq %rax, %r14
movq %rbx, %rdi
callq 0xa450
movq %r14, %rdi
callq 0xaa30
// File: /workspace/github_cpp_makefile_star2_O3/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 0x100d8
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 0x20908
leaq 0x128(%rbx), %r15
movq %r15, %rdi
callq 0x20970
leaq 0x160(%rbx), %r13
movq %r13, %rdi
callq 0x209d8
leaq 0x198(%rbx), %rbp
movq %rbp, %rdi
callq 0x20a40
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 0x20aa8
movl $0xa, %esi
movq %r15, %rdi
callq 0x20b70
movl $0xa, %esi
movq %r13, %rdi
callq 0x20c38
movl $0xa, %esi
movq %rbp, %rdi
callq 0x20d00
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x8(%rsp)
jmp 0x207b5
movq %rax, 0x8(%rsp)
jmp 0x207bd
movq %rax, 0x8(%rsp)
jmp 0x207c5
movq %rax, 0x8(%rsp)
jmp 0x207cd
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x20dc8
movq 0x30(%rsp), %rdi
callq 0xd6ba
movq %rbp, %rdi
callq 0x20e26
movq %r13, %rdi
callq 0x20e3e
movq %r15, %rdi
callq 0x20e56
movq %r14, %rdi
callq 0x20e6e
movq 0xa8(%rbx), %rdi
cmpq 0x10(%rsp), %rdi
je 0x207eb
movq 0x10(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x88(%rbx), %rdi
cmpq 0x18(%rsp), %rdi
je 0x20809
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x68(%rbx), %rdi
cmpq 0x20(%rsp), %rdi
je 0x20824
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x48(%rbx), %rdi
cmpq 0x28(%rsp), %rdi
je 0x2083f
movq 0x28(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq 0x8(%rsp), %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0xcd6e
leaq 0x1cf61(%rip), %rsi     # 0x3e523
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 0x21603
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x2160b
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 0x2163a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
leaq 0x148(%rbx), %r14
movq %rsp, %rsi
movq %r14, %rdi
callq 0x24502
addq $0x150, %rbx            # imm = 0x150
cmpq %rbx, %rax
jne 0x216b3
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 0x2426e
movq %rsp, %rsi
movq %r14, %rdi
callq 0x23d7e
movb 0x20(%rsp), %cl
movb %cl, (%rax)
addq $0x8, %rax
movq %rax, %rdi
movq %r15, %rsi
callq 0x2416e
movq %r15, %rdi
callq 0xd74c
movq %rsp, %rsi
movq %r14, %rdi
callq 0x23d7e
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x216d7
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 0xd74c
jmp 0x216ff
jmp 0x216fc
jmp 0x216fc
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2172b
movq 0x10(%rsp), %rsi
jmp 0x21723
jmp 0x21711
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r13, %rdi
je 0x2172b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x21584
cmpb $0x1, (%rax)
jne 0x21758
addq $0x8, %rax
movq %rax, %rdi
jmp 0x2176c
cmpb $0x1, 0x80(%r14)
jne 0x2177f
addq $0x88, %r14
movq %r14, %rdi
movq %rbx, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x23f82
movq 0x128(%r14), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x21804
movq %r15, %rdi
movq %r12, %rsi
callq 0x25d66
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x217bf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
addq $0xd8, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x23f82
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 0x217fb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2426e
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
movq %r14, 0x10(%rsp)
callq 0x2426e
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 0x25b40
xorl %r14d, %r14d
leaq 0x18(%rsp), %r13
movq %r14, (%r13)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x24408
movq %r13, %rdi
callq 0xd718
movq 0x128(%rbx), %rdi
movq %r14, 0x8(%r13)
movq %rbx, (%r13)
leaq 0xe1d(%rip), %rax       # 0x22c20
movq %rax, 0x18(%r13)
leaq 0xe68(%rip), %rax       # 0x22c76
movq %rax, 0x10(%r13)
leaq 0x18(%rsp), %rsi
callq 0x25ce4
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x21e35
leaq 0x18(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x21ef6
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x21e6e
jmp 0x21e88
movq %rax, %r13
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x21e8b
leaq 0x18(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x21e8b
movq %rax, %rdi
callq 0xd3a3
movq %rax, %r13
movl $0x2a8, %esi            # imm = 0x2A8
movq %rbp, %rdi
callq 0xa5d0
jmp 0x21e8b
movq %rax, %r13
leaq 0x130(%rbx), %rbp
leaq 0x148(%rbx), %rdi
callq 0xd796
movq %rbp, %rdi
callq 0xd6ba
movq %r12, %rdi
callq 0xd718
movq %r15, %rdi
callq 0xd74c
jmp 0x21ebb
movq %rax, %r13
movq 0x10(%rsp), %rdi
callq 0xd74c
leaq 0x28(%rbx), %rdi
callq 0x24042
movq 0x8(%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x21ee9
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xa5d0
movq %r13, %rdi
callq 0xaa30
movq %rax, %r13
jmp 0x21ec5
// File: /workspace/github_cpp_makefile_star2_O3/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 0xf13a
movq %r15, %rdi
callq 0xf13a
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, -0x8(%r15)
movb %r14b, (%r15)
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r14, -0x8(%r12)
movb %r14b, (%r12)
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq %r14, -0x8(%r13)
movb %r14b, (%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r13)
movups %xmm0, 0x20(%r13)
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 0x22161
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 0xf13a
movb $0x0, (%r12)
movq $0x0, 0x8(%r12)
movq %r13, %rdi
callq 0xf13a
movq %r13, %rdi
callq 0xf13a
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 0xf13a
movq %r13, %rdi
callq 0xf13a
movzbl (%rsp), %esi
leaq 0x8(%rsp), %rdi
callq 0xf1dc
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 0x24448
movq %r15, %rdi
callq 0x2406a
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x21734
decq %r14
jne 0x22059
movq 0x98(%rsp), %rax
testq %rax, %rax
leaq 0x38(%rsp), %r15
leaq 0x58(%rsp), %r12
leaq 0x78(%rsp), %r13
je 0x22161
leaq 0x88(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x22178
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x2218f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5d0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x221a6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5d0
leaq 0x18(%rsp), %rdi
callq 0xf13a
leaq 0x20(%rsp), %rdi
movzbl -0x8(%rdi), %esi
callq 0xf1dc
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0xd3a3
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x23fbc
movq %rbx, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
callq 0x25014
cmpb $0x1, (%r15)
jne 0x2415f
movq %rbx, %r12
addq $0x8, %r12
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0xfdda
movq %rax, (%r12)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x20908
movq %r14, 0x70(%rbx)
movb $0x0, 0x8(%rbx)
movl $0x2, %esi
movq %r15, %rdi
callq 0x20aa8
movb $0x0, 0x30(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x20e6e
jmp 0x254e2
movq %rax, %r14
movq 0x10(%rbx), %rdi
cmpq %r12, %rdi
je 0x254f7
movq (%r12), %rsi
incq %rsi
callq 0xa5d0
movq %r14, %rdi
callq 0xaa30
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x76df(%rip), %rax      # 0x2cfe4
movq %rax, 0x18(%r9)
leaq 0x7756(%rip), %rax      # 0x2d066
movq %rax, 0x10(%r9)
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
callq 0x25986
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x2593f
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 0x2597e
movq %rax, %r14
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x25969
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 0xd3a3
// File: /workspace/github_cpp_makefile_star2_O3/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 0x16b20
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 0x2d6a4
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0x2d70a
imulq $0x3e8, %r13, %rax      # imm = 0x3E8
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %r15, %rdi
callq 0x143ea
leaq 0x20(%rsp), %rax
movq %r14, (%rax)
movq 0x28(%r14), %r13
movq %rax, 0x8(%rsp)
movq %fs:-0x8, %rax
testq %rax, %rax
je 0x25a34
movq 0x8(%rax), %rdi
jmp 0x25a36
xorl %edi, %edi
movl $0x60, %esi
callq 0x146f4
movq %rax, %rbp
leaq 0x30(%r14), %rbx
leaq 0x68(%r14), %rsi
movq %rax, 0x10(%rsp)
movq $0x0, (%rax)
leaq 0xbc6(%rip), %rax       # 0x26624
movq %rax, 0x8(%rbp)
xorl %eax, %eax
movl %eax, 0x10(%rbp)
movl %eax, 0x18(%rbp)
movb $0x0, 0x1c(%rbp)
leaq 0x2e7ab(%rip), %rax     # 0x54220
movq %rax, 0x20(%rbp)
movq 0x20(%rsp), %rax
movq %rax, 0x28(%rbp)
movq %rbp, %rdi
addq $0x30, %rdi
callq 0x14fd8
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 0x1456e
leaq 0x10(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
leaq 0x8(%rsp), %rdi
callq 0x26850
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x25b37
movq %rax, %r13
leaq 0x8(%rsp), %rdi
callq 0x26850
jmp 0x25af5
jmp 0x25b37
jmp 0x25af2
jmp 0x25af2
movq %rax, %r13
jmp 0x25b16
movq %rax, %r13
movq 0xa8(%r14), %rax
testq %rax, %rax
je 0x25b0e
movq %r12, %rdi
movq %r12, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0xdb20
movq 0x18(%r14), %rax
testq %rax, %rax
je 0x25b2d
movq (%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %r13, %rdi
callq 0xaa30
jmp 0x25b37
movq %rax, %rdi
callq 0xd3a3
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2d770
leaq 0xb8(%r14), %r12
leaq 0x18(%r13), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq 0x2d846
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 0x2e5cc
movq $0x0, 0x10(%r14)
movb $0x0, (%r14)
movq %rsp, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
leaq 0x748b(%rip), %rax      # 0x2d07e
movq %rax, 0x18(%rsi)
leaq 0x7482(%rip), %rax      # 0x2d080
movq %rax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x153e2
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x25c21
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 0x25cdc
movq %rax, %rbp
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x25c81
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x25c81
jmp 0x25cdc
movq %rax, %rbp
jmp 0x25c89
movq %rax, %rbp
jmp 0x25c9d
movq %rax, %rbp
jmp 0x25ca5
movq %rax, %rbp
movq %r13, %rdi
callq 0xd8cc
leaq 0x108(%r14), %rdi
callq 0xda74
movq %r12, %rdi
callq 0xe1b0
movq %r15, %rdi
callq 0xd916
movq 0x48(%r14), %rax
testq %rax, %rax
je 0x25cbc
leaq 0x38(%r14), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x28(%r14), %rax
testq %rax, %rax
je 0x25cd2
movq %rbx, %rdi
movq %rbx, %rsi
movl $0x3, %edx
callq *%rax
movq %rbp, %rdi
callq 0xaa30
jmp 0x25cdc
movq %rax, %rdi
callq 0xd3a3
// File: /workspace/github_cpp_makefile_star2_O3/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 0x26208
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 0x2d9f4
leaq 0x58(%rbx), %r14
movl %ebp, %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0xe68c
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 -0x454(%rip), %rcx      # 0x25d7c
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
movq %rbx, 0x38(%rdi)
leaq 0x8(%rsp), %rsi
movl %eax, (%rsi)
movb $0x0, 0x4(%rsi)
leaq 0x2e032(%rip), %rax     # 0x54220
movq %rax, 0x8(%rsi)
xorl %edx, %edx
movl $0x1, %ecx
callq 0x316b4
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/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 0x2626f
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x258, %rdi            # imm = 0x258
movq %rdx, %rsi
callq 0x2d9f4
leaq 0xb8(%rbx), %rdi
movq (%r14), %rcx
movq 0x8(%r14), %rdx
leaq -0x4c4(%rip), %rax      # 0x25d7c
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 0x334d0
addq $0x28, %rsp
popq %rbx
popq %r14
retq