
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

double CubicSpline(double x,ResizeFilter *resize_filter)

{
  double dVar1;
  double dVar2;
  
  dVar1 = (double)DAT_002aabd0;
  if (dVar1 < resize_filter->support) {
    dVar2 = (double)DAT_002a9b78;
    if (dVar2 < resize_filter->support) {
      if (x < 1.0) {
        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;
      }
      if (x < dVar1) {
        dVar1 = x - 1.0;
        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;
      }
      if (x < dVar2) {
        dVar1 = x - dVar1;
        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;
      }
      if (x < (double)DAT_002a9b80) {
        dVar2 = x - dVar2;
        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;
      }
    }
    else {
      if (x < 1.0) {
        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;
      }
      if (x < dVar1) {
        dVar1 = x - 1.0;
        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;
      }
      if (x < dVar2) {
        dVar1 = x - dVar1;
        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;
      }
    }
  }
  else {
    if (x < 1.0) {
      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;
    }
    if (x < dVar1) {
      dVar1 = x - 1.0;
      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;
    }
  }
  return 0.0;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

longdouble FUN_0016f0b0(double param_1,int param_2)

{
  longdouble lVar1;
  longdouble lVar2;
  longdouble lVar3;
  longdouble lVar4;
  
  lVar2 = (longdouble)param_1;
  lVar3 = (longdouble)DAT_002aabd0;
  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {
    lVar4 = (longdouble)DAT_002a9b78;
    lVar1 = (longdouble)1;
    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {
      if (lVar2 < lVar1) {
        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -
                       (longdouble)DAT_002c6d90) * lVar2;
      }
      if (lVar2 < lVar3) {
        lVar2 = lVar2 - lVar1;
        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -
               (longdouble)DAT_002c6da8) * lVar2;
      }
      if (lVar2 < lVar4) {
        lVar2 = lVar2 - lVar3;
        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +
               (longdouble)DAT_002c6dc0) * lVar2;
      }
      if (lVar2 < (longdouble)DAT_002a9b80) {
        lVar2 = lVar2 - lVar4;
        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -
               (longdouble)DAT_002c6dd8) * lVar2;
      }
    }
    else {
      if (lVar2 < lVar1) {
        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -
                       (longdouble)DAT_002c6d48) * lVar2;
      }
      if (lVar2 < lVar3) {
        lVar2 = lVar2 - lVar1;
        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -
               (longdouble)DAT_002c6d60) * lVar2;
      }
      if (lVar2 < lVar4) {
        lVar2 = lVar2 - lVar3;
        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +
               (longdouble)DAT_002c6d78) * lVar2;
      }
    }
  }
  else {
    lVar1 = (longdouble)1;
    if (lVar2 < lVar1) {
      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2
      ;
    }
    if (lVar2 < lVar3) {
      lVar2 = lVar2 - lVar1;
      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -
             (longdouble)DAT_002c6d30) * lVar2;
    }
  }
  return (longdouble)0;
}


