
/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) [clone
   .cold.22] */

void std::locale::_Impl::_M_install_facet(id *param_1,facet *param_2)

{
  long *plVar1;
  long *plVar2;
  int iVar3;
  long lVar4;
  long unaff_RBX;
  undefined8 *unaff_RBP;
  ulong uVar5;
  long unaff_R12;
  long unaff_R13;
  undefined8 unaff_R14;
  long *unaff_R15;
  
  __cxa_begin_catch();
                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */
  __cxa_end_catch();
  *unaff_RBP = unaff_R14;
  plVar2 = (long *)*unaff_R15;
  if (unaff_R13 == 0) {
    iVar3 = (int)plVar2[1];
    *(int *)(plVar2 + 1) = iVar3 + -1;
  }
  else {
    LOCK();
    plVar1 = plVar2 + 1;
    iVar3 = (int)*plVar1;
    *(int *)plVar1 = (int)*plVar1 + -1;
    UNLOCK();
  }
  if (iVar3 == 1) {
    (**(code **)(*plVar2 + 8))(plVar2);
  }
  lVar4 = *(long *)(unaff_RBX + 0x10);
  *unaff_R15 = unaff_R12;
  if (lVar4 != 0) {
    uVar5 = 0;
    lVar4 = *(long *)(unaff_RBX + 0x18);
    do {
      plVar2 = *(long **)(lVar4 + uVar5 * 8);
      if (plVar2 != (long *)0x0) {
        if (unaff_R13 == 0) {
          iVar3 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar3 + -1;
        }
        else {
          LOCK();
          plVar1 = plVar2 + 1;
          iVar3 = (int)*plVar1;
          *(int *)plVar1 = (int)*plVar1 + -1;
          UNLOCK();
        }
        if (iVar3 == 1) {
          (**(code **)(*plVar2 + 8))();
        }
        lVar4 = *(long *)(unaff_RBX + 0x18);
        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;
      }
      uVar5 = uVar5 + 1;
    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));
  }
  return;
}



void FUN_0014e90e(void)

{
  long *plVar1;
  long *plVar2;
  int iVar3;
  long lVar4;
  long unaff_RBX;
  undefined8 *unaff_RBP;
  ulong uVar5;
  long unaff_R12;
  long unaff_R13;
  undefined8 unaff_R14;
  long *unaff_R15;
  
  FUN_002da4d0();
                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */
  FUN_002da540();
  *unaff_RBP = unaff_R14;
  plVar2 = (long *)*unaff_R15;
  if (unaff_R13 == 0) {
    iVar3 = (int)plVar2[1];
    *(int *)(plVar2 + 1) = iVar3 + -1;
  }
  else {
    LOCK();
    plVar1 = plVar2 + 1;
    iVar3 = (int)*plVar1;
    *(int *)plVar1 = (int)*plVar1 + -1;
    UNLOCK();
  }
  if (iVar3 == 1) {
    (**(code **)(*plVar2 + 8))(plVar2);
  }
  lVar4 = *(long *)(unaff_RBX + 0x10);
  *unaff_R15 = unaff_R12;
  if (lVar4 != 0) {
    uVar5 = 0;
    lVar4 = *(long *)(unaff_RBX + 0x18);
    do {
      plVar2 = *(long **)(lVar4 + uVar5 * 8);
      if (plVar2 != (long *)0x0) {
        if (unaff_R13 == 0) {
          iVar3 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar3 + -1;
        }
        else {
          LOCK();
          plVar1 = plVar2 + 1;
          iVar3 = (int)*plVar1;
          *(int *)plVar1 = (int)*plVar1 + -1;
          UNLOCK();
        }
        if (iVar3 == 1) {
          (**(code **)(*plVar2 + 8))();
        }
        lVar4 = *(long *)(unaff_RBX + 0x18);
        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;
      }
      uVar5 = uVar5 + 1;
    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));
  }
  return;
}


