// File: 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:
subq $0x3a8, %rsp            # imm = 0x3A8
movq %rdi, 0x3a0(%rsp)
movq %rsi, 0x398(%rsp)
movq %rdx, 0x390(%rsp)
movq %rcx, 0x388(%rsp)
callq 0xbbd0
movl $0x0, (%rax)
cmpq $0x0, 0x3a0(%rsp)
jne 0x91bc8
callq 0xb920
cmpl $0x0, %eax
jne 0x91bbe
leaq 0x2e7(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0xbb30
movq 0x30(%rsp), %rdx
leaq 0x6e5b(%rip), %rsi      # 0x987c8
leaq 0x2e8(%rsp), %rdi
callq 0x125d0
jmp 0x9197c
leaq 0x2b0(%rsp), %rdi
movl $0x49, %esi
callq 0x14f00
jmp 0x91990
leaq 0x308(%rsp), %rdi
leaq 0x2e8(%rsp), %rsi
leaq 0x2b0(%rsp), %rdx
callq 0x14520
jmp 0x919af
leaq 0x2b01(%rip), %rdx      # 0x944b7
leaq 0x328(%rsp), %rdi
leaq 0x308(%rsp), %rsi
callq 0x14610
jmp 0x919cd
leaq 0x26f(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0xbb30
movq 0x28(%rsp), %rdx
leaq 0x6edc(%rip), %rsi      # 0x988c7
leaq 0x270(%rsp), %rdi
callq 0x125d0
jmp 0x919fa
leaq 0x3643(%rip), %rdx      # 0x95044
leaq 0x290(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x14610
jmp 0x91a18
leaq 0x348(%rsp), %rdi
leaq 0x328(%rsp), %rsi
leaq 0x290(%rsp), %rdx
callq 0x14520
jmp 0x91a37
leaq 0x6ee0(%rip), %rdx      # 0x9891e
leaq 0x368(%rsp), %rdi
leaq 0x348(%rsp), %rsi
callq 0x14610
jmp 0x91a55
leaq 0x368(%rsp), %rdi
callq 0x1f7f0
jmp 0x91a64
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91bac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b9f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b92
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b85
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b6b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b51
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91b44
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x368(%rsp), %rdi
callq 0xbe38
leaq 0x348(%rsp), %rdi
callq 0xbe38
leaq 0x290(%rsp), %rdi
callq 0xbe38
leaq 0x270(%rsp), %rdi
callq 0xbe38
leaq 0x26f(%rsp), %rdi
callq 0xbe10
leaq 0x328(%rsp), %rdi
callq 0xbe38
leaq 0x308(%rsp), %rdi
callq 0xbe38
leaq 0x2b0(%rsp), %rdi
callq 0xbe38
leaq 0x2e8(%rsp), %rdi
callq 0xbe38
leaq 0x2e7(%rsp), %rdi
callq 0xbe10
jmp 0x9214f
movl $0x1, %edi
callq 0xb800
callq 0xbbd0
movl $0x0, (%rax)
cmpq $0x1, 0x398(%rsp)
je 0x91e69
callq 0xb920
cmpl $0x0, %eax
jne 0x91e5f
leaq 0x1c7(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xbb30
movq 0x20(%rsp), %rdx
leaq 0x6bba(%rip), %rsi      # 0x987c8
leaq 0x1c8(%rsp), %rdi
callq 0x125d0
jmp 0x91c1d
leaq 0x1a0(%rsp), %rdi
movl $0x4a, %esi
callq 0x14f00
jmp 0x91c31
leaq 0x1e8(%rsp), %rdi
leaq 0x1c8(%rsp), %rsi
leaq 0x1a0(%rsp), %rdx
callq 0x14520
jmp 0x91c50
leaq 0x2860(%rip), %rdx      # 0x944b7
leaq 0x208(%rsp), %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x14610
jmp 0x91c6e
leaq 0x15f(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xbb30
movq 0x18(%rsp), %rdx
leaq 0x6c3b(%rip), %rsi      # 0x988c7
leaq 0x160(%rsp), %rdi
callq 0x125d0
jmp 0x91c9b
leaq 0x33a2(%rip), %rdx      # 0x95044
leaq 0x180(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x14610
jmp 0x91cb9
leaq 0x228(%rsp), %rdi
leaq 0x208(%rsp), %rsi
leaq 0x180(%rsp), %rdx
callq 0x14520
jmp 0x91cd8
leaq 0x6c43(%rip), %rdx      # 0x98922
leaq 0x248(%rsp), %rdi
leaq 0x228(%rsp), %rsi
callq 0x14610
jmp 0x91cf6
leaq 0x248(%rsp), %rdi
callq 0x1f7f0
jmp 0x91d05
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91e4d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91e40
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91e33
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91e26
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91e0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91dff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91df2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x91de5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x248(%rsp), %rdi
callq 0xbe38
leaq 0x228(%rsp), %rdi
callq 0xbe38
leaq 0x180(%rsp), %rdi
callq 0xbe38
leaq 0x160(%rsp), %rdi
callq 0xbe38
leaq 0x15f(%rsp), %rdi
callq 0xbe10
leaq 0x208(%rsp), %rdi
callq 0xbe38
leaq 0x1e8(%rsp), %rdi
callq 0xbe38
leaq 0x1a0(%rsp), %rdi
callq 0xbe38
leaq 0x1c8(%rsp), %rdi
callq 0xbe38
leaq 0x1c7(%rsp), %rdi
callq 0xbe10
jmp 0x9214f
movl $0x1, %edi
callq 0xb800
callq 0xbbd0
movl $0x0, (%rax)
cmpq $0x0, 0x388(%rsp)
jne 0x920ef
callq 0xb920
cmpl $0x0, %eax
jne 0x920e5
leaq 0xb7(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xbb30
movq 0x10(%rsp), %rdx
leaq 0x6919(%rip), %rsi      # 0x987c8
leaq 0xb8(%rsp), %rdi
callq 0x125d0
jmp 0x91ebe
leaq 0x90(%rsp), %rdi
movl $0x4b, %esi
callq 0x14f00
jmp 0x91ed2
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x14520
jmp 0x91ef1
leaq 0x25bf(%rip), %rdx      # 0x944b7
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x14610
jmp 0x91f0f
leaq 0x4f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xbb30
movq 0x8(%rsp), %rdx
leaq 0x699d(%rip), %rsi      # 0x988c7
leaq 0x50(%rsp), %rdi
callq 0x125d0
jmp 0x91f36
leaq 0x3107(%rip), %rdx      # 0x95044
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x14610
jmp 0x91f4e
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x14520
jmp 0x91f6a
leaq 0x69bb(%rip), %rdx      # 0x9892c
leaq 0x138(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0x14610
jmp 0x91f88
leaq 0x138(%rsp), %rdi
callq 0x1f7f0
jmp 0x91f97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x920d6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x920c9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x920bc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x920af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x92098
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x9208e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x92084
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
jmp 0x92077
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2d8(%rsp)
movl %eax, 0x2d4(%rsp)
leaq 0x138(%rsp), %rdi
callq 0xbe38
leaq 0x118(%rsp), %rdi
callq 0xbe38
leaq 0x70(%rsp), %rdi
callq 0xbe38
leaq 0x50(%rsp), %rdi
callq 0xbe38
leaq 0x4f(%rsp), %rdi
callq 0xbe10
leaq 0xf8(%rsp), %rdi
callq 0xbe38
leaq 0xd8(%rsp), %rdi
callq 0xbe38
leaq 0x90(%rsp), %rdi
callq 0xbe38
leaq 0xb8(%rsp), %rdi
callq 0xbe38
leaq 0xb7(%rsp), %rdi
callq 0xbe10
jmp 0x9214f
movl $0x1, %edi
callq 0xb800
movq 0x388(%rsp), %rax
movq %rax, 0x40(%rsp)
movq $0x0, 0x38(%rsp)
movq 0x38(%rsp), %rax
cmpq 0x390(%rsp), %rax
jae 0x9213f
movq 0x40(%rsp), %rdi
movq 0x3a0(%rsp), %rax
movq 0x38(%rsp), %rcx
movsbl (%rax,%rcx), %esi
callq 0xb7e0
movq 0x38(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x38(%rsp)
jmp 0x92105
movq 0x390(%rsp), %rax
addq $0x3a8, %rsp            # imm = 0x3A8
retq
movq 0x2d8(%rsp), %rdi
callq 0xb7b0
nopl (%rax)