// File: ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::details::conditional_vector_node<double>::conditional_vector_node(exprtk::details::expression_node<double>*, exprtk::details::expression_node<double>*, exprtk::details::expression_node<double>*)
conditional_vector_node(expression_ptr condition,
                                 expression_ptr consequent,
                                 expression_ptr alternative)
         : consequent_node_ptr_ (0)
         , alternative_node_ptr_(0)
         , temp_vec_node_       (0)
         , temp_                (0)
         , result_vec_size_     (0)
         , initialised_         (false)
         {
            construct_branch_pair(condition_  , condition  );
            construct_branch_pair(consequent_ , consequent );
            construct_branch_pair(alternative_, alternative);

            if (details::is_ivector_node(consequent_.first))
            {
               vec_interface_ptr ivec_ptr = dynamic_cast<vec_interface_ptr>(consequent_.first);

               if (0 != ivec_ptr)
               {
                  consequent_node_ptr_ = ivec_ptr->vec();
               }
            }

            if (details::is_ivector_node(alternative_.first))
            {
               vec_interface_ptr ivec_ptr = dynamic_cast<vec_interface_ptr>(alternative_.first);

               if (0 != ivec_ptr)
               {
                  alternative_node_ptr_ = ivec_ptr->vec();
               }
            }

            if (consequent_node_ptr_ && alternative_node_ptr_)
            {
               const std::size_t vec_size =
                  std::max(consequent_node_ptr_ ->vec_holder().base_size(),
                           alternative_node_ptr_->vec_holder().base_size());

               vds_            = vds_t(vec_size);
               memory_context_ = make_memory_context(
                  consequent_node_ptr_ ->vec_holder(),
                  alternative_node_ptr_->vec_holder(),
                  vds());

               initialised_ = (vec_size > 0);
            }

            assert(initialised_);
         }

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0x235e40
movq 0x80(%rsp), %rdi
addq $0x20, %rdi
callq 0x3b76c0
movq 0x80(%rsp), %rdi
leaq 0x2e1b7c(%rip), %rax    # 0x7c5ea8
movq %rax, (%rdi)
leaq 0x2e1bf2(%rip), %rax    # 0x7c5f28
movq %rax, 0x8(%rdi)
leaq 0x2e1c0f(%rip), %rax    # 0x7c5f50
movq %rax, 0x20(%rdi)
addq $0x28, %rdi
callq 0x39dfb0
jmp 0x4e4350
movq 0x80(%rsp), %rdi
addq $0x38, %rdi
callq 0x39dfb0
jmp 0x4e4363
movq 0x80(%rsp), %rdi
addq $0x48, %rdi
callq 0x39dfb0
jmp 0x4e4376
movq 0x80(%rsp), %rdi
movq $0x0, 0x58(%rdi)
movq $0x0, 0x60(%rdi)
movq $0x0, 0x68(%rdi)
movq $0x0, 0x70(%rdi)
addq $0x78, %rdi
movq %rdi, 0x78(%rsp)
callq 0x3b76e0
jmp 0x4e43ae
movq 0x80(%rsp), %rdi
movq $0x0, 0x80(%rdi)
movb $0x0, 0x88(%rdi)
addq $0x90, %rdi
callq 0x3b7720
jmp 0x4e43d6
movq 0x80(%rsp), %rdi
addq $0x28, %rdi
movq 0xe8(%rsp), %rsi
callq 0x39d4f0
jmp 0x4e43f1
movq 0x80(%rsp), %rdi
addq $0x38, %rdi
movq 0xe0(%rsp), %rsi
callq 0x39d4f0
jmp 0x4e440c
movq 0x80(%rsp), %rdi
addq $0x48, %rdi
movq 0xd8(%rsp), %rsi
callq 0x39d4f0
jmp 0x4e4427
movq 0x80(%rsp), %rax
movq 0x38(%rax), %rdi
callq 0x39f460
movb %al, 0x77(%rsp)
jmp 0x4e443e
movb 0x77(%rsp), %al
testb $0x1, %al
jne 0x4e444b
jmp 0x4e4507
movq 0x80(%rsp), %rax
movq 0x38(%rax), %rax
movq %rax, 0x68(%rsp)
cmpq $0x0, %rax
je 0x4e44ba
movq 0x68(%rsp), %rdi
leaq 0x285d72(%rip), %rsi    # 0x76a1e0
leaq 0x2b787b(%rip), %rdx    # 0x79bcf0
movq $-0x2, %rcx
callq 0x11b6d0
movq %rax, 0x60(%rsp)
jmp 0x4e44c3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd0(%rsp)
movl %eax, 0xcc(%rsp)
jmp 0x4e4781
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd0(%rsp)
movl %eax, 0xcc(%rsp)
jmp 0x4e4777
xorl %eax, %eax
movq %rax, 0x60(%rsp)
jmp 0x4e44c3
movq 0x60(%rsp), %rax
movq %rax, 0xc0(%rsp)
xorl %eax, %eax
cmpq 0xc0(%rsp), %rax
je 0x4e4505
movq 0xc0(%rsp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movq %rax, 0x58(%rsp)
jmp 0x4e44f4
movq 0x80(%rsp), %rax
movq 0x58(%rsp), %rcx
movq %rcx, 0x58(%rax)
jmp 0x4e4507
movq 0x80(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x39f460
movb %al, 0x57(%rsp)
jmp 0x4e451e
movb 0x57(%rsp), %al
testb $0x1, %al
jne 0x4e452b
jmp 0x4e45b5
movq 0x80(%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, 0x48(%rsp)
cmpq $0x0, %rax
je 0x4e4568
movq 0x48(%rsp), %rdi
leaq 0x285c92(%rip), %rsi    # 0x76a1e0
leaq 0x2b779b(%rip), %rdx    # 0x79bcf0
movq $-0x2, %rcx
callq 0x11b6d0
movq %rax, 0x40(%rsp)
jmp 0x4e4571
xorl %eax, %eax
movq %rax, 0x40(%rsp)
jmp 0x4e4571
movq 0x40(%rsp), %rax
movq %rax, 0xb8(%rsp)
xorl %eax, %eax
cmpq 0xb8(%rsp), %rax
je 0x4e45b3
movq 0xb8(%rsp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movq %rax, 0x38(%rsp)
jmp 0x4e45a2
movq 0x80(%rsp), %rax
movq 0x38(%rsp), %rcx
movq %rcx, 0x60(%rax)
jmp 0x4e45b5
movq 0x80(%rsp), %rax
cmpq $0x0, 0x58(%rax)
je 0x4e476f
movq 0x80(%rsp), %rax
cmpq $0x0, 0x60(%rax)
je 0x4e476f
movq 0x80(%rsp), %rax
movq 0x58(%rax), %rdi
callq 0x3b7a10
movq %rax, %rdi
callq 0x3b88b0
movq %rax, 0x30(%rsp)
jmp 0x4e45fb
movq 0x80(%rsp), %rax
movq 0x30(%rsp), %rcx
movq %rcx, 0xa8(%rsp)
movq 0x60(%rax), %rdi
callq 0x3b7a10
movq %rax, %rdi
callq 0x3b88b0
movq %rax, 0x28(%rsp)
jmp 0x4e4628
movq 0x28(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa8(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x23da40
movq (%rax), %rax
movq %rax, 0xb0(%rsp)
leaq 0x98(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x3b7850
jmp 0x4e466c
movq 0x80(%rsp), %rdi
addq $0x78, %rdi
leaq 0x98(%rsp), %rsi
callq 0x3b7780
jmp 0x4e4687
leaq 0x98(%rsp), %rdi
callq 0x3b7890
movq 0x80(%rsp), %rax
movq 0x58(%rax), %rdi
callq 0x3b7a10
movq %rax, %rcx
movq 0x80(%rsp), %rax
movq %rcx, 0x10(%rsp)
movq 0x60(%rax), %rdi
callq 0x3b7a10
movq 0x80(%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0x4e47b0
movq %rax, 0x20(%rsp)
jmp 0x4e46d7
movq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x404520
movq %rdx, (%rsp)
movq %rax, 0x8(%rsp)
jmp 0x4e46f6
movq 0x80(%rsp), %rax
movq (%rsp), %rcx
movq 0x8(%rsp), %rdx
movq %rdx, 0x88(%rsp)
movq %rcx, 0x90(%rsp)
movq 0x88(%rsp), %rcx
movq %rcx, 0x90(%rax)
movq 0x90(%rsp), %rcx
movq %rcx, 0x98(%rax)
cmpq $0x0, 0xb0(%rsp)
seta %cl
andb $0x1, %cl
movb %cl, 0x88(%rax)
jmp 0x4e476f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd0(%rsp)
movl %eax, 0xcc(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x3b7890
jmp 0x4e4777
addq $0xf8, %rsp
retq
movq 0x78(%rsp), %rdi
callq 0x3b7890
movq 0x80(%rsp), %rdi
addq $0x20, %rdi
callq 0x3b8250
movq 0x80(%rsp), %rdi
callq 0x236080
movq 0xd0(%rsp), %rdi
callq 0x11b4e0
nopl (%rax)