// File: alfanick[P]rest-cpp/src/rest/json.hpp
// Function: nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, double, std::allocator>::lexer::yyfill()
void yyfill() noexcept
        {
            if (m_stream == nullptr or not * m_stream)
            {
                return;
            }

            const ssize_t offset_start = m_start - m_content;
            const ssize_t offset_marker = m_marker - m_start;
            const ssize_t offset_cursor = m_cursor - m_start;

            m_buffer.erase(0, static_cast<size_t>(offset_start));
            std::string line;
            assert(m_stream != nullptr);
            std::getline(*m_stream, line);
            m_buffer += "\n" + line; // add line with newline symbol

            m_content = reinterpret_cast<const lexer_char_t*>(m_buffer.c_str());
            assert(m_content != nullptr);
            m_start  = m_content;
            m_marker = m_start + offset_marker;
            m_cursor = m_start + offset_cursor;
            m_limit  = m_start + m_buffer.size() - 1;
        }

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, (%rax)
je 0x9d7b0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x8f5b0
movb %al, 0xf(%rsp)
jmp 0x9d7a6
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x9d7b0
jmp 0x9d7b5
jmp 0x9d91a
movq 0x10(%rsp), %rdi
movq 0x28(%rdi), %rcx
movq 0x30(%rdi), %rax
subq %rcx, %rax
movq %rax, 0x68(%rsp)
movq 0x30(%rdi), %rcx
movq 0x38(%rdi), %rax
subq %rcx, %rax
movq %rax, 0x60(%rsp)
movq 0x30(%rdi), %rcx
movq 0x40(%rdi), %rax
subq %rcx, %rax
movq %rax, 0x58(%rsp)
addq $0x8, %rdi
movq 0x68(%rsp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x8e070
jmp 0x9d7fe
leaq 0x38(%rsp), %rdi
callq 0x959e0
movq 0x10(%rsp), %rax
cmpq $0x0, (%rax)
je 0x9d815
jmp 0x9d834
leaq 0x46d76(%rip), %rdi     # 0xe4592
leaq 0x46b64(%rip), %rsi     # 0xe4387
movl $0x1dd3, %edx           # imm = 0x1DD3
leaq 0x46d77(%rip), %rcx     # 0xe45a6
callq 0x90c40
movq 0x10(%rsp), %rax
movq (%rax), %rdi
leaq 0x38(%rsp), %rsi
callq 0x8db70
jmp 0x9d848
leaq 0x4946e(%rip), %rsi     # 0xe6cbd
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x925e0
jmp 0x9d860
movq 0x10(%rsp), %rdi
addq $0x8, %rdi
leaq 0x18(%rsp), %rsi
callq 0x94d40
jmp 0x9d875
leaq 0x18(%rsp), %rdi
callq 0x99830
movq 0x10(%rsp), %rdi
addq $0x8, %rdi
callq 0x8f110
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rax)
cmpq $0x0, 0x28(%rax)
je 0x9d8a2
jmp 0x9d8c1
leaq 0x46ac9(%rip), %rdi     # 0xe4372
leaq 0x46ad7(%rip), %rsi     # 0xe4387
movl $0x1dd8, %edx           # imm = 0x1DD8
leaq 0x46cea(%rip), %rcx     # 0xe45a6
callq 0x90c40
movq 0x10(%rsp), %rdi
movq 0x28(%rdi), %rax
movq %rax, 0x30(%rdi)
movq 0x30(%rdi), %rax
addq 0x60(%rsp), %rax
movq %rax, 0x38(%rdi)
movq 0x30(%rdi), %rax
addq 0x58(%rsp), %rax
movq %rax, 0x40(%rdi)
movq 0x30(%rdi), %rax
movq %rax, (%rsp)
addq $0x8, %rdi
callq 0x91060
movq (%rsp), %rcx
movq %rax, %rdx
movq 0x10(%rsp), %rax
addq %rdx, %rcx
addq $-0x1, %rcx
movq %rcx, 0x48(%rax)
leaq 0x38(%rsp), %rdi
callq 0x99830
addq $0x78, %rsp
retq
movq %rax, %rdi
callq 0x9b760
nopw (%rax,%rax)