/*
 *  Copyright (C) 2004-2026 Edward F. Valeev
 *
 *  This file is part of Libint library.
 *
 *  Libint library is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Libint library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with Libint library.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#include <libint2.h>
#include <CR_aB_s__0___opVop_sB_0_Sb__d__0___Ab__up_.h>
#include <CR_aB_s__0___opVop_sB_X_Sb__d__0___Ab__up_.h>
#include <CR_aB_s__0___opVop_sB_Y_Sb__d__0___Ab__up_.h>
#include <CR_aB_s__0___opVop_sB_Z_Sb__d__0___Ab__up_.h>
#include <CR_DerivGaussP0InBra_aB_s001__0___ElecPot_f__0___Ab__up_0.h>
#include <CR_DerivGaussP0InBra_aB_s001__0___ElecPot_s__0___Ab__up_0.h>
#include <CR_DerivGaussP0InBra_aB_s010__0___ElecPot_f__0___Ab__up_0.h>
#include <CR_DerivGaussP0InBra_aB_s010__0___ElecPot_s__0___Ab__up_0.h>
#include <CR_DerivGaussP0InBra_aB_s100__0___ElecPot_f__0___Ab__up_0.h>
#include <CR_DerivGaussP0InBra_aB_s100__0___ElecPot_s__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d001__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d010__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d100__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d001__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d010__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d100__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d001__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d010__0___Ab__up_0.h>
#include <CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d100__0___Ab__up_0.h>
#include <GenericContract.h>
#include <OSVRRElecPotInBra_aB_p__0___ElecPot_f__0___Ab__up_0.h>
#include <OSVRRElecPotInBra_aB_p__0___ElecPot_s__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s__0___ElecPot_d__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s__0___ElecPot_f__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s__0___ElecPot_p__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s001__0___ElecPot_p__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s010__0___ElecPot_p__0___Ab__up_0.h>
#include <OSVRRElecPotInKet_aB_s100__0___ElecPot_p__0___Ab__up_0.h>

#ifdef __cplusplus
LIBINT_PRAGMA_CLANG(diagnostic push)
LIBINT_PRAGMA_CLANG(diagnostic ignored "-Wunused-variable")
LIBINT_PRAGMA_GCC(diagnostic push)
LIBINT_PRAGMA_GCC(diagnostic ignored "-Wunused-variable")
extern "C" {
#endif
void _opVop_S_D_prereq(const Libint_t* inteval, LIBINT2_REALTYPE* parent_stack) {

LIBINT2_REALTYPE*const  stack = parent_stack;
{
const int hsi = 0;
{
const int lsi = 0;
{
const int vi = 0;
OSVRRElecPotInBra_aB_p__0___ElecPot_s__0___Ab__up_0(inteval, &(stack[((hsi*3+24)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_2[vi]));
LIBINT2_REALTYPE fp3;
CR_DerivGaussP0InBra_aB_s010__0___ElecPot_s__0___Ab__up_0(inteval, &(fp3), &(stack[((hsi*3+24)*1+lsi)*1]));
OSVRRElecPotInBra_aB_p__0___ElecPot_s__0___Ab__up_0(inteval, &(stack[((hsi*3+27)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
LIBINT2_REALTYPE fp2;
CR_DerivGaussP0InBra_aB_s010__0___ElecPot_s__0___Ab__up_0(inteval, &(fp2), &(stack[((hsi*3+27)*1+lsi)*1]));
OSVRRElecPotInKet_aB_s010__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+30)*1+lsi)*1]), &(fp2), &(fp3), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+33)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_2[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+36)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_2[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_3[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_d__0___Ab__up_0(inteval, &(stack[((hsi*6+39)*1+lsi)*1]), &(stack[((hsi*3+33)*1+lsi)*1]), &(stack[((hsi*3+36)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_2[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+45)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_d__0___Ab__up_0(inteval, &(stack[((hsi*6+48)*1+lsi)*1]), &(stack[((hsi*3+45)*1+lsi)*1]), &(stack[((hsi*3+33)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+54)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_3[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_4[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_d__0___Ab__up_0(inteval, &(stack[((hsi*6+57)*1+lsi)*1]), &(stack[((hsi*3+36)*1+lsi)*1]), &(stack[((hsi*3+54)*1+lsi)*1]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_2[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_3[vi]));
OSVRRElecPotInKet_aB_s__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*10+63)*1+lsi)*1]), &(stack[((hsi*6+39)*1+lsi)*1]), &(stack[((hsi*6+57)*1+lsi)*1]), &(stack[((hsi*3+33)*1+lsi)*1]), &(stack[((hsi*3+36)*1+lsi)*1]));
OSVRRElecPotInKet_aB_s__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*10+73)*1+lsi)*1]), &(stack[((hsi*6+48)*1+lsi)*1]), &(stack[((hsi*6+39)*1+lsi)*1]), &(stack[((hsi*3+45)*1+lsi)*1]), &(stack[((hsi*3+33)*1+lsi)*1]));
OSVRRElecPotInBra_aB_p__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*30+83)*1+lsi)*1]), &(stack[((hsi*10+73)*1+lsi)*1]), &(stack[((hsi*10+63)*1+lsi)*1]), &(stack[((hsi*6+48)*1+lsi)*1]), &(stack[((hsi*6+39)*1+lsi)*1]));
CR_DerivGaussP0InBra_aB_s010__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*10+33)*1+lsi)*1]), &(stack[((hsi*30+83)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d100__0___Ab__up_0(inteval, &(stack[((hsi*6+43)*1+lsi)*1]), &(stack[((hsi*10+33)*1+lsi)*1]), &(stack[((hsi*3+30)*1+lsi)*1]));
LIBINT2_REALTYPE fp1;
CR_DerivGaussP0InBra_aB_s100__0___ElecPot_s__0___Ab__up_0(inteval, &(fp1), &(stack[((hsi*3+24)*1+lsi)*1]));
LIBINT2_REALTYPE fp0;
CR_DerivGaussP0InBra_aB_s100__0___ElecPot_s__0___Ab__up_0(inteval, &(fp0), &(stack[((hsi*3+27)*1+lsi)*1]));
OSVRRElecPotInKet_aB_s100__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+49)*1+lsi)*1]), &(fp0), &(fp1), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
CR_DerivGaussP0InBra_aB_s100__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*10+52)*1+lsi)*1]), &(stack[((hsi*30+83)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d010__0___Ab__up_0(inteval, &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*10+52)*1+lsi)*1]), &(stack[((hsi*3+49)*1+lsi)*1]));
CR_aB_s__0___opVop_sB_Y_Sb__d__0___Ab__up_(inteval, &(stack[((hsi*6+68)*1+lsi)*1]), &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*6+43)*1+lsi)*1]));
_libint2_static_api_inc1_short_(&(stack[((hsi*6+18)*1+lsi)*1]),&(stack[((hsi*6+68)*1+lsi)*1]),6);
CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d001__0___Ab__up_0(inteval, &(stack[((hsi*6+43)*1+lsi)*1]), &(stack[((hsi*10+52)*1+lsi)*1]), &(stack[((hsi*3+49)*1+lsi)*1]));
LIBINT2_REALTYPE fp5;
CR_DerivGaussP0InBra_aB_s001__0___ElecPot_s__0___Ab__up_0(inteval, &(fp5), &(stack[((hsi*3+24)*1+lsi)*1]));
LIBINT2_REALTYPE fp4;
CR_DerivGaussP0InBra_aB_s001__0___ElecPot_s__0___Ab__up_0(inteval, &(fp4), &(stack[((hsi*3+27)*1+lsi)*1]));
OSVRRElecPotInKet_aB_s001__0___ElecPot_p__0___Ab__up_0(inteval, &(stack[((hsi*3+74)*1+lsi)*1]), &(fp4), &(fp5), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_0[vi]), &(inteval->_aB_s___0___ElecPot_s___0___Ab__up_1[vi]));
CR_DerivGaussP0InBra_aB_s001__0___ElecPot_f__0___Ab__up_0(inteval, &(stack[((hsi*10+113)*1+lsi)*1]), &(stack[((hsi*30+83)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d100__0___Ab__up_0(inteval, &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*10+113)*1+lsi)*1]), &(stack[((hsi*3+74)*1+lsi)*1]));
CR_aB_s__0___opVop_sB_X_Sb__d__0___Ab__up_(inteval, &(stack[((hsi*6+77)*1+lsi)*1]), &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*6+43)*1+lsi)*1]));
_libint2_static_api_inc1_short_(&(stack[((hsi*6+12)*1+lsi)*1]),&(stack[((hsi*6+77)*1+lsi)*1]),6);
CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d010__0___Ab__up_0(inteval, &(stack[((hsi*6+43)*1+lsi)*1]), &(stack[((hsi*10+113)*1+lsi)*1]), &(stack[((hsi*3+74)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d001__0___Ab__up_0(inteval, &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*10+33)*1+lsi)*1]), &(stack[((hsi*3+30)*1+lsi)*1]));
CR_aB_s__0___opVop_sB_Z_Sb__d__0___Ab__up_(inteval, &(stack[((hsi*6+83)*1+lsi)*1]), &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*6+43)*1+lsi)*1]));
_libint2_static_api_inc1_short_(&(stack[((hsi*6+6)*1+lsi)*1]),&(stack[((hsi*6+83)*1+lsi)*1]),6);
CR_DerivGaussP0InKet_aB_s001__0___ElecPot_d001__0___Ab__up_0(inteval, &(stack[((hsi*6+43)*1+lsi)*1]), &(stack[((hsi*10+113)*1+lsi)*1]), &(stack[((hsi*3+74)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s010__0___ElecPot_d010__0___Ab__up_0(inteval, &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*10+33)*1+lsi)*1]), &(stack[((hsi*3+30)*1+lsi)*1]));
CR_DerivGaussP0InKet_aB_s100__0___ElecPot_d100__0___Ab__up_0(inteval, &(stack[((hsi*6+30)*1+lsi)*1]), &(stack[((hsi*10+52)*1+lsi)*1]), &(stack[((hsi*3+49)*1+lsi)*1]));
CR_aB_s__0___opVop_sB_0_Sb__d__0___Ab__up_(inteval, &(stack[((hsi*6+49)*1+lsi)*1]), &(stack[((hsi*6+30)*1+lsi)*1]), &(stack[((hsi*6+62)*1+lsi)*1]), &(stack[((hsi*6+43)*1+lsi)*1]));
_libint2_static_api_inc1_short_(&(stack[((hsi*6+0)*1+lsi)*1]),&(stack[((hsi*6+49)*1+lsi)*1]),6);
}
}
}
const int hsi = 0;
const int lsi = 0;
const int vi = 0;
/** Number of flops = 24 */
}

#ifdef __cplusplus
};
LIBINT_PRAGMA_CLANG(diagnostic pop)
LIBINT_PRAGMA_GCC(diagnostic pop)
#endif
