// File: /workspace/github_cpp_makefile_star2_O3/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 0x557a
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x32b0
cmpl $0x0, 0xc(%rbx)
setg %al
andb 0x9(%rbx), %al
leaq 0x7b2e(%rip), %rcx      # 0xd2cb
leaq 0x7b29(%rip), %rsi      # 0xd2cd
cmovneq %rcx, %rsi
movzbl %al, %eax
leaq 0x5(,%rax,2), %rdx
movq %r13, %rdi
callq 0x3250
leaq 0x7c80(%rip), %rsi      # 0xd442
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 0x7b16(%rip), %rsi      # 0xd305
movl $0x8, %edx
movq %rax, %rdi
callq 0x3250
movl %r12d, %esi
movq %r13, %rdi
callq 0x3160
movq %rax, %r12
leaq 0x7a91(%rip), %rsi      # 0xd2a2
movl $0x1, %edx
movq %rax, %rdi
callq 0x3250
movl %ebp, %esi
movq %r12, %rdi
callq 0x3160
cmpq $0x0, 0x8(%r14)
je 0x5867
leaq 0x7b1b(%rip), %rsi      # 0xd351
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 0x7ab3(%rip), %rsi      # 0xd318
jmp 0x5873
movl $0x9, %edx
leaq 0x7a9b(%rip), %rsi      # 0xd30e
movq %r15, %rdi
callq 0x3250
cmpq $0x0, 0x38(%rbx)
je 0x58a2
leaq 0x7a92(%rip), %rsi      # 0xd31b
leaq 0x20(%rsp), %rdi
movl $0x7, %edx
callq 0x3250
leaq 0x38(%rbx), %rax
leaq 0x30(%rbx), %rcx
jmp 0x58c0
leaq 0x7a3c(%rip), %rsi      # 0xd2e5
leaq 0x20(%rsp), %rdi
movl $0x5, %edx
callq 0x3250
leaq 0x10(%rbx), %rcx
leaq 0x18(%rbx), %rax
movq (%rcx), %rsi
movq (%rax), %rdx
leaq 0x20(%rsp), %rdi
callq 0x3250
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x3340
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x3aba
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5903
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
movq 0xb6a6(%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 0x595b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3210
jmp 0x595b
jmp 0x5958
movq %rax, %rbx
movq 0xb64e(%rip), %rsi      # 0x10fb0
leaq 0x20(%rsp), %rdi
callq 0x3140
leaq 0x90(%rsp), %rdi
callq 0x30c0
movq %rbx, %rdi
callq 0x33f0
nop