CALL 0x0003bf88
ADD EAX,0x269f4b
MOV EDX,dword ptr [ESP + 0xc]
FLD qword ptr [ESP + 0x4]
FLD qword ptr [EDX + 0x8]
FLD dword ptr [EAX + 0xffed1bd0]
FUCOMI ST0,ST1
JC 0x0016f100
FSTP ST1
FLD1
FUCOMI ST0,ST2
JA 0x0016f1c0
FXCH
FUCOMIP ST0,ST2
JBE 0x0016f190
FSUBP
FLD qword ptr [EAX + 0xffeedd20]
FMUL ST1
FADD qword ptr [EAX + 0xffeedd28]
FMUL ST1
FSUB qword ptr [EAX + 0xffeedd30]
FMULP
RET
FLD dword ptr [EAX + 0xffed0b78]
FUCOMI ST0,ST2
FSTP ST2
FLD1
JC 0x0016f148
FUCOMI ST0,ST3
JA 0x0016f1e0
FXCH
FUCOMI ST0,ST3
JA 0x0016f240
FSTP ST1
FXCH
FUCOMIP ST0,ST2
JBE 0x0016f1a0
FSUBP
FLD qword ptr [EAX + 0xffeedd68]
FMUL ST1
FSUB qword ptr [EAX + 0xffeedd70]
FMUL ST1
FADD qword ptr [EAX + 0xffeedd78]
FMULP
RET
FUCOMI ST0,ST3
JA 0x0016f200
FXCH
FUCOMI ST0,ST3
JA 0x0016f220
FSTP ST1
FXCH
FUCOMI ST0,ST2
JA 0x0016f260
FSTP ST1
FLD dword ptr [EAX + 0xffed0b80]
FUCOMIP ST0,ST2
JBE 0x0016f1b0
FSUBP
FLD qword ptr [EAX + 0xffeeddc8]
FMUL ST1
FADD qword ptr [EAX + 0xffeeddd0]
FMUL ST1
FSUB qword ptr [EAX + 0xffeeddd8]
FMULP
RET
FSTP ST0
FSTP ST0
JMP 0x0016f1b4
FSTP ST0
FSTP ST0
JMP 0x0016f1b4
FSTP ST0
FSTP ST0
FLDZ
RET
FSTP ST1
FLD qword ptr [EAX + 0xffeedd10]
FSUBR ST0,ST2
FMUL ST2
FSUB qword ptr [EAX + 0xffeedd18]
FMULP ST2
FADDP
RET
FSTP ST2
FSTP ST0
FLD qword ptr [EAX + 0xffeedd38]
FMUL ST2
FSUB qword ptr [EAX + 0xffeedd40]
FMUL ST2
FSUB qword ptr [EAX + 0xffeedd48]
FMULP ST2
FADDP
RET
FSTP ST2
FSTP ST0
FLD qword ptr [EAX + 0xffeedd80]
FMUL ST2
FSUB qword ptr [EAX + 0xffeedd88]
FMUL ST2
FSUB qword ptr [EAX + 0xffeedd90]
FMULP ST2
FADDP
RET
FSTP ST0
FSTP ST1
FSUBP
FLD qword ptr [EAX + 0xffeedd98]
FMUL ST1
FADD qword ptr [EAX + 0xffeedda0]
FMUL ST1
FSUB qword ptr [EAX + 0xffeedda8]
FMULP
RET
FSTP ST0
FSTP ST1
FSUBP
FLD qword ptr [EAX + 0xffeedd50]
FMUL ST1
FADD qword ptr [EAX + 0xffeedd58]
FMUL ST1
FSUB qword ptr [EAX + 0xffeedd60]
FMULP
RET
FSTP ST0
FSUBP
FLD qword ptr [EAX + 0xffeeddb0]
FMUL ST1
FSUB qword ptr [EAX + 0xffeeddb8]
FMUL ST1
FADD qword ptr [EAX + 0xffeeddc0]
FMULP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nlongdouble FUN_0016f0b0(double param_1,int param_2)\n\n{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}\n\n" comment (function_definition "longdouble FUN_0016f0b0(double param_1,int param_2)\n\n{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" type_identifier (function_declarator "FUN_0016f0b0(double param_1,int param_2)" identifier (parameter_list "(double param_1,int param_2)" ( (parameter_declaration "double param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" { (declaration "longdouble lVar1;" type_identifier identifier ;) (declaration "longdouble lVar2;" type_identifier identifier ;) (declaration "longdouble lVar3;" type_identifier identifier ;) (declaration "longdouble lVar4;" type_identifier identifier ;) (expression_statement "lVar2 = (longdouble)param_1;" (assignment_expression "lVar2 = (longdouble)param_1" identifier = (cast_expression "(longdouble)param_1" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (expression_statement "lVar3 = (longdouble)DAT_002aabd0;" (assignment_expression "lVar3 = (longdouble)DAT_002aabd0" identifier = (cast_expression "(longdouble)DAT_002aabd0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (if_statement "if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" if (parenthesized_expression "(lVar3 < (longdouble)*(double *)(param_2 + 8))" ( (binary_expression "lVar3 < (longdouble)*(double *)(param_2 + 8)" identifier < (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_2 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }" { (expression_statement "lVar4 = (longdouble)DAT_002a9b78;" (assignment_expression "lVar4 = (longdouble)DAT_002a9b78" identifier = (cast_expression "(longdouble)DAT_002a9b78" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" identifier = (cast_expression "(longdouble)1" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (if_statement "if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" if (parenthesized_expression "(lVar4 < (longdouble)*(double *)(param_2 + 8))" ( (binary_expression "lVar4 < (longdouble)*(double *)(param_2 + 8)" identifier < (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_2 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }" { (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" { (return_statement "return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;" return (binary_expression "lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" identifier + (binary_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90)" ( (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90" (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88)" ( (binary_expression "(longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88" (binary_expression "(longdouble)DAT_002c6d80 * lVar2" (cast_expression "(longdouble)DAT_002c6d80" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d88" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d90" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8)" ( (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8" (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0)" ( (binary_expression "(longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0" (binary_expression "(longdouble)DAT_002c6d98 * lVar2" (cast_expression "(longdouble)DAT_002c6d98" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6da0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6da8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar4)" ( (binary_expression "lVar2 < lVar4" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" identifier = (binary_expression "lVar2 - lVar3" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0)" ( (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0" (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8)" ( (binary_expression "(longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8" (binary_expression "(longdouble)DAT_002c6db0 * lVar2" (cast_expression "(longdouble)DAT_002c6db0" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6db8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) + (cast_expression "(longdouble)DAT_002c6dc0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < (longdouble)DAT_002a9b80)" ( (binary_expression "lVar2 < (longdouble)DAT_002a9b80" identifier < (cast_expression "(longdouble)DAT_002a9b80" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) (compound_statement "{\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar4;" (assignment_expression "lVar2 = lVar2 - lVar4" identifier = (binary_expression "lVar2 - lVar4" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8)" ( (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8" (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0)" ( (binary_expression "(longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0" (binary_expression "(longdouble)DAT_002c6dc8 * lVar2" (cast_expression "(longdouble)DAT_002c6dc8" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6dd0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6dd8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }) (else_clause "else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" else (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" { (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" { (return_statement "return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;" return (binary_expression "lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" identifier + (binary_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48)" ( (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48" (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40)" ( (binary_expression "(longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40" (binary_expression "(longdouble)DAT_002c6d38 * lVar2" (cast_expression "(longdouble)DAT_002c6d38" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d40" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d48" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60)" ( (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60" (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58)" ( (binary_expression "(longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58" (binary_expression "(longdouble)DAT_002c6d50 * lVar2" (cast_expression "(longdouble)DAT_002c6d50" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6d58" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d60" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar4)" ( (binary_expression "lVar2 < lVar4" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" identifier = (binary_expression "lVar2 - lVar3" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78)" ( (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78" (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70)" ( (binary_expression "(longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70" (binary_expression "(longdouble)DAT_002c6d68 * lVar2" (cast_expression "(longdouble)DAT_002c6d68" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d70" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) + (cast_expression "(longdouble)DAT_002c6d78" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }))) }) (else_clause "else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" else (compound_statement "{\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" { (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" identifier = (cast_expression "(longdouble)1" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (if_statement "if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" { (return_statement "return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;" return (binary_expression "lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" identifier + (binary_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" (parenthesized_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18)" ( (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18" (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2" (parenthesized_expression "(lVar2 - (longdouble)DAT_002c6d10)" ( (binary_expression "lVar2 - (longdouble)DAT_002c6d10" identifier - (cast_expression "(longdouble)DAT_002c6d10" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d18" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30)" ( (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30" (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28)" ( (binary_expression "(longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28" (binary_expression "(longdouble)DAT_002c6d20 * lVar2" (cast_expression "(longdouble)DAT_002c6d20" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6d28" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d30" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }))) (return_statement "return (longdouble)0;" return (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\ndouble CubicSpline(double x,ResizeFilter *resize_filter)\n\n{\n  double dVar1;\n  double dVar2;\n  \n  dVar1 = (double)DAT_002aabd0;\n  if (dVar1 < resize_filter->support) {\n    dVar2 = (double)DAT_002a9b78;\n    if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }\n  }\n  else {\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }\n  return 0.0;\n}\n\n" comment comment (function_definition "double CubicSpline(double x,ResizeFilter *resize_filter)\n\n{\n  double dVar1;\n  double dVar2;\n  \n  dVar1 = (double)DAT_002aabd0;\n  if (dVar1 < resize_filter->support) {\n    dVar2 = (double)DAT_002a9b78;\n    if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }\n  }\n  else {\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }\n  return 0.0;\n}" primitive_type (function_declarator "CubicSpline(double x,ResizeFilter *resize_filter)" identifier (parameter_list "(double x,ResizeFilter *resize_filter)" ( (parameter_declaration "double x" primitive_type identifier) , (parameter_declaration "ResizeFilter *resize_filter" type_identifier (pointer_declarator "*resize_filter" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  double dVar2;\n  \n  dVar1 = (double)DAT_002aabd0;\n  if (dVar1 < resize_filter->support) {\n    dVar2 = (double)DAT_002a9b78;\n    if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }\n  }\n  else {\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }\n  return 0.0;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (expression_statement "dVar1 = (double)DAT_002aabd0;" (assignment_expression "dVar1 = (double)DAT_002aabd0" identifier = (cast_expression "(double)DAT_002aabd0" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (dVar1 < resize_filter->support) {\n    dVar2 = (double)DAT_002a9b78;\n    if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }\n  }\n  else {\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }" if (parenthesized_expression "(dVar1 < resize_filter->support)" ( (binary_expression "dVar1 < resize_filter->support" identifier < (field_expression "resize_filter->support" identifier -> field_identifier)) )) (compound_statement "{\n    dVar2 = (double)DAT_002a9b78;\n    if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }\n  }" { (expression_statement "dVar2 = (double)DAT_002a9b78;" (assignment_expression "dVar2 = (double)DAT_002a9b78" identifier = (cast_expression "(double)DAT_002a9b78" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (dVar2 < resize_filter->support) {\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }\n    else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }" if (parenthesized_expression "(dVar2 < resize_filter->support)" ( (binary_expression "dVar2 < resize_filter->support" identifier < (field_expression "resize_filter->support" identifier -> field_identifier)) )) (compound_statement "{\n      if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }\n      if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }\n    }" { (if_statement "if (x < 1.0) {\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }" if (parenthesized_expression "(x < 1.0)" ( (binary_expression "x < 1.0" identifier < number_literal) )) (compound_statement "{\n        return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;\n      }" { (return_statement "return ((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0;" return (binary_expression "((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x + 1.0" (binary_expression "((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90) * x" (parenthesized_expression "((DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90)" ( (binary_expression "(DAT_002c6d80 * x - DAT_002c6d88) * x - DAT_002c6d90" (binary_expression "(DAT_002c6d80 * x - DAT_002c6d88) * x" (parenthesized_expression "(DAT_002c6d80 * x - DAT_002c6d88)" ( (binary_expression "DAT_002c6d80 * x - DAT_002c6d88" (binary_expression "DAT_002c6d80 * x" identifier * identifier) - identifier) )) * identifier) - identifier) )) * identifier) + number_literal) ;) })) (if_statement "if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }" if (parenthesized_expression "(x < dVar1)" ( (binary_expression "x < dVar1" identifier < identifier) )) (compound_statement "{\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;\n      }" { (expression_statement "dVar1 = x - 1.0;" (assignment_expression "dVar1 = x - 1.0" identifier = (binary_expression "x - 1.0" identifier - number_literal)) ;) (return_statement "return ((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1;" return (binary_expression "((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8) * dVar1" (parenthesized_expression "((DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8)" ( (binary_expression "(DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1 - DAT_002c6da8" (binary_expression "(DAT_002c6d98 * dVar1 + DAT_002c6da0) * dVar1" (parenthesized_expression "(DAT_002c6d98 * dVar1 + DAT_002c6da0)" ( (binary_expression "DAT_002c6d98 * dVar1 + DAT_002c6da0" (binary_expression "DAT_002c6d98 * dVar1" identifier * identifier) + identifier) )) * identifier) - identifier) )) * identifier) ;) })) (if_statement "if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }" if (parenthesized_expression "(x < dVar2)" ( (binary_expression "x < dVar2" identifier < identifier) )) (compound_statement "{\n        dVar1 = x - dVar1;\n        return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;\n      }" { (expression_statement "dVar1 = x - dVar1;" (assignment_expression "dVar1 = x - dVar1" identifier = (binary_expression "x - dVar1" identifier - identifier)) ;) (return_statement "return ((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1;" return (binary_expression "((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0) * dVar1" (parenthesized_expression "((DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0)" ( (binary_expression "(DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1 + DAT_002c6dc0" (binary_expression "(DAT_002c6db0 * dVar1 - DAT_002c6db8) * dVar1" (parenthesized_expression "(DAT_002c6db0 * dVar1 - DAT_002c6db8)" ( (binary_expression "DAT_002c6db0 * dVar1 - DAT_002c6db8" (binary_expression "DAT_002c6db0 * dVar1" identifier * identifier) - identifier) )) * identifier) + identifier) )) * identifier) ;) })) (if_statement "if (x < (double)DAT_002a9b80) {\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }" if (parenthesized_expression "(x < (double)DAT_002a9b80)" ( (binary_expression "x < (double)DAT_002a9b80" identifier < (cast_expression "(double)DAT_002a9b80" ( (type_descriptor "double" primitive_type) ) identifier)) )) (compound_statement "{\n        dVar2 = x - dVar2;\n        return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;\n      }" { (expression_statement "dVar2 = x - dVar2;" (assignment_expression "dVar2 = x - dVar2" identifier = (binary_expression "x - dVar2" identifier - identifier)) ;) (return_statement "return ((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2;" return (binary_expression "((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8) * dVar2" (parenthesized_expression "((DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8)" ( (binary_expression "(DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2 - DAT_002c6dd8" (binary_expression "(DAT_002c6dc8 * dVar2 + DAT_002c6dd0) * dVar2" (parenthesized_expression "(DAT_002c6dc8 * dVar2 + DAT_002c6dd0)" ( (binary_expression "DAT_002c6dc8 * dVar2 + DAT_002c6dd0" (binary_expression "DAT_002c6dc8 * dVar2" identifier * identifier) + identifier) )) * identifier) - identifier) )) * identifier) ;) })) }) (else_clause "else {\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }" else (compound_statement "{\n      if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }\n      if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }\n      if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }\n    }" { (if_statement "if (x < 1.0) {\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }" if (parenthesized_expression "(x < 1.0)" ( (binary_expression "x < 1.0" identifier < number_literal) )) (compound_statement "{\n        return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;\n      }" { (return_statement "return ((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0;" return (binary_expression "((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x + 1.0" (binary_expression "((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48) * x" (parenthesized_expression "((DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48)" ( (binary_expression "(DAT_002c6d38 * x - DAT_002c6d40) * x - DAT_002c6d48" (binary_expression "(DAT_002c6d38 * x - DAT_002c6d40) * x" (parenthesized_expression "(DAT_002c6d38 * x - DAT_002c6d40)" ( (binary_expression "DAT_002c6d38 * x - DAT_002c6d40" (binary_expression "DAT_002c6d38 * x" identifier * identifier) - identifier) )) * identifier) - identifier) )) * identifier) + number_literal) ;) })) (if_statement "if (x < dVar1) {\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }" if (parenthesized_expression "(x < dVar1)" ( (binary_expression "x < dVar1" identifier < identifier) )) (compound_statement "{\n        dVar1 = x - 1.0;\n        return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;\n      }" { (expression_statement "dVar1 = x - 1.0;" (assignment_expression "dVar1 = x - 1.0" identifier = (binary_expression "x - 1.0" identifier - number_literal)) ;) (return_statement "return ((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1;" return (binary_expression "((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60) * dVar1" (parenthesized_expression "((DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60)" ( (binary_expression "(DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1 - DAT_002c6d60" (binary_expression "(DAT_002c6d50 * dVar1 + DAT_002c6d58) * dVar1" (parenthesized_expression "(DAT_002c6d50 * dVar1 + DAT_002c6d58)" ( (binary_expression "DAT_002c6d50 * dVar1 + DAT_002c6d58" (binary_expression "DAT_002c6d50 * dVar1" identifier * identifier) + identifier) )) * identifier) - identifier) )) * identifier) ;) })) (if_statement "if (x < dVar2) {\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }" if (parenthesized_expression "(x < dVar2)" ( (binary_expression "x < dVar2" identifier < identifier) )) (compound_statement "{\n        dVar1 = x - dVar1;\n        return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;\n      }" { (expression_statement "dVar1 = x - dVar1;" (assignment_expression "dVar1 = x - dVar1" identifier = (binary_expression "x - dVar1" identifier - identifier)) ;) (return_statement "return ((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1;" return (binary_expression "((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78) * dVar1" (parenthesized_expression "((DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78)" ( (binary_expression "(DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1 + DAT_002c6d78" (binary_expression "(DAT_002c6d68 * dVar1 - DAT_002c6d70) * dVar1" (parenthesized_expression "(DAT_002c6d68 * dVar1 - DAT_002c6d70)" ( (binary_expression "DAT_002c6d68 * dVar1 - DAT_002c6d70" (binary_expression "DAT_002c6d68 * dVar1" identifier * identifier) - identifier) )) * identifier) + identifier) )) * identifier) ;) })) }))) }) (else_clause "else {\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }" else (compound_statement "{\n    if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }\n    if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }\n  }" { (if_statement "if (x < 1.0) {\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }" if (parenthesized_expression "(x < 1.0)" ( (binary_expression "x < 1.0" identifier < number_literal) )) (compound_statement "{\n      return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;\n    }" { (return_statement "return ((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0;" return (binary_expression "((x - DAT_002c6d10) * x - DAT_002c6d18) * x + 1.0" (binary_expression "((x - DAT_002c6d10) * x - DAT_002c6d18) * x" (parenthesized_expression "((x - DAT_002c6d10) * x - DAT_002c6d18)" ( (binary_expression "(x - DAT_002c6d10) * x - DAT_002c6d18" (binary_expression "(x - DAT_002c6d10) * x" (parenthesized_expression "(x - DAT_002c6d10)" ( (binary_expression "x - DAT_002c6d10" identifier - identifier) )) * identifier) - identifier) )) * identifier) + number_literal) ;) })) (if_statement "if (x < dVar1) {\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }" if (parenthesized_expression "(x < dVar1)" ( (binary_expression "x < dVar1" identifier < identifier) )) (compound_statement "{\n      dVar1 = x - 1.0;\n      return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;\n    }" { (expression_statement "dVar1 = x - 1.0;" (assignment_expression "dVar1 = x - 1.0" identifier = (binary_expression "x - 1.0" identifier - number_literal)) ;) (return_statement "return ((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1;" return (binary_expression "((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30) * dVar1" (parenthesized_expression "((DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30)" ( (binary_expression "(DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1 - DAT_002c6d30" (binary_expression "(DAT_002c6d20 * dVar1 + DAT_002c6d28) * dVar1" (parenthesized_expression "(DAT_002c6d20 * dVar1 + DAT_002c6d28)" ( (binary_expression "DAT_002c6d20 * dVar1 + DAT_002c6d28" (binary_expression "DAT_002c6d20 * dVar1" identifier * identifier) + identifier) )) * identifier) - identifier) )) * identifier) ;) })) }))) (return_statement "return 0.0;" return number_literal ;) })))
(translation_unit "longdouble FUN_0016f0b0(double param_1,int param_2)\n\n{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}\n\n" (function_definition "longdouble FUN_0016f0b0(double param_1,int param_2)\n\n{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" type_identifier (function_declarator "FUN_0016f0b0(double param_1,int param_2)" identifier (parameter_list "(double param_1,int param_2)" ( (parameter_declaration "double param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" { (declaration "longdouble lVar1;" type_identifier identifier ;) (declaration "longdouble lVar2;" type_identifier identifier ;) (declaration "longdouble lVar3;" type_identifier identifier ;) (declaration "longdouble lVar4;" type_identifier identifier ;) (expression_statement "lVar2 = (longdouble)param_1;" (assignment_expression "lVar2 = (longdouble)param_1" identifier = (cast_expression "(longdouble)param_1" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (expression_statement "lVar3 = (longdouble)DAT_002aabd0;" (assignment_expression "lVar3 = (longdouble)DAT_002aabd0" identifier = (cast_expression "(longdouble)DAT_002aabd0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (if_statement "if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" if (parenthesized_expression "(lVar3 < (longdouble)*(double *)(param_2 + 8))" ( (binary_expression "lVar3 < (longdouble)*(double *)(param_2 + 8)" identifier < (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_2 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }" { (expression_statement "lVar4 = (longdouble)DAT_002a9b78;" (assignment_expression "lVar4 = (longdouble)DAT_002a9b78" identifier = (cast_expression "(longdouble)DAT_002a9b78" ( (type_descriptor "longdouble" type_identifier) ) identifier)) ;) (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" identifier = (cast_expression "(longdouble)1" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (if_statement "if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" if (parenthesized_expression "(lVar4 < (longdouble)*(double *)(param_2 + 8))" ( (binary_expression "lVar4 < (longdouble)*(double *)(param_2 + 8)" identifier < (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" ( identifier )) * (cast_expression "(double *)(param_2 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }" { (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" { (return_statement "return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;" return (binary_expression "lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" identifier + (binary_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90)" ( (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90" (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88)" ( (binary_expression "(longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88" (binary_expression "(longdouble)DAT_002c6d80 * lVar2" (cast_expression "(longdouble)DAT_002c6d80" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d88" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d90" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8)" ( (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8" (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0)" ( (binary_expression "(longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0" (binary_expression "(longdouble)DAT_002c6d98 * lVar2" (cast_expression "(longdouble)DAT_002c6d98" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6da0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6da8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar4)" ( (binary_expression "lVar2 < lVar4" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" identifier = (binary_expression "lVar2 - lVar3" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0)" ( (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0" (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8)" ( (binary_expression "(longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8" (binary_expression "(longdouble)DAT_002c6db0 * lVar2" (cast_expression "(longdouble)DAT_002c6db0" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6db8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) + (cast_expression "(longdouble)DAT_002c6dc0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < (longdouble)DAT_002a9b80)" ( (binary_expression "lVar2 < (longdouble)DAT_002a9b80" identifier < (cast_expression "(longdouble)DAT_002a9b80" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) (compound_statement "{\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar4;" (assignment_expression "lVar2 = lVar2 - lVar4" identifier = (binary_expression "lVar2 - lVar4" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8)" ( (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8" (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0)" ( (binary_expression "(longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0" (binary_expression "(longdouble)DAT_002c6dc8 * lVar2" (cast_expression "(longdouble)DAT_002c6dc8" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6dd0" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6dd8" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }) (else_clause "else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" else (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" { (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" { (return_statement "return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;" return (binary_expression "lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" identifier + (binary_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48)" ( (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48" (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40)" ( (binary_expression "(longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40" (binary_expression "(longdouble)DAT_002c6d38 * lVar2" (cast_expression "(longdouble)DAT_002c6d38" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d40" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d48" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60)" ( (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60" (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58)" ( (binary_expression "(longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58" (binary_expression "(longdouble)DAT_002c6d50 * lVar2" (cast_expression "(longdouble)DAT_002c6d50" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6d58" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d60" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" if (parenthesized_expression "(lVar2 < lVar4)" ( (binary_expression "lVar2 < lVar4" identifier < identifier) )) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" { (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" identifier = (binary_expression "lVar2 - lVar3" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78)" ( (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78" (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70)" ( (binary_expression "(longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70" (binary_expression "(longdouble)DAT_002c6d68 * lVar2" (cast_expression "(longdouble)DAT_002c6d68" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) - (cast_expression "(longdouble)DAT_002c6d70" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) + (cast_expression "(longdouble)DAT_002c6d78" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }))) }) (else_clause "else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" else (compound_statement "{\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" { (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" identifier = (cast_expression "(longdouble)1" ( (type_descriptor "longdouble" type_identifier) ) number_literal)) ;) (if_statement "if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" if (parenthesized_expression "(lVar2 < lVar1)" ( (binary_expression "lVar2 < lVar1" identifier < identifier) )) (compound_statement "{\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" { (return_statement "return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;" return (binary_expression "lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" identifier + (binary_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" (parenthesized_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18)" ( (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18" (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2" (parenthesized_expression "(lVar2 - (longdouble)DAT_002c6d10)" ( (binary_expression "lVar2 - (longdouble)DAT_002c6d10" identifier - (cast_expression "(longdouble)DAT_002c6d10" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d18" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier)) ;) })) (if_statement "if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" if (parenthesized_expression "(lVar2 < lVar3)" ( (binary_expression "lVar2 < lVar3" identifier < identifier) )) (compound_statement "{\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" { (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" identifier = (binary_expression "lVar2 - lVar1" identifier - identifier)) ;) (return_statement "return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;" return (binary_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30)" ( (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30" (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28)" ( (binary_expression "(longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28" (binary_expression "(longdouble)DAT_002c6d20 * lVar2" (cast_expression "(longdouble)DAT_002c6d20" ( (type_descriptor "longdouble" type_identifier) ) identifier) * identifier) + (cast_expression "(longdouble)DAT_002c6d28" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) - (cast_expression "(longdouble)DAT_002c6d30" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )) * identifier) ;) })) }))) (return_statement "return (longdouble)0;" return (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) * IDENT) ;) })) }))) (return_statement return (cast_expression ( (type_descriptor TYPE) ) LIT) ;) })))
(function_definition "longdouble FUN_0016f0b0(double param_1,int param_2)\n\n{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" (type_identifier "longdouble") (function_declarator "FUN_0016f0b0(double param_1,int param_2)" (identifier "FUN_0016f0b0") (parameter_list "(double param_1,int param_2)" (( "(") (parameter_declaration "double param_1" (primitive_type "double") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  longdouble lVar1;\n  longdouble lVar2;\n  longdouble lVar3;\n  longdouble lVar4;\n  \n  lVar2 = (longdouble)param_1;\n  lVar3 = (longdouble)DAT_002aabd0;\n  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }\n  return (longdouble)0;\n}" ({ "{") (declaration "longdouble lVar1;" (type_identifier "longdouble") (identifier "lVar1") (; ";")) (declaration "longdouble lVar2;" (type_identifier "longdouble") (identifier "lVar2") (; ";")) (declaration "longdouble lVar3;" (type_identifier "longdouble") (identifier "lVar3") (; ";")) (declaration "longdouble lVar4;" (type_identifier "longdouble") (identifier "lVar4") (; ";")) (expression_statement "lVar2 = (longdouble)param_1;" (assignment_expression "lVar2 = (longdouble)param_1" (identifier "lVar2") (= "=") (cast_expression "(longdouble)param_1" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "lVar3 = (longdouble)DAT_002aabd0;" (assignment_expression "lVar3 = (longdouble)DAT_002aabd0" (identifier "lVar3") (= "=") (cast_expression "(longdouble)DAT_002aabd0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002aabd0"))) (; ";")) (if_statement "if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }\n  else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" (if "if") (parenthesized_expression "(lVar3 < (longdouble)*(double *)(param_2 + 8))" (( "(") (binary_expression "lVar3 < (longdouble)*(double *)(param_2 + 8)" (identifier "lVar3") (< "<") (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")")) (* "*") (cast_expression "(double *)(param_2 + 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    lVar4 = (longdouble)DAT_002a9b78;\n    lVar1 = (longdouble)1;\n    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }\n  }" ({ "{") (expression_statement "lVar4 = (longdouble)DAT_002a9b78;" (assignment_expression "lVar4 = (longdouble)DAT_002a9b78" (identifier "lVar4") (= "=") (cast_expression "(longdouble)DAT_002a9b78" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002a9b78"))) (; ";")) (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" (identifier "lVar1") (= "=") (cast_expression "(longdouble)1" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "1"))) (; ";")) (if_statement "if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }\n    else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" (if "if") (parenthesized_expression "(lVar4 < (longdouble)*(double *)(param_2 + 8))" (( "(") (binary_expression "lVar4 < (longdouble)*(double *)(param_2 + 8)" (identifier "lVar4") (< "<") (binary_expression "(longdouble)*(double *)(param_2 + 8)" (parenthesized_expression "(longdouble)" (( "(") (identifier "longdouble") () ")")) (* "*") (cast_expression "(double *)(param_2 + 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }\n      if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }\n    }" ({ "{") (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar1)" (( "(") (binary_expression "lVar2 < lVar1" (identifier "lVar2") (< "<") (identifier "lVar1")) () ")")) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;\n      }" ({ "{") (return_statement "return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2;" (return "return") (binary_expression "lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" (identifier "lVar1") (+ "+") (binary_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90)" (( "(") (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -\n                       (longdouble)DAT_002c6d90" (binary_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88)" (( "(") (binary_expression "(longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88" (binary_expression "(longdouble)DAT_002c6d80 * lVar2" (cast_expression "(longdouble)DAT_002c6d80" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d80")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d88" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d88"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d90" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d90"))) () ")")) (* "*") (identifier "lVar2"))) (; ";")) (} "}"))) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar3)" (( "(") (binary_expression "lVar2 < lVar3" (identifier "lVar2") (< "<") (identifier "lVar3")) () ")")) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;\n      }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar1" (identifier "lVar2") (- "-") (identifier "lVar1"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8)" (( "(") (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -\n               (longdouble)DAT_002c6da8" (binary_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0)" (( "(") (binary_expression "(longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0" (binary_expression "(longdouble)DAT_002c6d98 * lVar2" (cast_expression "(longdouble)DAT_002c6d98" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d98")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6da0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6da0"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6da8" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6da8"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar4)" (( "(") (binary_expression "lVar2 < lVar4" (identifier "lVar2") (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;\n      }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar3" (identifier "lVar2") (- "-") (identifier "lVar3"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0)" (( "(") (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +\n               (longdouble)DAT_002c6dc0" (binary_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8)" (( "(") (binary_expression "(longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8" (binary_expression "(longdouble)DAT_002c6db0 * lVar2" (cast_expression "(longdouble)DAT_002c6db0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6db0")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6db8" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6db8"))) () ")")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6dc0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6dc0"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (if_statement "if (lVar2 < (longdouble)DAT_002a9b80) {\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < (longdouble)DAT_002a9b80)" (( "(") (binary_expression "lVar2 < (longdouble)DAT_002a9b80" (identifier "lVar2") (< "<") (cast_expression "(longdouble)DAT_002a9b80" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002a9b80"))) () ")")) (compound_statement "{\n        lVar2 = lVar2 - lVar4;\n        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;\n      }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar4;" (assignment_expression "lVar2 = lVar2 - lVar4" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar4" (identifier "lVar2") (- "-") (identifier "lVar4"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8)" (( "(") (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -\n               (longdouble)DAT_002c6dd8" (binary_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0)" (( "(") (binary_expression "(longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0" (binary_expression "(longdouble)DAT_002c6dc8 * lVar2" (cast_expression "(longdouble)DAT_002c6dc8" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6dc8")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6dd0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6dd0"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6dd8" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6dd8"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" (else "else") (compound_statement "{\n      if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }\n      if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }\n      if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }\n    }" ({ "{") (if_statement "if (lVar2 < lVar1) {\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar1)" (( "(") (binary_expression "lVar2 < lVar1" (identifier "lVar2") (< "<") (identifier "lVar1")) () ")")) (compound_statement "{\n        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;\n      }" ({ "{") (return_statement "return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2;" (return "return") (binary_expression "lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" (identifier "lVar1") (+ "+") (binary_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48)" (( "(") (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -\n                       (longdouble)DAT_002c6d48" (binary_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40)" (( "(") (binary_expression "(longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40" (binary_expression "(longdouble)DAT_002c6d38 * lVar2" (cast_expression "(longdouble)DAT_002c6d38" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d38")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d40" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d40"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d48" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d48"))) () ")")) (* "*") (identifier "lVar2"))) (; ";")) (} "}"))) (if_statement "if (lVar2 < lVar3) {\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar3)" (( "(") (binary_expression "lVar2 < lVar3" (identifier "lVar2") (< "<") (identifier "lVar3")) () ")")) (compound_statement "{\n        lVar2 = lVar2 - lVar1;\n        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;\n      }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar1" (identifier "lVar2") (- "-") (identifier "lVar1"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60)" (( "(") (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -\n               (longdouble)DAT_002c6d60" (binary_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58)" (( "(") (binary_expression "(longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58" (binary_expression "(longdouble)DAT_002c6d50 * lVar2" (cast_expression "(longdouble)DAT_002c6d50" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d50")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6d58" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d58"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d60" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d60"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (if_statement "if (lVar2 < lVar4) {\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" (if "if") (parenthesized_expression "(lVar2 < lVar4)" (( "(") (binary_expression "lVar2 < lVar4" (identifier "lVar2") (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n        lVar2 = lVar2 - lVar3;\n        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;\n      }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar3;" (assignment_expression "lVar2 = lVar2 - lVar3" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar3" (identifier "lVar2") (- "-") (identifier "lVar3"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78)" (( "(") (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +\n               (longdouble)DAT_002c6d78" (binary_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70)" (( "(") (binary_expression "(longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70" (binary_expression "(longdouble)DAT_002c6d68 * lVar2" (cast_expression "(longdouble)DAT_002c6d68" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d68")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d70" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d70"))) () ")")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6d78" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d78"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" (else "else") (compound_statement "{\n    lVar1 = (longdouble)1;\n    if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }\n    if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }\n  }" ({ "{") (expression_statement "lVar1 = (longdouble)1;" (assignment_expression "lVar1 = (longdouble)1" (identifier "lVar1") (= "=") (cast_expression "(longdouble)1" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "1"))) (; ";")) (if_statement "if (lVar2 < lVar1) {\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" (if "if") (parenthesized_expression "(lVar2 < lVar1)" (( "(") (binary_expression "lVar2 < lVar1" (identifier "lVar2") (< "<") (identifier "lVar1")) () ")")) (compound_statement "{\n      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;\n    }" ({ "{") (return_statement "return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2\n      ;" (return "return") (binary_expression "lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" (identifier "lVar1") (+ "+") (binary_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2" (parenthesized_expression "((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18)" (( "(") (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18" (binary_expression "(lVar2 - (longdouble)DAT_002c6d10) * lVar2" (parenthesized_expression "(lVar2 - (longdouble)DAT_002c6d10)" (( "(") (binary_expression "lVar2 - (longdouble)DAT_002c6d10" (identifier "lVar2") (- "-") (cast_expression "(longdouble)DAT_002c6d10" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d10"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d18" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d18"))) () ")")) (* "*") (identifier "lVar2"))) (; ";")) (} "}"))) (if_statement "if (lVar2 < lVar3) {\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" (if "if") (parenthesized_expression "(lVar2 < lVar3)" (( "(") (binary_expression "lVar2 < lVar3" (identifier "lVar2") (< "<") (identifier "lVar3")) () ")")) (compound_statement "{\n      lVar2 = lVar2 - lVar1;\n      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;\n    }" ({ "{") (expression_statement "lVar2 = lVar2 - lVar1;" (assignment_expression "lVar2 = lVar2 - lVar1" (identifier "lVar2") (= "=") (binary_expression "lVar2 - lVar1" (identifier "lVar2") (- "-") (identifier "lVar1"))) (; ";")) (return_statement "return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2;" (return "return") (binary_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30) * lVar2" (parenthesized_expression "(((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30)" (( "(") (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -\n             (longdouble)DAT_002c6d30" (binary_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2" (parenthesized_expression "((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28)" (( "(") (binary_expression "(longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28" (binary_expression "(longdouble)DAT_002c6d20 * lVar2" (cast_expression "(longdouble)DAT_002c6d20" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d20")) (* "*") (identifier "lVar2")) (+ "+") (cast_expression "(longdouble)DAT_002c6d28" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d28"))) () ")")) (* "*") (identifier "lVar2")) (- "-") (cast_expression "(longdouble)DAT_002c6d30" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_002c6d30"))) () ")")) (* "*") (identifier "lVar2")) (; ";")) (} "}"))) (} "}")))) (return_statement "return (longdouble)0;" (return "return") (cast_expression "(longdouble)0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

double function_1(double var_3,type_1 *resize_filter)

{
  double var_1;
  double var_2;
  
  var_1 = (double)DAT_002aabd0;
  if (var_1 < resize_filter->support) {
    var_2 = (double)DAT_002a9b78;
    if (var_2 < resize_filter->support) {
      if (var_3 < 1.0) {
        return ((var_4 * var_3 - var_5) * var_3 - var_6) * var_3 + 1.0;
      }
      if (var_3 < var_1) {
        var_1 = var_3 - 1.0;
        return ((var_7 * var_1 + var_8) * var_1 - var_9) * var_1;
      }
      if (var_3 < var_2) {
        var_1 = var_3 - var_1;
        return ((var_10 * var_1 - var_11) * var_1 + var_12) * var_1;
      }
      if (var_3 < (double)DAT_002a9b80) {
        var_2 = var_3 - var_2;
        return ((var_13 * var_2 + var_14) * var_2 - var_15) * var_2;
      }
    }
    else {
      if (var_3 < 1.0) {
        return ((var_16 * var_3 - var_17) * var_3 - var_18) * var_3 + 1.0;
      }
      if (var_3 < var_1) {
        var_1 = var_3 - 1.0;
        return ((var_19 * var_1 + var_20) * var_1 - var_21) * var_1;
      }
      if (var_3 < var_2) {
        var_1 = var_3 - var_1;
        return ((var_22 * var_1 - var_23) * var_1 + var_24) * var_1;
      }
    }
  }
  else {
    if (var_3 < 1.0) {
      return ((var_3 - var_25) * var_3 - var_26) * var_3 + 1.0;
    }
    if (var_3 < var_1) {
      var_1 = var_3 - 1.0;
      return ((var_27 * var_1 + var_28) * var_1 - var_29) * var_1;
    }
  }
  return 0.0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (identifier)))))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

longdouble MASKED(double param_1,int param_2)

{
  longdouble lVar1;
  longdouble lVar2;
  longdouble lVar3;
  longdouble lVar4;
  
  lVar2 = (longdouble)param_1;
  lVar3 = (longdouble)DAT_002aabd0;
  if (lVar3 < (longdouble)*(double *)(param_2 + 8)) {
    lVar4 = (longdouble)DAT_002a9b78;
    lVar1 = (longdouble)1;
    if (lVar4 < (longdouble)*(double *)(param_2 + 8)) {
      if (lVar2 < lVar1) {
        return lVar1 + (((longdouble)DAT_002c6d80 * lVar2 - (longdouble)DAT_002c6d88) * lVar2 -
                       (longdouble)DAT_002c6d90) * lVar2;
      }
      if (lVar2 < lVar3) {
        lVar2 = lVar2 - lVar1;
        return (((longdouble)DAT_002c6d98 * lVar2 + (longdouble)DAT_002c6da0) * lVar2 -
               (longdouble)DAT_002c6da8) * lVar2;
      }
      if (lVar2 < lVar4) {
        lVar2 = lVar2 - lVar3;
        return (((longdouble)DAT_002c6db0 * lVar2 - (longdouble)DAT_002c6db8) * lVar2 +
               (longdouble)DAT_002c6dc0) * lVar2;
      }
      if (lVar2 < (longdouble)DAT_002a9b80) {
        lVar2 = lVar2 - lVar4;
        return (((longdouble)DAT_002c6dc8 * lVar2 + (longdouble)DAT_002c6dd0) * lVar2 -
               (longdouble)DAT_002c6dd8) * lVar2;
      }
    }
    else {
      if (lVar2 < lVar1) {
        return lVar1 + (((longdouble)DAT_002c6d38 * lVar2 - (longdouble)DAT_002c6d40) * lVar2 -
                       (longdouble)DAT_002c6d48) * lVar2;
      }
      if (lVar2 < lVar3) {
        lVar2 = lVar2 - lVar1;
        return (((longdouble)DAT_002c6d50 * lVar2 + (longdouble)DAT_002c6d58) * lVar2 -
               (longdouble)DAT_002c6d60) * lVar2;
      }
      if (lVar2 < lVar4) {
        lVar2 = lVar2 - lVar3;
        return (((longdouble)DAT_002c6d68 * lVar2 - (longdouble)DAT_002c6d70) * lVar2 +
               (longdouble)DAT_002c6d78) * lVar2;
      }
    }
  }
  else {
    lVar1 = (longdouble)1;
    if (lVar2 < lVar1) {
      return lVar1 + ((lVar2 - (longdouble)DAT_002c6d10) * lVar2 - (longdouble)DAT_002c6d18) * lVar2
      ;
    }
    if (lVar2 < lVar3) {
      lVar2 = lVar2 - lVar1;
      return (((longdouble)DAT_002c6d20 * lVar2 + (longdouble)DAT_002c6d28) * lVar2 -
             (longdouble)DAT_002c6d30) * lVar2;
    }
  }
  return (longdouble)0;
}

