// File: /workspace/github_cpp_makefile_star2_O2/orbitcowboy[P]gnuplot-cpp/./gnuplot_i.hpp
// Function: Gnuplot& Gnuplot::plot_xyz<std::vector<double, std::allocator<double>>, 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::vector<double, std::allocator<double>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Gnuplot& Gnuplot::plot_xyz(const X &x,
                           const Y &y,
                           const Z &z,
                           const std::string &title)
{
    if (x.empty() || y.empty() || z.empty())
    {
        throw GnuplotException("std::vectors too small");
    }
    if (x.size() != y.size() || x.size() != z.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] << " " << z[i] << std::endl;
    }
    // cleanup
    tmp.flush();
    tmp.close();
    // plot file
    plotfile_xyz(name, 1, 2, 3, title);

    return *this;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rcx, %r15
movq (%rsi), %rcx
movq 0x8(%rsi), %rax
cmpq %rax, %rcx
je 0x8684
movq %r8, %rbp
movq %rdx, %r12
movq (%rdx), %rdx
movq 0x8(%r12), %r8
cmpq %r8, %rdx
je 0x8684
movq %rsi, %r13
movq %rdi, %rbx
movq (%r15), %rsi
movq 0x8(%r15), %rdi
cmpq %rdi, %rsi
je 0x8684
subq %rcx, %rax
subq %rdx, %r8
cmpq %r8, %rax
jne 0x86d2
subq %rsi, %rdi
cmpq %rdi, %rax
jne 0x86d2
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x3380
leaq 0x18(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x53a0
movq %rbp, 0x8(%rsp)
movq %rbx, 0x10(%rsp)
cmpq $0x0, 0x20(%rsp)
je 0x871d
xorl %ebx, %ebx
leaq 0x58(%rsp), %rbp
leaq 0x1ca8(%rip), %r14      # 0xa269
movq (%r13), %rax
movq 0x8(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %rbx
jae 0x8626
movsd (%rax,%rbx,8), %xmm0
movq %rbp, %rdi
callq 0x3330
movq %rax, %rdi
movq %r14, %rsi
callq 0x31f0
movq (%r12), %rcx
movsd (%rcx,%rbx,8), %xmm0
movq %rax, %rdi
callq 0x3330
movq %rax, %rdi
movq %r14, %rsi
callq 0x31f0
movq (%r15), %rcx
movsd (%rcx,%rbx,8), %xmm0
movq %rax, %rdi
callq 0x3330
movq %rax, %rdi
callq 0x3100
incq %rbx
jmp 0x85c1
leaq 0x58(%rsp), %rdi
callq 0x3170
movq 0x10(%rsp), %rbx
leaq 0x58(%rsp), %rdi
callq 0x32d0
leaq 0x18(%rsp), %rsi
pushq $0x1
popq %rdx
pushq $0x2
popq %rcx
pushq $0x3
popq %r8
movq %rbx, %rdi
movq 0x8(%rsp), %r9
callq 0x4fcc
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 0x22fd(%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 0x668a(%rip), %rsi      # 0xed48
movq 0x68f3(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
jmp 0x8766
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x22c6(%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 0x663c(%rip), %rsi      # 0xed48
movq 0x68a5(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
jmp 0x8766
pushq $0x10
popq %rdi
callq 0x3110
movq %rax, %r14
leaq 0x229e(%rip), %rsi      # 0xa9cd
leaq 0x38(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7cca
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x7d5c
xorl %ebp, %ebp
leaq 0x65f1(%rip), %rsi      # 0xed48
movq 0x685a(%rip), %rdx      # 0xefb8
movq %r14, %rdi
callq 0x3390
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3448
testb %bpl, %bpl
jne 0x877d
jmp 0x87b6
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x87b6
jmp 0x8790
jmp 0x87a4
movq %rax, %rbx
jmp 0x87c0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x3448
testb %bpl, %bpl
jne 0x87a7
jmp 0x87ca
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0x87ca
jmp 0x87b3
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3448
leaq 0x58(%rsp), %rdi
callq 0x32e0
movq %rbx, %rdi
callq 0x33b0