// File: /workspace/github_cpp_makefile_star2_O3/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 0x596c7
cmpq $0x1, %r12
jne 0x59766
testq %r14, %r14
je 0x59805
testq %rbx, %rbx
je 0x596b2
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 0x59692
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 0x598a4
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x6001(%rip), %rsi      # 0x5f6e8
leaq 0x6010(%rip), %rdx      # 0x5f6fe
leaq 0x88(%rsp), %rdi
callq 0x10cc8
leaq 0xa8(%rsp), %rdi
movl $0x49, %esi
callq 0x11784
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11481
leaq 0x1dbd(%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 0x598ae
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x598bb
callq 0x9750
testl %eax, %eax
jne 0x598a4
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f62(%rip), %rsi      # 0x5f6e8
leaq 0x5f71(%rip), %rdx      # 0x5f6fe
leaq 0x88(%rsp), %rdi
callq 0x10cc8
leaq 0xa8(%rsp), %rdi
movl $0x4a, %esi
callq 0x11784
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11481
leaq 0x1d1e(%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 0x5992f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x5993c
callq 0x9750
testl %eax, %eax
jne 0x598a4
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5ec3(%rip), %rsi      # 0x5f6e8
leaq 0x5ed2(%rip), %rdx      # 0x5f6fe
leaq 0x88(%rsp), %rdi
callq 0x10cc8
leaq 0xa8(%rsp), %rdi
movl $0x4b, %esi
callq 0x11784
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x11481
leaq 0x1c7f(%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 0x599b0
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x599bd
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 0x5f03(%rip), %rsi      # 0x5f7e7
leaq 0x5f52(%rip), %rdx      # 0x5f83d
leaq 0x68(%rsp), %rdi
callq 0x10cc8
leaq 0x26a5(%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 0x59a31
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59a3e
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 0x5e82(%rip), %rsi      # 0x5f7e7
leaq 0x5ed1(%rip), %rdx      # 0x5f83d
leaq 0x68(%rsp), %rdi
callq 0x10cc8
leaq 0x2624(%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 0x59aa8
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59ab5
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 0x5e01(%rip), %rsi      # 0x5f7e7
leaq 0x5e50(%rip), %rdx      # 0x5f83d
leaq 0x68(%rsp), %rdi
callq 0x10cc8
leaq 0x25a3(%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 0x59b1f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x59b2c
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 0x11481
leaq 0x5dcb(%rip), %rsi      # 0x5f83e
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 0x59b8f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59b9c
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 0x11481
leaq 0x5d58(%rip), %rsi      # 0x5f842
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 0x59bbd
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59bca
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 0x11481
leaq 0x5ceb(%rip), %rsi      # 0x5f84c
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 0x59beb
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x59bf8
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 0x16026
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 0x16026
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 0x16026
jmp 0x59c21
jmp 0x59c3d
jmp 0x59c21
jmp 0x59c3d
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x59c40
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59c40
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59c6a
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59c6a
jmp 0x59c67
jmp 0x59c67
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x59c8a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59c8a
jmp 0x59c87
jmp 0x59c87
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x59caa
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59caa
jmp 0x59ca7
jmp 0x59ca7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x59cca
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59cca
jmp 0x59cc7
jmp 0x59cc7
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59cf4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59cf4
jmp 0x59cf1
jmp 0x59cf1
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59d1e
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d1e
jmp 0x59d1b
jmp 0x59d1b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x59d44
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x9100
jmp 0x59d44
jmp 0x59d41
jmp 0x59d41
movq %rax, %rbx
movq %rbx, %rdi
callq 0x95b0