#include <libint2.h>

#ifdef __cplusplus
extern "C" {
#endif
void CR_aB_h__0___CartesianMultipole_sB_0_c_0_c_2_Sb__s__0___Ab__up_(const Libint_t* inteval, LIBINT2_REALTYPE* target, const LIBINT2_REALTYPE* src0, const LIBINT2_REALTYPE* src1, const LIBINT2_REALTYPE* src2) {

LIBINT2_REALTYPE*const  stack = target;
{
const int hsi = 0;
{
const int lsi = 0;
{
const int vi = 0;
LIBINT2_REALTYPE fp1;
fp1 = 0 + src2[((hsi*18+16)*1+lsi)*1];
LIBINT2_REALTYPE fp0;
fp0 = 0 + src2[((hsi*18+15)*1+lsi)*1];
LIBINT2_REALTYPE fp4;
fp4 = inteval->BO_z[vi] * fp0;
LIBINT2_REALTYPE fp3;
fp3 = fp1 + fp4;
LIBINT2_REALTYPE fp8;
fp8 = inteval->BO_z[vi] * fp3;
LIBINT2_REALTYPE fp6;
fp6 = inteval->BO_z[vi] * fp1;
LIBINT2_REALTYPE fp2;
fp2 = 0 + src2[((hsi*18+17)*1+lsi)*1];
LIBINT2_REALTYPE fp5;
fp5 = fp2 + fp6;
LIBINT2_REALTYPE fp7;
fp7 = fp5 + fp8;
LIBINT2_REALTYPE fp59;
fp59 = 0 + src1[((hsi*18+0)*1+lsi)*1];
LIBINT2_REALTYPE fp60;
fp60 = 0 + src0[((hsi*18+0)*1+lsi)*1];
LIBINT2_REALTYPE fp67;
fp67 = fp60 * fp59;
LIBINT2_REALTYPE fp66;
fp66 = fp67 * fp7;
target[((hsi*21+20)*1+lsi)*1] = fp66;
LIBINT2_REALTYPE fp10;
fp10 = 0 + src2[((hsi*18+13)*1+lsi)*1];
LIBINT2_REALTYPE fp9;
fp9 = 0 + src2[((hsi*18+12)*1+lsi)*1];
LIBINT2_REALTYPE fp13;
fp13 = inteval->BO_z[vi] * fp9;
LIBINT2_REALTYPE fp12;
fp12 = fp10 + fp13;
LIBINT2_REALTYPE fp17;
fp17 = inteval->BO_z[vi] * fp12;
LIBINT2_REALTYPE fp15;
fp15 = inteval->BO_z[vi] * fp10;
LIBINT2_REALTYPE fp11;
fp11 = 0 + src2[((hsi*18+14)*1+lsi)*1];
LIBINT2_REALTYPE fp14;
fp14 = fp11 + fp15;
LIBINT2_REALTYPE fp16;
fp16 = fp14 + fp17;
LIBINT2_REALTYPE fp58;
fp58 = 0 + src1[((hsi*18+3)*1+lsi)*1];
LIBINT2_REALTYPE fp69;
fp69 = fp60 * fp58;
LIBINT2_REALTYPE fp68;
fp68 = fp69 * fp16;
target[((hsi*21+19)*1+lsi)*1] = fp68;
LIBINT2_REALTYPE fp19;
fp19 = 0 + src2[((hsi*18+10)*1+lsi)*1];
LIBINT2_REALTYPE fp18;
fp18 = 0 + src2[((hsi*18+9)*1+lsi)*1];
LIBINT2_REALTYPE fp22;
fp22 = inteval->BO_z[vi] * fp18;
LIBINT2_REALTYPE fp21;
fp21 = fp19 + fp22;
LIBINT2_REALTYPE fp26;
fp26 = inteval->BO_z[vi] * fp21;
LIBINT2_REALTYPE fp24;
fp24 = inteval->BO_z[vi] * fp19;
LIBINT2_REALTYPE fp20;
fp20 = 0 + src2[((hsi*18+11)*1+lsi)*1];
LIBINT2_REALTYPE fp23;
fp23 = fp20 + fp24;
LIBINT2_REALTYPE fp25;
fp25 = fp23 + fp26;
LIBINT2_REALTYPE fp57;
fp57 = 0 + src1[((hsi*18+6)*1+lsi)*1];
LIBINT2_REALTYPE fp71;
fp71 = fp60 * fp57;
LIBINT2_REALTYPE fp70;
fp70 = fp71 * fp25;
target[((hsi*21+18)*1+lsi)*1] = fp70;
LIBINT2_REALTYPE fp28;
fp28 = 0 + src2[((hsi*18+7)*1+lsi)*1];
LIBINT2_REALTYPE fp27;
fp27 = 0 + src2[((hsi*18+6)*1+lsi)*1];
LIBINT2_REALTYPE fp31;
fp31 = inteval->BO_z[vi] * fp27;
LIBINT2_REALTYPE fp30;
fp30 = fp28 + fp31;
LIBINT2_REALTYPE fp35;
fp35 = inteval->BO_z[vi] * fp30;
LIBINT2_REALTYPE fp33;
fp33 = inteval->BO_z[vi] * fp28;
LIBINT2_REALTYPE fp29;
fp29 = 0 + src2[((hsi*18+8)*1+lsi)*1];
LIBINT2_REALTYPE fp32;
fp32 = fp29 + fp33;
LIBINT2_REALTYPE fp34;
fp34 = fp32 + fp35;
LIBINT2_REALTYPE fp56;
fp56 = 0 + src1[((hsi*18+9)*1+lsi)*1];
LIBINT2_REALTYPE fp73;
fp73 = fp60 * fp56;
LIBINT2_REALTYPE fp72;
fp72 = fp73 * fp34;
target[((hsi*21+17)*1+lsi)*1] = fp72;
LIBINT2_REALTYPE fp37;
fp37 = 0 + src2[((hsi*18+4)*1+lsi)*1];
LIBINT2_REALTYPE fp36;
fp36 = 0 + src2[((hsi*18+3)*1+lsi)*1];
LIBINT2_REALTYPE fp40;
fp40 = inteval->BO_z[vi] * fp36;
LIBINT2_REALTYPE fp39;
fp39 = fp37 + fp40;
LIBINT2_REALTYPE fp44;
fp44 = inteval->BO_z[vi] * fp39;
LIBINT2_REALTYPE fp42;
fp42 = inteval->BO_z[vi] * fp37;
LIBINT2_REALTYPE fp38;
fp38 = 0 + src2[((hsi*18+5)*1+lsi)*1];
LIBINT2_REALTYPE fp41;
fp41 = fp38 + fp42;
LIBINT2_REALTYPE fp43;
fp43 = fp41 + fp44;
LIBINT2_REALTYPE fp55;
fp55 = 0 + src1[((hsi*18+12)*1+lsi)*1];
LIBINT2_REALTYPE fp75;
fp75 = fp60 * fp55;
LIBINT2_REALTYPE fp74;
fp74 = fp75 * fp43;
target[((hsi*21+16)*1+lsi)*1] = fp74;
LIBINT2_REALTYPE fp46;
fp46 = 0 + src2[((hsi*18+1)*1+lsi)*1];
LIBINT2_REALTYPE fp45;
fp45 = 0 + src2[((hsi*18+0)*1+lsi)*1];
LIBINT2_REALTYPE fp49;
fp49 = inteval->BO_z[vi] * fp45;
LIBINT2_REALTYPE fp48;
fp48 = fp46 + fp49;
LIBINT2_REALTYPE fp53;
fp53 = inteval->BO_z[vi] * fp48;
LIBINT2_REALTYPE fp51;
fp51 = inteval->BO_z[vi] * fp46;
LIBINT2_REALTYPE fp47;
fp47 = 0 + src2[((hsi*18+2)*1+lsi)*1];
LIBINT2_REALTYPE fp50;
fp50 = fp47 + fp51;
LIBINT2_REALTYPE fp52;
fp52 = fp50 + fp53;
LIBINT2_REALTYPE fp54;
fp54 = 0 + src1[((hsi*18+15)*1+lsi)*1];
LIBINT2_REALTYPE fp77;
fp77 = fp60 * fp54;
LIBINT2_REALTYPE fp76;
fp76 = fp77 * fp52;
target[((hsi*21+15)*1+lsi)*1] = fp76;
LIBINT2_REALTYPE fp61;
fp61 = 0 + src0[((hsi*18+3)*1+lsi)*1];
LIBINT2_REALTYPE fp79;
fp79 = fp61 * fp59;
LIBINT2_REALTYPE fp78;
fp78 = fp79 * fp16;
target[((hsi*21+14)*1+lsi)*1] = fp78;
LIBINT2_REALTYPE fp81;
fp81 = fp61 * fp58;
LIBINT2_REALTYPE fp80;
fp80 = fp81 * fp25;
target[((hsi*21+13)*1+lsi)*1] = fp80;
LIBINT2_REALTYPE fp83;
fp83 = fp61 * fp57;
LIBINT2_REALTYPE fp82;
fp82 = fp83 * fp34;
target[((hsi*21+12)*1+lsi)*1] = fp82;
LIBINT2_REALTYPE fp85;
fp85 = fp61 * fp56;
LIBINT2_REALTYPE fp84;
fp84 = fp85 * fp43;
target[((hsi*21+11)*1+lsi)*1] = fp84;
LIBINT2_REALTYPE fp87;
fp87 = fp61 * fp55;
LIBINT2_REALTYPE fp86;
fp86 = fp87 * fp52;
target[((hsi*21+10)*1+lsi)*1] = fp86;
LIBINT2_REALTYPE fp62;
fp62 = 0 + src0[((hsi*18+6)*1+lsi)*1];
LIBINT2_REALTYPE fp89;
fp89 = fp62 * fp59;
LIBINT2_REALTYPE fp88;
fp88 = fp89 * fp25;
target[((hsi*21+9)*1+lsi)*1] = fp88;
LIBINT2_REALTYPE fp91;
fp91 = fp62 * fp58;
LIBINT2_REALTYPE fp90;
fp90 = fp91 * fp34;
target[((hsi*21+8)*1+lsi)*1] = fp90;
LIBINT2_REALTYPE fp93;
fp93 = fp62 * fp57;
LIBINT2_REALTYPE fp92;
fp92 = fp93 * fp43;
target[((hsi*21+7)*1+lsi)*1] = fp92;
LIBINT2_REALTYPE fp95;
fp95 = fp62 * fp56;
LIBINT2_REALTYPE fp94;
fp94 = fp95 * fp52;
target[((hsi*21+6)*1+lsi)*1] = fp94;
LIBINT2_REALTYPE fp63;
fp63 = 0 + src0[((hsi*18+9)*1+lsi)*1];
LIBINT2_REALTYPE fp97;
fp97 = fp63 * fp59;
LIBINT2_REALTYPE fp96;
fp96 = fp97 * fp34;
target[((hsi*21+5)*1+lsi)*1] = fp96;
LIBINT2_REALTYPE fp99;
fp99 = fp63 * fp58;
LIBINT2_REALTYPE fp98;
fp98 = fp99 * fp43;
target[((hsi*21+4)*1+lsi)*1] = fp98;
LIBINT2_REALTYPE fp101;
fp101 = fp63 * fp57;
LIBINT2_REALTYPE fp100;
fp100 = fp101 * fp52;
target[((hsi*21+3)*1+lsi)*1] = fp100;
LIBINT2_REALTYPE fp64;
fp64 = 0 + src0[((hsi*18+12)*1+lsi)*1];
LIBINT2_REALTYPE fp103;
fp103 = fp64 * fp59;
LIBINT2_REALTYPE fp102;
fp102 = fp103 * fp43;
target[((hsi*21+2)*1+lsi)*1] = fp102;
LIBINT2_REALTYPE fp105;
fp105 = fp64 * fp58;
LIBINT2_REALTYPE fp104;
fp104 = fp105 * fp52;
target[((hsi*21+1)*1+lsi)*1] = fp104;
LIBINT2_REALTYPE fp65;
fp65 = 0 + src0[((hsi*18+15)*1+lsi)*1];
LIBINT2_REALTYPE fp107;
fp107 = fp65 * fp59;
LIBINT2_REALTYPE fp106;
fp106 = fp107 * fp52;
target[((hsi*21+0)*1+lsi)*1] = fp106;
}
}
}
const int hsi = 0;
const int lsi = 0;
const int vi = 0;
/** Number of flops = 108 */
}

#ifdef __cplusplus
};
#endif
