// File: /workspace/github_cpp_makefile_star2_O3/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 0xbf5e
movq %r8, %rbp
movq %rdx, %r12
movq (%rdx), %rdx
movq 0x8(%r12), %r8
cmpq %r8, %rdx
je 0xbf5e
movq %rsi, %r13
movq %rdi, %r14
movq (%r15), %rsi
movq 0x8(%r15), %rdi
cmpq %rdi, %rsi
je 0xbf5e
subq %rcx, %rax
subq %rdx, %r8
cmpq %r8, %rax
jne 0xbfc3
subq %rsi, %rdi
cmpq %rdi, %rax
jne 0xbfc3
leaq 0x58(%rsp), %rbx
movq %rbx, %rdi
callq 0x33b0
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6112
movq %rbp, 0x8(%rsp)
movq %r14, 0x10(%rsp)
cmpq $0x0, 0x20(%rsp)
je 0xc025
movq (%r13), %rax
cmpq %rax, 0x8(%r13)
je 0xbec1
xorl %ebp, %ebp
leaq 0x14f3(%rip), %r14      # 0xd319
movsd (%rax,%rbp,8), %xmm0
leaq 0x58(%rsp), %rdi
callq 0x3350
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3250
movq (%r12), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3250
movq (%r15), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x3350
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3170
incq %rbp
movq (%r13), %rax
movq 0x8(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %rbp
jb 0xbe26
leaq 0x58(%rsp), %rdi
callq 0x3170
movq 0x10(%rsp), %rbx
leaq 0x58(%rsp), %rdi
callq 0x32d0
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
movl $0x2, %ecx
movl $0x3, %r8d
movq 0x8(%rsp), %r9
callq 0x5b98
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbf17
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3210
movq 0x5082(%rip), %rax      # 0x10fa0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x60(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x58(%rsp,%rcx)
callq 0x31c0
leaq 0x150(%rsp), %rdi
callq 0x30c0
movq %rbx, %rax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1ac8(%rip), %rsi      # 0xda43
leaq 0x1ad7(%rip), %rdx      # 0xda59
leaq 0x58(%rsp), %rdi
callq 0xc700
movb $0x1, %bpl
leaq 0x58(%rsp), %rsi
movq %r14, %rdi
callq 0x32a0
leaq 0x4dbd(%rip), %rax      # 0x10d60
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0x4d89(%rip), %rsi      # 0x10d38
movq 0x5002(%rip), %rdx      # 0x10fb8
movq %r14, %rdi
callq 0x33c0
jmp 0xc085
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a7a(%rip), %rsi      # 0xda5a
leaq 0x1a95(%rip), %rdx      # 0xda7c
leaq 0x58(%rsp), %rdi
callq 0xc700
movb $0x1, %bpl
leaq 0x58(%rsp), %rsi
movq %r14, %rdi
callq 0x32a0
leaq 0x4d58(%rip), %rax      # 0x10d60
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0x4d24(%rip), %rsi      # 0x10d38
movq 0x4f9d(%rip), %rdx      # 0x10fb8
movq %r14, %rdi
callq 0x33c0
jmp 0xc085
movl $0x10, %edi
callq 0x3120
movq %rax, %r14
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a3b(%rip), %rsi      # 0xda7d
leaq 0x1a4e(%rip), %rdx      # 0xda97
leaq 0x38(%rsp), %rdi
callq 0xc700
movb $0x1, %bpl
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x32a0
leaq 0x4cf6(%rip), %rax      # 0x10d60
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0x4cc2(%rip), %rsi      # 0x10d38
movq 0x4f3b(%rip), %rdx      # 0x10fb8
movq %r14, %rdi
callq 0x33c0
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0xc09f
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3210
testb %bpl, %bpl
jne 0xc0a9
jmp 0xc0ef
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0xc0ef
jmp 0xc0bc
jmp 0xc0dd
movq %rax, %rbx
jmp 0xc10a
movq %rax, %rbx
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0xc0d6
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3210
testb %bpl, %bpl
jne 0xc0e0
jmp 0xc114
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
jmp 0xc114
jmp 0xc0ec
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc10a
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3210
leaq 0x58(%rsp), %rdi
callq 0x32e0
movq %rbx, %rdi
callq 0x33f0