
bfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)

{
  bfd_boolean bVar1;
  long tindex;
  uint size;
  
  size = 0;
  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);
  bVar1 = 0;
  if (-1 < tindex) {
    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);
  }
  return bVar1;
}



undefined8 FUN_001198e0(undefined8 param_1)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = FUN_00118170();
  uVar2 = 0;
  if (-1 < lVar1) {
    uVar2 = FUN_00119890(param_1,lVar1,0);
  }
  return uVar2;
}


PUSH RBX
MOV RBX,RDI
SUB RSP,0x10
LEA R8,[RSP + 0xc]
MOV dword ptr [RSP + 0xc],0x0
CALL 0x00118170
MOV RSI,RAX
XOR EAX,EAX
TEST RSI,RSI
JS 0x00119910
MOV EDX,dword ptr [RSP + 0xc]
MOV RDI,RBX
CALL 0x00119890
ADD RSP,0x10
POP RBX
RET
(translation_unit "undefined8 FUN_001198e0(undefined8 param_1)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 FUN_001198e0(undefined8 param_1)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001198e0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_00118170();" (assignment_expression "lVar1 = FUN_00118170()" identifier = (call_expression "FUN_00118170()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" if (parenthesized_expression "(-1 < lVar1)" ( (binary_expression "-1 < lVar1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" { (expression_statement "uVar2 = FUN_00119890(param_1,lVar1,0);" (assignment_expression "uVar2 = FUN_00119890(param_1,lVar1,0)" identifier = (call_expression "FUN_00119890(param_1,lVar1,0)" identifier (argument_list "(param_1,lVar1,0)" ( identifier , identifier , number_literal )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "bfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)\n\n{\n  bfd_boolean bVar1;\n  long tindex;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}\n\n" (function_definition "bfd_boolean stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)\n\n{\n  bfd_boolean bVar1;\n  long tindex;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}" type_identifier (function_declarator "stab_tag_type(void *p,char *name,uint id,debug_type_kind kind)" identifier (parameter_list "(void *p,char *name,uint id,debug_type_kind kind)" ( (parameter_declaration "void *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "uint id" type_identifier identifier) , (parameter_declaration "debug_type_kind kind" type_identifier identifier) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  long tindex;\n  uint size;\n  \n  size = 0;\n  tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);\n  bVar1 = 0;\n  if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }\n  return bVar1;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "long tindex;" (sized_type_specifier "long" long) identifier ;) (declaration "uint size;" type_identifier identifier ;) (expression_statement "size = 0;" (assignment_expression "size = 0" identifier = number_literal) ;) (expression_statement "tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size);" (assignment_expression "tindex = stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size)" identifier = (call_expression "stab_get_struct_index((stab_write_handle *)p,name,id,kind,&size)" identifier (argument_list "((stab_write_handle *)p,name,id,kind,&size)" ( (cast_expression "(stab_write_handle *)p" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , identifier , (pointer_expression "&size" & identifier) )))) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) (if_statement "if (-1 < tindex) {\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }" if (parenthesized_expression "(-1 < tindex)" ( (binary_expression "-1 < tindex" number_literal < identifier) )) (compound_statement "{\n    bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);\n  }" { (expression_statement "bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size);" (assignment_expression "bVar1 = stab_push_defined_type((stab_write_handle *)p,tindex,size)" identifier = (call_expression "stab_push_defined_type((stab_write_handle *)p,tindex,size)" identifier (argument_list "((stab_write_handle *)p,tindex,size)" ( (cast_expression "(stab_write_handle *)p" ( (type_descriptor "stab_write_handle *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "undefined8 FUN_001198e0(undefined8 param_1)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined8 FUN_001198e0(undefined8 param_1)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001198e0(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = FUN_00118170();" (assignment_expression "lVar1 = FUN_00118170()" identifier = (call_expression "FUN_00118170()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" if (parenthesized_expression "(-1 < lVar1)" ( (binary_expression "-1 < lVar1" number_literal < identifier) )) (compound_statement "{\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" { (expression_statement "uVar2 = FUN_00119890(param_1,lVar1,0);" (assignment_expression "uVar2 = FUN_00119890(param_1,lVar1,0)" identifier = (call_expression "FUN_00119890(param_1,lVar1,0)" identifier (argument_list "(param_1,lVar1,0)" ( identifier , identifier , number_literal )))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_001198e0(undefined8 param_1)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" (type_identifier "undefined8") (function_declarator "FUN_001198e0(undefined8 param_1)" (identifier "FUN_001198e0") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = FUN_00118170();\n  uVar2 = 0;\n  if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }\n  return uVar2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = FUN_00118170();" (assignment_expression "lVar1 = FUN_00118170()" (identifier "lVar1") (= "=") (call_expression "FUN_00118170()" (identifier "FUN_00118170") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < lVar1) {\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" (if "if") (parenthesized_expression "(-1 < lVar1)" (( "(") (binary_expression "-1 < lVar1" (number_literal "-1") (< "<") (identifier "lVar1")) () ")")) (compound_statement "{\n    uVar2 = FUN_00119890(param_1,lVar1,0);\n  }" ({ "{") (expression_statement "uVar2 = FUN_00119890(param_1,lVar1,0);" (assignment_expression "uVar2 = FUN_00119890(param_1,lVar1,0)" (identifier "uVar2") (= "=") (call_expression "FUN_00119890(param_1,lVar1,0)" (identifier "FUN_00119890") (argument_list "(param_1,lVar1,0)" (( "(") (identifier "param_1") (, ",") (identifier "lVar1") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

type_1 function_1(void *p,char *name,type_2 id,type_3 kind)

{
  type_1 bVar1;
  long var_2;
  type_2 size;
  
  size = 0;
  var_2 = var_1((type_4 *)p,name,id,kind,&size);
  bVar1 = 0;
  if (-1 < var_2) {
    bVar1 = var_3((type_4 *)p,var_2,size);
  }
  return bVar1;
}


(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: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal))))))) (return_statement (identifier)))))

undefined8 MASKED(undefined8 param_1)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = FUN_00118170();
  uVar2 = 0;
  if (-1 < lVar1) {
    uVar2 = FUN_00119890(param_1,lVar1,0);
  }
  return uVar2;
}

