
bfd_boolean load_cu_tu_indexes(void *file)

{
  bfd_boolean bVar1;
  int iVar2;
  
  if (load_cu_tu_indexes::cu_tu_indexes_read != -1) {
    return load_cu_tu_indexes::cu_tu_indexes_read;
  }
  load_cu_tu_indexes::cu_tu_indexes_read = 1;
  bVar1 = load_debug_section_with_follow(dwp_cu_index,file);
  if (bVar1 != 0) {
    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);
    if (iVar2 == 0) {
      load_cu_tu_indexes::cu_tu_indexes_read = 0;
    }
  }
  bVar1 = load_debug_section_with_follow(dwp_tu_index,file);
  if (bVar1 != 0) {
    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);
    if (iVar2 == 0) {
      load_cu_tu_indexes::cu_tu_indexes_read = 0;
      return 0;
    }
  }
  return load_cu_tu_indexes::cu_tu_indexes_read;
}



ulong FUN_00150ca0(undefined8 param_1)

{
  int iVar1;
  ulong uVar2;
  
  if (DAT_001910a8 != 0xffffffff) {
    return (ulong)DAT_001910a8;
  }
  DAT_001910a8 = 1;
  iVar1 = FUN_0013e500(0x26,param_1);
  if (iVar1 != 0) {
    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);
    if (iVar1 == 0) {
      DAT_001910a8 = 0;
    }
  }
  iVar1 = FUN_0013e500(0x27,param_1);
  if (iVar1 != 0) {
    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);
    if ((int)uVar2 == 0) {
      DAT_001910a8 = 0;
      return uVar2;
    }
  }
  return (ulong)DAT_001910a8;
}


