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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
callq 0xa970
andl $0x0, (%rax)
testq %r15, %r15
je 0x3dfc7
cmpq $0x1, %r12
jne 0x3e099
testq %r14, %r14
je 0x3e16b
xorl %r12d, %r12d
cmpq %r12, %rbx
je 0x3dfb5
movsbl (%r15,%r12), %esi
movq %r14, %rdi
callq 0xaa90
incq %r12
jmp 0x3df9e
movq %rbx, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0xa770
testl %eax, %eax
jne 0x3e23d
leaq 0x56dd(%rip), %rsi      # 0x436b8
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xe1e4
leaq 0x48(%rsp), %rdi
pushq $0x5b
popq %rsi
callq 0xee49
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xea95
leaq 0x14a2(%rip), %rdx      # 0x3f4b7
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xeafc
leaq 0x57f4(%rip), %rsi      # 0x43825
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xe1e4
leaq 0x1f25(%rip), %rdx      # 0x3ff6c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeafc
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xea95
leaq 0x5797(%rip), %rdx      # 0x4380e
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xeafc
leaq 0xe8(%rsp), %rdi
callq 0x1235c
callq 0xa770
testl %eax, %eax
jne 0x3e23d
leaq 0x560b(%rip), %rsi      # 0x436b8
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xe1e4
leaq 0x48(%rsp), %rdi
pushq $0x5c
popq %rsi
callq 0xee49
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xea95
leaq 0x13d0(%rip), %rdx      # 0x3f4b7
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xeafc
leaq 0x5722(%rip), %rsi      # 0x43825
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xe1e4
leaq 0x1e53(%rip), %rdx      # 0x3ff6c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeafc
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xea95
leaq 0x56c9(%rip), %rdx      # 0x43812
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xeafc
leaq 0xe8(%rsp), %rdi
callq 0x1235c
callq 0xa770
testl %eax, %eax
jne 0x3e23d
leaq 0x5539(%rip), %rsi      # 0x436b8
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xe1e4
leaq 0x48(%rsp), %rdi
pushq $0x5d
popq %rsi
callq 0xee49
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xea95
leaq 0x12fe(%rip), %rdx      # 0x3f4b7
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xeafc
leaq 0x5650(%rip), %rsi      # 0x43825
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xe1e4
leaq 0x1d81(%rip), %rdx      # 0x3ff6c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xeafc
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xea95
leaq 0x5601(%rip), %rdx      # 0x4381c
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xeafc
leaq 0xe8(%rsp), %rdi
callq 0x1235c
pushq $0x1
popq %rdi
callq 0xa620
jmp 0x3e24d
jmp 0x3e25f
jmp 0x3e24d
jmp 0x3e25f
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xab20
jmp 0x3e262
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xab20
jmp 0x3e278
jmp 0x3e275
jmp 0x3e275
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xab20
jmp 0x3e28b
jmp 0x3e288
jmp 0x3e288
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xab20
jmp 0x3e29e
jmp 0x3e29b
jmp 0x3e29b
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xab20
jmp 0x3e2b4
jmp 0x3e2b1
jmp 0x3e2b1
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xab20
jmp 0x3e2ca
jmp 0x3e2c7
jmp 0x3e2c7
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xab20
jmp 0x3e2dd
jmp 0x3e2da
jmp 0x3e2da
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xab20
jmp 0x3e2f0
jmp 0x3e2ed
jmp 0x3e2ed
movq %rax, %rbx
movq %rbx, %rdi
callq 0xa5d0