// File: /workspace/github_cpp_makefile_star2_O2/orbitcowboy[P]gnuplot-cpp/./gnuplot_i.hpp
// Function: Gnuplot& Gnuplot::plot_xy<std::vector<double, std::allocator<double>>, std::vector<double, std::allocator<double>>>(std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Gnuplot& Gnuplot::plot_xy(const X& x, const Y& y, const std::string &title)
{
    if (x.empty() || y.empty())
    {
        throw GnuplotException("std::vectors too small");
    }

    if (x.size() != y.size())
    {
        throw GnuplotException("Length of the std::vectors differs");
    }
    std::ofstream tmp;
    const std::string name = create_tmpfile(tmp);
    if (name.empty())
    {
        throw GnuplotException("Unable to create tmp-file.");
    }
    // write the data to file
    for (std::size_t i = 0; i < x.size(); ++i)
    {
        tmp << x[i] << " " << y[i] << std::endl;
    }
    // Cleanup
    tmp.flush();
    tmp.close();
    // Plot
    plotfile_xy(name, 1, 2, title);

    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rcx, %r14
movq (%rsi), %rcx
movq 0x8(%rsi), %rax
cmpq %rax, %rcx
je 0x836e
movq %rdx, %r15
movq %rsi, %r12
movq (%rdx), %rdx
movq 0x8(%r15), %rsi
cmpq %rsi, %rdx
je 0x836e
subq %rcx, %rax
subq %rdx, %rsi
cmpq %rsi, %rax
jne 0x83bc
movq %rdi, %rbx
leaq 0x58(%rsp), %r13
movq %r13, %rdi
callq 0x3380
leaq 0x18(%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x53a0
movq %r14, 0x10(%rsp)
cmpq $0x0, 0x20(%rsp)
je 0x8407
xorl %r14d, %r14d
leaq 0x58(%rsp), %r13
leaq 0x1f9c(%rip), %rbp      # 0xa269
movq (%r12), %rax
movq 0x8(%r12), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r14
jae 0x8319
movsd (%rax,%r14,8), %xmm0
movq %r13, %rdi
callq 0x3330
movq %rax, %rdi
movq %rbp, %rsi
callq 0x31f0
movq (%r15), %rcx
movsd (%rcx,%r14,8), %xmm0
movq %rax, %rdi
callq 0x3330
movq %rax, %rdi
callq 0x3100
incq %r14
jmp 0x82cd
leaq 0x58(%rsp), %rdi
callq 0x3170
leaq 0x58(%rsp), %rdi
callq 0x32d0
leaq 0x18(%rsp), %rsi
pushq $0x1
popq %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
movq 0x10(%rsp), %r8
callq 0x4cbe
leaq 0x18(%rsp), %rdi
callq 0x3448
leaq 0x58(%rsp), %rdi
callq 0x32e0
movq %rbx, %rax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x2613(%rip), %rsi      # 0xa993
leaq 0x58(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0x7cca
movb $0x1, %bpl
leaq 0x58(%rsp), %rsi
movq %r14, %rdi
callq 0x7d5c
xorl %ebp, %ebp
leaq 0x69a0(%rip), %rsi      # 0xed48
movq 0x6c09(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
jmp 0x8450
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x25dc(%rip), %rsi      # 0xa9aa
leaq 0x58(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0x7cca
movb $0x1, %bpl
leaq 0x58(%rsp), %rsi
movq %r14, %rdi
callq 0x7d5c
xorl %ebp, %ebp
leaq 0x6952(%rip), %rsi      # 0xed48
movq 0x6bbb(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
jmp 0x8450
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x25b4(%rip), %rsi      # 0xa9cd
leaq 0x38(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x7cca
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x7d5c
xorl %ebp, %ebp
leaq 0x6907(%rip), %rsi      # 0xed48
movq 0x6b70(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3448
testb %bpl, %bpl
jne 0x8467
jmp 0x84a0
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x84a0
jmp 0x847a
jmp 0x848e
movq %rax, %rbx
jmp 0x84aa
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x3448
testb %bpl, %bpl
jne 0x8491
jmp 0x84b4
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x84b4
jmp 0x849d
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3448
leaq 0x58(%rsp), %rdi
callq 0x32e0
movq %rbx, %rdi
callq 0x33b0