// File: /workspace/github_cpp_makefile_star2_O3/gualtieromalde[P]owmread/owmread.C
// Function: setMetar(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void setMetar(int port, std::string metar)
{
    CURL* curl = curl_easy_init();
    const std::string url = "http://localhost:" + std::to_string(port) + "/props/environment/metar?submit=set&data[0]=" + curl_easy_escape(curl, metar.c_str(), metar.size());
    curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
    curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
    curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10);
    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, no_write_data);
    curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
    curl_easy_perform(curl);
    curl_easy_cleanup(curl);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movl %edi, %r15d
callq 0x8700
movq %rax, %rbx
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0xb38c
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0xb383
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xb389
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xb38c
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xb350
addl $-0x3, %r12d
jmp 0xb38c
addl $-0x2, %r12d
jmp 0xb38c
decl %r12d
shrl $0x1f, %r15d
leal (%r12,%r15), %esi
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x83d0
addq (%r13), %r15
movq %r15, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0xc7d0
leaq 0x281f8(%rip), %rcx     # 0x335bf
movl $0x11, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8130
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb400
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0xb407
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x281e6(%rip), %rsi     # 0x33610
callq 0x8450
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb457
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0xb45f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
movl 0x8(%r14), %edx
movq %rbx, %rdi
callq 0x84d0
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x8450
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb4ba
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0xb4c1
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xb4e8
callq 0x8350
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xb4f7
callq 0x8350
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xb50b
callq 0x8350
movq 0x28(%rsp), %rdx
movq %rbx, %rdi
movl $0x2712, %esi           # imm = 0x2712
xorl %eax, %eax
callq 0x85f0
movq %rbx, %rdi
movl $0x71, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x85f0
movq %rbx, %rdi
movl $0xd, %esi
movl $0xa, %edx
xorl %eax, %eax
callq 0x85f0
leaq 0xaa(%rip), %rdx        # 0xb5f8
movq %rbx, %rdi
movl $0x4e2b, %esi           # imm = 0x4E2B
xorl %eax, %eax
callq 0x85f0
movl $0x1, %edx
movq %rbx, %rdi
movl $0x34, %esi
xorl %eax, %eax
callq 0x85f0
movq %rbx, %rdi
callq 0x8490
movq %rbx, %rdi
callq 0x80f0
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0xb590
callq 0x8350
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xb5be
movq %rax, %rbx
jmp 0xb5cd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xb5be
callq 0x8350
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xb5cd
callq 0x8350
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
jne 0xb5eb
jmp 0xb5f0
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0xb5f0
callq 0x8350
movq %rbx, %rdi
callq 0x8440