MOV RDI,RAX
CALL 0x002da4d0
CALL 0x002da540
JMP 0x002dd5e6
(translation_unit "void FUN_0014e90e(void)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}\n\n" (function_definition "void FUN_0014e90e(void)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0014e90e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_RBX;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *unaff_RBP;" type_identifier (pointer_declarator "*unaff_RBP" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_R13;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 unaff_R14;" type_identifier identifier ;) (declaration "long *unaff_R15;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_R15" * identifier) ;) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" identifier (argument_list "()" ( ))) ;) (expression_statement "*unaff_RBP = unaff_R14;" (assignment_expression "*unaff_RBP = unaff_R14" (pointer_expression "*unaff_RBP" * identifier) = identifier) ;) (expression_statement "plVar2 = (long *)*unaff_R15;" (assignment_expression "plVar2 = (long *)*unaff_R15" identifier = (cast_expression "(long *)*unaff_R15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_R15" * identifier))) ;) (if_statement "if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" { (expression_statement "(**(code **)(*plVar2 + 8))(plVar2);" (call_expression "(**(code **)(*plVar2 + 8))(plVar2)" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2)" ( identifier ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x10);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x10)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x10)" * (cast_expression "(long *)(unaff_RBX + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*unaff_R15 = unaff_R12;" (assignment_expression "*unaff_R15 = unaff_R12" (pointer_expression "*unaff_R15" * identifier) = identifier) ;) (if_statement "if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar4 + uVar5 * 8);" (assignment_expression "plVar2 = *(long **)(lVar4 + uVar5 * 8)" identifier = (pointer_expression "*(long **)(lVar4 + uVar5 * 8)" * (cast_expression "(long **)(lVar4 + uVar5 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" { (if_statement "if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(*plVar2 + 8))();\n        }" { (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + uVar5 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + uVar5 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + uVar5 * 8)" * (cast_expression "(undefined8 *)(lVar4 + uVar5 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < *(ulong *)(unaff_RBX + 0x10))" ( (binary_expression "uVar5 < *(ulong *)(unaff_RBX + 0x10)" identifier < (pointer_expression "*(ulong *)(unaff_RBX + 0x10)" * (cast_expression "(ulong *)(unaff_RBX + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) [clone\n   .cold.22] */\n\nvoid std::locale::_Impl::_M_install_facet(id *param_1,facet *param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  __cxa_begin_catch();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  __cxa_end_catch();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}\n\n" comment (function_definition "void std::locale::_Impl::_M_install_facet(id *param_1,facet *param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  __cxa_begin_catch();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  __cxa_end_catch();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" primitive_type (ERROR "std::locale::_Impl::" identifier : : identifier : : identifier : :) (function_declarator "_M_install_facet(id *param_1,facet *param_2)" identifier (parameter_list "(id *param_1,facet *param_2)" ( (parameter_declaration "id *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "facet *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  __cxa_begin_catch();\n                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */\n  __cxa_end_catch();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_RBX;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *unaff_RBP;" type_identifier (pointer_declarator "*unaff_RBP" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_R13;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 unaff_R14;" type_identifier identifier ;) (declaration "long *unaff_R15;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_R15" * identifier) ;) (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "__cxa_end_catch();" (call_expression "__cxa_end_catch()" identifier (argument_list "()" ( ))) ;) (expression_statement "*unaff_RBP = unaff_R14;" (assignment_expression "*unaff_RBP = unaff_R14" (pointer_expression "*unaff_RBP" * identifier) = identifier) ;) (expression_statement "plVar2 = (long *)*unaff_R15;" (assignment_expression "plVar2 = (long *)*unaff_R15" identifier = (cast_expression "(long *)*unaff_R15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_R15" * identifier))) ;) (if_statement "if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" { (expression_statement "(**(code **)(*plVar2 + 8))(plVar2);" (call_expression "(**(code **)(*plVar2 + 8))(plVar2)" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2)" ( identifier ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x10);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x10)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x10)" * (cast_expression "(long *)(unaff_RBX + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*unaff_R15 = unaff_R12;" (assignment_expression "*unaff_R15 = unaff_R12" (pointer_expression "*unaff_R15" * identifier) = identifier) ;) (if_statement "if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar4 + uVar5 * 8);" (assignment_expression "plVar2 = *(long **)(lVar4 + uVar5 * 8)" identifier = (pointer_expression "*(long **)(lVar4 + uVar5 * 8)" * (cast_expression "(long **)(lVar4 + uVar5 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" { (if_statement "if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(*plVar2 + 8))();\n        }" { (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + uVar5 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + uVar5 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + uVar5 * 8)" * (cast_expression "(undefined8 *)(lVar4 + uVar5 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < *(ulong *)(unaff_RBX + 0x10))" ( (binary_expression "uVar5 < *(ulong *)(unaff_RBX + 0x10)" identifier < (pointer_expression "*(ulong *)(unaff_RBX + 0x10)" * (cast_expression "(ulong *)(unaff_RBX + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0014e90e(void)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    \n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}\n\n" (function_definition "void FUN_0014e90e(void)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    \n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0014e90e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    \n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_RBX;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *unaff_RBP;" type_identifier (pointer_declarator "*unaff_RBP" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long unaff_R12;" (sized_type_specifier "long" long) identifier ;) (declaration "long unaff_R13;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 unaff_R14;" type_identifier identifier ;) (declaration "long *unaff_R15;" (sized_type_specifier "long" long) (pointer_declarator "*unaff_R15" * identifier) ;) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" identifier (argument_list "()" ( ))) ;) (expression_statement "*unaff_RBP = unaff_R14;" (assignment_expression "*unaff_RBP = unaff_R14" (pointer_expression "*unaff_RBP" * identifier) = identifier) ;) (expression_statement "plVar2 = (long *)*unaff_R15;" (assignment_expression "plVar2 = (long *)*unaff_R15" identifier = (cast_expression "(long *)*unaff_R15" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*unaff_R15" * identifier))) ;) (if_statement "if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" else (compound_statement "{\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" { (expression_statement "(**(code **)(*plVar2 + 8))(plVar2);" (call_expression "(**(code **)(*plVar2 + 8))(plVar2)" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2)" ( identifier ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x10);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x10)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x10)" * (cast_expression "(long *)(unaff_RBX + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*unaff_R15 = unaff_R12;" (assignment_expression "*unaff_R15 = unaff_R12" (pointer_expression "*unaff_R15" * identifier) = identifier) ;) (if_statement "if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (do_statement "do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));" do (compound_statement "{\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar4 + uVar5 * 8);" (assignment_expression "plVar2 = *(long **)(lVar4 + uVar5 * 8)" identifier = (pointer_expression "*(long **)(lVar4 + uVar5 * 8)" * (cast_expression "(long **)(lVar4 + uVar5 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" if (parenthesized_expression "(plVar2 != (long *)0x0)" ( (binary_expression "plVar2 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" { (if_statement "if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" if (parenthesized_expression "(unaff_R13 == 0)" ( (binary_expression "unaff_R13 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }" { (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" identifier = (cast_expression "(int)plVar2[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" * (cast_expression "(int *)(plVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 1)" ( (binary_expression "plVar2 + 1" identifier + number_literal) )))) = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" else (compound_statement "{\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" identifier = (binary_expression "plVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" identifier = (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier))) ;) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" * (cast_expression "(int *)plVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*plVar1" * identifier)) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(*plVar2 + 8))();\n        }" { (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" ( (pointer_expression "**(code **)(*plVar2 + 8)" * (pointer_expression "*(code **)(*plVar2 + 8)" * (cast_expression "(code **)(*plVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 8)" ( (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" identifier = (pointer_expression "*(long *)(unaff_RBX + 0x18)" * (cast_expression "(long *)(unaff_RBX + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x18)" ( (binary_expression "unaff_RBX + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + uVar5 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + uVar5 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + uVar5 * 8)" * (cast_expression "(undefined8 *)(lVar4 + uVar5 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + uVar5 * 8)" ( (binary_expression "lVar4 + uVar5 * 8" identifier + (binary_expression "uVar5 * 8" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < *(ulong *)(unaff_RBX + 0x10))" ( (binary_expression "uVar5 < *(ulong *)(unaff_RBX + 0x10)" identifier < (pointer_expression "*(ulong *)(unaff_RBX + 0x10)" * (cast_expression "(ulong *)(unaff_RBX + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_RBX + 0x10)" ( (binary_expression "unaff_RBX + 0x10" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0014e90e(void)\n\n{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    \n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0014e90e(void)" (identifier "FUN_0014e90e") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  int iVar3;\n  long lVar4;\n  long unaff_RBX;\n  undefined8 *unaff_RBP;\n  ulong uVar5;\n  long unaff_R12;\n  long unaff_R13;\n  undefined8 unaff_R14;\n  long *unaff_R15;\n  \n  FUN_002da4d0();\n                    \n  FUN_002da540();\n  *unaff_RBP = unaff_R14;\n  plVar2 = (long *)*unaff_R15;\n  if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }\n  if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }\n  lVar4 = *(long *)(unaff_RBX + 0x10);\n  *unaff_R15 = unaff_R12;\n  if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "long unaff_RBX;" (sized_type_specifier "long" (long "long")) (identifier "unaff_RBX") (; ";")) (declaration "undefined8 *unaff_RBP;" (type_identifier "undefined8") (pointer_declarator "*unaff_RBP" (* "*") (identifier "unaff_RBP")) (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "long unaff_R12;" (sized_type_specifier "long" (long "long")) (identifier "unaff_R12") (; ";")) (declaration "long unaff_R13;" (sized_type_specifier "long" (long "long")) (identifier "unaff_R13") (; ";")) (declaration "undefined8 unaff_R14;" (type_identifier "undefined8") (identifier "unaff_R14") (; ";")) (declaration "long *unaff_R15;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*unaff_R15" (* "*") (identifier "unaff_R15")) (; ";")) (expression_statement "FUN_002da4d0();" (call_expression "FUN_002da4d0()" (identifier "FUN_002da4d0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_002da540();" (call_expression "FUN_002da540()" (identifier "FUN_002da540") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*unaff_RBP = unaff_R14;" (assignment_expression "*unaff_RBP = unaff_R14" (pointer_expression "*unaff_RBP" (* "*") (identifier "unaff_RBP")) (= "=") (identifier "unaff_R14")) (; ";")) (expression_statement "plVar2 = (long *)*unaff_R15;" (assignment_expression "plVar2 = (long *)*unaff_R15" (identifier "plVar2") (= "=") (cast_expression "(long *)*unaff_R15" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*unaff_R15" (* "*") (identifier "unaff_R15")))) (; ";")) (if_statement "if (unaff_R13 == 0) {\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }\n  else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" (if "if") (parenthesized_expression "(unaff_R13 == 0)" (( "(") (binary_expression "unaff_R13 == 0" (identifier "unaff_R13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = (int)plVar2[1];\n    *(int *)(plVar2 + 1) = iVar3 + -1;\n  }" ({ "{") (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" (identifier "iVar3") (= "=") (cast_expression "(int)plVar2[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" (* "*") (cast_expression "(int *)(plVar2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2 + 1)" (( "(") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" (else "else") (compound_statement "{\n    LOCK();\n    plVar1 = plVar2 + 1;\n    iVar3 = (int)*plVar1;\n    *(int *)plVar1 = (int)*plVar1 + -1;\n    UNLOCK();\n  }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" (identifier "plVar1") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" (identifier "iVar3") (= "=") (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")))) (; ";")) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" (* "*") (cast_expression "(int *)plVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar1"))) (= "=") (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar3 == 1) {\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    (**(code **)(*plVar2 + 8))(plVar2);\n  }" ({ "{") (expression_statement "(**(code **)(*plVar2 + 8))(plVar2);" (call_expression "(**(code **)(*plVar2 + 8))(plVar2)" (parenthesized_expression "(**(code **)(*plVar2 + 8))" (( "(") (pointer_expression "**(code **)(*plVar2 + 8)" (* "*") (pointer_expression "*(code **)(*plVar2 + 8)" (* "*") (cast_expression "(code **)(*plVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 8)" (( "(") (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(plVar2)" (( "(") (identifier "plVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x10);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x10)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(unaff_RBX + 0x10)" (* "*") (cast_expression "(long *)(unaff_RBX + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_RBX + 0x10)" (( "(") (binary_expression "unaff_RBX + 0x10" (identifier "unaff_RBX") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*unaff_R15 = unaff_R12;" (assignment_expression "*unaff_R15 = unaff_R12" (pointer_expression "*unaff_R15" (* "*") (identifier "unaff_R15")) (= "=") (identifier "unaff_R12")) (; ";")) (if_statement "if (lVar4 != 0) {\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" (if "if") (parenthesized_expression "(lVar4 != 0)" (( "(") (binary_expression "lVar4 != 0" (identifier "lVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = 0;\n    lVar4 = *(long *)(unaff_RBX + 0x18);\n    do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));\n  }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(unaff_RBX + 0x18)" (* "*") (cast_expression "(long *)(unaff_RBX + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_RBX + 0x18)" (( "(") (binary_expression "unaff_RBX + 0x18" (identifier "unaff_RBX") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (do_statement "do {\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));" (do "do") (compound_statement "{\n      plVar2 = *(long **)(lVar4 + uVar5 * 8);\n      if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }\n      uVar5 = uVar5 + 1;\n    }" ({ "{") (expression_statement "plVar2 = *(long **)(lVar4 + uVar5 * 8);" (assignment_expression "plVar2 = *(long **)(lVar4 + uVar5 * 8)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(lVar4 + uVar5 * 8)" (* "*") (cast_expression "(long **)(lVar4 + uVar5 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar4 + uVar5 * 8)" (( "(") (binary_expression "lVar4 + uVar5 * 8" (identifier "lVar4") (+ "+") (binary_expression "uVar5 * 8" (identifier "uVar5") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar2 != (long *)0x0) {\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" (if "if") (parenthesized_expression "(plVar2 != (long *)0x0)" (( "(") (binary_expression "plVar2 != (long *)0x0" (identifier "plVar2") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }\n        if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }\n        lVar4 = *(long *)(unaff_RBX + 0x18);\n        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;\n      }" ({ "{") (if_statement "if (unaff_R13 == 0) {\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }\n        else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" (if "if") (parenthesized_expression "(unaff_R13 == 0)" (( "(") (binary_expression "unaff_R13 == 0" (identifier "unaff_R13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = (int)plVar2[1];\n          *(int *)(plVar2 + 1) = iVar3 + -1;\n        }" ({ "{") (expression_statement "iVar3 = (int)plVar2[1];" (assignment_expression "iVar3 = (int)plVar2[1]" (identifier "iVar3") (= "=") (cast_expression "(int)plVar2[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*(int *)(plVar2 + 1) = iVar3 + -1;" (assignment_expression "*(int *)(plVar2 + 1) = iVar3 + -1" (pointer_expression "*(int *)(plVar2 + 1)" (* "*") (cast_expression "(int *)(plVar2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2 + 1)" (( "(") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (else_clause "else {\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" (else "else") (compound_statement "{\n          LOCK();\n          plVar1 = plVar2 + 1;\n          iVar3 = (int)*plVar1;\n          *(int *)plVar1 = (int)*plVar1 + -1;\n          UNLOCK();\n        }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "plVar1 = plVar2 + 1;" (assignment_expression "plVar1 = plVar2 + 1" (identifier "plVar1") (= "=") (binary_expression "plVar2 + 1" (identifier "plVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = (int)*plVar1;" (assignment_expression "iVar3 = (int)*plVar1" (identifier "iVar3") (= "=") (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1")))) (; ";")) (expression_statement "*(int *)plVar1 = (int)*plVar1 + -1;" (assignment_expression "*(int *)plVar1 = (int)*plVar1 + -1" (pointer_expression "*(int *)plVar1" (* "*") (cast_expression "(int *)plVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "plVar1"))) (= "=") (binary_expression "(int)*plVar1 + -1" (cast_expression "(int)*plVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (iVar3 == 1) {\n          (**(code **)(*plVar2 + 8))();\n        }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          (**(code **)(*plVar2 + 8))();\n        }" ({ "{") (expression_statement "(**(code **)(*plVar2 + 8))();" (call_expression "(**(code **)(*plVar2 + 8))()" (parenthesized_expression "(**(code **)(*plVar2 + 8))" (( "(") (pointer_expression "**(code **)(*plVar2 + 8)" (* "*") (pointer_expression "*(code **)(*plVar2 + 8)" (* "*") (cast_expression "(code **)(*plVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 8)" (( "(") (binary_expression "*plVar2 + 8" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar4 = *(long *)(unaff_RBX + 0x18);" (assignment_expression "lVar4 = *(long *)(unaff_RBX + 0x18)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(unaff_RBX + 0x18)" (* "*") (cast_expression "(long *)(unaff_RBX + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_RBX + 0x18)" (( "(") (binary_expression "unaff_RBX + 0x18" (identifier "unaff_RBX") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + uVar5 * 8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + uVar5 * 8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + uVar5 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + uVar5 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + uVar5 * 8)" (( "(") (binary_expression "lVar4 + uVar5 * 8" (identifier "lVar4") (+ "+") (binary_expression "uVar5 * 8" (identifier "uVar5") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < *(ulong *)(unaff_RBX + 0x10))" (( "(") (binary_expression "uVar5 < *(ulong *)(unaff_RBX + 0x10)" (identifier "uVar5") (< "<") (pointer_expression "*(ulong *)(unaff_RBX + 0x10)" (* "*") (cast_expression "(ulong *)(unaff_RBX + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_RBX + 0x10)" (( "(") (binary_expression "unaff_RBX + 0x10" (identifier "unaff_RBX") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) [clone
   .cold.22] */

void std::locale::_Impl::function_1(type_1 *param_1,type_2 *param_2)

{
  long *plVar1;
  long *var_4;
  int var_5;
  long var_9;
  long var_8;
  type_3 *unaff_RBP;
  type_4 var_10;
  long unaff_R12;
  long var_3;
  type_3 unaff_R14;
  long *unaff_R15;
  
  var_1();
                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */
  var_2();
  *unaff_RBP = unaff_R14;
  var_4 = (long *)*unaff_R15;
  if (var_3 == 0) {
    var_5 = (int)var_4[1];
    *(int *)(var_4 + 1) = var_5 + -1;
  }
  else {
    var_6();
    plVar1 = var_4 + 1;
    var_5 = (int)*plVar1;
    *(int *)plVar1 = (int)*plVar1 + -1;
    var_7();
  }
  if (var_5 == 1) {
    (**(type_5 **)(*var_4 + 8))(var_4);
  }
  var_9 = *(long *)(var_8 + 0x10);
  *unaff_R15 = unaff_R12;
  if (var_9 != 0) {
    var_10 = 0;
    var_9 = *(long *)(var_8 + 0x18);
    do {
      var_4 = *(long **)(var_9 + var_10 * 8);
      if (var_4 != (long *)0x0) {
        if (var_3 == 0) {
          var_5 = (int)var_4[1];
          *(int *)(var_4 + 1) = var_5 + -1;
        }
        else {
          var_6();
          plVar1 = var_4 + 1;
          var_5 = (int)*plVar1;
          *(int *)plVar1 = (int)*plVar1 + -1;
          var_7();
        }
        if (var_5 == 1) {
          (**(type_5 **)(*var_4 + 8))();
        }
        var_9 = *(long *)(var_8 + 0x18);
        *(type_3 *)(var_9 + var_10 * 8) = 0;
      }
      var_10 = var_10 + 1;
    } while (var_10 < *(type_4 *)(var_8 + 0x10));
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (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: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (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: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement))))

void MASKED(void)

{
  long *plVar1;
  long *plVar2;
  int iVar3;
  long lVar4;
  long unaff_RBX;
  undefined8 *unaff_RBP;
  ulong uVar5;
  long unaff_R12;
  long unaff_R13;
  undefined8 unaff_R14;
  long *unaff_R15;
  
  FUN_002da4d0();
                    /* try { // try from 0014e916 to 0014e91a has its CatchHandler @ 0014e96b */
  FUN_002da540();
  *unaff_RBP = unaff_R14;
  plVar2 = (long *)*unaff_R15;
  if (unaff_R13 == 0) {
    iVar3 = (int)plVar2[1];
    *(int *)(plVar2 + 1) = iVar3 + -1;
  }
  else {
    LOCK();
    plVar1 = plVar2 + 1;
    iVar3 = (int)*plVar1;
    *(int *)plVar1 = (int)*plVar1 + -1;
    UNLOCK();
  }
  if (iVar3 == 1) {
    (**(code **)(*plVar2 + 8))(plVar2);
  }
  lVar4 = *(long *)(unaff_RBX + 0x10);
  *unaff_R15 = unaff_R12;
  if (lVar4 != 0) {
    uVar5 = 0;
    lVar4 = *(long *)(unaff_RBX + 0x18);
    do {
      plVar2 = *(long **)(lVar4 + uVar5 * 8);
      if (plVar2 != (long *)0x0) {
        if (unaff_R13 == 0) {
          iVar3 = (int)plVar2[1];
          *(int *)(plVar2 + 1) = iVar3 + -1;
        }
        else {
          LOCK();
          plVar1 = plVar2 + 1;
          iVar3 = (int)*plVar1;
          *(int *)plVar1 = (int)*plVar1 + -1;
          UNLOCK();
        }
        if (iVar3 == 1) {
          (**(code **)(*plVar2 + 8))();
        }
        lVar4 = *(long *)(unaff_RBX + 0x18);
        *(undefined8 *)(lVar4 + uVar5 * 8) = 0;
      }
      uVar5 = uVar5 + 1;
    } while (uVar5 < *(ulong *)(unaff_RBX + 0x10));
  }
  return;
}

