// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::rtl::vecops::copy<double>::operator()(unsigned long const&, exprtk::type_store<double>::parameter_list)
inline T operator() (const std::size_t& ps_index, parameter_list_t parameters) exprtk_override
      {
         const vector_t x(parameters[0]);
               vector_t y(parameters[(0 == ps_index) ? 1 : 3]);

         std::size_t xr0 = 0;
         std::size_t xr1 = x.size() - 1;

         std::size_t yr0 = 0;
         std::size_t yr1 = y.size() - 1;

         if (1 == ps_index)
         {
            if (
                 !helper::load_vector_range<T>::process(parameters, xr0, xr1, 1, 2, 0) ||
                 !helper::load_vector_range<T>::process(parameters, yr0, yr1, 4, 5, 3)
               )
               return T(0);
         }

         const std::size_t n = std::min(xr1 - xr0 + 1, yr1 - yr0 + 1);

         std::copy(
            x.begin() + xr0,
            x.begin() + xr0 + n,
            y.begin() + yr0);

         return T(n);
      }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq (%rdx), %rax
movq (%rax), %rdi
movq 0x8(%rax), %r13
movq (%rsi), %rcx
leaq 0x48(%rax), %rdx
leaq 0x18(%rax), %rsi
testq %rcx, %rcx
cmoveq %rsi, %rdx
movq (%rdx), %r15
movq 0x8(%rdx), %r12
decq %r13
decq %r12
cmpq $0x1, %rcx
jne 0x3a219b
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq $0x3, %rcx
jb 0x3a2192
movq 0x18(%rax), %r14
movsd (%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x3a21f3
xorl %ebp, %ebp
xorl %eax, %eax
jmp 0x3a22c5
xorl %r14d, %r14d
xorl %ebp, %ebp
subq %rbp, %r13
incq %r13
subq %r14, %r12
incq %r12
cmpq %r13, %r12
cmovaeq %r13, %r12
testq %r12, %r12
je 0x3a21cd
leaq (%rdi,%rbp,8), %rsi
leaq (,%r12,8), %rdx
leaq (%r15,%r14,8), %rdi
callq 0x120100
movq %r12, %xmm0
punpckldq 0x100d6(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x100de(%rip), %xmm0    # 0x3b22c0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
jmp 0x3a2305
movq %rdi, 0x8(%rsp)
movsd 0xfe20(%rip), %xmm1     # 0x3b2020
callq 0x120460
ucomisd 0xffeb(%rip), %xmm0     # 0x3b21f8
jne 0x3a22b2
jp 0x3a22b2
movsd (%r14), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x10056(%rip), %xmm0    # 0x3b2288
cvttsd2si %xmm0, %rbp
andq %rcx, %rbp
orq %rax, %rbp
movq (%rbx), %rax
movq 0x30(%rax), %r14
movsd (%r14), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0x3a22b4
movsd 0xfdc5(%rip), %xmm1     # 0x3b2020
callq 0x120460
ucomisd 0xff90(%rip), %xmm0     # 0x3b21f8
jne 0x3a22b4
jp 0x3a22b4
movsd (%r14), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x10003(%rip), %xmm0    # 0x3b2288
cvttsd2si %xmm0, %r13
andq %rcx, %r13
orq %rax, %r13
movq (%rbx), %rax
movq 0x8(%rax), %rax
decq %rax
cmpq %rbp, %rax
setae %cl
cmpq %r13, %rax
setae %dl
andb %cl, %dl
cmpq %r13, %rbp
setbe %al
andb %dl, %al
jmp 0x3a22b6
xorl %ebp, %ebp
xorl %eax, %eax
movq 0x8(%rsp), %rdi
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
xorpd %xmm1, %xmm1
testb %al, %al
je 0x3a2305
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rdx, %rcx
cmpq $0x6, %rcx
jb 0x3a22f8
movq 0x60(%rax), %r14
movsd (%r14), %xmm0
xorpd %xmm2, %xmm2
ucomisd %xmm0, %xmm2
jbe 0x3a2318
xorl %r14d, %r14d
xorl %eax, %eax
testb %al, %al
jne 0x3a21a0
movapd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdi, 0x8(%rsp)
movsd 0xfcfb(%rip), %xmm1     # 0x3b2020
callq 0x120460
ucomisd 0xfec6(%rip), %xmm0     # 0x3b21f8
jne 0x3a2378
jp 0x3a2378
movsd (%r14), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0xff39(%rip), %xmm0     # 0x3b2288
cvttsd2si %xmm0, %r14
andq %rcx, %r14
orq %rax, %r14
movq (%rbx), %rax
movq 0x78(%rax), %rax
movsd (%rax), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x3a237d
xorl %eax, %eax
movq 0x8(%rsp), %rdi
jmp 0x3a22fd
xorl %r14d, %r14d
jmp 0x3a23e5
movq %rax, 0x10(%rsp)
movsd 0xfc96(%rip), %xmm1     # 0x3b2020
callq 0x120460
ucomisd 0xfe61(%rip), %xmm0     # 0x3b21f8
jne 0x3a23e5
jp 0x3a23e5
movq 0x10(%rsp), %rax
movsd (%rax), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0xfed0(%rip), %xmm0     # 0x3b2288
cvttsd2si %xmm0, %r12
andq %rcx, %r12
orq %rax, %r12
movq (%rbx), %rax
movq 0x50(%rax), %rax
decq %rax
cmpq %r14, %rax
setae %cl
cmpq %r12, %rax
setae %dl
andb %cl, %dl
cmpq %r12, %r14
setbe %al
andb %dl, %al
jmp 0x3a23e7
xorl %eax, %eax
movq 0x8(%rsp), %rdi
xorpd %xmm1, %xmm1
jmp 0x3a22fd
nop