// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/curl_easy.cpp
// Function: CURL_sp::(anonymous namespace)::write_stream_cb(char*, unsigned long, unsigned long, void*)
size_t write_stream_cb (char* ptr,
                          size_t size, 
                          size_t nMemb, 
                          void* userData)
  {
    ASSERT (ptr);
    ASSERT (size == 1);
    ASSERT (userData);
    
    OFStream& f = * static_cast <OFStream*> (userData);
    FOR (size_t, i, nMemb)
      f << ptr [i];
    
    return nMemb;
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
callq 0x9930
movl $0x0, (%rax)
testq %r15, %r15
je 0x59794
movl $0x0, (%rax)
cmpq $0x1, %r12
jne 0x59833
movl $0x0, (%rax)
testq %r14, %r14
je 0x598d2
testq %rbx, %rbx
je 0x5977f
xorl %r13d, %r13d
leaq 0x28(%rsp), %r12
movb (%r15,%r13), %al
movb %al, 0x28(%rsp)
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x98a0
incq %r13
cmpq %r13, %rbx
jne 0x5975f
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x9750
testl %eax, %eax
jne 0x59971
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f44(%rip), %rsi      # 0x5f6f8
leaq 0x5f53(%rip), %rdx      # 0x5f70e
leaq 0x88(%rsp), %rdi
callq 0x10cc2
leaq 0xa8(%rsp), %rdi
movl $0x49, %esi
callq 0x11774
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11471
leaq 0x1cf0(%rip), %rsi      # 0x5b4ee
leaq 0xc8(%rsp), %rdi
callq 0x95e0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5997b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x59988
callq 0x9750
testl %eax, %eax
jne 0x59971
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5ea5(%rip), %rsi      # 0x5f6f8
leaq 0x5eb4(%rip), %rdx      # 0x5f70e
leaq 0x88(%rsp), %rdi
callq 0x10cc2
leaq 0xa8(%rsp), %rdi
movl $0x4a, %esi
callq 0x11774
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11471
leaq 0x1c51(%rip), %rsi      # 0x5b4ee
leaq 0xc8(%rsp), %rdi
callq 0x95e0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x599fc
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x59a09
callq 0x9750
testl %eax, %eax
jne 0x59971
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5e06(%rip), %rsi      # 0x5f6f8
leaq 0x5e15(%rip), %rdx      # 0x5f70e
leaq 0x88(%rsp), %rdi
callq 0x10cc2
leaq 0xa8(%rsp), %rdi
movl $0x4b, %esi
callq 0x11774
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11471
leaq 0x1bb2(%rip), %rsi      # 0x5b4ee
leaq 0xc8(%rsp), %rdi
callq 0x95e0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59a7d
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x59a8a
movl $0x1, %edi
callq 0x95f0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5e46(%rip), %rsi      # 0x5f7f7
leaq 0x5e95(%rip), %rdx      # 0x5f84d
leaq 0x68(%rsp), %rdi
callq 0x10cc2
leaq 0x25d8(%rip), %rsi      # 0x5bfa1
leaq 0x68(%rsp), %rdi
callq 0x95e0
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59afe
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59b0b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5dc5(%rip), %rsi      # 0x5f7f7
leaq 0x5e14(%rip), %rdx      # 0x5f84d
leaq 0x68(%rsp), %rdi
callq 0x10cc2
leaq 0x2557(%rip), %rsi      # 0x5bfa1
leaq 0x68(%rsp), %rdi
callq 0x95e0
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59b75
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59b82
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5d44(%rip), %rsi      # 0x5f7f7
leaq 0x5d93(%rip), %rdx      # 0x5f84d
leaq 0x68(%rsp), %rdi
callq 0x10cc2
leaq 0x24d6(%rip), %rsi      # 0x5bfa1
leaq 0x68(%rsp), %rdi
callq 0x95e0
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59bec
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59bf9
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11471
leaq 0x5d0e(%rip), %rsi      # 0x5f84e
leaq 0xe8(%rsp), %rdi
callq 0x95e0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59c5c
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59c69
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11471
leaq 0x5c9b(%rip), %rsi      # 0x5f852
leaq 0xe8(%rsp), %rdi
callq 0x95e0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59c8a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59c97
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11471
leaq 0x5c2e(%rip), %rsi      # 0x5f85c
leaq 0xe8(%rsp), %rdi
callq 0x95e0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x59cb8
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59cc5
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x16073
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x16073
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x16073
jmp 0x59cee
jmp 0x59d0a
jmp 0x59cee
jmp 0x59d0a
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x59d0d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d0d
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59d37
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d37
jmp 0x59d34
jmp 0x59d34
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x59d57
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d57
jmp 0x59d54
jmp 0x59d54
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x59d77
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d77
jmp 0x59d74
jmp 0x59d74
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x59d97
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d97
jmp 0x59d94
jmp 0x59d94
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59dc1
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59dc1
jmp 0x59dbe
jmp 0x59dbe
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59deb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59deb
jmp 0x59de8
jmp 0x59de8
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x59e11
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59e11
jmp 0x59e0e
jmp 0x59e0e
movq %rax, %rbx
movq %rbx, %rdi
callq 0x95b0
nop