// File: nurseiit[P]cpp-server/./include/asio/basic_streambuf.hpp
// Function: asio::basic_streambuf<std::allocator<char>>::reserve(unsigned long)
void reserve(std::size_t n)
  {
    // Get current stream positions as offsets.
    std::size_t gnext = gptr() - &buffer_[0];
    std::size_t pnext = pptr() - &buffer_[0];
    std::size_t pend = epptr() - &buffer_[0];

    // Check if there is already enough space in the put area.
    if (n <= pend - pnext)
    {
      return;
    }

    // Shift existing contents of get area to start of buffer.
    if (gnext > 0)
    {
      pnext -= gnext;
      std::memmove(&buffer_[0], &buffer_[0] + gnext, pnext);
    }

    // Ensure buffer is large enough to hold at least the specified size.
    if (n > pend - pnext)
    {
      if (n <= max_size_ && pnext <= max_size_ - n)
      {
        pend = pnext + n;
        buffer_.resize((std::max<std::size_t>)(pend, 1));
      }
      else
      {
        std::length_error ex("asio::streambuf too long");
        asio::detail::throw_exception(ex);
      }
    }

    // Update stream positions.
    setg(&buffer_[0], &buffer_[0], &buffer_[0] + pnext);
    setp(&buffer_[0] + pnext, &buffer_[0] + pend);
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x5130
movq -0x60(%rbp), %rdi
movq %rax, -0x70(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq %rax, %rcx
movq -0x70(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x18(%rbp)
callq 0x5120
movq -0x60(%rbp), %rdi
movq %rax, -0x68(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq %rax, %rcx
movq -0x68(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x20(%rbp)
callq 0x5460
movq -0x60(%rbp), %rdi
movq %rax, -0x58(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq %rax, %rcx
movq -0x58(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq -0x28(%rbp), %rcx
subq -0x20(%rbp), %rcx
cmpq %rcx, %rax
ja 0xb8e1
jmp 0xba93
cmpq $0x0, -0x18(%rbp)
jbe 0xb931
movq -0x60(%rbp), %rdi
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x20(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq %rax, -0x78(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x78(%rbp), %rdi
movq %rax, %rsi
addq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x5600
movq -0x10(%rbp), %rax
movq -0x28(%rbp), %rcx
subq -0x20(%rbp), %rcx
cmpq %rcx, %rax
jbe 0xb9f0
movq -0x60(%rbp), %rcx
movq -0x10(%rbp), %rax
cmpq 0x40(%rcx), %rax
ja 0xb9a4
movq -0x60(%rbp), %rcx
movq -0x20(%rbp), %rax
movq 0x40(%rcx), %rcx
subq -0x10(%rbp), %rcx
cmpq %rcx, %rax
ja 0xb9a4
movq -0x60(%rbp), %rax
movq -0x20(%rbp), %rcx
addq -0x10(%rbp), %rcx
movq %rcx, -0x28(%rbp)
addq $0x48, %rax
movq %rax, -0x80(%rbp)
movq $0x1, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0xbb90
movq -0x80(%rbp), %rdi
movq (%rax), %rsi
callq 0xbb00
jmp 0xb9ee
leaq 0xcbf5(%rip), %rsi      # 0x185a0
leaq -0x40(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0x53d0
movq -0x88(%rbp), %rdi
callq 0xbbd0
jmp 0xb9c9
leaq -0x40(%rbp), %rdi
callq 0x5748
jmp 0xb9ee
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x5748
jmp 0xba9c
jmp 0xb9f0
movq -0x60(%rbp), %rdi
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq %rax, -0xa0(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq %rax, -0x98(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0xa0(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq -0x60(%rbp), %rdi
movq %rax, %rcx
addq -0x20(%rbp), %rcx
callq 0x5550
movq -0x60(%rbp), %rdi
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
addq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
addq $0x48, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xb7c0
movq -0x60(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq %rax, %rdx
addq -0x28(%rbp), %rdx
callq 0x55d0
addq $0xa0, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x5660
nopw %cs:(%rax,%rax)
nop