/*
 *  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_DerivGaussP1InBra_aB_K__0__I001__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__I010__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__I100__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__K001__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__K010__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__K100__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__L001__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__L010__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <CR_DerivGaussP1InBra_aB_K__0__L100__1___TwoPRep_unit__0__S__1___Ab__up_0.h>
#include <HRRPart1bra0ket0id.h>
#include <HRRPart1bra0ket0id001.h>
#include <HRRPart1bra0ket0id010.h>
#include <HRRPart1bra0ket0id100.h>
#include <HRRPart1bra0ket0ip.h>
#include <HRRPart1bra0ket0ip001.h>
#include <HRRPart1bra0ket0ip010.h>
#include <HRRPart1bra0ket0ip100.h>
#include <HRRPart1bra0ket0i001d.h>
#include <HRRPart1bra0ket0i001p.h>
#include <HRRPart1bra0ket0i010d.h>
#include <HRRPart1bra0ket0i010p.h>
#include <HRRPart1bra0ket0i100d.h>
#include <HRRPart1bra0ket0i100p.h>
#include <HRRPart1bra0ket0kp.h>
#include <HRRPart1bra0ket0kp001.h>
#include <HRRPart1bra0ket0kp010.h>
#include <HRRPart1bra0ket0kp100.h>
#include <HRRPart1bra0ket0k001p.h>
#include <HRRPart1bra0ket0k010p.h>
#include <HRRPart1bra0ket0k100p.h>
#include <deriv1eri3_aB_K__0__I__1___TwoPRep_unit__0__D__1___Ab__up_0_prereq.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 deriv1eri3_aB_K__0__I__1___TwoPRep_unit__0__D__1___Ab__up_0(const Libint_t* inteval) {

_libint2_static_api_bzero_short_(inteval->stack+0*1,25848)
const int contrdepth = inteval->contrdepth;
#ifdef __INTEL_COMPILER
#pragma ivdep
#endif
for(int c = 0; c<contrdepth; c++) {
deriv1eri3_aB_K__0__I__1___TwoPRep_unit__0__D__1___Ab__up_0_prereq(inteval+c, inteval->stack);
}

LIBINT2_REALTYPE*const  stack = inteval->stack;
{
const int hsi = 0;
{
const int lsi = 0;
{
const int vi = 0;
HRRPart1bra0ket0ip(inteval, &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
HRRPart1bra0ket0ip001(inteval, &(inteval->stack[((hsi*3024+83304)*1+lsi)*1]), &(inteval->stack[((hsi*1296+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1008+24840)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
HRRPart1bra0ket0kp001(inteval, &(inteval->stack[((hsi*3888+86328)*1+lsi)*1]), &(inteval->stack[((hsi*1620+21924)*1+lsi)*1]), &(inteval->stack[((hsi*1296+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0id001(inteval, &(inteval->stack[((hsi*6048+74232)*1+lsi)*1]), &(inteval->stack[((hsi*3888+86328)*1+lsi)*1]), &(inteval->stack[((hsi*3024+83304)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
HRRPart1bra0ket0ip010(inteval, &(inteval->stack[((hsi*3024+90216)*1+lsi)*1]), &(inteval->stack[((hsi*1296+19620)*1+lsi)*1]), &(inteval->stack[((hsi*1008+20916)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
HRRPart1bra0ket0kp010(inteval, &(inteval->stack[((hsi*3888+93240)*1+lsi)*1]), &(inteval->stack[((hsi*1620+18000)*1+lsi)*1]), &(inteval->stack[((hsi*1296+19620)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0id010(inteval, &(inteval->stack[((hsi*6048+68184)*1+lsi)*1]), &(inteval->stack[((hsi*3888+93240)*1+lsi)*1]), &(inteval->stack[((hsi*3024+90216)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
HRRPart1bra0ket0ip100(inteval, &(inteval->stack[((hsi*3024+97128)*1+lsi)*1]), &(inteval->stack[((hsi*1296+14688)*1+lsi)*1]), &(inteval->stack[((hsi*1008+16992)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
HRRPart1bra0ket0kp100(inteval, &(inteval->stack[((hsi*3888+100152)*1+lsi)*1]), &(inteval->stack[((hsi*1620+13068)*1+lsi)*1]), &(inteval->stack[((hsi*1296+14688)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0id100(inteval, &(inteval->stack[((hsi*6048+62136)*1+lsi)*1]), &(inteval->stack[((hsi*3888+100152)*1+lsi)*1]), &(inteval->stack[((hsi*3024+97128)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__K001__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+9468)*1+lsi)*1]), &(inteval->stack[((hsi*1296+23544)*1+lsi)*1]));
CR_DerivGaussP1InBra_aB_K__0__I001__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1008+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1008+10764)*1+lsi)*1]), &(inteval->stack[((hsi*1008+24840)*1+lsi)*1]));
HRRPart1bra0ket0i001p(inteval, &(inteval->stack[((hsi*3024+105336)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1008+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__L001__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1620+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1620+7848)*1+lsi)*1]), &(inteval->stack[((hsi*1620+21924)*1+lsi)*1]));
HRRPart1bra0ket0k001p(inteval, &(inteval->stack[((hsi*3888+108360)*1+lsi)*1]), &(inteval->stack[((hsi*1620+23544)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0i001d(inteval, &(inteval->stack[((hsi*6048+56088)*1+lsi)*1]), &(inteval->stack[((hsi*3888+108360)*1+lsi)*1]), &(inteval->stack[((hsi*3024+105336)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__K010__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+5544)*1+lsi)*1]), &(inteval->stack[((hsi*1296+19620)*1+lsi)*1]));
CR_DerivGaussP1InBra_aB_K__0__I010__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1008+21924)*1+lsi)*1]), &(inteval->stack[((hsi*1008+6840)*1+lsi)*1]), &(inteval->stack[((hsi*1008+20916)*1+lsi)*1]));
HRRPart1bra0ket0i010p(inteval, &(inteval->stack[((hsi*3024+112248)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1008+21924)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__L010__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1620+19620)*1+lsi)*1]), &(inteval->stack[((hsi*1620+3924)*1+lsi)*1]), &(inteval->stack[((hsi*1620+18000)*1+lsi)*1]));
HRRPart1bra0ket0k010p(inteval, &(inteval->stack[((hsi*3888+21240)*1+lsi)*1]), &(inteval->stack[((hsi*1620+19620)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0i010d(inteval, &(inteval->stack[((hsi*6048+50040)*1+lsi)*1]), &(inteval->stack[((hsi*3888+21240)*1+lsi)*1]), &(inteval->stack[((hsi*3024+112248)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__K100__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+1620)*1+lsi)*1]), &(inteval->stack[((hsi*1296+14688)*1+lsi)*1]));
CR_DerivGaussP1InBra_aB_K__0__I100__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1008+18000)*1+lsi)*1]), &(inteval->stack[((hsi*1008+2916)*1+lsi)*1]), &(inteval->stack[((hsi*1008+16992)*1+lsi)*1]));
HRRPart1bra0ket0i100p(inteval, &(inteval->stack[((hsi*3024+115272)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1008+18000)*1+lsi)*1]), &(inteval->stack[((hsi*1008+15984)*1+lsi)*1]),36);
CR_DerivGaussP1InBra_aB_K__0__L100__1___TwoPRep_unit__0__S__1___Ab__up_0(inteval, &(inteval->stack[((hsi*1620+14688)*1+lsi)*1]), &(inteval->stack[((hsi*1620+0)*1+lsi)*1]), &(inteval->stack[((hsi*1620+13068)*1+lsi)*1]));
HRRPart1bra0ket0k100p(inteval, &(inteval->stack[((hsi*3888+16308)*1+lsi)*1]), &(inteval->stack[((hsi*1620+14688)*1+lsi)*1]), &(inteval->stack[((hsi*1296+104040)*1+lsi)*1]), &(inteval->stack[((hsi*1296+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0i100d(inteval, &(inteval->stack[((hsi*6048+43992)*1+lsi)*1]), &(inteval->stack[((hsi*3888+16308)*1+lsi)*1]), &(inteval->stack[((hsi*3024+115272)*1+lsi)*1]), &(inteval->stack[((hsi*3024+80280)*1+lsi)*1]),36);
HRRPart1bra0ket0ip(inteval, &(inteval->stack[((hsi*3024+11772)*1+lsi)*1]), &(inteval->stack[((hsi*1296+9468)*1+lsi)*1]), &(inteval->stack[((hsi*1008+10764)*1+lsi)*1]),36);
HRRPart1bra0ket0kp(inteval, &(inteval->stack[((hsi*3888+118296)*1+lsi)*1]), &(inteval->stack[((hsi*1620+7848)*1+lsi)*1]), &(inteval->stack[((hsi*1296+9468)*1+lsi)*1]),36);
HRRPart1bra0ket0id(inteval, &(inteval->stack[((hsi*6048+37944)*1+lsi)*1]), &(inteval->stack[((hsi*3888+118296)*1+lsi)*1]), &(inteval->stack[((hsi*3024+11772)*1+lsi)*1]),36);
HRRPart1bra0ket0ip(inteval, &(inteval->stack[((hsi*3024+7848)*1+lsi)*1]), &(inteval->stack[((hsi*1296+5544)*1+lsi)*1]), &(inteval->stack[((hsi*1008+6840)*1+lsi)*1]),36);
HRRPart1bra0ket0kp(inteval, &(inteval->stack[((hsi*3888+122184)*1+lsi)*1]), &(inteval->stack[((hsi*1620+3924)*1+lsi)*1]), &(inteval->stack[((hsi*1296+5544)*1+lsi)*1]),36);
HRRPart1bra0ket0id(inteval, &(inteval->stack[((hsi*6048+31896)*1+lsi)*1]), &(inteval->stack[((hsi*3888+122184)*1+lsi)*1]), &(inteval->stack[((hsi*3024+7848)*1+lsi)*1]),36);
HRRPart1bra0ket0ip(inteval, &(inteval->stack[((hsi*3024+3924)*1+lsi)*1]), &(inteval->stack[((hsi*1296+1620)*1+lsi)*1]), &(inteval->stack[((hsi*1008+2916)*1+lsi)*1]),36);
HRRPart1bra0ket0kp(inteval, &(inteval->stack[((hsi*3888+126072)*1+lsi)*1]), &(inteval->stack[((hsi*1620+0)*1+lsi)*1]), &(inteval->stack[((hsi*1296+1620)*1+lsi)*1]),36);
HRRPart1bra0ket0id(inteval, &(inteval->stack[((hsi*6048+25848)*1+lsi)*1]), &(inteval->stack[((hsi*3888+126072)*1+lsi)*1]), &(inteval->stack[((hsi*3024+3924)*1+lsi)*1]),36);
}
}
}
const int hsi = 0;
const int lsi = 0;
const int vi = 0;
inteval->targets[0] = &(inteval->stack[((hsi*6048+25848)*1+lsi)*1]);
inteval->targets[1] = &(inteval->stack[((hsi*6048+31896)*1+lsi)*1]);
inteval->targets[2] = &(inteval->stack[((hsi*6048+37944)*1+lsi)*1]);
inteval->targets[3] = &(inteval->stack[((hsi*6048+43992)*1+lsi)*1]);
inteval->targets[4] = &(inteval->stack[((hsi*6048+50040)*1+lsi)*1]);
inteval->targets[5] = &(inteval->stack[((hsi*6048+56088)*1+lsi)*1]);
inteval->targets[6] = &(inteval->stack[((hsi*6048+62136)*1+lsi)*1]);
inteval->targets[7] = &(inteval->stack[((hsi*6048+68184)*1+lsi)*1]);
inteval->targets[8] = &(inteval->stack[((hsi*6048+74232)*1+lsi)*1]);
/** Number of flops = 0 */
}

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