// File: /workspace/github_cpp_makefile_star2_O1/orbitcowboy[P]gnuplot-cpp/./gnuplot_i.hpp
// Function: Gnuplot::plotfile_xy(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Gnuplot& Gnuplot::plotfile_xy(const std::string &filename,
                              const unsigned int column_x,
                              const unsigned int column_y,
                              const std::string &title)
{
    //
    // check if file exists
    //
    file_available(filename);

    std::ostringstream cmdstr;
    //
    // command to be sent to gnuplot
    //
    if (nplots > 0  &&  two_dim == true)
    {
        cmdstr << "replot ";
    }
    else
    {
        cmdstr << "plot ";
    }

    cmdstr << "\"" << filename << "\" using " << column_x << ":" << column_y;

    if (title.empty())
    {
        cmdstr << " notitle ";
    }
    else
    {
        cmdstr << " title \"" << title << "\" ";
    }

    if(smooth.empty())
    {
        cmdstr << "with " << pstyle;
    }
    else
    {
        cmdstr << "smooth " << smooth;
    }

    //
    // Do the actual plot
    //
    return cmd(cmdstr.str());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %r8, %r14
movl %ecx, %ebp
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x5586
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x32b0
cmpl $0x0, 0xc(%rbx)
setg %al
andb 0x9(%rbx), %al
leaq 0x7a70(%rip), %rcx      # 0xd21b
leaq 0x7a6b(%rip), %rsi      # 0xd21d
cmovneq %rcx, %rsi
movzbl %al, %eax
leaq 0x5(,%rax,2), %rdx
movq %r13, %rdi
callq 0x3250
leaq 0x7bc2(%rip), %rsi      # 0xd392
leaq 0x20(%rsp), %rdi
movl $0x1, %edx
callq 0x3250
movq (%r15), %rsi
movq 0x8(%r15), %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x3250
movq %rax, %r13
leaq 0x7a58(%rip), %rsi      # 0xd255
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movl %r12d, %esi
movq %r13, %rdi
callq 0x3160
movq %rax, %r12
leaq 0x79d3(%rip), %rsi      # 0xd1f2
movl $0x1, %edx
movq %rax, %rdi
callq 0x3250
movl %ebp, %esi
movq %r12, %rdi
callq 0x3160
cmpq $0x0, 0x8(%r14)
je 0x5875
leaq 0x7a5d(%rip), %rsi      # 0xd2a1
leaq 0x20(%rsp), %rdi
movl $0x8, %edx
callq 0x3250
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3250
movq %rax, %r15
movl $0x2, %edx
leaq 0x79f5(%rip), %rsi      # 0xd268
jmp 0x5881
movl $0x9, %edx
leaq 0x79dd(%rip), %rsi      # 0xd25e
movq %r15, %rdi
callq 0x3250
cmpq $0x0, 0x38(%rbx)
je 0x58b0
leaq 0x79d4(%rip), %rsi      # 0xd26b
leaq 0x20(%rsp), %rdi
movl $0x7, %edx
callq 0x3250
leaq 0x30(%rbx), %rax
leaq 0x38(%rbx), %rcx
jmp 0x58ce
leaq 0x797e(%rip), %rsi      # 0xd235
leaq 0x20(%rsp), %rdi
movl $0x5, %edx
callq 0x3250
leaq 0x10(%rbx), %rax
leaq 0x18(%rbx), %rcx
movq (%rax), %rsi
movq (%rcx), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3250
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x3340
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x3ab8
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5911
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
movq 0xb698(%rip), %rsi      # 0x10fb0
leaq 0x20(%rsp), %rdi
callq 0x3140
leaq 0x90(%rsp), %rdi
callq 0x30c0
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5969
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x5969
jmp 0x5966
movq %rax, %rbx
movq 0xb640(%rip), %rsi      # 0x10fb0
leaq 0x20(%rsp), %rdi
callq 0x3140
leaq 0x90(%rsp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x33f0
nop