MOV EAX,dword ptr [0x001910a8]
CMP EAX,-0x1
JZ 0x00150cb0
RET
PUSH RBX
MOV RSI,RDI
MOV RBX,RDI
MOV EDI,0x26
MOV dword ptr [0x001910a8],0x1
CALL 0x0013e500
TEST EAX,EAX
JNZ 0x00150d10
MOV RSI,RBX
MOV EDI,0x27
CALL 0x0013e500
TEST EAX,EAX
JNZ 0x00150cf0
MOV EAX,dword ptr [0x001910a8]
POP RBX
RET
XOR ESI,ESI
LEA RDI,[0x1921d0]
CALL 0x0014fb30
TEST EAX,EAX
JNZ 0x00150ce0
MOV dword ptr [0x001910a8],0x0
POP RBX
RET
XOR ESI,ESI
LEA RDI,[0x192160]
CALL 0x0014fb30
TEST EAX,EAX
JNZ 0x00150ccf
MOV dword ptr [0x001910a8],0x0
JMP 0x00150ccf
(translation_unit "ulong FUN_00150ca0(undefined8 param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}\n\n" (function_definition "ulong FUN_00150ca0(undefined8 param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" type_identifier (function_declarator "FUN_00150ca0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (if_statement "if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }" if (parenthesized_expression "(DAT_001910a8 != 0xffffffff)" ( (binary_expression "DAT_001910a8 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    return (ulong)DAT_001910a8;\n  }" { (return_statement "return (ulong)DAT_001910a8;" return (cast_expression "(ulong)DAT_001910a8" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) (expression_statement "DAT_001910a8 = 1;" (assignment_expression "DAT_001910a8 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0013e500(0x26,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x26,param_1)" identifier = (call_expression "FUN_0013e500(0x26,param_1)" identifier (argument_list "(0x26,param_1)" ( number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" { (expression_statement "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);" (assignment_expression "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" identifier = (call_expression "FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" identifier (argument_list "(&PTR_s__debug_cu_index_00192160,0)" ( (pointer_expression "&PTR_s__debug_cu_index_00192160" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_001910a8 = 0;\n    }" { (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" identifier = number_literal) ;) })) })) (expression_statement "iVar1 = FUN_0013e500(0x27,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x27,param_1)" identifier = (call_expression "FUN_0013e500(0x27,param_1)" identifier (argument_list "(0x27,param_1)" ( number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" { (expression_statement "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);" (assignment_expression "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" identifier = (call_expression "FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" identifier (argument_list "(&PTR_s__debug_tu_index_001921d0,0)" ( (pointer_expression "&PTR_s__debug_tu_index_001921d0" & identifier) , number_literal )))) ;) (if_statement "if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" if (parenthesized_expression "((int)uVar2 == 0)" ( (binary_expression "(int)uVar2 == 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" { (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" identifier = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) })) (return_statement "return (ulong)DAT_001910a8;" return (cast_expression "(ulong)DAT_001910a8" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })))
(translation_unit "bfd_boolean load_cu_tu_indexes(void *file)\n\n{\n  bfd_boolean bVar1;\n  int iVar2;\n  \n  if (load_cu_tu_indexes::cu_tu_indexes_read != -1) {\n    return load_cu_tu_indexes::cu_tu_indexes_read;\n  }\n  load_cu_tu_indexes::cu_tu_indexes_read = 1;\n  bVar1 = load_debug_section_with_follow(dwp_cu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }\n  }\n  bVar1 = load_debug_section_with_follow(dwp_tu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }\n  }\n  return load_cu_tu_indexes::cu_tu_indexes_read;\n}\n\n" (function_definition "bfd_boolean load_cu_tu_indexes(void *file)\n\n{\n  bfd_boolean bVar1;\n  int iVar2;\n  \n  if (load_cu_tu_indexes::cu_tu_indexes_read != -1) {\n    return load_cu_tu_indexes::cu_tu_indexes_read;\n  }\n  load_cu_tu_indexes::cu_tu_indexes_read = 1;\n  bVar1 = load_debug_section_with_follow(dwp_cu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }\n  }\n  bVar1 = load_debug_section_with_follow(dwp_tu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }\n  }\n  return load_cu_tu_indexes::cu_tu_indexes_read;\n}" type_identifier (function_declarator "load_cu_tu_indexes(void *file)" identifier (parameter_list "(void *file)" ( (parameter_declaration "void *file" primitive_type (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  int iVar2;\n  \n  if (load_cu_tu_indexes::cu_tu_indexes_read != -1) {\n    return load_cu_tu_indexes::cu_tu_indexes_read;\n  }\n  load_cu_tu_indexes::cu_tu_indexes_read = 1;\n  bVar1 = load_debug_section_with_follow(dwp_cu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }\n  }\n  bVar1 = load_debug_section_with_follow(dwp_tu_index,file);\n  if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }\n  }\n  return load_cu_tu_indexes::cu_tu_indexes_read;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (load_cu_tu_indexes::cu_tu_indexes_read != -1) {\n    return load_cu_tu_indexes::cu_tu_indexes_read;\n  }" if (parenthesized_expression "(load_cu_tu_indexes::cu_tu_indexes_read != -1)" ( (ERROR "load_cu_tu_indexes::" identifier : :) (binary_expression "cu_tu_indexes_read != -1" identifier != number_literal) )) (compound_statement "{\n    return load_cu_tu_indexes::cu_tu_indexes_read;\n  }" { (return_statement "return load_cu_tu_indexes::cu_tu_indexes_read;" return identifier (ERROR "::cu_tu_indexes_read" : : identifier) ;) })) (labeled_statement "load_cu_tu_indexes::cu_tu_indexes_read = 1;" statement_identifier : (ERROR ":" :) (expression_statement "cu_tu_indexes_read = 1;" (assignment_expression "cu_tu_indexes_read = 1" identifier = number_literal) ;)) (expression_statement "bVar1 = load_debug_section_with_follow(dwp_cu_index,file);" (assignment_expression "bVar1 = load_debug_section_with_follow(dwp_cu_index,file)" identifier = (call_expression "load_debug_section_with_follow(dwp_cu_index,file)" identifier (argument_list "(dwp_cu_index,file)" ( identifier , identifier )))) ;) (if_statement "if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }\n  }" { (expression_statement "iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0);" (assignment_expression "iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0)" identifier = (call_expression "process_cu_tu_index((dwarf_section *)&PTR_s__debug_cu_index_00192160,0)" identifier (argument_list "((dwarf_section *)&PTR_s__debug_cu_index_00192160,0)" ( (cast_expression "(dwarf_section *)&PTR_s__debug_cu_index_00192160" ( (type_descriptor "dwarf_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_s__debug_cu_index_00192160" & identifier)) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n    }" { (labeled_statement "load_cu_tu_indexes::cu_tu_indexes_read = 0;" statement_identifier : (ERROR ":" :) (expression_statement "cu_tu_indexes_read = 0;" (assignment_expression "cu_tu_indexes_read = 0" identifier = number_literal) ;)) })) })) (expression_statement "bVar1 = load_debug_section_with_follow(dwp_tu_index,file);" (assignment_expression "bVar1 = load_debug_section_with_follow(dwp_tu_index,file)" identifier = (call_expression "load_debug_section_with_follow(dwp_tu_index,file)" identifier (argument_list "(dwp_tu_index,file)" ( identifier , identifier )))) ;) (if_statement "if (bVar1 != 0) {\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);\n    if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }\n  }" { (expression_statement "iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0);" (assignment_expression "iVar2 = process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0)" identifier = (call_expression "process_cu_tu_index((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0)" identifier (argument_list "((dwarf_section *)&PTR_s__debug_tu_index_001921d0,0)" ( (cast_expression "(dwarf_section *)&PTR_s__debug_tu_index_001921d0" ( (type_descriptor "dwarf_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR_s__debug_tu_index_001921d0" & identifier)) , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      load_cu_tu_indexes::cu_tu_indexes_read = 0;\n      return 0;\n    }" { (labeled_statement "load_cu_tu_indexes::cu_tu_indexes_read = 0;" statement_identifier : (ERROR ":" :) (expression_statement "cu_tu_indexes_read = 0;" (assignment_expression "cu_tu_indexes_read = 0" identifier = number_literal) ;)) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return load_cu_tu_indexes::cu_tu_indexes_read;" return identifier (ERROR "::cu_tu_indexes_read" : : identifier) ;) })))
(translation_unit "ulong FUN_00150ca0(undefined8 param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}\n\n" (function_definition "ulong FUN_00150ca0(undefined8 param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" type_identifier (function_declarator "FUN_00150ca0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (if_statement "if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }" if (parenthesized_expression "(DAT_001910a8 != 0xffffffff)" ( (binary_expression "DAT_001910a8 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n    return (ulong)DAT_001910a8;\n  }" { (return_statement "return (ulong)DAT_001910a8;" return (cast_expression "(ulong)DAT_001910a8" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) (expression_statement "DAT_001910a8 = 1;" (assignment_expression "DAT_001910a8 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_0013e500(0x26,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x26,param_1)" identifier = (call_expression "FUN_0013e500(0x26,param_1)" identifier (argument_list "(0x26,param_1)" ( number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" { (expression_statement "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);" (assignment_expression "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" identifier = (call_expression "FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" identifier (argument_list "(&PTR_s__debug_cu_index_00192160,0)" ( (pointer_expression "&PTR_s__debug_cu_index_00192160" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      DAT_001910a8 = 0;\n    }" { (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" identifier = number_literal) ;) })) })) (expression_statement "iVar1 = FUN_0013e500(0x27,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x27,param_1)" identifier = (call_expression "FUN_0013e500(0x27,param_1)" identifier (argument_list "(0x27,param_1)" ( number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" { (expression_statement "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);" (assignment_expression "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" identifier = (call_expression "FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" identifier (argument_list "(&PTR_s__debug_tu_index_001921d0,0)" ( (pointer_expression "&PTR_s__debug_tu_index_001921d0" & identifier) , number_literal )))) ;) (if_statement "if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" if (parenthesized_expression "((int)uVar2 == 0)" ( (binary_expression "(int)uVar2 == 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" { (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" identifier = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) })) (return_statement "return (ulong)DAT_001910a8;" return (cast_expression "(ulong)DAT_001910a8" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return IDENT ;) })) })) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })))
(function_definition "ulong FUN_00150ca0(undefined8 param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" (type_identifier "ulong") (function_declarator "FUN_00150ca0(undefined8 param_1)" (identifier "FUN_00150ca0") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }\n  DAT_001910a8 = 1;\n  iVar1 = FUN_0013e500(0x26,param_1);\n  if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }\n  iVar1 = FUN_0013e500(0x27,param_1);\n  if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }\n  return (ulong)DAT_001910a8;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (if_statement "if (DAT_001910a8 != 0xffffffff) {\n    return (ulong)DAT_001910a8;\n  }" (if "if") (parenthesized_expression "(DAT_001910a8 != 0xffffffff)" (( "(") (binary_expression "DAT_001910a8 != 0xffffffff" (identifier "DAT_001910a8") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    return (ulong)DAT_001910a8;\n  }" ({ "{") (return_statement "return (ulong)DAT_001910a8;" (return "return") (cast_expression "(ulong)DAT_001910a8" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "DAT_001910a8")) (; ";")) (} "}"))) (expression_statement "DAT_001910a8 = 1;" (assignment_expression "DAT_001910a8 = 1" (identifier "DAT_001910a8") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = FUN_0013e500(0x26,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x26,param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0013e500(0x26,param_1)" (identifier "FUN_0013e500") (argument_list "(0x26,param_1)" (( "(") (number_literal "0x26") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);\n    if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);" (assignment_expression "iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" (identifier "iVar1") (= "=") (call_expression "FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0)" (identifier "FUN_0014fb30") (argument_list "(&PTR_s__debug_cu_index_00192160,0)" (( "(") (pointer_expression "&PTR_s__debug_cu_index_00192160" (& "&") (identifier "PTR_s__debug_cu_index_00192160")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      DAT_001910a8 = 0;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_001910a8 = 0;\n    }" ({ "{") (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" (identifier "DAT_001910a8") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = FUN_0013e500(0x27,param_1);" (assignment_expression "iVar1 = FUN_0013e500(0x27,param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_0013e500(0x27,param_1)" (identifier "FUN_0013e500") (argument_list "(0x27,param_1)" (( "(") (number_literal "0x27") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);\n    if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }\n  }" ({ "{") (expression_statement "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);" (assignment_expression "uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0)" (identifier "FUN_0014fb30") (argument_list "(&PTR_s__debug_tu_index_001921d0,0)" (( "(") (pointer_expression "&PTR_s__debug_tu_index_001921d0" (& "&") (identifier "PTR_s__debug_tu_index_001921d0")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((int)uVar2 == 0) {\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" (if "if") (parenthesized_expression "((int)uVar2 == 0)" (( "(") (binary_expression "(int)uVar2 == 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_001910a8 = 0;\n      return uVar2;\n    }" ({ "{") (expression_statement "DAT_001910a8 = 0;" (assignment_expression "DAT_001910a8 = 0" (identifier "DAT_001910a8") (= "=") (number_literal "0")) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}"))) (return_statement "return (ulong)DAT_001910a8;" (return "return") (cast_expression "(ulong)DAT_001910a8" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "DAT_001910a8")) (; ";")) (} "}")))

type_1 function_1(void *file)

{
  type_1 var_3;
  int var_5;
  
  if (function_1::var_1 != -1) {
    return function_1::var_1;
  }
  load_cu_tu_indexes::var_1 = 1;
  var_3 = var_2(dwp_cu_index,file);
  if (var_3 != 0) {
    var_5 = var_4((type_2 *)&PTR_s__debug_cu_index_00192160,0);
    if (var_5 == 0) {
      load_cu_tu_indexes::var_1 = 0;
    }
  }
  var_3 = var_2(dwp_tu_index,file);
  if (var_3 != 0) {
    var_5 = var_4((type_2 *)&PTR_s__debug_tu_index_001921d0,0);
    if (var_5 == 0) {
      load_cu_tu_indexes::var_1 = 0;
      return 0;
    }
  }
  return function_1::var_1;
}


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

ulong MASKED(undefined8 param_1)

{
  int iVar1;
  ulong uVar2;
  
  if (DAT_001910a8 != 0xffffffff) {
    return (ulong)DAT_001910a8;
  }
  DAT_001910a8 = 1;
  iVar1 = FUN_0013e500(0x26,param_1);
  if (iVar1 != 0) {
    iVar1 = FUN_0014fb30(&PTR_s__debug_cu_index_00192160,0);
    if (iVar1 == 0) {
      DAT_001910a8 = 0;
    }
  }
  iVar1 = FUN_0013e500(0x27,param_1);
  if (iVar1 != 0) {
    uVar2 = FUN_0014fb30(&PTR_s__debug_tu_index_001921d0,0);
    if ((int)uVar2 == 0) {
      DAT_001910a8 = 0;
      return uVar2;
    }
  }
  return (ulong)DAT_001910a8;
}

