// File: /workspace/github_cpp_makefile_star2_O3/ewhitebloom[P]fetch/src/././request/get.cc
// Function: get::get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
Response get(string& url) {
    CURL* curl;
    CURLcode res;
    curl_global_init(CURL_GLOBAL_ALL);
    curl = curl_easy_init();

    curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &writeCallback);
    curl_easy_setopt(curl, CURLOPT_HEADER, 1L);
    curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, header_callback);

    res = curl_easy_perform(curl);

    curl_easy_cleanup(curl);
    curl_global_cleanup();

    Response response;
    response.url = url;
    response.body = fetchResponse;

    if (res != CURLE_OK) {
      raiseCurlCode(res);
    } else {
      int response_code;
      curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code);

      response.status = response_code;
      response.headers = parseHeaders(headers);
    }

    return response;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl $0x3, %edi
callq 0x40b0
callq 0x4290
movq %rax, %r14
movq (%r15), %rdx
xorl %r13d, %r13d
movq %rax, %rdi
movl $0x2712, %esi           # imm = 0x2712
xorl %eax, %eax
callq 0x4210
leaq -0x8a(%rip), %rdx       # 0x4c7d
movq %r14, %rdi
movl $0x4e2b, %esi           # imm = 0x4E2B
xorl %eax, %eax
callq 0x4210
movl $0x1, %edx
movq %r14, %rdi
movl $0x2a, %esi
xorl %eax, %eax
callq 0x4210
leaq 0x16d(%rip), %rdx       # 0x4e9e
movq %r14, %rdi
movl $0x4e6f, %esi           # imm = 0x4E6F
xorl %eax, %eax
callq 0x4210
movq %r14, %rdi
callq 0x41a0
movl %eax, %r12d
movq %r14, %rdi
callq 0x4070
callq 0x4260
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r13, 0x8(%rbx)
movb %r13b, 0x10(%rbx)
leaq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %rax
movq %rax, 0x28(%rbx)
movq %r13, 0x30(%rbx)
movb %r13b, 0x38(%rbx)
leaq 0x58(%rbx), %rax
movq %rax, 0x48(%rbx)
movq %r13, 0x50(%rbx)
movb %r13b, 0x58(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%rbx)
movq %r13, 0x78(%rbx)
movq %r15, %rsi
callq 0x42e0
leaq 0x9403(%rip), %rsi      # 0xe1a8
movq %rbx, %rdi
callq 0x42e0
testl %r12d, %r12d
je 0x4dbf
movl %r12d, %edi
callq 0x47a1
jmp 0x4e62
leaq -0x2c(%rbp), %rdx
movq %r14, %rdi
movl $0x200002, %esi         # imm = 0x200002
xorl %eax, %eax
callq 0x4270
movl -0x2c(%rbp), %eax
movl %eax, 0x20(%rbx)
leaq -0x40(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x93e1(%rip), %rsi      # 0xe1c8
movq 0x93e2(%rip), %rdx      # 0xe1d0
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x65ba
leaq -0x70(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x452c
movups 0x68(%rbx), %xmm0
movq 0x78(%rbx), %rax
leaq -0x70(%rbp), %r14
movq (%r14), %rcx
movq %rcx, 0x68(%rbx)
movq 0x8(%r14), %rcx
movq %rcx, 0x70(%rbx)
movq 0x10(%r14), %rcx
movq %rcx, 0x78(%rbx)
leaq -0x88(%rbp), %rdi
movups %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
movq $0x0, 0x10(%r14)
callq 0x5e02
movq %r14, %rdi
callq 0x5e02
movq -0x50(%rbp), %rdi
cmpq %r15, %rdi
je 0x4e62
callq 0x4130
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r15, %rdi
je 0x4e8e
callq 0x4130
jmp 0x4e8e
jmp 0x4e8b
jmp 0x4e8b
movq %rax, %r14
movq %rbx, %rdi
callq 0x5e36
movq %r14, %rdi
callq 0x4180